2008 Jul 23 11:39 PM
hi,
In MV45AFZZ, under
FORM USEREXIT_SAVE_DOCUMENT
I implemented an implicit enhancement as follows
ENHANCEMENT 316 Zxxx_SAVE. "active version
INCLUDE ZXXX_SAVEDATA.
ENDENHANCEMENT.
when i save the So thru VA01, this is not triggered, why ??
where as the same code if i place in
FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
it is triggered. But I dont get the sales order number there !!
so i thought i will try in FORM USEREXIT_SAVE_DOCUMENT .
I need my code to get access to VBELN ..pl help..thks
2008 Jul 24 6:45 PM
Hi,
Try using VBAK-VBELN to get the sales order number...in the save_document user exit..
Thanks
Naren
2008 Jul 24 12:07 AM
Hi,
I dont know why. But try this:
Comment out your existsing code.
In include MV45AF0B_BELEG_SICHERN, there is an enhancement point "beleg_sichern_13".
Here create your new enhancement point and activate.
Regards,
Subramanian
2008 Jul 24 6:16 PM
hey, I tried ur suggestion, but still sales order number VBELN is not got at that location ?? any other suggestion ?
2008 Jul 24 6:32 PM
Hi,
Try this..
double click on the form user exit save document...put a break-point in the "perform userexit_save_document."
Now step through in the debugging and check whether your code is hit.
Check whether your enhancement is active..
Thanks
Naren
2008 Jul 24 6:41 PM
Naren, my code is executed when it is placed in save document prepare or save document in MV45AFZZ and in MV45AF0B_BELEG_SICHERN, enh point 13..
but at all these locations i am not getting any value for xvbak-vbeln or xvbap-vbeln...am i referring the wrong field ?? if so whats the correct one ??
thks
2008 Jul 24 6:45 PM
Hi,
Try using VBAK-VBELN to get the sales order number...in the save_document user exit..
Thanks
Naren
2008 Jul 24 10:15 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |