Advertising:

Additional writable customer fields in COOIS output

From SAP Knowledge Base

The aim of this enhancement is to be able to save any text, e.g. a comment for a particular entry, by means of an additional button in a newly added field.

A BAdI and a Z program are used for this. No SAP standard code is modified. The text entry is only displayed once it has been called up again after the selection.

This is shown using an example for the "Component" list. An entry for components can be clearly identified with the order no., item no. and material number (component).

Extend table "IOOPCOMP" with append structure

Create a table in customer namespace to save a text

Implementation storage text

Create program in customer namespace to save the text in created table (see step 2)

Create transaction code for created program

Add button for transaction call in COOIS to navigation profile

Use BADI "WORKORDER_INFOSYSTEM" to read text

Create BAdI implementation in customer namespace or extend existing one

To do this, call up SE18 and a implementation in customer namespsace is created on the "Implementation" tab under "Create". The BAdI can be used multiple times. Therefore, more than one implementation can be created and activated here.

Programming the "TABLES_MODIFY_LAY" interface method


This is a wiki created in the spare time of a private person working in the SAP ERP area. The aim is to collect knowledge for the own use. The wiki is maintained to the best of knowledge and belief.
All products shown, including in form of screenshots, belong to SAP SE. Their trademarks are, among others: SAP®,ABAP®,SAP Fiori®,SAP HANA®,SAP NetWeaver®,SAP® R/3®,SAP S/4HANA®,SAP S/4HANA® Cloud