Application Development 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: 

Display custom fields

Karan_Chopra_
Active Participant
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

would u make it more clear ??

Karan_Chopra_
Active Participant
0 Kudos

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

0 Kudos

Hi Karan,

query marc wid matnr in s_matnr and werks in s_werks...

Regards,

Kaveri

Karan_Chopra_
Active Participant
0 Kudos

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