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: 

User exit name and the correct internal table/trans table

Former Member
0 Kudos

Hello All, I need to place a billing block on Sales order if the pricing condition of any of the order items is not a contract price (checking for pricing condition ZR00 in my case)

What is the internal table or transparent table that need to looped through to check the pricing conditions for each item in the order?

Is "FORM USEREXIT_MOVE_FIELD_TO_VBAK" in the include MV45AFZZ right place to do so? or is it at FORM USEREXIT_SAVE_DOCUMENT in the sae include program?

Thanking you in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Syed,

XKOMV[] is the internal table wihch contains the pricing conditions.

And regarding the correct userexit, you need to determine the correct one, after which the XKOMV[]/TKOMVD[] are not manipulated anywhere else in the flow.

Regards,

Rajasekhar

3 REPLIES 3

Former Member
0 Kudos

Hi Syed,

XKOMV[] is the internal table wihch contains the pricing conditions.

And regarding the correct userexit, you need to determine the correct one, after which the XKOMV[]/TKOMVD[] are not manipulated anywhere else in the flow.

Regards,

Rajasekhar

former_member188685
Active Contributor
0 Kudos

X_KOMV is the Pricning Condition table.

User exit FORM USEREXIT_SAVE_DOCUMENT may help you.

regards

vijay

0 Kudos

Syed,

Example:

LOOP AT XKOMV WHERE KSCHL EQ 'ZR00' .

  • your logic here - Display a pop-up window perhaps

endloop.

FORM USEREXIT_SAVE_DOCUMENT or FORM USEREXIT_SAVE_DOCUMENT_PREPARE should meet your needs.