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

Function Module?

Former Member
0 Likes
513

HI all,

I have created a function module.

Instead of creating in IMPORT tab,In TABLES tab i have created a table to give the user maultiple inputs.

now i have to give a default value to a single field.

what shiould i do?

please help me...

sachin.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
497

Hi sachin,

Just delete the entry from tables tab and create as a IMPORTING parameter.

Regards,

Atish

4 REPLIES 4
Read only

Former Member
0 Likes
498

Hi sachin,

Just delete the entry from tables tab and create as a IMPORTING parameter.

Regards,

Atish

Read only

0 Likes
497

Hi Atish,

then how can user enter multiple entries if i create in IMPORT tab.

see MATNR if i declare it in IMPORT...it will take only one material number as input....

user want to take multiple inputs as SELECT_OPTIONS....

please help me....

sachin.

Read only

0 Likes
497

Hi sachin,

You can define your own table type or can use the standard SAP table type for eg. for MATNR you can define IMPORT parameter of type GDS_SELRANGE_MATNR_TAB

Regards,

Atish

Read only

former_member404244
Active Contributor
0 Likes
497

Hi,

U can give default value in the import parameter..give the field in the import parameter....if the user doesn't want multiple values then delete in tables parameter.

Reward if helpful.

Regards,

Nagaraj