Leg  determination in shipment

hi all,
i am creating a shipment document for two deliveries. the delivery detailes are as follows
for delivery 1, shipping point A is  in germany AND ROUTE is AA and  ship to party is in germany.
for delivery 2, shipping point B is  in germany and route is  BB and ship to party is in america.
now iam using  collective shipment type and  in the config of  shipment type, the leg indicator is "legs determined according
to departure point and intineray "  and leg indicator is "direct leg "
now i have created the shipment and the stages are determined as follows :-
stage 1 from shipping point A in germany to shipping point B in germany (system shows this as preliminary leg)
stage 2 from shipping point B to ship to party in germany (system shows this as main leg )
stage 3 from shp to party in germany to ship to party in  america. (system shows this as subsequent leg)
my questions are as follows :-
1) how does the systen determines the itinerary. that is, what  caused system to first select shipping point A and then
shipping point B  for stage 1 in shipment document and why not first shipping point B and then shiiping point A ?
2) Why did the system chose ship to party in germany in stage 2  and why not ship to party in america for stage 2 ?
regds
pamela
Edited by: Pamela79 on Apr 13, 2011 2:40 PM

Hi Pamela,
How the system determines the leg for a shipment depends on the leg categories you defined in your shipment type.
Refer to the below for the different categories available:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/93/743f46546011d1a7020000e829fd11/frameset.htm
Refer to the below for the automatic leg determination process flow:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/93/743f00546011d1a7020000e829fd11/frameset.htm
Refer to the below for examples of automatic leg determination:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/93/743f27546011d1a7020000e829fd11/frameset.htm
Hope the above helps.
Thanks.
Rgds.

Similar Messages

  • Leg determination not picking Distance and Time from Config

    Current process : User creates outbound shipment assign outbound deliveries to it and once they press 'Planning' button stages (Leg determination) are created automatically.Categories of leg determination in Shipment is set as 1.
    For example if an outbound delivery is going from plant ABC warehouse 01 to customer(ship-to) XYZ. It creates a stage from plant ABC/01 to destination XYZ.
    I am working on requirement where we would like the distance and Duration automatically filled-in when these stage(s) is/are created.
    I've made following changes in config 
    1) Defined Transportation Connection Point 'ZABC' with reference to plant warehouse ABC/01
    2) Defined Transportation Connection Point 'ZXYZ' with ref to customer XYZ.
    3) In 'Define Route and Stages' , I've defined 'Route Stage' from ZABC to ZXYZ under Route which is used in Shipment. And within this Route Stage I've mentioned values for 'Distance', 'Total duration' and 'Travel duration'.
    After these setting I am expecting values 'Distance', 'Total duration' and 'Travel duration' to be picked up during Leg Determination but it's not.
    Could someone please point me in right direction.
    Regards,
    Pawan.

    Hi,
    I do not think that this does work. But if you have defined the route with stages already anyway: why do you then have a leg determination? In this case you should choose to "take over stages from route" (the field above the setting for the leg determination).
    Best regards
    Juergen

  • VT01N Leg determination

    Hi All,
    I have a scenario I am battling with to configure for automatic leg determination in the shipment document.
    Scenario is:
    The are 2 deliveries, Del A and Del B.
    Both Del A and Del B will be on the same truck and Del A will be going to a Swedish (SE) customer and Del B will be going to a Finnish (FI) customer.
    Starting point for both Del A and Del B is from the warehouse X.
    Next leg is the truck will stop off at a HUB in SE and drop off Del A
    Del A will go to SE customer from HUB SE.
    Truck moves onto HUB FI and drops off Del B.
    Del B will go to FI customer from HUB FI.
    In the shipment type I have set the the 'leg indicator' as - 2 Main leg and the 'Determine legs' as 2:Prelim.leg per loading point,Subs.leg per ship-to-party.
    In the route stages config I have set the stage between the SE HUB and FI HUB as the Main Leg.
    But when I enter the route in VT01N and and do the leg determination it is not determining the right stages.
    What is it doing is:
    Stage      Departure Point        Destination point                Leg Indicator
    1           Warehouse X                 HUB SE                          Prelim leg         Del A & Del B
    2           HUB SE                          HUB FI                           Main leg           Del A & Del B
    3           HUB FI                           FI CUST                         Subsq leg         Del A
    4           HUB FI                           SE CUST                        Subs leg           Del B
    I would like to see:
    Stage      Departure Point        Destination point              Leg Indicator
    1           Warehouse X               HUB SE                          Prelim leg         Del A & Del B
    2          HUB SE                          HUB FI                           Main leg            Del B
    3           HUB SE                         SE CUST                        Subs leg          Del A
    4           HUB FI                          FI CUST                          Subs leg           Del B
    Any feedback would be appreciated to point out where I may be going wrong in customizing so that I can get the right result. Essentially Iu2019m trying to get the right deliveries in the right stage. I hope I'm making sense.
    Thanks
    TV

    Hi,
    [Leg Determination|http://help.sap.com/saphelp_45b/helpdata/en/93/743f27546011d1a7020000e829fd11/content.htm]
    [Processing EDI from Shipments|http://help.sap.com/saphelp_ehs27b/helpdata/en/db/e0940b06a511d286e2080009b98822/content.htm]
    Reward if helpful.
    Thanks and Regards,
    Naveen Dasari.
    Edited by: Naveen Dasari on May 27, 2008 10:00 AM

  • Leg determination

    Hi gurus,
    I've a problem with a leg determination and stages
    I want determinate the legs by the ADRNR of the Ship to, but I can only determinate one leg by the Ship to in the same shipment
    by the moment I have
    DEL-01 SP-01 ADRNR-01 LEG-01
    DEL-02 SP-01 ADRNR-02 LEG-01
    with
    SP = Ship to
    ADRNR = Ship to ADRNR
    and I want
    DEL-01 SP-01 ADRNR-01 LEG-01
    DEL-02 SP-01 ADRNR-02 LEG-02
    Can you help me?
    Thanks in advance
    Antonio.

    Hi,
    [Leg Determination|http://help.sap.com/saphelp_45b/helpdata/en/93/743f27546011d1a7020000e829fd11/content.htm]
    [Processing EDI from Shipments|http://help.sap.com/saphelp_ehs27b/helpdata/en/db/e0940b06a511d286e2080009b98822/content.htm]
    Reward if helpful.
    Thanks and Regards,
    Naveen Dasari.
    Edited by: Naveen Dasari on May 27, 2008 10:00 AM

  • Partner determination at shipment stage level

    Dear All,
    We would like to have multiple partner functions determined for a shipment stage within the shipment. Stages are maintained for the shipment route. But we dont want to maintain the service agent at stage level inside the route in IMG. This only determines one partner at stage level. We need multiple partners. Which exit can help here? I dont think normal partner determination exit can be used here like EXIT_SAPLV09A_004 as it is not called in shipment. Please suggest.
    Best Regards
    Dinesh

    Hi,
    I am sure whether it will helpful to you or not
    Kindly check the menu path SPRO --> Sales & Distribution ---> Basic Functions --> Partner Determination -- > Set up Partner Determination -- >Set Up Partner Determination for Shipment
    Regards,
    Prasanna

  • Item category determination  in shipment cost

    Dear Experts,
    How item category determination  in shipment cost document.
    Regards
    Ishikesh

    Hi,
    Item Category can be determined automatically or manually based on the settings.
    1>Item categories can be determined automatically:
    Item categories are assigned to shipment cost type,then the system propose item category in the shipment cost doc
    2> Item category - manual entry
    If item category needs to be entered manually , then this needs to be mentioned in the item category detail screen< manually propose >, this will aloow to add/enter item cat in the shipment cost doc.

  • Output determination for shipment types

    Hi SD gurus,
    I am new to SAP. I am unable to configure o/p for shipment documents. I wanted to send an EDI to carrier when my planning is done and email to customers when loading takes place. an some1 help me through this.
    Thanks in advance.

    Dear VGR,
    Do the configuration settings for the shipment output determination through this IMG path
    IMG>Logistics Execution>Transportation>Basic Transportation Functions>Output Control-->Maintain Output Determination for Shipments
    -->Maintain Condition Tables
    -->Maintain Output Types
    -->Maintain Access Sequences
    -->Assign Output Types To Partner Functions
    -->Maintain Output Determination Procedure
    -->Assign Output Determination Procedures
    I wanted to send an EDI to carrier when my planning is done and email to customers when loading takes place.
    For he above requirement you take help of ABAPer to develop the output program in such way and assign that program to your shipment output type.
    Maintain the condition records through VV71 transaction with Transm. Medium EDI and Email
    I hope this will help you,
    Regards,
    Murali.

  • Ouput type determination for shipment

    Hi Folks
    I need to do some configuration regarding shipment output.
    And I want output type to be determined based on sold to party of delivery documents in shipment.
    Means, if there are 4 deliveries having 4 different sold to party Then I want 4 output type ( say FCED ) to be determined each for one sold to party.
    I've created an access sequence for this output type 'FCED'. and in access sequence used a key combination of shipment type/ sold to party . And I've maintained 4 sold to party also.
    There is a structure komkbv7 ( communication header for shipping ). Now when I've one delivery then sold to party for that delivery come in this structure (komkbv7-kunag) but when there is more than one delivery in shipment komkbv7-kunag comes as blank.
    Your suggestions would be highly appreciated
    With regards
    Mandeep

    Hi All,
    Use field KUNNR in field catalog (spro->Logistics Execution->Transportation->Basic Transportation Functions->Output Control-> Maintain Output Determination for Shipments->Maintain Condtion Tables->Field catalog: Messages for transportation), instead of KUNAG. This field is available by default in KOMB and KOMKBV7 structures.
    I know this is a rather old discussion, but there was no clear answer for the question, I just wanted to make sure that others having the same problem can find an answer.
    Regards,
    Szabolcs

  • G/L account determination for shipment cost

    Hi Experts,
    I am having a problem setting up account determination for shipment cost document.
    When saving shipment cost document, SAP generates "service entry sheet" (PO) and GR with accounting document,
    but I would like to change the default G/L account by shipping condition type.
    So far, I have set up automatic G/L account (OBYC), GBB and WRX, but I could only define the default one.
    Could you please advise if it is possible to change G/L account for freight accrual?
    and if yes, how to change G/L account determination by shipping condition type?
    Thank you
    JK

    Hi,
    1. Menu Path: Logistics Execution > Transport > Shipment Costs > Pricing > Pricing Control > Define And Assign Pricing Procedures
    Transaction Code: SPRO
    Shipment pricing procedure is same as the standard pricing procedure and uses condition technique to retrieve the data from condition tables.
    2. Pricing Procedure Determination for Shipment Costs:
    Based on the combination of Item category Determination group, Service Agent Procedure Group, Shipping Type Procedure Group, pricing procedure is determined
    Menu Path: Logistics Execution > Transport > Shipment Costs > Pricing > Pricing Control > Define And Assign Pricing Procedures
    3. Search Procedure for the PO:
    TPPt: Transportation planning point is taken from the shipment document
    SCTy: Shipment Cost type is taken from the shipment cost document
    POrg: /Pgr/Plant: Purchasing Organization, Purchasing group and Plant is assigned to the combination of TPPt & SCTy.
    On these values the purchase order is searched for the Vendor mentioned in the shipment document
    Menu Path: Logistics Execution > Transport > Shipment Costs > Settlement > Assign Purchasing Data
    4. Automatic G/L account Determination
    I hope this information will help to you.
    Thanks & Regards
    Raju
    From the Transaction u201CGBBu201D and combination of General Modification key u201CVBRu201D and valuation class the G/L account is determined for the posting to the freight accounts.
    Menu Path: Logistics Execution > Transport > Shipment Costs > Settlement > Automatic G/L Account Determination
    From the Transaction u201CWRXu201D and value of valuation class as u201C u201C the G/L account is picked for GR/IR accounts.

  • Leg determination in in import purchase process

    Hello freinds,
    Scenario: I want to capture the shipment costs for import purchases. Suppose i want to capture freight costs from foreign vendor plant to foreign Port(leg1) from Foreign port to indian port(leg 2) and indian port to plant(leg3).
    How to map it in single route?
    Can system determine the route automatically in Purchase process(In Inbound delivery) If it possible how it is?
    After that, if we capture shipment costs of all three legs, how system will copy to delivery costs after GR.
    At present we are capturing the shipment costs for domestic purchases(all are direct legs), We used one condition type in PO for copying the ship.costs to material costs.
    Now i think we have to maintain more than one condition type in PO for carying the different costs.
    The transporter are different in three legs.
    With regards
    Lakshmikanth

    Hi Lakki,
    I am looking for the same solution
    kindly help if u have done with.

  • The best forwarding agent determination during shipment processing.

    Hello,
    Standard SAP allow freight cost estimate during shipment processing for particular forwarding agent - "Freight cost estimate" button.
    Is it possible in standard to automatic determination of the cheaper forwarding agent based on freight cost estimation?
    Andrzej

    Dear Andrzej,
    Through "Freight cost estimate" you can find out which farwarding agent is cheaper than other  based on that you can deside  which FA is feasable.
    I don't think system will determine automatically the cheapest FA in the shipping documents.
    I hope this will help you,
    Regards,
    Murali.

  • Route determination in shipment

    Dear All,
    Route & shipping conditions are not getting copied from delivery nor determined automatically in the shipment. what is missing in the configuration?
    Regards,
    SmartSD.

    Kindly go through Hyperlinks for threads for better undestanding:
    Shipping conditions - Delivery to Shipment document
    route
    route determination in inbound logistics
    Delivery not getting assigned to Shipment document.
    Hope it assist you.
    Thanks & Regards
    JP

  • Partner Determination for Shipments

    I have set up a new Partner type that is to be used as address information when we create a Shipment.  I have set up the Parnter so if added to the Customer Master, it will default onto the Sales Order, and when the delivery is created, that Partner will show up too.  What I am having trouble doing is when I create a Shipment,  the new partner does not show up, even though I have set the new type up in Shipment Partner Determination.  I do see that when I create a Shipment that the Forwarding Agent does not populate nor does the Carrier on the Partner tab unless I click the Planning button.  So, I am wondering is there another place in configuration (configuration for the Planning button on the Shipment) that would need to be done to bring in this new Partner I created?  If I look at the partner screen, I can manually add if I want to, but I need it to default if it is on the delivery.
    Thanks,
    Diane

    Go to VT04 transaction and the Variants to be maintained with Grouping criteria.
    you need to maintain cpoying routine for the shipment docu type to get forwarding agents in your screen..
    Next  0VTK transaction
    go to copy routine in the proposal tab maintain your cusomized routine or routine 1
    Now you create the collective shipment with that variant(Grouping Criteria variant)
    and check
    regards,
    A S

  • Text Determination in Shipment

    Hi Experts,
    We have a requirement to copy the delivery header texts to shipment document. But there is no access sequence for text in the shipment. Can anyone advise how to get the text copied from delivery to shipment?
    Many Thanks!
    BR, Helen

    Helen,
    Balaji is correct.  You need to create (or decide upon) a text at the shipment header for the data, and then populate it by appending the relevant delivery header texts in a user exit that gets called during shipment creation.
    We do something similar using the CMOD enhancement V56USVDP.  It has access to the communication structures that you need to get the delivery header texts. 
    Regards,
    Ken

  • Logic for Output type determination of shipment

    Hi All,
    I have a requirement where in when a shipment is being saved (on create/change) i need to put a logic in an enhancement to identify if a particular set of output types will be generated or not for that shipment.
    Any info on how i can do this? Is there any FM that can fetch that data.
    Thanks.
    Ashiq Ali

    T. Code  VOFM
    Requirements > Output control
    Check routine 605
    Chek this where you can find some logic for Output type detremination of shipment type
    ~P

Maybe you are looking for

  • Error in updating SAP Basis Pack

    Dear All, I have fresh Install SAP 4.7 with SQL 2000. When I am updating basis Support pack i.e SAPKB62021. It give messege Error in Phase :-XPRA_EXECUTION Reasion for error :TP_STEP_FAILURE Return Code : 0008 Please help Thanks & Regards Issam CHIBO

  • Issue connecting tables between 2 excel 2013 workbooks.

    I have 2 separate Excel documents and I want to join it together so: -Document 1: simple document. I insert 3 columns (A,B,C)and some numbers on each colums. -Document 2: simple document. I insert 3 columns (A,B,C)and some numbers on only 2 of them.

  • Sony NV-U73T (GPS) doesn't connect to PC

    Hello, I just bought a Sony NV-U73T. I have upgraded firmware to 3.02cn but I can not connect it to my computer via Microsoft ActiveSync. I'm using Windows XP SP3 and ActiveSync 4.5. I still connect other mobile devices for work. I tried re-install A

  • Where to configure logical system/business system in XI

    Hi,   One quick question. From where configuration tab of RWB fetching the systems? I created business systems in SLD but I unable to find these systems in the Configuration tab of RWB. Can you suggest me any hints. Thanks in advance.

  • Create a Note / External Document for Suppliers

    Hi Gurus! I'm developing a new procedure for a customer in which i've to create a supplier (Transaction XK01)  and then manage the creation/modify/deletion of Notes and External Document. With FM SO_DOCUMENT_READ_API1 i can read the Notes/Ext. Doc. W