2009 Oct 29 6:16 AM
Hi,
I need to build an internal table which has the fields SIGN, OPTION, LOW, HIGH.
I know there exists a standard database table with these 4 fields, but, am not able to recollect.
Please post the table name here if you know.
Thanks,
David.
2009 Oct 29 6:18 AM
Hi
Use RANGES
if you get Obsolate Key word in EPC
BAPI_ORDER_MATERIAL_RANGE Check this out for its usefulness
or use you can create your own.
Cheers
Ram
Edited by: Ramchander Krishnamraju on Oct 29, 2009 7:21 AM
2009 Oct 29 6:19 AM
Are you looking for this table -
>TVARVC
Alternatively,if u have the field name.
You can use this declaration
RANGES :r_matnr for mara-matnr. (or)
DATA:r_matnr1 type range of mara-matnr.---->Internal table having components SIGN ,OPTION,matnr-LOW,matnr-HIGH
DATA:wa_matnr1 like line of r_matnr1.------->Work Area
Regards,
Lakshman.
Edited by: Lakshman N on Oct 29, 2009 7:19 AM
2009 Oct 29 6:20 AM
data:ra1 type table of selopt.
or
data:ra1 type PIQ_SELOPT_T.
or
data:ra_mara type range of mara-matnr.
data:wa like line of ra_mara.
2009 Oct 29 6:22 AM
Hello
Use like this:
DATA itab TYPE RANGE OF MATNR.
Will be created internal table with sign, option, matnr-low and matnr-high.
2009 Oct 29 6:29 AM
2009 Oct 29 6:47 AM
Hi David,
These fields are available in the structure SELOPT. It's not a table.
Thanks,
Ranjith
2009 Oct 29 6:57 AM
Hi David,
Try this way.
Thanks
Venkat.O
TABLES:marc.
DATA:r_werks type RANGE OF marc-werks.
"The above statement defines a table type for a ranges table,
"that is with the table type standard table. It contains the fields as SELECT-OPTIONS has.
DATA:w_werks LIKE LINE OF r_werks.
"Work area to range table
2009 Oct 29 7:19 AM
hai,
why dont you create your own database table with sign,option,low and high fields it will work
as the database table also contain same fields. try it once
2024 Mar 19 7:21 AM
HI
We can build the internal table for select-options, filed sign, option, low & high
SE11 - DATA TYPES - RSDSSELOPT (This is the standard table)