on 06-18-2008 7:06 AM
Can anyone send prin program for PO smartform.plz its very urgent.i written already but at time of assigning the program in nace t-code it gives error.
Hi,
There is predefined print program for purchase order in ECC6
i.e /SMB40/FM06P check this
Thanks,
NN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
chk this Standard Print program for PO
SAPFM06P
Thanks
Murugan.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your print program will vary depending on your output type buddy. Whats the problem that ur facing? could u pls explain?
Nayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the out put type you will be assiginig your print program name and smartform name and the form routine name.
->Here if you have given the form routine name as ENTRY
-> In the print program you have to define a subroutine ENTRY and in that subroutine you have to call your smartform asusually.
-> Now if you go with print preview in the ME21n you will get the print preview.
Thanks,
NN.
Hi,
Goto NACE. Click your Z output type. It will show u a screen containing your smartform name and driver program. There you would have Form Routine. You have to create an include in your driver program from where the processing of the smartforn will start.
check this sample code.
My driver prog is Y640FM06P and it has a form routine (include) ENTRY_NEU.
FORM entry_neu USING ent_retco ent_screen.
DATA: l_druvo LIKE t166k-druvo.
DATA: ls_xfz TYPE char1.
xscreen = ent_screen.
CLEAR ent_retco.
IF nast-aende EQ space.
l_druvo = '1'.
ELSE.
l_druvo = '2'.
ENDIF.
*>>> Start of Insertion >>> OSS 754573 (Liu Ke)
IF xscreen EQ 'X' AND ( nast-tdarmod EQ '2' OR nast-tdarmod EQ '3').
nast-tdarmod = '1'.
ENDIF.
*<<< End of Insertion <<<
PERFORM processing_po USING nast ls_xfz
CHANGING ent_retco ent_screen l_druvo.
ENDFORM. "entry_neu
and in the subroutine processing_po you call your smartform and do other related stuff.
Hope this solves your queries.
Reward if useful.
Thanks
Nayan
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.