Nowadays, many of my friends use bapi in a Google status, that is, they can only search for related functions and call methods on the Internet, but it is difficult to match the actual business, this is enough to cope with the current development, but it is necessary to change the demand for another business.
Everyone has a question: Which Business Object does the bapi function belong? We will unveil the secret today.
The relationship between bapi functions and Business Objects is stored in the swotlv table. For a business object, besides functions, some other information is stored. The abapname field of this table stores the function name, while the lobjtype field stores the Business Object Name. In this way, when we find a bapi function, we can find its corresponding business object in this table.
However, unfortunately, SAP only uses the abbreviated name method when naming a business object. You can guess the role of the business object from the abbreviation. Most business objects are still in the form of busxxxx, it is inconvenient to add a number to the prefix of bus and continue mining. The next step is to find the table tojtb. Its name field stores the Business Object Name, while editelem is the abbreviation description, which is the name seen in the transaction code bapi. In addition, you can get a detailed description of the business object from its text table tojtt.