2011 Jan 18 8:48 AM
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.
2011 Jan 18 8:58 AM
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
2011 Jan 18 9:06 AM
But how can I use it for different data elements mentions above, this way all the types will be same
2011 Jan 18 9:19 AM
2011 Jan 18 9:23 AM
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