‎2005 Jun 15 1:24 AM
Hi,
I am trying to change sales order user exit for PREPARE_SAVE. How do I know what data is available at that time?
Thanks
‎2005 Jun 15 6:56 AM
Hi Aurang,
If you need to know the available structures for sales order exit then you can look into the include VBAPDATA,VBEPDATA.
If your query is solved then please close the thread by awarding reward points.
Cheers
Nishanth
‎2005 Jun 15 4:18 AM
Hi~
You mean user exit 'USEREXIT_SAVE_DOCUMENT_PREPARE'.
In case of user exit 'USEREXIT_SAVE_DOCUMENT_PREPARE',
there is some structure, internal tables.
VBAK,VBAP,VBPA,XVBAK,XVBAP,XVBPA.....
There is a lot of data available, I don't know what you want.
But, I'll tell you what I know of :).
X means ex, pre.
In other words, If you change some data , some fields at transaction 'VA02'.
VBAP has data which is changed, XVBAP has previous data.
make debbugging point inside 'USEREXIT_SAVE_DOCUMENT_PREPARE'.
and debbug...
you'll find what you want.
I wish I could help you.
Best regards
kyung woo
‎2005 Jun 15 6:56 AM
Hi Aurang,
If you need to know the available structures for sales order exit then you can look into the include VBAPDATA,VBEPDATA.
If your query is solved then please close the thread by awarding reward points.
Cheers
Nishanth