Import Sales Order via OE interface Question

Hi,
I have import a sales order included two lines(which line-shipment number is 1.1, 2.1 ) from OE_HEADERS_IFACE_ALL and OE_LINES_IFACE_ALL successfully.
But I can NOT import a sales order included one line with two shipments(which line-shipment number will be 1.1, 1.2).
There are three REF columns in the two interface table, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF and ORIG_SYS_SHIPMENT_REF.
I have tried to set REF columns as bellow:
ORIG_SYS_DOCUMENT_REF | ORIG_SYS_LINE_REF | ORIG_SYS_SHIPMENT_REF
test_H_001 | test_L_001 | test_S_001
test_H_001 | test_L_001 | test_S_002
But that raised an error 'You are entering a duplicate orig_sys_line_ref for the same order.'.
How can I import an order included one line with two shipments(numbering as1.1, 1.2)??
(Version: 11.5.10.2 )
Thanks and best regards,
Zhxiang
Message was edited by:
zhxiangxie

Hi Dgood76,
Thank you very much.
After setting the profile OM:Import Multiple Shipments to Yes, the error 'You are entering a duplicate orig_sys_line_ref for the same order.'.
' does not happen, it can be imported without failure.
But the line-shipment number still be 1.1,2.1.
I'll try to fill line_number and shipment_number in OE_LINES_IFACE_ALL and check if it work.
Thanks~
Zhxiang

Similar Messages

  • Error adding Sales order via DI-SERVER Posting Date deviates from the defin

    When adding a sales order via the DI-API we have started receiving the following error:
    Error: Posting Date deviates from the defined range. To complete the operation, define the posting period to match the entered Posting Date. [(----) 131-204]
    I have verified that the posting dates within the document exist within the defined posting periods in SAP and that the posting period in question is unlocked.
    I can add the document within the SAP B1 interface without any issues.
    This process and code was also working up until the start of the new financial year.  There have been no changes to the code or the financial periods in the new year.
    There is a  peculiarity with the financial periods for this company in that they have moved from calendar periods in the past to financial periods.  Has anyone come accross any issues with posting dates and the DI SERVER API?
    The dates in the XML document that we are trying to add are shown below.
    <Documents>
    <row>
    <DocDate>20100310</DocDate>
    <DocDueDate>20100310</DocDueDate>
    <CardCode>C9999</CardCode>
    The following are the financial period values from OFPR
    Posting Date From/To:       06.03.10     02.04.10
    Due Date From/To:            01.01.10     01.04.11
    Document Date From/To:  01.01.10     02.04.10
    Start of Fiscal Year:         01.01.10
    Regards,
    Sean

    Hi Gordon,
    Our customer has moved their financial year end from 1 April / 31 March using calendar months to a 4/4/5 financial period model with a year start date from Jan.
    This was necessary after the company was purchased by a US firm that wanted to align the reporting calendars.
    Under the 4/4/5 model their financial year start date does not start 1st January. Hence the 3/1/2010 being the first date of the January period.
    No matter how the periods are setup the financial year start date in SAP Business One cannot be anything other than the 1st of the month.
    All posting within SAP appears to be working fine, it is only via the DI SERVER requests that we seem to be having problems.
    However, we suspect that the issue may be unrelated to the posting periods due to some other testing performed.
    Regards,
    Sean

  • How to add freight in sales order via DI ?

    Hi,
    Does anyone know how I can set the freight value when I try to create sales order via DI. I checked SDK help, there is fields like BaseAmountSC. But it is read-only in DI.  And I also found there is a table called RDR3, it says it is about freight in sales order but how I can access it in DI? Any suggestion?
    Thanks a lot !
    Lan

    Hi Gordon,
    Thanks for your reply. I think we have setup the code in SAP B1 because when I click the arrow button beside freight label in SAP B1, it will pop up a screen which I can type freight. But my question is how I can set the freight in DI? Which object in DI level refers to freight and how I can link this object to sales order document?
    Thanks,
    Lan

  • Importing Sales Order with Tax

    I have to import sales Order into Order Management with tax details. Sales Order Interface does not capture the tax amount that is passed through the interface. Looks like EB Tax should be set up to calculate the tax after order is imported. I don't want tax to be calculated again in Oracle application as it is already calculated in the external system. I want tax amount to be accounted but not calculated in Oracle application.
    Please let me know your suggestions, to capture the tax information in Oracle application
    Thanks,
    Priya.

    So , Login to DTW .
    with the Desired Database and Login Credentials.
    Goto - > Templates - > Customized Templates
    Select The Object .
    Right Click on the object needed and choose Create Template for the Structure .
    Then use this template for import .
    Hope it helps
    Thanks
    Ashish Ranjan

  • Importing Sales orders and Invoices thru DTW

    Hi every one,
    I am facing a unique problem when using DTW to import sales orders and invoices through DTW.
    I am using the two templates- Documents and Document Lines. But the imported Invoice or the sales order(In both cases) the dicount field in the row is taking a negetive discount value. Let me elaborate....
    1. I am taking a BP which has been alloted a Particular pricelistcode in the BP Master.( say it be Purchase price).
    2. Now In the Doc_lines Template I have put the value in the price column- (eg. Rs. 500).
    3. Now the itemcode used in the template is already having a masters and the prices are also defined in SAP B1. Say the Purchase price defined for the item is Rs.400
    4.When I am importing the order/nvoice then the discount field in the row automatically takes a value of -25%, the unit price has the value Rs.400 and the Total Field shows Rs.500.
    ( this Implies that the price I have suggested to Import i.e. Rs500 is some how not taken by the system. The system takes the price defined for the BP and then adjusts it with the price suggested by the user during import) So a negetive discount is taken.
    On the other hand if the same procedure is followed for an item where the prices are not updated in the master data then there is no such problem. the unit price field reflects the price which is given in yhe template.
    please suggest a way to get out of this problem.

    Hi Debraj,
    Try the following..
    In Admin > System init > Document Settings > General Tab ..Calculate the Row total using Unit price ....... leave this  unchecked
    Also, at the Document_lines template fill the discount column with 0
    Suda

  • Importing sales order throgh DTW

    hi,
        i have imported sales order through DTW.there was no error and it came as imported successfully.but 0 objects were imported.can any help me
    with regards
    priya

    hi all,
      i had an another doubt in DTW.the customer code is in numeric(for example 001).when i enter this number it takes as 1 in that cardcode field(in csv file).while importing it displays the error as invalid BP code.whether the cardcode should be in alphanumeric ?
    regards,
    priya

  • Price conditions on Sales Orders via EDI

    Hi,
    I need to know if there is a way to bring prices over on the IDOC while posting a sales order via EDI. I have a situation where the price does not have to be determined based on condition records setup within SAP but rather update the price sent on the IDOC itself.
    Thanks
    MR

    Hi,
    Let the inbound Idoc have the price field and the price of the material. And keep the price condition type open/manual entry allowed. Once this is done the system will not do it from the condition record and will populate the data that is there in the Idoc.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Error creating sales order via Interaction Center

    While creating a sales order via Interaction Center, I am getting an error "Error while creating member activity for order 5129793", as a result the points are not getting accrued for the account.
    Can anyone please help? I am very new to this
    Regards,
    Harsh

    Hi,
    Check the partner determination profile in spro for this activity. Try to use a standard profile and see what happens.
    Best regards,
    Caíque Escaler

  • Creation of sales order via IDoc ORDERS05 - specify a reason of rejectio

    Hi,
    I want to create a sales order via IDoc (type:ORDERS05), i specify for an E1EDP01 segment a reason of rejection (ABGRU),
    The sales order is created succefully by calling the FM IDOC_INPUT_ORDERS but the order quantity of the item where i have specified a reason of rejection is equals to 0.
    Is this normal? i want that this will take 3 value either 0?
    Could anyone help me?
    Thx

    Hi,
    Thank you for ur answer.
    I've followed the procedure that you have explained and the Quantity 3 have been succefully passed to VA01 but is set to zero when i execute the next OK-CODE (=UER2, i think it is llike Enter button ). I simulate the same procedure by creating a sales order on VA01 and i've finally found the problem : at item level, if i enter the Material (MATNR), the order Quantity (KWMENG) and the Reason of rejection (ABGRU), the quantity is set to zero after clicking the enter button ; but if i enter only The material and The quantity followed by enter button, and enter after the Reason of rejection, it works fine, the Quantity doesn't change.
    What is the solution that you propose to me?
    I've try this one on debugger mode:
    The FM which interpret the Idoc create the sales order by CALLING TRANSACTION 'VA01' USING bdcdata....
    I've modified the bdcdata to implement the sequence of the steps before (MATNR + QTY <ENTER> ABGRU <ENTER>).
    1. Is it possible to code this modification?
    2. Is there a way to structure the Idoc for having this sequence in bdcdata?
    Thanks in advance!
    Narivelo

  • Creating a sales order via lsmw.

    Hi,
    I am creating sales orders via lsmw. Each of these sales orders may contain any number of line items, i.e. sales order 1 might have 3 line items and the next sales order may have 10.
    How do I cater for this in lsmw. Is there a way of saying: when last line item, then start next sales order record?
    Any help appreciated.
    Regards,
    Warren.

    HI, I create LSMW for sales order. It is working fine for 9 line items. IF more than 9 line item, other item  is not updating. Pls provide me a solution. Thanks in Advance.
    my email is [email protected]

  • Problem in importing Sales Order with udf in the rows

    Dear All,
    I am having problem in importing Sales Order with udf in the rows. I mean it is getting imported but the udf values in the rows is not getting updated. But the udf values in the header is getting updated. I am using SAP 8.8 Pl 10.
    Can anyone guide me what to do in this scenario?
    Regards,
    Gary

    So , Login to DTW .
    with the Desired Database and Login Credentials.
    Goto - > Templates - > Customized Templates
    Select The Object .
    Right Click on the object needed and choose Create Template for the Structure .
    Then use this template for import .
    Hope it helps
    Thanks
    Ashish Ranjan

  • Mass Generation of Sales Orders via Marketing Projects

    Hi all,
    Is it possible to generete ERP order when using the functionality for mass generation of sales orders via marketing projects?
    cheers Camilla

    Hi Camilla,
    We need to see your requirement by breaking it into two steps. Both are possible.
    1) Generating Mass orders in CRM using the marketing Projects.
    2) Creating ERP order.
    Technically what you want is achievable. Personally i have not done it, but am confident it is possible.
    You may refer to these links to get more info.
    http://help.sap.com/scenarios_bus2007/helpdata/en/47/31a375878f203de10000000a114a6b/content.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-crm/generate-sales-orders-in-mass-based-on-marketing-campaign-crm-60-2943656
    rgrds,
    Randhir

  • Import Sales Orders, error: "value must be numeric in property discountper

    When i import Sales Orders, the system gives me this error: "value must be numeric in property discountpercent".
    where is the problem?

    Hello Lorenzo,
    If you carefully read the Error message, it say value must be numeric in property discountpercent
    It pertains to the discount percent column and the value you have filled in it.
    Please make sure you have only numeric values here.  Also make sure that any numeric value is not accidentally saved as charecter type ( you can notice  a green triange arrow at the left top corner of each column)
    Suda

  • Sales order change Inbound interface

    Hi all,
    This is regarding sales order change inbound interface,
    we are using new Z function module for sales order posting(exteded idoc ORDERS05), for this shall i use standard message type,standard process code or custom message and custom process code?
    Regards,
    Suresh.D

    Hi,
    If you are having a custom function then its better you create a custom process code, you need not create a custom message type and also never change any of the standard process codes.
    Thansk,
    Mahesh.

  • Loading sales territory and sales person via customer interface (RACUST)

    Hi,
    I am trying to laod sales territory and sales person via customer interface (RACUST). Even the ra_customers_interface_all has a territory column, the value is not getting populated when the interface completes successfully. Also, which column in customer interface table should hold salesperson value so that it gets successfully loaded to Oracle?

    Hi Murari,
    You can attach documents through Services for Object (GOS) Using Archivelink functionality.
    Generall Incoming documents ( Documents received by Company as part of transaction such as Invoices, Delivery challans, Cutomer PO which come in form of hard copies) are stored using SAP ARchivelink.
    Please refer the link
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/33/5cd7345a238045e10000009b38f83b/frameset.htm]
    With Warm Regards
    Mangesh Pande

Maybe you are looking for

  • Error: ORA-01722: invalid number performing List of Values query.

    when i created a cascading select list, For the first time it worked properly then little later it is giving this error. Error: ORA-01722: invalid number performing List of Values query: "select distinct cl_name d, cl_no r from Kclient where gr_no =

  • Widows Search not working with Data Deduplication?

    Hi, I noticed that many files were missing when searching for them on my Server 2012 Fileserver. After some troubleshooting I noticed that the ones missing, had a Size on Disk of 4KB and the "SparseFile" and "ReparsePoint" (PL) Flags set. So it looks

  • Event/Project contains multiple events...how do I fix?

    I'm fairly new to iMovie and I have the 10.0.6 version that came with Yosemite. My goal is to compile several dozen videos into one compilation, and I would like them in chronological order. I don't remember how I did it but I have managed to bring i

  • Why have all my contacts just disappeared without warning on my iphone5?

    icloud is an absolute waste of time. Contacts, mail and calender are always messing up - the lastest issue being that all of my contacts have disappeared. I've tried all the advice given on many forums and help sites (it seems absolutelty loads of pe

  • Firefox is unresponsive, how do I fix this?

    this happens more often on facebook pages, but not on my game pages. It did just now happen on this page before it would let me fill in the information. What is up with this?