on 11-15-2007 10:44 AM
Hi experts,
I want to add codes in subroutine userexit_save_document in include MV45AFZZ for the enhancement of sales order creation.
Please give the procedure.
Thanks to all of ur suggestions regarding this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Welcome to SDN
U need to get the Access key because that include is a std object.
To obtein the key you need to register the object in your OSS, so you need to have an account for OSS.
https://websmp208.sap-ag.de/~SAPIDP/002006825000000234912001E
If you hadn't one you should ask your basis to register the object.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Take the access Key and find the correct place for the Requirement (correct Form..Endform) and write the code
there will be structures/internal tables like VBAK,XVBAK,YVBAK at header level and
VBAP,XVBAP abd YVBAP
so keep a breakpoint and check for the values in these itabs and use the code
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
first time, if you want to write the code then it will ask the access key, get it from Basis team and apply and then you can very well write your own logic.
Reward if it is useful.
Thanks,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
Open the include in change mode If you are 1st opening this it will asks access key It should get from your Basis team, once you get open this include, in that include you can find the form exit userexit_save_document in that form you have to implement your own logic and activate it.
you can find the form in the include like this
----
FORM USEREXIT_SAVE_DOCUMENT *
----
This userexit can be used to save data in additional tables *
when a document is saved. *
*
If field T180-TRTYP contents 'H', the document will be *
created, else it will be changed. *
*
This form is called at from form BELEG_SICHERN, before COMMIT *
*
----
FORM USEREXIT_SAVE_DOCUMENT.
ENDFORM.
in between form endform. you have to implement your logic.
Regards
Ganesh
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.