ORDERS05  idoc ship-to party determination

Hi there
I am creating sales orders using ORDERS05 idoc type for EDI documents from customers. Customer files are translated to idoc format by a third party. The idoc input file contains an E1EDKA1 segment for parvw = WE but third party and customer do not know our ship-to number. I need to determine the correct ship-to party from e.g. GLN number supplied in input file. I would appreciate some ideas how to do this.

Liz,
We currently use a Custom solution, reading the Customer's internal Store code from E1EDKA1-KNREF, and matching it up with the SAP Internal Customer number via a Z Table. Our Customers do not currently use GLN Codes. From what I can tell, although SAP have enabled the GLN fields in the Customer & Vendor Masters (see table below), they are not utilised in any Inbound ORDERS iDoc processing. The GLN (or ILN) does have a placeholder in the ORDERS05 iDoc - in E1EDKA3, child segment of E1EDKA1 - see transaction WE60 for documentation.
GLN Fields (from KNA1)
BBBNR     NUMC     7     0     International location number  (part 1)
BBSNR     NUMC     5     0     International location number (Part 2)
BUBKZ     NUMC     1     0     Check digit for the international location number
I believe it would be quite easy to put code into Include ZXVEDU03 to lookup the GLN Code from KNA1 and return KUNNR.
Good luck,
Paul.

Similar Messages

  • PO no of customer in ORDERS05 IDoc with 3rd party scenario

    Hello experts,
    we have the scenario where we are getting purchase orders from our customer (which is in the same system like we are). Then we create SO for the customer and a PO to the external vendor. The goods should be delivered directly to the customer.
    In that 3rd party scenario we will send our PO via ORDERS05 IDoc to the vendor. Once the vendor is shipping the goods, he sends us an ASN and we create a statistical GR.
    Now our target is to give our customer somehow the information, that the delivery shipped from the vendor will be based on his PO to us. Do you know a way how we can give his PO no. to the vendor in the SAP standard ORDERS05 IDoc? Otherwise, is there a standard process to send our customer also the information that we received the ASN from vendor and transfer this information (maybe also as an ASN) to the customer with his PO no., so he can create an inbound delivery already?
    Thanks.

    Follow this Procedure... it works....
    Procedure
    1. Review the number ranges that have been created: The number ranges for the business partner in the Best Practices are defined as follows:
    IMG u2192 Cross Application Components u2192 SAP Business Partner u2192 Business Partner u2192 Basic Settings u2192 Number Ranges and Groupings u2192 Define Number Ranges
    01: The Regular business partner uses this number range: 2100000000 to 2199999999 and 03: 7100000000 to 7199999999 is used in the setting above for the ship-to party. Both are internal number ranges.
    XX is the external number assignment used to create the SD reference customer.
    2. The account group DEBI must temporarily be assigned to this external number assignment for the creation of this business partner:
    IMG u2192 Financial Accounting u2192 Accounts Receivable and Accounts Payable u2192 Customer Accounts u2192 Master Data u2192 Preparations for creation customer master data u2192 Assign Number Ranges to Customer Account Groups:
    Set account group: DEBI to external number range XX for the Business Partner creation step.
    3. Create an SD customer:
    Call transaction XD01: Easy Access u2192 Logistics u2192 Sales and Distribution u2192 Master Data u2192 Business Partner u2192 Customer u2192 Create u2192 Complete
    u2022 Select account group: Customer (general)
    u2022 Enter the Customer key: MUST_ALL
    u2022 Enter company code (1000)
    u2022 Enter sales area as follows:
    u2022 Sales organization: 1000,
    u2022 Distribution channel: 01
    u2022 Division: 10.
    u2022 Select Continue.
    Assign MUST_ALL in Master data>bp>settings for creating standard customers.

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Inbound ORDERS05, Ship-to party PO number

    Hello,
    we're trying to include the ship-to party's PO number in segment E1EDP02, qualifier 044 in an inbound ORDERS05 IDoc. However the data doesn't appear in the sales order. If we do the same on the header level and use E1EDK02, 044 instead it works just fine. Unfortunately this is not viable in this scenerio as the ship-to party's PO differs from line to line.
    Any ideas?
    Thanks,
    Sven

    Hi
    See Note 753153 - FAQ: Customer-functions in IDOC_INPUT_ORDERS. Check if EXIT_SAPLVEDA_001 gives you any possibility to do it.
    I hope this helps you.
    Regards
    Eduardo

  • Determine Partner from Ship to Party in Sales Order

    Hi All,
    I am in need of help. I have following requirement for Partner Determination.
    1. In Ship to Party I have a Partner ZI
        I need system to get that ZI partner in my Sales Order.
    I have setup the Origin Field to SH. But still it doesn't get it from it.
    Thanks

    I have good a partial solution. Here it is.
    I have following customers:
    Sold-to      Ship-to                      Additional Partners
    Cust01       Cust01                      5001, 6001 (in Cust01)
    Cust02       Cust02, Shp02.          2001, 3001 (in Cust02),  2201, 3301 (in Shp02)
    Now When I creat a Sales order for.
    Sold to = Cust02
    Ship to = Cust02
    Then System determine 2001, and 3001. (OK)
    ======================================================
    Now when I creat a Sales order for
    Sold to = Cust02
    Ship to = Shp02
    Then System determine 2201, and 3201. (OK)
    ======================================================
    Now Suppose the following >>>>>>>>>>
    IN SHIP TO PARTY Shp02  Partners 2201 and 3301 ARE NOT MAINTAINED.
    Now when I creat a Sales order for
    Sold to = Cust02
    Ship to = Shp02
    System determines 2001 and 3001. (which is in Sold to Party) THIS IS IN CORRECT.
    System should not Determine anything.
    =======================================================
    How Can I Do this. I think User Exit is needed.

  • Ship to party PO number line item field updating in ORDERS IDOC

    Hi Experts,
             We are in the process of creating the Sales order by receiving EDI data from customer and converting in to IDOC format and trying to create the sales order. While executing the ORDERS IDOC message type sales order is getting created successfully.
    But our requirement is, we want to store the customer contract details in the sales order. So we identified the "Ship to Party Purchase Order data" in ORDERS Tab in the sales order. While executing, in the Header level the Contract number is getting updated against Ship to party Contract number field.
            But during item level process, system is not updating the contract line item number field even though we maintained the value in E1EDP02-ZEILE for the QUALF 044.
    Note: The similar scenario, we want to capture the Customer Purchase order number & line item number. For this we maintained the value in E1EDP02-ZEILE for the separate QUALF, its working fine.
    Kindly give your valuable feedback on this issue also
    Regards,
    nag

    Hi
    See Note 753153 - FAQ: Customer-functions in IDOC_INPUT_ORDERS. Check if EXIT_SAPLVEDA_001 gives you any possibility to do it.
    I hope this helps you.
    Regards
    Eduardo

  • Ship to party not populating in segment in whsord idoc

    HI,
    we are creating two delivery with ship to party as 52004 and 56003 (two different sales orders with differnt sold to ). the deliveries are trigerring outbound whsord idoc. The issue is in the segment E1ADRM1 segment for WE qualifier , in the field, " Partner_id", the ship to party 52004 and 56003 is not populated. Rather a constant value 32500000789 is populated in "partner_id " field in both deliveries
    Our Abaper is not willing to identiy the same since it is s standard idoc.
    Pls can you help as to w hy ship to 52004 and 56003 is missing in partner_id field and some other value 32500000789 is coming ? all other deliveries are created ok.
    rgds
    Pamela

    Hi Pamela,
    can you Please share some more information like IDoc details. so that v can analyze more.
    Regards,
    VSN

  • Delivery idoc picks ship to contact from ship to party instead of ship-to c

    Hi experts,
    I have question on idoc.
    The idoc is picking ship to contact information from ship to party instead of picking it from ship to contact information.
    Following information are given to me.
    Message Type: DESADV
    Basic Type: DELVRY01
    Extension: ZDELVRY
    Function Group: ZIHX & Function Module: Z_RFC_IH_DELIVERY_UPDATE.
    Where do I make the changes. Please help.
    Regards
    Vince

    Hi Swathi,
    Thanks for the information I am able to find the exit, but when I set a break-point in the exit(EXIT_SAPLV56K_002) it does not go to debugging mode. Can you please let me know why...
    The field segments exists for ship to contact but pulling data from Ship to party, which I probably think
    can set it in exit.
    Can you please let me know about qualifiers...
    Thanks
    Vincent

  • CST or VAT needs to be determined based on Ship-to-party

    Dear All,
    We have a specific requirement for one of our customer.
    Customer wants the system to determine CST and VAT to be determined based on ship to party.
    Say for Example, we have a condition table Country / Region / Region of Delivering plant / Tax class. Cust. / Tax Class. Mat.
    In the sales Ship to party and Sold to party are different.
    In this case, if  the tax classification of the Sold to party 0 and tax classification of Ship to party is 1 means, system should determine CST or VAT according to According to ship to party.
    In simple, CST or VAT should be determined based on Ship to party irrespective of the setting in Sold to party.
    Please suggest.
    Regards,
    Mullairaja

    Hello Mullairaja,
    See Ship to Party is the partner who will receie the goods & applicability of VAT or CST will be decided by Ship to party Region.
    As Sold to party & Ship to party can belong to different Regions (Different States in India) VAT or CST may be applicable as the case may be...
    Thus this is a standard SAP funtion to determine VST / CST based on Region & Tax Classification Indicator of Ship-to-party.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • Partner determination sold to party and ship to party.

    Hi frnds,
      Currently in the customer master in partner function we are maintaining ship to party the same as sold to party , now for some of the customer the ship to party and sold to party are different , so while creating a sales when i enter the sold to party , the system propose the ship to party and on that basis the delivery and billing should take place.
    What are the configuration settings required to be done to this , i will maintain the ship to party in customer master partner determaination, but when i create the sales order and when i enter the sold to party , it should propse the ship

    Hi  Rakesh,
    As per SAP standard setting ship to party will be determined from Sold to party master , if that is maintained. I suggest to copy Standard and test again.
    Also ,hope you have not made any changes to the partner determination procedure fro Sales Document at header Level. This will also impact .
    Sharing a few useful link for more clarity :--
    http://www.freesaptutorial.com/partner-determination-in-sap-sd/
    Re: Ship-to party is not assigned to a sold-to party
    http://www.sap-basis-abap.com/sd/steps-for-partner-determination-config-in-img.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/3c/92ecee484a11d5980800a0c9306667/content.htm
    http://wiki.sdn.sap.com/wiki/display/Snippets/howtogetship-topartyforasoldto+party
    Thanks/Rajesh

  • ORDERS 05 idoc sold to and ship to party?

    As far as i know the ORDERS 05 idoc is for sales order which we get from the customer who wants to but products from our company.
    In the idoc there is a segment E1EDKA1 contain sold to party and ship to party fields. What is the significance of these fields? What values are filled for these fields? Are these 2 fields also part of any other idoc?
    In real time from xi point of view from which system to which system this data will move?
    I have checked few documents on sold to and ship to party but ended up getting more confused.
    Please help me with the answers.
    Regards,
    Suresh.

    Hi Suresh,
    The Sold to and Ship to party details from posted IDOC type ORDERS 05  are not at all in relation with the data moving from XI to whcih are sender and receiver systems.
    You are right as the ORDERS 05 is used for Sales Order.
    While creating the sales order we need to specify the Sold to party and ship to party information. this gives the information about the party against which you have generated the sales order and the the ship to party will indicate the location specific branch of the customer party.
    For.eg. the customer will be requesting for the sales order and he wish to deliver the order at his particular branch then Sold to party--Customer No and Ship to party i.e. Location specific details are required.
    Thanks
    Swarup

  • Tax Determination Bases on Bill to Party and Ship to Party

    Hi Guru ,
    I have a requirement Tax should be determined based on Bill to Party and Ship to Party.
    If Bill to and Ship to are  Overseas Customers then '0' TAX.
    For all remaining Customers 7 % Tax
    Could you please advice
    Thanks

    Hello,
    Define two  ACCESS SEQUENCE with the combination of Region code/Country key
    Define the two TAX  CONDITION types and assign the Access sequence one for each scenario
    In OVK1 assign the Country key and TAX CONDITION and in OVK3 assign the tax category as 0 for the Overseas customer and 1 for Domestic customer
    Then in VK11 maintain the condition records as 0% for Overseas customers and  7% for the Domestic customers.
    Regards,
    santosh

  • Question for Plant determination when Ship-to Party changed

    Hello together,
    SAP determines the delivery Plant as everybody knows in the following way:
    1. Material Customer-Info record of the sold-to
    2. Delivering Plant from the ship-to-party
    3. Material
    In my case I have only set-up the plant to be determined from the ship-to-party (no plant in customer-material-info-record; no in material)
    I have two ship-to parties
    1 with plant A
    2 with plant B
    When I create the order everything works fine and the plant is determined correctly.
    Now I change the order (no subsequent document yet) from ship to part 1 to 2. Still I have on line item level the plant A, even so SAP gives the pop-up: Ship-to party has been changed: Redetermine plant/shipping point ? I click on redetermine, but nothing happens with the plant. (Material is set-up for both plants)
    Userexit userexit_source_determination is not implemented.
    Did anyone made the same experience. Any idea why the plant is not updated when the ship-to is changed? I checked OSS but did not find anything helpful.
    I

    The item was a BOM according to OSS 665080. This is standard behavior because the plant is not ready for input.
    Br,
    Lukas

  • In IDoc system is picking Plant code instead of Ship to party.

    Hello Experts,
    I am not so good in Idoc process.
    When I am reprocessing the IDoc I came to know that system is picking Plant code (plant address) instead of Ship to party code.
    Kindly let me know How can I check it ?
    How I can reprocess it ?
    is there any way/t-code we can track the mapping in Idoc ??
    Awaiting your precious reply.
    Thanks,

    Hi,
    Please provide your scenario
    because Message type and Basic IDOC type varies from process to process
    if you know Message type, check in WE41/WE42
    and underneath you can get logical message as well

  • No re-determining of Header Text, when Ship-to party is changed

    Hi Ravi,
    Whenever ship to party has changed then header text is not re determining,
    I am calling 'RV_TEXT_COPY' FM inside the include FV45PFAP_VBAP_FUELLEN_TEXTE , then its saving header text correctly,
    but this include is calling whenever I click on Header Text tab, if suppose if I am changing ship to party and I am not clicking on
    Header Text tab then this FM will not call , this is an issue and one more issue even in screen data is changing after
    calling RV_TEXT_COPY FM  but STXH table is not updating, its updating the first value when we created the order.
    Can any one tell me how to solve this issue, Thanks in advance!

    Hi Srinivas,
         Can you try out in the user exit 'EXIT_SAPMV45A_002' .
    If it is not working pls let me know.
    Message was edited by:
            raj joe

Maybe you are looking for

  • HP Officejet pro 8500A premium, all-in-one printer, scanner problems

    I have an HP Officejet pro 8500A premium, all-in-one printer. Tried uninstalling using the HP supplied uninstall software and installed recommended OSX 10.8 software for this device. I use wireless scanning. Scanner only scans the first page then sho

  • Using the same keyboard with iPhone and MacMini. Neat!

    So Folks, I bought a wireless kb and it works with both my iPhone and my mac. (not at the same time of course). This is how you can do it too: 1) Sync the kb with the iPhone first 2) Turn off the phone's BT and sync the kb with your Mac. 3) Whenever

  • Proper Audio Levels

    I have a project that has 3 different songs playing in the background. All 3 play at different levels/volumes. How can I adjust them to all play at equal levels?

  • OBIEE-Values after decimal changing after download in excel format

    Hi, I have reports in OBIEE 11g,in which some columns have values in %.When i try the various export/download functions and noticed that the Excel download did not maintain the fomatting for pecentage values, they fields go out to about 12 decimal pl

  • Check rule in invoice plan

    Hi,     please revert back , how i should create the "Check rules" for invoice plan. and cutomizing "Terms of Payment key" (tcodes). Thanks&Regards, Benge