on 01-20-2010 11:10 AM
Hi
iam trying to modify MEDRUCK for request for quotation printing. in the standard script i was trying to print all variables in one line . for dng that i have to condense variable . how can i condense variables ? i tried with by giving &variable(c)&. but its not working pls provide me the solution
Thanks
it only working with a CAPITAL C
try &variable(C)& this works, as long your variable is of a condesable type (String, char).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there is maybe a little misunderstanding:
1) if variables A = 'HELLO ' and B = 'WORLD'
&A& &B& will print 'HELLO WORLD'
&A(C)& &B& will print 'HELLO WORLD'
2) if variable A = 'HELLO WORLD'
&A& will print 'HELLO WORLD'
&A(C)& will print 'HELLO WORLD'
If you want to replace 2 or more successive blanks by one blank, you must use "CONDENSE A" ABAP statement so that:
&A& will print 'HELLO WORLD'
&A(C)& will print 'HELLO WORLD'
Edited by: Sandra Rossi on Jan 20, 2010 5:00 PM: EDITION PROBLEM WHEN MORE THAN 1 CONSECUTIVE BLANK
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.