‎2006 Sep 12 11:07 AM
Hi all,
I written one exit for sales order.
In VA02 if the client saving the sales order after made chenges it is ok.
If they opened again the same sales order in VA02 its not saving the rescent modifications.
In VA03 also contains old modifications only.
Help me regard this..
Pradhan.
‎2006 Sep 12 11:34 AM
Hi Pradhan,
r u using temporary structures such as XVBAP,XVBAK,XVBEP and writing the code??if not use the temporary structures and also check the userexit_save_document_prepare.
Regards,
nagaraj
‎2006 Sep 12 11:09 AM
what user exit u are using ? check program MV45AFZZ user exit.
Regards
Prabhu
‎2006 Sep 12 11:09 AM
write like this..
if sy-tcode = 'va03'.
write code for edit.
endif.
if sy-tcode = 'va02'.
for chang.
endif.
‎2006 Sep 12 11:11 AM
‎2006 Sep 12 11:12 AM
HI,
Try the user exit userexit_save_document and write the code here.Also before writing the code check the tocdes vl02 or vl03 and after that write ur code.Also check the include MV45AFZZ.
Regards,
Nagaraj
‎2006 Sep 12 11:26 AM
Hi Friends,
Ya exactly i written the entire code in MV45AFZZ only.
Problem is if header shipping condition is chenged, then automatically it has to be copied in item level.
It is working fine but after saving the sales order, if i visit the sales order again there are no changes in that.
Regards,
pradhan.
‎2006 Sep 12 11:34 AM
Hi Pradhan,
r u using temporary structures such as XVBAP,XVBAK,XVBEP and writing the code??if not use the temporary structures and also check the userexit_save_document_prepare.
Regards,
nagaraj