Skip to Content
author's profile photo Former Member
Former Member

Enhancements & Modifications

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 09:47 AM

    Hi ,

    For header code in :

    FORM USEREXIT_MOVE_FIELD_TO_VBAK.

    For item code in:

    FORM USEREXIT_MOVE_FIELD_TO_VBAP.

    Both in include MV45AFZZ

    Reward points if usefull......

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 10:49 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.