‎2008 Jun 12 6:36 AM
Hi in my scenario i have to code with the following logic.Please tell me the coding.Its urgent.Am new to abap.
Have to fill the fields E_RBKPV-MWSKZ_BNK
E_RBKPV-TXJCD_BNK in the user exit EXIT_SAPLMRMH_014 using E1EDP04 or E1EDK04.For filling one field the logic is this or if you have any idea please tell me.
1. If the field TXJCD is blank in the idoc and if the tax code for the unplanned delivery cost is same in invoice item and in the refered PO item, then you can fill E_RBKPV-TXJCD_BNK from the PO item in the FM 'EXIT_SAPLMRMH_014'.
2. If the tax code for the unplanned delivery cost is not same as the tax code in invoice item or in the refered PO item, you can find the TXJCD from the tax condition's data for the tax code and copy it to E_RBKPV-TXJCD_BNK within the user exit.
3. If the field TXJCD is filled in the idoc, you can fill the E_RBKPV-TXJCD_BNK in the user exit from here.
‎2008 Jun 12 7:55 AM
So in other words you want us to do your job !!!
I don't think you will ever learn ABAP if you try it this way ..
Why dont you try yourself !!
And then when you are stuck at some point then we can help you out ...
‎2008 Jun 12 8:16 AM
Ok thanks...I have completed the the first logic but for the second one i dont know how to copy.