Hi All,
My reqirement is clear the value assigned to VVQTY and VV400etc.
According to the conditions as below.....
- A table with the following info
Sales order type (EPSOURCE-AUART) Material type (MARA-MTART) Business case
ZCR ZPAR 1
ZDR ZPAR 1
ZCR ZCFG 2
ZDR ZCFG 2
ZRK ZCFG 3
ZRE ZCFG 4
To determine material type (MTART), you must retrieve this information from table MARA with the material number MATNR = EPSOURCE-ARTNR
For instance:
If sales order type = ZCR and if Material type = ZPAR then Business case 1 must be applied.
A table with sales order reason (field EPSOURCE-AUGRU). Entries will have to be transportable with a transport order. In this table will be stored order reason identifying a credit memo/debit in value (exemple: Z02 country taxes-, Z07 penalties- Z08 price differences-, Z10 Goodwill- , Z11 service RR billing-)
For business case 1 and for the order reason included in the table, the figure passed to value fields (VVQTY sales quantity-, VV400 - Ref. prd Cogs-, VV405 - Conf. prd Cogs-, VV415 - Ref. prd Cogs IntraG- VV420 - Ref. prd Cogs IntraE-, VV500, VV510, VV505, VV515, VV520, VV525, VV530, VV535, VV540, VV545, VV550, VV555, VV560, VV565 ) must be set to zero
But how to start the coding in the function module and
how to use the loops and the read tables inside the code and I am also unable to set the break point even though i keep the break point when this user exit is getting triggered?
Actually this user exit has to trigger when running VA01 transaction.
Please help me out how to start the code.
Thanks,
Santhosh.R