‎2007 Sep 11 9:58 AM
Help!!
Do you know the counterpart of tab in sap?? as in tab space.
I have a code like this:
LOOP AT gt_pr INTO wa_pr.
WRITE wa_pr-pstatu.
ENDLOOP.
wa_pr-pstatu has a value of (1pr , 2rq, 3po).
I need to have an output like this 1pr , 2rq, 3po with a condition that the line is indented.
Do you know how to do it???
Help me please....
‎2007 Sep 11 10:04 AM
Hi,
Check out the Class CL_ABAP_CHAR_UTILITIES.
regards,
Navneeth K.
‎2007 Sep 11 10:10 AM
press F1 on write statement...there are various options in write statement only....
u can format it as per ur requirement....
reward points if helpful
‎2007 Sep 11 10:18 AM
data : l_string(255) type c.
LOOP AT gt_pr INTO wa_pr.
COncatenate wa_pr-pstatu l_string into l_string separated by cl_abap_char_utilities=>horizontal_tab.
ENDLOOP.
write 😕 l_string.