Application Development 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: 

FM or program to get FM fields details

Former Member
0 Kudos

Hi all.

First of all thank you all for your great support.

We are looking for a FM or abap programm to list all import/export/tables field details (field name, position and length) within a FM .

Do you know if it already exists?

It is due we need to create a new sap query rfc type in documentum, to reach a new Z function module in SAP.

Thanks in advance for your help.

BR.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Thank you all for your quick replys (Krishnendu, Nabheet and Soumyaprakash).

All those FM covered almost my question. What is important also is to know each field length, cause those FM you reported me list the field types (abap field types like, begda, persno, bukrs, etc.) but not field lengths.

Documentum really doesn't know sap field types. They just need field name, field start position and field lenght.

It is a really special request, i know, but i would like to know if a standard FM exists previously to create a Z one.

Thanks again.

8 REPLIES 8

krishnendu_laha
Active Contributor
0 Kudos

Please look into the FM FUNCTION_IMPORT_INTERFACE....it accept function module name and return all different parameters with type...

Thanks

nabheetscn
Active Contributor
0 Kudos

You can check table FUPARAREF it contains the attributes

Nabheet

Former Member
0 Kudos

RPY_FUNCTIONMODULE_READ

0 Kudos

Use DD04* tables to get there details

Nabheet

Former Member
0 Kudos

Thank you all for your quick replys (Krishnendu, Nabheet and Soumyaprakash).

All those FM covered almost my question. What is important also is to know each field length, cause those FM you reported me list the field types (abap field types like, begda, persno, bukrs, etc.) but not field lengths.

Documentum really doesn't know sap field types. They just need field name, field start position and field lenght.

It is a really special request, i know, but i would like to know if a standard FM exists previously to create a Z one.

Thanks again.

0 Kudos

Hi Roberto ,

You can use the function module 'RFC_GET_FUNCTION_INTERFACE_US' .

This will return you the required details.

Regards,

Rajesh

0 Kudos

you can use ISH_DDIC_FIELDINFO_GET to get table field details and dd04V to get data element details

Former Member
0 Kudos

THANK YOU!!