Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi

Former Member
0 Kudos

Please let me know what is OUTPUT type in SAP script?

6 REPLIES 6

Former Member
0 Kudos

Hi...

Some useful info about output type..

Definition

An output type (or also a "condition type") summarizes messages of the same meaning. It contains parameters that are valid for all its assigned messages, for example appropriate partner functions.

BA00 (order confirmation), MAIL (internal message), KRML (credit limit exceeded)

Use

For each transmission medium, one form routine in a program is assigned to the output type. This form routine is called for processing the message (message status record).

For transmission medium 7: SAPoffice mail you can assign the output type title and text of mails which are used as default values in the condition records, that is to say, in the messages.

Integration

Output types come after procedures in the condition component hierarchy. One access sequence (next hierarchy level) is assigned to the output type. In addition, one or more condition tables (last hierarchy level) can be assigned to an access sequence.

Defining Output Types

You can select one of the two following alternatives:

· Select the appropriate activity from Customizing in the relevant application

· Use transaction NACE in expert mode. The following describes this alternative.

Select your application and select Edit ® Output types.

In change mode select Edit ® New entries. You can also define default values for the condition records in your new definition.

Save your entries.

The following diagram shows that for order messages the output type BA00 (order confirmation) was defined with condition access (that is to say the message determination is called). Here you can also determine whether specific processing times should be excluded. In addition, control parameters for message determination and exits (that can occur during message determination) are declared for the transmission media "Print" and "Mail" (SAPoffice).

Default values are declared for the condition record for output type BA00, for example transmission medium 6 (EDI). It makes no sense to create a communication strategy for this transmission medium. It makes sense for transmission medium 5:

Defining Processing Program and Form

Prerequisites

You are in the maintenance dialog for output types.

Procedure

Choose your output type ("condition type") and choose processing routine.

Enter in change mode for the requested transmission medium a processing program, a form routine, and if applicable an SAPscript form. For a transmission medium that has not yet been entered, choose Edit ® New entries.

Save your entries.

REgards,

Kishore.

0 Kudos

Thanks kishore for the reply...it will be useful for me...

Former Member

Former Member
0 Kudos

Hi

It should be the output message, every document can have several and different prints, an OUTPUT TYPE is assigned to every kind of print.

See the NACE trx for example.

Max

Former Member
0 Kudos

Hi,

Please see this threads.

Might be helpful to you.

http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm

http://www.sapdevelopment.co.uk/sapscript/sapscripthome.htm

This might be useful.

Regards.

Former Member
0 Kudos

Hi reema

After completing layout set desinging and driver program coding,how can we get the output in desired format?

To get the output data in req format we can attach the driver program and layout set in an output type.

Go to the corresponding transaction,say for eg if u r doing for billing go to VF03

give print.here u mention the output type.

Normally functional consultant create the output type and attach that into driver pgm and layout set.

Hope this will give some idea

Regards

P.Thangaraj