cancel
Showing results for 
Search instead for 
Did you mean: 

VF03 smartform: Output could not be issued

Former Member
0 Kudos

Hi All,

Ive created a custom invoice print program and associated smartform.

These two run perfectly together when standing alone.

However Ive created a custom output type to call this program from VF03.

This output type appears in the "Issue Output To "options in VF03.

But it returns the message "Output could not be issued" when trying to print.

In debug mode the Print Program and smartform execute perfectly when calling from VF03 in the same way, but the output fails to appear.

In the Header -Output section inside the status of the output type is "Not Processed".

Any ideas guys??

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

A lot of settings were required for the Output Type.

Former Member
0 Kudos

Hi ,

That is the probelm with output type. Intimate the same probelm to your functional guys they will look into it. Otherwise in the debug mode you can set to process mode.

Regards,

Nageswar

Former Member
0 Kudos

Hi

It seems that the Output determination is not taking place correctly

the link between the Output type and Program and smartform is not established peoperly

You have to assign this in SPRO for the billing documents

And most of the times it won't work we assign our custom program to the custom output type

it is better to use the std output type and the Std program(you copy the std and can change it but the same copied ZPeogram to be attached) and Copied/modified smartform.

check this.

Output is a link between the Driver Program and the Sapscript,

An output type summarizes messages of the same meaning. It contains parameters that are valid for all its assigned messages, for example appropriate partner functions.

Transmission medium is a medium which the layout will be come out, this may be printout, Fax or Mail

Check this link.

http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/19884743b111d1896f0000e8322d00/content.htm

ex-how to config output type.

You will assign output types using Transaction NACE.

Do the follow steps to assign output type

1)Select Application Type V2 which will have description Shipping.

2)Click on Output types button.

3)Go to change mode by pressing Ctrl+F4.

4)Select one output type which already exists

5)Do Copy As(F6)

6)Give your output type against Output Type field.

7)Under General data Tab, Give Program and Form routine and Save the data.

i think it a work of functional guy but at senior level i think it is not a big deal for abaper.

Check the following documentation

In NACE t-codewe have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.

If suppose data can be read from EDI then we should go for condition records.

So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.

Go to the Transaction NACE.

choose the related sub module.. like billing or shipping

doubel click on Output Types

Choose the Output Type for which whcih you wanted your script to trigger

Then select the Output Type and double click on Processing Routine

Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out

Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....

Device Types for SAP Output Devices (Detail Information)

Definition

The device type indicates the type of printer to be addressed. When you define an output device, choose the name of the device type that was defined in the SAP System for your printer model, such as Post2 for a PostScript printer. In the case of frontend printing under Microsoft Windows, you can also use the generic (device-independent) device type SWIN.

The system uses the information in the device type to convert a document from the internal SAP character representation (spool request in OTF or in text format) to a device-specific, print-ready data stream (output request). Since a device type specifies attributes that apply to all devices of a certain model, it can be shared among device definitions. For example, all devices in the SAP spool system that are compatible with Hewlett-Packard LaserJet IIID printers would use the HPLJIIID device type.

You should not confuse the device type with the printer driver. The device type is the total of all attributes of an output device that the SAP System must know to control the output device correctly, such as control commands for font selection, page size, character set selection, and so on. These attributes also include the printer driver that SAPscript/Smart Forms (the SAP form processor) should use for this printer. The SAPscript printer driver that is to be used for devices of this type for output formatting is therefore only an attribute that the device type specifies.

How do I choose the correct device type?

• In most cases, the SAP System already provides the appropriate device type for the printer type for the printer model that you want to use.

These standard device types are completely defined and need no modification or extension before you use them in device definitions.

• You can also download missing device types from the sapserv server. For a current list of the supported device types, see SAP Note 8928 in the SAP Service Marketplace.

• Most printers can be controlled using a generic format, such as PostScript. They can be switched to a mode that is compatible with one of the standard printers for which an SAP device type is available. In this case, a supported model is emulated.

• Almost all printers are delivered with Microsoft Windows printer drivers. The system can control these printers with the generic (device-independent) device type SWIN. The Microsoft Windows spool system then performs the processing of the print data.

• If the specified device types are not available, and generic device types cannot be used, you must create your own device type or edit a copy of an existing device type. We recommend that only those with specialist knowledge of the SAP Spool System and printer driver code do this. For more information, see Defining a New Device Type .

Attributes of a Device Type

A device type is distinguished by the attributes listed below. If you change an existing device type or create a new device type, you must change at least some of these attributes.

• Character set: A character set specifies the codes with which characters must be represented in the print-ready output stream (output request). This code replaces the generic SAP characters set that is used internally by the SAP spool system (spool request).

• Printer driver: You can specify different printer drivers for printing SAPscript documents and ABAP lists.

• Print controls: Print controls represent printer operations, such as boldface or changing the font size. These print control are replaced by printer-specific commands during the creation of the output request from a spool request.

• Formats: Formats specify the format supported by the SAP system. The system differentiates between SAPScript formats (DINA4 and LETTER) and ABAP list formats (X_65_132 = 65 rows/132 columns).

• Page format: A page format is the interface between a format and SAPscript. It specifies the paper dimensions with which SAPScript can calculate the row and column lengths.

• Actions: Actions are output device-specific commands that are required for the implementation of a format. The action printer initialization, for example, can contain a printer command with which the number of rows on a page is defined. There is a set of actions for every format supported by a device type.

Output Determiantion :

You can use output control to automate either messages or subsequent processing of partner-specific messages"

This means, it provides a method for you to perform subsequent processing once a document is saved in the system. This subsequent processing is normally to print the document, but can also include activities such as:

- Faxing the document

- Emailing the document

- Sending an idoc of the document

- Sending an EDI message for the document (via an Idoc)

- and so on.

In general, it uses the condition technique to determine what, if any, output is to be produced. The condition technique works by selecting key fields from the document (document type, plant, etc.) and matching them to master data records you have previously set up. If there is a match, then output is produced.

You can use transaction NACE for the output determination settings for all applications.

1. When you start transaction NACE, a list of all represented applications appears.

2. From this initial screen, you can access all the individual processing screens for output determination from the EDIT menu.

3. Select the relevant application. This transaction does not have a menu path in customizing.

Refer the following links.

http://help.sap.com/saphelp_crm40/helpdata/en/b3/58bf39f7568648e10000000a11402f/content.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/c0/4e4746497d11d385ee0000e81ddea0/content.htm

<b>Reward points for useful Answers</b>

Regards

Anji