11-14-2007 8:23 AM
Hi Gurus,
I am new to User Exits. I have one requirement.
In T Code ME21N if the Document type (BSART) is P373 and Vender number (SUPERFIELD) is 70370, then only purchase order should be created otherwise it should raise error message.
To do this user exit i have got the User exit name and enhancement name.
User Exit Name : EXIT_SAPLEBND_002
Enhancement Name : M06E0004
Version 4.7
The user exit mentioned above has already been implemented. I need to add the code to meet the above mentioned requirement now.
Is it possible to add to the already existing user exit. If YES, please explain the procedure.
The two fields mentioned above are from structures. How do I find out the actual tables for these two fields. The fields BSART, SUPERFIELD are from structure MEPO_TOPLINE.
Thanks in advance
and
Points for every useful answer.
Regards
11-14-2007 9:15 AM
Hi Raj,
To add code in the existing implementation of exist, you have to write code in that specific include of that function module.
Otherwise you can create another project and assign that exit; but at a time one implementation can be active, so you have to first deactivate the previous implementaion before activating it (here fear of losing old implemented logic remains!!!)
And for your information vendor number is LIFNR.
you will get these data from I_CEKKO structure.
Hope it will solve ur problem.
Regards
Krishnendu
11-14-2007 9:53 AM
Hi Krishnendu laha,
Thanks for your information,
I checked the field name for Vendor in me21n by pressing f1 in that field it showing me as MEPO_TOPLINE-SUPERFIELD.
If you send me coding for my requirment i will be very much thankful to you.....
and plz can u tell me how to find the exisiting project name for already implemented exit,
Regards