cancel
Showing results for 
Search instead for 
Did you mean: 

TEXT ELEMENTS

Former Member
0 Kudos

I would like to include a (static) screen text element in a condition so that after a certain input , it changes. I assume I would have to create another text elemtn and select either usin an if statement. If that's the case do i refer to the text element as form-element = 'text'

Accepted Solutions (1)

Accepted Solutions (1)

former_member223537
Active Contributor
0 Kudos

Hi,

If its a report program, then refer directly.

IF l_matnr = text-115.

elseif l_matnr = text-120.

endif.

Best regards,

Prashant

Answers (3)

Answers (3)

Former Member
0 Kudos

thanx all

Former Member
0 Kudos

Hi,

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

SELECT-OPTIONS: s_vbeln FOR v_vbeln.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

SELECT-OPTIONS: s_vkorg FOR v_vkorg.

SELECTION-SCREEN END OF BLOCK b2.

reward if useful.

Former Member
0 Kudos

can you explain your requirement?

Former Member
0 Kudos

I need a txt field on my screen to change when I enter certain data. E.g. in the i/o field for currency I enter USD, the text field displays something like Exchange Rate (*1000). If its another currency e.g ZAR it displays Exchange Rate only. Since the currency field cannot accomodate 5 or more digits, I want it to display the actual rate /1000 and my users can know it is times 1000. *The usd is 30000 against our currency and zar is 3100, which is less than 5 digits.