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: 

Looking for existing multiple Transport Request selection dialog (F4 or whatever)

Sandra_Rossi
Active Contributor
0 Kudos
1,131

Hello,

I'm looking for a kind of multiple selection search help to select many transport requests, which I may connect to this code, in order to select many transport requests at once without pressing F4 at each line of the select-options input dialog:

TABLES e070.
SELECT-OPTIONS s_trkorr FOR e070-trkorr.

Currently, it gives:

I'd like to have a rich selection screen like in SE03 > Requests/Tasks > Find requests, except that I want to select multiple TRs and return them to the Select-Options field, not doing the actions directly on the list of transport requests

Do you know a simple way?

Thanks!

Sandra

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
1,034

sandra.rossi , click on the 'Multiple Selection' on the search-help popup, what do you get?

Perform also a where-used search from data element TRKORR in search-help for more selection criteria.

10 REPLIES 10

thkolz
Contributor
0 Kudos
1,034

The problem is that search helps return exactly one value, right?
I'm afraid it must be implemented differently...

raymond_giuseppi
Active Contributor
1,035

sandra.rossi , click on the 'Multiple Selection' on the search-help popup, what do you get?

Perform also a where-used search from data element TRKORR in search-help for more selection criteria.

0 Kudos
1,034

Oh yes thank you Raymond, I forgot this one.

But it's not exactly only this feature I want, so I guess that I can create a search help on E070 and E07T with more selection criteria, and that would solve my question.

Or possibly, if anyone knows a standard function module or whatever to permit extended selections like in SE03, that would be great 🙂

1,034

I browsed table DD32S (parameters of search help)

  1. List of search help with data element TRKORR (copy list)
  2. List of criteria available in those search helps (paste list)

You could try it on your system, with some luck one of the existing SH has the criteria you required.

1,034

Good idea!

I have found a search help which is fine for me. I'll post a separate answer with details from DD32S, ABAP code and screens.

Thanks for your help Raymond!

fprokopiuk
Active Participant
0 Kudos
1,034

Hi Sandra,

You can try to call TR_F4_REQUESTS function module. With combination of ON VALUE REQUEST you should be able to use advanced search of TRs.

0 Kudos
1,034

Thanks. I think I tried it. Are you sure it allows returning multiple transport requests at once?

0 Kudos
1,034

I've checked and unfortunately it seems to return only one selected TR. However it's basically copy of SE03 TR search so maybe it will be useful anyway.

0 Kudos
1,034

The logic of this function module and others made by SAP is to display TRs and propose features to work on 1 or more selected TRs but only from the displayed screen, only standard functions can be used, unfortunately.

Sandra_Rossi
Active Contributor
0 Kudos
1,034

Separate answer, which comes after Raymond answer and discussion

(please visit Raymond answer in order to understand this one below)

So, I have found this search help: SHLP_TRN_REG_FIND_REQUEST, part of MDG in S/4HANA (2022).

Code:

TABLES e070.
SELECT-OPTIONS s_trkorr FOR e070-trkorr MATCHCODE OBJECT shlp_trn_reg_find_request.

NB: to obtain SHLP_TRN_REG_FIND_REQUEST, I have run this SQL query in Eclipse SQL Console, as Raymond suggested:

  1. List of search help with data element TRKORR (copy list)
  2. List of criteria available in those search helps (paste list)
SELECT *
FROM dd32s
WHERE EXISTS ( SELECT *
    FROM dd32s AS alias_dd32s
    WHERE shlpname = dd32s~shlpname
      AND rollname = 'TRKORR' )
ORDER BY SHLPNAME, FLPOSITION<br>

and have chosen the one which fits my needs: