cancel
Showing results for 
Search instead for 
Did you mean: 

Metadata of a RFC

Former Member
0 Kudos

Hi All,

Can anyone point me to some documents or tell me:

How to get the metadata of an RFC in WebDynpro?

i.e., If I have an RFC in ABAP which returns me a table(Say ET_TEST). I've the corresponding model class for it.

I don't know how many fields are there inside the table.

So I want to loop thru all the columns of the table and get each column name and corresponding value for a particular row.

Kindly guide me in this regard.

Thaking you in advance

RB

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi RB,

Try make using of "associatedModelClassInfo()" method

Ex:

wdContext.current<<Model>.Element() .modelObject() .associatedModelClassInfo()

Regards, Anilkumar

Answers (1)

Answers (1)

0 Kudos

Hi Radhakrishna,

This link will give you all the details concerning linking an RFC with WebDynpro

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/li... rfc to web dynpro.pdf

hope it helps.

Regards,

shyam.