File to IDOC (CREMAS03)

Hi Experts,
  I am trying to load Vendor data in the R/3 system, I got stuck up when I am trying to do mapping between file and IDOC, how can get CREMAS03 Idoc into XI.... Please help
Thnx
Raj

Hi Raj,
You have to import the metadata for SAP Interfaces(IDocs,RFCs) into XI Repository before you can use them in the mapping.
You can import the Idocs into your own SWC but as a best practice, these Idocs were imported into SWCs like SAP APPL, SAP BASIS etc. In this way there is no duplication of these Interfaces in multiple SWCs.
To Import the IDOC metadata
1) Edit the SWC.
2) Make sure you have the "import of RFC and Idoc interfaces from SAP systems permitted" radio button selected with connection data for the backend R/3 system.
4) In the SWC, on the left panel select the Tab "Imported Objects". Provide the connection data if asked for. Select the Idoc CREMAS.CREMAS03 and import it.
5) This imported Idoc will be added to the list of Idocs in "Imported Objects" Tab. Verify the structure of the Idoc before using that in your mapping.
Hope this helps.
Regards,
Sam Raju

Similar Messages

  • File to Idoc Mapping Problem

    Hi all,
    i'm getting an error from SXMB_MONI in a scenario File to Idoc.
    I have done the mapping from source file and Idoc CREMAS03, when i try to test from Integration Repository it's all ok, but when the scenario is executed i find this error in Idoc Adapter :
    <SAP:P1>MSGGUID EF7E2140A08811DDBE1202004C4F4F50: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:P1>
    The field BEGIN in idoc structure is filled with constant value 1, than i dont understand the error.
    This is the xml source file :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Vendor xmlns:ns0="urn:tbit40:workshop:group01:legacy">
    - <Address>
      <Country>IT</Country>
      <Zip>001</Zip>
      <City>ROMA</City>
      <Street>SATTA</Street>
      </Address>
      <Currency>USD</Currency>
      <SearchTerm>TEST</SearchTerm>
      <LastName>GUIDA</LastName>
      <VendorNumber>44332</VendorNumber>
      </ns0:Vendor>
    Any help is really appreciated.
    Thanks.

    Hi all and thanks for your answer.
    My problem is that for what i can see all Idoc attribute (like the attribute BEGIN) are mapped with constant value.
    In taget source i can see :  BEGIN = Constant([value=1])
    What i dont understand is why when i execute the scenario it ends with this message :
    <SAP:P1>MSGGUID EF7E2140A08811DDBE1202004C4F4F50: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:P1>
    It seem to me that the tag BEGIN is not filled with value, i also tried to copy the source xml file directly from SXMB_MONI  (from payload) and test it in Integration Repository mapping section, but here is all ok and the test end succesfully.

  • IDocs not created in file to IDoc scenario

    Hi all
    I am trying this file to IDoc scenario.
    File picked up successfully and sent to R/3 Backend…But Idoc is not posted…the status records
    In /n we05 in R/3 Backend shows that EDI: Partner profile inbound not available
    I created/tested all basics like RFC dest, port etc.
    File service that I am using is a business service …hence I am specifying a Logical system name in
    <b>Adapter specific Identifiers</b> of the file service.
    I disabled EDI_DC40 control tag record as IDoc adapter
    takes care of it.
    So at first I tried the configuration of IDoc comm. Channel by checking the Apply control record values from payload
    But SXMB monitor gave an error regarding this control record tag…I guess as we have disabled it so there won’t be any values
    for control record in payload (correct me if I am wrong).
    So I unchecked the checkbox Apply control record values from payload and monitor showed up as successfully processed.
    But in the backend I am getting this error regarding partner profile.
    I also tried to use an existing profile (<b>LS</b> type) by modifying it’s inbound parameters to accept <b>CREMAS</b> Idoc.
    But the error is as persistent as me
    Pls help
    Sudhir

    Hi
    Sender --> LEGACY, maintained in SLD (Logical system).
    Receiver--> ENI maintained in SLD with logical sys name M700.
    Partner Profile LEGACY maintained in R3.
    <b>Following is the IDocOutbound in SXMB monitor in XI</b>.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Response
      -->
    - <SAP:IDocOutbound xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <SAP:TABNAM>EDI_DC40</SAP:TABNAM>
      <SAP:MANDT>100</SAP:MANDT>
      <SAP:DOCREL>640</SAP:DOCREL>
      <SAP:DOCNUM>0000000000001013</SAP:DOCNUM>
      <SAP:DIRECT>2</SAP:DIRECT>
      <SAP:IDOCTYP>CREMAS03</SAP:IDOCTYP>
      <SAP:CIMTYP />
      <SAP:MESTYP>CREMAS</SAP:MESTYP>
      <SAP:MESCOD />
      <SAP:MESFCT />
      <SAP:SNDPOR>SAPAXI</SAP:SNDPOR>
      <SAP:SNDPRN>LEGACY</SAP:SNDPRN>
      <SAP:SNDPRT>LS</SAP:SNDPRT>
      <SAP:SNDPFC />
      <SAP:RCVPOR>SAPENI</SAP:RCVPOR>
      <SAP:RCVPRN>M700</SAP:RCVPRN>
      <SAP:RCVPRT>LS</SAP:RCVPRT>
      <SAP:RCVPFC />
      <SAP:TEST />
      <SAP:SERIAL />
      <SAP:EXPRSS />
      <SAP:STD />
      <SAP:STDVRS />
      <SAP:STATUS />
      <SAP:OUTMOD />
      <SAP:SNDSAD />
      <SAP:SNDLAD />
      <SAP:RCVSAD />
      <SAP:RCVLAD />
      <SAP:STDMES />
      <SAP:REFINT />
      <SAP:REFGRP />
      <SAP:REFMES />
      <SAP:CREDAT>0000-00-00</SAP:CREDAT>
      <SAP:CRETIM>00:00:00</SAP:CRETIM>
      <SAP:ARCKEY>DF57A2C0532811D9AD84000F206A031B</SAP:ARCKEY>
      </SAP:IDocOutbound>
    <b>Control record of IDoc in R3</b>
    Tab: Typeinfo
         Basic type-->CREMAS03
         Message Type-->CREMAS
    Tab: Partner
         Recipient
          Port  -->SAPENI
          Partner Number--> M700
          Partner Type-->LS
         Sender
          Port  -->SAPAXI
          Partner Number--> LEGACY
          Partner Type-->LS
    Pls help
    Regards
    Sudhir

  • File to IDoc Scenario: Idoc Status 50

    Hello,
    I have a problem in doing a File to IDoc Scenario with a simple XML file mapped to IDoc "CREMAS.CREMAS03".  In the beginning, I got a status 56:"IDoc with errors added".  Then I added a logical system (LS name of my sender)manually in "Display IMG";however, it didn't work.  So I simply changed the logical system name of my sender to XI_00_800 which already exists in R/3.  I tried the scenario again, then I got the status 50:"IDoc added".  Looked like the IDoc still hadn't been correctly inserted as a record.  May I ask what other steps or configurations do I need to do to get this scenario to work?  Thank you.

    Steve,
    <i>Moreover, I didn't create any partner profile. The "XI_00_800" partner profile is in the system all along. Should I create a whole new partner profile and point that to my sender business system?</i>
    You need not create it once again as it already exists. Normally , ALE  configurations on an R3 system are the responsibiltis of the Functional Team. For instance , on our projects we are never given access to the End r3 systems and the Partner profile are created by the F'nal team itself.
    Like I mentioned, ask your F'nal team why you are getting this issue. From XI side , there is nothing more you need to do.
    Regards,
    Bhavesh

  • File to IDOC Multipe Records

    Hi everyone,
          I was doing File to IDOC Scenario and trying to post Multipe Records to the R/3 System.
          I tried sending Cremas03 details both as an XML file and also as a TXT file Using File Content Conversion from XI and i could not succeed  in posting the file.
         So Is it possible to post the file like this, please find a solution for this.
    Regards,
    Varun Reddy.K

    <i>I tried sending Cremas03 details both as an XML file and also as a TXT file Using File Content Conversion from XI and i could not succeed in posting the file.</i>
    >>
    where exactly are you facing problem ?
    Further ref:
    Multiple IDocs without BPM(occurance change)
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Multiple IDocs (multiple types)
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

  • File -- XI -- IDoc ( IDoc Status 56)

    Iam trying to post IDoc(cremas03) with File --> XI  --> Idoc Scenario.
    I got message processed successful in SXMB_MONI.
    However on ECC5.0(R/3) I got Idoc status 56.
    EDI: Partner profile inbound not available
    Message no. E0337
    Diagnosis
    An inbound partner profile could not be found with the following key:
    /T20CLNT400/LS//CREMAS////
    This involves the key fields of table EDP21:
    -SNDPRN  partner number of sender
    -SNDPRT  partner type of sender
    -SNDPFC  partner function of sender
    -MESTYP  logical message type
    -MESCOD  logical message code
    -MESFCT  logical message function
    -TEST    test flag
    Procedure
    Please check the inbound partner profiles.
    Execute function
    On IDOC Display (We02) I found following info:
    Technical Short Info
    Direction : 2
    current status: 56
    Basic type: cremas03
    Message type: cremas
    Partner No: T20CLNT400
    On Idoc control Record:
    Typeinfo tab:
    Basic Type: CREMAS03
    Message Type: CREMAS
    Partner Tab:
    Recipient
    Port:   (Spaces)
    Partner No: ID3CLNT550
    Partner Type: LS
    Sender
    Port: SAPSXI
    Partner No: T20CLNT400
    Partner type: LS
    Tech Info:
    Sap rel : 640
    On Partner Profiles:(WE20)
    ID3CLNT550 ( in this case receiver) was defined as Logical Sytem and Inbound message type CREMAS
    Would someone please guide me what to do as Iam learner of XI.
    Thanks a lot

    Here it is.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:IDocOutbound xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <SAP:TABNAM>EDI_DC40</SAP:TABNAM>
      <SAP:MANDT>400</SAP:MANDT>
      <SAP:DOCREL>640</SAP:DOCREL>
      <SAP:DOCNUM>0000000000046232</SAP:DOCNUM>
      <SAP:DIRECT>2</SAP:DIRECT>
      <SAP:IDOCTYP>CREMAS03</SAP:IDOCTYP>
      <SAP:CIMTYP />
      <SAP:MESTYP>CREMAS</SAP:MESTYP>
      <SAP:MESCOD />
      <SAP:MESFCT />
      <SAP:SNDPOR>SAPSXI</SAP:SNDPOR>
      <SAP:SNDPRN>T20CLNT400</SAP:SNDPRN>
      <SAP:SNDPRT>LS</SAP:SNDPRT>
      <SAP:SNDPFC />
      <SAP:RCVPOR>SAPECC</SAP:RCVPOR>
      <SAP:RCVPRN>ID3CLNT550</SAP:RCVPRN>
      <SAP:RCVPRT>LS</SAP:RCVPRT>
      <SAP:RCVPFC />
      <SAP:TEST />
      <SAP:SERIAL />
      <SAP:EXPRSS />
      <SAP:STD />
      <SAP:STDVRS />
      <SAP:STATUS />
      <SAP:OUTMOD />
      <SAP:SNDSAD />
      <SAP:SNDLAD />
      <SAP:RCVSAD />
      <SAP:RCVLAD />
      <SAP:STDMES />
      <SAP:REFINT />
      <SAP:REFGRP />
      <SAP:REFMES />
      <SAP:CREDAT>0000-00-00</SAP:CREDAT>
      <SAP:CRETIM>00:00:00</SAP:CRETIM>
      <SAP:ARCKEY>BAA624009F6311DA8AD3003048805A88</SAP:ARCKEY>
      </SAP:IDocOutbound>
    Following data was defined in receiver system, Client 550
    Inbound parameters:( With we20)
    PartnerNo: ID3CLNT550
    Type: LS
    Inbound parameters:
    Partner Role : LS
    Message Type: CREMAS
    Process Code : CRE1
    Trigger immediately
    PartnerNo: ID3CLNT550
    Partner Type: LS
    Inbound parametrs:
    Partner role:   <---- blank here ..does this matter ?
    Message Type: CREMAS
    Process Code:  CRE1
    Trigger immediately

  • Help in creation of XML file for IDOC postings

    Hi All,
    Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
    We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
    We have an existing input file, which is working correctly.  We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability).   This tax code is working fine for manual postings.   But, through IDOC, tax postings are not correctly triggering.
    Could you please confirm if any one has experience on this, so that I can share more details for resolving.
    Thanks & Regards,
    Srini

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • Logical System in file 2 idoc

    Hi
    I am developing an scenario of file to idoc.
    My problem is, when it is generating the idoc in target system, the Parner Number in control record is filling with the logical system name given when creating the business system. 
    I tried changing the logical system name with actual partner number which I want but giving an error   '  The selected integration server already has a business system with logical name "pidclnt001". Select a different integration server or change the logical name. '
    Can anybody advice me,  is it not possible to create two scenarios to send same Idoc to same system ?
    Regards,
    Shylesh

    Hi Shylesh !
    You need to enable the header mapping option in your receiver agreement to overwrite the Logical System name that is sent to the R/3 destination system...which now is the Logical System name linked to your sender system (info is in SLD if is a business SYSTEM or in the Adapter Specific identifier attributes if it is a business SERVICE)
    You cannot have more than 1 business service/system with the same Logical System name...but you can overwrite the sender logical system name that arrives to the destination R/3 system using the header mapping section of the receiver agreement as noted above.
    Regards,
    Matias.

  • XI 3 File to IDoc scenario - Still referencing Old Logical system

    Hi
    Dont know if you can help. I have a file to idoc scenario  using XI 3 to R/3 4.6c system.
    I had the interface working from a third party system XMLHUB to SAP R/3. The Logical system name for the XMLHUB was XMLHUB01 in the SLD which I have set up as a partner profile in R/3. I have recently changed the logical system name to XMLHUBDEV01 in the SLD and created that logical system in R/3 and changed the partner profile to XMLHUBDEV01.
    Unfortunately in the sender information of the IDoc the partner number is still XMLHUB01 and not XMLHUBDEV01. I don't understand where this partner is sent from to get into the control record of the IDoc.
    I have cleared the SLD cache in both the Repository and the directory. Is there somewhere else I should be looking? Any help would be appreciated.
    Regards
    Daniel

    hi daniel...
    this thread wud answer ur query....
    Re: IDOC Payload
    regards..
    vishal

  • File to Idoc OR File to AbapProxy

    Hello,
    Let me expose my problem.
    In fact, I need to integrate new Goods Movements sent by a non-Sap system to ECC system.
    To do that, the non-sap system sends a file.
    Then, I need to generate from this file an Idoc (MBGMCR), fill this Idoc with some extra data (from Ecc tables) and then to integrate it into ECC.
    The question here is to find the best solution (according to performance and feasibility) to do that using PI (7.0).
    We are hesitating between two scenarios:
    1-     File to Abap Proxy
    We get the data sent by an abap proxy, and then we complete it with the necessary extra data from ECC tables in order to create complete the Idoc segments.
    In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.
    Even, using PI will be a waste of performance/time (due to mappingu2026)
    2-     File to IDOC
    This alternative looks more interesting (at least in the PI way).
    But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).
    For example, the file contains Orders headers and I need to generate Goods Movements for the materials contained in the orders. So I need to access Orders posts, to retrieve the materials data.
    Is there a way to retrieve simple information in PI using ECC data?
    Any other suggestion/comment is welcome.
    (Any other scenario is also welcome)
    Thanks you in advance.
    Saber L.
    SAP PI consultant.
    Edited by: LMS LMS on Nov 7, 2008 10:24 AM
    Edited by: LMS LMS on Nov 7, 2008 10:25 AM
    Edited by: LMS LMS on Nov 7, 2008 10:25 AM

    ABAP proxy would improve performance in terms of providing adapterless communication.
    In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.
    Making a direct connection would increase point to point connectivity across the organization whose reduction is one of the reason why XI is used.
    If ur communication is async and u have the idoc structure ready, then u may proceed with Idocs.
    But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).
    If you want to prevent the node from getting generated, simply disable it in mapping.
    I hope u have seen this
    Choose the Right Adapter to integrate with SAP systems
    Regards,
    Prateek

  • Message has error status at outbound side File To Idoc Scenario

    hi ,
    In my File to Idoc scenario , when i go to sxmb_moni , i found that its showing red flag at Outbound Status Tab and showing message "Message has error status at outbound side".
    When i go to IDX5 and and select my idoc and click on Transaction Id it shows "Password logon no longer possible - too many faile" .
    Please suggest what may be the problem ?
    Regards,
    Rohit

    1. First check the RFC destination name used in receiver Idoc adapter communication channel.
    2. As i said earlier, in sm59 transaction in XI gui, u can check same rfc destination under type 3. There check the logon credentials and the username.
    3. Now goto the R3 system GUI and check in su01 that same user is locked or not. If locked unlock it.
    4. And if u change the password of that user, then do the similar change in XI -> sm59 -> rfc destination logon credential
    Regards,
    Prateek

  • Error in File to IDOC Scenario

    Hi,
    I have File to IDOC scenario.
    I am getting error in sender file channel.
    "Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
    Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
    Despite of this error in sender channel I am receiving the message in XI.
    But in XI also it throws error :
    "Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
    Any help on this ?
    Thanks,
    Vikas

    Hello Vikas,
    I am getting error in sender file channel.
    "Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
    Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
    Check your flat file structure whether the key field you have chosen is appropriate and also recheck the FCC details whether you have assigned the value for the key field i.e.  keyFieldValue.
    "Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
    regarding the above error refer this
    https://wiki.sdn.sap.com/wiki/display/XI/Unable%20to%20convert%20Sender%20system%20to%20ALE%20logical%20system
    Regards,
    Prasanna

  • Error in file to idoc scenerio

    hi
    in file to idoc scenario
    i got error in sxmb_moni
    in status  it is showing recording,
    in Q.status it is showing stop symbol.
    waiting for suggestions.

    Hi Sandeep,
    Have a look at queue problms here
    /people/prashanth.azharuddin/blog/2006/11/24/some-errors-in-an-xi-production-environment
    Some additional help
    Q.Status is "Queue stopped"
    queue status is stopped
    Regards,
    Prateek

  • Error while doing a File to IDOC scenario

    Hi Experts,
    I have created a File to IDOC scenario where in i have sent a file which has to pass data to ABSEN1 IDOC.I could see the IDOC reaching R/3 ,but with the status 56: "EDI: Partner profile inbound not available"
    I have checked with all the configurations and couldnt find where it went wrong.
    Kindly help me in this regard.
    Thanks.

    Hi
    Check the inbound parameter and the process code.
    To find Process code for IDoc use Tcode WE42.
    ALE idoc trouble shooting use
    Troubleshooting of ALE Process
    look also this configuration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34

  • FILE  to  IDOC  SCENARIO   NEED  MANDATORY FIELDS IN  MATMAS IDOC

    Hi
       I'm  learning a scenario like File to Idoc  which is i need some what are the mandatory fields for  creting the message mapping.. between source file and MATMAS IDOC...  because it was showing several fields.
    is there any way to find out the  fields we need to map compulsory...  for sending IDOC successfully.
    Thanks
    Babu

    Hi Babu !
    Log into the R/3 system, transaction WE60, enter the idoc type MATMAS01 or 02, 03, 04, then press F8 or go to Documentation menu, HTML Format.
    It will display a document, telling you which fields are optional and which mandatory.
    Regards,
    Matias
    PS: please award points if helpful.

Maybe you are looking for

  • How to map 2 tables together into a new one, like an Union?

    Hi. I am new in Oracle Data Warehouse Builder and what I'm wanting to do could be simple. My question is: How to map 2 tables into a new one? That is, what I need is to do a Union. See the following tables: What I have is: ---------------+ ----------

  • New Member with popout menu problem

    I'm new to Dreamweaver and am trying to create a page of 3 frames that contains a dropdown/pop-out menu in the 2nd frame. When the popout exceeds 3 choices, it it no longer displayed, giving the user the sense that it "disappears" behind the main fra

  • Error msg in texts...

    Hi, i hav uploaded master data attr's successfully thru flatfile .. when i create an infopack for texts  its giving me a warning msg as " Assign a language field to IOBJ 0LANG; danger of short dump " Version is BW7.0 Can anyone experienced the same p

  • Scope of Forward name

    Hi, When working on a JSP file in 8.1 Workshop, you can create a new JSP file, and then you can generate an action for the page. By default the action contains a Forword which is named "success". For example: * @jpf:action * @jpf:forward name="succes

  • Can't see Change Log in Invoice

    How can I see changes done in invoice? I can see in order thru environment - changes. but in billing, its not active. I guess this should be standard.....right?