Look them up via CU60, or hit the break for code.
Creating and maintaining BOMs via programming can be a pain in the a** sometimes.
So you’re an ABAP developer and you want to expand your horizon and enhance your skills? You don’t want to invent the wheel over and over again?
I just stumbled upon a quite annoying typo in the SAP dictionary which could (and, in my case, has) lead to problems when using BAPI_HU_CREATE and BAPI_HU_CHANGE_HEADER subsequently.
Here’s how a simple ALV list can be programmed. This is one of the most basic tasks you get assigned to as a developer.
Try calling BAPI_INSPOPER_GETDETAIL for the inspection operation you want to record results for and check, which tables you get back (ie. sample results, single results, char results). This will give you an idea how to call BAPI_INSPOPER_RECORDRESULTS properly for your inspection operation and will save you a lot of trouble. 🙂
WRITE: / 'Hello World'.
See? ABAP’s not so hard.