Skip to Content

Some times it happens we cannot fix the payload element for generating the filename and hence forth variable substitution does not work. We have Michal pointing out to get the same filename from sender file adapter and update the file name using the Dynamic Configuration class during the mapping. But what if I have Idoc as sender adapter? Do I need to do it in custom module? This was the issue raised by Bikram Paul in the forum that has triggered me to share this with everyone as it is useful to all.

Many forum posts deal with accessing the system parameters in mapping which can be easily achieved.If we can understand the system classes then we can implement it in UDF.

System classes are documented at

http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/package-summary.html%3E%20System%20Classes%20for%20accessing%20system%20parameters%20in%20the%20mapping%20runtime%3C/a%3E%3C/body%3E%3C/html%3E

with sample examples also.

SetReciever Adapter attributes

You observe that we use get method incase of accessing sender information and the put method for setting receiver adapter specific information. The thorough reading of the system classes avoids you raising a forum thread and waiting for a response.

To report this post you need to login first.

8 Comments

You must be Logged on to comment or reply to a post.

  1. Daniel Graversen
    Hi,

    The link for System Classes for accessing system parameters in the mapping runtime seem to point to this post. I’m currios to see the documentation.

    /daniel

    (0) 
  2. Anirudh Vyas
    Hi,

    I am about to implement the same thing that you have discussed in this blog…

    Just a little q. What is a and where to use this in mapping?

    Regards,
    Anirudh Vyas.

    (0) 
  3. Sarvesh Singh
    Hi,

    Sorry, but the link for “System Classes for accessing system parameters in the mapping runtime ” is still missing. Can you plz make it available. I am also eager to see..

    Regards,
    Sarvesh

    (0) 

Leave a Reply