on 05-10-2012 1:19 PM
Hi,
In our Invoice smartforms Invoice Header Text on first page is getting print proper.
but on secon page it shows Twice.
PAGE 1 OF 2 | ||||||
DELIVERY CHALLAN CUM INVOICE | ||||||
|
|
| ||||
DATE :10.05.2012 | ||||||
TRANSPORTER NAME : KAMANA TRANPORT | ||||||
TIME :17:30:48 | ||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
| ||||||
| ||||||
| PAGE 2 OF 2 | |||||
DELIVERY CHALLAN CUM INVOICE | ||||||
|
|
| ||||
DATE :10.05.2012 | ||||||
TRANSPORTER NAME : KAMANA TRANPORTKAMANA TRANPORT | ||||||
TIME :17:30:48 | ||||||
Check the variable which your are using to print the value of Transporter Name. I believe it is not getting cleared before you assign the value to it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you talking about the layout?
Can you explain the issue in detail?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CLEAR :TLINES[],TLINE1.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = 'ZDUE'"'ZLR'
language = 'E'
name = g_tdname "is_bil_invoice-hd_gen-bil_number
object = 'VBBK'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
tables
lines = tlines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at tlines INTO tline1.
if tline1-tdline is not INITIAL.
CONCATENATE tline1-tdline g_txt1 into g_txt1 .
ENDIF.
endloop.
Thanks
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.