IDOC to HTTP tutorial  and vice versa

Hello all,
I am a beginner in PI and I have just configured my first IDOC to file scenario. I am looking to implement an IDOC to HTTP scenario where I create an order in ERP 2004 and the order is sent as an XML file via PI into a suppliers website. I am trying to find a tutorial on how to do that but after looking here in SDN and in google, I couldn't find something helpful. There are plenty of file to idoc and idoc to file tutorials, but not an idoc to http .
Could you please provide me with some links or some information on where I can start with that. I am also interested on the reverse, i.e. HTTP to IDOC: The supplier sends the invoice in XML format through PI and I receive it in my ERP 2004 system as an IDOC
Many thanks
Andreas

Hey folks!
We have a PI 7.31 SPS5 Java-only installation here and are using the module IDOCFlatToXmlConvertor. For single IDocs with one line for the EDC_DC40 header and the others for the IDoc payload the conversion works. But when we want to process multiple IDocs from the same type within one file, we see this error in the log:
Module Exception 'com.sap.aii.af.idoc.exception.IDOCModuleException: No data segments for DOCNUM = ' found, cause: <null>
Are there any requirements how the multiple IDocs have to be structured within the file?
Best regards
Heinrich
Update:
I found out that the module wants each record to contain the corresponding DOCNUM to find the matching records. The non-SAP sender system normally does not set this value. Is there a way to "convince" the module to convert the IDocs nevertheless?

Similar Messages

  • IDOC to flat file and vice versa

    Dear community,
    we should send IDOCs to flat files and read plain files and map them to IDOCs.
    Is there any comfortable way to do this without doing a huge content conversion for
    IDOCs? Exist a SAP standard for such process?
    We receive the IDOC as normal IDOC. Would it be more easy to save the IDOCs
    directly as flat file on ERP file system??
    System PI 7.11
    IDOCS: WHSCON, WHSORD and WMMBXY
    Regards
    Chris
    Edited by: Christian Riekenberg on Feb 1, 2012 2:41 PM

    Hey folks!
    We have a PI 7.31 SPS5 Java-only installation here and are using the module IDOCFlatToXmlConvertor. For single IDocs with one line for the EDC_DC40 header and the others for the IDoc payload the conversion works. But when we want to process multiple IDocs from the same type within one file, we see this error in the log:
    Module Exception 'com.sap.aii.af.idoc.exception.IDOCModuleException: No data segments for DOCNUM = ' found, cause: <null>
    Are there any requirements how the multiple IDocs have to be structured within the file?
    Best regards
    Heinrich
    Update:
    I found out that the module wants each record to contain the corresponding DOCNUM to find the matching records. The non-SAP sender system normally does not set this value. Is there a way to "convince" the module to convert the IDocs nevertheless?

  • Data transfer between SAP & Java and Vice versa using IDOC Process

    Dear Experts,
            We are working on one of the good requirement related to data transfer between SAP and Java software. Client requirement is, they want to transfer the data in both the ways (from SAP --> Java and Vice versa also).
    In detail is, after sales order creation using one custom program loading plan details will be calculated. Once loading dates are confirmed then, user will release the sales document to transfer the data from SAP to Java using "Outbound IDOC processing". Similarly in that JAVA software some shipment details will be performed, once completed from JAVA software again details needs to be pumped back to SAP as "Inbound IDOC Processing".
    For this fields are already identified from external software SAP and we are looking for the same to perform the steps in SAP.
    At this stage, I need your expert opinion  / feedback how to go  about at this stage.
    Meaning,  
                     1. What are the customizing steps needs to be done in SAP..?
                     2. How to trigger the :Outbound IDOC process" once the documents are "Released" from custom transaction
                     3. How to create the link between SAP and JAVA to transfer the data between these 2 software
                     4. How to trigger the "Inbound IDOC Process" from JAVA software to SAP and how to store the data in SAP
    Experts, please give your feedback in terms of reply or by sending the step by step process to fulfill this client requirement.
    Thanks for your cooperation.
    Regards,
    Ramesh

    Maybe too many open questions in the same document.
    Maybe you should repost a more specific question in a technical forum.
    This looks like a small project where you already know what you want, maybe you should contract a technical specialist so he proceeds to the implementation!

  • How to link idoc with its corresponding documents and vice versa...

    Hello Experts,
    What are the tables, transactions, etc that can link a certain document(e.g. PO, GR, invoice) to its IDoc and
    vice versa.
    Thank you guys and take care!

    Hi,
    The Message Control parameters from the partner profiles must also match the corresponding
    fields in the output type. These parameters include:
    u2212 Application
    u2212 Partner
    u2212 Partner function
    u2212 Output type
    Tcode  - NACE  (Output Control)
    Tables - SRRELROLES  (Object Relationship Service: Roles)
    Message Control is a mechanism by which documents are output based on certain conditions.
    1) The application id, communication structure and o/p determination procedure are responsible for triggering IDocs corresponding to a particular application document. For this to happen message control settings have to be done.
    2) Message Control u2013 also referred to as output control or conditioning technique u2013 is a cross-application component used as a service program in several areas. The basic concept behind Message control is to generate and manage outputs from an application and control their timings and medium of exchange.
    3) Message control settings can be done via transaction NACE or via transaction NACO.
    4) Starting point in message control in the u201COutput Determination Procedureu201D (Procedure within NACE txn.). Depending upon the configuration setting in SPRO this procedure is determined.
    A procedure defines a set of possible outputs for an application. We can define several procedures for an application, but only one can be configured as
    active (i.e. for a particular transaction document within an application only one procedure will be determined based on configuration settings).
    Eg->
    a) For Delivery (txn. VL01NO) the document type setting in configuration (SPRO -> Logistics Execution -> Shipping -> Deliveries -> Define Delivery types) determines the procedure.
    So whenever we save a document of particular application (of particular application id) and of particular document type, the particular o/p determination procedure is triggered.
    b) For sales, SPRO -> Sales and Distribution -> Basic Functions -> Output Control -> Output Determination -> Output Determination Using the Condition Technique.
    5) In the transaction NACE we can see that corresponding to application id (say u2018V2u2019 (shipping)) various procedures are defined:
    6) Before making the entry of the output type corresponding to a particular procedure, we have to define it with its attributes.
    The output type defines the characteristics and attributes of the output itself. We can access the output types on transaction NACE by selecting an application and clicking the Output type button.
    7) Access sequence defines a sequence in which business rules are checked for proposing an output type. It has following attributes:
    - A set of business rules or conditions.
    - A sequence in which the rules or conditions are checked.
    - A requirement that checks for business rules using ABAP programs.
    - An exclusive or inclusive strategy.
    We can access the access sequences on transaction NACE by selecting an application and clicking the Access Sequences button.
    Business rule 1 is based on SOrg./Distrib.Ch/Division/Customer. Business rule 2 is based on Sales Organization/Customer Number. Each business rule is, effectively, a set of fields defined in a condition table.
    8) Condition table specifies the key fields for a business rule. Hence for Business rule 1 the key is Sales Org., Distribution Channel, Division and Customer.
    9) Condition records are inserted in the condition table. The transaction is evaluated with the key (of the condition table based on business rule) and if the transactional data matches with the condition record the output is proposed.
    Condition records are defined at last.
    10) Several programs and tables are part of Message Control. For EDI, the following tables and programs will frequently be dealt with:
    *NAST - This table has an entry for the processing program used for an output type.
    *TNAPR - This table has an entry for the processing program used for an output type.
    *RSNAST00 - This program is used to process entries in the NAST table.
    *RSNASTED - This processing program exists for each output medium. ALE_PROCESSING is the routine in the RSNASTED program to process ALE outputs.
    11) Final overview of the components used in Message control to propose outputs.
    12) After doing all the settings for message control, the partner profile setting for this ALE scenario needs to be accomplished. We need to add the following entry to the outbound parameters of the partner profile:
    13) One important question that arises at this juncture is, how is the partner profile determined from the output type is case of ALE?
    This is information is stored in table EDP12 (Partner Profile: Outbound with Message Control). Based on the Partner type of receiver (RCVPRT), output type (KSCHL) and Application for message conditions - without value table (KAPPL), the Partner number of receiver (RCVPRN), Outbound process code(EVCODA), Message type (MESTYP) and other related values are determined.
    Regards
    Pugazhenthi.P

  • Object Creation Of One class into another and vice versa

    Hello Everyone,
    My name is Prashant Sharma from Jaipur [Rajasthan]
    Can u people help me
    How to create of one class into another and vice versa
    Eg,
    I am having class A and class B
    I want to create object of class A into class B and vice versa
    Plz help me out of this problem as soon as possible....

    Read this: [Creating Objects|http://java.sun.com/docs/books/tutorial/java/javaOO/objectcreation.html]
    Then, do one of these three:
    1. Create an instance of the class
    2. Extend the class
    3. Access methods within the class
    Try it out. Post the problem code if you're having trouble.

  • My family of four (2 iPhones, 2 iPods) all share the same iTunes account.  Many text messages sent to or from mine or my husband's phones are also received on my daughter's iPod, and vice versa. How do I fix this?

    How can I keep text messages sent from my or husband's phone from being received on daughter's iPod, and vice versa? We have five devices on one iTunes account - 2 iPhones, 2 iPods and an iPad.

    Hello Hrd1977,
    This is typically caused by both devices sharing an Apple ID for iMessage and FaceTime.  I would recommend signing out of iMessage on your daughter's device.  Go to Settings > Messages > Send & Receive, tap your Apple ID, and select Sign Out. Then sign in with the desired Apple ID.
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Cheers,
    Allen

  • How to sync my iPhone to my MacBook Pro and vice versa as it no longer seems to be doing?

    How to sync my iphone to my MacBook Pro and vice versa as it no longer seems to be doing? When I initially set up everything it worked fine; however, now my contacts are not syncing between devices?
    I have Icloud and even paid for ectra storage to see if this was the issue but it doesnt seems to be.  When I try and view devices on my itunes to sync it will not allow - blank option?
    If anyone could please help it would be really appreciated- thanks in advance:)

    I don't know how you got to your current position, but you might want to start by replacing your calendar with your MacBook Pro calendar if it is correct (if it isn't, skip this):  first disable calendar syncing on your phone (Settings>iCloud>Calendars set to OFF), then prior to syncing open iTunes on your computer and disable automatic syncing (under Preferences>Devices>Disable...from syncing automatically syncing).  Next connect your phone and set your sync settings on the Info tab to Syc Calendars with iCal, and below under Advanced choose "Replace Information on this iPhone" and check Calendars.  Now sync and this will hopefully replicate your MacBook calendar on your iPhone.
    Next, carefully review this to see that you have correctly set up iCloud on both your phone and your MacBook: http://www.apple.com/icloud/setup/, and that your meet the minimum system requirements (latest version of iOS on your phone, latest version of iTunes, OSX Lion 10.7.2 or later).

  • Navigate from WebDynpro Application to BPS Layout and vice versa

    Hi,
    Please see the following Problem Statement:
    We have WebDynpro applications and BPS applications in our project. All the applications are published via SAP Portal. Both areas (WebDynpro and BPS) have same selection screen (Selection fields are common). Is it possible to call
    WebDynpro application from BPS layout (on click of button)and also passing the selection parameters to the WebDynpro application and vice-versa.
    - Sujal Shah

    Hi,
    You can you free tool from Oracle called OMWB (Oracle Migration Workbench) for SQL Server to Oracle.
    For more details, visit http://www.oracle.com/technology//tech/migration/workbench/index.html
    From Oracle to SQL Server, there are third party tools available.
    Cheers,
    Harshw
    Message was edited by:
    [email protected]

  • What are the best ways (for best performance) in MII to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?

    Hi All,
    Can you please suggest to choose the best ways (for best performance) in MII (12.2 on NW 7.3), to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?
    Thanks

    Hi Surya,
    Best practices for flow of data from ECC --> SAP MII --> Shop floor & Vice verse:
    1. Send ECC data through IDOC's/RFC's as messages to SAP MII message listener and BSL transaction process data and update directly on shop floor database as if you configured in Data services or later send those data by web service to shop floor system (i.e. depends on Shop floor machines).
    From Shop floor:
    shop floor --> SAP MII --> ECC
    1. Use either Web service or fetch data from DB and pass data to BAPI's  for sending to ECC through BLS transaction.
    Regards,
    Praveen Reddy

  • PDF to Word.doc Converter and vice versa

    Hello!
    I am in need of a program capable to convert PDF files to Word documents and vice versa (eventually, a program for each way). The converter needs GUI and must handle images, tables etc. (not just plain text). Does anyone have any tip concering which
    program I should use? It has to be free as my working place has not budgeted with buying 100 licenses. :-)
    Thanks in advance!

    Free? You'll be lucky. Your best bet to achieve your requirements is a PDF compatible OCR application such as Finereader. Free it ain't!
    <IKT-kr> wrote in message news:[email protected]...
    Hello!
    I am in need of a program capable to convert PDF files to Word documents and vice versa (eventually, a program for each way). The converter needs GUI and must handle images, tables etc. (not just plain text). Does anyone have any tip concering which program
    I should use? It has to be free as my working place has not budgeted with buying 100 licenses. :-)
    Thanks in advance!
    Graham Mayor - Word MVP
    www.gmayor.com
    Posted via the Communities Bridge
    http://communitybridge.codeplex.com/

  • My screen goes off and on once its changes power from AC to Battery and vice versa

    Dear All
    I started noticing this from today ownwards that whenever the power is switched off and goes to battery mode and vice versa the screen turns off and on for 1 second. I dont know this is normal or i did mess up with some kind of power options. I am using T410i.
    Please help me out in this.
    Solved!
    Go to Solution.

    Hi sanku500, and welcome to the Lenovo User Community!
    What you're seeing is the video refresh rate switching:
    http://forums.lenovo.com/t5/ThinkPad-Edge-Knowledg​e-Base/Display-screen-flickers-blinks-goes-blank-o​...
    Hope this helps!
    I don't work for Lenovo. I'm a crazy volunteer!

  • SSRS subscriptions in default zone of sharepoint 2013 are not showing in intranet zone and vice versa.

    one of the Sharepoint 2013 site collection has alternate access mappings created. Default site is .com and intranet is .local.
    So when we add SSRS subscription in .com - they are not showing in .local and vice- versa. How do we fix this so the subscriptions are same in both .com and .local.

    Hi spanda,
    Per my understanding that you have configured the alternate access mappings which Default site is .com and intranet is .local. But the subscription in one of the site will not list in another mapped site, right?
    Actually, if you are on a different Alternate Access Mapping other than the Subscription was created on, we will get no subscriptions, Because we are using the method "Microsoft.ReportServices.SharePoint.UI.ManageSubscriptionPages"
    to deal with the logic by creating the value for "m_reportUrl" using the current context of the URL the user is using and passing that to the "SubscriptionListControl".  You can find the code in this article if you have some
    knowledge of development:
    SQL Server Reporting Services ignores Alternate Access Mappings When Checking for Report Subscriptions
    I recommand you to submit an feedback at
    https://connect.microsoft.com/SQLServer/
    If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level of service
    provided.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Documents related to SUP complete flow(Device to Server and Vice versa).

    Hi,
    Iam using SUP 2.1 ESD#1 licensed version, Please send some documents related to SUP complete flow(Device to Server and Vice versa.
    Thanks,
    B.Ushasri

    Hi Ushasri,
    I assume you are aware that SUP2.1.x offers you two kind of functionality.
    1. Typical SUP (Using MBOs) functionality.
    2. Online data proxy (ODP) -- For online application using REST services.
    You can find the complete  2.1ESD1 documentation @ http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.pubs.docset-SUP-2.1.1/doc/html/title.html
    However if you looking to start with ODP functionality you can refer to below doc as well.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/607b76a7-c345-2f10-d5b3-f236ea676cb1
    Regards
    Rohith

  • When I delete a mesage on I phone, does it delete on my computer? and Vice versa?

    If I delete an email on my Iphone, does it automatically delete on my computerl? and vice versa?

    I was trying to be brief, well there you go
    http://en.wikipedia.org/wiki/IMAP

  • Transfer photos between Revel and Photoshop 12 and vice versa

    I have Windows 8.1, Photoshop 12, Revel Premium.  How can I edit photos stored in Revel?  Also, how can I move photos in Revel albums to PS for editing?

    Hi
      I was bumped off of the Adobe Chat since they did not support  PS12. 
    Bummer.
    In a message dated 10/20/2014 2:48:03 A.M. Mountain Daylight Time, 
    [email protected] writes:
    Transfer  photos between Revel and Photoshop 12 and vice versa
    created by *V (https://forums.adobe.com/people/*V)  in Revel - _View the
    full  discussion_ (https://forums.adobe.com/message/6846989#6846989)

Maybe you are looking for

  • I need a list of all folders created in Profile folder by Excel 2013

    I am having issues with Excel 2013, I have noticed some folders are missing .e.g xlstart.  So I need a complete list of folders created by Excel 2013 to compare

  • Unable installing Forms 11.1.2.0.0 on Win7

    Hi, I try to install Forms 11g R2 11.1.2.0.0 / WL 10.3.5. on Win7 32 and get a error while configuring "Unable to create ASInstance": 1.) installed WL incl. patch p12564602_1035_Generic 2.) try to install Forms 11g R2 11.1.2.0.0: configuring process:

  • Issue Tracking Application

    Can someone please help. I have been through Chapter 10 of the 2 Day Play Application Express Developer Guide 2.1, "How to Build and Deploy an Issue Tracking Application". At run time when I select the Delete button, the confirmation box appears. Sel

  • Bex Browser in NW2004s

    Dear Prakash,    Can I still use the BEx Browser (Windows Version) in SAP NetWeaver BI 2004s?     The BEx Browser is on maintenance. There are no new features developed and  the tool is phased out. You can still use it in NW 2004s BI for queries, tem

  • Need help with Photoshop text?

    Hi - I have been using Photoshop Elements 10 for about a year.  I use it a lot to add text to images.  For some reason within the last week, I am unable to add any text to images.  When I try to do this (once I click on the 'T' and then click on the