Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

reg: interview question

Former Member
0 Kudos
82

hello friends,

please answer the following questions.and guide me

1.how many events are there in alvs,what r they, how the comment is written in alv.

2.what is the procedure to send smartform as a mail.

3. how can you attach the transport request for scripts.

4.there r 10,000 records in a flatfile and first record contains error, if i upload to the bdc pgm,and run in session method what will happen.

5.what is the procedure to get secondary lists more than 20.

6.what is the SLIN transaction code.

7.what is the PICK function type in module pool.

8.what happens if u use the same event twice in a report.

9.purpose of REUSE_ALV_CATALOG_MERGE

10.difference between SE09 AND SE10.

11.what is SUPPRESS DAILOG in module pool.

12. what is mean by DRIVER TABLE. what will happen when the driver table while usibg the for all entries does not contain any data.

13.can u get both landscape and portrait in a same layout. if yes how.

14.you have 5 secondary lists. how can u move from 4th secondary list to initial list in interactive report.

1. get cursor and hide

2. set and get parameter

3.view and search helps.

4. in brief abt user exits and tab strips.

1 REPLY 1

Former Member
0 Kudos
31

Hello Selva

1. refer to the link

http://www.sap-basis-abap.com/abap/events-in-alv-and-their-fm.htm

For comments please specify what type of comments you need.

2. Use the link:

3. You can save the script in a development class and create a request in SE01 for the development class.

4. Depends on which method you are using - Syncronous or

Asyncronous. In syncronous rest with no error will be updated and in asyncronous nothing will be updated once an error is encountered.

5. Not possible.

6. SLIN is ABAP Program Extended Syntax check.

7. PICK is function code for F2 function key.

8. Not possible. Error will come.

9. Converting internal table to field catalog.

10. SE09 is the workbench transport requests transaction - here the developers can track changes to all ABAP workbench objects (dictionary, reports, module pools, etc). This is a developer-specific transaction and mostly all developers have access to this transaction.

SE10 is the customizing request display transaction - this displays all the customizing requests in the system. Again, this could be restricted to Business analysts if required, since they would be doing most of the customizing changes in the system.

11.Removing the dynpro (dialog screen) and go to list processing.

12. It will try to select all the entries and there can be an abend due to time out or memory constraints.

14. AT LINE-SELECTION.

IF sy-lsind = 4.

sy-lsind = 1.

ENDIF.

1. HIDE

The HIDE statement is one of the fundamental statements for interactive reporting. You use the HIDE technique when creating a basic list. It defines the information that can be passed to subsequent detail lists.

GET CURSOR

Use the statements GET CURSOR FIELD and GET CURSOR LINE to pass the output field or output line on which the cursor was positioned during the interactive event to the ABAP program.

Use link :

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm

http://www.sap-img.com/abap/a-sample-hide-get-cursor-in-interactive-programming.htm

2. To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.

ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETERstatements.

To fill one, use:

SET PARAMETER ID pid FIELD f.

This statement saves the contents of field f under the ID pid in the SAP memory. The ID pid can be up to 20 characters long. If there was already a value stored under pid, this statement overwrites it. If you double-click pid in the ABAP Editor, parameters that do not exist can be created as a Repository object.

To read an SPA/GPA parameter, use:

GET PARAMETER ID pid FIELD f.

This statement places the value stored under the pid ID into the variable f. If the system does not find any value for pid in the SAP memory, sy-subrc is set to 4. Otherwise, it sets the value to 0.

Use link : http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm

3. Search helps can be used to assign an input help (F4 help) to screen fields. You can do this by creating a search help in the ABAP Dictionary and attaching it to the corresponding screen field.

Link : http://help.sap.com/saphelp_erp2005/helpdata/en/8b/415d363640933fe10000009b38f839/frameset.htm

Many times ABAP programmers deal with base tables and nested selects. Instead it is always advisable to see whether there is any view provided by SAP on those base tables, so that the data can be filtered out directly, rather than specially coding for it.

Not recommended

Select * from zcntry where cntry like ‘IN%’.

Select single * from zflight where cntry = zcntry-

cntry and airln = ‘LF’.

Endselect.

Recommended

Select * from zcnfl where cntry like ‘IN%’ and airln

= ‘LF’.

Endselect.

4. User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.

Link: http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

<b><i>Award points if found useful.</i></b>

Regards

Inder