on 10-17-2006 6:34 PM
Hi gurus
I have uploaded a file in SO10 and this text appears at the end in 3 pages to the client when he prints or email a sales order to the customer and now the client needs a footer to the file which i uploaded(ie 3 pages at the end).
If iam not clear let me know. i will explain once again.
plz let me know the solution for this
Thanks in advance
SOLVED
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
create a window FOOTER and in that give
/E TERMS_CONDITIONS
/: IF &VBDKA-VBTYP& = 'C'.
/: INCLUDE ZORD_TERMSCONDITIONS2 OBJECT TEXT ID ST
<b>/: footer data</b>
/: ELSE.
/: INCLUDE ZORD_TERMSCONDITIONS2 OBJECT TEXT ID ST
/: ENDIF.
Regards,
Sowjanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a window for footer and include the text which you have in SO10. You can have the window in all the pages.
Thank you,
Ramu N.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramu
I really appreciate your help.
Actually i have to two standard texts one is ZORD_TERMSCONDITIONS1 and other is ZORD_TERMSCONDITIONS2 and now i would like to have footer to only this text and if i create a footer separately and write it. footer will appear for the ZORD_TERMSCONDITIONS1 and this both texts are called in single print program based on condition
if vbdka-vbtyp = 'B' or vbdka-vbtyp = 'C'.
call function 'START_FORM'
exporting
form = 'ZSD_QUOTATION'
language = sy-langu.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
*Terms & Conditions which i wrote
IF TNAPR-KSCHL EQ 'ZBA0' or TNAPR-KSCHL EQ 'ZMAI'.
call function 'WRITE_FORM'
exporting
element = 'TERMS_CONDITIONS'
window = 'MAIN' .
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
ELSE.
End of Insertion for Terms & Conditions
call function 'WRITE_FORM'
exporting
element = 'TEXT_PRINT'
window = 'MAIN' .
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
ENDIF.
and in this case wat should i do plz let me know
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.