06-05-2006 10:46 PM
Hi All,
Can you tell me an user exit/BADI in VA01/VA02 which I can utilize AFTER the database commit but still utilize the tables/structures like xvbap, xvbkd etc? Thanks.
Best Regards,
Avimanyu
06-05-2006 11:28 PM
Hi
Follow this way.
1. SAP standard program for VA01/VA02 is SAPMV45A.
2. You findout Include MV45AFZZ in SAPMV45A.
3. Search code with term 'userexit_save_document'.
4. You will find userexit_save_document and userexit_save_document_prepare.
These both exits will help your requirement.
Bala
Note: Award poits if helpful
06-05-2006 11:47 PM
Hi Bala,
I need an user exit/BADI <b>AFTER</b> the database tables are updated when save button is pressed on VA01/VA02, both these user exits are fired before that.
Best Regards,
Avimanyu
08-22-2007 2:32 PM
Avimanyu ,
Did you get the solution for this.
i mean, i need user exit or badi which going to be triggered after final save of the sales order either in VA01 or VA02. (cafter commit the VBAP,VBAK tables)
If i use the program MV45AFZZ (it triggeres before commit) It requires access key as it is standard sap user exit.
Can u give valuble opinion, please.
Regards
Badari
06-06-2006 12:58 AM
what do u want to do once the database gets committed? you can as well write a stand alone program which can run after sales order is created.
06-06-2006 2:34 AM
Hi Sengupta,
Usually there are no user-exits after COMMIT.
What you need to do is register a call which will be executed after COMMIT, from one of the available user-exits.
To do this, SAP provides 2 methods:
1. PERFORM xxx ON COMMIT
2. Function Module with attribute "Update Module"
Check ABAP keyword help for more information for PERFORM xxx ON COMMIT.
<a href="http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm">http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/frameset.htm</a>
Hope this helps.
Regards,
Sumant.
PS: Reward points if this is helpful.
06-06-2006 5:06 AM
Hi,
Exits in VA01..
exit_sapmv45a_002
exit_sapmv45a_003
exit_sapmv45a_004
exit_sapmv45a_005
BADI for SALES ORDER...
BADI_SD_SCH_GETWAGFZ
BADI_SD_V46H0001
Regards,
Tanveer.
<b>Please mark helpful answers</b>