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

Changing the shipping condition in VA01 and VA02 .

My requirement is to find an exit which changes the shipping condition in VA01 before shipping

point and route is determined . The new shipping condition is determined form the ztable which has

the fields sa;es org , ship-to customer , transportation group , shipping point ,

(old) shipping conditio andnew shipping condition . Except the new shippinig conditin all other are key fileds.

I tried my best to find an exit but in VAIN . I am under the assumption that there is no exit to do this .

Can any expert help me to find an exit if there is any ?

Regards,

Vijay .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 06:32 PM

    Hi,

    Try using the userexit USEREXIT_MOVE_FIELD_TO_VBAK..

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 06:33 PM

    Vijaya,

    Have you tried using EXIT_SAPL0VRF_001 to enhance SD_ROUTE_DETERMINATION. Check note 611971 all the details are listed for your reference.

    Thanks,

    Jagruti

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      Thanks for the replies .

      Narendran , I did try this exit but by this point tragr and vstel are not determined . So this one is not quite helpful .

      Jagruti ,

      This is one which I thought of first , Unfortunately this one can only modify route but now shipping condition , So this is alos not of use for me .

      Thank a lot for all the pains you have taken to reply me . Your answers made me feel I am thinkikg in the correct lines .

      Regards,

      Vijay .

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 08:17 PM

    Hi,

    The shipping condition is in header..The shipping point is in the line item..

    What if two line items is having two different shipping points, which results in two shipping conditions from your ZTABLE...which one you will update in the header shipping conditions..

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 01:00 PM

    HI,

    userexit_save_document in MV45aFZZ

    USEREXIT_CHECK_VBAP USING US_DIALOG in MV45afzb

    If useful reward points

    REgards,

    Kishore

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 01:02 PM

    Hi,

    One more thing is use this FM to determine the route

    CALL FUNCTION 'SD_ROUTE_DETERMINATION'

    EXPORTING

    i_aland = tvst-aland

    i_azone = tvst-azone

    i_lland = kuwev-land1

    i_lzone = kuwev-lzone

    i_vsbed = y_lv_vsbed

    i_tragr = y_lv_tragr

    i_vbak = vbak

    i_vbkd = vbkd

    i_vbap = vbap

    IMPORTING

    e_route = vbap-route

    EXCEPTIONS

    no_route_found = 1

    departure_error = 2

    destination_error = 3

    invalid_generic_key = 4

    customer_exit_error = 5

    OTHERS = 6.

    Regards,

    Kishore.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 01:04 PM

    Please have a look at below link. It will give you details about all the user exits related to VA01/VA02.

    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm

    Best Regards,

    Vibha

    *Please mark all the helpful answers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 01:08 PM

    HI,

    This exit also triggers

    userexit_field_modification in MV45AFZZ

    regards,

    kishore

    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.