on 09-03-2008 1:04 PM
Hi
I am printing Goods Receipt from MIGO but I am not getting the dialog box to choose the Printer and No of Copies.
I am using smartform which is copied from a standard sap script.
-Sid
Mac Points are gaurenteed for most precise auggestions.
HI,
Yes, you are correct. The control parameter will over write the settings in NACE transaction settings. Even if we have print output option in NACE , if you fill NO_dialog = 'X', then definitly it will not show the dialog box.
Regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well,, then its a problem as I am not passing any such parameter.
This is the code -> Its a copied standard program used for Smartform.
FORM entry_etie USING ent_retco ent_screen.
data fname type RS38L_FNAM.
data outop type ssfcompop.
data cparam type ssfctrlop.
data joutop type SSFCRESOP.
outop-tddest = 'LOCL'.
cparam-preview = 'X'.
cparam-no_open = 'X'.
cparam-no_close = 'X'.
xscreen = ent_screen.
CLEAR ent_retco.
PERFORM lesen USING nast-objky.
ent_retco = retco.
PERFORM bestellkopf_lesen.
* PERFORM ausgabe_eti.
* Using Smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZMMF0101'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = fname
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
* ARCHIVE_PARAMETERS =
USER_SETTINGS = space
* MAIL_SENDER =
* MAIL_RECIPIENT =
* MAIL_APPL_OBJ =
OUTPUT_OPTIONS = outop
CONTROL_PARAMETERS = cparam
IMPORTING
JOB_OUTPUT_OPTIONS = joutop
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
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 fname
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = cparam
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = outop
USER_SETTINGS = SPACE
* ZLFSNR =
ZMBLNR = MSEG-MBLNR
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5
.
CALL FUNCTION 'SSF_CLOSE'
* IMPORTING
* JOB_OUTPUT_INFO =
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* OTHERS = 4.
ENDFORM. "entry_etie
-Sid
just comment this CONTROL_PARAMETERS it will give the popup.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
* ARCHIVE_PARAMETERS =
USER_SETTINGS = space
* MAIL_SENDER =
* MAIL_RECIPIENT =
* MAIL_APPL_OBJ =
OUTPUT_OPTIONS = outop
*CONTROL_PARAMETERS = cparam "Comment this
IMPORTING
JOB_OUTPUT_OPTIONS = joutop
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
IF SY-SUBRC ne 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
HI,
I am not sure what the following will effect.
Try commenting these two lines and check whether you are getting any dialog box or not.
I never used these two options.
cparam-no_open = 'X'.
cparam-no_close = 'X'.
Regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the setting in Nace transactions. There should be an optoin called Transmission medium for which the value should be 1 - Print output.
If you are not able to see that then you will not get the dialog Box. To enable it take your functional consultant help.
Regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.