Sometimes, the customer gives a unique requirement to substitute the Revenue accounts with cost accounts making all revenues to go to WIP(Work in Progress),whenever the sales order goes into release status.This user exit helps us to do so. For detailed description about the parameters, please check
the SAP Note 67423.
Please refer to the following implementation code for details:
- The problem with this exit is that it is called repeatedly for each line item in the table export_cospa – which contains the entries to be changed.Therefore, to control its behavior it is required to keep a global variable g_count.
- In this implementation, the customer exit substitutes all the revenue accounts , in the range 30000 to 39999 to cost account 40200.