Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User exit...?

Former Member
0 Likes
592

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.

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
561

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

6 REPLIES 6
Read only

Former Member
0 Likes
561

what user exit u are using ? check program MV45AFZZ user exit.

Regards

Prabhu

Read only

Former Member
0 Likes
561

write like this..

if sy-tcode = 'va03'.

write code for edit.

endif.

if sy-tcode = 'va02'.

for chang.

endif.

Read only

Former Member
0 Likes
561

what are the changes you have made and which method you used?

Read only

former_member404244
Active Contributor
0 Likes
561

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

Read only

0 Likes
561

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.

Read only

former_member404244
Active Contributor
0 Likes
562

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