12-12-2007 11:51 AM
i hav an internal table <b>int_table</b> with some field names of table marc
e.g., DISMM MINBE DISLS BSTMI BSTMA EISBE
On the basis of plant and material entered in selection screen
i want to display only values of fields in table<b> int_table</b> in a new internal table.
how to do it
12-12-2007 11:55 AM
Hi
SELECT-OPTIONS: SO_MATNR FOR MARA-MATNR
SO_WERKS FOR MARC-WERKS.
LOOP AT INT_TABLE WHERE MATNR IN SO_MATNR
AND WERKS IN SO_WERKS.
APPEND INT_TABLE TO INT_TABLE_NEW.
ENDLOOP.
Max
12-12-2007 12:00 PM
12-12-2007 12:03 PM
i hav an internal table int_table with some field names of table marc
e.g., DISMM MINBE DISLS BSTMI BSTMA EISBE (these are present in column named
fields
these are not fields accually)
On the basis of plant and material entered in selection screen
i want to display only values of fields in table int_table in a new internal table which are in marc..
how to do it
12-12-2007 12:05 PM
Hi Karan,
query marc wid matnr in s_matnr and werks in s_werks...
Regards,
Kaveri
12-12-2007 12:13 PM
int_table structure is
<u>division</u> <u>Table</u> <u>fields</u>
70 marc dismm
70 marc minbe
70 marc dispo
70 marc bstmi
new int_table1
<u>fields</u> <u> Value</u>
dismm value from marc
minbe value from marc
dispo value from marc
bstmi value from marc