on ‎2012 Sep 25 8:52 AM
Hi Experts,
While printing the item level details in the Main window , I am getting incorrect alignment for the last column (Net amount) as shown here.
I am using same logic for all the remaining columns, I don't know why only this last column is getting incorrect alignment.
Also I have tried swapping Discount column and Net amount, then also no change in last column alignment (i.e. Discount column in this case) .
Code using here is
Kindly help me on this.
Request clarification before answering.
Hello All,
Thanks you very much for your replays . I got the output . This is what i did .
In tabs-tab positions I entered type CH so it was affecting the allignment . now i changed to IN . So now all area alligned perfectly .
Thanx again for your quick responses . 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I think for the paragraph LI the last tab position alignment is set to CENTER.
please change alignment to RIGHT in the Tcode SE71 - Paragraph formats -> Tabs...
If the above does not work.
Please define a temp variable char(25) write a perform to pass the value and change it to text
and use the temp variable to be printed on the form in the required last column
Try them may be one of the above should work.
Thanks & Regards,
Veeru.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try the following options:
Best,
Iftah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok this is what I thought, but wanted to ask first.
You can try, for the time being, few options:
The first in the abap program in which the report is called (before the 'open_form', 'write_form' functions)
and insert the line: CONDENSE regud-wnett.
The second option is within the SapScript to use a temporary variable to do that condense to, before the PROTECT part insert a form like so:
/: DEFINE &TMP& = ®UD-WENTT(15)&
/: PERFORM GET_WNETT IN PROGRAM ZWNETT
/: CHANGING &TMP&
/: ENDPERFORM
And then in the PROTECT part replace ®UD-WENTT& with &TMP&.
Where in SE38 you would have to create the report ZWNETT:
REPORT ZWNETT.
FORM GET_ZWNETT TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
CONDENSE OUT_PAR-VALUE.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
A third option is just to use the DEFINE without the PERFORM statement.
Let me know is that helping you,
Iftah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.