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: 

Problem with match code - Don't fill a field

0 Kudos

Hello everyone,

I'm having trouble implementing a matchcode. The fact is that I have everything exactly the same, and in one matchcode aid works and in the other does not. And I do not know what it can be.

Matchcode 1

2017-07-14-11h56-15.png

Matchcode 2

Matchcode 3

In my program, this is the code to implement the parameters:

Reference to matchcode 1:

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 35.
PARAMETER: p_obser TYPE zxtr_agrtra_tip-observ MODIF ID p14.
SELECTION-SCREEN COMMENT 5(13) text-007 FOR FIELD p_obser MODIF ID p14.
SELECTION-SCREEN END OF LINE.

Reference to matchcode 2:

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 35.
PARAMETER: p_obser2 TYPE zxtr_agrtra_car-observ MODIF ID p25.
SELECTION-SCREEN COMMENT 5(30) text-007 FOR FIELD p_obser2 MODIF ID p25.
SELECTION-SCREEN END OF LINE.

Reference to matchcode 3:

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 35.
PARAMETER: p_obser3 TYPE zxtr_agrtra_aut-observ MODIF ID p33.
SELECTION-SCREEN COMMENT 5(30) text-007 FOR FIELD p_obser3 MODIF ID p33.
SELECTION-SCREEN END OF LINE.

And this is the result (The field that is not filled is "Observaciones"):

Matchcode 1:

As you see, is empty.

Same happens with the Matchcode 2.

But with Matchcode 3:

Parameter "Observaciones" is filled.

In the corresponding table are assigned the matchcodes.

Any help is welcome.

Thanks,

Ismael.

1 ACCEPTED SOLUTION

0 Kudos

Solved,

The problem was assigning the matchcode with the fields in se11.

1 REPLY 1

0 Kudos

Solved,

The problem was assigning the matchcode with the fields in se11.