How does ABAP client proxy determine the sender business system

When we use ABAP client proxy to send a message in XI-SOAP format to the integration engine, how does the client proxy determine what is the sender business system, i.e. how does it know what value it should insert in the sender service field in the SOAP envelop.
For example, at first, the business system X8A_105 corresponds to the technical system X8A_105, so when the client proxy sends out a message, the sender service is X8A_105. Then I delete the business system X8A_105 in the SLD, and create a new business system that is associated with the technical system X8A_105.when the client proxy sends out a message, the sender_service is still X8A_105, why?

Hi Annie,
Execute the following function module in your business system and see what name it returns..
LCR_GET_OWN_BUSINESS_SYSTEM.
You can always debug the code inside the above FM to find out how it gets the business system name...
I think the issue should be related to cache. I would also suggest you to logoff from your business system and then login again.
Regards,
Sumit
Message was edited by:
        Sumit Khetawat

Similar Messages

  • How to determine the sender business system for ABAP client proxy

    Hi All,
    I have one doubt: when the client proxy sends the message to XI, how could i know what is the sender business system name for it?
    Is it the logical system which is reflected in Technical System?
    let's say if i have the ABAP system, the technical system is ECC, which has three clients: 001, 066 and 000.
    And the client 001's logical system in ECCCLNT001 (all the client proxy is created in this client). In this case, the sender business system name is ECCCLNT001, am i right?
    If no, please correct me.
    Thanks in advance
    Leo

    Hi lawrence
    When data is distributed between different systems, each system within a network has to be clearly identifiable. The u201Clogical systemu201D deals with this issue.                               
    A logical system is an application system in which the applications work together on a common data basis. In SAP terms, the logical system is a client.
    Since the logical system name is used to identify a system uniquely within the network, two systems cannot have the same name if they are connected to each other as BW systems or as source systems, or if there are plans to connect them in any way.
    Although SAP does not recommend that you connect test systems to production systems, a test system can have the same name as a production system. This makes copying production systems to test systems a lot simpler.
    You are only allowed to change the logical system name of a system if the system is not connected to any other systems, because changing the logical system name would render all the connections to other systems useless.
    Logical system names must contain capital letters and numbers only. SAP recommends the following naming convention for logical system names: <System-ID>CLNT<Client>.
    Regards
    sandeep

  • How does CRM on Demand determine the highest priority Task?

    In the "My Homepage -> My Open Tasks" List there is a sortable priority column. If you have a number of tasks in the list with different priorities and click on the priority column they will be sorted in descending order by priority as follows:
    "1-High"
    "2-Medium"
    "3-Low"
    I have tried editing the order on the Edit Picklist screen for the Activity Priority field (by navigating to Admin -> Application Customization -> Activity -> Activity Field Setup) but this appears to have no effect on the priority sort order on in the Task List. I have also tried adding new values to the picklist and they always appear as the lowest priority.
    So my question is how does CRM on Demand determine that the priority picklist value "1-High" is the highest priority when sorting the tasks?

    There is a sort order on the activity applet based upon the priority field. As 1 comes before 2 and 3, it would be sorted to the top.

  • How to call ABAP client proxy?

    Hello,
    I am getting confused with ABAP client proxy now.
    I've defined a outbound service interface (Message Interface) in PI, based on the service interface I generated the ABAP client proxy in the abap backend system. There are two possible ways to configuration the integration scenario for this interface:
    1) use the proxy as web service consumer for scenario like:  ws consumer --> PI
    2) No web service, just proxy like:  Proxy --> PI
    Now I've configured a logical port (as default logical port) for scenario 1.
    I wrote a ABAP program to call the proxy to send out message to PI. To call the proxy we instantiate the proxy like:
    CREATE OBJECT proxy  EXPORTING    logical_port_name = p_port.
    proxy->myOperation( ...  ).
    Now if I specify the logical_port_name, I think the local IE in the abap system knows to send out the message using web service (scenario 1). However if I do NOT specify logical_port_name, how the local IE knows which way to send out the message? Using web service with the default logica port, or directly  post the message to the centrl IE pipeline using the second scenario ?
    Anybody can clarify my doubts?
    Thanks
    Eric

    Eric
    The answer to your question lies in the method CREATE_FRAMEWORK of class CL_PROXY_FRAMEWORK_OUTBOUND. In this method, you will see method GET_SOAP_APPLICATION of class CL_SRT_LP_MAINTANENCE is checked to see which adapter to use (i.e WS runtime or XI runtime).
    Anyway, to give a straight answer to your question, if you maintained an endpoint for your interface in tcode SOAManager, the WS runtime/adapter is used to send the message to Integration server. If there is no endpoint maintained, then it uses the XI runtime (or the traditional proxy adapter).
    Now, as far as logical port goes, if you didn't give a value when calling the proxy client class and you didn't maintain an endpoint in SOAManager, then XI runtime is used.
    If you didn't pass a value to logical port but you maintained an endpoint which the default logical port, then the same is used and communication happens through WS adapter.
    If you didn't pass a value to logical port but you maintained an endpoint and didn't mark the port as default, then a WS runtime exception is raised.
    Hope this answers your question. For more information, try to take a look in the classes mentioned above.
    KK

  • ABAP client proxy to File scenario

    Hi,
    I am doing ABAP client proxy to File scenario.
    I have followed Ravikumar allampallam blog i.e https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    My abap proxy has successfully created 4 objects:
    1)ABAP Class ( ZCO_ MIOA_ABAP_PROXY).
    2. Structure for the message type in ABAP Data Dictionary (ZMT_PROXY).
    3. Structure for the data type in ABAP Data Dictionary (ZDT_PROXY_SRC).
    4) Table type (ZSTRING_TAB).
    can u tell me how can i fetch data from database table into structure?

    Hi,
    see first create the data type,msg type, msg interface and go to R3 instance of Xi and use SPROXY transaction , locate your SWCV,namespace, intreface ( outbound) and create the proxy , later give the name starts with z, later in ABAP program create the internal table of type of the Structure for the message type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_MSG )
    so follow the code and explained about each ob, structure of Msg ..
    Regards
    Chilla

  • ABAP Client Proxy without Commit

    Hi everyone,
    we want to implement a web service call using an ABAP Client Proxy. The Problem is, that this call is in the middle of a transaction and we may not execute an implicit COMMIT WORK by using the proxy class.
    Does anyone know how to prevent such a COMMIT?
    Thank you for feedback

    Hi Julio
    I understand the situation.
    Ask basis if the PI system is configured as Integration server. even you can check this but basis can confirm on this. In that case you need to have another client which can work as R/3 for you. Then you can proceed with ABAP proxies on the client.
    Now coming back to what i can think of a work around. When a target system fails PI will retry and end up as System failure. This system failure can be retrieved from SXMB_MONI tables. Now if you create a ABAP report which pics all records with Status = "SYS_FAIL" and reprocess (which is a inbuilt functionality) then you can make RFC call to this report which can end up reprocessing and can give response for Success for Failure or any reprocess. This you can use in BPM.
    Make sense ..
    Thanks
    Gaurav

  • About ABAP Client proxy

    Hi Experts,
    Through ABAP client proxy I am sending data to PI system, when i execute the calling program then it executes fine, but data is not going to PI system.
    I couldn't find any message sent from R/3 in the SXMB_MONI (R/3 system).
    R/3 to PI connection is fine.
    Regards
    Ramesh

    I couldn't find any message sent from R/3 in the SXMB_MONI (R/3 system).  -
    > hope u r not checking in the R3 system for message !!!
    Few of our shadow resources, they had similar kind of issue...they configured sender as business service....
    so when they run the report program... it was not displayed in MONI..... the reason is agreements as sender business service.... as it cant find the proper receiver, and the proxy comes with Business system details...message wont be processed and cant see in MONI...
    so just have look...have u configured like this?

  • ABAP client proxy wildcard/unicode problem

    Hello,
    i have an abap client proxy. The target system is a non sap system. For one input field of the request, a wildcard search is possible (with sign %, field type = string).
    If i exceute the proxywith the wildcard sign '%' i get following error message:
    SOAP:1.001 CX_SXML_PARSE_ERROR...Error in conversion from UTF-8 to type C or
    type CSTRING: 48696C6673736368FC747A65 is not a
    valid UTF-8
    If i call the target system directly (for examle with jmeter), i get a response even with wildcard sign '%'.
    It seems that there is a generell conversion problem at the sap client proxy. Do you have any ideas?
    Is the problem maybe the transformation of the request, or the calling of the target system?
    Thanks a lot!

    any idea?

  • Dynamic Interface Determination Using the same Business System

    Folks...
    Does anyone have any good ideas on how to build a scenario where the same business system is used, but the interface mapping needs to be dynamic? I have a single JMS sender and 40 different message types on one side, and 40 ABAP Proxies on the other. The two solutions I see are as follows:
    1. Create 40 separate JMS Senders with 40 different sender agreements
    2. Create 40 Business Services for the same ECC system and utilize XPath expressions to support conditionally selecting an interface mapping
    Neither of these in my mind is a great solution, does anyone have any others?
    Mahalo,
    Jonathan

    Hi, I came cross the same problem on my current project, now I have following solution:
    Create a number of JMS sender adapters, they all connect to same queue, but each JMS sender adapter only pick up particular type of message based on one JMS message property value. The message provider will be responsible to set the property value when they send message into the queue.
    In JMS sender adapter, Parameter Tab -> Advanced Tab ->check Set Adapter-Specific message Attributes ->check Specify Additional JMS Message Properties (Maxmum of 10) -> Add Property name, e.g. "MsgType"
    ->Processing Tab -> Input Value in "JMS Message Selector", e.g. MsgType='WorkOrder'
    after above setup, this adapter will only pick up messages that with "MsgType" Property value "WorkOrder"
    For each type of adapter, you will create a JMS sender adapter and repeat the steps above, just put on the different Property value.
    This approach will have number of Integration Scenarios, hence will have number of Sender Agreement.
    I have tested the approach and it works.
    Liang

  • Sending large messages via ABAP client proxy

    Dear All,
    my scenario is the following. I have an ABAP report which creates files. These files are currently moved by an FTP auto job, to a target folder and are finally imported into an 3rd party programm.
    The CSV-files created consist of approx. 3000 records, each with a length of 1000. So the total size is about 3 MB. The files are send at night, once a day.
    We want to distribute these files via SAP PI. My question is the following:
    Is a client proxy able to send the whole (3MB) message to PI (which will just write the message to the target FTP destination) or do I have to send each record with the client proxy to PI (and append the record to the file).
    If both solutions are feasible,what would be preferable? The solution of sending single records to PI, would be more generic in my opinion, because I could define a message type for the records in PI. So in future i could add also some mapping stuff. If I would want to send the whole file content with one client proxy call, i would basically have one big string.
    How do both options compare in regard to performance? Sending 3000 small messages oder one big message?
    What about the file adapter? Is it an option to append 3000 records to a file?
    Does anyone have another solution for that scenario?
    Best regards and thank you for your help!
    Florian

    Hi,
    Is a client proxy able to send the whole (3MB) message to PI
    yes it is capable.
    If both solutions are feasible,what would be preferable?
    yes both solutions are feasible ,but preferable is to send the whole message rather than one by one.
    How do both options compare in regard to performance?
    sending whole message is far more better than sending record by record.
    regards,
    pradeep A.

  • How ABAP Client Proxy works

    Hello,
    I have one scenario
    File Sender Adapter sends file to IDOC Adapter for posting of measurement documents. After posting I need to send back status (success/failure) of measurement documents back to SAP XI.
    How can it be done.
    Can it be done through ABAP Client Proxy (but how we can trigger report for Abap Proxy for this) . Is there any other solution for it.
    regards

    Hi Henry
    <b>client’ proxy</b> is used by an application to send messages outside of the system it resides in (normally to the IS in this context).
    Client Proxies talks about the implementation of Client Proxy (For the Outbound Interface created during Design time). It also discusses the sending out of Data using Proxies
    <b>For more details have  alook on these links</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    <b>To test a connection</b> - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    <b>Client Proxy</b> - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    <b>ABAP Proxy Runtime</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    <b>
    ABAP Proxies:</b>
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    <b>ON SDN TV</b>
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#
    <b>Check this document on how to do this (section 3.4):</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    <b>Check the blog by Stefan Grube for reference,</b>
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks !!

  • ABAP client proxy send message fialed

    I developed one ABAP client proxy to send msg.  status in SXMB_MONI is error.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    After I test it  in RWB,I'm sure that IR and ID is right. Then what's wrong?

    > There are two scenarios with the same outbound interface.Is it the problem?
    >
    > ABAP proxy send message, and then there are two route.
    Yes this could be the reason, because at the time of Receiver Determination it tries to send the message to both the interface. Are both the scenario Proxy to XI??
    Try to change the Message Interface in IR and accordingly change in ID also and then try.
    Regards,
    Sarvesh
    Edited by: Sarvesh Singh on Oct 17, 2008 2:24 PM

  • Abap client proxy to xi - no data found

    Hi experts
    I m working on abap client  proxy to file scenario where in I m sending data from R/3 system to legacy system via xi , but after doing all the configurations and running the abap program for triggering client proxy , i dont find any data on the receiver side ,
    I have activated client proxy as per Vijay Kumaris Blog
    I checked sxmb_moni on the R/3 system but shows no data selected , so no question of data being found on xi server ,
    i m really sutcked up ....dont know hwat to do , pl help
    rgds
    mojib

    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

  • ABAP Client Proxy to SOAP

    Hi all,
    I am working on ABAP client proxy to SOAP Asynchronous scenario.  when iam sending the data from r/3 system data sent to webservice.
    but PI sending this same data  3 more to the third parth system.  when i checked in runtime workbench it is showing number of retrys 3
    how to resolve this issue.  please explain in detail
    Thanks
    Anil

    Anil,
    That's the default setting for Async SOAP communication...this can occur if the receiver is overloaded and cannot take any more feed and sometimes time out in the middle of the hand off...this would lead to re-try in PI...so you would see 3 entries of same data...refresh or clear the data from the receiver could solve the issue...
    Thanks,
    Srini
    Edited by: Srinivas Davuluri on Sep 9, 2010 1:51 PM

  • Problem in ABAP Client Proxy

    Hai All,
    I am working on ABAP Client Proxy to RFC.
    Here i generated the proxies and wen i execute it i am able to see in sxmb_moni but its showing in Green color which is still in process.but i was unable to find the the receiver business system and receiver interface.
    I hope some HTTP connection problem.
    Can anyone explain me in detail how to create the http connection as i confused here.
    Lets say XI(sender) to R3(Receievr)
    where proxy is been created in XI system itself and also generated in XI system only.
    Can anyone suggets me here as this interface is totally asynchronous.
    Thanks,
    Kalyan.

    Hai Seshagiri,
    Thanks a lot.
    Am giving you points buddy.Its working.
    Cud u plz give me ur Email id.
    This is fine but i want implement this interface to further there i am getting errors.So that i can send u the screenshots of those.
    Thanks,
    Kalyan.
    Please read the Forum's Rules of Engagement,
    i.e.,
    [/thread/117188 [original link is broken];
    and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
    SDN PI/XI Forum Moderator

Maybe you are looking for

  • Iphone 5s ios 7.1 siri male voice buggy

    After upgrade to 7.1 Siri British male voice is buggy, low quality sound, mispelling. I had to change it into female voice! Anyone else?

  • HDMI to VDI

    Hi I have the A700, if I were to plug in an HDMI to VDI cable on the HDMI output and connect it to a second monitor, would I be able to have both monitors available for viewing, or can I only view one at a time? http://www.computercablestore.com/5_Me

  • Bug and Forbidden characters in tags?

    I have noticed some differences in behaviour between Safari and Firefox (in 10.5) Safari appears to preventing me from entering certain characters in a tag name. Particularly, the comma , the less than < and the ≤ i.e. a single key with or without th

  • Mavericks and OS7 Calendar Sync

    I just upgraded to both OS Mavericks and iOS7 fr my iPad and now my Calendars will not sync.  There is no Info Tab in the new iTunes - so where do I go to get them to sync? Thanks

  • Any problem?

    i tried to do expdp in production when i copy and paste the syntax i did not paste properly i am getting out put as follows please let me know how to exit it and issues in production? C:\Documents and Settings\oracleadmin>exp ondemandlogs/ieeondemand