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

Help!!! Match Code with an internal Table

Former Member
0 Likes
765

Hi

As always I need a big help, I have an interna table filled but I need to put that information into a Match Code, I don´t know if that could be possible, if anybody could help me I will appreciate it.

Thanks in advance

Tokio

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
660

Please see the following program. Here we are building the F4 help on the fly in the program.



report zrich_0001 .

tables: t001.

data: begin of it001 occurs 0,
      bukrs type t001-bukrs,
      butxt type t001-butxt,
      ort01 type t001-ort01,
      land1 type t001-land1,
      end of it001.

select-options s_bukrs for t001-bukrs.

initialization.

  select bukrs butxt ort01 land1 into table it001 from t001.

  sort it001 ascending by bukrs.
  delete adjacent duplicates from it001 comparing bukrs.

at selection-screen on value-request for s_bukrs-low.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield    = 'BUKRS'
            dynprofield = 'S_BUKRS'
            dynpprog    = sy-cprog
            dynpnr      = sy-dynnr
            value_org   = 'S'
       tables
            value_tab   = it001.

start-of-selection.

Regards,

Rich Heilman

Read only

0 Likes
660

Rich

Thanks, but the version wich I work doesn't support this RFC.

Tokio

Read only

0 Likes
660

What version are you on?

Regards,

Rich Heilman

Read only

0 Likes
660

Hi,

The function F4IF_INT_TABLE_VALUE_REQUEST is not a RFC and it was released first on 09.06.1999. Which version are you working on?

Regards,

Ravi

Read only

0 Likes
660

Rich,

The Version is 4.0B

Regards,

Tokio