on 2022 Dec 06 10:35 AM
Hi All,
I have requirement to submit Report RDRF_MESSAGE_OUT(Transaction DRFOUT). It has dynamic seleciton screen of field Business Partner.
Tried SUBMIT WITH FREE SELECTIONS but it is not working. Please help.
Request clarification before answering.
It's not what is called a Dynamic Selection Screen. It's a single Selection Screen. So you should use just WITH, and not WITH FREE SELECTIONS.
See the more advanced reply in comments below about "WITH pa_free = ..." (thanks raymond.giuseppi).
Not sure that shatya.sap is still interested, but to start helping future visitors, this is what should be done (please revert back to help again other people):
The program RDRF_MESSAGE_OUT has these free criteria:



The program defines special parameters for batch processing:
* for batch processing and variants
parameters: pa_free type rsds_trange no-display.
parameters: pa_svlog type abap_bool no-display.
If I understand well, to pass a Material number, the calling program should do:
DATA(lt_free) = VALUE rsds_trange(
( tablename = 'COMES_S_DRF_MAT_FILT_ENH'
frange_t = VALUE rsds_frange_t(
( fieldname = 'MATNR'
selopt_t = VALUE rsds_selopt_t(
( sign = 'I'
option = 'EQ'
low = 'MAT_NUMBER'
high = '' ) ) ) ) ) ).
SUBMIT rdrf_message_out
WITH pa_appl = 'MII-ME'
WITH ...
WITH pa_free = lt_free
AND RETURN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Sandra Rossi wrote this is not a true free selection as with logical database. So basically you have to fill the hidden parameter pa_free and pass it within the WITH option of the SUBMIT statement.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.