cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic selection fields for QM transaction

crepmaster
Participant
0 Kudos

Hello Expert,

how is it possible to add a new field in dynamic selection fields, in the inspection plan group? i'm on ECC6.

Is it by customizing? badi? User exit?

Thank you.

Regards

Sandra_Rossi
Active Contributor
0 Kudos

To get a quick answer, please indicate the transaction code, which "new field" it is, a modified screenshot containing the result you expect.

crepmaster
Participant
0 Kudos

Hello and thank you for you reply Ms Rossi, i want to add a user field in the transaction QFA4 ( a field in the QALS table in the inspection list group ).

Sandra_Rossi
Active Contributor
0 Kudos

If the fields in the upper part show the QALS fields, you should also see your custom field. Strange.

crepmaster
Participant
0 Kudos

Thanks for you reply. In fact my field is in the append structure. If i understand your comment normally all the field of the qals should be available. Correct?

Sandra_Rossi
Active Contributor
0 Kudos

The free selections are done via the function modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. If you do it the simple way, you just indicate the table name and all its fields are permitted. It's still possible to limit the fields. I don't know what QFA4 does... (you may add a breakpoint in the function modules to see if the list of fields is restricted by QFA4).

crepmaster
Participant
0 Kudos

Thank you for your help, i will put a break point to see if there are some restrictions.

I'll let know.

Sandra_Rossi
Active Contributor
0 Kudos

Thanks. Note that QFA4 doesn't exist in my S/4HANA 2022 system. Which program/screen does it call please?

crepmaster
Participant
0 Kudos

Hello, i'm damned but i've just notice that i gave the wrong transaction number: it's QGA4 and not GFA4.

I found a link that might help me

https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/

Sandra_Rossi
Active Contributor
0 Kudos

dyslexia? 😉

Because it wasn't GFA4, it was QFA4 😄

(copy/paste helps a lot)

Sandra_Rossi
Active Contributor
0 Kudos

Thanks. Right, it concerns a logical database, so the link is a good one.

In the transaction code QGA4, if you click the button Selection, then you choose 01 (among other possibilities), the subroutine SELECTION_SCREEN of function group QG_EVAL calls the program RQG_EVAL_SELECTION01, which is based on the logical database PGQ, selection screen version 902, it's this logical database which restricts the fields.

Accepted Solutions (0)

Answers (0)