on 08-05-2008 2:15 PM
Dear experts,
I have developed delivery Note.Using NACE it is attached to menu item
'Issue delivery output' in VL02N and configured.
I can go and preview the credit note.Also i can go to menuitem
Text-Print and take the printout.
This means overall displaying till printing is working ok.
But now soon as i click back button ,the dialog to choose Output
type that came before disappears and a message comes as 'Delivery output cannot
be issued.
FYI: I have developed credit note and driver program from scratch
as Z Program.
When i try to explore this error i get message
'VL086 : Output cannot be issued'
An error occured in message processing program.
Technical information shows table name : SAPLSHL2
My code is as under:
st_control_parameters-preview = 'X'.
st_control_parameters-device = 'PRINTER'.
st_control_parameters-no_dialog = 'X'.
st_output_options-tddest = 'ZERP'.
st_output_options-tdimmed = 'X'.
CALL FUNCTION FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = st_control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = st_output_options
USER_SETTINGS = ' '
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
i_header = i_heading1
i_detail = i_lipsvbap
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.
Dear experts,
Here i observed that as soon as i get the dialog for output type,i click on the preview.It is visible and i take the printout.I press back button and then i get 'output cannot be issued' error.What i could make out is that session of
VL02N is lost as it has already branched to a new
customized program.Or do i need my consultant to ask to do configuration by which the dialog 'output cannot be issued'
should sustain.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know it's late - but maybe this will help somebody else...
I had the same problem with a newly developed output for a picking list. The problem was that the return value in the form routine of the output type (as set up in NACE) did not change the return_code value.
Fixed thusly....
FORM entry USING return_code us_screen.
PERFORM get_data.
PERFORM call_smartform.
IF sy-subrc EQ 0.
CLEAR return_code.
ENDIF.
ENDFORM. "entry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How did you slove this issue?
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.