‎2008 Dec 02 4:50 PM
Hi All,
Please clarify me:
My requirement is to give 7 spaces for a variable so I declared as
c_blank1(7) TYPE c VALUE ' ',
do I get 7 spaces in the output?
As during debugging when I populate the variable c_blank1 I cannot move the cursor to check whether spaces are created or not. I mean no spaces in debugging.
Please clarify me,
Thanks and Regards,
Srik
‎2008 Dec 02 4:53 PM
Hi
you have to give 7 spaces for it like
c_blank1(7) TYPE c VALUE ' _______'.
|
-
> 7 spaces.
Amresh
Edited by: Amresh kumar Panda on Dec 2, 2008 10:24 PM
Edited by: Amresh kumar Panda on Dec 2, 2008 10:24 PM
‎2008 Dec 02 5:06 PM
Hi ameresh,
I have give the same way but I wanted to know can we check the spaces during debugging.
I mean can we move our cursor 7 spaces in the debugging screen for that value.
Thanks and regards,
Srik
‎2008 Dec 02 5:10 PM
>
> Hi ameresh,
>
> I have give the same way but I wanted to know can we check the spaces during debugging.
> I mean can we move our cursor 7 spaces in the debugging screen for that value.
>
> Thanks and regards,
> Srik
Yes.
Click on pencil(Edit) button and give 7 spaces and enter.
‎2008 Dec 02 5:11 PM
yes we can i think, but i dont think u can see that in debugging but its effect will shown in output
Amresh
‎2008 Dec 02 5:24 PM
Hi Amit,
I mean I have declared already and moving the blanks into the Internal table.
There in the structure I just want to check whether spaces have be send to the varaible or not.
But I am not able to check as I see no spaces in the debugging.
Please help me on this
Regards,
Srik
‎2008 Dec 02 5:30 PM
>
> But I am not able to check as I see no spaces in the debugging.
It means spaces has not been passed correctly yet.
how you are passing the space to fields?Show you codeing block(you have moved the space.)
‎2008 Dec 02 5:32 PM
Hi Amit,
This is how I am moving
DATA:c_blank1(7) TYPE c ,
wa_items = c_blank1.
Regards,
Srik.
‎2008 Dec 02 5:47 PM
>
> wa_items = c_blank1.
now show your wa_items data declearation?
Is wa_items is work area of internal table?if yes than you must use modify Itab from wa_items.
‎2008 Dec 03 7:03 AM
Hi Amit,
This is How I declared.
DATA: wa_items TYPE zpayload_wrapper_time_reco_tab WITH HEADER LINE.
As this value is going to XI.
Regards,
Srik
‎2008 Dec 03 7:21 AM
Hi All,
Please clarify me:
My requirement is to give 7 spaces for a variable so I declared as
c_blank1(7) TYPE c VALUE ' ',
do I get 7 spaces in the output?
As during debugging when I populate the variable c_blank1 I cannot move the cursor to check whether spaces are created or not. I mean no spaces in debugging.
Please clarify me,
Thanks and Regards,
Srik
‎2008 Dec 03 7:31 AM
>
As during debugging when I populate the variable c_blank1 I cannot move the cursor to check whether spaces are created or not. I mean no spaces in debugging.
Change to hexa display and you'll see if the spaces are there or not (20 is the value for space (or 2000 if the system is unicode)
‎2008 Dec 03 7:41 AM
By default character initial value will be spaces, no need to specify VALUE.
If you want to check in debug mode, double click the variable / field and check it's hex value. (click magnify button on right, or in new debugger you can choose hexadecimal value).
This will show you - 202020202020..
20 hex is for space.
Regards,
Mohaiyuddin
‎2008 Dec 03 9:48 AM
no u dont get 7 spaces there is no difference between a manual set spaces and automatically filled spaces in type char. the value of ur variable is initial that means 'nothing' .Try work with length of variable check command 'describe'
maybe this helps
Regards
Stefan Seeburger
‎2008 Dec 12 5:54 PM