Mapping EDIFACT to IDoc: IFTMIN to DELVRY / SHPMNT

Hi,
because we haven't done this before we want to ask if there is someone whos has done this before us.
So our business case is that we have to map IFTMIN to any appropriate SAP-Format.
We found that SHPMNT might be the best solution but as we checked the structure we saw that this IDoc contains so much overhead information that we thought we might map it to DELVRY - whereas this is included in SPHMNT.
So has someone of you done this before and can give us a hand on how to map this? maybe there is a mapping template to offer?
I know this sounds silly - but maybe someone might help.
We are also open to any other suggestions on how to map IFTMIN - perhaps to a BAPI?!
br

Hi Fritz,
    This blog gives you the realtion between most EDIFACt messages and sap idocs:
/people/community.user/blog/2009/10/12/mapping-idocs-to-x12-transactions-and-edifact-messages
It says SHPMNT04 is the IDOC for Inbound Interfaces and DESADV.DELVRY03 for Outbound Idocs.
Can you check how much of the overhead information is actually "mandatory" on the sap side?
You can probably leave the information that you wont need.
You can find the detailed documentation (filed level) in WE60 transaction of sap.
Regards,
Ravi Kanth Talagana

Similar Messages

  • EDIFACT TODESADV(IDOC)

    Hi,
    I want to perform EDIFACT to IDOC scenario.Please advise  me step by step document. I tried to perform..But I m confused.Firstly i imported EDIFACT_96A.xsd to external definition and used as source.As target i used idoc.And I mapped tit each other In ID i defined Communication channel for sender EDIFACT adapter and IDOC for receiver.But it is not work.The Error :
    Unable to interpret IDoc interface SI_Edifact_To_Idoc_Receive
    Also i dont know that it is true way.In some documents there are different format ant it have to convert xml format.How to follow way for this? In my procet i used XML schema definition.But for EDI format how to convert XML in PI?
    exemplarily:
    UNBUNOA:2111222333:1222333444:1060705:154512345'UNH1ORDERS:D:01B:UN:EAN010'BGM220::91009239'DTM137:20060705:102'DTM2:20060705:102'NADBY5400152201228::9'NADSU5410256000099::9'NADDP5400152201228::9'CUX2:EUR:9'LIN1+5410256410013:SRV'PIA1388:SA::91'QTY21:10'PRIAAA:15.99::LIU'UNSS'UNT141'UNZ112345'
    how to convert XML in PI?
    Thanks in Advance
    Nurhan

    Hi nurhan,
    Here you go:
    Open PI Conversion
    Module for EDIFACT
    Configuration Guide
    http://www.mirrorservice.org/sites/dl.sourceforge.net/pub/sourceforge/o/project/op/opi2/Documentation%20(all%20releases)/EDIX%20Conversion%20Module%20for%20PI%207.1/opi2_EDIX_Module_PI71_Configuration_Guide_v12.pdf
    http://www.mirrorservice.org/sites/dl.sourceforge.net/pub/sourceforge/o/project/op/opi2/Documentation%20(all%20releases)/Conversion%20Module%20for%20PI%207.0%20(3.0)/opi2_EDIFACT_ConversionModule_Configuration_Guide_v11.pdf

  • Mapping issue in idoc to JDBC scenario

    mapping issue in idoc to JDBC scenario
    source structure
    E1KNB1M
      BUKRS = 1000
    E1KNB1M
      BUKRS=  9000
    E1KNB1M
      BUKRS=  2000
    THE NODE E1KNB1M is repeated many times and the field BUKRS is also repeated with E1KNB1M as above
    TARGET field : ISFRANCHISE
    if any where value of BUKRS =9000 we have to pass Y to the target filed, else N
    if BUKRS = 9000   THEN ISFRANCHISE= Y
                   ELSE
                ISFRANCHISE=N
    I've done the mapping as below
    BUKRS = 9000--> IF THEN Y ELSE N--
    > ISFRANCHISE
    BUT everry time the target value is N only
    pl suggest
    rgds
    mojib

    mapped like this
    BUKRS--->SORT---->
                                                 EQUALS --------IF---THEN    Y
    9000------------------------>                                               ----------------->ISFRANCHISE
                                                                  ELSE   N
    context of BUKRS set to parent node
    its worked
    thanks to all for valuable suggestions
    rgds
    mojib

  • Mapping to an IDOC using an externally created XSL file

    I want to map a message to an IDoc using an ABAP XSLT transform. I am creating the XSLT in an external tool.
    I need to use an XSD definition of the IDOC as the target document of the mapping. I can get that in two ways:
    1) Get the XSD definition of the IDOC from transaction WE60 and use the menu command 'Documentation -> XML Schema'
    2) In the Integration Repository, export the XSD of the imported IDOC.
    The problem is, there are significant syntax differences between these versions, and I don't know which is the correct version. For instance, the XSD exported from the Integration Repository has a mandatory attribute 'SEGMENT' for each segment that must be filled to create a valid XML message; this is not the case when the XSD definition is created in WE60.
    Can somebody advise which is the correct version to use?

    Hi Anthony,
    This is really strange...
    In both case XSD should be same...can you please tell for which idoc you are generating xsd?
    Eventhough if you generate XML Schema using WE60,  mandatory attribute 'SEGMENT' for each segment has to be there....this validation would be done while posting idoc. It will check for all mandatory fields.
    I have some different thoughts that what wojciech has suggested...
    "If were your shoes I would use xsd from integration repository because that's the expected result...."
    But final goal is not to achieve mapping but posting idoc with proper data in R/3 system successfully.
    Your second question..
    "Do I assume then that placing a constant value of 1 in the SEGMENT attribute is just to satisfy the validation of the XML message against the XSD:..?
    ummm...I think if you assign constant "1" to segment it will generate that segment while creating idoc. Its mandatory to assign constant value to segment which you want to generate...
    "Can I assume that the IDoc adapter will fill the SEGMENT attribute with the correct value?.."
    I dont think so Idoc adapter will fill this attribute automatically...you need to assign constant to field segment.
    Nilesh

  • Mandatory fields  for mapping in ORDERS idoc.

    Hi
    I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
    Pl let me know the method of finding mandatory field for mapping for  any idoc  and which fileds of idoc are to be disabled.
    Pl help ..
    ans will be rewarded .
    thanks & rgds
    mojib

    HI,
    U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    ·        MESCOD
    ·        MESCFT
    ·        TEST
    ·        EXPRSS
    ·        STD
    ·        STDVRS
    ·        STDMES
    ·        SNDSAD
    ·        SNDLAD
    ·        RCVSAD
    ·        RCVLAD
    ·        REFINT
    ·        REFGRP
    ·        REFMES
    ·        STATUS
    ·        DIRECT
    ·        OUTMOD
    ·        CREDAT
    ·        CRETIM
    read the information in below link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    thnx,
    chirag

  • Mapping issue: FCC: Idoc for each record in file

    Hi,
    I have file to Idoc scenario.
    I receive csv file with multiple records.
    The requirement is to create an Idoc for each record.
    For eg.
    source file
    A1,B1,C1
    A2,B2,C2
    A3,B3,C3
    After FCC
    <MT>
    <TRANS>
    <ROW>
    <A>A1</A>
    <B>B1</B>
    <C>C1</C>
    </ROW>
    <ROW>
    <A>A2</A>
    <B>B2</B>
    <C>C2</C>
    </ROW>
    <ROW>
    <A>A3</A>
    <B>B3</B>
    <C>C3</C>
    </ROW>
    </TRANS>
    <MT>
    I have first tested it with only 1 record to test end to end connectivity. It works as expected and Idoc is posted to target system.
    Now when I am trying to send multiple records, I am getting some issues.
    Below are the steps that I have taken to process multiple records:
    1. Changed the cardinality of ROW (child of RecordSet) from 1 to Unbounded.
    2. Changed the occurance of Idoc to Unbounded.
    3. Mapped ROW to Idoc root.
    I have tested the mapping in IR and it generates multiple IDOCs.
    When I send the test file, it fails with error Tag found instead of tag IDOC BEGIN=
    I can see the xml message created with multiple ROWs in XI by File adapter in sxmb_moni.
    When I do Test Configuration in ID, with the XML message extracted from sxmbmoni, the result that I got was:_
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1></ns0:Message1></ns0:Messages>
    This means that idoc was not created while mapping.
    But the same sample message works OK in IR!
    Pls help where I have missed.
    Regards,
    Anirudh.

    Sudhir,
    Thanks for your response.
    FCC is working fine. I have taken the XML message in XI created after FCC from csv sample message.
    I have tested this message in IR by placing it between
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    </ns0:Message1>
    </ns0:Message>
    It is working fine and Idocs are created in mapping in IR.
    But the same sample message is creating below output ID!
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1></ns0:Message1></ns0:Messages>
    Regards,
    Anirudh.

  • Mapping shipment 05 idoc

    hi experts,
                     we have a scenario to map shipment 05 idoc to delivery 05 idoc. there will be one or more handling units in source idoc.for every handling unit in shipment 05 we should map respective article information to seperate delivery 05 idoc. this means foe every e1edl37 segement in source idoc we need to create seperate delivery05 . but the occurence of the imported delivery 05 idoc is 1. so how to map this.. do we need to go for bpm. can anyone please suggest.

    Hi,
    1)Double Click on the imported IDOC
    2)Export the WSDL file to your desktop.
    3)Change the max occurrence of the IDOC Segment.
    e.g.
    Original
    <xsd:element name="IDOC" type="CAP_PRIMCOST.CAP_PRIMCOST01" />
    Change
    <xsd:element name="IDOC" type="CAP_PRIMCOST.CAP_PRIMCOST01" minOccurs="0" maxOccurs="999999999" />
    4)Import the new WSDL as an external definition and use it insted of IDOC.
    Regards,
    Himanshu
    Edited by: Himanshu Mohan on Oct 7, 2008 1:55 PM

  • Message Mapping - JDBC to IDoc

    Hi,
    I trying to map the resultset from a JDBC adapter (sender) to Inbound IDoc into SAP. I have problems with message mapping and after reading through a number of threads, I followed the following steps:
    1. Download the IDoc definition as XSD.
    2. Change occurrence of node IDOC to 1..unbounded.
    3. Upload changed XSD as external definition and
    4. use the external definition in the mapping.
    After importing the external XSD definition the IDOC node turned red. How do I map this node, now that it is  unbounded?
    Example from Message mapping:
    MT_ETA_RMX................ZSDETA01
    ..EtaNode........................IDOC     (unbounded =  RED)
    ....CARID.................................BEGIN
    ...............................................EDI_DC40
    ...............................................Z1RETA
    .................................................SEGMENT
    .................................................CARID
    Thanks,
    Henk

    Hendrik,
    whichever data record is occuring multiple on your sender JDBC message should be mapped to IDoc segment. It really depends on your JDBC message structure.
    If EtaNode is occuring multiple times, and if based on EtaNode an IDoc has to be created, map that to IDOC and if per every CARID one idoc needs to be created, then use CreateIf and exists node functions to IDoc.
    regards
    SKM

  • Mapping ansix12 to idoc orders04

    hi ,
    I have created the data type in the integration repository and i bought the message type for message mapping, but i need to know how to map this with idoc  orders04 and im not sure with the loop concept in XI for mapping. like mapping for more than one line item.
    if any one have any idea idea abt it pls helpme.
    thankx.

    hi ,
    I have to map the ansi x12 file to idoc meta data and for mapping do i need to write a XML schema for the the ansix12 file .. i need help reagrding this .
    thankx .

  • EDIFACT  to Idoc

    Hi All,
            Iam working on EDIFACT to Idoc scenario.I have installed conversion agent, i need a sampe edi file(pref ORDERS) to test the scenario.
            can you tell me where to find it.
    Thanks in advance.
    Disney.

    Hi,
    I don't have test file. But this blog may help on this-
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    If you search some of the exercises are here...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/fc39c16bfb025ee10000000a1553f7/content.htm
    Regards,
    Moorthy

  • 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

  • SAP R/3 Mapping with EDI IDOC's 846 and 852 (Outbound)

    Hi:
    How are the following EDI IDOC Types mapped in SAP - R/3?
    1. Inventory Inquiry / Advice (846)
    2. Product Activity Data (852)
    What is the basic type, message type, idoc type that has to be used
    in both the cases - outbound based ones.
    This is a consumer products industry and not a retail industry. This
    is a hypothetical scenario where the end customer would like to see
    the price and the stock from all the plants and then place an order
    (846); and also see what is being planned in aparticaular plant for
    a planning period (852). The cycle countings are carried out based
    on the type of product in question and SAP-R/3 has been set up for
    this. What is the trigger point for the enitre activitiy to take
    place. Any valuable suggestions or guidelines are most welcome.
    Regards
    Rohit

    Check this link and see if it leads you somewhere.
    http://sap.ittoolbox.com/groups/technical-functional/sap-interfaces/information-on-the-edi-idoc-types-1739410
    http://www.jt77.com/CRM/related-discussion-1111.html
    Regards,
    Ravi Kanth Talagana

  • Multi-mapping for ibound IDOC

    Hi! All
    It would be of great help if you provide your suggestions on:
    Mapping one XML source file to 6 IDOC receivers, 2 of them are of the same type and 4 are distinct idoc types.
    I tried multi-mapping and received the following error:
    "Messages in multi-message format can only be sent to one Adapter Engine"
    Looks like IDOC adapter does not support multi mapping...
    Can you please suggest any other option apart from using BPM(since it consumes lot of resources).
    Thanks a lot!!
    Regards,
    Patrick

    Hey
    its not possible to do Multimapping over IDOC's without BPM.
    other way around can be to do a single -single scenario,suppose u have 6 IDOC's to post then u need to design 6 different scenarios for them.
    without BPM you cant do multimapping for IDOC or HTTP
    Thanx
    Aamir
    Message was edited by:
            Aamir Suhail

  • Doubt in fields - message mapping (file 2 idoc scenario)

    while doing message mapping in file 2 idoc scenario, i could not able find the values for some field names
    ( i am following this wiki help
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC& )
    cremas04 idoc
    vendorNo LIFNR
    vendor name Name1
    Pur_org   ? ( I could not able locate field with the similar desc in idoc MT side)
    Company code  ?
    Acc_Grp  ?
    Search term MCOD1
    Address ADRNR
    City ORT01
    Pin_code PSLTZ
    could you help me out with this?
    Message was edited by: praba
            praba

    hi,
    I got the answer.

  • 1:N mapping without BPM ( Idoc Receiver)

    Hi,
    I have a scenario like 1:N, source would be JMS and the receiver side have two Idocs with the same business system. based on one Item segment value, I need to route the input JMS message to corresponding receiver IDoc.
    INput Structure:
    Record
    Header 1..1
    H1
    H2
    H3
    Item 1..Unbounded
    I1
    I2
    I3
    NOte: Based on value I2, I need to route the message to corresponding receiver Idoc. like If I2=A then Idoc1 and I2=B then Idoc2. Can we achieve the same without using BPM?
    -Esha

    Hi,
    This can be achieved with Interface Determination conditions. Go for 2 mapping. And in Interface Determination put condition to check which mapping to use. No need of ccBPM.
    If you still want to go for 1:N multimapping please refer link:
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    without BPM.
    Regards,
    Vineetha.
    Edited by: Vineetha on Apr 27, 2010 11:44 AM

Maybe you are looking for

  • Long in problem apple store

    hi I need help I can't get my apple store some problem with my apple App Store pleas chek thanks

  • How to use the result of a sql query for a max () function

    Hi I wrote a query on which i wrote "select max(id) from users " how can i use the returned value. if i made the var name ="userid" can it be userid.rows[0] or what. thnx for any help

  • Can I stop emails from pushing to my iphone/ipad when I've read them on my Mac first?

    I'm currently deleting the same email 3x. Alternatively, if I delete an email on my Mac can it be set to automatically delete the same email on my devices?

  • Run Flash Media Encoder from PHP?

    I have tried to run Sorenson Squeeze from the command line to no avail. So far, no help from their support either. I was wondering. I have Flash Media Encoder V8. Can I run that via a PHP script and tell it through arguments what file to convert and

  • Syncing iPhoto and iPhone4.

    In iPhot my events are set up properly. However when the iPhone4 syncs it splits up the pictures in the events. For example EventX may have 8 photos in on iPhoto, but when synced I will get EventX 3 times with 2 pics in one of them, 2 in another etc.