Delivery address in PO line item

Hi Friends,
Need your inputs/ suggestions .
THe delivery address in PO line item is taken from plant / Sloc details .
If this text is changed , the changed details should be picked / outputted (and not the data / Master data  of plant / Sloc )
is there any  FM / user exit ?
Thanks in advance ,
regards,
CK

Hi  I have a problem  the deivery address tab is not visible in my PO  I tried  SHd0  but still I could not able to find it .,
My requirement is I need to maintain   different delivery addresses and different bill to addresses .
I also tried and open the SLOC filed in the PO  but It is not allowing me to input it is grade out . If I am able to enter different sloc I can change the delivery address.
give me your inputs   .
SD

Similar Messages

  • Different delivery address in multiple line items of SC

    Hi All,
    Requirement: If we have different delivery address in multiple line items of SC, the first line item delivery address should be replaced by other line items.
    I would like to know the relation between first line item in the shopping cart and its correspnding delivery address?
    I have compared the guid of first line item (BBP_PD) and guid of shipping address (second guid not partner guid) which were not same.
    Any alternatives we have.
    Thanks and Regards,
    /N

    Hi Naveen,
    I guess you would like to change the delivery adress in the BBP_DOC_CHANGE_BADI.
    Here you can identify the delivery adress (partner function 00000027) line item by the field P_GUID. This P_GUID in the partner table (ET_PARTNER-P_GUID) consists the GUID of the SC line item (ET_ITEM-GUID).
    When you know the line item GUID, you can find the SC line item number in the item table (ET_ITEM-NUMBER_INT) and you can see which is the first, second... line item of the SC.
    Regards,
    Peter

  • Want to copy Delivery address of one line item in shopping cart to all item

    Hi Experts,
                    We are upgrading from SRM 5.0 to SRM 7.0,In SC Creation We want to copy Delivery address of one line item in shopping cart to all line items in Shopping cart by clicking Change All Items button.This is custom button we added this button and we had written code to achieve the functionality but it is not working.This is same like Change All Items button in Account Assigment for copy accont details of one line item to all other line items in SC.
    Web Dynpro Component:/SAPSRM/WDC_UI_DO_SHIPTO
    Web Dynpro View:V_DODC_SHIPTO
    Thanks,
    Aarthi.

    Hi Prasad,
                   Our customer needs that button,they want whenever they are clicking the button delivery address should copy to all line items.
    In my action ONCHANGE_ALL_ITEMS i called this method
    wd_this->mo_dodm_shipto->zchange_all_items( ).
    zchange_all_items( ) is  implemented in class /SAPSRM/CL_CH_WD_DODM_SHIPTO.
    the code i wrote inside zchange_all_items( )
    *Error
      DATA: LX_PDO_ABORT               TYPE REF TO /SAPSRM/CX_PDO_ABORT,  " Class for Fatal error caught by PDO Layer
            LX_PDO_ERROR               TYPE REF TO /SAPSRM/CX_PDO_ERROR.  " Class for PDO General Exception
    Object Instances
      DATA: LO_MSG_CONSUMER            TYPE REF TO /SAPSRM/IF_PDO_MSG_CONSUMER,
            LO_PDO_SHIPTO              TYPE REF TO /SAPSRM/IF_PDO_DO_PARTNER.
    Context-Data
      DATA: lte_cll_shipto              TYPE /sapsrm/if_ch_wd_set_facade=>gt_guid_element,
            loe_cll_shipto              TYPE REF TO /sapsrm/if_ch_wd_set_element.
    Field Symbols
      FIELD-SYMBOLS <lse_cll_shipto>    LIKE LINE OF lte_cll_shipto.
    DATA : lo_pdo_acc TYPE REF TO /sapsrm/if_pdo_do_acct_assgmnt.
      DATA : ls_shipto_cll type /SAPSRM/S_CLL_SHIPTO,
             lt_pdo_partnerdetails      TYPE bbp_pdt_partner,
             ls_pdo_partnerdetails      TYPE bbp_pds_partner,
              LV_GUID          TYPE BBP_GUID,
              lv_item_guid type bbp_guid,
             lv_filled TYPE wdy_boolean.
    *exceptions
      DATA : LX_ABORT                  TYPE REF TO /SAPSRM/CX_PDO_ABORT.
    *Constants
      CONSTANTS : LC_OBJECT_ID         TYPE CRMT_SUBOBJECT_CATEGORY_DB VALUE 'BUS2121001',
                  LC_ADDR_ORIGIN       TYPE /SAPSRM/S_CLL_SHIPTO-ADDR_ORIGIN VALUE 'B'.
      IF LV_FILLED = ABAP_TRUE.
    Downcasting to shipto
        LO_PDO_SHIPTO ?= MO_PDO.
    insert the clipboard into facade and update and submit update
        me->/sapsrm/if_cll_do_mapper~insert_from_clipboard( io_set_facade = mon_cll_set_facade ).
    Add new Accounting entries.
        lte_cll_shipto = mon_cll_set_facade->get_data_elements( ). "get all elements from the context
        LOOP AT  lte_cll_shipto ASSIGNING <lse_cll_shipto>.
          loe_cll_shipto = <lse_cll_shipto>-set_element.
          loe_cll_shipto->get_static_attributes( IMPORTING rv_attributes = ls_shipto_cll ).
    Map ui-structure to pdo-structure
          MOVE-CORRESPONDING ls_shipto_cll TO ls_pdo_partnerdetails.
          IF LS_SHIPTO_CLL-PARTNER_FCT =  mv_part_func.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = ''.
          ELSE.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = LS_SHIPTO_CLL-PARTNER_FCT.
          ENDIF.
          IF ls_pdo_partnerdetails-del_ind NE 'X'.
            CALL FUNCTION 'GUID_CREATE'
              IMPORTING
                ev_guid_16 = ls_pdo_partnerdetails-p_guid.
           mv_acc_guid_split = ls_pdo_shipto-guid .
            IF mo_scope = 1.
              ls_pdo_partnerdetails-p_guid = mon_cll_set_facade->get_bo_guid( ).
            ELSE.
              ls_pdo_partnerdetails-p_guid = mo_parent_bo_mapper->items_get_lead_selection( ).
            ENDIF.
            APPEND ls_pdo_partnerdetails TO lt_pdo_partnerdetails.
          ENDIF.
          CLEAR : ls_pdo_partnerdetails, ls_shipto_cll.
        ENDLOOP.
    Add New items to PDO
        IF NOT lt_pdo_partnerdetails[] IS INITIAL.
          TRY.
              LO_PDO_SHIPTO->update_item_partners( EXPORTING it_partner = lt_pdo_partnerdetails
                                                               iv_item_guid       = lv_item_guid
                                                   CHANGING co_message_handler = mo_pdo_message_consumer ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Update PDO with the changed data.
          TRY.
              mo_pdo->submit_update( ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Fire refresh of DO Mappers registered for refresh since the item table has acc related data.
          mo_parent_bo_mapper->fire_event_refresh( iv_perform_updates = abap_false ).
        ENDIF.
      ENDIF.
    Thanks,
    Aarthi.

  • Delivery Address for each line item in PO

    Hi Experts,
    My client has an issue,
    In a perticular PO print out he is geeting delivery address on each line items?
    How to resolve it?
    Meh

    Meh,
    Did you ever find out what's causing this?  We have the same problem.  I only happens on certain POs, not all.  Any suggestions would help.
    Thanks,
    Steph

  • How to get the Delivery date in PO line Item in SAPScript

    Hi Gurus,
    I am working on PO Script (MEDRUCK). I copied the Standard to a Z form. ZMM_MEDRUCK, Now I need to print the the Header text at the end of MAIN window.  I put Iem number along with the other line Item informmation like stanadrd PO Script MEDRUCK. I also want to show the delivey date with line Item, so Itried to use EKET-EINDT but it is returning the delivery date of last line item, means while printing the first line and other information it is showing the delivery date of the last line item, I tried with the  PEKPO-EINDT it is also not working.
    Can any body suggest me how i can get the delivery date for the respective line Item  ?
    Regards
    Sony

    actually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
    For Example u can use this code.
    To print you have write the this code in Script item level printing window "MAIN" window
    Following perform is called to get the line item delivery date in PO
    {/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
    /: USING &EKPO-EBELN&
    /: USING &EKPO-EBELP&
    /: CHANGING &DEL_DATE&
    /: ENDPERFORM}
    {* Dellivery date &DEL_DATE& }
    write the below code in the Z program "ZPerform_prog"
    { FORM get_del_date  TABLES in_par STRUCTURE itcsy
                             out_par STRUCTURE itcsy.
      READ TABLE in_par WITH KEY 'EKPO-EBELN'.
      CHECK sy-subrc = 0.
      $_po_no = in_par-value.
      READ TABLE in_par WITH KEY 'EKPO-EBELP'.
      CHECK sy-subrc = 0.
      $_po_line = in_par-value.
      SELECT *
      FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
        $_del_date = eket-eindt.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
          EXPORTING
            date_internal            = eket-eindt
          IMPORTING
            date_external            = $_del_date
          EXCEPTIONS
            date_internal_is_invalid = 1
            OTHERS                   = 2.
        READ TABLE out_par WITH KEY 'DEL_DATE'.
        CHECK sy-subrc EQ 0.
        out_par-value = $_del_date.
        MODIFY out_par
                    INDEX sy-tabix.
        CLEAR : $_po_no , $_po_line ,$_del_date.
      ENDSELECT.
    ENDFORM.                    "GET_DEL_DATE }

  • Tcode to create single delivery document for all line items in PO

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi,
    Inbound delivery T.code VL31N.
    Regards,
    JS

  • Delivery block on the line item and on schedule line

    why are there two delivery block on the line item and on schedule line  respectively in the sales order? which one is exactly used for blocking delivery order from creating ? thank you very much!

    Hi
    The reason being, each line item can have more than one schedule line. If the line item has only one schedule line, the block at item level or SchLine level gives the same result. If the line item has two schedule lines, and if you want to block only specific delivery(one among the two schedule lines) the block at item level blocks both the deliveries and if you use delivery block at schedule line level, you can block only the required scheduled delivery.
    Thanks,
    Ravi

  • Looking to create delivery with multiple batch line items

    Hi,
       Can you please suggest me BAPI / FM to create a delivery with multiple batches. like ... i have 1 mail line item in the delivery and n sub line items. If possible can you please post req parameters too. Thanks in advance.

    solved my own

  • User exit for delivery tab of PO line item?

    Hi guys,
    i want to impose checking on under delivery tolerance field present under delivery tab of PO line items.
    Is there any user exit to do this??
    Appropriate solution would be rewarded/
    Regards,
    GURU

    Check Enhancement - MM06E005 - Exit EXIT_SAPMM06E_012
    OR
    Check Business Add-In ME_PROCESS_PO_CUST has method CHECK.
    -Alpesh

  • Partner Function Address change at line item level - Item Partners checkbox

    Hi guru, we have a requirement that we need to change the address for partner function at line item level without changing the partner number. Currently the ship-to partner function address is automatically coming from the header although the number is modifiable but not the address (when double click into the partner number, the pop-up is grayed out). It is probably because the Item partner check box for the shipto partner is not checked (field name: SD_PARTNER_POSFLAG). However that field is not modifiable in VA02 either.
    If the shipto partner number is overwritten, then the item partner check-box is automatically checked and allows address chanage. Is there a way in the configuration that can default the 'item partners' checkbox for certain partner so the address can be changed without the need to overwrite the account?
    Any advice is appreciated.
    Thank you.

    If the item level ship-to party is derived from header partner function, but you want to change the address at item screen rather than header level.  On item screen, enter the same function, the same number again in a new line, "item partner SD_PARTNER_POSFLAG" is then ticked. Then proceed to the address change.
    No need to do modification.

  • How to set partial delivery for Purchase Order line item

    Hi Team
    We have created a PO for 100 quantity along with 25% over delivery tolerance.  We have done 5 GRNs totaling for 95 quantity.  when we try to do another 10 quantity, system not accepting the GRN.
    I want to set the partial delivery for this line item.  Please help how to do this.
    regards
    Ravi

    where did you check the underdelivery tolerance of 0?
    the PO is the place to check, changes in material master will notz effect existing POs.
    if you removed the delivery complete indicator and the item still does not show up in MIGO, then set the "propose all items in MIGO settings"
    if it still does not show up, then you might have other restrictions like confirmations , last goods receipt etc.
    the error 'Document does not contain any selectable item" is often discussed in this forum, you will find numerous threads that list what you have to check.

  • How to default an address number delivery address in the PO item

    Hi All,
    I have some combination of certain Material / Vendor / Delivery address.
    I have created some address numbers from transaction MEAN.
    I can successfully assign these in PO detail manually. Then the address gets updated from it
    for plant or storage location if specified.
    What I need to know is how to "default" this address number in the PO detail.
    I couldn't fine appropriate field in info record, but I have a feeling that it should be possible.
    Could anyone help me on this please?
    Thanks,
    ATO

    Hi Nadia,
    Thank you for your reply.
    The plan is that storage location gets default on the PO by material master setting.
    I have configured the storage location address, so this defaults in the delivery address tab.
    This storage location is our warehouse to receive goods.
    Sometimes we delivery goods directory to the vendor without receiving into the warehouse.
    In this scenario, we are using the address number to print the vendor address on the PO output.
    The combination of material and vendor is unique when we need to deliver directory.
    So the expectation is to default this address number in this certain case.
    Do you mean this will be possible without user exit?
    Thanks,
    ATO

  • Different SC ship to address for different line items

    Hello Frnds,
    Please help... My question is,
    I have 10 line items in a PO to a one vendor. I would want my vendor to ship each line item to different SC vendors. Can i have SC vendor for for each line item with SC Vend ticked in PO?  Please advice...
    Regards,
    Kumara

    Thanks Jürgen L.. I dont have access to sand box to test it, i requested for access, might get it soon. I had this question while collecting requirements....I take your word and i will comunicate that its possible to my client. B/W... Have you tried doing this?

  • Delivery Qty of Schedule line item

    I have to read out the delivered quantities  of the schedule lines which are under the position. I already have the data from the table VBEP, but I don't have the delivered quantities (VSMNG) in this table. How can I read this information for a sales order?

    It is a calculated value, not a value of a table field. Also, it may lead to wrong results if you don't pay attention to this description of the field here under in bold.
    Delivered quantity in sales units
    The quantity from the schedule line that has already
    been delivered.
    Use
    When there is more than one schedule line for an item,
    the system distributes the total delivered quantity for
    the item across the schedule lines according to the
    sequence of their delivery.
    Example
    A sales order item has three schedule lines, each with
    an order quantity of 50 pieces. You make two subsequent
    deliveries: the first for 20 pieces, the second for 60
    pieces. The delivered quantity for the first schedule
    line is 50 pieces, for the second 30 pieces, and for the
    third zero.
    <b>If you delete the first delivery (20 pieces), the
    delivered quantity for this schedule line is still 50
    pieces.</b> However, the system reduces the delivered
    quantity for the second schedule line to 10 pieces.

  • 2 Line Items having different ADRNR even if their Delivery Address is same

    When I change the Delivery Address of a PO line item (eg. line item 10) manually to the Delivery Address of another line item (eg. line item 20), their ADRNR remain different.
    Shouldn't line item 10 adopt the same ADRNR as that of line item 20?
    Is their any other way to copy a line item's Delivery Address to another line item (already existing, not a new line item) so that their ADRNR (or in that case any other field)  remains same?
    I need a way to know whether the addresses of 2 line items are similar or not?

    Hi,
    When you create a manual address for a PO line item in backend it creates the new address master data and stores it against the new ADRNR number and which is stored in EKPO-ADRNR for that PO line item.
    Once this ADRNR is created you can use this as a reference in the second line item by using ADDRESS field option under Delivery address tab where in you have to mention the 1st line item's EKPO-ADRNR number then the same address get copied with the same ADRNR number.
    I am not sure whether there is any better option unless you are copying the complete line item with reference to the other.
    Cheers,

Maybe you are looking for

  • Link to child level detail report via variable ? / navigate to ?

    I was wondering if anyone has had a similar experience; I am trying to based on selection link to customer details Example: Fact & Dimensions; Fact (I aggregated to Customers gained); Dimension1 (Date / Period); Dimension2 (Customer Dimension) Proble

  • UDF Requiremnt

    Hi Experts Please help me in this mapping through writing a UDF My scenario is iDOC to File we have to count the occurance of the Segment and than map the fields. i have one iDOC WPDBBY01 and it has segment named E1WPBB03 which initself has one more

  • Difference between EAS(Exchange activesync) and EWS(Exchange web service)

    What are the main differrences between EAS(Exchange activesync) and EWS(Exchange web service)... I know the basic difference  that is EAS(Exchange activesync) is a set of protocol and EWS(Exchange web service) is a web service.... Please explain me t

  • Safari is corrputed

    My Safari is corrupted. There is a Quick-Resolve.net message that's freezing my Safari, and preventing it from being accessible for anything else . "SYSTEM LOGS REPORTING THREATS. To prevent Damage To Your Personal Data, Internet Login And Passwords,

  • Lost emails on Windows Live Mail

    I have been using Windows Live Mail on my notebook for my emails. I have several folders with loads of saved messages but for some reason when I've logged on today I have nothing showing and I've done nothing that I know of to affect this. How do I g