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

Select option in FM import parameter

Karan_Chopra_
Active Participant
0 Likes
947

Hi,

I want to add ranges in import parameters in FM, for the following fields

u2022 PO Doc Type(EKKO- BSART) in Range

u2022 PO Doc Number(EKKO- EBELN) in Range

u2022 PO Date Range(EKKO-AEDAT) in Range

u2022 Plant(EKPO-WERKS) in Range

u2022 Co Code(EKKO- BUKRS) as mandatory

u2022 Vendor (EKPO-LIFNR)

I know there are some structures defined for some fields by SAP e.g sel_aufnr etc for multiple values but for the given fields it is not there, is there any option to add the ranges without creating explicitly their table types.

Hi,

I want to add ranges in import parameters in FM, for the following fields

u2022 PO Doc Type(EKKO- BSART) in Range

u2022 PO Doc Number(EKKO- EBELN) in Range

u2022 PO Date Range(EKKO-AEDAT) in Range

u2022 Plant(EKPO-WERKS) in Range

u2022 Co Code(EKKO- BUKRS) as mandatory

u2022 Vendor (EKPO-LIFNR)

I know there are some structures defined for some fields by SAP e.g sel_aufnr etc for multiple values but for the given fields it is not there, is there any option to add the ranges without creating explicitly their table types.

4 REPLIES 4
Read only

anup_deshmukh4
Active Contributor
0 Likes
785

Use Passing parameter like

TVARV_T ( Table type )

or TVARV ( Transparant table.)

Using this you can directly pass Ranges ...!

Hope this is useful

Thanks Anup D

Read only

Karan_Chopra_
Active Participant
0 Likes
785

But how can I use it for different data elements mentions above, this way all the types will be same

Read only

Former Member
0 Likes
785

Hi,

You can use the structure SELOPT.

Regards,

Srini.

Read only

Karan_Chopra_
Active Participant
0 Likes
785

Yes I have used that also but same is the case with this ,

it will have a common structure for every field

Is there any option I can declare some type in my FM only and use it as reference type for import parameter