Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Exit

former_member445996
Participant
0 Likes
447

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

1 ACCEPTED SOLUTION
Read only

nishanthbhandar
Contributor
0 Likes
364

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

2 REPLIES 2
Read only

Former Member
0 Likes
364

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

Read only

nishanthbhandar
Contributor
0 Likes
365

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