Ansicht
Dokumentation

POWL_DECODE_SELPARA - converts a string of selection parameters into a RSPARAMS_TT table

POWL_DECODE_SELPARA - converts a string of selection parameters into a RSPARAMS_TT table

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

converts an encoded string of selection parameters into a RSPARAMS_TT table.

Required encoding syntax for for the string:

.

..:.,.... [next selection criteria]

You can specify an escape char for masking characters reserved for the encoding syntax like . or : (default escape character is \)

Example

PAR1.S.I.BT:10.20,PAR2.P:30,PAR3.S.E.EQ:40\:

will be decoded into an RSPARAMS_TT table of the following form:

PAR1 |,,S,,|,,I,,|,,BT,,|,,10,,|,,20

PAR2,,|,,P,,|,,I,,|,,EQ,,|,,30,,|

PAR3,,|,,S,,|,,E,,|,,EQ,,|,,40:,,|,,

Notes

The corresponding encoder module, which you can use to create an encoded selection criteria string from an RSPARAMS_TT table according to the syntax given above, is POWL_ENCODE_SELPARA.

Further information

If you need more information on RSPARAMS structure type, you can check abap documentation (transaction ABAPHELP) for command SUBMIT and drill down to 'selscreen_options' --> 'selscreen_parameters' --> '... WITH SELECTION-TABLE rspar'.





Parameters

E_RESULTS
I_ESCAPE
I_SELPARA_STRING

Exceptions

Function Group

POWL_FUGR

BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1541 Date: 20240523 Time: 151616     sap01-206 ( 28 ms )