Professional Documents
Culture Documents
Select the Radio button reading API Function as already said above.
You can see a message reading Object type status set to implemented
Now, go to: EditChange Release StatusObjectTo Released.
There would be two pop ups coming up. Click continue on the Pop Ups.
Keep the cursor on the 'Method'.
Go to: EditChange Release StatusObject type componentTO Modeled.
You can see the message reading status for method zbapifmt001 set to modeled.
Now, go to: EditChange Release StatusObject type component TO Implemented
You can see the message reading status for method zbapifmt001 set to implemented.
Now go to: EditChange Releasse Status Object type component To Released
You can see the message reading status for method zbapifmt001 set to Released.
Click on Generate Button. (the red ball kind of button is the Generate button)
After clicking on the generate button, you can see the message reading Object type 'ZBAPI_T001'
generated successfully.
Now go to BAPI Tcode (BOR) there we can find the BAPI (our BAPI)
The BAPI browser would look like the screen below.
You can click on the Alphabetical tab so that you can browse the BAPIs in an alphabetical order. Find
your BAPI as shown.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Now we are done with the creation of a BAPI.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Test Your BAPI.
Enter the name of your BAPI in the transaction SWO1 and click on Test.
The above screen is displayed. Click on the Execute icon against the BAPI as shown.
The above screen is displayed where you would require entering the data against the empty input fields.
The following screen is displayed which has some values as is indicated by the ITEMTAB.
After executing the BAPI based on the input provided, we get the following screen.