You are on page 1of 3

ABAP/4

ABAP Reports - I
 All program names must be start with YVOL_XXYY
o XX – Group Number
o YY – Program Serial Number

1. Write a program to print the following :


o System date
o System Time
o Logon Language
o Logon User ID

2. Write a program to print the following :


a. ICON
o Sort Ascending
o Information
o Transport
b. SYMBOLS
o Printer
o Radio button
o Checkbox

2. Write a program to perform arithmetic operation :


a. Define following Variables with value
o Principle
o No of years
o Interest Rate
b. Calculate the Interest
c. Print the cumulative value beginning of the next year (Principle + Interest)
d. Write the suitable texts also. These texts should language independent.

3. Write a program to print the following fields form Material Master table:
o Material Code
o Material Description
o Material Group
o Material Type
o Base Unit of Measure

4. Write a program to print the following fields form Sales Document Header Table:
o Sales Document Number
o Document Date
o Document Type
 Sales Order
 Cash Discount
 Others

Page: 1 of 3
ABAP/4

o Net Value of Sales Document


Print the total value of Sales document and number of sales documents.

5. Write a program to create an internal table with header line and populate the values from
Sales Document Header Table.

6. Write a program to create an internal table with header line and populate the values from
Sales Document without Header Table.

7. Write a program with subroutine to calculate interest (I=PNR/100). Input parameters


principle, no of years, and interest.

8. Create a function module to calculate the interest. Import parameters are principle, no years
and interest rate. Export parameters is calculated interest. Raise exception in the following
cases :
o PRINCIPLE_ZERO where principle amount is zero.
o ZERO_YEARS where year is zero.
o INTRATE_ZERO where interest rate is zero.
Use this function module in the report program and take the inputs principle, year and rate.
Create an appropriate message class and create 3 messages for the 3 exceptions and
display error message from message class.

9. Write a program to retrieve the following information :


o Material code
o Material Group
o Martial Type
o PO number
o PO Qty
Use tables MARA and EKPO. Hints : user inner joins and outer joins to display the result.

10. Write a program to display the following fields using native SQL command. Table MARA
o Material code
o Material Group
o Base unit of Measure

11. Write a program to display the following fields. Table MAKT.


o Material code
o Material Description
o Language
User is authorized to execute this report, if user has authorization S_EDITOR field “User
action ABAP editor’ has a value “SHOW”.

Page: 2 of 3
ABAP/4

12. Create a selection screen with the following options


Radio button group
o Raw Material
o Finished Groups
o All
Create a check box for description in the selection screen.
Also to accept range of materials.
Select the following fields:
o Material Code
o Material Type
o Material Groups
o Base Unit of Measure
Print the description only if the description check box is active.

Page: 3 of 3

You might also like