Message struck at inbound que in server proxy

Sub :Message struck in SMQ2 with status text"ThiSend:bad tm type" .
HI,
I executed inbound proxy form PI 7.0, the message was struck in the inbound queue of ECC 6.0,
with status text "ThiSend:bad tm type /connection closed (no data)".
when i test the same message from 'SPROXY' t.code, inbound proxy class was working fine.
I came to know the message scheduled due to function
module sxms_async_exec
and raising an exception as ThiSend:bad tm type/
connection closed (no data)
please provide the details like when this function
module throw an exception as connection closed(no data).
inside inbound proxy,
could you please suggest us, what should be avoided inside the proxy
method.
warm regards
mahesh.

Hi Chaitanya,
                   previouly, i have the same problem.
                   At that time, we are using 'submit' command inside proxy method i.e i ABAP program.
                     because of that, the message was struck in the inbound que.
                   'submit' is not suggestable inside proxy method.
                   so, pls check your ABAP Program.
warm regards
mahesh.

Similar Messages

  • Screen output without connection to user, Message struck at inbound queue

    Chaps,
    I executed inbound proxy form PI 7.0, the message was struck in the inbound queue of ECC 6.0,
    with status text "Screen output without connection to user" then when I apply execute LUW then it is converted to
    "ThiSend:bad tm type /connection closed (no data)".
    when i test the same message from 'SPROXY' t.code, inbound proxy class was working fine.
    I came to know that when we call an ABAP program in side a proxy then it will throw same error what I got by checking the below url
    Message struck at inbound que in server proxy
    But in my proxy. I am just putting the data into z table and on some condition I am calling some other BAPI call.
    Here my doubt is calling the SUBMIT for other ABAP program is same as calling the BAPI call?
    because in the above thread clearly saying that don't use the other ABAP program in proxies. is the same case for calling the BAPI call into the proxy?
    In proxy, the logic is I am just simply reading the data from IS(integration server, PI7.0 SP 18) to ECC 6.0(SP14) if the row is not there the data is reading into table. If row is already there then it is stuck up in SMQ2 (inbound queue) of the ECC
    am I missing any basic things? please guide.

    But in my proxy. I am just putting the data into z table and on some condition I am calling some other BAPI call.
    Here my doubt is calling the SUBMIT for other ABAP program is same as calling the BAPI call?
    I too believe ..
    because in the above thread clearly saying that don't use the other ABAP program in proxies. is the same case for calling the BAPI call into the proxy?
    It is saying not suggestable...!!!! BAPI calls work perfectly !1
    In proxy, the logic is I am just simply reading the data from IS(integration server, PI7.0 SP 18) to ECC 6.0(SP14) if the row is not there the data is reading into table. If row is already there then it is stuck up in SMQ2 (inbound queue) of the ECC
    am I missing any basic things? please guide.
    Seems so,
    Lets try below things..
    1. Plz check the user is having auth to run the executable program in ECC.
    2. It seems that you are not using the proxy structures in a correct way..and check the calling program also..!!
    Edited by: Santosh Rawat on Jul 30, 2009 1:12 PM

  • How to set the parameter of xi header in server proxy

    Hi,
    Does anyone have idea, how to set ref_to_message_id of a client proxy in the server proxy? My problem is, I send a message to a server proxy. The server proxy receives the message, retrieves the message id and tries to set the ref_to_message_id of the message, which will be sent to a client proxy, with its message id. I only find some useful functions to get these information of client proxy and server proxy like message_id etc. in runtime. But I did not find the "set" function to set these parameters. Maybe someone can tell me at first, if it is possible to set such parameters in runtime in server proxy.
    Can anyone help?
    regard
    hu

    Hi Chilla,
    what I want is to monitor the related message bundle easily. In my server proxy, many different client proxies are called and messages are transfered. So under the SXMB_MONI I will find many message exchanges for one server proxy call. Because the server proxy is called so often, I cannot distinguish under the SXMB_MONI, which message exchanges are caused by which server proxy call.
    So I have an idea. If I can set the ref_to_message_id of the messages for the client proxy calls with the message id of the server proxy call, then I can at first select the message of the server proxy call and find the messages for the related client proxy calls easily using the button "referencing message". The message id of the server proxy call can be retrieved. So my problem is now, how to set the ref_to_message_id of the messages for the client proxy calls with this messag id in the server proxy.
    Of cource, if anyone has better idea, how to resolve the situation in another way without setting the ref_to_message_id, pleases inform me.
    regards
    Bin

  • Creation of Server Proxy for  Message interface with External Defination

    Dear All,
    I am getting a problem while generating a server proxy for the inbound interface . The request message used in the inbound interface is a external definition which is uploaded using a XSD file. The XSD file was supplied by a third party which is having very high complex strucuture and used lot of abstract data types in the design. When i tried to generate the proxy in the R/3 system (Transaction SPROXY) for the inbound interface i am getting following error.
    Interface uses external and internal message definitions
    Message no. SPRX122 *
    Diagnosis
    In a message interface you can use messages from different sources:
    Message types and fault message types edited in the Enterprise Services Repository
    Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Enterprise Services Repository.
    Please guide me, how to generate the proxy for the interface with external defination message. I could nt geneate manullay, because it is having very high complexity and its a big structure.
    Is there is any way to generate the proxy for interface with external definition
    Regards
    Vijayanand

    Hi,
    i.       Import your message schemas from external definitions, or RFCs or IDocs from SAP systems. These definitions already contain data types.
    ii.       Create a message interface and reference the messages of the external definition, or the RFC or IDoc message.
    Check this, it may help you
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/01623c4f69b712e10000000a114084/content.htm
    REgards
    Seshagiri

  • Exception using fault message in java server proxy.

    Hi All,
    I am trying to use Fault message inside my server proxy code in Asynchronous java server proxy. I am referring the below mentioned link :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702?quicklink=index&overridelayout=true
    I successfully deployed my SDA file but while running the scenario(http-XI-ftp in PI7.11) i am getting the folowing exception under MDT:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean ServerProxyFTTest3.
    I am using the following library refernces under application-j2ee-engine.xml file:  com.sap.aii.af.sdk.lib, com.sap.aii.proxy.svc, com.sap.xi.util.misc,com.sap.guid,com.sap.exception all of type "weak".
    I have checked almost all the forums related to fault messages in asynchronous java server proxy but couldn't find much help.
    Request you all to help me.
    Thanks
    Amit

    Hi Rajesh,
    I am deploying my SDA file on Non Central Adapter Engine.
    I have also registered my interface using:
    http://ISVSAPPISB:51000/ProxyServer/register?ns=http://infosys.com/poc&interface=SI_Proxy_IA&bean=localejbs/ServerProxyFTTest3&method=sIProxyIA
    But still i ma getting the same exception.
    Hi Gabriel,
    I implemented my scenario using the same. But in addittion to the librarry referneces mentioned over there i have added one more refrence in it "com.sap.exception"  of type "weak". My structure is like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.aii.af.sdk.lib</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="service"> com.sap.aii.proxy.svc</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.xi.util.misc</reference-target>
      </reference>
    <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.guid</reference-target>
      </reference>
        <reference reference-type="weak">
      <reference-target provider-name="sap.com" target-type="library">com.sap.exception</reference-target>
      </reference>
        </application-j2ee-engine>
    Please help.
    Thanks
    Amit

  • Server proxy implementation with synchronous inbound interface

    <b>Hi all,</b>
        How we can implement a server proxy with synchronous inbound interface.If any example weblog please send the link.
    <b>thanks,
    Kishan.</b>

    Hi,
    For sync interface. You have to have a sync MI with both request and response message type.
    when you generate a proxy for the same , you will get a method called execute_synchronous, and import and export parameter.
    You don't have explicitly identify anywhere that the interface is sync.
    Regards
    Vijaya

  • Unable to create Inbound Sync Server Proxy - Authorization problem

    Im using PI 7.0  . When I try to create a inbound sysnchronous server proxy in SPROXY tcode , I get the following error
    Authorization Check failed: S_TCODE with parameters TCD SICF
    Im able to create both outbound and inbound asynchornous proxies . What could be the problem?

    The JDK/Java that ODI using should be 64bit if ODI 11.1.1.6 is 64 bit.   (I think JDK 1.6 is recommended for this ODI version)
    Also, for which technology you are creating a data server ? and what error message you are getting while creating it ?
    Thanks,
    Santy.

  • Propagate fault message from ABAP server proxy to XI

    Hello
    My scenario is asynch HTTP -> async ABAP server proxy.
    I have searched a forum but I didn't find the ansver on my question:
    Is it possible to propagate a fault message from SAP system to XI in case of asyncronous ABAP Proxy in order to see in SXMB_MONI of XI?
    I see errors only on SAP side but this solution doesn't satisfied me I want to see all errors in one place.

    Hi,
    Have u used commit work at the end of the code.
    Can you please tell me what all configuration u have done.
    U have referred the ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Refer the below log for Client Proxy -
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Chirag

  • Message split to server proxy

    Hi Folks,
    is it possible to use multimapping with server proxy as receiver without BPM??
    I have to split a Message from JDBC Sender to Proxy server an
    have to split the message from jdbc select resultsset  to many single messages .
    regards ralf

    Hi-
    For more details check this links
    Splitting Message using BPM
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

  • Extended xml handling in asynchronous inbound (server) proxy

    Hello,
    I want to activate extended xml handling on an asynchronous inbound server proxy.
    looking at online help:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/73/3f5c3c3906b006e10000000a11402f/frameset.htm
    this should be the code:
      lo_server_context   = cl_proxy_access=>get_server_context( ).
      lo_payload_protocol ?= lo_server_context->get_protocol( if_wsprotocol=>payload ).
      CALL METHOD lo_payload_protocol->set_extended_xml_handling( abap_true ).
    However the controller tables remain empty when executing a scenario to the application system.
    Also adding a static attribute extended_xml_handling does not have the correct result.
    any suggestions???
    Regards,
    Emile

    Hello Emile,
    do you have a solution regarding your problem? If not, here is a good one.
    I think you have inserted the code inside the generated proxy method. Within this method it is a little bit tricky to get the controller structures filled. This could be done by parsing the input data once more... Here is an code example for this:
    ls_input_data-name = 'INPUT'.
    GET REFERENCE OF input INTO ls_input_data-value.
    APPEND ls_input_data TO lt_input_data.
    lo_server_context = cl_proxy_access=>get_server_context( ).
    lo_payload_protocol ?= lo_server_context->get_protocol( if_wsprotocol=>payload ).
    lo_payload_protocol->set_extended_xml_handling( extended_xml_handling = 'X' ).
    lo_payload_handler = lo_payload_protocol->get_payload_handler( '<Name of structure data element>' ).
    lo_payload_input = lo_payload_protocol->get_sent_request_payload( ).
    lo_payload_handler->get_request_data_from_payload(
      EXPORTING
        payload = lo_payload_input
      CHANGING
        request_data = ls_input_data ).
    But a much easier and better way is to insert the following coding within a constructor of the generated Proxy class.
    lo_server_context = cl_proxy_access=>get_server_context( ).
    lo_payload_protocol ?= lo_server_context->get_protocol( if_wsprotocol=>payload ).
    lo_payload_protocol->set_extended_xml_handling( extended_xml_handling = 'X' ).
    As in each standard ABAP class, you can insert your own constructor within proxy classes. If you do so and insert the code in it the controller table will be filled with the needed information.
    Best Regards,
    Lars

  • Client proxy message strucked in ECC queues

    Hi All,
    I am working on Proxy interface. My interface is like below
    ECC 6----
    >PI (7.1) -
    >File
    I had done the entire configuration in ECC and PI for proxy activation. While testing the interface in ECC system messages processed successfully, but the message strucked in queues (SMQ2) in ECC system. If run the queue manually the message processed successfully to the PI.
    Can you please tell any more configurations required?
    Regards,
    Ramesh

    Hi,
    The queue used for Proxy call is not registerd in ECC system. You need to register the queue to process successfully.
    you will get the name of Queue from SMQ2 t-code and register it with t-code SMQR.
    Thanks
    Swarup
    Edited by: Swarup Sawant on Aug 24, 2009 8:03 AM

  • Inbound/Server proxy error

    Hi Experts,
    I am testing Server proxy. while testing i am getting below error
    please let me know the problem.
    System expected the element
    http://tuas.com/xi/hedging/CRM}MT_HSFO_FROMFUEL_HEDGING_PROXY', Byte-Offset in XML: 112 ,1SAI/TXS71C35983A473121F58F4, Line: 225 ST:
    Thanks
    Srini

    hi,
    probably your XML is not well formatted
    check it by opening it in IE for example
    Regards,
    Michal Krawczyk

  • Applicaction Error while server proxy

    Hi All,
    I am doing Server proxy(JMS>PI->CRM). I am getting the messages in the moni(PI), its showing successful but the message(Values) are not updated in the CRM. I have checked SXMB_MONI in the CRM, here it is showing the error as APPLICATION ERROR. and i checked the proxy manually(Debugging) its woking fine.
    Can any please help me whats the solution?
    Thanks
    Karthik.

    Hi All,
    I have checked SMQ1 and SMQ2. There is no messages struck in the queues. The messages are sent to the SAP system from PI. In the SAP sysetm i am checking the sxmb_moni tcode here it is showing the following below error like..
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Call Inbound Proxy --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand=""><SAP:Category>Application</SAP:Category><SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace="http://aaaaa/xi/CRM/fghhjj/100">BackOfficeFault</SAP:ApplicationFaultMessage><SAP:Stack>Application has thrown an exception
    </SAP:Stack><SAP:Retry>N</SAP:Retry></SAP:Error>
    Here i used the fault messages. Can any one please help me how can i resolve this issue?
    Thanks
    Karthik.

  • Schedule Abap Server proxy in background job in SAP r/3

    Hi all,
    My scenario is File XI Proxy Interface inbound to SAP...
    My requirement is to schedule the proxy in the background job every night.
    How can I acheive this?
    <removed_by_moderator>
    Read the "Rules of Engagement"
    Thank you,
    Mili.
    Edited by: Juan Reyes on Oct 21, 2008 3:04 PM

    Hi ,
    U don't need to schedule a server proxy ...as the proxy will kick in automatically as soon as the message is processed by file adapter .
    Since yours is File to proxy scenario...
    and you want to execute it overnight ..
    You will have to control when the file is processed by XI file adapter.
    Here what you can do ..
    Let's just say your file gets placed in a Folder 'A' ...and your file communication channel is configured to pick files from folder B.
    Write an abap code on xi box ..(or you can use a V.B. script)
    which will move the file from folder A to Folder B.This code can easily be scheduled..so that it you can get files in folder B from where XI processig will kick in .
    (job scheduling can be done sm36 ..use the wizard)

  • Server Proxy Creation

    Hi,
    I am working on a Synchronous scenario with Proxy at receiver side.
    I have my Inbound message in SPROXY Transaction.
    Can somebody help me out on the steps to create Proxy and the
    message structure inside the proxy on ABAP side.
    Also i need to call a BAPI inside PROXY and map my structure to the BAPI.
    How can I do this?
    Regards,
    RK

    Hi,
    refer the below link:
    Server Proxy -
    ABAP Server Proxies
    File to Inbound Proxy:
    File to R/3 via ABAP Proxy
    Debugging Inbound Proxy:
    XI: Debug your inbound ABAP Proxy implementation
    SPROXY not working:
    How do you activate ABAP Proxies?
    chirag

Maybe you are looking for