Mapping IDOC ORDERS - Xcbl orders 3.0

Hi,
Could anyone tell me where i can find standard mapping for IDoc ORDERS03 to the Xcbl Orders 3.0?
We have strange mapping issues with the texts as these can be empty. This is causing problems in the mappings.
Thanks for your help.
Regards,
Laurent.

Ok here is my case example:
source structure :
E1EDP01 (item 1)
POSEX
-E1EDPT1(0..9999)
--E1EDPT2(0..9999)
---TDLINE(0..1)
E1EDP01 (item 2)
POSEX
-E1EDPT1
--E1EDPT2
---TDLINE
-E1EDPT1
--E1EDPT2
---TDLINE
E1EDP01 (item 3)
POSEX
E1EDP01 (item 4)
POSEX
-E1EDPT1
--E1EDPT2
---TDLINE
Target structure :
ListOfStructuredNote(0..1)
-StructuredNote(0..9999)
--GeneralNote(0..1)
mapping one to one:
POSEX -> ListOfStructuredNote
E1EDPT2 -> StructuredNote (context on E1EDP01)
TDLINE -> GeneralNote(0..1)
The two first structures are mapped ok
But the General note is missing one context because item3 has no texts.
I need to add this context otherwise the 4th TDLINE is getting in the 3rd Structurednote.
Is UDF obligatory because it would be my first?
Thanks....
Laurent

Similar Messages

  • Mapping Problem ORDERS Idoc to Edifact

    Hi,
    I have a mapping problem with the IDOC ORDERS:
    I get the IDOC with several E1EDP01. Each E1EDP01 has several E1EDPT1, where i want only the first one (which I get over the TDID value). Each E1EDPT1 has min. 1 E1EDPT2.
    Now I have to map each field TDLINE from first two E1EDPT2 of the first E1EDPT1 to the Edifact fields /LIST/S_UNB/S_UNH/G_SSG25/S_LIN/S_IMD[1]/C_C273/D_7008 (from the first E1EDPT2) and, if a second E1EDPT2 exists in /LIST/S_UNB/S_UNH/G_SSG25/S_LIN/S_IMD[1]/C_C273/D_7008_2.
    I use following UDF:
    //a = TDLINE
    //b = Number of entry in the List
    int pos =Integer.parseInt(b[0]);
    if ( pos < a.length )
    result.addValue(a[pos]);
    else
    result.addValue(ResultList.SUPPRESS);
    Unfortunatly, I think becaus of the context problems (not every E1EDPT1 has two E1EDPT2), it's not working. Could somebody help me with this problem?
    Thanks in advance
    Dominic

    Dear Dominic ,
    I had same problem when I was trying to do the same thing for FTX segment.
    Your UDF is fine but you don't need else condition.
    //a = TDLINE
    //b = Number of entry in the List
    int pos =Integer.parseInt(b[0]);
    if ( pos < a.length )
    result.addValue(a[pos]);
    for C_C273 assigned contant value and
    D_7008 assigned TDLINE but change the context to E1EDPT1
    and for D_7008_2
    TDLINE(context to E1EDPT1 )
                                                      ====>UDF====>D_7008_2
    Contant(=1)
    It should work becasue my map is working fine. If not let me know error message.
    Thanks
    Shubhankar

  • Mapping file to idoc ORDERS

    Hello,
    How can I map the file under with the idoc ORDERS
    file :
    N° Sales order, date , posnr, material, qty
    ex:
    0001,20050101,10,mat1,10
    0001,20050101,20,mat2,10
    0001,20050101,30,mat3,10
    0002,20050102,10,mat4,20
    0002,20050102,10,mat5,30
    all the lines contain the N° sales and date
    I must map the header (N° sales and date ) only 1 time in the idoc header corresponding.
    Thanks.
    Message was edited by: JCA

    the give below is more clear form
    idoc
    a1---(0-1)
    a2---(0-1)
      b1--
    a3---(0-1)
      b1---(0-n)
        c1---
      b2---
        c1---
    a3---(0-n)
      b1---
      b2---
    a3---
      b1---
      b2---
    a3
      b1---
      b2---
    Thanks
    ram

  • How to Create a Return Order wrt a Standard Order using Inbound IDOC Orders

    HI,
    We have a scenario :
    Standard Order - is exiting in System with 2 line items :
    Item 10
    Qty 20
    Item 20
    Qty 30
    Is it possible create a Return Order With Reference to this standard order for Line Item 20 only using inbound IDOC Orders?
    If yes what should be the mapping in the IDOC about the Standard Order, Item and QTY ?
    Regards
    Anurag

    hi,
    try using this bapi.
    /AFS/BAPI_SALESORD_CREATEFDATA.
    thanks,
    satish

  • ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method

    Simple interface between two schemas in the same oracle database (10g)
    I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
    Integration task fails on
    ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
    Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
    Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
    I just can't find anything about this error.
    I'm stuck :-(

    I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
    Is there any way to learn ODI to not to compare by XMLType field?

  • IDOC ORDERS

    Hi Experts,
    i need to distribute Purchase Order to another R3 system.
    I'm using idoc ORDERS  the problem is the inbound in the receivers system.
    When the idoc came in receiver system i have msg error "VKORG, VTWEG, SPART cannot be determined for customer MXT0 , vendor 201000".... this seems link to Sales Order process and not really to Purchase Order....???!!!
    I tried to use these 2 inbound process code DELO and ORDE but problem still again...
    ANY IDEAS ?
    thanks

    For The incoming Purchase order creation use
    the message type PORDCR
    The Basic type is PORDCR01
    The process code should be BAPI.
    The Function that calls internally for this is BAPI_IDOC_INPUT1.
    Try to make use all these and try for your requirement.
    Please reward the points.

  • How use the contract reference in iDoc ORDERS

    Hello experts,
    I would like to use the iDoc ORDERS in order to create a sales order in my system, with reference to a contract.
    It's working pretty well when I want to copy all the items of the contract and modify quantities. But I can't find out how to create an oder with only one item from the contract (which got more than one item).
    I thought I could use the Action code in segment E1EDP01, but the code seems to have no consequence.
    Then, what I want to do is :
    1/ Create a contract with 3 items
    2/ Create a sales order with reference to this contract but :
        - delete two of the items, when they have been normally copied, because of customizing
        - keep one item and modify quantity
    Do you think this is possible plesae ?
    Thank you in advance
    Alex

    Hello Alex,
    Perhaps note 562710 (ORDERS: Creating orders with reference by EDI) could help you here. It explains which segments and qualifiers should be used.
    I hope this helps.
    Regards,
    Ian Kehoe

  • Plant missing in the inbound processing of IDOC ORDERS?

    Hi gurus,
    We are using IDOC ORDERS to create sales order in the inbound processing of R3 4.7 system, finally we found the sales order was created succesfully in VA03, but the plant(WERKS) and storage location(LGORT) couldn't be seen even the idoc has relevant value.
    Have you met this case? Any help will be appreciated. Thanks.

    Hi Himanshu,
    Thans for your reply. I gave the field  E1EDP01-WERKS the relevant value, but in VA03 we couldn't see the plant value when the idoc status was 53. When we debug it in WE19, we found the plant value probably wasn't assigned.
    Any ideas?

  • SAP IDoc mapping to Quadrem xCBL 3.0 format?

    Hi there,
    We currently have an XI scenario whereby PO's and RFQ's are sent to a Quadrem system that requires the message to be in xCBL 3.0 format. I have seen that SAP provide some standard XSLT's that can convert the SAP IDoc into xCBL 3.5. (namespace - http://sap.com/xi/EBP)
    To counter this currently we first run the SAP standard XSLT mapping to xCBL 3.5 and then run a Java mapping to convert that result into xCBL 3.0.......
    My question is: Is there a SAP standard XSLT that can convert into the xCBL 3.0 format?
    Would you recommend enhancing the SAP standard XSLT from SAP so that it caters for the xCBL 3.0 format? Obvioulsy I would prefer to just use standard SAP though....
    Any ideas?
    I would appreciate any advise or push in the right direction...thanks
    Regards
    Lynton

    Hi Chris,
    Sorry for the late response....I work at multiple clients.
    What we currently do is use the standard mappings from SAP to get the IDoc into xCBL 3.5 format and use some Java mappings to take out or add in any other fields to that mapping....
    To be honest I would love to have a GRAPHICAL mappings for this, it would be so much easier to maintain.......
    Any ideas on what you think would be the easiest way to get this right?
    Thanks
    Lynton

  • Sending idoc ORDERS to logical system

    Hi
    Can I send a idoc orders from a logical system to another? I have two seperate servers and want to be able to trace a order created in the other system.
    The scenario is: A purcaser creates a ordere in client 200 and sends a idoc to client 250, the users in client 250 will be able to se the order even if the communication link between the systems is down.
    Any ideas?
    Best Regards,
    Morten
    Message was edited by: Morten Gummedal

    Hi,
    Have a look at this, it may help
    http://help.sap.com/saphelp_47x200/helpdata/en/2d/b12d3b1daca008e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/4c/df7e98f0dd11d2b74b0000e8160175/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7cac43d711d1893e0000e8323c4f/frameset.htm
    If you just want to send delivery information use output type LAVA. This will need including in the shipping output determination.

  • IDOC ORDERS Filter

    Hi,
    I have a problem with the filter of the idoc ORDERS because I have a filter
    on the segment E1EDP01 field LGORT.
    Question : If I want that every time the filter on the LGORT is not respected, the IDOC ORDERS is not generated, how do I make this.
    Because now, if the filter on the LGORT is not repected, the segment E1EDP01 is not generetad but the IDOC ORDERS yes and this is a problem.
    Thank you for your feedback.
    Denis

    Try to use the Filter Objects... or EXITS...
    TCodes: BD95, BD59, BD60

  • ORA-22950: cannot Order Objects without MAP or ORDER method (line 15)

    Hi
    I have created a function
    create type att_con.ind_field_value as object (s_owner varchar2(50), s_table varchar2(50), s_field varchar2(50));
    create type att_con.ind_field_value_table as table of att_con.ind_field_value;
    create or replace function fn_find_field_entries
    (s_entry IN varchar2)
    return ind_field_value_table
    IS
    found_count integer;
    t_return ind_field_value_table := ind_field_value_table();
    begin
    for cur in (select owner, table_name, column_name
    from all_tab_columns
    where owner 'SYS'
    and owner 'SYSTEM')
    loop
    execute immediate
    'select count(' || cur.column_name || ') from ' || cur.owner || '.' || cur.table_name || ' where ' || cur.column_name || ' = ' || s_entry
    into found_count;
    if found_count 0 then
    t_return.extend;
    t_return(t_return.last) := (cur.owner, cur.table_name, cur.column_name);
    end if;
    end loop;
    return t_return;
    end;
    and i am getting the above error when i try and run it with
    select * from table(att_con.fn_find_field_entries('NDUNNE'))
    anyone know what this error might mean?
    thanks in advance

    22950, 00000, "cannot ORDER objects without MAP or ORDER method"
    // *Cause:  an object type must have a MAP or ORDER method defined for
    //          all comparisons other than equality and inequality comparisons.
    // *Action: Define a MAP or ORDER method for the object type
    //

  • Idoc ORDERS PRICE CONDITIONS

    Hi Experts,
    I'm facing a problem.
    I have to load some Idoc of type ORDERS05 into the system, but I'm not able to pass to the order the pricing conditions.
    They are  manual conditions and percentage. I'm using segment E1EDP05.
    Please let me know how to fill this segment to achieve the correct result.
    Thanks in advance,
                                    Paolo F.C.

    Usually the processing of the conditions in the ORDERS-IDoc is ignored or fails completely. The reason is, that many companies do not want to accept random conditions sent by their customers. Just imagine you give your stuff away for free.
    So usually the SAP system calculates the conditions for your customers and materials automatically. So maintain the conditions in your master data is the best practice.
    Anyway you can alter this.
    Pricing conditions need to be configured to allow manual update via an incoming ORDERS05.
    See also:
    http://help.sap.com/saphelp_46c/helpdata/en/12/084c0a470311d1894a0000e8323352/frameset.htm
    Make sure you enable the condition type for manual entries and disable the pricing sequences or better: set the condition type to be the last condition type so the SAP system does not override your condition type. To avoid side effects it is necessary to use this condition type just for the IDoc ORDERS in an exclusive way.
    In case this has already been done  or the condition processing in your IDoc is already enabled make sure you fill the following fields in the E1EDP05 Segment:
    ALCKZ
    KSCHL
    BETRG or KRATE
    See transaction WE60 for IDoc documentation and detailed values for those fields.

  • Problem with mapping [Idoc to EDI]

    Hi experts,
    i am facing a new problem in my mapping (idoc to edi scenario)
    my target is as follow:
    InvoiceDME
    >Invoice 1..1
    >>InvoiceHeader 1..1
    >>>IncotermsCode 1..1
    My Idoc is as follow:
    IDOC
    >E1EDK17 0..20
    >>QUALF
    >>LKOND
    >>LKTEXT
    There can be 2 scenarios in my source:
    1st:
    IDOC
    >E1EDK17
    >>QUALF = 001
    >>LKOND = lkond001
    >>LKTEXT
    2nd:
    IDOC
    >E1EDK17
    >>QUALF = 001
    >>LKOND = lkond001
    >>LKTEXT
    >E1EDK17
    >>QUALF = 002
    >>LKOND = lkond002
    >>LKTEXT = lktext002
    If QUALF=002 then I have to take both values of LKOND and LKTEXT and map them to incotermcode
    else if qualf=001 alone, then map LKOND to incotermcode
    my mapping is as follow:
    http://www.flickr.com/photos/30317046@N05/2862446903/
    as you can see, the problem is if i am in my second scenario, i get the wrong value in incotercode (lkond001 instead of the concatenate of LKOND and LKTEXT for QUALF = 002)
    Do you have any idea how I can solve this??
    Thanks a lot,
    Regards,
    Jamal

    Actually i used java mapping:
        //write your code here
    try
         String returnString = "";
         for (int i = 0; i < QUALF.length; i++)
              if (("002".equals(QUALF<i>.trim())))
                   returnString = returnString +" "+ LKOND<i> +" "+ LKTEXT<i>;
                   result.addValue(returnString);                   
    catch(Exception e)
         e.printStackTrace();
    and the condition on the 'count' of QUALF (if = 2 then else)
    Thanks,
    Regards,
    Jamal

  • Using PI to map IDoc BENEFIT3 to EDI 834

    Has any used PI/XI to map IDoc BENEFIT3 to EDI 834?  We are looking to use this approach but have had problems finding a standard map.  You would think SAP would have one since they stand by their BENEFIT3 IDoc being sufficient to map to the 834.  This will take forever to do it from scratch or even without an example.  Help please.

    Hi
    You can do 1:n multimapping
    in message mapping in messages tab ..add both the structures in target tab and do the mapping
    and in operation mapping add both the message interface on the target side
    PLease go through this blog
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Maybe you are looking for