on 04-15-2009 9:39 AM
Hi all,
My requirement is I need to print a form in this format in sapscript: -
All these are in the same text element.
What happen now is the Text Id cannot display in the correct tab when there is more than one line.
Not correct (now)
Type: TEST FS SPARE
Text Id :
1234,12345,123456,1234567,12345678,123456789,1234567890,123456,1234567,123456,1234567,12345678,1234567,12345678
Description: Spare Part
Expected result
Type: TEST FS SPARE
Text Id : 1234,12345,123456,1234567,12345678,123456789,1234567890,
123456,1234567,123456,1234567,12345678,1234567,12345678
Description: Spare Part
Here is my code
/E DETAILS
HA Type: ,,,,,,,,&RIWO1-MATKTX(C)&
HA Text Id.: ,,,,,,,,&GV_FETXT&
HA Description.: ,,,,,,,,&GV_DESCP&
DATA: lv_count TYPE i.
loop at iviqmfe where fenum > 0 and kzloesch eq space.
lv_count = lv_count + 1.
if lv_count EQ 1.
MOVE iviqmfe-fetxt to gv_fetxt.
else.
concatenate gv_fetxt iviqmfe-fetxt into gv_fetxt SEPARATED BY ','.
endif.
endloop.
loop at iviqmfe where fenum > 0 and kzloesch eq space.
perform print_element using 'DETAILS' 'MAIN'.
endloop.
Thanks in advance.
Hi,
Instead of using ' ,,,,,, ' again and again, try giving some value in Tabs in Paragraph formats.. with certain length..
Hope this helps..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does anyone have the solution for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.