2009 Jul 08 9:29 PM
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
2009 Jul 09 12:02 AM
2009 Jul 09 8:11 AM
2009 Jul 09 8:26 AM
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
2009 Jul 09 2:22 PM
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.