Sending IDocs to WebAS http port

Hi,
Are there any .NET code examples on sending an IDoc to Web AS http port? Is this a simple TCP/IP socket level call? Are there any hand-shaking messages? Does it use http payload (GET, POST)?
Thank you in advance for your help.
Pradeep

Hai ramesh,
                    I am configuring the XML HTTP port and here there is no option telling to define the file path name.
And its work fine on the local network as the same system with same configuration is put on the public IP .the SAP server is sending idocs but it  is not received in the Webserver side.
Data is lost somewhere in the middle on the netwrok.
Thanks,
jeevan.

Similar Messages

  • Retrigger failed IDOC with XML HTTP port

    Hi Friends,
    Can anyone suggest me how to retrigger failed IDOCS in we05 with XML HTTP port, any other than we19 to retrigger? I have already gone through all the links in sdn, nothing seems to work, have tried program RSMIPROACT also.
    Thanks & Regards
    Ridhima

    Hello,
    Please check the below SAP Note:
    857321 - Resending HTTP IDocs automatically in status 02
    -Rahul

  • Problem while sending idoc over xml http

    Hello all,
      We have developed a scenario to send the idocs from SAP to Java(Tomcat) web server. Its was working fine. But SOMETIMES the idoc status will be set to 03(Data passede to port OK) on the SAP side, but no data(no xml string) received in the web server. is this depends on the size of the idoc? or due to some JVM settings of webserver??Could someone suggest us a way to identify the problem.
    Thanks in advance
    Regards,
    Vishu.

    Asit Purbey,
      i have send 2 idocs  with different number of segments. idoc with 2 segments is successfully received in the webserver, but the idoc with 100 segments didnt received in the webserver. Then i processed RBDMOIND but both the idocs remain in status 03.. Please help me to figure out the problem......
    Regards,
    Vishu.

  • Error handling problem with outbound idoc status 02 and  XML HTTP Port

    I set up an ALE scenario to send master data out of SAP via an XML HTTP port.  All goes well until the idoc receives error 02. 
    It looks like idocs in this error status with the use of an XML HTTP port can not be reprocessed via the standard SAP techniques.  Program RBDAGAIN takes them out of the list for reprocessing (even though the connection is back up and running).
    Is there any solution to still use the standard ALE error handling ?

    Hi Karin,
    Looks like based on note 701597, you can only reprocess these idocs manually via a workitem.  I qouted the relevant text below:
    3. Error handling with status '02':
    An HTTP IDoc in status '02' should not automatically be sent once again.
    Up to now, the RBDAGAIN report was used to resend incorrect IDocs.
    However, this report was adjusted and now deletes all IDocs in status 02
    to be routed to a HTTP port from the list of selected IDocs. IDocs to a
    HTTP port in status '02' should only be sent manually via a work item.
    Regards:
    Rex

  • HTTP 500 Error while using XML HTTP Port for idoc

    Hi,
    I am trying to send CRM idocs via XML Http instead of usual t-rfc.
    After standard idoc - pi configs i get the below error.
    transferring the IDoc by HTTP, the return code with the message '500Error during parsing of SOAP header' has occurred.
    In BD87 I get the below error.
    The target address was: http://yyyyyy.XXX.local:800X/sap/xi/engine?type=entry
    I get the http 500 error as:-
    Check whether the IDoc can be sent again.
    It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards
    Any idea on how to trouble shoot or resolve this.
    Regards,
    Anirban

    Hi Anirban,
      Follow the below links for troubleshooting.
    Troubleshooting  File-to-IDOC Scenario in XI.
    The specified item was not found.
    Regards,
    Leela

  • How to Send Idoc Acknowledgements back to Http sender (Http to Idoc)

    Hi
    I have scenario: Http To Idoc
    first requirment:
    i need to map xml file come from HTTP Sender to Idoc (SAP system), and need to send Idoc acknowledgements/status back to Http sender.
    second requirment:
    while mapping COM Xml file come from Http to COMMAT04 idoc into SAP system i need to to check whether corresponding material already exist in R/3 or not, if material is not exist, process should be cancelled and alert should be raised. ( i mean to say before sending COMMAT04 idoc into SAP, corresponding material should be exist already, if not alert should be send to  http sender)
    please thrown some inputs, if sombody has already done with htis....
    Thanks in Advance, and help would be appreciated..
    Thanks and Regards
    Rajesh Babu

    Just providing the specifics that Suhail has intended.
    How to handle IDOC Acknowledgements in XI.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    RFC Mapping Lookups:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    Regards,
    Ravi
    Edited by: Ravi Kanth Talagana on Jul 7, 2008 3:32 PM

  • Assignment IDX1 port to sender idoc adapter ...

    Hi gurus,
    I have a big problem and I don't have any idea how to solve it. Please, help me.
    I have a non-SAP system, regular SAP ERP and SAP XI and I need to transfer IDocs between them.
    There is no problem to send IDoc from ERP to XI and forward it to non-SAP system. Unfortunatelly communication in opposite direction doesn't work. XI is not able to receive IDoc sent from non-SAP system because appropriate metadata can not be found in IDX2 cache.
    In configuration of communication channel for sending IDocs to non-SAP (receiver idoc adapter) I selected IDX1 port that is directed to the ERP and it's worknig fine. I can send IDoc from XI to non-SAP.
    But in configuration of communication channel for receiving IDocs from non-SAP (sender idoc adapter) is not possibility to determine any port. Does exist a way how to force sender idoc adapter to use some specific IDX1 port?
    Thank you in advance for every reply!
    Regards,
    Zbynek

    The IDocs are sent from non-SAP system by means of tRFC. Connection type of the RFC destination is type T (TCP/IP) and activation type is Registered Server Program.
    If we sent the IDoc directly into SAP ERP (where the IDoc Type is known) everything is fine
    Edited by: Zbynek Kabrt on May 19, 2009 8:59 PM

  • RFC to send an idoc PEXR2002 using HTTP connection to an external server

    Hi,
      Iam working on RFC to send an idoc PEXR2002 using HTTP connection to an external server. first time iam working on this particular scenario on http connections. please clarify on this and explai me in detail about this.
    Points will be rewarded **
    Thanks & Regards,
    Ravi

    HI Jagruthi,
    Have you loaded the metadata into the XI system by using IDX2?
    If it is done then try to delete once and do once again.
    And also delete the IDoc from IR and reimport the IDoc and activate it once again.
    Regards
    Goli Sridhar

  • Apache HA: Probe sends HTTP request to HTTPS port

    Hello,
    i have a Sun 3.2 Cluster and the Apache HA module configured as described in the documentation. Works fine, except of the probe sending a HTTP request to the HTTPS port - this causes every minute an error log entry which is annoying. The log file runs full of these "HTTP spoken on HTTPS port" messages.
    I have already tried to set the Monitor_Uri_List parameter to http://servername:80/ but this does not help. Has anyone a solution to this problem? Can I just re-create the apache HA module and leave out the '44/tcp' in the Port_list parameter?
    Thanks for help,
    marc.

    It doesnt matter where they are, you just need to set up the two virtual hosts as per my example. The fact that the domains are the same with/without ssl doesnt change my example above.
    So, you need to set up one ssl host for the domain sharpie.pen.com, and a non-ssl host for the domain sharpie.pen.com. If you want bic.pen.com to have the same behavior you will need another pair for that.
    Apache must have a virtual host to respond to a port/domain combination.
    The reason I suggested a re-write rule of the form I did was to ensure that if someone went to:
    http://sharpie.pen.com/webmail/login.php (for instance)
    they would be redirected to
    httpS://sharpie.pen.com/webmail/login.php
    rather than the root of the domain.
    Does this help?
    James

  • Send IDoc to Multiple Ports

    Hi,
    I have a custom IDoc message type YYY17101[Custom Type]. I need to send IDoc using this message type to 2 different rfc destination. The two RFC are
    1. SAP R/3 system
    2. XI system
    My question is which partner profile type i have select to send IDoc using message type YYY17101.
    Can i use partner profile type LS for sending IDoc to SAP R/3 and Partner pofile type US for XI system?
    Thanks
    aRs

    Hi aRs,
    Your challenge is in fact not so very difficult.
    First you define both R/3 and XI as an LS-type partner in your system, since both systems need to receive a message from your target system.
    Then you must use transaction BD64 to create a modelview (or choose in SALE the path Modelling and Implementing Business Processes --> Maintain Distribution Model and Distribute Views).
    Create your own NEW model.
    Use Add message type to add your specific message and supply your own LS system as source and the first target LS system (R/3).
    Use again Add message type to add again your specific message and supply your own LS system as source and the second target LS system (XI).
    If you view your model you will see ONE source system (your own) and TWO target systems (each with the same message below it).
    You can add filters to the message (to prevent incorrect messages to be send) if these are defined in your own IDoc.
    Now you can distribute this model to the target systems (in the menu choose: Edit --> Modelview --> Distribute.
    If the partners in question can be reached this goes OK.
    If all went well, go to the target systems and start transaction BD64 and select the model there. Then choose from the menu: Environment --> Generate partner profiles.
    At this point your ALE customization is complete and communication has been setup.
    So as you see, it is possible.
    Regards,
    Rob.

  • Examples needed for Idoc to file and IDOC to web services

    Hi ,
    Could any one of you give some examples which take me through step-by-step in building IDOC-TO-FILE and IDOC-TO-WEB SERVICES?
    Regards,
    XI Developer.

    Hi,
    For IDOC scenario you need to first do the required configuration:
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    Testing purpose u can use the below method:
    IDOC testing using WE19
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters --> For Idoc sender: IDOC -file
    IDOC configuration:
    Please follow the below process for configuration:
    Pre-requisites for Inbound IDoc to R/3 from PI:
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    SOAP scenario:
    YOu have to first create the WSDL through ID and import that WSDL in to IR external definition.
    Refer the below thread and pdf:
    How to use SOAP adapter:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    SAP AII - How to consume and expose webservices  ?
    Thnx
    Chirag
    reward points if it helps.

  • Sender IDOC issue.

    Dear all,
    I am doing IDOC to FILE scenario.
    I did all the configuration required.
    1) in  r/3 side:- created LS, RFC destination, port ,PP .
    2)XI side:- created rfc destination , port in IDX1.
    IDOC is generated perfectly but in SM 58 I am getting the following error message
    u201D No service for system SAP***, client 800 in ID.
    After this error I created the business system in ID but still I am getting the same error.
    when I tried to import IDOC metadata in IDX2, I  not able to view my port created in IDX1.
    Than got the same error like this forum Re: IDoc Metadata message
    Than created TS and BS as of type WEB AS ABAP with the help of RZ70,
    But still I am getting the same error in IDX2 also.
    In sm58 system looking for which service??
    Regards,
    Navneet

    Hi Navneet,
    Please do the following:
    You send IDocs from system ABC to XI. In the control record of the IDoc, the SNDPOR field contains the value "SAPABC". The client of the sending system is determined by the MANDT field of the control record. The system ID and client are then used to determine a service without party of the type (business-system/business-service):
    Business system
    Activities in the System Landscape Directory (SLD)(Create technical system):
    Create a technical system for system ABC in the SLD, and create the client for this. Do not forget to assign an "ALE logical system" (for example, "ABCCLNT123") to this technical system.
    SLD (Business system):You can now explicitly assign a business system to this client.
    Activities in system ABC (self-registration in the SLD):
    Alternatively, you can register the system in the SLD in system ABC with Transaction RZ70. In system ABC, you can check your configuration with Transaction SLDCHECK.
    Activities in Integration Directory (import business system from SLD):
    You will find the business systems under Services Without Party in the Integration Services. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific identifiers".Use the Import/Update button to copy the data from the SLD, to create business systems, or to update their identifiers.
    Business service
    Activities in the Integration Builder directory:
    You want to create a service without party that is not part of your system infrastructure and is therefore not maintained in the SLD.
    In the Integration Builder directory, you will find the "Business-Services" under Services Without Party. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific identifiers".
    Activate the change list in Integration Directory.
    In system ABC, you can restart the incorrect entry from Transaction SM58 .
    Thanks & Regards
    Prabhat

  • Error in XML HTTP port

    HI Interfaces Experts,
    Need your valuable suggestions on the below SAP to NON -SAP interface-
    Interface : SAP to legacy using XI
    Requirement, need to collect all the created IDOCs in SAP and send a xml file to XI. I have done with help of XML file but would like to handle this requirement using XML HTTP Port. I have configured the XML HTTP Port as below.
    RFC Destination is given
    Content Type : Text/XML
    HTTP Version: 1.0
    SOAP Protocal: Not selected.
    IDOC is getting created with status 02  Message is:      "Error when sending by HTTP"
    Can any one please provide suggestions on how to fix this issue.
    Points would be rewarded.
    Thanks,
    Bond

    Hello,
    In Michal's blog, he described 5 ways for collecting idocs along with its pros and cons. Yours is described in step number 4, maybe you can look at the others
    /people/michal.krawczyk2/blog/2009/05/21/xipi-collecting-idocs--possible-ways-with-pros-and-cons--5-ways
    If you have really decided on using XML HTTP port, make sure you follow the steps as described in this article
    [How Tou2026 Send Multiple IDocs Within One XI Message|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b]
    Hope this helps,
    Mark

  • Idoc to web services scenario

    Hi
    Can any one send me material for  <b>idoc to web services scenario</b>  to my mail id [email protected] or any good links to download material
    Regards
    Pavan

    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How to Set Up a Web Service-Related Scenario with SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    How to Configure the IDoc Adapter
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    How to Sample IDoc Scenarios Within XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660

  • Step to Send IDOC to Webmethod

    I have a Scenario to Send IDOC from SAP R/3 to Webmethods.
    Could you plz tell me the Steps to configure the IDOc and then send it to the Webmethods for further Processing.
    if we have any documentation, then plz forward me.
    Any Links which i can refer to.
    Thanks in Advance !!!
    Edited by: Bhushan Nilawar on Nov 26, 2008 4:24 PM

    Hi
    Since it is an outbound Idoc so
    You have to configure it for port (tcode we21) and then webmetod will pick up the idoc from that port.
    Check this link:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Regards
    Neha
    Edited by: Neha Shukla on Nov 26, 2008 10:22 PM

Maybe you are looking for

  • Sharing an iTunes Library w/Multiple iPods/Computers

    I'm sure there is a tutorial somewhere that tells you how to do this...but I cant seem to find one. I'm trying to find out how to share one iTunes library that is on my mac with another computer on my network (a laptop PC). I have 2 ipods as well, an

  • How to get sound when my laptop is hooked to my tv w/hdmi cable?

    how to get sound when my laptop is hooked to my tv w/hdmi cable?  it's a hd tv and my mac's os 10.6.8 tried using an external speaker both w/the computer and then the tv, but neither worked...... Message was edited by: bevmex

  • How to Format and Label a bootable 20G file-as-a-filesystem?

    I'm trying to create a bootable 20G file that has a UFS filesystem. I'm starting with a bootable Compact Flash (CF) that's 32G, has a UFS file system, and I'd like to "remaster" the 32G CF into a 20G file, then create bootable CF's with "dd" from the

  • How do I create a keyboard in my app?

    I'm planning to make a app that contains my custom keyboard that I also want to intergrate into one of the users main keyboards. How do I make a keyboard, because I'm not sure what to use? Any suggestion would be helpful.

  • Addition of new fields in the standard report QM15

    Dear Experts, i need to add new fields to the standard report t.code QM15 which display the list of items: selection of notifications. the fields i want to add are: 1. batch no 2. Sample no 3. Main vendor 4. text for CDR plz let me know how can i do