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: 

output type in sap script

Former Member
0 Kudos

hi all,

what is this output type?why it is needed?

i have developed a print prog for exise invoice

but not used output type anywhere to see the output of the form.

so my question is when this output type is reqired and when not?

whther i should create output type for the above print program also. whether it is good practice to have output type? if yes why and how can we create output type for my above program?

thanks & regards

sanjeev

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI Sanjeev

Will try to keep it this way.

Considering an example whereby we need to print an invoice whenever it is generated, an output type will be configured and assigned via Output Determination procedure.

Here just by assigning the output type, the system will not know which form to use for printing.

Hence we will be specifying the driver program, form name and routine where the process has to start.

So when an invoice is generated, throught the output determination procedure it will recognize the output type to be inserted and then the associated form and print program for the generation of document.

Second case is a print program and form whereby these need not be associated to any output types. This is a normal report program which when executed will generate a document.

Hope i have managed to give you some idea.

Kind Regards

Eswar

2 REPLIES 2

Former Member
0 Kudos

HI Sanjeev

Will try to keep it this way.

Considering an example whereby we need to print an invoice whenever it is generated, an output type will be configured and assigned via Output Determination procedure.

Here just by assigning the output type, the system will not know which form to use for printing.

Hence we will be specifying the driver program, form name and routine where the process has to start.

So when an invoice is generated, throught the output determination procedure it will recognize the output type to be inserted and then the associated form and print program for the generation of document.

Second case is a print program and form whereby these need not be associated to any output types. This is a normal report program which when executed will generate a document.

Hope i have managed to give you some idea.

Kind Regards

Eswar

santhosh_patil
Contributor
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.