Skip to Content
0
Former Member
Aug 05, 2008 at 01:15 PM

VL086: Output cannot be issued

5146 Views

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.