Application Development 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: 

userexit_move _data_komkg

Former Member
0 Kudos
88

hi all,

i had a doubt, when the USER-EXIT "userexit_move datakomkg" will be triggered? whether after creation of sales order no.(VBELN) or before creation of sales order no.

note: you can find that in "INCLUDE MV45AFZA" which is in REPORT SAPMV45A which is for transaction VA01.

Actually i need to write my logic under that USER-EXIT by using the Sales order Number.

regards

surya

3 REPLIES 3

venkata_ramisetti
Active Contributor
0 Kudos
66

Hi,

Check the inclue MV45AFZZ in the same program SAPMV45A.

These are getting triggered when you save sales order.

USEREXIT_SAVE_DOCUMENT

USEREXIT_SAVE_DOCUMENT_PREPARE

I think you can use

USEREXIT_MOVE_FIELD_TO_VBAK

USEREXIT_MOVE_FIELD_TO_VBAP

Thanks,

Ramakrishna

Message was edited by: Ramakrishna Prasad Ramisetti

Former Member
0 Kudos
66

Hello,

This userexit will be triggered when order save <b>MV45AFZA</b>.

you can go like that

loop at xvbak.

order item details use XVBAP

user read xvbap with key....

finally modify XVBAK if u want update Order Header otherwise modify XVBAP for Order Items... if you need something else let us know we will let u what need to be change.

endloop.

********Poorna**********

0 Kudos
66

Hi Poorna,

I am appending new lines item in xvbap.

but the problem is that it is not visible on the screen.

Could please let me know where i am doing the mistake

Regards,

Prashant