on 07-10-2008 1:30 PM
I have 5 house bank.And their layout is different.I have modified from standard layout for each house bank format.How can I call house bank wise without using the Alternative form field in f-58 tcode.
How can I call these layout in standard program
thanks
kumar n
Hi ,
I am also facing the same problem . Can you tell me what to be done to take print out for different bank without mentioning the form name in alternative coloumn? Is there any configuration has to be done?
Regards
Shiba Prasad Dutta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to create a blank form that doesn't print anything and inside the blank form call an external program passing the required values like this:
/: PERFORM zprint IN PROGRAM zprinting
/: USING &VBDKR-VBELN&
/: USING &VBDPR-POSNR&
/: USING &KOMVD-KWERT&
/: CHANGING &ZSTK&
/: CHANGING &KWERT&
/: ENDPERFORM
report zprinting.
FORM FUEL_CHARGE_COUNT TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
ARCHIVE_INDEX = ' '
ARCHIVE_PARAMS = ' '
DEVICE = 'PRINTER'
DIALOG = ' '
FORM = 'zcheque' <----
another lay out HERE
LANGUAGE = SY-LANGU
OPTIONS = ITCPO
MAIL_SENDER = ' '
MAIL_RECIPIENT = ' '
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
MORE_PARAMS_NEEDED_IN_BATCH = 8
OTHERS = 9.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'check'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
OTHERS = 8
endform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.