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: 

Parameters info

Former Member
0 Kudos

Hello All,

Is there any FM which gives the given parameter is a field or structure.

Ex: I am using the FM FUNCTION_IMPORT_INTERFACE to get the all import, export, changing and tables parameters of a given FM.

The import parameters table will have all import parameters of the FM. Now I need to findout which all parameters are fields and which all parameters are structures?

Thank you.

Best Regards,

Sasidhar Reddy Matli.

1 ACCEPTED SOLUTION

former_member1330258
Participant
0 Kudos

You can use DDIF_TYPEINFO_GET FM but you should get the part before "-" character

as when you send your value to the FM like this; "SM04DIC-POPUPMSG" you get no result at all.

However, if you send "SM04DIC" instead, you can get your type info.

It is better to check it by yourself and you will get a clear understanding

3 REPLIES 3

former_member1330258
Participant
0 Kudos

Actually you don't need FM to do this as you can check "-" character in the DBFIELD.

if your program finds "-" character it is structure or table type if not it means it is a field.

0 Kudos

Dear Taner Güngör ,

Thanks for your reply.

But there may be chances of having DBFIELD as data element. In that case what needs to be done?

former_member1330258
Participant
0 Kudos

You can use DDIF_TYPEINFO_GET FM but you should get the part before "-" character

as when you send your value to the FM like this; "SM04DIC-POPUPMSG" you get no result at all.

However, if you send "SM04DIC" instead, you can get your type info.

It is better to check it by yourself and you will get a clear understanding