Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change Type of Screen Element in Report Program

Okay guys, I have been struggling with this the whole day.. someone please help me.

I have a selection screen defined in the selecton-screen of a report program

select-options : so_matnr for mara-matnr,
                 so_ebeln for ekpo-ebeln,
                 so_ebelp for ekpo-ebelp.

Now if I go to SE51 and give the program name and the screen number as 1000 (Default screen for report)

Now go to tab "Element List" --> "General Attributes"

in the column "Type of screen element" everything is considered as "I/O".

 
*Name*                 *Type of Screen Element*
----------------------------------------------------------------------
%_SO_MATNR_%_APP_%-TEXT	        I/O
%_SO_MATNR_%_APP_%-OPTI_PUSH	I/O
SO_MATNR-LOW	I/O
%_SO_MATNR_%_APP_%-TO_TEXT	I/O
SO_MATNR-HIGH	I/O
%_SO_MATNR_%_APP_%-VALU_PUSH	Push
%_SO_EBELN_%_APP_%-TEXT	I/O
%_SO_EBELN_%_APP_%-OPTI_PUSH	I/O
SO_EBELN-LOW	I/O
%_SO_EBELN_%_APP_%-TO_TEXT	I/O
SO_EBELN-HIGH	I/O
%_SO_EBELN_%_APP_%-VALU_PUSH	Push
%_SO_EBELP_%_APP_%-TEXT	I/O
%_SO_EBELP_%_APP_%-OPTI_PUSH	I/O
SO_EBELP-LOW	I/O
%_SO_EBELP_%_APP_%-TO_TEXT	I/O
SO_EBELP-HIGH	I/O

Now, my requirement is that I need to do something at the loop at screen to change the 'I/O' to 'Text' for all the %TEXT% screen fields. Exactly behave like text labels in the dialog program

Now, I don't want to write a dialog program to achieve this. Is there any thing i can do in the report program to achieve it.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question