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

FILL MATCHCODE

Former Member
0 Likes
466

hi everyone.

i being asked to do a matchcode that is fill with data that comes from an RFC function.

can anyone tell me how to do this.

Thks

4 REPLIES 4
Read only

Former Member
0 Likes
428

You need to use FM <b>F4IF_INT_TABLE_VALUE_REQUEST</b>


      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                RETFIELD        = 'WERKS'
                VALUE_ORG       = 'S'
           TABLES
                VALUE_TAB       = T_T001W
                RETURN_TAB      = RETURN_TAB
           EXCEPTIONS
                PARAMETER_ERROR = 1
                NO_VALUES_FOUND = 2
                OTHERS          = 3.

Where T_T001W got the values to be show on the Matchcode....

Greetings,

Blag.

Read only

0 Likes
428

but this function is to use in a program or in the exit of the match code??

Read only

0 Likes
428

i ll put the matchcode in standard programs so i need to fill it not in the program so i guess i can do it on the function exit that can be definde on the match code.

Read only

Former Member
0 Likes
428

But why you need to do this.

Match Code are not going to be supported in upcoming release.

There are lots of other way to do.

Thanks,

Arpit