on 10-09-2007 2:42 PM
Dear Friends,
We would like print GR Collective slip(WE03) using smart form MMGR3_A.
I am not clear about the following information. Appreciate, some one can help in configuring this.
Layout Module :??
SmartForm Name : MMGR3_A
Program Name : SAPFM07P_SMART
Form Routine : ??
Regards
Kumar
Hi Karun,
Open the program and search for the routine "ENTRY"
if that routine is there , then u can give that in the Form Routine column.
In the program 'SAPFM07P_SMART' , search for 'ENTRY'. it will find in last include- INCLUDE : FM07PSMARTENT. "Entries for output.
There you can get the form routine name as <b>FORM entry_we01 USING ent_retco TYPE sy-subrc
ent_screen TYPE C.</b>
SmartForm Name : MMGR3_A
Program Name : SAPFM07P_SMART
Form Routine :entry_we01
using these details, you can find output type.
Rewards if useful,
Thanks,
Usha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Usha
Thanks for the response. I have configured the system as per your suggestion. But when I tried to view the output using MB90 transaction, it gives shortdump with following error. Secondly, it is not clear why SAP has not provided routine for WE03 (ENTRY_WE03)?
Appreciate, if you could suggest some thing to overcome the problem.
-
Short dump please refer to line 1750----
The termination occurred in the ABAP program "SAPFM07P_SMART" in "ENTRY_WE01".
The main program was "MM70AMEA ".
The termination occurred in line 175 of the source code of the (Include)
program "FM07PSMARTENT"
of the source code of program "FM07PSMARTENT" (when calling the editor 1750).
Processing was terminated because the exception "CX_SY_DYN_CALL_PARAM_MISSING"
occurred in the
procedure "ENTRY_WE01" "(FORM)" but was not handled locally, not declared in
the
RAISING clause of the procedure.
The procedure is in the program "SAPFM07P_SMART ". Its source code starts in
line 7
of the (Include) program "FM07PSMARTENT ".
Source code extract
Caution: Program has changed
Caution: At time of termination, Active source code no longer available
001450 ?
001460 ? * All data read => call smart form
001470 ? CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
001480 ? EXPORTING
001490 ? formname = tnapr-sform "796219
001500 ? IMPORTING
001510 ? fm_name = l_fm_name
001520 ? EXCEPTIONS
001530 ? no_form = 1
001540 ? no_function_module = 2
001550 ? OTHERS = 3.
001570 ? IF sy-subrc <> 0.
001580 ? MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
001590 ? WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
001600 ? ENDIF.
001610 ? * fill options "897696
001620 ? l_options-tddest = nast-ldest.
001630 ? l_options-tddataset = nast-dsnam. "897696
001640 ? l_options-tdsuffix1 = nast-dsuf1. "897696
001650 ? l_options-tdsuffix2 = nast-dsuf2. "897696
001660 ? l_options-tdimmed = nast-dimme. "897696
001670 ? l_options-tddelete = nast-delet. "897696
001680 ? l_options-tdcopies = nast-anzal. "897696
001690 ? l_options-tdcover = nast-tdocover. "897696
001700 ? if nast-vsztp = '4'.
001710 ? l_control-no_dialog = 'X'.
001720 ? endif.
001730 ? l_options-tdnewid = 'X'.
001740 ? * now call the generated function module.
001750<b>----
> ? CALL FUNCTION l_fm_name</b>001760 ? EXPORTING
001770 ? mseg = ls_mseg
001780 ? mkpf = ls_mkpf
001790 ? am07m = ls_am07m
001800 ? t001w = ls_t001w
001810 ? ekko = ls_ekko
001820 ? ekpo = ls_ekpo
001830 ? t024 = ls_t024
001840 ? ladr = ls_ladr
001850 ? t157e = l_t157e
001860 ? mabdr = ls_mabdr
001870 ? t156 = ls_t156
001880 ? t159p = ls_t159p
001890 ? t064b = ls_t064b
001900 ? t027b = ls_t027b
001910 ? t027d = ls_t027d
001920 ? control_parameters = l_control
001930 ? * MAIL_APPL_OBJ =
001940 ? * MAIL_RECIPIENT =
Hi
See the following
copy the respective One and add the Zform in the NACE tcode
GOODS RECEIPT
Output type : WE01
ScriptForm Name : WESCHEINVERS1
smartform name : /SMB40/MMGR1_A
smartform driver program: /SMB40/M07DR
GOODS ISSUE
Output type : WA01
ScriptForm Name : WA_SCHEINVERS1
smartform name : /SMB40/MMGI1_A
smartform driver program: /SMB40/M07DR
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Anji/Yugandhar
Thanks for the promt response... I tried configuring in the same way as described by you... but system gives an error /SMB40/M07DR does not exist in TRDIR Entry for smartform driver program. Please note that we are in 4.7 version.
Apartfrom above, please clarify the below points.
- Why do we have to maintain the sapscript from details?
- What is the form routine we should specify the smart form (Trans: M706Output types-> WE03>Process routines)
GOODS RECEIPT
Output type : WE03
ScriptForm Name : WESCHEINVERS3
Form Routine : ???
smartform name : /SMB40/MMGR1_A
smartform driver program: /SMB40/M07DR
Regards
Kumar
Hi Karun,
Program name means there will be standard programe that will be used
for different layouts. In that there r different routines.
In each routine there will be code for particular form.
in that form will be called.(smartform or script).
U go nace transaction and see that in particular application
for different output type there is same standard programe with
different type of routines.
Assign points if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.