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.
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
| 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.