I need to write a Java mapping class that outputs MessageID, NameSpace, Sender and Receiver Interface etc into log file. I was able to figure out how to push this information into log viewer by using Java Mapping API (SAP NetWeaver 2004 und 7.0) Link:[http://help.sap.com/saphelp_nwpi71/helpdata/en/43/a6ec37a9151bbce10000000a1553f7/content.htm]
But, I need to access mapping program parameters using code on this page Link:[http://help.sap.com/saphelp_nwpi71/helpdata/en/43/bc2fd4da1e1bbce10000000a1553f7/content.htm]
The problem is I can't access mapping program parameters usings old API Java Mapping API (SAP NetWeaver 2004 und 7.0). So, I'll have to use the new mapping API Link:[http://help.sap.com/saphelp_nwpi71/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm]. but I haven't found a useful code where I can access MessageID, NameSpace, Sender and Receiver Interface etc using this new mapping API.
Please let me know if you know any blogs or tutorials etc
this link Link:[https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/usingPI7.1APIforJavamapping] talks about why I should use transform(..) new API method instead of execute(..) old API metod. Becauas, I need to use #4 i.e. parameters in the mapping
Thanks for your help.