Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Return Mesage

Former Member
0 Likes
350

Hi,

I have developed one Remote Funstion Module with Import parameter as PO number and i need to get some PO details in the output structure. And also i have one RETURN parameter. Now i need to return the message "PO number xxxxx does not exist" in the return structure if the PO number is not availale. Can anyone let me know how to write this.

Regards,

Ramesh

2 REPLIES 2
Read only

Former Member
0 Likes
334

Hi,

You need to declare a Table/Export field for this one, and write the code in the function module like if the PO number is Blank, then pass the message to that Field/Table saying that PO Number is not existed.

we can not popup the messages in the RFC function module

Regards

Sudheer

Read only

Former Member
0 Likes
334

Hi Rammohan,

try this..

while displaying messgae..

If PO available.

return message I(msgnum) with <parameter>.

else.

return message 'PO number xxxxx does not exist' TYPE i'.

endif.

Message was edited by:

Rammohan Nagam