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

Get Import Parameters of a Function Module

former_member758034
Participant
0 Likes
2,897

Hi,

Is there a way to find the import parameters and their Data Type of a Function Module in any Table??

For example, i know i can find the name and the include of the Funtion Module in TFDIR. Is there anywhere i can find the list of Import Parameters and their Data Types??

Thanks and Regards,

Kaeyur

15 REPLIES 15
Read only

former_member201275
Active Contributor
0 Likes
2,782

There are a number of different options. For what purpose exactly do you want this?

Read only

0 Likes
2,782

Hi,

I have generic Data..

I want to find the type of the import parameters and type cast it to the respective type and so i can send it in that format.

Regards,

Kaeyur

Read only

Former Member
0 Likes
2,782

Hi Kaeyur,

What is your requirement?

Regards,

Rafi

Read only

0 Likes
2,782

Hi,

I have generic Data..

I want to find the type of the import parameters and type cast it to the respective type and so i can send it in that format.

Regards,

Kaeyur

Read only

0 Likes
2,782

Hi Kaeyur,

You can use parameter as  below.

ParameterName  Typespec      Associated Type

I_TABLE             TYPE            ANY

Regards,

Rafi

Read only

Former Member
0 Likes
2,782

Hi,

You can look it up using table FUPARAREF.

Martin

Read only

0 Likes
2,782

you can use

Data: lv_type type c.

clear:lv_type.

DESCRIBE FIELD p_bukrs TYPE lv_type.

It will return C as its type C and p_bukrs is selection screen parameter.

hope this helps.

Read only

0 Likes
2,782

This gives the data perfectly..

Thanks and Regards,

Kaeyur

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
2,782

Hi,

Table FUPARAREF.

Read only

0 Likes
2,782

This gives the data perfectly..

Thanks and Regards,

Kaeyur

Read only

Former Member
0 Likes
2,782

Use function module FUNCTION_IMPORT_INTERFACE.

Read only

0 Likes
2,782

This also gives the data perfectly..

Thanks and Regards,

Kaeyur

Read only

former_member758034
Participant
0 Likes
2,782

Why cant i assign points and mark the answer as helpful or correct??

Read only

0 Likes
2,782

Because i think moderator has changed this thread as a discussion thread, rather than a question .

Read only

0 Likes
2,782

Ohh.. Dont undersand why that was done..

Anyways thanks..