on 10-24-2011 6:59 AM
Hi all,
I have to print the internal table data into sap scripts.for that i am using subroutine pool and passing internal table data into standard text and printing in form.up to now its working fine.i am writing the following code for concatinatination
CONCATENATE w_zemployee-empno w_zemployee-empname
INTO w_text-tdline
SEPARATED BY c_par.
in the print output its printing following way.
-
empno | empname |
-
1200 johnson
134567 peterson
values should come in respective column .here i am missing alignment.please help me out.
thanks in advance
Naresh bammidi
Edited by: naresh bammidi on Oct 24, 2011 8:00 AM
Edited by: naresh bammidi on Oct 24, 2011 8:13 AM
Moderator Message: FAQ. Search the forums before posting your query.
Edited by: Suhas Saha on Oct 24, 2011 12:24 PM
Hi,
if you want to do it like this, that you have only one variable for both columns, you have to use offset specification instead of concatenation.
E.g.:
w_text-tdline(10) = w_zemployee-empno.
w_text-tdline+11(30) = w_zemployee-empname.
Regards
Adrian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.