on 04-09-2009 10:26 AM
Dear All,
I have assigned a New Output Type "ZA01" to sales Order in NACE Transaction. Also I have assigned a Smartform to that smartform.
Now the problem is when I am going for "ISSUE OUTPUT TO" process for selecting a OUTPUT Type "ZA01", my required smartform is not getting called.
So can you please guide me how to do the same and what are Basic Necessary things in order to call a smartform from Standard Transaction.
Regards,
Vishal
+91 98123 35975
ISSUE OUTPUT TO" process for selecting a OUTPUT Type "ZA01", my required smartform is not getting called.
Are you getting any error on that output type ? Or is it that some other form is triggered ?
regards,
Advait
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If on clicking preview button , preview is not coming, and u are sure that everything is configured inNACE then there might be some error in smartform, goto tcode SFTRACE switch on trace and then do issue output, if it stop anywhere in code that5 means u hv an error, now chek the sy-msgid at tht point and see what error its giving.
Hi,
Try like thi
REPORT ZSD_REP_QUOTATION.
TABLES:nast.
DATA: wa_fm_name TYPE rs38l_fnam,
wa_formname TYPE tdsfname.
data : v_vbeln type vbak-vbeln.
start-of-selection.
FORM ENTRY USING return_code us_screen.
perform get_data.
PERFORM processing.
ENDFORM.
&----
*& Form GET_DATA
&----
text
----
--> p1 text
<-- p2 text
----
form GET_DATA .
v_vbeln = nast-objky.
endform. " GET_DATA
&----
*& Form PROCESSING
&----
text
----
--> p1 text
<-- p2 text
----
form PROCESSING .
wa_formname = 'Z_SD_SSF_QUOTATION'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = wa_formname
IMPORTING
FM_NAME = wa_fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION wa_fm_name
EXPORTING
p_vbeln = v_vbeln.
endform. " PROCESSING
Here u can get the order number in smartform.
Based on this u can write the code in smartforms
Hi Vishal Gupta,
First check for an entry exist in the table TNAPR for your output type and the from name.
if there is no entry configure once again in the NACE.
if entry exists, then check the corresponding print program which you get form the table TNAPR
for the output type and the form name,then check the print program if it is calling your Smartform
or not....then do the changes accordingly.
Regards,
Jaya rama kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
U have to conver the Standard Program to Zprogram and also copt the Includes and also ucan pass ur parameter to the Select Query as NAST-OBJKY (Suppose P_VBELN) pass in the selcet Query as vbeln = NAST-OBJKY insted of P_vbeln.
This link would help u out..
Regards,
Vijaya Lakshmi.T
Edited by: Vijaya Lakshmi on Apr 13, 2009 6:53 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
foto va02
enter document and then on menu bar
goto-extras- outputheaderedit and then assign ur output type
then on communication select ur printer and then save it.
then try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you get to enter the tranaction VA02 or VF02.
Then create a message with your outputtype and save.
Aftrer that you can print it with oyur method (VF03 and VA03)
If the message type is not known in your VA02 or VF02 you have to use
SPRO.
I think the combination NACE and V/57 will do for your salesconfirmation.
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal Gupta,
As you have given SF name in NACE for Z Outtype. As in Standard driver program they will call Script only, So wht u need to do is Copy RVADOR01 (Standard print program) in a ZRVADOR01 and then call you SF.
I guess this could resolve your problem.
Regards,
Suneel G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.