Professional Documents
Culture Documents
ABAP Reports - I
All program names must be start with YVOL_XXYY
o XX – Group Number
o YY – Program Serial Number
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
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.
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.
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
Page: 2 of 3
ABAP/4
Page: 3 of 3