Skip to Content
0
Former Member
Jul 22, 2008 at 01:13 PM

user exit code

43 Views

hi,

my requirement is as follows:

When the sales order is saved, i have to check each of the line item data and in that check shipping point country and shipto country(some conditions which i will take care).

Then i need to insert the sales order relevant data into the custom table. data such as SD doc number, item number, customer number etc.

So what I did was, in MV45AFZZ , in the FORM USEREXIT_SAVE_DOCUMENT, implemented the implicit enhancement (code enhancement). There I have to write the code to access all the line items and manipulate as states above. Hope I am clear. Any help with the code ? I am not able to find the correct field names and getting syntax errors. as well i dont know how i loop thru the line items ?

thks