Skip to Content
avatar image
Former Member

How to send back Sender System name

Hi Guru,

I have the follow scenario_

SAP R/3 -


SAP PI----SAP R/3.

I will send message from sap r/3 to sap pi with rfc.

sap pi will send back a number of message, was send and the name of send system.

Those information schould be save in sap table.

Please could you help me.

I will appreciate, thanks .


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 04, 2011 at 12:53 AM

    You need to use java mapping . Inside use StreamTransformationConstants interface to fetch it.

    Folllow this link

    SENDER_SYSTEM is deprecated so use SENDER_SERVICE.

    implement class similar to this (code snippet)

    public class retrieveInterfaceDetails implements AbstractTransformation{

    private senderName="";

    private Map myMap;

    public void setParameter(Map param) {

    myMap = param;


    public void transform(TransformationInput arg0, TransformationOutput arg1) throws StreamTransformationException {

    // Tweak your logic and pass it to output payload

    senderName =(String) myMap.get(StreamTransformationConstants.SENDER_SERVICE);



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 04, 2011 at 05:30 AM


    You can use this simple UDF to get the name of the sender system.

    java.util.Map map;


    String sender=(String)map.get(StreamTransformationConstants.SENDER_SERVICE);

    return sender;

    Map the output of this UDF to any node where you want the value of the sender system.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Guru,

      thank you for your input. but how i kann give back the number of message

      in the abap table. the scenario looking like follow.

      sap r/3-----IP(Integration Process) In the Integration process i need to count all message and return the Integer

      back in sap r/3.

      I would appreciate it