IDOC XML is possible??

Hello All,
Ver 4.7
I Need to post ORDERS message type Idoc Data in XML format.I want to process the same it Inbound Idoc.
I created a XML port and specified the Path, how do i do the Inbound.
We dont have a Business Connector in between as SAP stopped supporting it.
I need the IDOC to post data in XML format not in DTD format. And from there I don’t know how it has to read for Inbound Delivery. How do i use this FM IDOC_XML_FROM_FILE , can use it in first place?
Any cook book you have on this, please let me your ideas , it would be a great help for us.
Regards,
Manohar E

For testing you can use transaction WE16.
For productive use you might trigger the processing via external application. You can use FM 'EDI_DATA_INCOMING'.
For details check:
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b7f8a43d711d1893e0000e8323c4f/frameset.htm
We wrote an ABAP program, which scheduled regularly. It reads the content of the transfer directory vith FM 'EPS_GET_DIRECTORY_LISTING' and process it via FM 'EDI_DATA_INCOMING'.
Peter

Similar Messages

  • Send/Receive IDOCs (XML) from/to SAP R/3 with XI-SOAP without XI!

    Dear SAP specialists,
    (BACKGROUND) We are using the Microsoft BizTalk Adapter for SAP 1.0, developed on top of the SAP DCOM Connector (we are using the version 6.20 Patch Nr. 177), with Microsoft BizTalk Server 2002 SP1 in order to send and receive IDOC via the tRFC transport protocol. We are using the Microsoft BizTalk Adapter for SAP 1.0 since February 2002, and today we are exchanging more than 25,000 IDOC/day with this architecture.
    When we migrate our SAP R/3 system to the version 4.7 with WAS 6.20, I was very enthusiastic about the possibility of sending the IDOC in XML via the standard HTTP transport protocol, because it would considerably simplify my architecture, i.e. no need of any (expensive) adapter any more! But, I had to realise that the quality of service exactly once will not be there anymore with HTTP as it exists with tRFC. Then, we carry on using the tRFC transport protocol with the adapter.
    (QUESTION) But recently, I followed the SAP Course TBIT40 XI Foundations and I learn that:
    1.     On one hand, the XI-SOAP protocol supports the quality of service exactly once by the usage of a message GUID within the XI-SOAP envelope;
    2.     On the other hand, all mySAP solutions using WAS 6.20 (or higher) carry a “small” Integration Engine (with XI-SOAP as the “native” transport protocol).
    Then, my question is: << Is it possible to exchange IDOC (XML) directly with an SAP R/3 4.7 (WAS 6.20) via the XI-SOAP transport protocol using the “small” Integration Engine embedded into it, with the quality of service exactly once? >>
    Many thanks in advance and best regards,
    Patrice Krakow

    Hello Patrice
    We have same issue. Is it possible to use IDoc (XML) directly with SAP 5.0 with SOAP (HTTP) without XI?
    Since your que is three years old, I'm sure you must have found some method for this.
    We'll highly appreciate your help.
    Regards: Gaurave

  • Send / Receive Idoc(XML) in SAP ECC 5.0

    Hi Experts,
    We are using SAP standard idocs to exchanges master data and Sales data between SAP and non SAP system. currently all the idocs are generated and posted as flat file structure.
    There is possiblity to use idoc(XML) and HTTP service instead of standard process without XI?
    All info related with this is welcome. is it possible? how?
    all suggestion n helpful ans will be rewards with points.
    regards: gaurave.

    Hi Gaurave,
    I have comae accross this type of issue once and hope the below link will give you an idea.
    http://msdn2.microsoft.com/en-us/library/cc185479.aspx
    thanks,
    KIRAN

  • Batching of multiple IDOCs into 1 IDOC-XML file

    Hi PI experts,
    I would like to send all idocs from the same payment run (based on run date & run id) as 1 idoc-xml file to PI.
    The number of idocs is variable depending on the payment run.
    Is this possible without using ccBPM?
    I understand it can be achieved according to /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm by using FILE adapter. But I don't want to save the idocs into a file system and the number of records in a file is also fixed.
    Is there other alternative solution?
    Thanks,
    Ken.

    Hi Michal,
    Yes, I have seen your blog and also would like to use the IDoc packaging feature which comes with 7.0 EHP1 onwards, but I am not sure whether the IDoc collecting can be based on the payment run date and run id.
    The sending of the collected IDocs is based on when the program RSEOUT00 is executed.
    If we perform 2 separate payment runs before the RSEOUT00 is executed, would PI receive 2 Idoc-XML files or 1 combined Idoc-XML file. We would like to receive 2 separate XML files.  
    Hope you can confirm this.
    Thanks.

  • IDOC XML to 3rd Party WebService

    Hello,
    I am new to XI.  I want to now the possiblity and effort involved in using XI to receive an IDOC from an R/3 system and forward that IDOC as IDOC-XML to a WebService on a target 3rd Party application.  The 3rd Party WebService would have as oe of its input the IDOC-XML and will return a status of success or failure of RECEIPT.
    Is this a complex map in XI?
    Thanks in advance for any information here.

    Hi,
    >>>>>Is this a complex map in XI?
    the mapping itself - depends how many values you
    need to change (materials, partners ) and how
    lookup etc.
    the process - if you want to use the web service
    in a sync way (to know the status) you will need
    to use a BPM:
    IDOC - BPM - sync WS
    if the mapping will be easy (or non at all - just IDOC-XML) then the dev should take 1 day
    + tests etc...
    Regards,
    michal

  • How to send IDOC as IDOC XML with out touching IR

    Hi Guru's,
    I have a scenario, where i need to transfer IDOC into Just IDOC XML..
    No Mapping is done...
    I know v can do without touching repository objects..
    As Per Bhavesh said in one of the blog.....no need to import idoc into repository..
    I am just wondering how will it possible?
    My Understanding is as follows.........
    First Go to ID.
    Step 1)
    As sender is IDOC we will not create sender agreement & sender communication channel..
    Step 2)
    Goto Receiver Determination
    Sender:
    Service   : Business System for SAP R/3
    Interface : IDOC
    NameSpace: urn:sap-com:document:sap:idoc:messages
    Receiver:
    Service : Receiver Business system.
    Interface Determination
    Configured Inbound Interfaces:
    InboundInterface : IDOC
    Interface Mapping : NIL
    ReceiverAgreement :
    Sender Service : SAP R/3 Business system Name.
    ReceiverService: will give receiver Business system.
    ReceiverInterface : IDOC
    Receiver Namespace:urn:sap-com:document:sap:idoc:messages
    As Bhavesh said there is no need to import IDOC into Repository.
    main intention is no need to touch Repository..
    we are giving IDOC name in Receiver Interface and sender Interface.
    Here my doubt is from where this IDOC will come as u are not importing IDOC into Repository.
    Please need clarification..
    Thanks in Advance..........
    Regards,
    Reehan.

    Reehan,
    First of all thanks for following everything I had mentioned. I remember the thread quite well.
    Asnwering your question,
    ><i>Here my doubt is from where this IDOC will come as u are not importing IDOC into Repository.
    Please need clarification..</i>
    When the Idoc is triggered from the SAP system , the first thing that happens is that it tries to locate the Business System registered in the SLD for it. It uses the logical system name to be able to do this.
    After it locates the bsuiness system, this is used as the sender service and the idoc name and the idoc namespace are used as the Sender interface and interface namespace.
    Next, using these details, the runtime integration engine of XI is now able to fill the SOAP header for these details and these details are used in the pipeline steps of XI ( Receiver determination ) to determine the receiver and so on.
    The idoc imported in the IR is used just to allow us to have the Idoc metadata for mapping in the IR . The actual runtime metadata is not dependent on the Idoc improted in the IR.
    Regards
    Bhavesh
    PS : Did this scenario work?

  • SAP IDOC to IDOC.xml

    Hello All,
    I have a scenario where I need to pass IDOC.xml from SAP to Legacy system: we need to pass Customer Master and Material Master to the same server.. I am using same File CC to send the IDOC.xml file to the location....
    Is it possible to send the name of the file with respec to IDOC type? Suppose if MATERIAL is sending then Material.xml and if Customer then Customer.xml
    How can I achieve it?? I am not using any ESA objects as I am just passing message from SAP IDOC to Legacy IDOC.xml.
    Thanks
    Rajeev

    Hi,
    I configured what you mentioend... But I am getting test.xml as I used a dummy interface name and name space as I didnt used any ESA (IR) objects.... I am jsut passing the ECC IDOC.xml to IDOC.xml to legacy applicaiton...
    MATMAS01 released from ECC to sap pi.... SAP PI will pass this IDOC to Legacy applicaiton as MATMAS01.xml
    DEBMAS01 released from ECC to sap pi.... SAP PI will pass this IDOC to Legacy applicaiton as DEDMAS01.xml
    As I am not using any transformations and the format target system needed is idoc.xml .. I am using ID objects to forward the IDOC.xml files..
    Please let me know is there any way to dynamically change the file name?
    Thanks
    Rajeev

  • Adapter module in PI 7.1 EhP1 for Falt File Idoc to Idoc xml transformation

    Hi Experts,
                       In PI 7.1 (EhP1) there is a java adapter module that can be added to the file adapter that automatically transforms Flat File representation of IDoc to IDoc XML. Can anyone provide the link to this particular module? Tried searching but could not get the specific module name or parameters.
    The same conversion can be achieved using a standard SAP provided ABAP mapping but we need to use the module in this case.
    Thanks and regards,
    Shiladitya

    /people/william.li/blog/2009/04/01/how-to-use-user-module-for-conversion-of-idoc-messages-between-flat-and-xml-formats
    FYI~~~

  • Error: IDoc XML data record

    Hi all,
       We have file->XI->idoc scenario and the problem we are facing is like, when the idoc structure is prepared using XSLT mapping, when the idoc is ready to get in thru the idoc adapter we are getting the following error.
    <i><b>Error: IDoc XML data record: In segment
    Z1UKGAS_HEADR attribute  occurred instead of SEGMENT                                </b></i>
    Anyone faced the same issue....if so pls do throw some light into this issue....
      We r in XI 3.0 SP13...
    Thanks & regards,
    Jayakrishnan

    Hi,
    In an IDOC structure segment attribute is requried. From the error you posted, it looks like seqment attribute is missing.
    <Z>
       <IDOC BEGIN="">
          <ED SEGMENT="">
          </ED>
       </IDOC>
    </Z>
    Naveen

  • Idoc xml message in JMS adapter

    Hi All,
    Question 1:
        My scenario is MQ series(JMS adaptr) to SAP(IDOC adptr) . In my mapping both source and target structure is same IDOC structure.Where MQ series will send IDOC xml. In such case shall i need to do content conversion at JMS adapter level or not.whthr IDOC xml can be directly handle at Mapping level without doing any content conversion in adapter level.
    Question 2(viceversa):
         SAP(IDOC adptr) to MQ series(JMS adaptr) . In my mapping both source and target structure is same IDOC structure.Where MQ series expect me IDOC xml. How to handle content conversion at JMS recvr adapter level.
    my assumption only in case of (xml to plain) and (plain to xml) require content conversion here my Input and output is IDOC xml.

    Saravanan,
    As Expert Vishnu Mentioned,
    >In such case shall i need to do content conversion
      NO need to use
    >How to handle content conversion at JMS recvr adapter level
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-adapters/how%20to%20use%20the%20content%20conversion%20module%20with%20xi%203.0%20j2ee%20jms%20adapter.pdf
    Cheers
    Agasthuri Doss

  • File to IDoc : XML parsing in ABAP mapping

    Hi,
    In ABAP mapping I want to parse all of the incoming XML strings to internal table.Later I add few more fields to this table and transfer them to IDOC adapter in IDOC-XML format.In thsi case how do i get all of the input file data(converted from XML) into internal table using XML parsing in ABAP Mapping?
    Thansk in advance,
    RP

    Hi Amil,
    I insert into table but not immediately,I want all the parsed xml data into internal table and do something before I insert into DB /send it to IDOC.
    I knwo how to get single Xml parsing,but how to get multple records(looping xml parse) to internal table?
    Thanks,
    RP
    Edited by: RP@261 on Jun 3, 2009 2:14 PM

  • How to convert IDoc-XML to native Idoc-File with in SAP XI/PI

    Hello,
    I have a problem to Create an native IDoc-Format for an File-Receiver.
    The scenario:
    I get an Idoc (ZMATMAS) from a SAP System to an MATMAS-exchange-scenario. One of the non-SAP-receiver-systems needs an other native IDoc-Format as File. So I have to map the ZMATMAS to the receiver Format and write this as File. The problem is, that this file contains the data as IDoc-XML and not as native IDoc-format.
    Has anybody an idea for this problem?

    U need to use sender idoc adapter and file receiver adapter.
    U can do file content conversion at receiver end.
    Content Conversion is basically to convert a text file that contains complex structures into an XML source format and vice versa. It is present only in the File Adapter because it is one of the message protocol which will convert the structure to a desired format.
    There are many blogs for File Content Conversion. Some of them are listed hereunder:-
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    File Content Conversion for Unequal Number of Columns
    Content Conversion ( The Key Field Problem )
    The specified item was not found.
    You may also check the FCC documentation for Sender and Receiver:-
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

  • Idoc flatfile to IDOC xml issue with new PI7.11 module SAP_XI_IDOC/IDOCFlat

    Hi,
    I am trying to develop a scenario as mentioned in the blog using the new module available in PI7.1,but I am getting this error
    "Error: com.sap.conn.idoc.IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "ORDERS05" is unavailable."
    I have made every configuration correct and IDOC meta data available in both SAP R3 and PI,but it is still complaning about the meta data does not exist.
    Blog:  http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13743%3Fpage%3Dlast%26x-order%3Ddate
    did anybody face issue with the new module available "SAP_XI_IDOC/IDOCFlatToXmlConvertor",please help me or give me mre information why I am getting this meta data error.
    Thank you,
    Sri

    Hi Sri,
    To Convert IDOC Flat file into IDOC xml from the given blog, the IDOC flat file should be present in standard format like:
    E2EDK01005                    0000047110815000000000001.........
    E2EDKA1003                    0000047110815000000000002.........
    E2EDKA1003                    0000047110815000000000003..........
    E2EDKA1003                    0000047110815000000000004........
    The Flat file have relationship as IDOC Number "000004711081500000" and segment sequence "0000001".
    If your flat file is not in this formate so i don't think that module is able to convert into IDOC xml. and if your file is already in this format then it may be issue with destinations which are created in NWA.
    Thanks
    Harish

  • Error : idoc xml record in segment attribute instead of SEGMENT

    hi friends
    can any one solve my problem. In message mapping I mapped with a IDOC. In message mapping I Mapped all the fields. Still I am getting the error as "IDOC XML RECORD IN SEGMENT ATRIBUTE INSTEAD OF SEGMENT" I dont know about this error.
    can any one solve this problem please . I am doing this scenario since 5 days. help me..
    thanks in advance
    Vasu

    Hi Vasudeva,
    Can you pls provide little more details on the scenario ?
    Also at which place are you getting this error ?
    Assuming that you have created a message mapping for some source message to target IDoc message, here are some suggestions.
    1) Test the message mapping. (are you getting the error in testing itself ?)
    2) Apart from mandatory fields' mapping, are there any constants to be assigned to some IDoc fields ? Or any node to be disabled ? Or any such additional things...
    Regards,

  • Sending IDOC-xml to R/3 system

    Hi all
          I am doing a bypass File to Idoc  scenario.we taking the input file as idoc xml and sending it to R/3 system for IDOC generation.Every thing is normal but in SXMB_MONI its showing Obligatory node E1EDP10 missing while that segment was persent in the input file then we just replaced <E1EDP10> by <E1EDP10 SEGMENT="EIEDP10"> elated! it worked I thought the problem was solved "EUREKA"........But now the client is telling we should not hardcode any value in the input file they have provided i.e we shouldn't add the segment attribute.
    Its bypass thats why we can't do mapping also......now we r puzzled ........
    can we achieve this by changing the XSD of idoc converting the segment attribute required to optional? or what should be do plz tell us as its urgent.........
    Regards
    saurabh sharma

    Pls avoid creating new threads for the same problem when you have a thread already open for the same issue.
    Regards,
    Jai Shankar

Maybe you are looking for

  • Microsoft Outlook 2011 for Mac sync Contacts and Calendar issues

    OK, so I have a Macbook Pro with OS X Mountian Lion. I have Microsoft Outlook 2011 for Mac installed. Asked @BlackberryHelp on Twitter how to sync my Blackberry Torch with Outlook as it seems to default to using the builtin Apple Contacts and Calenda

  • Multiple Account Assignment PO

    Dear All, I have created a POwith Account Assignment category A and in item detail, multiple account assignment given and saved. When i create MIGO, no accounting document found.But when created for single account assignment, accounting document crea

  • How To Set Password on WRT54G

    When I first got my WRT54G Wireless Router I chose not to set a password that would have to be used in order for pepole to have access to my wireless internet signal. I now want to set a password which would need to be used by anyone who wants to use

  • Can't Copy Folders from AirPort Disk in Windows

    I know this is posted elsewhere, with no answers, but I wanted to get more information in the subject line than the other posts in the hope that someone will help resolve this issue quickly. I have attached a FAT32 formatted external USB HD to my new

  • Standard report for bussiness area wise expenses

    Hi to all I have a little query in our plant we have 4 bussiness area named as ba11,ba12,ba13,ba14. now i want to know that is there any standard report to know business area wise expenses and bussiness area wise purchasing.