Vous êtes sur la page 1sur 17

Q1: What is the reason for using enhancements?

A1: Normal programs dont give us all the functionalities we may need, so to fix this we can use the R/3 enhancements that will permit us to insert our particular functionality to any normal SAP program. Q2: What is the meaning of customer development? A2: Customer development generates objects particular to the customers in their name range. Q3: What weaknesses do we find when using modification? A3: One of the weaknesses is that we could have errors when standard code is modified. This automatically leads to a higher amount of work when software upgrades are made. Q4: Why should we choose to make modifications? A4: Customer exits dont exist in every screen and program from R/3, and because they can be used just if they are already existing in SAP R/3, sometimes we must choose to make modifications. Q5: What is the meaning of a screen exit? A5: Screen exits means to add fields to R/3 screens, SAP generates screen exits by deploying particular subscreen areas in a normal R/3 screen and then invoking customer subscreens from the normal flow logic of dynpro. Q6: What is the way in which exit organizing is made by SAP? A6: Organizing exit packages of SAP is also found under the name of SAP enhancements and every SAP enhancement can have several particular exits. Q7: What is the meaning of user exits, how are they written and which measures do we have to take for prevention? A7: In the default standards of SAP we can find the user defined functionalities, we can find a Sap program in which a customer personal program may be invoked. Unlike customer exits. user exits can permit the developers to enter and change the parts of the program and also the objects. When upgrade is made , every user exit has to be verified for conformation to the standard system. The user exits can use INCLUDES, case in which Customizing makes the management. We have to search for those customer enhancements from a specific development class. Q8: Can we classify the enhancements by type? A8: Yes they can be classified in: a) enhancements that use customer exits and b)enhancements of the elements in the ABAP/4 Dictionary. a) The standard software doesnt incorporate all the requirements of the customer, but they can be contained as empty shells that can be changed by the customers by inserting their personal codes. The enhancements can refer to menus, screens or programs, the compatibility being assured. This means that in SAP guarantees that the compatibility will be maintained even when passing from standard software to exit and the interface invoking the exit (they will be kept for future versions too). b) These are enhancements like table appends or text enhancements or field exits (supplementary coding for data elements). Q9: What is the meaning of SSCR? A9: The SAP Software Change Registration or SSCR is the operational that makes possible the registration of every manual change of the SAP source coding and objects of SAP Dictionary. Q10: What are the strong features of enhancements? A10: They dont have an impact on the standard source code of SAP, they dont have an impact on software upgrades. Q11: Which are the main types of customer exits? A11: The main types of customer exits are: the screen exits, the menu exits, the function module exits and the keyword exits.

Q12: What is the meaning of function module exit? A12: The function module exit is meting supplementary functionality in R/3 programs having a big role in the menu exits and the screen exits. Q13: What is the meaning of an add-on project? A13: For using in the best way the exits we find in the standard R/3 programs we have to make an add-on project, that makes possible organizing the enhancement packs and the exits we desire to use. An add-on project makes possible to met add-on functionality on the texts from the SAP enhancements. Q14: What is the meaning of a keyword exit? A14: With a keyword exit we can give to the data elements of the keywords from the ABAP/4 dictionary some documentation. This documentation will be shown by the system every time users hit the F1 key for obtaining help online regarding a screen field. Q15: What is the meaning of a menu exit? A15: Menu exits mean when we add item on the pulldown menus. Q16: How can we separate enhancements from modifications? A16: When we create modifications on the functionality of the SAP standard we say modifications. When we put supplementary functionality on the standard functionality of SAP we sayenhancements. Q17: What is the meaning of customizing? A17: When we configure the system parameters through the SAP interface we mean custominzing. A18: How can we classify the methods in which we generate modifications in the standard software of SAP? A18: We can make: enhancements to the standard of SAP, modifications to the standard of SAP, customizing and customer development.

SAP Scripts Interview Questions with Answers (FAQ) :


Q: How do you create Box in ABAP SAP Scripts and give us one example? A: By using BOX command you can create Boxes in SAP Scripts. EX: BOX XPOS 1 CM YPOS 1 WIDHT 10 CM HEIGHT 10 CM FRAME 10 TW Q: How do you debug SAP Scripts? A: By using transaction code SE71. Go to utilities and activate debugger.

Q: How do you translate script from DE to EN? A: Choose translate to option under language attributes below the Header line in transaction code SE71. Q: How do you define standard text in SAP Script? A: We have 2 options for this: One is InsertTextStandard and another one is INCLUDE STANDARD TEXT NAME OBJECT TEXT ID ST LANGUAGE WHATEVER LANGUGE IS REQUIRED Q: What standard reports does used for SAP Script? A: Standard reports used in: RSTXSCRP - Upload/Download layout sets,RSTXFCON - Converts page format and RSTXDBUG SAP Script debugger Q: How do you transport SAP Scripts to other systems like Quality and Production from Development? A: Use the standard report RSTXSCRP for the transport SAP Scripts. Q: In which text format does SAP Script stores? A: SAP script texts are stored in Interchange Text Format (ITF). SAP script offers conversion programs for the text file formats Rich Text Format (RTF) and ASCII as an interface to other word processors. Q: Where do you use TAB space? A: While defining the paragraph for the text element we use TABS Q: What SET TIME/DATE Mask does? A: To set different date and time formats will use SET DATE/TIME MASK Q: SAP Scripts are client dependent and client independent? Explain. A: SAP scripts are client specific; some entries in customizing are client independent. By design sap script is a word processing tool which displays data on the form with the help of text elements where the logic of those is written in the print program and Forms were designed to be driven from print program, hence are often termed as client dependent.

Q: What is the use of ADDRESS function in SAP Script? A: We use ADDRESS function for printing specific country addressees. Q: What does READ_TEXT? A: Reads a text module and passes it to the specified work areas. Q: Tell about SAP Script Functions and its use? A: OPEN_FORM Opens form for Output START_FORM To start a new form CLOSE_FORM Closes the form after Output WRITE_FORM Starts writing elements on form WRITE_FORM_LINES Writes text lines on a form CONTROL_FORM Sends a control statement to the form READ_FORM_LINES Passes the lines of a form element to a table. READ_FORM_ELEMENTS To find elements in a form END_FORM Ends the form Q: Is it possible to create a script without a main window? A: No, you cant. By the way did you read?

ABAP Data Dictionary Interview Questions with Answers I ABAP Data Dictionary Interview Questions with Answers II ABAP Data Dictionary Interview Questions with Answers III

Q: Explain about PROTECT & ENDPROTECT? A: It keeps the block of text in the same/current page. While using Scripts, if you dont want to break a paragraph text which apart to another page i.e. if u want to display the paragraph without breaking in between two pages, you have to use protect...end protect Q: What is the use of SO10 transaction code? A: To read texts

Q: How do you send your SAP Script to a mail? A: By using output type in NACE transaction. Even you can send to EDI by using different output types. Q: What are SAP Script transaction codes? A: SE 71--> Form Painter SE 72 --> Style Maintenance SE 78 --> SAP Script Graphics Management SO10 --> Create standard text module Q: How do you define printer commands in SAP Script? A: By using /: PRINT-CONTROL xxxxx where xxxxx stands for the five-character name of the print control. Q: How do you define different font on the same line? A: By using following commands <U>Underline Text</> <B>Bold Text</> Here <U> is for underline and <B> is for Bold Q: How do you print footer text on last page only? A: By using below code you print footer text on last page only IF &NEXTPAGE& EQ 0 Your footer text. ENDIF Q: Is it possible to perform two operations on two pages? Explain? A: Yes, it is possible. In the print program call the two operations individually. That means call START_FORM and WRITE_FORM two times with OPEN_FORM and CLOSE_FORM once. Q: How do you convert SAP Script SPOOL to PDF? A: SAP Script has created a standard program RSTXPDFT4 to convert your SAP scripts spools into a PDF format. Q: How do you upload graphics/images to your SAP Script? A: By using following command: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E OR Save your image/graphic as a .TIFF format.

Execute standard SAP program: RSTXLDMC Choose your image/graphic Dont forget to select BCOL for color purpose TEXT ID should be ZHEX-MACRO-*. Replace * with your image/graphic name Execute OR In Newer versions SE71 Choose Graphic Tab strips Click on Import Button You can see the following code in script automatically INCLUDE Your image/graphic name OBJECT GRAPHICS ID BMON LANGUAGE EN Did you read?

ABAP Reports Interview Questions with Answers I ABAP Reports Interview Questions with Answers II

Q: Which functions do use for text conversion? A: CONVERT_TEXT used for converting texts between different formats;CONVERT_OTF_MEMORY used for converting the formatted text to OTFformat. Q: How do you backup your SAP Script layout sets? A: Use SAP Standard Program RSTXSCRP; Export your form to the presentation layer (local drive like C: D :) in .doc format. So that it would be useful whenever you required it. You just import in your new script program. Q: We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a duplex layout. In our case duplex case is always 'Terms & Conditions'. We do not want the number of pages as in duplex printing. What is the best possible solution? A: On the Terms & Conditions page, Change the Page counter mode to 'HOLD' to keep the page counter from incrementing when you print the Term & Conditions.

Q: What is the Standard Form for Purchase Order? How do you do changes on standard form? A: MEDRUCK is the standard form for PO. Copy the form MEDRUCK into a Z/Y name form. The common changes would be inserting a logo, using Standard texts, alignment of windows as per client requirement, get extra data if client is asking for something new or more. Q: How do you delete the load program for a script? A: Occasionally, when you make frequent changes to your SAP Script, the system can get out of sync. When you view the form, the old data get display without your changes. This can be fixed by deleting the SAP Script LOAD with program RSTXDELL.

Q: Explain some useful programs for SAP Scripts? A: RSTXFCOM - Comparison of Two Forms RSTXFCAT - Find Forms RSTXHTML - Conversion of SAP script Texts (ITF) to HTML RSTXSF01 - TrueType font installation for SAP script/Smart Forms RSTXICON - List of SAP icons and their names and SAP numbers <xxxxx> RSTXSYMB - List of SAP symbols and their names as well as <xxxxx> SAP number RSTXSCAT - Find Styles RSTXCNVR - Converting SAP script standard text to RAW format (ASCII) RSTXFCPY - Copy Forms between Clients RSTXFCON - SAP script: Conversion of Page Format for Forms Q: Why SAP scripts are client dependent and smart forms are not? A: when we create a smartform in development server its

automatically will copy to the testing server like other classical report because it generates a function module after creating a smart form. But in sap script it will not copy to the testing server, we have to use scc1 transaction code to transfer the request then only we can test the output. Hence the sap script is client-dependent. Q: Which function modules would be used for importing/exporting texts? A: Will use IMPORT_TEXT for importing purpose; EXPORT_TEXT for Exporting purpose and TRANSFER_TEXT for uploading/downloading texts. Q: How many main windows can one script has? A: Maximum 99. Q: What is the table name that will contain all the script form names and print program names? A: its TNAPR.

ABAP Reports Free Interview Questions with Answers 2


Q: What are the types of messages? A: A message can have five different types. These message types have the following effects during list processing: A (=Amend): E (=Error) or W (=Warning): I (=Information): S (=Success): Q: What are the drill-down features provided by ABAP/4 in interactive lists? A: ABAP/4 provides some interactive events on lists such as AT LINE-SELECTION (double click) or AT USER-COMMAND (pressing a button). You can use these events to move through layers of information about individual items in a list. Q: What is meant by stacked list? A: A stacked list is nothing but secondary list and is displayed

on a full-size screen unless you have specified its coordinates using the window command. Q: Is the basic list deleted when the new list is created? A: No. It is not deleted and you can return back to it using one of the standard navigation functions like clicking on the back button or the cancel button. Q: What is meant by hotspots? A: A Hotspot is a list area where the mouse pointer appears as an upright hand symbol. When a user points to that area (and the hand cursor is active), a single click does the same thing as a double-click. Hotspots are supported from R/3 release 3.0c. Q: What is the length of function code at user-command? A: Each menu function, push button, or function key has an associated function code of length FOUR (for example, FREE), which is available in the system field SYUCOMM after the user action. Q: Can we create a GUI status in a program from the object browser? A: Yes. You can create a GUI STATUS in a program using SET PF-STATUS. Q: In which system field does the name of current gui status is there? A: The name of the current GUI STATUS is available in the system field SY-PFKEY. Q: Can we display a list in a pop-up screen other than full-size stacked list? A: Yes, we can display a list in a pop-up screen using the command WINDOW with the additions starting at X1 Y1 and ending at X2 Y2 to set the upper-left and the lower-right corners where x1 y1 and x2 y2 are the coordinates. Q: What is meant by hide area? A: The hide command temporarily stores the contents of the field at the current line in a system-controlled memory called the HIDE AREA. At an interactive event, the contents of the field are restored from the HIDE AREA. Q: When they get cursor command used in interactive lists?

A: If the hidden information is not sufficient to uniquely identify the selected line, the command GET CURSOR is used. The GET CURSOR command returns the name of the field at the cursor position in a field specified after the addition field, and the value of the selected field in a field specified after value. Q: How can you display frames (horizontal and vertical lines) in lists? A: You can display tabular lists with horizontal and vertical lines (FRAMES) using the ULINE command and the system field SY-VLINE. The corners arising at the intersection of horizontal and vertical lines are automatically drawn by the system. Q: What are the events used for page headers and footers? A: The events TOP-OF-PAGE and END-OF-PAGE are used for pager headers and footers. Q: How can you access the function code from menu painter? A: From within the program, you can use the SY-UCOMM system field to access the function code. You can define individual interfaces for your report and assign them in the report to any list level. If you do not specify self-defined interfaces in the report but use at least one of the three interactive event keywords. AT LINE-SELECTION, AT PF<nn>, OR AT USER-COMMAND in the program, the system automatically uses appropriate predefined standard interfaces. These standard interfaces provide the same functions as the standard list described under the standard list. Q: How the at-user command serves mainly in lists? A: The AT USER-COMMAND event serves mainly to handle own function codes. In this case, you should create an individual interface with the Menu Painter and define such function codes. Q: How to pass data from list to report? A: ABAP/4 provides three ways of passing data: ---Passing data automatically using system fields ---Using statements in the program to fetch data ---Passing list attributes Q: How can you manipulate the presentation and attributes of

interactive lists? A: ---Scrolling through Interactive Lists. ---Setting the Cursor from within the Program. ---Modifying List Lines. Q: How to call other programs? A: Report Transaction Call and return SUBMIT AND RETURN CALL TRANSACTION Call without return SUBMIT LEAVE TO TRANSACTION You can use these statements in any ABAP/4 program. Q: How many lists can a program can produce? A: Each program can produce up to 21 lists: one basic list and 20 secondary lists. If the user creates a list on the next level (that is, SY-LSIND increases), the system stores the previous list and displays the new one. Only one list is active, and that is always the most recently created list.

SMARTFORMS Interview Questions (SMART FORMS FAQ) :

Q: How do you display total number of pages in SMARTFORMS? A: You can display total number of pages in SMARTFORMS by using system filed: &SFSY-FORMPAGES&. Q: Where did you define character and paragraph formats? A: It can define at SMARTSTYLES. Q: How can I print on double sided paper? A: Set print mode on one page to D (duplex) and set another to 'blank' (for both resource name and print mode - this is the only way to get to the back of the page). Q: How do you force a page break within the table? A: By using a command node inside the table that forces a new page on whatever condition you want. Q: How do you create a PDF format in SMARTFORMS? A: You just call standard program RSTXPDFT4 and give your

spool number which needs to be convert as PDF file. Otherwise use CONVERT_OTF function module to convert OTF. Q: Which function module will you use to call a SMARTFORM from your program? A: SSF_FUNCTION_MODULE_NAME Q: How do you migrate SAP Script Styles to Smartform styles? A: By using SMARTSTYLES transaction you can convert. Q: Tell me some text formatting options on SMARTFORMS? A:
&symbol(Z)&

Omit Leading Zeros

&symbol(S)&

Omit Leading Sign

&symbol(<)&

Display Leading Sign to the Left

&symbol(>)&

Display Leading Sign to the Right

&symbol(C)&

Compress Spaces

&symbol(.N)& Display up to N decimal places

&symbol(T)&

Omit thousands separator

&symbol(R)&

Right justified

&symbol(I)&

Suppress output of the initial value

Q: How do you debug SMARTFORMS? A: insert a "Program Line" node just above, where you enter BREAK statement You may also run SFTRACE transaction (or SMARTFORM_TRACE in releases before 6.10) to generate a log and activate break-points when abnormal events occur.

ABAP Dictionary Interview Questions with Answers / Dictionary FAQ ABAP Reports Interview Questions with Answers / Reports FAQ SAP Scripts FAQ / SAP Scripts Interview Questions with Answers

Q: Which system filed does use to print current page number? A: You can use &SFSY-PAGE& for printing current page. Q: How do you differentiate Table and Template in Smartform? A: If the Output is fixed then the Template contains a fixed number of rows and columns. Otherwise the table can have variable number of rows. Q: Which functions does used to use to display a print preview by default without displaying the popup for print parameters on smartforms? A: Go to Function Module SSF_OPEN and set the OUTPUT OPTIONS parameter TDDEST to your printer name. Example: control-no_dialog = 'X'. control-device = 'PRINTER'. control_parameters-no_dialog = 'X'. control_parameters-no_open = 'X'. control_parameters-no_close = 'X'. OUTPUT_OPTIONS-TDDEST = 'PRINTER NAME'. OUTPUT_OPTIONS-TDNOPRINT = 'X'. CALL FUNCTION 'SSF_OPEN' EXPORTING output_options = output_options control_parameters = control user_settings ='' EXCEPTIONS formatting_error = 1 internal_error =2 send_error =3

user_canceled =4 OTHERS = 5. Q: Where do you define your global types in SMARTFORMS? A: The global types (within the Smart Form) can be defined in Global Settings->Global Definitions->Types Q: Tell me some system fields in SMARTFORMS? A: &SFSY-DATE& Displays the date &SFSY-USERNAME& Displays the Username &SFSY-JOBPAGES& Contains the total page number of all forms in the currently processed print request &SFSY-TIME& Displays the Time &SFSY-PAGEBREAK& is set to 'X' after a page break &SFSY-PAGE& Inserts the number of the current print page into the text. &SFSY-FORMPAGES& Displays the total number of pages for the currently processed form. Q: What are the main differences between SAP Scripts and Smart Forms? A: SAP Scripts are Client Dependent and Smart Forms are Client Independent and you can create a smart form without a main window but in SAP Script you cant. In SAP Scripts, Data extraction/Calculation and form output are mixed together but wherein SMARTFORMS you can separate them based on your requirements. SMARTFORMS generates XML output which can be viewed through the web but in SAP Scripts doesnt have this option. Page breaks protection in SAP Scripts is using PROTECT and END PROTECT commands but in SMARTFORMS "protect" checkbox in every node, everything in it will be page protected.

Q: How do you transport your smart forms? A: As usual as a Report by using transaction code SE10.

1. What is the difference Between IDOC type and Message type? How to link the IDOC type with Message type? Message type gives the meaning of the IDOC and IDOC type gives the structure of an IDOC. The linkage will happen in WE82. In the OO(Object Oriented) approach, Message Type can be refferred to a Class and IDOC Type as an instance of the classMessage Type 2. Where the IDOC information gets stored?

Table

Description

EDIDC Stores the Control information an IDOC EDID4 Stores the Data Records from 4.0 onwards EDIDS Stores the Status of an IDOC
3. What is process code? What are type of process codes Process code refers to an workflow or a function module which helps in reading or writing data from/to Idoc. Following are types of process code

Process Code Outbound Process Code Inbound Process Code System Process Code

Description This will read application data and place data in Idoc

This will Idoc and create corresponding application data This will create work item in case some error occurs in idoc / application document processing

Status Proces Code This will handle error that occurs when a idoc is sent to some other system
4. How to reprocess an IDOC?

You can use the below Programs for IDocs Reprocessing:

RBDMANI2 : Reprocess Idocs manually RBDMANIN : Posting of IDocs with Status 51 RBDMOIND : Outbound Idocs status 03->12 RSEOUT00 : For Processing 30 Status IDocs RBDAPP01 : For Processing 64 Status IDocs RBDAGAIN : Reprocess Incorrect Outbound IDocs RBDAGAI2 : Reprocessing of IDocs after ALE Input Error

5. How to trace the IDocs of the Receiving system from the Sending system? Steps:

Execute the transaction BD87 Give the Outbound IDocs in the IDoc Number field and execute or Just Note the Start time and End time when u execute the Master Data Transaction say for eg.BD10 and specify the same in the Time Created input field of BD87,also give the Message Type and the Receiving System Names and execute. Select the Repective Message Type and Press the Trace IDoc Button.

6. How to trace IDocs based on the data . Steps:

Execute Transaction WE09 Put in the message type name in the field labeled 'Logical Message' Ex - DEBMAS Now we will move to the section 'Criteria for Search in Data Records ' In this section we will put the Segment name in which we want to search the existance of data in the field labeled 'Search in Segment' EX - E1KNA1M In the field labeled 'Search in Field' we will put the field name of the segment in which we want to search the existance of data. Ex - KUNNR for searching IDOCs for certain customer number. Now in the field labeled 'For Value' we will put the search value. Ex - Customer number as 100 . We will now execute the transaction. The result can be a single Idoc or a list of multiple IDOCS depending upon the Search Criteria entered.

7. How to Send and Receive an IDoc in the same system. Steps :

Create a Dummy Logical System. o Goto T-Code SALE-> sending and Receiving Systems -> Logical Systems -> New entries.Enter SYSID_CLNT, but this one is Dummy so use the first 2 characters of the SYSID and prefix 'D' then underscore and then the Client number.

E.g.: If ERP_100 is the logical system of the R/3 then create ERD_100 as the dummy system. Create Port for the Original System, (ERP_100) o Goto WE21 and select Transactional Port and press the Create button. Name the Port as "SAP" contatenated with the SYSID in our example it would be SAPERP Select the appropriate version and enter the RFC dest of the system that you are working on in this case it will be 'ERP'. Create Partner Profile in partner type LS: o Receiver Side ( Outbound to ) : In Partner type LS nameERD_100create the Outbound Parameters, give the Message type, Receiver Port same as the port we created in step 2. Enter the Basic type.

Sender Side ( Inbound From ): In partner type LS nameERP_100 create the Inbound Parameters, give the appropriate message type and the process code. Now create the stand alone program to send the IDoc: o The program will at some point calls the MASTER_IDOC_DISTRIBUTE function module. When you pass the EDIDC structure it will be populated as follows: i_edidc-mestyp = message type. i_edidc-idoctp = basic type. i_edidc-rcvprt = 'LS'. Concatenate 'SAP' sy-sysid into l_port. i_edidc-RCVPOR = l_port. i_edidc-rcvprn = 'ERD_000'. CONCATENATE sy-sysid '_' sy-mandt INTO l_sndprn. i_edidc-SNDPRN = l_sndprn. i_edidc-sndprt = 'LS'. i_edidc-sndpor = l_port. Observe that the Sender port and the receiver port is the same, this does the trick. The outbound Idoc is sent on the port SAPERP with the Sender as ERP_100 and receiver as ERD_100 and then the Inbound Idoc is also sent to the same port SAPERP with the Sender as ERP_100 and receiver as ERD_10

Vous aimerez peut-être aussi