Skip to Content
avatar image
Former Member

user exit is used to get incoterms from ship-to-party.

Hi Gurus,

my client needs to catch incoterms from ship-to-party,

please let me know which user exit is used to get incoterms from ship-to-party.

regards,

Naren

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 05, 2008 at 12:50 PM

    Hi ,

    in which transaction you are refering to?

    Regards,

    PS

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2008 at 01:02 PM

    Hello,

    If this is for sales order :

    User exit : MV45AFZZ

    FORM : userexit_move_field_to_vbkd

    If delivery :

    MV50AFZ1

    Or use copy rules between sales order and delivery.

    Regards,

    Lionel

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2008 at 01:22 PM

    Dear,

    User exit for sales order MV45AFZZ. there you can write the logic take the incotems from KNVV-INCO1 to sales order VBKD--INCO1 by default.

    Reward points if helpful

    Thanks,

    narasimha

    Add comment
    10|10000 characters needed characters exceeded

  • May 06, 2008 at 07:40 PM

    In our system we get the inco terms from the ship to party. We use user exit move_fields_to_vbkd in program mv45afzz. The code looks like this:

    *----

    -


    • Inco terms

    *----

    -


    • Added to get the values of Inco Terms from

    • Ship-To-Party instead of Sold-To-Party.

    data: oldship like kuwev-kunnr value space.

    if sy-ucomm <> 'UEBR' and "Ordre er ikke oprettet med reference

    t180-trtyp <> 'A'. "Der er ikke Vis mode

    import oldship from memory id 'ZSS'.

    if *vbkd-inco1 is initial. "Første gang vi er i User-Exitet

    if kuwev-kunnr <> kuagv-kunnr. "Varemodtager forskellig fra ordregiver

    select single inco1

    inco2

    into (vbkd-inco1,

    vbkd-inco2)

    from knvv

    where kunnr = kuwev-kunnr

    and vkorg = vbak-vkorg

    and spart = vbak-spart

    and vtweg = vbak-vtweg.

    endif.

    elseif oldship <> kuwev-kunnr and

    ( *vbkd-inco1 <> vbkd-inco1 or

    *vbkd-inco2 <> vbkd-inco2 ).

    select single inco1

    inco2

    into (vbkd-inco1,

    vbkd-inco2)

    from knvv

    where kunnr = kuwev-kunnr

    and vkorg = vbak-vkorg

    and spart = vbak-spart

    and vtweg = vbak-vtweg.

    endif.

    endif.

    • Det skal ligge udenfor if-sætningen for at undgå at det overskrives

    • ved oprettelse med reference

    move kuwev-kunnr to oldship.

    export oldship to memory id 'ZSS'.

    /Torben

    Add comment
    10|10000 characters needed characters exceeded