‎2007 Jan 16 5:59 PM
Hi ,
I need help on user exit. Ihave to write logic such that when evr in transaction va02/va01 partner function 'ZT'(override carrier) or 'CR'(forwarding agent ) is selected only certain vendor's name should be allowed else a error message is to be displayed.
What is the user exit for doin so..and how to do that...sample code is appreciated.
thanks,
Das
‎2007 Jan 16 6:05 PM
Hi
Try to see the exits EXIT_SAPLV09A*
U can try to add an an your fm in table TPACHECK
Max
‎2007 Jan 16 9:00 PM
Hi Max,
But i think that the exit only works while order create it doesn't work while change order.
Thanks,
Das
‎2007 Jan 18 4:13 PM
Hi,
Thanks for the replies.
Could anyone help me with sample code on this?
I need to perform a validation for entries in partner when partner functions are 'CR' and 'ZT'. Like if it is CR then only 2 entries are possible either 'XYZ1' or 'XYZ2'. And if 'ZT' only
'ABC1' or 'ABC2' are allowed. If any other entries are made i need to give an error message.
This is for when making entries in sales order.(VA01/VA02).
Please provide some sample code.
Thanks,
Das.
‎2007 Jan 18 7:32 PM
‎2007 Jan 22 8:45 PM
Hi,
I have worked on this and used "userexit_save_document_prepare" for it. I am able to display a error message but after the error message is disabled all the fields on the screen are greyed out and am not able to enter a correct entry as followed by the check performed.
How can i do that?
Please advise.
Thanks,
Das
‎2007 Jan 17 8:31 AM
hi das
try this BADI .. BADI_SD_V46H0001
Method <b>EXIT_SAPLV46H_002</b> Customer Function for Partner Changes
inplement this BADI--> write some code here >put break point> swhtch on the update debugging mode. then try whether will it sutes for u.
i hope it will works.
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
‎2007 Jan 17 1:12 PM
use enhancement V09A0003 and specify that partner types ZT or CR are determined by userexit in the partner procedure (tcode VOPAN)
pls. reward if helpful
regards
Roberto
‎2007 Feb 07 9:52 PM