SAP SCRIPTS FAQs

What is the standard program used for uploading the logo to script? RSTXLDMC FM to upload image in tiff format.

How can you send forms from one client to other? SE71, Utilities -> Copy from client… What does open_form, write_form, close_form do? Again its self-explanatory What is the diffrence between open_form and close_form? open_form is used to open the form/initiate the form. close_form is used to conclude the open_form.
How to convert a sapscript to smart form? tcode SMARTFORMS,In Utilities you have an option.. Migrate Scripts to Smartforms.

How to send a smartform result through mail? I think you have to configure the output type. Not sure.. How to select desired paper size in sapscript? In Basic settings. How to print the Page Nos in Forms. Every page I want to print 1 of 10 , 2 of 10 , 3 of 0 …etc. PAGE &PAGE& OF &SAPSCRIPT-FORMPAGES&
How to debugg a script? This can done in two ways: In the form Utilities->debugger / RSTXDBUG FM for debugging script

The Procedure for debugging SAP script is: Generally SAP script contains the Layout and corresponding print program. First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option. Now go to SE 38 and enter ur Print Program name and execute the program. Now you can debug the script Page wise and window wise.
What is the difference between a script & a report ? Script is a form which has a layout set as per the company standards and can be used for external use too. Generally reports are designed for internal use for in house users

What are the components/elements in sap script ? Layout set and Print program and the layout set has windows in it. Can you create a script with out a main window ? No

You pass the values from the form thru ITCSY structure intot he prgram. How to print a logo in a sap script? Upolad in the R3 using Se78 and use the Include statement in the script.How many main windows can be created for a script ? 99 How can we use tables in sap scripts? We can access structures and the tables tat are updated during runtime. When we need to modify standard scripts (eg:medruck) given by sap? When the client goes for customization of the form What is the use of transaction code NACE in sap scripts? You can track the form and the print program used for that form What is the table name that will contain all the script form names and print program names? TNAPR Can you assign your own form to a standard print program? how? Yes. How to read text in sapscripts? SO10 What is the difference between paragraph & character format? Self explanatory definition . Else you have to pass the structure values to the table in the print program. How to add extra functionality to a standard print program with out touching the print program? Thru subroutine programs What is sub routine pool in sap script? when it is used? Its an Abap prog of type sub routine pool. eg DUE date for an Invoice. thru NACE What is the use of PROTECT & ENDPROTECT? Keeps the block of text in the same page. it is used for calculating certain variables. How to add extra functionality to a standard print program with out touching the print program? Thru subroutine programs What is the use of PROTECT & ENDPROTECT? Keeps the block of text in the same page.

choose Translate to… Option to translate to other languages. How do I create standard texts for the scripts? You can create standard texts using the transaction SO10. Enter the form name. germany etc) Copy the script in each lang or you have an option to click ‘TO all Languages’ How to download/upload sapscripts from & to your PC ? SE78 or RSTXLDMC What is the difference between scripts & smart forms? Scripts are client-dependent but SF are client Independent How do I create Boxes in SAPScript? You can create Boxes in the SAPScript using the BOX command specifying the x. Alternatively. Then to insert these standard texts in the SAPScript choose the menu. Insert->Text->Standard and choose the standard text that you want to choose.5′ CM FRAME 8 TW How do I set tabs between the fields in display? In the Paragraph Format tab. . enter the tab position and the alignment for the fields.5′ CM WIDTH ‘9. in the Language Attributes Option.y co-ordinates and the width and the height BOX XPOS ‘0′ CM YPOS ‘0. How can I Word Wrap the text being displayed in SAPScript? Use the Function Module RKD_WORD_WRAP to wrap the text and use this for output. create a new paragraph format. How can I debug my SAPScript? Go to the transaction SE71. In the “Tabs” Tab.2′ CM HEIGHT ‘3. you can display standard texts in your SAP Scripts using the command: INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN where ZSTEXT refers to the Standard Text name. Choose the menu Utilities->Activate Debugger to enable debugging. How could I do this? Open your script in transaction SE71.How to use a sapscript for multiple languages ? (english. Now I need to translate it to EN. I have created a script in language DE. In the Header screen.

tif) file. How can I trigger new page in SAPScripts? Use the command NEW-PAGE to trigger a new page in SAPScript. Choose the Bar Code for the character format.bmp) Go to transaction SE78 Choose BMAP under GRAPHICS Choose Import Graphic (F5) Select the image and upload In SE71 choose Insert->Graphics and then choose the image for display How can I copy SAPScripts from one client to another? In the transaction SE71. Use the program RSTXLDMC to convert the TIFF file to standard text. And finally to display barcodes. How can I prevent page-break in the message that is to be displayed? Enclose the text that you want to prevent page-break in PROTECT… ENDPROTECT SAPscript will ensure that each line of this text is printed together on the same page. enter the Form name and choose the menu. How can I print logos in SAPScripts? Convert the logo to a TIFF(*. Print this using the INCLUDE command: INCLUDE ZLOGO OBJECT TEXT ID ST For bitmaps (*. in the command enter: <C1>&vbeln&</>where C1 is the character format created and vbeln is the variable for which the barcode is to be created. Use RSTXSCRP to import/export SAPScripts.How can I display barcodes in SAPScripts? Create a character format in the SAPScript. /: SET SIGN LEFT /: SET SIGN RIGHT What are the various text formatting options in SAPScript? &symbol(Z)& Omit Leading Zeros . Utilities->Copy from client to copy SAPScripts from one client to another. /: PROTECT * Text * Within * The same page /: ENDPROTECT How can I set the position of the leading sign to left/right? You can use the SET SIGN command to output the leading sign at the left or right.

VAR .Constant Window The constant window can have a fixed content and is formatted only once. Only one main window can be defined in the SAP Script whereas upto 100 instances of main window can be created in a page. Eg. If the text in the main window fills up a page.Variable Window This window can have the variable contents displayed on them. How can I format the date being displayed in the SAP Script? The date fields in SAP Scripts can be formatted using the SET DATE MASK control command. The different types of windows are: MAIN . 07 The following are the codes that can be used in the date mask: . CONST .: /: SET DATE MASK = ‘MMMM DD. The content can be formatted for each page.N)& Display upto N decimal places &symbol(T)& Omit thousands separator &symbol(R)& Right justified &symbol(I)& Suppress output of the initial value Frequently Used System Variables in SAPScript? &DATE& Currentdate &DAY& Day &MONTH& Month &YEAR& Year &TIME& Time of the day &HOURS& Hours &MINUTES& Minutes &SECONDS& Seconds &PAGE& Page &NEXTPAGE& Next page number &SPACE& Blank &ULINE& Underline &VLINE& Vertical line &NAME_OF_MONTH& Name of the Month &SAPSCRIPT-FORMPAGES& Total number of pages in currently formatted layout set &SAPSCRIPT-JOBPAGES& Total number of pages in currently formatted print request What are the different types of windows in SAP Scripts? Windows are defined in the Layout sets which define the position and the text to displayed. a new page is created. YY’ This displays the date as : September 26. The contents of the window cannot exceed the window size.Main Window The main window is a continous window which can extend over several pages.&symbol(S)& Omit Leading Sign &symbol(<)& Display Leading Sign to the Left &symbol(>)& Display Leading Sign to the Right &symbol(C)& Compress Spaces &symbol(.

How can I change the page size of the layout? In the SAP Script. the text ‘Customer : ‘ is displayed regardless of the variable KNA1-KUNNR even if it is having Initial value.5′ CM FRAME 8 TW INTENSITY 10 What is the difference between the SAP Script texts. The text ‘Customer :’ and KNA1-KUNNR is displayed only when the variable KNA1KUNNR has non-initial values. How can I set the header and footer in the main window? The TOP…ENDTOP and BOTTOM…ENDBOTTOM commands are used to set the header and footer texts in the main window respectively. . ‘Customer &KNA1-KUNNR&’ and ‘&Customer KNA1-KUNNR&’? In the first case of ‘Customer : &KNA1-KUNNR&’.: /: SET TIME MASK = ‘HH hrs MM min SS sec’ This displays the time as : 11 hrs 43 min 37 sec’ The following are the codes that can be used in the time mask: HH Hours MM Minutes SS Seconds The time formatting can be reset to the default setting using: /: SET TIME MASK = ‘ ‘ How can I apply shading for the BOXes in SAP Script? Use the addition INTENSITY in the BOX command to apply gray shading to the boxes. Eg: BOX XPOS ‘0′ CM YPOS ‘0. Eg. In the second case of ‘&Customer : KNA1-KUNNR&’.YY Year (2 digits) YYYY Year (4 Digits) MM Month (2 Digits) MMM Month Name (Abbreviated) MMMM Month Name (Full) DD Day as two digits DDD Day name (Abbreviated) DDDD Day name How can I format the time in the SAP Script? Similar to SET DATE MASK for date fields we can use SET TIME MASK for formatting time fields. Goto -> Header -> Basic Settings Here you could configure the page settings and their orientation. These texts will be displayed on the start and end of every new page in the output.

: /: SIZE WIDTH 10 TW HEIGHT 10 TW How to find the Driver Program for the given SAPscript ? Step:1: Goto to the Table TNAPR using SE11 Step:2: Get the Contents of the Table(CNTRL+SHIFT+F10) Step:3: On the Table Content Selection Screen. y coordinate position which is used by the BOX command. The offset from the current window positions are specified which could be either positive or negative.: /: TOP /: ENDTOP What the conditional statements used in SAP Scripts? The following conditional statements are used in SAP Scripts: IF.. /: POSITION XORIGIN YORIGIN WINDOW PAGE Eg.5′ CM Similarly the SIZE command sets the width and height parameters. /: SIZE WIDTH HEIGHT WINDOW PAGE Eg.ELSE…ENDIF CASE…ENDCASE What is the use of the POSITION and SIZE command in SAP Scripts? The POSITION command is used to x. Eg.: /: POSITION XORIGIN ‘2′ CM YORIGIN ‘-1. Type the SAPScript Name for which we have find the Driver Program in the field FONAM and execute(F8) Step:4: PGNAM field of the result display contains the Driver Program Name for our SAPscript Re: how to copy standard text( transaction so10 ) from one client to other Posted: Sep 30. 2008 10:27 PM in response to: sri vas E-mail this message Reply Login to origin Client Goto SE38 and run abap program: RSTXSCRP Mode : EXPORT Login to target Client Goto SE38 execute the abap program: RSTXSCRP Mode : IMPORT .To disable these texts enclose empty commands between the commands.

and then forwards a notification to the respective users that they have email waiting in the SAP system.Or go to SO10 -> Utilities->Copy from client SQVI Table Quickviewer – Used to created quick client dependent reports · ST22 ABAP Dump Analysis · ST01 System trace · ST11 Display developer trace · ST05 SQL Trace · SM21 System log · ST22 Display short dumps · SM12 Display locked entries Additonal Info Idoc · RBDAPP01 Post inbound Idocs to application documents · RBDAGAI2 Re-processing of IDocs after ALE input error · RBDAGAIE Reprocessing of edited IDocs · RBDMANIN Start error handling for non-posted Idocs · RSEINB00 Idoc inbound processing by file · RSEOUT00 Process outbound IDocs General · RV80HGEN Report ‘RV80HGEN’ for including customer-specific routines in the SAP standard source code is not included automatically as an XPRA in the object list of the transport request. · RHSOBJCH Corrects the following error in workflow customizing: Transport object PDST Information Table SOBJ is consistent as regards key tables ***Error*** Table HRP1600 Not an entry in table SOBJ Information Table SOBJ is consistent as regards PAD tables See note 134311 (point 2). Use tx: SOST to view email status’ sent from SAP. · RSPO0075 Run report RSPO0075 to activate access method M for device types. · RSWUWFML Report that interrogates the Workflow inbox. Note 60801 also recommends the same steps regarding RHSOBJCH. The auto-forwarding assignment of an email address to a user can be accomplished by the administrator and tx: SO36 or by the user themselves using tx: SO13. . See OSS note 0385067. based on certain selections. This report needs to be run in target clients once you have implemented a custom requirements definition.

Additonal Info 9. The first list is called ‘Basic list’ and all the successive lists are called ‘Secondary lists’.Explain the concept of asynchronous update ? When you change data of one table the sy-subrc is returned. What is the difference between modifications and enhancements? Modification. Usage data 2. SAP data 3. For example.name or emp.What are the main elements of a status? 1. domain ABAP/4 Development Workbench (BC-DWB) A domain describes the technical attributes of a table field.Additonal Info 1. Length(4) 6. Host data 4. In this case. 7. SAP system data 5. and relationship. Database data. each of these fields has the technical attributes specified in this domain.How many lists can exist in parallel in an interactive reporting? In the interactive reports. At line-selection . we can create as many as 21 lists. a data element contains the F1 help texts and the key word texts (field texts) for displaying the field on the screen.What is the difference between data elements and domain ? data element ABAP/4 Development Workbench (BC-DWB) A data element describes the contents of a field.What are the 3 main events in interactive reporting? 1. Top-of-page during line selection. Several fields with the same technical attributes can refer to the same domain. we are modifying which is already exists. Each list is again an interactive.address but rather a type data whose function is to define the properties of the data. Several table fields with identical contents can refer to the same data element. And then updating of other affected tables takes place. Is ABAP program client dependent or independent? Independent. These technical attributes include the data type and the field length. When first table gets updated). In enhancement we are adding additional functionality.What type of objects exists in the data dictionary? Data in data dictionary is not the actual data like emp. So if system fails to update other tables still sy-subrc returned is 0 (ie. 5.What components does a dynpro consists of ? Number of screen. 3. length. 4. 8. such as type. 2. 2.name.

) XD07 Change Customer Account Group XD99 Customer master mass maintenance XDN1 Maintain Number Ranges (Customer) Vendor XEIP Number range maintenance: EXPIMP XK01 Create vendor (centrally) XK02 Change vendor (centrally) XK03 Display vendor (centrally) XK04 Vendor Changes (Centrally) XK05 Block Vendor (Centrally) XK06 Mark vendor for deletion (centrally) XK07 Change vendor account group Sales Order VA00 Initial Sales Menu VA01 Create Sales Order VA02 Change Sales Order VA03 Display Sales Order VA05 List of Sales Orders VA07 Compare Sales . look at the field TABCLASS Simplest way to find a tables The simplest way to find a tables in a transaction code is to used ‘SE49′.3. It is used as a format modifier Find out transparent .Purchasing (Org. Functional Transaction Codes Functional Transaction Codes Customer XD01 Create Customer (Centrally) XD02 Change Customer (Centrally) XD03 Display Customer (Centrally) XD04 Customer Changes (Centrally) XD05 Block customer (centrally) XD06 Mark customer for deletion (centr.Purchasing (Order) VA08 Compare Sales .Dt.What is IDOC and when. Type in your transaction code and click the Display button and all the tables name used by the transaction code is being display.) Inquiry VA11 Create Inquiry . At user-command 10. how to use it ? IDOC is one of the EDI(Electronic data interface).cluster and pooled tables Goto SE16 Table name DD02L After execute.

VL06ID Inbound Deliveries for Distribution VL06IF Selection inbound deliveries .Contracts Item Proposal VA51 Create Item Proposal VA52 Change Item Proposal VA53 Display Item Proposal VA55 List of Item Proposals VA88 Actual Settlement: Sales Orders Delivery (Outbound) VL00 Shipping VL01 Create Delivery VL01N Create Outbound Dlv. VL02 Change Outbound Delivery VL02N Change Outbound Delivery VL03 Display Outbound Delivery VL03N Display Outbound Delivery VL04 Process Delivery Due List VL06 Delivery Monitor VL06C List Outbound Dlvs for Confirmation VL06D Outbound Deliveries for Distribution VL06F General delivery list .deliv.Outb. w/o Order Ref.Processing f. VL06G List of Oubound Dlvs for Goods Issue VL06I Inbound Delivery Monitor VL06IC Confirmation of putaway inb.VA12 Change Inquiry VA13 Display Inquiry VA14L Sales Documents Blocked for Delivery VA15 Inquiries List Quotation VA21 Create Quotation VA22 Change Quotation VA23 Display Quotation VA25 Quotations List VA26 Collective Processing for Quotations Contract VA41 Create Contract VA42 Change Contract VA42W Workflow for master contract VA43 Display Contract VA44 Actual Overhead: Sales Order VA45 List of Contracts VA46 Coll. deliv. VL01NO Create Outbound Dlv.Subseq. with Order Ref.

V/10 Account Determination: Access Seqnc V/11 Conditions: Account Determin. Planning) VL06U List of Uncheckd Outbound Deliveries VL08 Confirmation of Picking Request VL09 Cancel Goods Issue for Delivery Note VL10 Edit User-specific Delivery List VL10A Sales Orders Due for Delivery VL10B Purchase Orders Due for Delivery Customer management FD01 Create Customer (Accounting) FD02 Change Customer (Accounting) FD02CORE Maintain customer FD03 Display Customer (Accounting) FD04 Customer Changes (Accounting) FD05 Block Customer (Accounting) FD06 Mark Customer for Deletion (Acctng) FD08 Confirm Customer Individually(Actng) FD09 Confirm Customer List (Accounting) FD10 Customer Account Balance FD10N Customer Balance Display FD10NA Customer Bal. .Proced. Display with Worklist FD10NET Customer Balance Display FD11 Customer Account Analysis FD15 Transfer customer changes: send FD16 Transfer customer changes: receive FD24 Credit Limit Changes FD32 Change Customer Credit Management FD33 Display Customer Credit Management FD37 Credit Management Mass Change Pricing V/03 Create Condition Table (SD Price) V/04 Change Condition Table (Sales pr.VL06IG Inbound deliveries for goods receipt VL06IP Inbound deliveries for putaway VL06L Outbound Deliveries to be Loaded VL06O Outbound Delivery Monitor VL06P List of Outbound Dlvs for Picking VL06T List Outbound Dlvs (Trans.) V/05 Display Condition Table: (Sales Pr.) V/06 Condition Categories: SD Pricing V/07 Maintain Access (Sales Price) V/08 Conditions: Procedure for A V V/09 Condition Types: Account Determin.

V/12 Account Determination: Create Table V/13 Account Determination: Change Table V/14 Account Determination: Display Table BOM CS00 BOM Menu CS01 Create Material BOM CS02 Change Material BOM CS03 Display Material BOM CS05 Change Material BOM Group CS06 Display Material BOM Group CS07 Allocate Material BOM to Plant CS08 Change Material BOM .Plant Alloc. Assignment CS51 Create standard BOM CS52 Change standard BOM CS53 Display standard BOM CS61 Create Order BOM CS62 Change Order BOM CS63 Display Order BOM CS71 Create WBS BOM CS72 Change WBS BOM CS73 Display WBS BOM CS74 Create multi-level WBS BOM CS75 Change multi-level WBS BOM . Allocation CS42 Display Material Config. CS09 Display Allocations to Plant CS11 Display BOM Level by Level CS12 Multilevel BOM CS13 Summarized BOM CS14 BOM Comparison CS15 Single-Level Where-Used List CS20 Mass Change: Initial Screen CS21 Mass Material Change: Initial Screen CS22 Mass Document Change: Initial Screen CS23 Mass Class Change: Initial Screen CS25 Archiving for BOMs CS26 BOM deletion CS27 Retrieval of BOMs CS28 Archiving for BOMs CS31 Create class BOM CS32 Change class BOM CS33 Display class BOM CS40 Create Link to Configurable Material CS41 Change Material Config.

CS76 Display multi-level WBS BOM CS80 Change Documents for Material BOM CS81 Change Documents for Standard BOM CS82 Change documents for sales order BOM CS83 Change documents for WBS BOM CS84 Change documents for class BOM CS90 Material BOM Number Ranges CS91 Number Ranges for Standard BOMs CS92 Number Ranges for Sales Order BOMs .

Sign up to vote on this title
UsefulNot useful