01-18-2012 9:28 AM
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.
01-18-2012 10:07 AM
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.
01-18-2012 9:42 AM
Please look into the FM FUNCTION_IMPORT_INTERFACE....it accept function module name and return all different parameters with type...
Thanks
01-18-2012 9:45 AM
01-18-2012 9:48 AM
01-18-2012 10:12 AM
01-18-2012 10:07 AM
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.
01-18-2012 10:29 AM
Hi Roberto ,
You can use the function module 'RFC_GET_FUNCTION_INTERFACE_US' .
This will return you the required details.
Regards,
Rajesh
01-18-2012 10:38 AM
you can use ISH_DDIC_FIELDINFO_GET to get table field details and dd04V to get data element details
01-18-2012 10:54 AM