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

Output Program Variant parameters (include and exclude)

Former Member
0 Likes
723

I have a user who would like a report that specifically shows the details of a programs variants. When you use the SAP print function, it just shows the include icons (in green) and the exclude icons (in read) but there is no explanation when you try to print the variant.

Is there a built-in report or function module that will do this?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
577

U can use the FM SELOPT_PRINT

Example

CALL FUNCTION 'SELOPT_PRINT'

EXPORTING

TEXT = TEXT-T05

TABLES

SELOPT = SO_DOCTY.

It would print

TEXT-T05(contents) description of entered SO_DOCTY.

Message was edited by: Anurag Bankley

3 REPLIES 3
Read only

Former Member
0 Likes
578

U can use the FM SELOPT_PRINT

Example

CALL FUNCTION 'SELOPT_PRINT'

EXPORTING

TEXT = TEXT-T05

TABLES

SELOPT = SO_DOCTY.

It would print

TEXT-T05(contents) description of entered SO_DOCTY.

Message was edited by: Anurag Bankley

Read only

0 Likes
577

You can also use the function module PRINT_SELECTIONS.

~Suresh

Read only

0 Likes
577

Suresh,

I tried using print_selections in se37. It came back with an empty program selection-screen without any of the entries. What is expected in the field 'Mode'?