SAP Note 325546 - CO line item reports : Creating a user-defined field
Base on sap note 325546, I will give example for add new fields Order type to report KOB1.
(Oka)
- Go to tcode SM34 and maintain view table V_TKALV add new fields ZZAUART in structure KAEP_COAC, field group "K".
- Go to sap enhancement SMOD and entry Enhancement project COOMEP01 and click button test run. double click include table CI_RKPOS and add new component ZZAUART component type AUFART. Then activated structure CI_RKPOS.
- Double click FM EXIT_SAPLKAEP_001. In area Function module double click ZXKAEPU01 to create include file. Add this code
CHECK i_rep_object = 'OR'.
SELECT SINGLE auart INTO cs_record-zzauart
FROM aufk
WHERE aufnr = cs_record-aufnr. - Activated ZXKAEPU01 and then actived COOMEP01.
(Oka)
Comments