Showing posts with label ABAP FAQ'S ON SCRIPTS. Show all posts
Showing posts with label ABAP FAQ'S ON SCRIPTS. Show all posts

ERP MYSAP Sales Order Management Business Process Overview

ERP MySAP has integrated sales order management as a business process to implement any company order to sell goods and get back cash as well as monitoring its progress.In your enterprise, a customer places an order for material or services. This order is delivered after which invoiced to the customer. In some cases, the ordered material is probably not out there to satisfy the customer’s requested delivery date.As a project crew member, it's essential to test the performance of the order to cash process.Organizational models signify the construction of an enterprise organization. Organizational models characterize the authorized and organizational views of an enterprise.

The Gross sales and Distribution module uses some organizational items that may only signify sales and distribution processes, similar to sales group, distribution channel, division, or shipping point.Other organizational models, resembling company code or plant, are utilized in Gross sales and Distribution and in other modules.

You can symbolize your enterprise construction using organizational models based on your business processes.For an organization code, a complete unbiased accounting unit will be represented because the smallest organizational unit in exterior accounting.This consists of entry of all accountable transactions and the creation of all proofs for a legally required particular person account closing, such because the stability sheets and the revenue and loss statement.

Examples of a company code are: an organization inside a company group or a subsidiary. The sales group is an organizational unit in Logistics which groups the enterprise in holding with the requirements of sales and distribution. A sales group is responsible for distributing items and services. Subsequently, it is also responsible for the offered products and liable for the purchasers' rights of recourse.

The sales group can be used to take, for example, a regional, nationwide or worldwide subdivision of the market into account. A gross sales organization is uniquely assigned to an organization code. More than one gross sales group can be assigned to a company code. When you use the Gross sales and Distribution module, you want at least one sales organization. You preserve personal master knowledge for a sales organization. Within the sales statistics, the sales group is the very best summation level. All items in a sales and distribution doc, that's, all objects of an order, an outbound supply or a billing doc, belong to a gross sales organization.

A distribution channel is a method by which salable supplies or companies reach the customer. Several distribution channels will be assigned to a gross sales organization. In the occasion you use the Sales and Distribution module, you want no less than one distribution channel. For example, it is used to:

Outline duties,
Obtain versatile pricing and
Differentiate sales statistics.

A division is used to group supplies and services. A gross sales organization can have a number of divisions assigned to it, for which it is responsible. If you use the Sales and Distribution module, you have to not less than one division.The system makes use of the division to discover out the sales areas a cloth or a service is assigned to.


A division can, for instance, characterize a product group. Subsequently, you'll be able to, for example, limit price agreements with a customer to a certain division. You could also conduct statistical analysis by division.A sales area is a mix of the sales organization, distribution channel, and division. It defines the distribution channel a gross sales group uses to promote products from a sure division.Each sales and distribution document is assigned to precisely one gross sales area. This task can not be changed.

A sales space can belong to only one company code. This relationship is created by assigning the sales organization.Throughout the processing of gross sales and distribution paperwork, the system accesses various grasp data,in line with the sales area. This master information includes, for example, customer grasp knowledge, materials grasp knowledge, prices, and discounts. As nicely as, the system carries out a quantity of checks concerning the validity of sure entries in response to the gross sales area. The plant is a location where materials stock is kept. A plant can, for instance, symbolize a production facility or just a grouping of areas (storage locations) in physical proximity. Plant and storage location are organizational models that can be utilized by all logistic areas.

Materials administration is primarily concerned with the material flow. From a materials management viewpoint, a plant is, above all, a location the place materials stock is kept. In manufacturing, a plant can signify a producing facility. In gross sales and distribution, a plant represents the location from which supplies and providers are distributed and corresponds to a distribution center. The relevant shares are kept here. If you occur to promote a service, a plant can signify the situation companies are rendered from .



In sales and distribution, the plant has a central function:

It's a must to create at least one plant in order to have the opportunity to use the Sales and Distribution module. A plant have to be uniquely assigned to a company code. The project between gross sales organizations and crops doesn't should be unique.

The plant is crucial for figuring out the delivery level Shipping is an integrated module of gross sales and distribution processing. The transport point is the highest-degree organizational unit of delivery that controls your transport activities. Every outbound supply is processed by one delivery point.

The shipping point generally is a loading ramp, a mail depot, or a rail depot. It may additionally be, for instance, a group of workers responsible for organizing pressing deliveries. You assign a shipping level at plant level. A shipping level is a bodily place and ought to be near the delivering plant. More than one shipping point will be assigned to a plant.

You might as well assign a number of shipping factors to a plant. This may additionally be appropriate for vegetation in bodily proximity.A quantity of sources of data will be copied into a sales order or into another sales and distribution document. Most of them are default values which you can overwrite in the sales and distribution doc, if necessary.

These sources of information embrace, for example:

Customer master knowledge
Materials master data
Situation master data

Output is data that is despatched to the shopper utilizing numerous media, comparable to mail, EDI, or fax.Examples embrace the printout of a citation or an order confirmation, order confirmations utilizing EDI, or invoices by fax.


Control tables: You probably can create and preserve these tables in Customizing. The default values of a quantity of data could be managed within the sales and distribution paperwork, depending on the table settings.

One gross sales document can function a source of knowledge for one more gross sales document. For instance, a quotation can function an information source for a gross sales order.
The shopper master teams information into categories: basic knowledge, gross sales space data, and company code data.

The general knowledge is related for gross sales and distribution and for accounting. It's saved centrally, with the intention to keep away from information redundancy. It is legitimate for all organizational units within a client. The gross sales space data is relevant for sales and distribution. It's legitimate for the respective sales area .

The corporate code information is relevant for accounting. It's legitimate for the respective firm code.The customer master includes all information obligatory for processing orders, deliveries, invoices, and customer payments.The fabric master is grouped into several views: Fundamental data, sales and distribution data, buying information, numerous further information for engineering/design, accounting, costing, warehouse management, and so on.

Primary knowledge is relevant for all areas. It is valid for all organizational models inside a client.

Sales: gross sales group knowledge is relevant for sales and distribution. It is valid for the respective sales group and the distribution channel.Plant data can also be relevant for sales and distribution. It's valid for the respective deliveringplant.here is further data for a number of different areas. This is valid for varied organizational units.


SAP SCRIPTS COMPLETE SERIES

Here at this page there are no. of links to learn sap scripts completely to print the out put for a requirement with all the adjustments .

You can learn complete scripts series here .

The links day wise are

SAP SCRIPTS PART 1

SAP SCRIPTS PART 2

SAP SCRIPTS PART 3

SAP SCRIPTS PART 4

SAP SCRIPTS PART 5

SAP SCRIPTS PART 6

SAP SCRIPTS PART 7

SAP SCRIPTS PART 8

SAP SCRIPTS PART 9

SAP SCRIPTS PART 10

SAP SCRIPTS PART 11

SAP SCRIPTS PART 12

SAP SCRIPTS PART 13

SAP SCRIPTS PART 14

SAP SCRIPTS PART 15

SAP SCRIPTS PART 16

SAP SCRIPTS PART 17

SAP SCRIPTS PART 18

SAP SCRIPTS PART 19

SAP SCRIPTS PART 20


ABAP TOPIC WISE COMPLETE COURSE

ABAP 51 Days Complete Course
ABAP Dictionary
OOPS in ABAP
BDC
SAP Scripts
SAP Scripts Controls
SAP Smart Forms
Real Time ABAP Programming Reports
SAP Interview Questions
Syntax for ABAP Programming
ABAP Interface Programming
Financial and Controlling Sample Reports 

FAQ ON SCRIPTS 3

Styles

Styles are used to predefine paragraph and character formats for forms. SAP provides several standard styles e.g. for Address includes, on-line documentation and so on. You can define your own styles.

To find styles, create styles and maintaine styles, use transaction SE72.
You assign style to a text by using menu Format -> Style
You can make temporary style changes using the control command /: STYLE

Using graphics in SapScript
Use transaction SE78 to inmport graphics to SAP.
In the form painter, you can either include directly to the form using menu Edit->Graphic->Create or using the INCLUDE statement in a window.

To use an INCLUDE stanment, goto into the woindow script editor and use menu Include->Graphic. The include can look like this for a bitmap:
/: BITMAP MYLOGO OBJECT GRAPHICS ID BMAP TYPE BMON

Modifications


Considerations in connection with modifications

The standard SAP print program should only be changed when it is absolutely necessary. If additional data is needed, these can in many cases be retrieved using a a PERFORM statement in the form instead of changing the print program..

There can be the following reasons to change the print program:
Structureal changes
New text eloements are needed

Print program to be used to print additional forms
Determine/change which forms and printprograms that are used for printing
The forms and print programs for a given output type and application can be found in table TNAPR Processing programs for output

Use view V_TNAPR in (Transaction SE30) to change entries.
Import/Export SapScript form from PC file
Use ABAP program: RSTXSCRP
SD - Finding the name of the print program
For SD dopcuments you can use table TNAPR top find the name of the a
printprogram

RELATED POSTS

FAQ'S ON SAP SCRIPTS PART 1
CRM Uses and how to get best results with CRM
CRM software solutions and mysap advantage
My sap crm and marketing planning

FAQ ON SCRIPTS 2

Symbols and Control commands

Symbols are placeholders for values that are inserted during print formatting.
Symbols are indentified by name surrounded by "&" and are not case sensitive


Types of symbols
System symbols
DATE Date
DAY Day
NAME_OF_DAY Name of day
MONTH Month
YEAR Year
TIME Time
HOURS Hours
MINUTES Minutes
SECONDS Seconds
PAGE Page number
NEXTPAGE Number of next pagre
DEVICE Output device
SPACE Blank space
ULINE Underline
VLINE Vertical line
Standard symbols

Standard symbols are user defined and are maintained in table TTDG(table is not available???)

. You use transaction SM30 to change or display standard symbols.
An examples of standard symbols is &MFG& fot "Yours faithfully"
Standard text
standard texts is predifined texts that can be used in more than one form. Standard texts are can be created, changed and displayed using transaction SO10.
The text ID is used to classify texts.


To include a standard text in a form, use the INCLUDE command:
INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD
When formatting the standard text the PARAGRAPH parameter is used. To center the text use:

Example:
INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD LANGUAGE EN PARAGRAPH C.
Name: Z_BC460_EX4_HF
Object: Text
Text id: SDVD (Text id from SO10)
Language: EN
Paragraph: C (Centered)
Tip: You can use menu Insert->Text->Standard to make it easier to insert the text
Program symbols
Program symbols are for contents of database fields or global program symbols. When you print the form, data from the database tables are printed isntead of the symbols.
In the print program:


TABLES: kna1.
In the form:
&KNA1-NAME1&
Formatting
&SYMBOL& No formatting
&SYMBOL+4& Offset - Output begins here. Offset refers to formatted value
&SYMBOL(5)& Length - Output data in the specified length
&SYMBOL(I)& Suppress initial value - If the field has been initialized, nothing is output
&SYMBOL(Z)& Suppress leading zeros
&SYMBOL(C)& Compress blank spaces - Consecutice spaces are compressed into a single space. Leading spacesare suppressed.
&SYMBOL(R)& Right align output
&SYMBOL(S)& Operators are suppressed
&SYMBOL(*)& Dictionary length - The data length is defined by the ABAP dictionary
&SYMBOL(8.2)& Decimal format. Length 8 decimals 2
&'text1'SYMBOL'text2'& Text can be inserted before and after the symbol
Control commands
Control command are used to modify text output. Use format key /: in the format column.

The intensity is the grey scale of the box as %. The frame parameters is the thickness of the frame. Default is 0.


Each of the paramteters ypos, xpos, width, height and frame muts be followed of the measurement unit:


TW (twip)
PT (point)
IN (inch)
MM (millimeter)
CM (centimeter)
LN (line)
CH (character).
Examples:
BOX XPOS '11.21' MM YPOS '5.31' MM HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW

Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.

POSITION and SIZE

You can use the POSITION and SIZE commands to set default parmeters for a box. This can be usefull if you have several boxes that share the same parameters.

If you want to set the position realtively to the window use POSITION WINDOW to set the position to the top/left start of the window. Then use POSITION to set the current position relatively to the start of the Window. Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively.the position is now 5 MM from the left and 10 MM from the top of the window.After using the position command you can move the current position realtively to the last used position

RELATED POSTS

FAQ'S ON SAP SCRIPTS PART 3
CRM software solutions and mysap advantage
MySAP CRM and customer relationship management
My SAP CRM , Business Scenarios and SAP Solutions

FAQ ON SCRIPTS 1

SAP Scripts

What is sap script and layout set?

Ans - SAP script is the integrated text management system of the SAP R/3 System. SAPscript is tightly integrated into the SAP System. It is used for many different word-processing tasks all over the SAP System.

What is layout set?

A layout set in SAPscript is used for page layout. The layout set contains various elements, which are used for layout control of the individual pages and also contain layout information for texts which are to be output on the individual pages.
The layot of a document is defined in a layot set.

A layout set specified the appearance and structure of a document.
Layout sets contain predefined text modules with space reserved for variable data. You can use these text modules for different application.

Every SAPscript document uses a layout set.
To make changes to your documents, such as moving a piece of text, or changing fonts, paragraph formats, and tabs, you only need to change the layout set.

There are two ways of formatting texts using layout sets:
The text is entered and output in standard text maintenance. You can assign any layout set.

Text can also be entered via the layout set a letter header, for example.

The text is formatted via an ABAP/4 program using a layout set. The program can either dynamically output individual predefined text modules, text elements or transfer entire texts, which are to be output in the layout set.

You can use Styles to define the formatting of the text in your documents. A style determines text formatting by setting the paragraph and character formats used in a document.

You can, for example, use a style to highlight character strings or whole paragraphs. You can assign a style to any text. Typically, however, you’ll use styles
primarily in the main windows of layout sets, where users type or enter text directly in documents.

Header data is found in both style and layout set maintenance.
In style maintenance, it is used primarily to present important information - designed to make it easier for the end user to select a style. The header data in layout set maintenance, on the other hand, is used for information and control purposes.


Windows are defined in layout set maintenance. They represent areas which are positioned on pages as page windows and in which text is later output. At least one window must be defined for each layout set. If not, a text cannot be formatted by SAP script.

The following window types can be used:
MAIN - Main window in which continuous text is output. This is the window used by dialog users of a print program and layout set. For example the body text of a letter would be entered in MAIN.


VAR - Window with variable contents. The text can vary on each page in which the window is positioned. Variable windows are formatted for each page.
CONST - Window with constant contents which is only formatted once.

A layout set has the following elements:

Header data - Data related to development (created by, development class, etc.) and layout set information (which elements are used) are both stored in the header data. A start page must be entered here.

Paragraph formats - Paragraph formats are required in layout sets - as in styles - in order to format texts. However, they are also used for word processing in layout sets, for example, to format text elements.

Character formats - You can also use character formats to format texts or paragraphs. Unlike paragraph formats, however, they are used to format text within a paragraph.
Windows - Windows are names and window types, which are not physically positioned until they are allocated to pages and units of measurement are specified.
Pages - Pages are defined to provide the system with a start and end point in text formatting.


Page windows - Page windows are the combination of windows and pages, where the dimensions of a window and its position on a page are specified.
The purpose of SAP script control commands is to allow control of the output formatting. These commands are not interpreted by the SAPscript editor, but are passed through to the SAPscript Composer for processing. The composer is the program that converts text from the form displayed in the editor to the form used for printing.


What is SAPscript and explain its purpose?
SAP Script is the SAP system’s own text-proessing system. You’ll find that it looks and feels a lot like other leading text-processing system that you may use on your personal computer.


Every company needs to output documents with a uniformly defined layout (eg. Invoices, delivery notes, etc..) all the time.


The basic layout of the document is pre-defined , but in many cases, other data has to be merged with it, such as address data or purchase order items. This data might be entered manually by a employee, or retrieved from a database table.
Large quantities of these documents have to be produced.

From printing is usually a mattter of large print runs of documents such as payslips, checks, order confirmation, reminders etc.
SAPscript has been developed to meet the above requirements. IT is an integrated tool for text entry and form printing in R/3 applications.

These documents are normally provided by SAP but every organization have their unique waqys of these documents so to customize these and for creating newer ones if required; SAP script is used.


What are components of SAPscript?
Layout set, SAPscript Text, ABAP Print program , symbols, function modules like open_form, close_From, Read_text etc,.
What are the ABAP/4 Commands that link to a layout set?
Call function OPEN-form. Call function WRITE-from. Call function CLOSE-from
Importing Graphics (Logos) into SAPScript
The program RSTXLDMC can be used to upload graphics (file extension .tif on PC files) into individual standard text.
Other useful programs for SAPScript
RSTXFCON - Converts page format
RSTXSCRP - Upload/Download layout sets
RSTXDBUG - SAPScript debugger
Debug SAPScript


You can debug a SAPScript: Use Tools - Word Processing - Layout Set.
Enter name of layout set and then Utilities - Activate Debugger.
It is of no consequence which layout set you enter when selecting the SAPscript debugger. (Menu path: Tools-Word-processing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.

This is quite handy when verifying which layoutset is being called (Verifying customizing settings).
Another way to set the SAPScript debugger is to run program RSTXDBUG.
When a Form is copied from one client to another .And If U try to display or change the form in the copied client

.The possible error message cud be :
1.Form not found
Try coping again specifing the language .
2.IF IT dispalys an error message saying That the text file is inconsistent .
Then go to SE38 and Run “RSTXCHKO” .
It will ask for the form name ,then check all the checkboxes and then run the program.
Note : all Script related problems can be solved using Program ‘RSTX*’.
How to take a back up of script layout into U’r hard disk and load it later
Use Program RSTXSCRP.


Use EXPORT mode, when downloading and IMPORT when uploading a script. Don’t forget to give the form name in the object field. This will create a script with the same name as that of the original script .

If a script with the same name exists in the same client ,then it will give an error ‘Object cannot be overwritten ’ .
I want to copy table across clients
Use Program RSCLTCOP


To transfer script files across systems (Not Clients) - RSTXSCRP
To compare the contents of a table across clients: RSTBSERV
To change the development class of any object - RSWBO052
What type of variables normally used in sap script to output data?
&Tables name- fields&.
How do you number pages in sap script layout outputs?
& page &
&next Page &
What takes most time in SAP script programming?
Defining layout set up / sets.
How do you use tab sets in layout sets?
Define paragraph with defined tabs.
How do you backup sap script layout sets? Can you download and upload? How?
SAP script backup :- In transaction SE71 goto Utilities -> Copy from client -> Give source form name, source client (000 default), Target form name.
Download :- SE71, type form name -> Display -> Utilities -> form info -> List -> Save to PC file.
Upload :- Create form with page, window, pagewindow with the help of downloaded PC file. Text elements for Page windows to be copied from PC file.
What is Compare Tool in SAP Script ?
SAP Script offers tools for comparing objects across clients. We can compare or copy the following kinds of objects.
Styles
Layout sets
Documents
With the Compare tool we can do the following :
Check whether an object exists in both clients
Display the differences between the versions of an object
Layout Sets are used to control page layout and text formatting in documents .
SAP Standard styles and layout sets are always held in Client 000.



In what format does SAP Script store text ?
SAPscript texts are stored in Interchange Text Format (ITF). SAPscript offers conversion programs for the text file formats Rich Text Format (RTF) and ASCII as an interface to other word processors.
The various window types in SAP Script are
Main, Variable and Constant.


The New-Page command is used to force a Page break in the text at any point.
Protect ... Endprotect command pairs can be nested (True / False).
False.


Delimiter & must be used immediately before and after the symbol.
What does the composer do?
The final appearance of your documednt depends on interaction between the print program and the layout set.


The SAPscript print program initializes the printing process. Every command entered using the SAPscript programming interfaces is transferred to the composer.
The composer received layout information from the layout set specified by the print program. The documents are formatted according to this layout information.


If the documents contain variables, the compoer replaces these variables with data from the R/3 system, such as the current date, or with the userdata selected by the print program.
The print program controls the completion of thelayout set. Once this is done, the composer places the completed document in the spool.


Where do we define Tab space for data in SAPScript?
When defining the paragraph for the text element we can define the TABS then. There is parameter called TABS to be defined in paragraph definition.
what is difference between Window & a Page Window?

Window: An area that is predefined in the layout set. Windows are text modules, which are positioned on a document page.
We define the window type, Default Paragraph, specify the text elements or a SAPscript text to be included etc in the Windcow Component.
PageWindow: we define the parameters of the earlier defined Window, appearance on the document like left or right margins, Width & Height.
What are symboles & state their different types with E.g.

A Symbol is a constant, which can be inserted in a document. It saves the user unnecessary work when replacing sections of text, phrases, etc. Each symbol has a name which is encloses by &.
Eg. &variable name &
System symbols eg &Date&, &time& etc.
Standard symbols :Standard symbols are user-defined. They are maintained centrally in table TTDTG. Eg. &SGDH& for the opening salutation : “dear sir/madam”.
&MFG& for the closing salutation :”yours Faithfully”.


Program Symbols : Program symbols display data from the ABAP/4 program which has called the word processing function Eg. Itab-connid.


Text symbols: You can define a text symbol for any text module. This symbol is valid only in the text module for which you have defined it. Eg. Define &Symbol& = ‘value’.
How do we define Text symbols?
Using the control command DEFINE &x1& = ‘56’.
State few control commands?.
Protect .. endprotect, define, new-page, include.. if… endif.
what is the purpose of “Protect and EndProtect”?.


You can specify either in the style or in the layout set that a particular paragraph should not be slit in two by a page beak. If the page protect attribute is set then the complete paragraph is always output ona single page. This property applies only to that particular paragraph. SAPScript provides the PROTECT… ENDPROTECT command pair to allow you to define the areas to be protected against a page beak on an individual basis.

Thus the PROTECT/ENDPROTECT commands may be regarded as a kind of conditional NEW-PAGE command, the condition being whether or not the lines enclosed between the two commands fit in the space remaining in the current main window.
How do we set the date, time format?
SET TIME MASK : CONROLS THE TIME FIELD FORMAT.
SET DATE MASK : CONTRLS THE DATE FIELD FORMAT.
EG. Set Time Mask = “ HH:MM:SS”.
what is the role of an ABAP progrm in SAPScript?
Retrieves R/3 application data from the database.


Defines the layout set processing logic ( The order and repetition of text elements).
Chooses a layout set for printing.
Selects the output device, such as printer,monitor, or fax.
Sets print attributes such as immediate output, number of copies ,and pages to beprinted.

How to reuse some components of the script layout to other program?
Is this script layout is standard for all the printer? If not then y we are going for script layout?

Give me couple of methods that I will take standard script layout printout for different printer.

How u will analysis script program? ( which goes to main and how many windows etc….)
Can V inserted logo on your program?. Give me the program name which uploads my logo and syntax for logo inserting in sap script.
Yes u can insert a logo on your script layout.
Use this Report “RSTXLDMC” which will uploads the logo.
Use the following statement which includes the logo on your script prog.
/: INCLUDE 'ZHEX-MACRO-XXX' OBJECT TEXT ID ST LANGUAGE 'E'.
XXX - object name, u will gives @ runtime in rstxldmc program.
Give me syntax for box command.
BOX XPOS 2 MM WIDTH 0 CM HEIGHT '9.5' CM FRAME 10 TW
Script Commands.
Defining a variable

DEFINE &CUST& = '00000021'.
Define and insert a standard text:
Standard texts is predifined textst that can be used in more than one form. Standard texts are can be created, changed and displayed using transaction SO10.
The text ID is used to callsify texts.
To include a stadard text in a form, use the INCLUDE command:
/: INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD
When formatting the standard text the PARAGRAPH parameter is used. To center the text use:
/: INCLUDE Z_BC460_EX4_HF OBJECT TEXT ID SDVD LANGUAGE EN PARAGRAPH C.
Formatting addresses
The ADDRESS-ENDADDRESS command formats addresses according to the postal norms of the recipient's country, as defined in the
country parameter.
ADDRESS DELIVERY PARAGRAPH AD
NAME &KNA1-NAME&
STREET &KNA1-STRAS&
POSTCODE &KNA1-PSTLZ&
CITY &KNA1-ORT01&'
COUNTRY &KNA1-LAND1&
FROMCOUNTRY 'DE'
ENDADDRESS
Avoiding pagebreaks in a paragraph
/: PROTECT
:
:
/: ENDPROTECT

The text lines to be protected are enclosed between the two commands
Conditonal text ouput IF - ENDIF
You can use IF/ENDIF like in a normal ABAP program
/: IF condition
:
:
/: ENDIF
and
/: IF condition
:
/: ELSE
:
/: ENDIF
Example:
/: IF &SPFLI-CITYTO& = "BERLIN"
..... put some text here
/: ENDIF


RELATED POSTS

FAQ'S ON SAP SCRIPTS PART 2

Customer Relationship Management and mysap an introduction
Organizational Challenges with crm and mysap crm solutions
My sap crm and marketing planning