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

sd user exit after save

Former Member
0 Likes
767

Dear experts,

I have a requirement where in we are creating a sales order, lets say with quantity 200

For a customer req. date of aug 1st, based on the order SAP does ATP and tells us we have 70 available for aug 1st and it proposes a new date for the rest 130 (Lets say sep 1st),(2 schedule lines) and then we save the document.

Now the requirement is, we want to save the document saying

1st schedule line customer requested date as aug1st for qty 70 and confirmed qty 70

2nd schedule line customer requested date as sep 1st for qty 130 and confirmed qty 130.

Can some one suggest me a user exit or BADI . Where I can do this.

We need not see this data in va01, we are ok even if we could see the data in va02, but it has to be done at creation mode.

In short this can be after save user exit.

Thanks for all.

-Amit

Dear experts,

I have a requirement where in we are creating a sales order, lets say with quantity 200

For a customer req. date of aug 1st, based on the order SAP does ATP and tells us we have 70 available for aug 1st and it proposes a new date for the rest 130 (Lets say sep 1st),(2 schedule lines) and then we save the document.

Now the requirement is, we want to save the document saying

1st schedule line customer requested date as aug1st for qty 70 and confirmed qty 70

2nd schedule line customer requested date as sep 1st for qty 130 and confirmed qty 130.

Can some one suggest me a user exit or BADI . Where I can do this.

We need not see this data in va01, we are ok even if we could see the data in va02, but it has to be done at creation mode.

In short this can be after save user exit.

Thanks for all.

-Amit

4 REPLIES 4
Read only

former_member156446
Active Contributor
0 Likes
732

[This|http://wiki.sdn.sap.com/wiki/x/arY] would help you.

Read only

Former Member
0 Likes
732

This message was moderated.

Read only

Former Member
0 Likes
732

hi amit

Use the EXIT: MV45AFZZ.

FORM USEREXIT_SAVE_DOCUMENT_PREPARE " to check validations while saving

FORM USEREXIT_SAVE_DOCUMENT. " to update ztables while saving

Regards

Sajid

Read only

0 Likes
732

Sajid,

Thanks for the reply.

FORM USEREXIT_SAVE_DOCUMENT_PREPARE " to check validations while saving

what kind of validations.

Can I update xvbep with my required values here it self directly..

FORM USEREXIT_SAVE_DOCUMENT. " to update ztables while saving

I'm not updating into ztables. i'm updating into VBEP table, so please let me know if this could help.