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

PopUp + Write

Former Member
0 Likes
845

Hello everybody,

I want to create a little frame, in which I want to use the WRITE assignment.

As far as I know, with WRITE you can change the backgroundcolor of the text.

Anybody knows an opportunity how this is possible?

If you have any other suggestions, tell me plz

Regards!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
815

Hi,

Try this code.


write:/ 'Hi' color 5 intensified on.
skip.
write:/ 'Hi' color 5 intensified off.
skip.
write:/ 'Hi' color 5 inverse on.
skip.
write:/ 'Hi' color 5 inverse off.

Hope this helps u.

Thanks.

Hello everybody,

I want to create a little frame, in which I want to use the WRITE assignment.

As far as I know, with WRITE you can change the backgroundcolor of the text.

Anybody knows an opportunity how this is possible?

If you have any other suggestions, tell me plz

Regards!

6 REPLIES 6
Read only

Former Member
0 Likes
815

Hi,

You can simply do this by.

loop at screen.
 if screen-name = 'your field'.
 screen-intensified = 1.
 modify screen.
 endif.
endloop.

Read only

0 Likes
815

Thanks for your fast answers!

Is it possible to get backgroundcolours like green, yellow, red and blue this way?

I use an ALV Grid Table with different colours and I want to create a new frame which works as a caption.

With the intensified idea, it just changes the text colour and not the background colour.

Is this possible with an usual dynpro?

Edited by: Patrick Heinz on Feb 3, 2009 10:50 AM

Read only

0 Likes
815

Hi,

Yes intensified will only change the text color.

I believe you want to change the backgroung color of the report and not the selection screen. If yes, change the layout of the ALV.

Thanks,

Vivekanand

Read only

Former Member
0 Likes
815

HiPatrick,

for the popup and handling the input field in the popup refer to this link

hope it helps.

Regards!

Read only

Former Member
0 Likes
816

Hi,

Try this code.


write:/ 'Hi' color 5 intensified on.
skip.
write:/ 'Hi' color 5 intensified off.
skip.
write:/ 'Hi' color 5 inverse on.
skip.
write:/ 'Hi' color 5 inverse off.

Hope this helps u.

Thanks.

Read only

Former Member
0 Likes
815

try this

WRITE F INPUT OFF INVERSE COLOR 3.