Skip to Content
avatar image
Former Member

Incoterm to be derived from Ship to party in sales order creation via va02

Hi Experts,

I have a requirement.

When a new sales order is created from the screen va02, the inco term flows from the sold to party.

It should infact flow from the ship to party.

So standard SAP SAP derives the incoterms from the sold-to -party when creating saloes order from the va02 screen.

we should implement user exit for this.

I just did a little bit of search and got the info that the euxt should be done in MV45AFZZ. in the FORM USEREXIT_MOVE_FIELD_TO_VBKD

If anyone has worked on this please share your code details of things to be considered.

Regs,

SuryaD.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 26, 2010 at 07:30 AM

    Hi Experts,

    Found the solution.

    TCode SE38,

    In program MV45AFZZ, in FORM USEREXIT_MOVE_FIELD_TO_VBKD:

    IF us_posnr = 0 AND svbkd-tabix GT 0 AND NOT kuwev-inco1 IS INITIAL.

    vbkd-inco1 = kuwev-inco1.

    vbkd-inco2 = kuwev-inco2.

    ENDIF.

    SVBKD_TABIX = 0 means that you are in the creation mode (VA01),

    SVBKD_TABIX>0 means we are in the change mode(VA02)

    US_POSNR = 0 means that there is no position number for the item yet.

    Regs,

    SuryaD.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 26, 2010 at 07:31 AM

    Found the solution myself with a little bit of further search. I have posted the coding part for anyone who has a similar search.

    Add comment
    10|10000 characters needed characters exceeded