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

BAPi, Select-options,?????

Former Member
0 Likes
1,170

Hi Experts,

I hv declared( to get the functionality like select-options),

<i> s_cust LIKE RSPARAMS</i>

as IMPORT parameter in my_bapi.

So, now, I wanna to add like(like single values in select-options),

<u>SIGN::::::::::::::::OPTION:::::::::::::::LOW::::::::::::::::HIGH</u>

I..............................EQ....................10

I..............................EQ....................20

similarly, I wanna to add like(like Ranges in select-options),

<u>SIGN::::::::::::::::OPTION:::::::::::::::LOW::::::::::::::::HIGH</u>

I..............................BT....................10.........................20

But, in se37, after pressing F8, in s_cust, I am unble to enter the values, as I said above?

Pls, clarify.

ThanQ.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
645

if you want to use as internal table ( Select-option is internal table ) then do declare in tables ( SE37 ),then it allows multiple values

Thanks

Seshu

3 REPLIES 3
Read only

Former Member
0 Likes
645

To add multiple entries you will have to use a table type for S_CUST. Right now you have defined it as a structure so it will have only one row.

And why don't you add these values to that parameter on the initial screen when it displays list of all parameters before Executing it.

Read only

Former Member
0 Likes
646

if you want to use as internal table ( Select-option is internal table ) then do declare in tables ( SE37 ),then it allows multiple values

Thanks

Seshu

Read only

0 Likes
645

ThanQ.

Yes, I did it. Fine. I mean, I defines s_cust as TABLE in Bapi:

So, pls. let me know, How to pass these s_cust to report prog. with SUBMIT statemnt? Actually, I am opened another thread(title is <b>How to pass the Tables from BAPi to Report Prog. with SUBMIT?</b>) for this issue.

thanq.

Message was edited by:

Srikhar