Are programs client dependent?

1. Programs are client independent.

2. Normally, data is client dependent / independent.

3. Most of the workbench objects are client independent.

What are select options and what is the diff from parameters?

Parameters –

Defines Program Parameters

Objects that you define with this statement can have two functions:

1. In executable (type 1) programs:

You can run executable programs using the r SUBMIT statement. The PARAMETERS and SELECT-OPTIONS statements form their interface. This is usually the interface between the program and the user, that is, the parameters and select-options are filled out by the user on the selection screen (see also the NO-DISPLAY addition and the SUBMIT statement without the VIA SELECTION-SCREEN addition).

2. In any program (apart from a subroutine pool, that is, a program with type S):

Objects in a program, defined on a selection screen that is filled out by the user at runtime.



Declaring a variable selection option

Declares a variable selection option.
Objects defined using this statement can have two purposes:

What are ranges? What are number ranges?

Click on Groups button (F6) > Select the check box for the group appearing on the next screen > From the menu bar Interval > Maintain > Enter company code > you would get an option to add new intervals for each fiscal year.

What are match codes? describe?

Match codes are help objects that are associated with any field.For example if I have a work center ARBPL on my selection screen and I want to show an F4 help of all the avilable work centers to the user,i will do something like this :

paramter : ARBPL like ARBPL match code object CRAM.

What happens when a table is activated in DD?

A lot of things happen when you activate the table. But the most important, perhaps is the creation of the runtime object for that table. this runtime object will reside on the application server and will contain some crucial information about the table.

I will give you one example of what this runtime object can do. when you write an ABAP program with a select statement like this –

WHERE KUNNR = ‘1234567890’.


you will obviously get an error which says that the field KUNNR is not present in the table SPFLI. Obviously, during the syntax check, the database server cannot be queried to verify whether all the fields in the SELECT statement are indeed present in the database. So, the run-time object gives this information.

You can run an ABAP program without activating it, but you cannot use a tale in your program without activating the table first (at least once), because the program will try to access this runtime object when it compiles the code.

What is a function group?

go to SE80, in left pane you can find drop down field there select ‘Function group’ below to that field enter your function group name, click display buttion very 2nd button after this field. which will displays all the asscoiated to that group. right click on that function group name go for active option.
28. How are the date abd time field values stored in SAP?
Please find the below code:
insert into ““.”” values (‘00001’, ‘00002’, ‘00003’, ‘1996-01-02 00:00:00.0’)
I used data type as timestamp.

What is a drill down report?

The lines of basic list of a drilldown report when clicked, will take the user to the corresponding (standard) object’s display.

For eg: Suppose your report’s primary component is purchase requisition, (assume you are printing PR details), and the basic list displays details of many PRs.

Eg: when clicked on a particular line of the PR basic list, it takes you to std t-code me53 (display of purchase requisition). This is the ‘Drill-down’ functionality.

For this, in the at-line selection of your program, as per the above ex: you’ll set the parameter ID of PR number BAN (that you can get from Data element) in memory (using set parameter id) and then calling the corresponding transaction (usually skipping initial screen of the std t-code).