Application Development and Automation 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: 
Read only

about function module

suresh_adapa2
Newcomer
0 Likes
446

"FM_SELECTION_CRITERIA_PRINT"

What is its use ? There is documentation available in english.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
409

Refer these threads:

Reward if helpful

3 REPLIES 3
Read only

Former Member
0 Likes
409

Hi

FM_SELECTION_CRITERIA_PRINT

Will give/fetch you the Selection screen values (select-options tables and paramter values) for a particular program.

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
409

hi,

for documentation to the function module "FM_SELECTION_CRITERIA_PRINT"

procedure to getting the Document.

se37-->provide function module name-->select the option Document , then u will get the documentation provided by SAP.

<u>for knowing the Use of FM <b>FM_SELECTION_CRITERIA_PRINT</b></u>

REPORT ZVVRLPOP.

TABLES USR01.

SELECT-OPTIONS: S_USER FOR USR01-BNAME,

S_LANGU FOR USR01-LANGU.

PARAMETER: P_NAME(12) DEFAULT 'Victor',

P_CITY(12) DEFAULT 'Minsk'.

DATA: BEGIN OF INFOTAB OCCURS 0,

FLAG,

OLENGTH TYPE X,

LINE LIKE RSVAR-INFOLINE,

END OF INFOTAB.

*---- 1st -


write / '1st: PRINT_SELECTIONS' color col_key.

CALL FUNCTION 'PRINT_SELECTIONS'

EXPORTING

MODE = 1

RNAME = SY-CPROG

RVARIANTE = SY-SLSET

TABLES

INFOTAB = INFOTAB

EXCEPTIONS

OTHERS = 1.

LOOP AT INFOTAB.

WRITE: / '=>', INFOTAB-LINE.

ENDLOOP.

*---- 2nd -


write / '2nd: FM_SELECTION_CRITERIA_PRINT' color col_key.

CALL FUNCTION 'FM_SELECTION_CRITERIA_PRINT'

EXPORTING

I_REPORT_NAME = SY-CPROG

EXCEPTIONS

OTHERS = 1.

write / 'End of data.' color col_key.

regards,

sudheer.

Read only

Former Member
0 Likes
410

Refer these threads:

Reward if helpful