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?
_____________________________________________________________________________________
What is the key field for the material object?
_____________________________________________________________________________________
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.
_____________________________________________________________________________________
List three attributes of the Material object.
_____________________________________________________________________________________
Is the method Material.GetList instance independent or instance dependent?
_____________________________________________________________________________________
What is the name of the ABAP function module behind the BAPI method Material.Edit?
_____________________________________________________________________________________
Using the BAPI Browser (transaction BAPI), view the Material.GetDetail BAPI documentation.
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.
SAP R/3 ABAP 4.6 Delta Training Questions and Exercises
BAPIs
PricewaterhouseCoopers LLP 1 August 2000
Global Training Centre