‎2009 Dec 20 12:23 PM
hi experts,
thnx in advance
i have requirement to make a rfc enabled function mudule, that will return some messages mat be error or information , such as 'read is implausible in sap-isu' etc, so how can make the export parameters of this fm, so that it return such mesages thru export parameters but not thru exceptions
pls help
‎2009 Dec 20 12:38 PM
You can collect the messages that arise in an internal table and export them in you calling program through parameter.
i.e you need to collect the error messages .
Hope you understand it.
‎2009 Dec 20 10:35 PM
either you can create a string table as return parameter which will hold your messages, then you can display them.
or a better method can be as seen in BAPIs..
a table of type BAPIRETURN.
just goto SE37, open any BAPI (BAPI* - then F4).
see in the table of type BAPIRETURN.
here you can pass the message details ... and use them from where you have called it.