Problem with SAPServerHost - Receiver Idoc

Good afternoon!
I am using the component SAP.Net Connector to receive IDOC's from the SAP, for this I created a Windows Service and in the OnStart event I create the SAPServerHost object that will go to talk with the SAP (through the transaction sm59, for example).
It happens that some times the SAP does not obtain to see this object, thus being does not obtain to send the IDOC's for windows service.
Thank you.
Danilo Santos de Oliveira

The SAPServerHost itself doesn't register at the SAP gateway. The actual SAPServer-inherited instances do so. You create them and attach them to the SAPServerHost. The host can control the state of the servers that it hosts, e.g. it can stop, pause and continue them.

Similar Messages

  • Problem with an Receiver Idoc adapter

    Hi.
    We have just went from XI 3.0 to PI.7.10.
    The Receiver idoc adapter is set up in the same way as it was in XI.
    The problem is when two different interfaces runs at the same time I got data into the DC40-record which not belongs too this idoc but from an another interface/idoc.
    The idocs are different messagetypes.
    In this case the field MESCOD which belongs to one of the idocs also appered in the idoc where the field MESCOD not should be used.
    Any idea whats wrong ?
    /Per-Arne

    Thanks.
    Checked sxmb_moni as you said.
    In the OutboundBinding-node I can see the right idocadapter is used
    where 'Apply Control Record Values from Payload' is enabled.
    <SAP:ChannelName>IDOC_INBOUND_U01_110</SAP:ChannelName>
    In the IdocOutbound-node I can see the message code 'EXT' which should'nt be there.
    - <SAP:IDocOutbound xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <SAP:TABNAM>EDI_DC40</SAP:TABNAM>
      <SAP:MANDT>001</SAP:MANDT>
      <SAP:DOCREL>710</SAP:DOCREL>
      <SAP:DOCNUM>0000000000033474</SAP:DOCNUM>
      <SAP:DIRECT>2</SAP:DIRECT>
      <SAP:IDOCTYP>OILLDD01</SAP:IDOCTYP>
      <SAP:CIMTYP />
      <SAP:MESTYP>OILLDD</SAP:MESTYP>
      <SAP:MESCOD>EXT</SAP:MESCOD>
    Too be more specific about the interface.:
    I got one file in from a file adapter and out of that file I produce two idocs into R3 whit
    two different idocs-adapters.
    I think you are right about that the configuration may be mixed up.
    Any idea of what I can do?
    It may be an PI 7.10 bug ?
    Shall I delete all config objects and so set config up from scrach again ?
    /Per-Arne

  • Problem with HR inbound IDoc

    Hi,
    I have a problem with processing inbound IDocs from an external payroll system to infotype 0008.  The process is quite simple; salary changes from the payroll system is recorded to the corresponding employee's infotype 0008.  When testing I noticed that that the new record is recorded as is.  For example if there is already an existing record with the validity dates 01.01.2010 - 31.12.9999 and the new record in the IDoc is 01.01.2011 - 31.12.9999, the new record is written as is.  I would expect the system to delimit the old record correctly - similar to what would happen if you maintain records online.  There is no error checking or any kind of processing done by the system. 
    I did some debugging and found out that the function module linked to process code HRMD writes the information directly to the database.  If this is a standard way of doing this, it is really unusual.
    Has anybody else encountered this?  Any pointers?
    Thanks.
    Edited by: Theo Droste on Jan 20, 2011 11:56 AM

    Hi
    This is correct, the ale programme writes the data directly to the database, I have faced this isssue on occassion. I once raised an oss message on this as well, and sap confirms this is what happens. If it is a sap to sap ale, it somehow seems to work, - this could be because the outgoing idocs are created by sap itself  but if it is a non sap to sap ale the onus is on us to ensure that the external system sends the correct data to sap in the way we intend it to be displayed.
    that is how it has been in my experience. It is unusual, but apparently not impossible. Please let us know if you find out anything different.

  • Problems with sending/receiving picture messages

    Does anyone know how to sort problems with sending/receiving picture messages on the iphone 4S?  I've gone through all the re-setting etc at the place I bought it and it still doesn't work!! Spoken to 02 and they said it's an issue with Apple software?? Any help appreciated.

    Can you send/receive SMS's? If so, and you can't send/receive MMS's, and MMS is turned on in Settings, 99.9% of the time the problem is on your carrier's end...most likely MMS is not provisioned properly on your account, regardless of what your carrier is telling you. Call back & have them remove MMS from your account & then re-provision your account for MMS.

  • Problem with BPM Receive step

    Hy all,
    I have a strage Problem with a BPM Definition into a receive step. I receive from SAP System IDoc and (per dynamic receive determination) I receive it into BPM.
    But the Block that contains the receive Step can't be executed. I get following error message from XI :
    Error when executing work item '000000177354'
    Error when starting work item 000000177354
    Work item 000000177345: Object FLOWITEM method EXECUTE cannot be executed
    Error when executing work item '000000177354'
    Runtime handle of object type  could not be created
    Exception 'ex_EDIFactOrder_received' caught and transferred to the exception handler
    Error when executing work item '000000177354'
    Could anyone help me please.
    Thank's a lot.
    Mat

    I have following scenario :
    Block 1
    1) Infinite Loop with receive step
    2) exception creation (2 minutes) (parallel to 1))
    3) exception  handler (parallel to 1))
    Block 2
    1) Mapping steps + send Steps + container Operation steps (set of flag)
    2) Exception handler (paralle to 1))
    Block 3
    1) receive steps (where I get the error message)
    I hope it's OK
    Cheers
    Mat

  • Problem with File receiver

    Hi, I have the following scenario, File->XI->File and
    I have a problem with the File adapter (receiver). I can't generate it.
    I was reading blog: File-Xi-File scenario donu00B4t work.
    SXMB_MONI shows the message correctly but the receiver file is not generated.
    Somebody can help me?
    Thanks in advanced
    Regards,
    Sergio.

    Hi Sergio,
    I would suggest that you go through this blog for the entire File to File scenario and cross check this with the cofiguration done by you.
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    Also, do check these links for configuring your sender and receiver file adapters.
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Regards,
    Bhavesh
    Message was edited by: Bhavesh Kantilal

  • Problem with extension of idoc in XI

    Hello All,
    I've extended an Idoc in R/3 with new segment.
    That new idoc extension i've mentained in t/code IDX2
    Also, i've imported the new extended idoc in XI in IR.
    Next i've done the related mapoping for the new segment in IR.
    In ID, do i need to change the old idoc name with new extension idoc which i'm using in the Receiver Agreement
    After doing all these above modifications..i've receving the below mentioned error message
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>I::000</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: I::000</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Pls. let me know how i need to proceed further.
    Thanks in advance!!!
    Regards
    Prasad

    Hello Prasad,
    Go through these discussions....
    <IDOC_ADAPTER> ATTRIBUTE_IDOC_METADATA
    Re: ERROR: "IDOC_ADAPTER" / "ATTRIBUTE_IDOC_METADATA"
    File2IDoc Adapter Error
    Hope the above links are very helpful to you..
    Thanks,
    Satya Kumar

  • My ipod classic crashes after about 2-3 days of being attached to my Kenwood KDC-248U receiver in Pickup.  There are 2700  songs but only get through the first 200   Apple has replaced the Ipod 3x and Kenwood says it is not a problem with the receiver.

    My ipod classic crashes after about 2-3 days of being attached to my Kenwood KDC-248C receiver in my Pickup.  There are about 2700+ songs on the Ipod, but only get through the first 200 to 300 songs.  The screen fades, but there is still power and a charge.  Does anyone have a clue because I don't.?

    There seem to be compatibilty isuue with KDC receiver and Ipod Classic firmware 1.1.2.
    Here is an earlier post on the same problem.
    https://discussions.apple.com/message/12471279#12471279
    Good Luck on getting an earlier version ipod firmware. (Google it)

  • Problems with different received message from sql function

    Hello all!
    I have a little problem with my BPEL process. I call a sql function that returns a string. In this string I have a xml. The returned message can be something like:
    <error><id>id_error</id><message>descr_error</message></error>
    or
    <comm>
    <header>
    children tags
    </header>
    <body>
    children tags
    </body>
    </comm>
    As you see, I can receive two types of messages. Of course, the process transforms string -> xml.
    Depending on the type, the process must choose between two flows.
    My questions are: what should be the solution(the steps) to determine what type of message the function returns? In my project, where should I define the same message types in order to assignate them to a variable? In a xsd?
    Thanks in advance!!

    seems like you could solve this with a <pick>. Take a look at the section "One Request, One of Two Possible Responses" in chapter 13 of the bpel developer guide.

  • Problem with file receiving through abap web service

    Hi experts,
    I need to created web service for import file from .NET application into SAP.
    ABAP function expect hexadecimal string (same as GUI_UPLOAD / GUI_DOWNLOAD) but hexadecimal string from C# is too long (double longer), and I have no idea how to convert it. Also there is a problem with code page...
    Is there some better way to do this? Any idea is welcome!

    Hi Nemanja,
    Please bear in mind that your SAP system is based on UTF-8 encoding. Since you have the xstring length doubled, most probably your sender system uses UTF-16 encoding. So what you need to do is change the encoding used by your .NET application when sending the data to SAP.
    Alternatively, you can try using XSL Transformations in ABAP to have the input data converted from UTF-16-encoded xstring to ABAP structures. You can find a little example in this thread: ABAP data to XML conv with UTF-8 encoding and custom namespace. The point is to start your XSLT with the following: <?xml version="1.0" encoding="utf-16"?>.
    Hope this helps,
    Greg

  • Problems with the receiver

    Hello,
    I've just got my Nike + iPod today. I inserted the receiver to my iPod Nano and nothing happened...
    When I go to Setting>About, there's no mention to the nike + ipod. The only place it shows in my iPod is under Settings>Main Menu. There I can find an on/off option, but it does nothing.
    Do I have a broke one here?
    Thanks,
    Pedro

    I would make sure both your iTunes and iPod software are fully up to date. If that is already so, try resetting your iPod with the receiver in it, by holding down your menu button and the center button at the same time for at least 3 seconds. This should shut off your iPod and give you the Apple trademark logo. Once that happens, you are ready to push the menu button and center button at the same time again and this should restart you iPod and hopefully Nike+ will then show up in our main menu (of course, you'll have to make sure that you still have Nike+ set to show on your main menu in your settings as you already played with).

  • PI - Problem with a receive WSDL message with encode (envelope)

    Hello,
    I'm having a ploblem with a PI interface with the scenario below (synchronous):
    ECC (proxy) <-> PI <-> 3rdParty (soap)
    The WSDL provided has a kind of envelope (soapenc:arrayType). Here's the structure declaration:
             <xs:complexType name="TTUDResultArray">
                <xs:sequence>
                   <xs:element name="Success" type="xs:boolean" />
                   <xs:element name="ErrorDescription" type="xs:string" />
                   <xs:element name="Count" type="xs:int" />
                   <xs:element name="Accounts" type="ns1:TTUDInquiryResultArray" />
                </xs:sequence>
             </xs:complexType>
             <xs:complexType name="TTUDInquiryResultArray">
                <xs:complexContent>
                   <xs:restriction base="soapenc:Array">
                      <xs:sequence />
                      <xs:attribute xmlns:n1="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType" n1:arrayType="ns1:TTUDInquiryResult[]" />
                   </xs:restriction>
                </xs:complexContent>
             </xs:complexType>
    When I import this WSDL as a External Definition, the field Accounts is displayed with error (in red), as the PI was incapable to read this kind of type definition.
    Testing in SoapUI, the response message is displayed with a different structure than it's possible to see in the PI Operation Mapping:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
       <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:NS2="urn:TUDIntf">
          <NS1:InquireDateRangeResponse xmlns:NS1="urn:TUDIntf-ITUD">
             <return href="#1"/>
          </NS1:InquireDateRangeResponse>
          <NS2:TTUDResultArray id="1" xsi:type="NS2:TTUDResultArray">
             <Success xsi:type="xsd:boolean">true</Success>
             <ErrorDescription xsi:type="xsd:string"/>
             <Count xsi:type="xsd:int">2</Count>
             <Accounts xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="NS2:TTUDInquiryResult[2]">
                <item href="#2"/>
                <item href="#3"/>
             </Accounts>
          </NS2:TTUDResultArray>
          <NS2:TTUDInquiryResult id="2" xsi:type="NS2:TTUDInquiryResult">
             <AvailableAmount xsi:type="xsd:double">49</AvailableAmount>
             <PaymentAmount xsi:type="xsd:double">49</PaymentAmount>
             <PaymentStatus xsi:type="xsd:string">AC</PaymentStatus>
             <PaymentNbr xsi:type="xsd:string">110201</PaymentNbr>
             <Success xsi:type="xsd:boolean">false</Success>
          </NS2:TTUDInquiryResult>
          <NS2:TTUDInquiryResult id="3" xsi:type="NS2:TTUDInquiryResult">
             <AvailableAmount xsi:type="xsd:double">50</AvailableAmount>
             <PaymentAmount xsi:type="xsd:double">50</PaymentAmount>
             <PaymentStatus xsi:type="xsd:string">AC</PaymentStatus>
             <PaymentNbr xsi:type="xsd:string">123456</PaymentNbr>
             <Success xsi:type="xsd:boolean">false</Success>
          </NS2:TTUDInquiryResult>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I`ve tried to map the WSDL inside my interface, but always I test (on SPROXY or Runtime Workbench) an error message is displayed:
    Error While Sending Message: Error stack from response: Runtime exception occurred during application mapping com/sap/xi/tf/_mmInquireEZCashtoEcc_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:mtInquireEcc_response. Values missing in queue context. Targe~
    Someone knows if that's some tip of how to use this kind of WSDL?

    Hello,
    Looks like an RPC style WSDL to me. Can you ask the third-party to provide you with a document-literal wsdl? You can refer to the points mentioned by Stephan in this thread.
    Problem with RPC/encoded WSDL
    Thanks to Raj for pointing out that I did not have the thread link
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Dec 12, 2011 2:34 AM

  • E61: problems with automatically receiving emails

    Hi.. I have had my E61 for quite a while already but am having problems with its internet connectivity. Basically everytime I attempt to connect to the mobile internet it very rarely connects on the first attemp, but normally I have to try 2-3 times for it to connect (even with full 3G reception. This means that when I set my email (IMAP) application to fetch emails every 2 hours it can't because it can't connect on the first time, so I have to manually connect to the mail application. Is there anything I can do to fix this with a firmware fix? or is it a problem with T-Mobile UK?
    Thanks

    It's the Yahoo servers. whether or not they are up and running have nothing to do with it. Password rejection is an ongoing problem with Yahoo. Sometimes it is caused by more then one device tryiing to access the Yahoo server with the same username and password at the same time or within minutes of one another. Yahoo by default only allows one connection for X amount of time. So if you have a smart phone with the yahoo mail setup on it and it tries to access the server and then your computer tries to access the server it will reject the request. Giving you the bad password dialog.
    Switch your primary email over to Google Mail as Google does not have these restrictions and you can actually use IMAP with Google mail.
    You can even forward all your yahoo mail to a google account so you don't have to go and change all your logons and contacts to use Gmail.

  • Problem with CC Receiver with AS2 Adapter Seeburger

    Hi,
    I try to test the AS2 Adapter with Receiver channel y one server and Sender channel in second server, but in the Receiver channel, I have the error :
    "MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2."
    I find the error and I found the URL Error in AS2 adapter. Object not found in lookup of as2.. Its urgent..!! with the same problem, but I have the same configuration in the Party of the receiver and the Sender, the same AS2ID name, and try with the solution in the forum respect the Party name in the scenario of the Receiver, but don't work.
    My scenario is send an IDOC from R/3 to a partner with the AS2 receiver channel.
    Is my fisrt scenario with AS2 adapter. Somebody help me please with any example or with any idea about the solution to my problem?
    Greetings,
    Hervey

    I have resolved this problem, thanks.

  • Problem with soap receiver adapter

    Hi All
    I have Idoc sender and soap receiver in my scenario.
    I am calling web service deployed on WAS.
    The web service is getting called but the acknowledgement message in xi contains following system error acknowledgement because of which xi changes the status of message to WAIT and starts retrying.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: java.net.SocketTimeoutException: Read timed out: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.SocketTimeoutException: Read timed out</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please anybody can help to resolve this problem. This scenario has worked without any error previously.
    Thanks in advance
    Beena

    Hi Bhavesh,
    It is an Async call where method does not return anything.
    I added entries in IDX_NOALE but still it is setting the message status to WAIT and does retry.
    Following is the Audit Log in Runtime workbench :
    Audit Log for Message: 22b3052d-c519-034e-85db-e65d541d6414
    Time Stamp Status Description
    2006-12-13 10:25:23 Error SOAP: error occured: java.net.SocketTimeoutException: Read timed out
    2006-12-13 10:25:23 Error Exception caught by adapter framework: Read timed out
    2006-12-13 10:25:24 Error Delivery of the message to the application using connection AFW failed, due to: Read timed out.
    2006-12-13 10:25:24 Success The asynchronous message was successfully scheduled to be delivered at Wed Dec 13 10:30:24 GMT+05:30 2006.
    2006-12-13 10:25:24 Success The message status set to WAIT.
    2006-12-13 10:30:25 Success Retrying to deliver message to the application. Retry: 1
    2006-12-13 10:30:25 Success The message was successfully retrieved from the receive queue.
    2006-12-13 10:30:25 Success The message status set to DLNG.
    2006-12-13 10:30:25 Success Delivering to channel: INSPWCCT_PVtoSAP_Ack
    2006-12-13 10:30:25 Success SOAP: request message entering the adapter
    2006-12-13 10:35:28 Success SOAP: call failed
    2006-12-13 10:35:28 Success SOAP: sending a delivery error ack ...
    2006-12-13 10:35:28 Success SOAP: sent a delivery error ack
    2006-12-13 10:35:28 Error SOAP: error occured: java.net.SocketTimeoutException: Read timed out
    2006-12-13 10:35:28 Error Exception caught by adapter framework: Read timed out
    2006-12-13 10:35:28 Error Delivery of the message to the application using connection AFW failed, due to: Read timed out.
    2006-12-13 10:35:28 Success The asynchronous message was successfully scheduled to be delivered at Wed Dec 13 10:40:28 GMT+05:30 2006.
    2006-12-13 10:35:28 Success The message status set to WAIT.
    I have tried this scenario earlier. I am sending the same Idoc from R3 which was processed successfully earlier.
    Thanks
    Beena.

Maybe you are looking for

  • Open file in excel from labview

    I need a way to open an existing Excel file, that may or may not be open already.  I am using the attached "Open Specific WorkBook.vi" from the examples.  My LabVIEW program must be able to either open a specifc Excel workbook and worksheet even if i

  • With the Firefox upgrade I can no longer download pictures from my camera to my iMac osx. Please help.

    Before i upgraded to the latest Firefox, I could easily download photos from my Lumix to my computer, an iMac 24 inch with OSX 10.4.1. Since the Firefox upgrade, my computer does not accept the camera. No icon appears on my screen. Neither is there a

  • Firfox 19.0.2 dont load pages properly

    Most pages I open with Firefox give me a "Server cant be found" error message i.e Firefox can't find the server at www....I then have to hit the "try again" button (sometimes more than once) to get the page to load. Some pages when they do load does

  • HT4623 my iPhone 5 says no service

    why is this happening currently i am in saudia using zain network

  • RMAN-20201

    Hi All, info: RHEL 5 and 10.2.0.4 Im attempting to restore a DB onto a test machine from a backup taken of production. we use a recovery catalog and a list backup with tag command shows the backupsets as available. I started the restore onto the test