‎2009 May 05 11:23 AM
Hello ,
I have a typical problem, first of all my requirement is i have to display some text adjacent to radio button.
RB1 - Hello how are you. I am fine.
In the above text Hello how are you should display in blue colour ( so using bright option we can display).
and I am fine should come in black colour.
I am getting the output in required colours itself, here my problem i am displaying Hello how are you in Text Filed say TEXT-001 and I am fine in TEXT-002.
In the screen i have placed them side by side.. But when i execute my transaction and if i see the output
it is displaying like this
RB1 - Hello how are you. I am fine.
I dont want that space between those two sentences. I have no clue why that space is coming. Please need your suggestions on this.
Rgds.,
subash
‎2009 May 05 11:25 AM
hi,
in the above posting only single space it is showing but there are 5 spaces between two sentences, i dont want that space to come in the screen.
Rgds.,
subash
‎2009 May 05 11:27 AM
1. Check the length of the text symbols.
2. Check the write position for the element in teh screen.
Hope this will help you.
Rgds.
‎2009 May 05 11:26 AM
‎2009 May 05 11:27 AM
hi,
thanks for ur quick reply.. i am talking about screen elements.. i have no idea where to use that stmt.. kindly give me the soltuion detailedly , if it is so..
Rgds.,
subash
‎2009 May 05 11:33 AM
‎2009 May 05 11:32 AM
‎2009 May 05 11:38 AM
Hi ,
I think there is space in the beginning of the the TEXT-002 or the length of the
TEXT-001 is greater than 18.
So you go to the texts and check the above and change it and activate it means Make
the length of TEXT-001 18 and remove space at the beginning of the TEXT-002 .
Regards
Pinaki
‎2009 May 05 11:56 AM
Hi,
Do the following:
- in screen layout place a radiobutton first
- just next to it place Ouput fields so it looks like [this|http://img16.imageshack.us/img16/7398/screenyxu.png]
- name ouput fields FIELD1 and FIELD2 respectively
- set both as Output only
- set for first one Def.length = 18, Bright and Right justified
- set for second Def.lenght = 10,
- in ABAP
DATA: field1 TYPE c LENGTH 18,
field2 TYPE c LENGTH 10.
CALL SCREEN 0100.
MODULE pbo OUTPUT.
field1 = 'Hello how are you.'(001).
field2 = 'I am fine.'(002).
ENDMODULE.
This works fine.
Regards
Marcin
‎2009 May 05 12:38 PM