cancel
Showing results for 
Search instead for 
Did you mean: 

How to export parameters from Message Mapping

samantha_nez
Participant
0 Kudos

Hi,

I am trying to export parameters from a Message Mapping.

I have defined a export parameter into Message Mapping Signature as string type called ERROR_TEXT. According to blog:

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8654] [original link is broken] [original link is broken] [original link is broken];

values can only be assigned to export parameters in user-defined functions.

How could I assign a value to ERROR_TEXT from my user-defined function? How could I manage import/export parameters into a user-defined function?

Thanks in advance,

Samantha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If you have defined the signature of your UDF then the return value of the UDF must be assigned to the Export paramter of message mapping.

Basically import parametrs represents the inputs to be passed for that function(message mapping here)

and export represents the output of that function.

so in your case if you want toassign the value to Export parameter (ERROR_TEXT) in UDF catch block

assign the error returned to the ERROR_TEXT field

http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm

Check this link

Hope this is clear

Rajesh

Edited by: Rajesh on Mar 13, 2009 5:31 PM

samantha_nez
Participant
0 Kudos

Hi Rajesh,

Thanks for your help!!

Regards,

Samantha.

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

You can make use of this export parameter only in transformation step of Integration Process. You may use the following "Parameterized Mapping Programs"

http://help.sap.com/saphelp_nwpi71/helpdata/en/27/db283fd0ca8443e10000000a114084/content.htm

Regards,

Prateek