cancel
Showing results for 
Search instead for 
Did you mean: 

VL086: Output cannot be issued

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hello,

Put break-point after

CALL FUNCTION FM_NAME

I.e on

break-point.

If sy-subrc <> '0'.

endif.

Check the sy-subrc value and message.

Former Member
0 Kudos

Tried i get no error.

Former Member
0 Kudos

please uncoment exceptions and then see.

Former Member
0 Kudos

No error again.

Actually i can take printout also .It is only when i press back button after seeing preview screen that i get this message.

Former Member
0 Kudos

I am not using standard sap smartform but my own developed.

Former Member
0 Kudos

Then only one option is that, debug your programm till the error message comes to find the cause.

Answers (2)

Answers (2)

Former Member
0 Kudos

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

former_member206396
Active Participant
0 Kudos

Hi,

How did you slove this issue?