23.07.2011Page 1 of 4
SAP Note 325546 -CO line item reports: Creating auser-defined field
Note Language: EnglishVersion: 8 Validity:
Valid Since 05.08.2002
The CO line item reports already provide a large number of fields fordisplaying.Nevertheless, you may need additional, user-defined fields fromtime to time.With a customer exit you can add user-defined fields to the CO line itemreports.The documentation is included in project "COOMEP01", which isaccessible via Transaction SMOD.You can actually add fields to the actual costs line item reports (forexample, KSB1, KOB1, CJI3), the planned costs line item reports (forexample, KSBP, KOBP, CJI4) and the commitment line item reports (forexample, KSB2, KOB2, CJI5). The budget line item reports that have beendeveloped for Release 4.6 may also be extended (for example, KOB4).This note contains a more detailed explanation of the procedure as thereare still questions concerning this problem.
RKAEP000, KAEP, SMOD, CMOD, customer enhancement, CI_RKPOSEXIT_SAPLKAEP-001, EXIT_SAPLKAEP_002, EXIT_SAPLKAEP_003, CJI3
Reason and Prerequisites
oFilling the field requires programming an ABAP exit.Thus, ABAPknowledge is needed.oMoreover, you have to know of course where to find the data whichis to be filled into the new field.oYou have to know how to use Transaction SMOD and CMOD, thedocumentation can be called up via the initial screen of CMOD bychoosing "Utilities --> Apllication help".
oFirst you have to decide, whether you want to extend an actual,plan or commitment line item report.Depending on the report, youhave to use different exits:Actual EXIT_SAPLKAEP_001Plan EXIT_SAPLKAEP_002Commitment EXIT_SAPLKAEP_003Budget EXIT_SAPLKAEP_004The exits are also included in Transaction SMOD/CMOD.oYou have to execute the following steps that are explained indetail below:a)The output structure has to be extended by the user-defined field.b)The exit has to be programmed to fill the field.c)View V_TKALV has to be maintained to tell the report what technicalinformation on the new field is required.oIn the following we use the extension of the actual cost line item