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

Condition VA01

Former Member
0 Likes
1,002

Hi Experts,

Anybody know how can i change condition value at save in VA01 transaction? I need change this condition, after generate vbeln code.

Hi Experts,

Anybody know how can i change condition value at save in VA01 transaction? I need change this condition, after generate vbeln code.

6 REPLIES 6
Read only

VenkatRamesh_V
Active Contributor
0 Likes
969

Hi,

Try,

Include: MV45AFZZ.

Form:  USEREXIT_PRICING_PREPARE_TKOMP.

Hope it helpful,

Regards,

Venkat

Read only

Former Member
0 Likes
969

But in this case, i don`t have vbeln code yet.

Read only

Juwin
Active Contributor
0 Likes
969

Hi Bruno,

I think you are trying to address a non-ABAP problem, through ABAP.

Can you please explain the complete scenario and why you are trying to do this?

Thanks,

Juwin

Read only

Former Member
0 Likes
969

Bruno,

I am not sure what your requirement is but the exit USEREXIT_SAVE_DOCUMENT in MV45AFZZ  is called after the commit. This exit is normally used to update Z tables after the sales order is successfully created.

Check if the VBELN # is generated when the exit is called.

Thanks,

Vikram.M

Read only

Former Member
0 Likes
969

Hi Guys,

I have the VBELN at USEREXIT_SAVE_DOCUMENT, but it`s not possible update xkomv in this point. I have used EXIT_SAPMV45A_003 and field symbol to control the condition from external point.

Thanks Experts.

Read only

0 Likes
969

Hi Bruno,

We can get the values in KOMK and KOMP structures in the same user exit what Venkat has given.