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

Abap object as export parameter for remote function module

Former Member
0 Likes
985

Hello all,

I would like to know if there is any possibility to use an abap object as parameter within a remote function module.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
762

but we can serialize the object to an XML string, pass it, and then deserialize it. Search SDN on XML + object + serialize or deserialize

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
762

No. You can't pass the Object Reference as the Parameters of the FM which could be run as an independent object like RFC FM, Update Task FM.

If you have an object and you want to pass the data to the subsequent FM (RFC), you need to move the attributes to structures or variables before calling the FM and use these variables to pass the data to your RFC.

Regards,

Naimesh Patel

Read only

Sandra_Rossi
Active Contributor
0 Likes
763

but we can serialize the object to an XML string, pass it, and then deserialize it. Search SDN on XML + object + serialize or deserialize

Read only

Former Member
0 Likes
762

Sandra please,

could you give me some information about how to serialize an abap object?

thanks

Read only

0 Likes
762

Sure : http://www.sdn.sap.com/irj/scn/advancedsearch?query=xmlobjectserialize

or [xmlobjectserialize|http://lmgtfy.com/?q=sapxmlobject+serialize]