• No results found

BOTH ARE SAME(IN OLD VERSIONS PACKAGE IS KNOWN AS DEV CLASS)

In document Interview Questions(All Interview) (Page 140-147)

507.) WHAT IS THE DIFFERENCE BETWEEN FILE PORT AND TRFC PORT ? A.) FILE port is used for EDI IDOCS

A.) BOTH ARE SAME(IN OLD VERSIONS PACKAGE IS KNOWN AS DEV CLASS)

589.) what are the prerequisites for using a bapi in your program? A.) 1) objects should reside in BOR.

2) BAPI BROWSER(check whether it is released or not). 3) from BAPI browser decide which fm has to use in fact go and check fm with ur sample data.

A.) Source list is nothing but the list of vendors providing the

rawmaterials or the goods required for the cmanufacturing customer.

591.) can we fetch data , when we write a select query under end - of - selection event.

A.) No,because END_OF_SELECTION event specifies that the database read is completed and it releases the lock on the logical data base(LDB)

592.) CAN WE DEBUG A IDOC? IF YES HOW TO DEBUG IN INBOUND SIDE AND OUTPUT SIDE.

A.) we able to test the inbound idoc follow the below steps to debug the inbound idoc

1) we 19 give the idoc number execute

2) click on inbound function module select the radio button in fore ground 3) check the check box call in debug mode

enter in will go through the function nmodule debug mode.

593.) A function group contains globally defined internal tables and function modules defined in it.

FMOD1 populates itab1 and when FMOD2 is called will itab1 contains those values being populated by FMOD1?

a.) If FMOD1 is called before FMOD2 then itab1 contains values. 594.) To avoid screen resolution problem while recording, A.) Set Default size = 'X' in CTUPARAMS

595.) In module pool, when table controls are used the command that is written in both PBO and PAI is

A.) The commands used in the PBO and PAI events of table control are:

(1) PBO:-

loop at int_tab_nam with control control_nam cursor control_nam-Top_line.

Endloop. (2) PAI:-

Loop at int_tab_nam. endloop.

same page itself in SAP script, command used is A.)PROTECT…ENDPROTECT

A.) Which of the following is not an exit command? Exit, Back, Cancel, Stop.

597.) IN SCRIPTS IF WE HAVE EMPTY SECOND LAYOUT AND IF WE HAVE MENTIONED ABOUT IT IN NEXT PAGE ATTRIBUTE THEN IN OUTPUT HOW WE GET THE SECOND PAGE OUTPUT.

a.)

598.) What is SQL Trace, how would you carried out performance analysis of ABAP code using SQL Trace? Give the steps?

A.)

599.) project preparation,prepare blue print and realization what do u mean by this?

A.) Project preparation:In this phase project manager and Adminstrator can be involed to analyes the project requirement.

Bluprint:In this phase Project manager and Function people can be involed.they analyse which predefined applications are can be used in this project like that.

Realization:In this Phase Functional people and ABAP deverlopers can be involved.Functional people will prepare the functional Specs and ABAP Develpoers can anlyse the FS and prepare the TS.After Approvel of TS they will start

coding.

After that objects are transport to production

After that project will go to Supporting meaning making some changes.

600.) suppose i want to print sap script output in different printers at a time what are the settings i'll have to make?

A.)

601.) what is use of sap script text file header?

A.) we can give any header type elements in that field

602.) what is difference between include structure and append structure?

A.) a.Normal Structures (which are includes) starts with .include where as Append structures starts with .append

b.Append Structures are used only to enhance standard tables where as Includes are used to enhance Ztables.

c.Append structures should be added at the end of a standard table. This is a must because we should not change the original standard table in the middle whereas Include structure allows adding one or more structure into structure or table. Also placed positioning anywhere. Up to 9 include structure can be

used in a table.

d.Note: Some standard tables for which there are long data type fields cannot be enhanced because, long type fields should always be at the end and append structures should also be at the end, so there will be a conflict. 603.) when we are using at new?should we use this inside the loop or outside?what will be the effect?

A.) At New field: it compares with the previous record of the internal table whether the value is different or not, if different the event is triggered...all the fields on the right hand side of the at new field is marked as *...this is maily bcoz at runtime their are many records for the at new field say for a carrid there r many connid...ur carrid is the at new carrid...so if you want to access a connid system will not undersatand to which connid you really want to access

At New

1. When a new record comes at new triggers. Atnew only used inside loop and endloop.

2. At new is controlbreak statment on at new the left side field change, the event

trigers and the values become 0 and *

604.) what is use of info records,condition records in material master?

A.) If a customer manages a material with a material code that is different from the one your company uses, a customer- material information record is created.

Condit

605.) WHEN TO GO LSMW ,BAPI,BDC FOR UPLOADING DATA.GIVE ME DIFFERENT SCENARIOS(EXAMPLES).

606.) what is itcsy structure? what is the importance of it? give me the detailed information of it ?

A.) ITCSY is a sturcture. It is used to pass data from the form to subroutine without modifying the print program.

perform <formname) using itcsy changing itcsy.

endperform.

607.) In interactive reporting, suppose i go to N'th list from basic list(primary data) & i wanna come back directly to

basic list. So how can i achieve this without using ESC or back button?? Is it possible using set screen 0??

A.) By using sy-lsind = 0 we can return to the basic list. Actually the basic list has lsind field set as 0 and all other detail list may have index starting from 1 to 20. As we may have 20 detailed list for one basic lis

608.) Between select ...endselect write one statement executes the cursor goes to dump analysis?what is the

statement ?

A.) Statements like CALL SCREEN , CALL DIALOG , CALL

TRANSACTION or MESSAGE are not allowed within a SELECT ... ENDSELECT loop.

609.) Can we call a subroutine in a script? If so, how? A.) Yes. Subroutine can be called using ITCSY structure.

Sample Code:

/: PERFORM SUM IN PROGRAM ZPROGRAM /: USING &VAR1&

/: USING &VAR2&

/: CHANGING &RESULT& /: ENDPERFORM

In the program(ZPROGRAM), we need to write the form .... FORM SUM TABLES INTAB STRUCTURE ITCSY

OUTTAB STRUCTURE ITCSY. data: field1 type i,

field2 type i, result type i.

TO read the values from the ITAB you have to use this logic. READ TABLE INTAB WITH KEY NAME = 'VAR1'.

IF SY-SUBRC = 0.

FIELD1 = INTAB-VALUE. ENDIF.

READ TABLE INTAB WITH KEY NAME = 'VAR2'. IF SY-SUBRC = 0.

FIELD2 = ITAB-VALUE. ENDIF.

RESULT = V_FIELD1 + V_FIELD2. READ TABLE OUTTAB INDEX 1. IF SY-SUBRC = 0.

OTAB-VALUE = RESULT. MODIFY OUTTAB INDEX 1 .

ENDIF. ENDFORM.

610.) Would WS_UPLOAD function module work if the BDC is run in Background? If yes explain, If no explain?

A.) WS_UPLOAD will not work in case of background

As background jobs run in application server and WS_UPLOAD is the FM which require input from the Prsentation server, so it will not get the file at run time and will give error. 611.) Can we create Enhancements of our own, i.e. customer defined? A.)

612.) What is the difference between the exits created in M.M and S&D? A.)

613.) Explain the way(s) you find an exit(s) to a given standard sap program A,)MODSAP

614.) Whether Project contains enhancement or Enhancement contains Projects? A.)

615.) Is exit a function module? A.)

616.) Can we add a field to the sap standard screen? If so, how? A.)

617.) I want to give a input/output field on list , where can I define it? A.)

618.) I have one selection screen field which is meant for only display what will You do? A.)

619.) I have more than one layout in a form, would You handle? A.)START_FORM….END_FORM

620.) What is the significance of main window in a page, what are the types of the window?

A.) Main window is usefull for continues test Windows in Sap Scripts

1.main window-continues text 2, varable window-for address

3.constant window-for page header and footer 4.graphic window-images

621.) How do you know that data is updated in call transaction A.)

622.) What are control commands in sap scripts? A.) The control commands in SAP SCRIPTS are

NEW-PAGE -Explicit Page Break

PROTECT..ENDPROTECT -Preventing Page Breaks NEW-WINDOW -Next Main Window

SET DATE MASK -Formatting Date Fields SET TIME MASK -Formatting Time Fields

623.) I have 2 fields like customer and name having 20 records on basic list. When I select 5 records randomly, I want to get the address of particular customer selected in secondary list? A.)

624.) User has given the specification to display the Check boxes on the list, how

will you handle this situation.? A.) WRITE - Output as checkbox

Effect

Outputs the field <f> as a checkbox. The contents of the first character of f is interpreted as the "status":

' ' = not selected 'X' = selected

The user can change this as required.

DATA: chkbox(1) TYPE C VALUE 'X'. ...

WRITE chkbox AS CHECKBOX. "checkbox selected chkbox = SPACE.

WRITE chkbox AS CHECKBOX. "deselected

WRITE chkbox AS CHECKBOX INPUT OFF. "deselected, protected

625.) Append structures in tables, what happens when version is upgraded ?

A.) Assuming that SAP has not made any changes to the table that you added an append to, the standard table will remain the same. The append will still be there as well.

If SAP delivers changes to the table it will show up in SPDD and you will be given the chance to reinclude your append. If for example you created the append because of an SAP note it is possible that SAP will incorporate the

fields that you added in the append into the new version of the table delivered with the upgrade. In that case you will want to discard the append.

626.)POOLED AND CLUSTER TABLE EXAMPLES? A.) Pool Tables: A004, A044, A046, A047

627.) Which client is called as golden cient? IS it 100, if yes why?

A.) Golden client contains all the configuration data and master data so some extent. All the configuration settings are done in golden clients and then moved to other clients. Hence this client acts as a master record for all transaction

628.) Difference between jobpage and form page? A.)

629.) jobpages:

job pages give the number of jobs going for spool request. ex: page 1 of 1

syntax:

page &page& of &sapscript-jobpages& form pages:

form pages give the total no of pages in a form. ex: page 1 of 1.

syntax:

page &page& of &sapscript-formpages&

629.) How to call transaction in session method without recording? A.)

630.) How to Read long Text using Scripts A.)READ_TEXT

631.) WHAT IS DOCUMENTATION?WHY IT IS USED?

A.) IT SHOWS CLEARCUT IDEA HOW U DEVELOPED AN OBJECT SO THAT

In document Interview Questions(All Interview) (Page 140-147)