SAP - FI
Document Reversal FB08 in SAP: Step by Step Guide
This tutorial will take you through the steps to perform Document Reversal. Step 1) Enter...
SAP script is the SAP System's own text-processing system.It looks and feels a lot like other leading text-processing systems.
It is used to print preformatted text in pre-formatted forms.
SAP Scripts comprises of five main components:
To output documents using the programming interface, R/3 application programs need so-called layout sets (a kind of form).In SAP script a layout set describes the layout of the individual print pages and uses text elements to supply definable output blocks, which a print program can call.A layout set can be defined as a page design for a document
Layout set on its own doesn't contain any data. The selection of data for the document is done through the print program. The print program selects the data from database table and feeds it to the layout set. When the print program is executed the document is printed on the screen, printer.
Usually a SAPScript Layout consists of following components
The purpose of "control commands" is to allow control of the output formatting.These commands are not interpreted by the SAP script editor, but are passed through to the SAP script Composer for processing. This includes, for example, line and page formatting, the formatting of text according to the paragraph and character formats specified.
Syntax
Enter /: in the paragraph format
Examples
The execution of script is done through an ABAP program, which is referred as Print Program. Each print program should have an ENTRY form , which will be called from customization.
For a standard configuration we can see the form name (script name), print program name and output type in the table TNAPR.The print program uses the Form control functions to call the script.
The print program call either all or some of the form control functions to execute the script
The output type can specify, a printed form that you need for internal use or a form that you want to send to a customer or vendor . The output type can also be an internal electronic mail message that you want to send to staff in another department.
For example "Print out" can be classified as one output type of a billing document, i.e. when this output type is executed the billing document is printed. Similarly "Fax" can be an output type, i.e. when this output type is executed a fax of the billing document is sent
All the output types for any document (e.g. billing document) will be stored in the table NAST.Output types are executed through the program RSNAST00 .
Example : Output type in a billing document-
Standard Texts for your report can be created using transaction SO10
Graphics and printer macros are uploaded with report RSTXLDMC into individual standard text documents or through transaction SE78. Graphics are uploaded in "Baseline TIFF 6.0" format (.tif files on PC)
SAP Script & Standard text elements can exported or imported between two systems using RSTXSCRP program
Copying Scripts Across clients:
SAP Script is a client dependent object.Unlike programs, changes done to SAP script in one client will not be reflected in other clients. For copying script from one client to another, go to SE71 and use "Copy from Client" option available under Utilities menu or import the transport request, in which the script is saved, from the original client using the transaction SCC1 .
Important Points to Note
This tutorial will take you through the steps to perform Document Reversal. Step 1) Enter...
What is SAP R/3? SAP R/3 is a 3 tier architecture consisting of 3 layers Presentation Application...
What is an Internal Table? INTERNAL TABLE are used to obtain data from a fixed structure for...
SAP offers various certification for different modules. Certifications can be found based on the...
What is Invoice Correction? Invoice Correction is a process to correct quantity or prices in the...
Training Summary The Controlling (CO) module of SAP provides information to managers & decision...