Anda di halaman 1dari 1

SAP R/3 ABAP 4.

6 Delta TrainingQuestions and Exercises


BAPIs
1. Using the Business Object Repository Browser (transaction SWO2), display the SAP
object for material. (Follow the application tree Logistics General -> Logistics Basic
Data -> Material Master.) What is the ABAP program that implements the business
object?
_____________________________________________________________________________________

2. What is the key field for the material object?


_____________________________________________________________________________________

3. How many methods exist for the material object? List three of them.
_______________________________________________________________________

4. How many of the object methods are implemented with a BAPI? Name two of them.
_____________________________________________________________________________________

5. List three attributes of the Material object.


_____________________________________________________________________________________

6. Is the method Material.GetList instance independent or instance dependent?


_____________________________________________________________________________________

7. What is the name of the ABAP function module behind the BAPI method
Material.Edit?
_____________________________________________________________________________________

8. Using the BAPI Browser (transaction BAPI), view the Material.GetDetail BAPI
documentation.

9. Write a simple ABAP program to do the following:


• Name the program ZMATBAPIxx where XX is your user number
• Allow the user to input a material number as a parameter
• Call the Material.GetDetail BAPI from the program
• Write the material number, description, date created, and who it was created by
(these are all found in the BAPIMATDOA structure exported from the BAPI)
• Be sure to check the BAPIRETURN structure of the BAPI for an error and write
a message if the BAPI call is unsuccessful. Test this by entering an invalid material
number and executing your program.

PricewaterhouseCoopers LLP 1 August 2000


Global Training Centre
Th is is Pri cewaterhou seCoop ers P RO PRIE TARY MAT ERIAL (hereafter, the Material ) in ten ded for
i nternal use on ly. You may n ot ren t, lease or d istri bute th e M aterial to cli ents o r o th er thi rd parties,
bu t you may tran sfer the Material to oth er em pl oyees o f P ricewaterho useCoo pers.

Anda mungkin juga menyukai