SlideShare a Scribd company logo
1 of 5
Download to read offline
325546 - CO line item reports: Creating a user-defined field
Version 8 Type SAP Note
Language English Master Language German
Priority Recommendations / Additional Info Category Consulting
Release Status Released for Customer Released On 16.08.2002
Component CO-OM-IS (Information System, iViews)
Please find the original document at https://launchpad.support.sap.com/#/notes/325546
Symptom
The CO line item reports already provide a large number of fields for
displaying.Nevertheless, you may need additional, user-defined fields from time
to time.
With a customer exit you can add user-defined fields to the CO line item
reports.The documentation is included in project "COOMEP01", which is accessible
via Transaction SMOD.
You can actually add fields to the actual costs line item reports (for example,
KSB1, KOB1, CJI3), the planned costs line item reports (for example, KSBP, KOBP,
CJI4) and the commitment line item reports (for example, KSB2, KOB2, CJI5). The
budget line item reports that have been developed for Release 4.6 may also be
extended (for example, KOB4).
This note contains a more detailed explanation of the procedure as there are
still questions concerning this problem.
Other Terms
RKAEP000, KAEP, SMOD, CMOD, customer enhancement, CI_RKPOS EXIT_SAPLKAEP-001,
EXIT_SAPLKAEP_002, EXIT_SAPLKAEP_003, CJI3
Reason and Prerequisites
Filling the field requires programming an ABAP exit.Thus, ABAP knowledge is
needed.
Moreover, you have to know of course where to find the data which is to be
filled into the new field.
You have to know how to use Transaction SMOD and CMOD, the documentation
can be called up via the initial screen of CMOD by choosing "Utilities -->
Apllication help".
Solution
First you have to decide, whether you want to extend an actual, plan or
commitment line item report.Depending on the report, you have to use
different exits:
Actual EXIT_SAPLKAEP_001
Plan EXIT_SAPLKAEP_002
Commitment EXIT_SAPLKAEP_003
Budget EXIT_SAPLKAEP_004
The exits are also included in Transaction SMOD/CMOD.
You have to execute the following steps that are explained in detail 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.
2016-12-31 Page 1/5
© 2016 SAP SE or an SAP affiliate company. All rights reserved
c) View V_TKALV has to be maintained to tell the report what technical
information on the new field is required.
In the following we use the extension of the actual cost line item report
by the "Cost Center Manager" field as an example.The cost center manager is
contained in the master data table of the cost centers CSKS in the VERAK
field.
The first step is to extend the output structure of the line item report by
the new field.These output structures include customer Include structures
which are intended for the enhancement:
Output structure Customer include structure
Actual KAEP_COAC CI_RKPOS
Plan KAEP_COPL CI_KAEP_COPL
Commitment KAEP_CM CI_RKPOA
Budget KAEP_BDG CI_KAEP_BDG
Thus, to extend the actual line item report by the cost center manager, you
extend structure CI_RKPOS.Add a new field ZZ_VERAK to this structure, as
data element/component type enter VERAK (the same type that you find for
the VERAK field in the CSKS). Save and activate the structure.
In the next step you have to program the exit.Fist select the correct exit
(for the extension of the actual line item report, this is
EXIT_SAPLKAEP_001).
The exit is called up for every read line item.Via the interface of the
function module you recieve
parameter I_REP_OBJ, which you can use to distinguish from which line
item report the exit was called.The possible characteristic values can
be found via the fixed values for domain KAEP_OBJ.You need this
parameter because the same exit is called up for all actual (or plan or
commitment) line item reports.This way you avoid possible extra work
with extensions that are to be carried out for all line item reports.
structure CS_RECORD which contains the complete line item that is read
and processed by the database, including the new field.However, this is
still blank when being accessed and has to be filled with ABAP.
Please note that this exit is passed through once for every line item!A
complex or a poorly programmed exit can considerably extend the runtime
of the line item reports!
In the example of the cost center manager, you should only fill the
field if the cost center line item report is actually executed.In this
case I_REP_OBJECT = "KS".The first line of the exit should contain
Check i_rep_object = 'KS'.
This ensures that it is not further processed with other line item
reports and thus does not extend their runtime.
Now the cost center manager has to be determined.Table CSKS has to be
read for this.
select single verak from csks into cs_record-zz_verak where kokrs =
cs_record-kokrs and
kostl = cs_record-kostl and
datbi >= cs_record-budat and
datab <= cs_record-budat.
Finally you have to maintain view V_TKALV.Here you provide the required
information to the line item report which ensure that the report always
correctly displays the field.
Call up Transaction SM34, enter "V_TKALV" and choose "Change".
First of all you have to provide the field and its technical settings:To
do this go to the "Field catalog information" and create a new entry. As
field structure enter the corresponding output structure (see above, for
2016-12-31 Page 2/5
© 2016 SAP SE or an SAP affiliate company. All rights reserved
the actual line item reports this would be KAEP_COAC), and as Field name
enter the name of the new field.For the Field group select "K", this
ensures that you will find the field with the user-defined fields in the
display variant/layout maintenance.You can leave the other fields blank
for the time being.The meaning of the fields in detail:
- Key flag: This characterizes the field as key field in output.
- "Tech. Field", "Col.pos.default" and "Edit mask" are not important for
user-defined fields and should therefore be left blank.
- Text field (only as of Release 4.5):If you not only extend the report
by one field but by two fields - one with a technical code and a second
with the corresponding text - it is recommended to enter the name of the
text field in this field for the field with the technical code.With
subtotalling via the key field, the system also fills and displays the
text field in the totals rows.
Secondly you have to provide the fields of the line item for the report
that are required to fill the user-defined field in the exit.Select the
newly created field in the "Field catalog information" and go to the
"Selection dependencies".
Here, add an entry for every field that you need to fill your new field.
Always enter the name of your new field in the left column and to the
right the field that you require to fill your field.
You have to do this to tell the report which fields it must read in any
case if the new field is to be displayed.In background processing the
system only reads the fields from the database that are absolutely
necessary.These are the fields of the display variant which is used for
the output, plus the fields that are needed to fill the fields of the
display variant.
In the example, the fields KOKRS, KOSTL and BUDAT are needed to fill the
field ZZ_VERAK.However, there is a selection dependency for the field
OBJNR (you can display this by selecting the field KOSTL in the field
catalog information and then display the selection dependencies).Thus,
you have to add 3 entries for the selection dependencies:
Field name Database field to be read
ZZVERAK KOKRS
ZZVERAK OBJNR
ZZVERAK BUDAT
The extension is completed! Should the system not yet display the new field
in the output, this is either due to a special buffer mechanism of the
field catalogs for the output (read Note 122975 for this) or due to the
fact that the new field is not yet filled (read Notes 359691 and 327821 for
this).
Software Components
Software Component Release
SAP_APPL 40A - 40B
SAP_APPL 45A - 45B
SAP_APPL 46A - 46B
SAP_APPL 46C - 46C
SAP_APPL 470 - 470
2016-12-31 Page 3/5
© 2016 SAP SE or an SAP affiliate company. All rights reserved
SAP_APPL 500 - 500
SAP_APPL 600 - 600
SAP_APPL 602 - 602
SAP_APPL 603 - 603
SAP_APPL 604 - 604
SAP_APPL 605 - 605
SAP_APPL 606 - 606
SAP_APPL 616 - 616
SAP_FIN 617 - 617
SAP_FIN 700 - 700
SAP_FIN 720 - 720
Other Components
Component Description
CO-OM-CCA-G Reporting, iViews
CO-OM-OPA-G Reporting, iViews
This document refers to
SAP Note/KBA Title
896531 CO-EP reports: Customer-specific authorization checks
668514 FAQ 2: Line item reports
591963 Co EP-reports: Restriction on characteristic BELKZ
562169 CO line item reports: WBS elements not displayed completely
546414 CO-EP reports: Commitment at funds & functions'
359691 CO line item reports: Missing fields
331416 CO line item reports: EXIT_SAPLKAEP_009
327821 CO line item reports: fields are not filled
2016-12-31 Page 4/5
© 2016 SAP SE or an SAP affiliate company. All rights reserved
324628 CO-EP reports: Too much data/dump during call using BBS
122975 Resetting buffering of ALV field catalog
This document is referenced by
SAP Note/KBA Title
562169 CO line item reports: WBS elements not displayed completely
324628 CO-EP reports: Too much data/dump during call using BBS
359691 CO line item reports: Missing fields
896531 CO-EP reports: Customer-specific authorization checks
668514 FAQ 2: Line item reports
546414 CO-EP reports: Commitment at funds & functions'
591963 Co EP-reports: Restriction on characteristic BELKZ
331416 CO line item reports: EXIT_SAPLKAEP_009
327821 CO line item reports: fields are not filled
122975 Resetting buffering of ALV field catalog
| | | |
Terms of use Copyright Trademark Legal Disclosure Privacy
2016-12-31 Page 5/5
© 2016 SAP SE or an SAP affiliate company. All rights reserved

More Related Content

What's hot

SAP PROFIT CENTER CONFIGURATION
SAP PROFIT CENTER CONFIGURATIONSAP PROFIT CENTER CONFIGURATION
SAP PROFIT CENTER CONFIGURATIONPKVINCENT
 
F 03 gl manual account clearing
F 03 gl manual account clearingF 03 gl manual account clearing
F 03 gl manual account clearingFarooq Wangde
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailSURESH BABU MUCHINTHALA
 
FI & MM integration
FI & MM integrationFI & MM integration
FI & MM integrationsekhardatta
 
Configuration of TCS
Configuration of TCSConfiguration of TCS
Configuration of TCSRajeev Kumar
 
Balco ps configuration manual
Balco ps configuration manualBalco ps configuration manual
Balco ps configuration manualJaideep Kulkarni
 
Ps training mannual ( configuration )
Ps training mannual ( configuration )Ps training mannual ( configuration )
Ps training mannual ( configuration )Soumya De
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Documentsapdocs. info
 
SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1Srinivas Kasireddy
 
Functional specification doc Gst purcahse register
Functional specification doc Gst purcahse registerFunctional specification doc Gst purcahse register
Functional specification doc Gst purcahse registerLokesh Modem
 
How to create a transaction code for report painter reports
How to create a transaction code for report painter reportsHow to create a transaction code for report painter reports
How to create a transaction code for report painter reportsRajeev Kumar
 
SAP Account determination MM-FI by Odaiah Pelley - 1
SAP Account determination MM-FI by Odaiah Pelley - 1SAP Account determination MM-FI by Odaiah Pelley - 1
SAP Account determination MM-FI by Odaiah Pelley - 1Intelligroup, Inc.
 

What's hot (20)

SAP PROFIT CENTER CONFIGURATION
SAP PROFIT CENTER CONFIGURATIONSAP PROFIT CENTER CONFIGURATION
SAP PROFIT CENTER CONFIGURATION
 
F 03 gl manual account clearing
F 03 gl manual account clearingF 03 gl manual account clearing
F 03 gl manual account clearing
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mail
 
FI & MM integration
FI & MM integrationFI & MM integration
FI & MM integration
 
Intercompany assets transfer
Intercompany assets transferIntercompany assets transfer
Intercompany assets transfer
 
Configuration of TCS
Configuration of TCSConfiguration of TCS
Configuration of TCS
 
FS for FICO
FS for FICOFS for FICO
FS for FICO
 
How to split cost of goods sold
How to split cost of goods soldHow to split cost of goods sold
How to split cost of goods sold
 
Balco ps configuration manual
Balco ps configuration manualBalco ps configuration manual
Balco ps configuration manual
 
Ps training mannual ( configuration )
Ps training mannual ( configuration )Ps training mannual ( configuration )
Ps training mannual ( configuration )
 
Cutover activities
Cutover activitiesCutover activities
Cutover activities
 
Account based COPA in SAP
Account based COPA in SAPAccount based COPA in SAP
Account based COPA in SAP
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Document
 
SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1
 
Functional specification doc Gst purcahse register
Functional specification doc Gst purcahse registerFunctional specification doc Gst purcahse register
Functional specification doc Gst purcahse register
 
SAP Controlling Notes by Bhagirath
SAP Controlling Notes by BhagirathSAP Controlling Notes by Bhagirath
SAP Controlling Notes by Bhagirath
 
How to create a transaction code for report painter reports
How to create a transaction code for report painter reportsHow to create a transaction code for report painter reports
How to create a transaction code for report painter reports
 
Copa implementation
Copa implementationCopa implementation
Copa implementation
 
92241650 split-valuation-configuration
92241650 split-valuation-configuration92241650 split-valuation-configuration
92241650 split-valuation-configuration
 
SAP Account determination MM-FI by Odaiah Pelley - 1
SAP Account determination MM-FI by Odaiah Pelley - 1SAP Account determination MM-FI by Odaiah Pelley - 1
SAP Account determination MM-FI by Odaiah Pelley - 1
 

Similar to 325546_adding fields in CJI3 & CJI5.pdf

mizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5Nmizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5NImran M Arab
 
Report_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.pptReport_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.pptYudie1
 
MD04 Report in BW
MD04 Report in BWMD04 Report in BW
MD04 Report in BWtasmc
 
Main_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdf
Main_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdfMain_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdf
Main_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdfShekhar Bhartiya
 
Fbl3 n account line item analysis
Fbl3 n account line item analysisFbl3 n account line item analysis
Fbl3 n account line item analysisFarooq Wangde
 
10 consulting notes_forco-pa_analysts (1)
10 consulting notes_forco-pa_analysts (1)10 consulting notes_forco-pa_analysts (1)
10 consulting notes_forco-pa_analysts (1)Ramesh Reddy
 
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...John Jordan
 
PS ehp6 enhancements
PS ehp6 enhancementsPS ehp6 enhancements
PS ehp6 enhancementsSapPSGuy
 
Maintaining comment fields directly in planning layouts using the transaction...
Maintaining comment fields directly in planning layouts using the transaction...Maintaining comment fields directly in planning layouts using the transaction...
Maintaining comment fields directly in planning layouts using the transaction...Janakiram Yelike
 
Sap abap training Overview
Sap abap training OverviewSap abap training Overview
Sap abap training Overviewraviadm100
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Kranthi Kumar
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Rajeev Kumar
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionValko Arbalov
 
Srinivas_Ganta_IBM_INDIA1
Srinivas_Ganta_IBM_INDIA1Srinivas_Ganta_IBM_INDIA1
Srinivas_Ganta_IBM_INDIA1srinivas ganta
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bishabari76
 

Similar to 325546_adding fields in CJI3 & CJI5.pdf (20)

mizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5Nmizing Fileds in FBL1N/FBL5N
mizing Fileds in FBL1N/FBL5N
 
Report_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.pptReport_Painter_Abap_rp2.ppt
Report_Painter_Abap_rp2.ppt
 
Alv theory
Alv theoryAlv theory
Alv theory
 
MD04 Report in BW
MD04 Report in BWMD04 Report in BW
MD04 Report in BW
 
Main_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdf
Main_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdfMain_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdf
Main_changes_in_SAP_S_4HANA_compared_to_SAP_ERP_1695885545.pdf
 
Abap rp2 3
Abap rp2 3Abap rp2 3
Abap rp2 3
 
SAP Integration With Excel - Advanced Guide
SAP Integration With Excel - Advanced GuideSAP Integration With Excel - Advanced Guide
SAP Integration With Excel - Advanced Guide
 
Copa realignment
Copa realignmentCopa realignment
Copa realignment
 
Fbl3 n account line item analysis
Fbl3 n account line item analysisFbl3 n account line item analysis
Fbl3 n account line item analysis
 
Sap pm-master-data
Sap pm-master-dataSap pm-master-data
Sap pm-master-data
 
10 consulting notes_forco-pa_analysts (1)
10 consulting notes_forco-pa_analysts (1)10 consulting notes_forco-pa_analysts (1)
10 consulting notes_forco-pa_analysts (1)
 
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
A guide to functional areas and cost of sales P&L reporting in the SAP® Gener...
 
PS ehp6 enhancements
PS ehp6 enhancementsPS ehp6 enhancements
PS ehp6 enhancements
 
Maintaining comment fields directly in planning layouts using the transaction...
Maintaining comment fields directly in planning layouts using the transaction...Maintaining comment fields directly in planning layouts using the transaction...
Maintaining comment fields directly in planning layouts using the transaction...
 
Sap abap training Overview
Sap abap training OverviewSap abap training Overview
Sap abap training Overview
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
How to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selectionHow to write a routine for 0 calday in infopackage selection
How to write a routine for 0 calday in infopackage selection
 
Srinivas_Ganta_IBM_INDIA1
Srinivas_Ganta_IBM_INDIA1Srinivas_Ganta_IBM_INDIA1
Srinivas_Ganta_IBM_INDIA1
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 

325546_adding fields in CJI3 & CJI5.pdf

  • 1. 325546 - CO line item reports: Creating a user-defined field Version 8 Type SAP Note Language English Master Language German Priority Recommendations / Additional Info Category Consulting Release Status Released for Customer Released On 16.08.2002 Component CO-OM-IS (Information System, iViews) Please find the original document at https://launchpad.support.sap.com/#/notes/325546 Symptom The CO line item reports already provide a large number of fields for displaying.Nevertheless, you may need additional, user-defined fields from time to time. With a customer exit you can add user-defined fields to the CO line item reports.The documentation is included in project "COOMEP01", which is accessible via Transaction SMOD. You can actually add fields to the actual costs line item reports (for example, KSB1, KOB1, CJI3), the planned costs line item reports (for example, KSBP, KOBP, CJI4) and the commitment line item reports (for example, KSB2, KOB2, CJI5). The budget line item reports that have been developed for Release 4.6 may also be extended (for example, KOB4). This note contains a more detailed explanation of the procedure as there are still questions concerning this problem. Other Terms RKAEP000, KAEP, SMOD, CMOD, customer enhancement, CI_RKPOS EXIT_SAPLKAEP-001, EXIT_SAPLKAEP_002, EXIT_SAPLKAEP_003, CJI3 Reason and Prerequisites Filling the field requires programming an ABAP exit.Thus, ABAP knowledge is needed. Moreover, you have to know of course where to find the data which is to be filled into the new field. You have to know how to use Transaction SMOD and CMOD, the documentation can be called up via the initial screen of CMOD by choosing "Utilities --> Apllication help". Solution First you have to decide, whether you want to extend an actual, plan or commitment line item report.Depending on the report, you have to use different exits: Actual EXIT_SAPLKAEP_001 Plan EXIT_SAPLKAEP_002 Commitment EXIT_SAPLKAEP_003 Budget EXIT_SAPLKAEP_004 The exits are also included in Transaction SMOD/CMOD. You have to execute the following steps that are explained in detail 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. 2016-12-31 Page 1/5 © 2016 SAP SE or an SAP affiliate company. All rights reserved
  • 2. c) View V_TKALV has to be maintained to tell the report what technical information on the new field is required. In the following we use the extension of the actual cost line item report by the "Cost Center Manager" field as an example.The cost center manager is contained in the master data table of the cost centers CSKS in the VERAK field. The first step is to extend the output structure of the line item report by the new field.These output structures include customer Include structures which are intended for the enhancement: Output structure Customer include structure Actual KAEP_COAC CI_RKPOS Plan KAEP_COPL CI_KAEP_COPL Commitment KAEP_CM CI_RKPOA Budget KAEP_BDG CI_KAEP_BDG Thus, to extend the actual line item report by the cost center manager, you extend structure CI_RKPOS.Add a new field ZZ_VERAK to this structure, as data element/component type enter VERAK (the same type that you find for the VERAK field in the CSKS). Save and activate the structure. In the next step you have to program the exit.Fist select the correct exit (for the extension of the actual line item report, this is EXIT_SAPLKAEP_001). The exit is called up for every read line item.Via the interface of the function module you recieve parameter I_REP_OBJ, which you can use to distinguish from which line item report the exit was called.The possible characteristic values can be found via the fixed values for domain KAEP_OBJ.You need this parameter because the same exit is called up for all actual (or plan or commitment) line item reports.This way you avoid possible extra work with extensions that are to be carried out for all line item reports. structure CS_RECORD which contains the complete line item that is read and processed by the database, including the new field.However, this is still blank when being accessed and has to be filled with ABAP. Please note that this exit is passed through once for every line item!A complex or a poorly programmed exit can considerably extend the runtime of the line item reports! In the example of the cost center manager, you should only fill the field if the cost center line item report is actually executed.In this case I_REP_OBJECT = "KS".The first line of the exit should contain Check i_rep_object = 'KS'. This ensures that it is not further processed with other line item reports and thus does not extend their runtime. Now the cost center manager has to be determined.Table CSKS has to be read for this. select single verak from csks into cs_record-zz_verak where kokrs = cs_record-kokrs and kostl = cs_record-kostl and datbi >= cs_record-budat and datab <= cs_record-budat. Finally you have to maintain view V_TKALV.Here you provide the required information to the line item report which ensure that the report always correctly displays the field. Call up Transaction SM34, enter "V_TKALV" and choose "Change". First of all you have to provide the field and its technical settings:To do this go to the "Field catalog information" and create a new entry. As field structure enter the corresponding output structure (see above, for 2016-12-31 Page 2/5 © 2016 SAP SE or an SAP affiliate company. All rights reserved
  • 3. the actual line item reports this would be KAEP_COAC), and as Field name enter the name of the new field.For the Field group select "K", this ensures that you will find the field with the user-defined fields in the display variant/layout maintenance.You can leave the other fields blank for the time being.The meaning of the fields in detail: - Key flag: This characterizes the field as key field in output. - "Tech. Field", "Col.pos.default" and "Edit mask" are not important for user-defined fields and should therefore be left blank. - Text field (only as of Release 4.5):If you not only extend the report by one field but by two fields - one with a technical code and a second with the corresponding text - it is recommended to enter the name of the text field in this field for the field with the technical code.With subtotalling via the key field, the system also fills and displays the text field in the totals rows. Secondly you have to provide the fields of the line item for the report that are required to fill the user-defined field in the exit.Select the newly created field in the "Field catalog information" and go to the "Selection dependencies". Here, add an entry for every field that you need to fill your new field. Always enter the name of your new field in the left column and to the right the field that you require to fill your field. You have to do this to tell the report which fields it must read in any case if the new field is to be displayed.In background processing the system only reads the fields from the database that are absolutely necessary.These are the fields of the display variant which is used for the output, plus the fields that are needed to fill the fields of the display variant. In the example, the fields KOKRS, KOSTL and BUDAT are needed to fill the field ZZ_VERAK.However, there is a selection dependency for the field OBJNR (you can display this by selecting the field KOSTL in the field catalog information and then display the selection dependencies).Thus, you have to add 3 entries for the selection dependencies: Field name Database field to be read ZZVERAK KOKRS ZZVERAK OBJNR ZZVERAK BUDAT The extension is completed! Should the system not yet display the new field in the output, this is either due to a special buffer mechanism of the field catalogs for the output (read Note 122975 for this) or due to the fact that the new field is not yet filled (read Notes 359691 and 327821 for this). Software Components Software Component Release SAP_APPL 40A - 40B SAP_APPL 45A - 45B SAP_APPL 46A - 46B SAP_APPL 46C - 46C SAP_APPL 470 - 470 2016-12-31 Page 3/5 © 2016 SAP SE or an SAP affiliate company. All rights reserved
  • 4. SAP_APPL 500 - 500 SAP_APPL 600 - 600 SAP_APPL 602 - 602 SAP_APPL 603 - 603 SAP_APPL 604 - 604 SAP_APPL 605 - 605 SAP_APPL 606 - 606 SAP_APPL 616 - 616 SAP_FIN 617 - 617 SAP_FIN 700 - 700 SAP_FIN 720 - 720 Other Components Component Description CO-OM-CCA-G Reporting, iViews CO-OM-OPA-G Reporting, iViews This document refers to SAP Note/KBA Title 896531 CO-EP reports: Customer-specific authorization checks 668514 FAQ 2: Line item reports 591963 Co EP-reports: Restriction on characteristic BELKZ 562169 CO line item reports: WBS elements not displayed completely 546414 CO-EP reports: Commitment at funds & functions' 359691 CO line item reports: Missing fields 331416 CO line item reports: EXIT_SAPLKAEP_009 327821 CO line item reports: fields are not filled 2016-12-31 Page 4/5 © 2016 SAP SE or an SAP affiliate company. All rights reserved
  • 5. 324628 CO-EP reports: Too much data/dump during call using BBS 122975 Resetting buffering of ALV field catalog This document is referenced by SAP Note/KBA Title 562169 CO line item reports: WBS elements not displayed completely 324628 CO-EP reports: Too much data/dump during call using BBS 359691 CO line item reports: Missing fields 896531 CO-EP reports: Customer-specific authorization checks 668514 FAQ 2: Line item reports 546414 CO-EP reports: Commitment at funds & functions' 591963 Co EP-reports: Restriction on characteristic BELKZ 331416 CO line item reports: EXIT_SAPLKAEP_009 327821 CO line item reports: fields are not filled 122975 Resetting buffering of ALV field catalog | | | | Terms of use Copyright Trademark Legal Disclosure Privacy 2016-12-31 Page 5/5 © 2016 SAP SE or an SAP affiliate company. All rights reserved