PROGRAM :MV45AFZZ .
IF IT IS HEADER CONDITION.
FORM USEREXIT_PRICING_PREPARE_TKOMK
MOVE ( CREATED FIELD NAME ) TO TKOMK-( CREATED FIELD NAME)
FOR LINE ITEM USE
FORM USEREXIT_PRICING_PREPARE_TKOMP.
MOVE (CREATED FIELD NAME ) TO TKOMP-(CREATED FIELD NAME)
ABOVE IS THE USER EXIT REQUIREMENT.
I HAD CREATED FIELD MAGRV.
HOW I WILL ADD MAGRV FIELD FOR MY REQUIREMENT.
SPECIFY ME THE WAY.
Hi Venkat,
First thing is for first form....
FORM <b>USEREXIT_PRICING_PREPARE_TKOMK</b>
Structure TKOMK has been declared in the program refering to structure KOMK....
For creating any field you have to append your field in KOMK structure.....
<b>for eg</b>... If you want to add "Commission Agent" and pass value in that through the above user exit then first you have to create "<b>APPEND STRUCTURE</b>" for commission agent.... in the structure <b>KOMK</b>.....
once you have done this then you can get data by select query to pass in the field which you have appended in <b>KOMK</b> structure as ....
Move (appended field in the structure) to <b>TKOMK</b>-( appended field in the structure)
Take for example if you append your specified field (<b>MAGRV)</b> in structure then you can move as above.. the field should available in <b>KOMK</b> structure then only you can pass value in that....
<b><u>Note</u> : appended field should be strart with ZZ....name...</b>
For Second form.....
FORM <b>USEREXIT_PRICING_PREPARE_TKOMP</b>.
here the structure to append field is <b>KOMP</b>....
Every thing is same as above userexit for this user exit.
If <b>any other query please let me know</b>......
Reward points.....this will resolve your query......
Cheers,
Sagun Desai....
Add a comment