Choosing shipping point when delivery is performed

Hello all,
I have the following scenario:
A sales order that contains two items. Each item has a different shipping point.
When I deliver the sales order (from VA02), the system creates an outbound delivery using the shipping point of the first item (and only delivers the first item, OK). I need to force a concrete shipping point (depending on the user, not the first item).
How can I do it?
Thanks in advance,
Ricard.

Hi,
Thank you for your answers. I do not want the both lines into one delivery (shipping points are different). I want to chose the shipping point used to delivery (Delivery is created from VA02). Now, always is the shipping point of the first item that determines the shipping point. 
Example 1:
A sales order contains two items:
Pos 10: Item A shipping point 01.
Pos 20: Item B shipping point 02.
If I perform a deliver from VA02, the shipping point used to delivery will be 01.
Example 2:
A sales order contains two items:
Pos 10: Item B shipping point 02.
Pos 20: Item A shipping point 01.
If I perform a deliver from VA02, the shipping point used to delivery will be 02.
So, the first item is used to determine the shipping point. I need to determine the shipping point depending on the user. I am looking for user exits or badis... (nothing at the moment)
Thanks in advance,
Ricard.

Similar Messages

  • Very urgent : shipping point and delivery creation date

    Hi :
    I have a custom table with fields :
    belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz.
    Custom Transaction with fields :
    vbeln (field name belnr) , aufnr, delivery vbeln ( field name livbeln ),werks, mat .avail.dat ( mbdat ), transport.plan date(tddat),
    matnr, and sales order item (posnr).
    I have to select sales order , item from custom table based on plant (werks) shipping point , and delivery creation date.
    how can i relate shipping point and delivery creation date to my query.
    For delivery creation date, it should be selected based on current date+-2 and should choose MBDAT OR TDDAT which ever is earlier based on current date.
    I would appreciate if anyone can give me som idea and full points r rewarded.
    Thx.
    Rag

    Hi,
    Try this:
    select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
    on a1belnr = vbapvbeln
    inner join vbep
    <b>on vbapvbeln = vbepvbeln and vbapposnr = vbepposnr</b>
    where a1~werks = p_werks
    AND vbap~vstel = p_vstel
    AND vbep~edatu = p_edatu
    AND (vbep~mbdat <= p_edatu OR
    vbep~tddat <= p_edatu ).
    regards,
    Anji

  • How are shipping point and delivery note connected ?

    I wanted to understand how is shipping point connected to process of creating delivery notes....can we configure sap using SPRO such that the delivery note creation happens automatically for certain shipping point once the order is created and saved ....and for certain shipping point the delivery note is not automatically created ( assuming we are using the same order type) but the determination of automatic DN creation is done by the value of the shipping points ??

    Actually what is shipping point?
    Shipping point is an independent org.unit which is linked to the plant and represent the point of departure or receipt of materials.
    Normally lot of shipping points are assigned to the plant.
    Relation:
                   Actually a delivery is created from a single shipping point only.. That is the reason when u complete the sales order, at the time of creating the delivery note, u are forced to enter the shipping point, without that the system willn't proceed further.
    Determination:
    It is determined with the formula of shipping conditions + loading grp + deliv. plant
    Answering to ur 2nd query,
    when u are creating the delivery from the sales order screen (by going to menu bar and click delivery), the system automatically assumes the shipping pt is from the sales order.
    But if u enter the different shipping point in delivery note creation, the system will thro an error that delivery split due to diff. shipping points.
    Hope i clarify ur queries, ur further queries are welcomable.
    Reward points if useful...
    regards
    Kaleeswaran

  • Shipping point and delivery creation date

    Hi :
    im selecting sales orders , items and schedule line
    from a custom table based on plant, shipping point and delivery creation date. 
    Is there any relation between Schedule lines and delivery creation date.
    For delivery creation date d_date = SY-DATUM,  and should select Mat Avail dt MBDAT or Trans. planning dt TDDAT which ever comes earlier.
    vbep-edatu = itab-d_date.
    select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
    on a1belnr = vbapvbeln
    inner join vbep on a1posnr = vbepposnr
    where a1~werks = p_werks
    AND vbap~vstel = p_vstel
    AND vbep~edatu = p_edatu
    AND (vbep~mbdat <= p_edatu OR
    vbep~tddat <= p_edatu ).
    can anyone help me with this select statement.
    Thanks.
    Raghu

    Hi,
    Try this:
    select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
    on a1belnr = vbapvbeln
    inner join vbep
    <b>on vbapvbeln = vbepvbeln and vbapposnr = vbepposnr</b>
    where a1~werks = p_werks
    AND vbap~vstel = p_vstel
    AND vbep~edatu = p_edatu
    AND (vbep~mbdat <= p_edatu OR
    vbep~tddat <= p_edatu ).
    regards,
    Anji

  • Shipping point - Inbound delivery

    Hi gurus,
    Which shipping point do we use in return delivery ? Can we keep the same shipping point for both
    outbound delivery & inbound delivery. If we maintain different shipping point for return delivery then what is the shipping point determination for inbound delivery?
    Thanks
    Rakesh

    Hi there,
    I would suggest you to maintain different shipping point for inbound if your plant is WH (warehouse) managed. Coz incoming items will be placed at a different storage bin. If WH is not active in your plant, then same shipping point would be fine.
    Define a new shipping condition for inbound scenario. Since the material is same, loading grp will anyway be the same. When maintaining the shipping point determination, propose the inbound shipping point in OVL2 with the inbound shipping conditions.
    Regards,
    Sivanand

  • Not possible to determine shipping point when creating STSA

    Dear experts,
    I would like to have delivery creation for STSA (new STSA type - ZLU). I set below configs however when i create STSA, the error msg occur - Not possible to determine shipping point for item 00010. would you advise? thanks.
    Config to have:
    1. Assign delivery type ZNL for STSA document type ZLU and supply plant 5395
    2. Define shipping data for both receiving plant & supplying plant with customer no and sales data
    3. Maintain shipping point determination for supply plant: shipping condition (from receiving plant - customer# ) 02 , loading group 0001 in sales/plant view for supply plant-> US01
    Master data:
    1. maintain sales view for both supply/receiving plant
    2. purchasing view for receiving plant

    Hi
    Kindly check your sales order type STSA in VOV8. If there is any default shipping condition is assigned under shipping tab.

  • Missing shipping point in delivery

    Hi All,
    when i am creating intercompany order it is missing shipping point and route. what is the possible customizing setting is missing.
    regards. due to this reason order is incomplte.
    durfishan

    Hi,
    Shipping point is determined by shipping conditions, loading group and plant. Check in customer master shipping tab if shipping conditions are defined. These can also be defined in sales order type config. Check in material master if loading group is defined for the material. Then check in SPRO whether for this combination of plant, shipping condition and loading group shipping point is assigned under shipping point assignment.
    Regards,

  • Wrong SHipping point in delivery due list VL10G

    Hi All,
    We are facing vague issue related to delivery due list where it shows worng shipping point with respect to order.
    Order has shipping point XXXX where as in deliverydue list it shows YYYY....
    We checked the table responsible for showing values (Table VEPVG) in delivery due list.. It shows wrong shipping point YYYY as well...
    Any idea why there is discrepancy...
    Thanks in advance for help
    Ghassan

    Is it possible that you have different shipping points on the sales order, i.e. different at header and item level?

  • Shipping point , delivery creation date

    Hi :
      I have a custom table with fields :
    belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz.
    Custom Transaction with fields :
    vbeln (field name belnr) , aufnr, delivery vbeln ( field name livbeln ),werks, mat .avail.dat (  mbdat ), transport.plan date(tddat),
    matnr, and sales order item (posnr).
    I have to select sales order , item from custom table based on plant (werks) shipping point , and delivery creation date.
    how can i relate shipping point and delivery creation date to my query.
    For delivery creation date, it should be selected based on current date+-2 and should choose MBDAT OR TDDAT which ever is earlier based on current date.
    I would appreciate if anyone can give me som idea and full points r rewarded.
    Thx.
    Rag

    Hi Pankaj,
    Please try to use BAPI 'BAPI_DELIVERYPROCESSING_EXEC' for creating delivery form sales order , you can pass value and create delivery.
    you can refer below code, it may be helpfull for you to create delivery.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
      zmeng LIKE vbap-kwmeng,
            matnr  LIKE vbap-matnr,
            werks  LIKE vbap-werks,
          END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
          WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
          WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr zmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = v_vbeln.
    LOOP AT t_vbap.
      t_request-document_numb = t_vbap-vbeln.
      t_request-document_item = t_vbap-posnr.
      t_request-quantity_sales_uom = t_vbap-zmeng.
      t_request-quantity_base__uom  = t_vbap-zmeng.
      t_request-id = 1.
      t_request-document_type = 'A'.
      t_request-delivery_date      = sy-datum.
      t_request-material = t_vbap-matnr.
      t_request-plant = t_vbap-werks.
      t_request-date = sy-datum.
      t_request-goods_issue_date = sy-datum.
      t_request-goods_issue_time = sy-uzeit.
      APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
         TABLES
              request      = t_request
              createditems = t_created
              return       = t_return.
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    Regards,
    Prasenjit

  • Bapi for creation of delivery by using SO,shipping point,delivery creation date

    Hi experts,
    I am looking for bapi that takes sales order,shipping point and delivery creation date and generates delivery.
    I have tried with bapi GN_DELIVERY_CREATE but i am not able to understand whether this bapi is used for inbound or outbound deliveries.If this bapi is ok then what are the mandatory fields for this bapi.
    Regards,
    Pankaj Jain

    Hi Pankaj,
    Please try to use BAPI 'BAPI_DELIVERYPROCESSING_EXEC' for creating delivery form sales order , you can pass value and create delivery.
    you can refer below code, it may be helpfull for you to create delivery.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
      zmeng LIKE vbap-kwmeng,
            matnr  LIKE vbap-matnr,
            werks  LIKE vbap-werks,
          END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
          WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
          WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr zmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = v_vbeln.
    LOOP AT t_vbap.
      t_request-document_numb = t_vbap-vbeln.
      t_request-document_item = t_vbap-posnr.
      t_request-quantity_sales_uom = t_vbap-zmeng.
      t_request-quantity_base__uom  = t_vbap-zmeng.
      t_request-id = 1.
      t_request-document_type = 'A'.
      t_request-delivery_date      = sy-datum.
      t_request-material = t_vbap-matnr.
      t_request-plant = t_vbap-werks.
      t_request-date = sy-datum.
      t_request-goods_issue_date = sy-datum.
      t_request-goods_issue_time = sy-uzeit.
      APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
         TABLES
              request      = t_request
              createditems = t_created
              return       = t_return.
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    Regards,
    Prasenjit

  • Shipping point

    Hi :
    I have a custom table with fields :
    belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz.
    Custom Transaction with fields :
    vbeln (field name belnr) , aufnr, delivery vbeln ( field name livbeln ),werks, mat .avail.dat ( mbdat ), transport.plan date(tddat),
    matnr, and sales order item (posnr).
    I have to select sales order , item from custom table based on plant (werks) shipping point , and delivery creation date.
    how can i relate shipping point and delivery creation date to my query.
    For delivery creation date, it should be selected based on current date+-2 and should choose MBDAT OR TDDAT which ever is earlier based on current date.
    I would appreciate if anyone can give me som idea and full points r rewarded.
    Thx.
    Rag

    v_date = sy-datum + 2.
    SELECT vbeln posnr
                  from zxxx
                  into table i_zxxx
                  where werks IN s_werks
                   AND  vstel IN s_vstel
                   AND  erdat =  v_date
                  AND   ( mbdat >= sy-datum OR
                              tddat >= sy-datum ).
    SORT i_zxxx.

  • Shipping point in STO defined upon storage location

    Hello, all
    On stock transport order I want to set up shipping point in a way that it is determined regarding to storage location I have entered in header of STO.
    Storage location is saved in field EKKO-ZZLGORT (tab Customer data). Now I need solution how to determine or overwrite shipping point when entering items.
    For example:
    . if storage location is 100, shipping point should be AAAA
    . if storage location is 200, shipping point should be BBBB
    I know that shipping point is determined according to combination of Plant-Shipping conditions-Loading group. And it works this way now.
    Is it possible to do this via customizing ? If user-exit is needed please specify which and what must be modified. I'm not a programmer but I know business process. Will get help of programmer if needed.
    I'm looking for this solution because I want to prevent that VL10b puts Stock transport orders with different storage location in header on same delivery.
    Thanx in advance,
    RJ

    Hi,
    You should be able to use METHOD if_ex_me_process_po_cust~process_item to change the shipping point. We've created a customer table in which we've set the corresponding plant, SLOC and shipping point combination which is read during execution of the BADI.
    You can also use METHOD if_ex_le_shp_delivery_proc~save_document_prepare for changing the shipping point in the delivery.
    We've used above for return items. We're on 6.0 as well and for all non return items, standard customizing is available, but not for returns.
    Hope this helps.
    MdZ

  • Change in Shipping Point

    Hi gurus,
    I have raised a sales Order and shipping point is determined in that order. But while creating Outbound delivery i decided to send it through different Shipping Point.
    Can anyone please let me know how to change the Shipping Point at creating Outbound delivery.
    NOTE: I DONT HAVE AUTHORIZATION TO MAKE CHANGES IN THE SALES ORDER.

    hi,
    you cannot have delivery for an item having a different shipping point at delivery than is proposed at the sales order level.
    the copy control rountines between order to delivery ensure this.
    However if there is a business requirement like this wherein you may need to change the shipping point, take the required authorization to do so, than thinking of any customization.
    regards
    sadhu kishore

  • GTM - wrong shipping point determination

    Hi ,
    Currently we are implementing SAP - GTM (Global Trade Managment functionality ) for our client and I am reletively new to this functionality. While creating one transaction cyles in the SAP system I am facing following problem :
    Issue .While creating delivery document against sales contract/sales order through TEW (Traing Execution Workbench),system opens the VL01N screen and instead copying shipping point & delivery date from sales order as it is,it proposes some default shipping point 0001 and wrong delivery date.Due to this system gives error and does not execute the VL01n transaction till the correct shipping point and delivery date is enetered.I checked default value in the user->own data also ,but no value is stored against the parameter id's of these two fields.
    Looking forward for valuabel inputs on the above issue.
    regards,
    Sachin

    Hi,
    OSS note 1872977 changes the TEW, so that the shipping point is taken from the sales order, like normal SD.
    /Torben

  • Shipping Point Change .SO

    Hi all
    Can you help us. We have placed salesorder to plant SE03 with some dien articles.
    Somehow the system then puts in shippingpoint 2 instead of 21
    which it should be and I can not change shipping point when I try. These orders are shipped from Germany (SE03) and configuration is made in Sweden so these order should not be visible for Finland (SE11) at all.
    What can be done?
    Best regards'
    Ram

    Hi ,
    Thanks , Can u pl brief me bit more clear .
    Pl let me know the IMG Path.....
    Best regards'
    Ram.

Maybe you are looking for

  • Monitoring Stateful EJBs

    Hi, When monitoring Stateful EJBs the first column, "Cached Beans Current Count", assume negative values. Why this happens? Thanks, Denis Macedo

  • How do I get the address bar back on the top of my browser

    I just installed the new firefox and when I click on a link and the linked site appears, I lose my navigation bar and get a bar with non functional icons instead. When I right click the non functional bar, it shows rss feeds for that website and asks

  • Copy 'Services for Objects' from Quote to Order

    Can anyone tell me a way to copy 'Services for Object' from a Quote to an Order when the order is created via reference to the quote. For a simple case, lets say we have an excel sheet attached to the quote via/under Services for Objects. When we cre

  • Convert VARCHAR to date in OBIEE

    I have an column Period Name and data as DEC-04 DEC-05 DEC-07 I want to convert into date format ..so is there any way...i tried with cast but it through error. Thanks, S

  • Saving Sequence and Effects Presets that go with the project itself

    Hi, please be gentle as I'm a newbie to the site. I have been asked to create several master Premiere Pro projects in CC (templates if you like) that will be being sent to quite a few ops worldwide, many of whom are completely new to the Adobe Platfo