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
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.