Skip to Content
avatar image
Former Member

Problem with match code - Don't fill a field

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 14, 2017 at 12:33 PM

    Solved,

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

    Add comment
    10|10000 characters needed characters exceeded