Skip to Content
avatar image
Former Member

is it possible to get LS name from SLD when the scenario is executed

can I create a scenario that gets the Technical system details of the Business system from SLD?

Can I have a Soap - File scenario, in which case, once the request comes from Soap, corresponding Business system's Technical system details ( like LS name and client no ) should be taken from SLD and send as a file.

Is this possible ??

if yes, how?

Regards,

Venkat.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 05, 2009 at 04:22 PM

    Hi

    Technical system details - Not sure if that is directly possible..

    but an option would be to use a FixValue/ Valuemap function provide a Key & get the value

    to generate the Key, use a UDF, get RUNTIME constants to make a key

    check this link for constants http://help.sap.com/erp2005_ehp_04/helpdata/EN/b3/9a2aeb24dc4ab6b1855c99157529e4/frameset.htm

    e.g

    java.util.Map map;

    map = container.getTransformationParameters( );

    String const;

    Const = (String) map.get(StreamTransformationConstants.CONSTANT_NAMEfromlink);

    return const;

    if you want XI's information, then you can try this

    String sysSID = (String)System.getProperty("SAPSYSTEMNAME");

    OR

    String sysSID = (String)System.getProperty("user.name");

    Regards

    Vishnu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Vishnu, Shabarish,

      I suggested for a properties file on the sender system itself.

      They wanna check connectivity with the Technical system to which business system is associated with each time the scenario is called

      Venkat.

  • Mar 05, 2009 at 04:38 PM

    Vishnu has a good idea. Let me add to it.

    Accessing LS and client is not possible. So the best way would be to have a fixvalue table or value mapping table. Design the table as follows;

    Sender_System -> LS Name
    XX                          LSXX
    YY                         LSYY
    
    etc

    now create a UDF to get the sender service name i.e to identify your sender system.

    http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm

    the parameter in your case wud be SENDER_SERVICE.

    This will be the input for your fixvalue or value mapping table.

    Create a different table for client number also if necessary.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 05, 2009 at 04:49 PM

    Hi, Venkat:

    You probably can use ABAP mapping program to achieve your purpose:

    Check the following blog to see how author create SLD objects from ABAP program:

    /people/sergio.cipolla/blog/2009/02/28/upgrading-to-sap-pi-71-last-time-abap-saved-my-life

    You can also use api to get SLD object information.

    Regards.

    Liang

    Add comment
    10|10000 characters needed characters exceeded