IDOC Doubt

Hi all,
Is this the place to ask a doubt related to IDOC.. If so, please help me on my issue. This is actually the configuration to transfer data from IDOC (RFC Destination) to XI (RFC Destination).
An IDOC can be send from SAP in 2 formats I believe.
Thru Transactional RFC port and File port.
In both the cases the structure/format of the data that I recieve is different. Is there some way that I can make the format same using some settings??
I actually need the format coming out of File port to be same as that of RFC port so that it transforms the data to XI's RFC destination without any alterations in the format.
Please let me know if you need more clarifications.
Thanks
Anju

Hi
Also check this blog by suraj
/people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
he handles the file xml port too
regards
krishna

Similar Messages

  • IDOC - doubts

    Hi Experts,
    I have few doubts regarding Idoc.
    1. Max size of an Idoc
    2. How many times a sigment can get repitated in Idoc (maximum)
    3. What is use of Trust system in logical system SM59
    4. in Distribution model, where filter objects/documents are stored.
    Waitng for your valueble answers.
    Regs
    Rams

    Hi,
    Please find some answers below
    1. Max size of an Idoc - 1000
    2. How many times a sigment can get repitated in Idoc (maximum) - You can set the maximum number while creating the segments
    3. What is use of Trust system in logical system SM59 - If you want to pass data to other SAP or non SAP system, an RFC connection is required to do so....Here in IDOC you require to create a partner profile (WE20).
    4. in Distribution model, where filter objects/documents are stored.: Check BD64 transacction and you can find the filters there for the distribution model
    Reward if usful
    Regards
    shiva

  • ALE & Idocs doubts

    Hi  Experts,
       I have big doubts in ALE & Idocs
    1.There are lot of function modules to create idocs.
      So how to find the relavent function modules for our
      requirement.Is there any criteria for this.
    2.When will we go to create idocs through BAPI,when we
      have both systems(sending & Receiving) are SAP.
    3.In INBOUND Idocs processing program,do we need to
      compulsary use BDC to update the data in conserned
      tables?
    Advanced Thanks for your replies

    Hi Murali,
    u can findout the list of fm related to the concerned msgtypes in <b>WE57</b> tcode.
    We have standard inbound function modules wich takes care of process/updation in inbound side. (Se37--> search by IDOC_INPUT* ).
    if those doen't suits to ur req. u can develop ur custom one and use BDC to update.
    Thanks
    eswar

  • Xi: File to Idoc doubt

    Dear all,
    I am working on File to Idoc. I am doing some fields are constants and some fields are let it be. When i am  executing this sceenario, in XML file contains the data those i dclared as constants and remaining fields are not appearing in XML payload. If anybody have file to Idoc scenario, please forward me. Gr8 help for me?
    regards,
    anjireddi

    Hi Raman,
    1.Use the constant function from your graphical mapping tool under message mapping.
    then test the mapping using the test tab,you can even use your originial XML or insert your own values.
    after that check again.
    it is possible that a higher hirarchy elemnet above your XML element has not been created due to mapping error.
    check it as well.
    good luck
    nimrod

  • ALEs/IDOCs doubt

    Hello Friends,
    I need suggestions for this typical issue
    The business scenario is like that when we are creating <b>purchase orders</b> in one server it should create <b>sales order</b> in the another server automatically.
    In the outbound it is moving without any error, and in the inbound side it is getting <b>51-status code</b> after I am trying to post the idoc with respective process code.In the <b>error</b> it is shows the message like “<b>The material number for item 000010 could not be identified”.</b>
    Thanks in advance
    Ramu.

    HI,
    Adding further...
    Although both Purchase Order & Sales Order use the same idoc type orders01, the data content will be different.
    for example...the purchase order will have purchasing related data like purchasing organization, purchasing group, vendor etc...
    however, sales order idoc requires the data like, sales organization, division, distribution channel, sold-to paty etc,...
    You have to do the conversion of the PO idoc to an SO idoc(this has to be done after the inbound requirements for a sales order idoc is studied)...
    Thanks,
    Renjith

  • OUTBOUND IDOC Doubt

    Hi Team
    My Scenario is to send IDOC from ECC to 3rd party, so outbound IDOC. Whn i am sending the idoc from ecc , there is a number 16 bit number being generated in the xml file. but i want this number to be truncated to 12 bit as the receiver system(3rd Party system) couldnt match upto the 16 bit number.
    Please provide me ur valuable suggestions how to achineve this.
    Awaiting for your responses
    thanx in advance

    >
    Stefan Grube wrote:
    > Are you using graphical mapping tool? Then you can use the arithmetic function "formatNumber"
    > In this function you set attribute: 000000000000 (12 times)
    > But this will only work, when you are sure, that you have always a number and never a text.
    or another option would be to do a subString - standard String function can help

  • EDI: Idoc doubt

    hi friends
    my question is ......when i create the delivery document ,system send the shippping notification (idoc) to the customer . there
    customer side how they receive the data and which T-CODE  they have to used. i have the confusion about the  idoc between
    sender and receiver (customer).
    withe regards
    dinesh
    Edited by: code acess on Mar 21, 2011 5:44 AM
    Edited by: code acess on Mar 21, 2011 6:43 AM

    hi satish
    thanks for your support. i need clarification
    1.my customer has a SAP system, so they are able to see the delivery document .I Found i doc number withthe out put in the
    delivery number. In what way customer know the delivery number has been generated .
    wiht regards
    dinesh
    Edited by: code acess on Mar 21, 2011 8:27 AM
    Edited by: code acess on Mar 21, 2011 8:32 AM

  • General - IDOC doubt

    Hi ,
    i have a general question regarding master_idoc_distribute.
    in the FM we will be passing the control data , IDOC data and will get the communication data .
    we have defined all the Partner profile, ports , rfc as well.
    the question i have in my mind lets say i have created a sales order and wants to send data through master_idoc_distribute to another system.
    My confusion here is :
    will be sufficient if i pass the control data and IDOC data into the FM master_idoc_distribute to create an idoc in the other system or am i missing something . Please suggest.
    Regards,
    Ry

    Hi Madan,
    Thanks for the info . But my question here , not especially Sales order any application process we decide , if i use the FM master_idoc_distribute . will it automatically transfer the data to other system providing the partner profiles , ports and RFC's are defined ( apart from these are there any other configuration needs to be done to trigger the idoc to be transferred to other system ).
    Do we have to define Distribution model when using EDI . Please suggest.
    Regards,
    Ry

  • Ale idoc doubt

    hi,
             when i send any material/customer from client 000 to 800.While,sending everthing goes ok till bd10,when i check in receiver 800 by tcode we02,it comes there also ok,but when i run tcode bd11/bd13 for getting the stuffs.one error comes
    Could not determine recipients for message type DEBFET
    Could not determine recipients for message type MEBFET
    HOW TO CORRECT THIS.
    Thanks,
    Gaurav

    Hi gaurav,
       BD10 is used to send the material to the ale layer.
    Then using bd11 in the receiving system u have to receive that material.
    BD10 will not transfer the material to the receiving system directly.
    Regarding ur error it might be some problem in ur customizing of the things.
    Regards...
    Arun.

  • Doubt in File to idoc scenario

    Hi All,
    My scenario is to post the Customer Master Idoc  in R/3 from file.
    XI configuration has done and R/3 settings were made and i am able to see the idoc in R/3 but it is with error saying that "Account group in the IDoc is different". Kindly suggest me whether  is there any  problem in xi settings or not. Kindly provide some solution for this and comment some thing on this error, and list some possibilities where we can get this sort of error.
    Please look at the mapping :
    /DEBMAS06/IDOC/@BEGIN=const([value=1]) /DEBMAS06/IDOC/EDI_DC40/@SEGMENT=const([value=1]) /DEBMAS06/IDOC/EDI_DC40/TABNAM=const([value=EDIDC]) /DEBMAS06/IDOC/EDI_DC40/DIRECT=const([value=2]) /DEBMAS06/IDOC/EDI_DC40/IDOCTYP=const([value=DEBMAS06]) /DEBMAS06/IDOC/EDI_DC40/MESTYP=const([value=DEBMAS]) /DEBMAS06/IDOC/EDI_DC40/SNDPOR=const([value=SAPPED]) /DEBMAS06/IDOC/EDI_DC40/SNDPRT=const([value=LS]) /DEBMAS06/IDOC/EDI_DC40/SNDPRN=const([value=EICLNT100]) /DEBMAS06/IDOC/EDI_DC40/RCVPOR=const([value=SAPECC]) /DEBMAS06/IDOC/EDI_DC40/RCVPRN=const([value=R3CLNT800]) /DEBMAS06/IDOC/E1KNA1M=/ns0:Dell_Mt_Ob= /DEBMAS06/IDOC/E1KNA1M/@SEGMENT=const([value=1]) /DEBMAS06/IDOC/E1KNA1M/MSGFN=/ns0:Dell_Mt_Ob/MSGFN= /DEBMAS06/IDOC/E1KNA1M/ANRED=/ns0:Dell_Mt_Ob/Anred= /DEBMAS06/IDOC/E1KNA1M/KTOKD=/ns0:Dell_Mt_Ob/ktokd= /DEBMAS06/IDOC/E1KNA1M/LAND1=/ns0:Dell_Mt_Ob/Land1= /DEBMAS06/IDOC/E1KNA1M/NAME1=/ns0:Dell_Mt_Ob/Name1= /DEBMAS06/IDOC/E1KNA1M/ORT01=/ns0:Dell_Mt_Ob/Ort01= /DEBMAS06/IDOC/E1KNA1M/SORTL=/ns0:Dell_Mt_Ob/Sortl= /DEBMAS06/IDOC/E1KNA1M/SPRAS=/ns0:Dell_Mt_Ob/SPRAS= /DEBMAS06/IDOC/E1KNA1M/LZONE=/ns0:Dell_Mt_Ob/Lzone
    And one more doubt, how the source file structure should look :
    I have created a Data structure  Dell_Dt_Ob under that i have taken 9 fields. and the message type is Dell_Mt_Ob. i have mapped Dell_Mt_Ob to segment E1KNA1M. But there is no mapping for DEBMAS06, IDOC, EDI_DC40. Kindly suggest me whether the strucutre which i have created is correct or wrong.
    Thanks in advance.
    Regards,
    Prem.S

    Hi Prem,
    Try updating the same record in R/3 Directly. If you getting the same error then its a problem with the record that you entered..
    Thanks
    Anju

  • Doubt in Sender IDoc Adapter

    Hi Gurus
    I have doubts regarding the sender IDoc adapter.The sender IDoc adapter is present by default and we do not create manually. the qos of this is EO by default.
    How can we change the QOS of the sender IDoc adapter? do we have to maitain any settings on the R/3 side, please explain??
    thanking you

    Dear Abhinav,
    Check my comments in this forum thread:
    [IDOC Serialization|Re: IDOC Serialization in PI]
    Regards
    Praveen K

  • BPM - doubt in N:1 mapping of IDOCs

    Is there any DETAILED document on Mapping multiple Idocs into a single Idoc package using BPM.My doubt is in the latter part in this process(During Receiver Determination) :
    Scenario : CRM->XI->R3
    We will download the CREMAS03 and then make changes in the xml so that it can hold multiple IDOCs.
    and then we will be collecting the Idocs(say 3 idocs at a time)...that is, appending the IDOCS(CREMAS03) into a multiline container of type CREMAS03.
    In the transformation step, the multiline container containing CREMAS03 IDOCs is transformed to IDOC PACKAGE(N:1 Mapping).
    In Integration Directory,We will create 2 RECEIVER DETERMINATIONS :
    1.CRM->BPM :
    Receiver Service  :BPM Object
    Inbound Interface :CREMAS
    Interface Mapping :Maps the Outbound interface (vendor_out_interface) to CREMAS(Abstract Asynchronous)
    2.BPM->R3 :(I have my doubt here!)
    Sender Service     : CREMAS_COLLECT_PACKAGE(BPM Object)
    Outbound Interface : CREMAS_package(Abstract Async, Message is the modified Multi-CREMAS PACKAGE)
    Receiver Service   : R3
    Inbound Interface  : CREMAS.CREMAS03
    Interface Mapping  : NONE (WHY is that No Interface mapping is needed ???...Please elaborate)
    1.HOW will the XI engine MAP the CREMAS_package to CREMAS.CREMAS03 at the end of BPM PROCESS ?
    2.In BPM we have Transformed the individual Idocs into a IDOC Package BUT then at BPM->R3 Receiver Determination WHY are we mapping the CREMAS Package into Individual CREMAS Idoc ??
    3.Does the R3 receive the IDOCs as a Package OR does it receive it as individual Idocs ?And when we say a Package does it mean it will contain 1 Control record & multiple Data Records(EDID) ??
    4.If the R3 receives the IDOCs as a PACKAGE, THEN How does the R3 System separate the Idocs into Individual Idocs ??
    Is there any specific configuration in the partner profile at the R3 side to process A IDOC package ??.
    5.Also when I compare Posting Function Module IDOC_INPUT_CREDITOR and IDOC_OUTPUT_ORDERS , It seems that IDOC_INPUT_CREDITOR    can process multiple Idocs at a time while IDOC_OUTPUT_ORDERS CAN process only ONE IDOC at a time.Am I right ?)
    It would be great if someone has the patience to give a detailed reply.Looking forward to the reply !!
    Thanks,
    Arun.

    Hi Arun,
    You dont need a BPM for ur requirement. All you need to do is IDOC Message pacakages. where the IDOC are sent as a single package. here is the link to the page that details on hwo to do idoc packaging.
    http://help.sap.com/saphelp_nw04/helpdata/en/99/2653429392ab53e10000000a1550b0/content.htm
    you also refer to Michals weblog on IDoc pacakaging. But the approach i have jsut mentioned to you is more efficent and the one suggested by SAP. Michel was supposed to write one more weblog describing this approach.
    Cheers,
    Naveen

  • Doubt on server proxy and file to idoc scenario

    Hi,
         I could able to solve most of my doubts from this forum, many regards to all who assisted me.Here are some simple doubts plz help me in solving them.
              1.In FILE to PROXY scenario is it necessary to create rfc destination on IS and receiver system? becoz in some blogs it is written to create RFC dest only in case of CLIENT PROXY,since we XI adapter to connect receiver syst in case of server proxy?
              2.In FILE to IDOC scen at receiver side is it necessary to formalities in SM59,WE21,WE20 or just configure in WE20 to maintain partner profile?
              3. In case of single SLD for DEV,CON,PROD while transferring from DEV TO CON using file system how do we move file in EXPORT DIRECTORY TO IMPORT DIRECTORY of cons system?
              4.for transporting IR objects we can use TRANSPORT LIST or CHANGE LIST which will be more preferable?
              Plz kindly answer to any of questions u know ?
              Points will be rewarded for valuable answers.
                                                                                    Regards,
                                                                                    Smitha.

    > 1.In FILE to PROXY scenario is it necessary
    > to create rfc destination on IS and receiver system?
    > becoz in some blogs it is written to create RFC dest
    > only in case of CLIENT PROXY,since we XI adapter to
    > connect receiver syst in case of server proxy?
    You need to maintain the setting on your R3 system to connect to XI for the Transaction SPROXY as shown in the blog "How to Activate ABAP Proxies".
    Apart from that as you are doing a file to proxy via XI, XI would need to send data to the R3 system . For this, you can either key in the Details of the R3 system in the XI adapter directly or you can maintain a HTTP destination on your XI in SM59 and use this in the XI adaper.
    > 2.In FILE to IDOC scen at receiver side is
    > it necessary to formalities in SM59,WE21,WE20 or
    >  just configure in WE20 to maintain partner profile?
    Just the partner porfile. SM 59 and We 21 are used for port and RFC destination and as it is XI that is posting the Idoc these steps are not needed on R3
    > 3. In case of single SLD for DEV,CON,PROD
    > while transferring from DEV TO CON using file system
    > how do we move file in EXPORT DIRECTORY TO IMPORT
    >  DIRECTORY of cons system?
    You have to go to the Folder Level / OS level of your XI server, copy the files from the Export DIrectory and move these manually to the import folder of the CONS server. This is for both IR and ID objects.
    > 4.for transporting IR objects we can use
    > TRANSPORT LIST or CHANGE LIST which will be more
    >  preferable?
    If you perfrom File Transport, the imported objects will be available under the Import Change List and you need to activate this Import Change List.
    Regards
    Bhavesh

  • Doubt regarding  ALE SETTINGS in IDOC scenario.

    Hi Friends,
            I have some doubts regarding ALE settings for IDOC scenarios,  can anyone  please clarify my doubts.
    For exmaple take IDOC to FILE scenario
    The knowledge i got from SDN is --
    One need to do at the  R3 side is  --- RFC DESTINATION (SM59)  for the XI system.
                                                       --- TRFC PORT  for sending IDOC  to the  XI system
                                                       --- CREATING LOGICAL SYSTEM
                                                       --- CREATING PARTNER PROFILE 
                   at the XI side is  --- RFC  Destination ( For SAP sender system)
                                           --- CREATING  PORT  for receiving IDOC from the SAP sending system(IDX1).
    1. Do we create two logical systems for both Sender ( R3 system ) and Receiver( XI system ) in R3 system itself or in XI system or in both systems we create these logical systems? Is this a mandatory step in doing ALE configurations?
    In IDOC to IDOC scenario-------
      2.  Do we craete two RFC destinations in XI system? One RFC DESTINATION for the Sender R3 system and another RFC DESTINATION for the Receiver R3 System? and do we create RFC DESTINATION for the XI system in receiver R3 system? If not.....y we don't create like this........Please give me some clarity on this.............
      3.  If we use IDOC adapter ,since IDOC adapter resides on the ABAP STACK ,we don't need sender communication channel ,for the similar reason----
    y we r creating receiver communication channel in the case of FILE to IDOC scenario?
      4. Can any one please provide me the ALE settings for IDOC to FILE scenario,
                                                                                    FILE to IDOC scenario,                                                                               
    IDOC to IDOC scenario individually.
    Thanks in advance.
    Regards,
    Ramana.

    hi,
    1. Yes, we create two logical systems for both Sender ( R3 system ) and Receiver( XI system ) in R3 system itself and
    it is a mandatory step in doing ALE configurations
    2. We create 1 RFC destination each in R3 and XI.
        R3 RFC destination points to Xi and
        XI RFC destination  points to R3
    3 We need to create Communication Channel for Idoc receiver as the receiver channel is always required but sender may not be necessary
    4. ALE settings for all IDOC scenarios are same  as follows....
    Steps for ALE settings:-
    Steps for XI
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the R3 system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto IDX1.
         Create a new port.
         Give the port name.
         Give the client number for the R3 system.
         Select the created Rfc Destination.
    Step 3)
         Goto IDX2
         Create a new Meta data.
         Give the Idoc type.
         Select the created port.
    Steps for R3.
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the XI system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto WE21.
         Create a port under transactional RFC.(R3->XI)
         Designate the RFC destination created in prev step.
    Step 3)
         Goto SALE.
         Basic settings->Logical Systems->Define logical system.
         Create two logical systems(one for XI and the other for R3)
         Basic settings->Logical Systems->Assign logical system.
         Assign the R3 logical system to respective client.
    Step 4)
         Goto WE20.
         Partner type LS.
         Create two partner profile(one for XI the other for R3).
         Give the outbound or inbound message type based on the direction.
    Step 5)
         Goto WE19
         Give the basic type and execute.
         fill in the required fields.
         Goto IDOC->edit control records.
         Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
         Click outbound processing.
    Step 6)
         Go to SM58
         if there are any messages then there is some error in execution.
         Goto WE02.
         Check the status of the IDOC.
         Goto WE47.
         TO decode the status code.
    Step 7)
         Not mandatory.
         Goto BD64.
         Click on Create model view.
         Add message type.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    SAP r3
    sm59(status check)(no message)
    WE02(status check)
    WE05(status check)
    BD87(status check)
    Xi
    IDx5(Idoc check)
    SU53(authorization check)
    Reward points if helpful
    Prashant

  • Big Doubt.. Help pls.. Urgent.. File to IDoc (Bypass)

    File to IDoc scenario( Bypass)-- Error ( Segment is missing) -- urgent pls.
    Hi Bhavesh and all,
    I done file to idoc scenario (Bypass)
    From the above thread i have hardcoded my XML file  by inserting BEGIN 
    and Segment = "1" in each of the new segment.
    Since it is a bypass scenario.. when it reach to production , the idoc -xml will come from one of the tool without having these BEGIN and SEGMENT = "1".
    Still XI will receive it??
    Because my doubt is i harcoded the XML file and finished my developement.
    Now iam getting the doubt that once they do testing in QA server..the XI will process it and not ?
    Can we able to achieve this even without BEGIN and SEGMENT = "1" ?
    or
    those fileds are mandatory?
    Pls suggest me .. its urgent.
    Regards
    Seema..

    Hi Seema,
    >> <i>Can we able to achieve this even without BEGIN and SEGMENT = "1" ?
    or
    those fileds are mandatory?</i>
       To post an idoc to R/3 system this fields are mandatory.
    >><i>From the above thread i have hardcoded my XML file by inserting BEGIN
    and Segment = "1" in each of the new segment.
    Since it is a bypass scenario.. when it reach to production , the idoc -xml will come from one of the tool without having these BEGIN and SEGMENT = "1".
    Still XI will receive it??</i>
       As you are just routing it...just XI will poll the file and sends data to the idoc ( as the source and target structure are same).
    Regards,
    Prasanthi.

Maybe you are looking for