Copy Delivery Address from SO to PR

In our third party shipment process for legal reasons we have to "receive" the material in our plant althought the material should be ship directly to customer from supplier, so we set up an individual purchase process.
But one thing its missing its that the purchase requisition genereted does not copy the sales order delivery address.
I have tried in VOV6 to change item category to third party but it wont allow it to be relevant for delivery.
I went to: spro -->mm -->purchasing >pur req>texts for purchase requisition , but I am kind of lost.
If someone has an idea where this can be changed I will appreciate it.
Thank You,
Carlos
Edited by: Carlos Salazar on Sep 10, 2010 7:14 PM

Carlos, ensure that in your sales document that the schedule line category is properly set up.  Go to this SPRO path:
IMG --> Sales and Distribution --> Sales --> Sales Documents --> Schedule Lines --> Define Schedule Line Categories
Ensure the schedule line category has the order type NB - Purchase Requisition; and incompletion procedure of 31.
Also make sure that the schedule line category is assigned to the item category you're using in your sales order.  Hope this helps you out!
Also check out this link:  [http://wiki.sdn.sap.com/wiki/display/ERPLO/Fielddescriptionofscheduleline+category] for more information on the schedule line category.

Similar Messages

  • 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.

  • How to fetch PO item delivery address from ME23n

    Dear Experts,
           From ME23n, I have to fetch the delivery address for the po items ( at item level). This is mentioned in the 'Delivery Address' tab at item level details.
    I think this is the plant address, but if the user goes to ME22n and deliberately changes the address,  I have to select this modified address.
    How to do this?
    Thanks in advance

    Hi Shweta,
    If Address is not changed, then extract address information as below.
    Select <adrnr> from t001w where werks = <ekpo-werks>.
    Select <required columns> from adrc where adrnr = <t001w-adrnr>.
    If address is changed, then extract information as below.
    Select <required columns> from adrc where adrnr = <ekpo-adrnr>.
    Column adrnr in EKPO will be blank if no changes has been made to the address, and if address is changed this column will have the value of new address number
    Regards
    Vinod

  • Copying email addresses from an email message

    No one else seems to have this problem. I belong to a community group to which the moderator sometimes asks me to email logos and such. She says: " just use the list of names in the "To:" portion of the email I sent to you" . But I want to copy the names from there and put them into a
    word file so that I have my own list of names for next time. I can copy only the email addresses and not the names with them. Even though the names are there in the email, they will not paste to my file -- only the email addresses will paste. 'Tiz is puzzlement I have Mail 3.3.

    Wow! That worked and I have been trying with every one of her emails, about once a month!
    Thanks so much!

  • Subcontract Purchase Order with delivery address from Sales Order Ship-to?

    Hi
    My client has a Sales order for a subcontracted product.  The subcontractor should send the product directly to the customer that is on the sales order.  Currently, the delivery address on the PO is the home address of the client.
    My first option is to create a vendor address matching the ship-to and enter that manually in the Delivery Address field in the PO. But, i would like this to populate automatically.  Is this possible?
    thanks for your suggestions.
    Oll

    >
    Oll wrote:
    > Hi
    >
    > My client has a Sales order for a subcontracted product.  The subcontractor should send the product directly to the customer that is on the sales order.  Currently, the delivery address on the PO is the home address of the client.
    >
    > My first option is to create a vendor address matching the ship-to and enter that manually in the Delivery Address field in the PO. But, i would like this to populate automatically.  Is this possible?
    >
    > thanks for your suggestions.
    >
    > Oll
    a mixture of third party order (vendor ships directly to customer) and subcontract is not possible. third party order would need a S as item category in the PO, while subcontract order needs a L at the very same field.
    We created a storage location and a shipping point for the subcontractor. The sales order is created as a standard sales order that makes use of this storage location and shipping point.
    MRP run then creates a request to produce that material, based on the special procurement indicator in material master it is known that the material is to be procured via subcontract order.
    We then receive the finished good into this storage location that represents the subcontractor.
    Then we create a delivery in VL01N to ship this material to the customer.

  • Copying delivery address on po item l

    Hai,
    Please anybody help regarding population of delivery address on to the line item through inbound idoc in the purchase order.Please give any user exits and badis . Its  very urgent.

    Hi!
    An inbound IDoc is calling a function module. Within this function module, mostly we are using CALL TRANSACTION update and not user-exits/badis...
    You can find the function module, using transaction WE42.
    Regards
    Tamá

  • Copying delivery time from 1st  (unconfirmed) schedule line to confirmed SL

    Hi Friends
    Long time since I visited our forum.
    During order creation or change,  by selecting all items and using 'Edit- fast change of- Delivery date' menu option one can set a delivery date and time for all the items. This info moves to schedule line 1 (for the requested delivery date) Shipping tab to Arrival time field. However if an item (s) is not confirmed for the requested date, then a second schedule line is created for the confirmed date based on user's choice in the ATP dialog window. Now the issue is that delivery time is not copied to the new SLs. And it will be cumbersome to enter it by going into the SL-Sales tab for multiple items via  their confirmed SLs.  Is there a config way ( I doubt it) to get the delivery time (only time) copied to the confirmed SLs from the first SL. Or user exit is the only route?  if so is it FORM USEREXIT_MOVE_FIELD_TO_VBEP    in MV45AFZZ? Does this info stay once it comes via this user exit or do we need to do anything extra during Sales document save or prepare? Oh, by the way, we are set up for complete delivery and fixed date/qty checked.
    Let me know ASAP. Thanks.

    Hi
    If I understand you, the problem is that EZEIT is initial, ie; VBEP-EZEIT = 0 (ie: it has the value on dynpro'00:00:00' depending of the format of your country). The problem for this userexit is that it's called in the end of subroutine VBEP_FUELLEN in the include FV45EFEP_VBEP_FUELLEN. If you read the ABAP coding you have the call to a subroutine before:
    * Anlieferzeit ermitteln
          perform vbep-ezeit_ermitteln.
    If you read it in include FV45EF0V_VBEP-EZEIT_ERMITTELN, you can read this coding:
      if vbep-ezeit = 0.
        if vbep-edatu ne *vbep-edatu or vbep-prgrs ne *vbep-prgrs or
           ( svbep-tabix = 0 and ( vbep-wmeng ne 0 or vbep-bmeng ne 0 ) ).
          perform anliefertermin_pruefen using vbep-prgrs
                                               vbep-edatu
                                               vbep-ezeit
                                               vbep-cmeng
                                               vbep-bmeng
                                               da_dialog
                                               da_edatu
                                               da_ezeit
                                               sy-subrc.
          if sy-subrc = 2.
            vbep-ezeit = da_ezeit.
          endif.
        endif.
      endif.
    * Sekunden sind bei Lieferplänen für Zulieferer nicht relevant
      check not vbak-abdis is initial and
            not vbep-ezeit+4(2) is initial.
      clear vbep-ezeit+4(2).
    I think that you are looking for this, am I right? Surely, you knew it before to post this subject.
    Alghough the purpose of userexit is populate fields from an append (fields ZZ) but it's possible to change others. I suggest to think about this, because I think that it's the same and you can know the checks to avoid inconsistencies. If you need something else, please let us know.
    This is only a suggestion. I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Apr 1, 2011 10:38 AM
    Edited by: E_Hinojosa on Apr 1, 2011 10:38 AM

  • Controlling PO incoterms/delivery address from SO shipping point

    Hi,
    We want to be able to create sales orders with individual Purchase orders ( Purchase orders created with sales order as account assignment - one PO for SO/SO Item )
    We want to select freely between multiple shipping point in different countries within the same plant ( in free trade zones )
    What is the best way to ensure that the purchase order reflects the different shipping point ? As this is DDU, the Vendor needs to know where to send the goods. You could imagne that the Incoterm 2 would be dynamically set according to the shippingpoint, but the Incoterms in the PO are static - header from vendor master, item from inforecord. Also is the PO delivering address not updated.
    We are afraid that the vendor sends the goods to one place and the DSP will attempt to pick up at another ...

    Thanks much for your time!
    All i need is 2 W/days for picking and 2 W/days for loading from the shipping point. Do i need to delete duration also? i have deleted the workign times. Also , i do not need anything from Routes as well. I maintain duration , do i need to maintain them in days for all the possible routes ?? Since my pick/loading times are based on shipping points only , do i have to maintain this data for routes and wt grps ?
    Really appreciate ur sharing ur experience!!
    -Amit

  • Copy Shipto address from Bill to address

    Dear Members,
         i have a requirement to replicate the shiptoaddress from billto address.since the Matrix id for shipto and bill to is same i dont know how to differentiate. and more over the data wil not store in Database it wil retain in the screen after giving update it wil store the data. so anyone could help me in this regard.

    Have a look at this thread as it may help you ...
    Get Shipto & Billto Adress???
    Eddy

  • Copying all addresses from sim card to the phone's...

    i have figured out how to copy them one by one but is there a simple way to bulk copy all sim card addresses to the phone?

    Well, that is very nice for you. Why don't you use Nokia PC Suite?
    csertoglu wrote:
    i have figured out how to copy them one by one but is there a simple way to bulk copy all sim card addresses to the phone?
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How do I copy and paste email addresses from one email to a new one?

    I need to copy email addresses from one email to a new one. I can copy, but I can't paste them to the new email. Any help would be appreciated!

    Highlight it and then right click, select Copy. then go to the new email you are writing and place the cursor in the TO field and right click, select Paste.

  • Copy Email addresses to address book from numbers spreadsheet

    Is it possible to automatically copy email addresses from a column in a spreadsheet to address book, preferably directly into a group? I've about 200 email addresses and I don't want to do it 1 by 1!

    Do you know that there is a search feature in the forums ?
    Using it with the complicated keyword 'address book' returns:
    http://discussions.apple.com/thread.jspa?messageID=11382111
    which contain useful infos.
    Yvan KOENIG (VALLAURIS, France) lundi 21 juin 2010 11:18:47

  • Replicate Delivery Address

    Hi all,
    I have a requirement to replicate the delivery address from ECC to SRM system.
    The requirement is to replicate addresses from ECC to SRM real time. The addresses should get copied whenever there is an addition, deletion or updates in ECC in transaction MEAN.
    The addresses should be copied to the ADRC table in SRM under the address group u2018BPu2019.  The u2018BPu2019 and address mapping is stored in BUT020-PARTNER, BUT020- ADDRNUMBER fields.
    The replication program should be setup as a background job. For every transfer a log is to be generated, displaying brief history of the transferred data. Incase of replication errors/failures the job log should display the number, name of the addresses that have failed.
    The replication program should be executed in ECC and connect to SRM via RFC call.
    Is there any BADI which reach the above requirement and any FM.
    Rewards to all.

    Hi Aarthi,
    You can make use of new SAP enhancement framework concept to address you specific need, since you are working on ECC 6.0.
    [SAP Enhancement frame work link|http://help.sap.com/saphelp_nw2004s/helpdata/EN/94/9cdc40132a8531e10000000a1550b0/frameset.htm]
    Regards,
    Surender

  • Delivery address in Third party process.

    Dear All,
    I have one query in third party process.
    Created third part sales order,where PR is generated automatically.Based on PR (purchase requisation) created Purchase order.
    When I select item category S-Third party,system will pick the delivery address from the sales order.
    But when I change the item category to L-Subcontracting the delivery address is not picking from sales order.It is taking the delivery address of the plant. I need system to pick delivery address from the sales order.
    Please let me know if I need to do any customisation for the above process.
    Thanks in advance,
    Awaiting for your early reply.
    Babu

    Hi,
    In standrad application it is not possible. however, there is a user exit here, EXIT_SAPLMMDA_001, in which you can implement your own logic to select the address.
    Regards,
    S Anand

  • Delivery Address changes in third Party Scenario

    Hi All,
    System is not allowing to make changes in delivery address (At PR/ PO Level) for Third party Scenario (Sales Order based).
    I had checked the Field Groups of PO/ PR Knowm to me and try to make delivery address field editable. but didnt get any success. Is it Possible to get the dellivery address field in change mode for third party Scenario. If yes, how?
    pls. Note: I'm not talking about the Manual third party order processing.
    Regards,
    S Anand

    Why dont you want to make a change at SO level?
    From OSS note 550192 - FAQ: Changing third-party and individual PO items
    Question: What do I have to consider when I change the ship-to party for the entire sales order or for a third-party item?
    Answer: In the third-party scenario, the ship-to party of the third-party item in the sales order is identical with the delivery address of the respective purchase order item. Up to and including Release 4.5, there is no automatic function for a synchronous change so that this must be done manually in both documents. As of Release 4.6, the system automatically updates the delivery addresses from the purchase order items if the ship-to party of the third-party item changes. The change of the delivery address in the purchase order is therefore no longer possible; thus the 'Delivery address' is only displayed in the display mode in the purchasing transaction.
    For additional information, refer to Note 204190.

Maybe you are looking for

  • Is there a way to disable the Thunderbolt Display?

    Hey Guys, I recently got a Thunderbolt Display and connected it up to my iMac (i bought the iMac in Jan 2013) and everything is working just as perfect as i thought it would apart from one thing. I have had a search around to see if there is any way

  • Video output of iPhone 5

    I have a car stereo, and you could use a iPhone 4 or earlier, and there is video output to the screen.  But with the iPhone 5, they say it is not capable of video output.  Anyone know when this will be fixed?

  • Problem unmounting filesystems when rebooting/halting after upgrade

    I just installed mkinitcpio 0.6.8-2 and util-linux 2.19-3 from testing repo and when i reboot/halt my system either with my custom kernel26-ck or kernel26 from core i get an error when unmounting filesystems saying: "/dev/sda3 busy remounting read-on

  • 2 23" Displays: Colors are not the same.

    Hi there I a running a G5 with two 23" Cinema Displays. I had to get one of the two displays exchanged because a USB port wasn't working anymore. The new display has different colors than the older one (the new one has more blue - the older one more

  • LiveCycle ES3 Prerelease Link in LiveCycle News not working

    For LiveCycle ES3 Prerelease news ES3 Customer and partner Nomination link does not working When clicking on the link it goes to http://trats.corp.adobe.com/Trats/Trats.html