Professional Documents
Culture Documents
Adding Fields To CJI3 Report PDF
Adding Fields To CJI3 Report PDF
Applies to:
SAP ABAP developers with basic knowledge of Customer Exits and Basic ABAP syntaxes. For more
information, visit the ABAP homepage.
Summary:
In this article, we will learn how to enhance the standard report CJI3. We will add two fields in CJI3 as an
example.
Aim : To add Vendor No and Vendor Name in report CJI3.
In CJI3 report Vendor name will come for only invoices, when offsetting account type(GKONT) is K, but for
GRN documents system will not show the vendor no, so to get this we need to add two fields Vendor
No(LIFNR) and Name(NAME1) in CJI3 report where report should give Vendor details for GRN documents
also.
Author: Faheem Ur Rahman
Company: Sterling & Wilson Ltd
Created on: 10 November 2010
Author Bio
Faheem Ur Rahman, working as Asst.Manager SAP, leading the technical team in Sterling & Wilson Ltd,
Mumbai.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 1
Error! No text of specified style in document.
Table of Content
Enhancement Process will include the following steps: ..................................................................................... 3
Step 1:……… ...................................................................................................................................................... 3
Step 2:…… ......................................................................................................................................................... 4
Step 3:……. ........................................................................................................................................................ 7
Related Content ................................................................................................................................................ 10
Disclaimer and Liability Notice .......................................................................................................................... 11
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 2
Error! No text of specified style in document.
Step 1:
Go to CMOD and Create a Project.
Click on Components
Double click on include “CI_RKPOS”. Add the required fields, i.e., LIFNR & NAME1 as shown
below:
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 3
Error! No text of specified style in document.
Step 2:
Now we need to add the above fields in the field catalog of CJI3.
For that we need to maintain View V_TKALV. Goto SM34, enter V_TKALV and Press Maintain button
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 4
Error! No text of specified style in document.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 5
Error! No text of specified style in document.
Then select these entries and click on “Selection dependencies” as shown below :
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 6
Error! No text of specified style in document.
Step 3:
Add required code in “EXIT_SAPLKAEP_001”.
*&---------------------------------------------------------------------*
*& Include ZXKAEPU01
*&---------------------------------------------------------------------*
IF I_REP_OBJECT = 'PD'.
CS_RECORD-ZZLIFNR = CS_RECORD-GKONT.
CS_RECORD-ZZNAME1 = CS_RECORD-GKONT_KTXT.
IF SY-SUBRC = 0.
ENDIF.
ENDIF.
ENDIF.
I_REP_OBJECT specifies which report you are using, so as to avoid unnecessary selection we need to keep
the required value only. For CJI3 report the value for I_REP_OBJECT is „PD‟.
And activate the enhancement as shown below.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 7
Error! No text of specified style in document.
Execute. Now goto change catalog you will find the added columns as shown below.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 8
Error! No text of specified style in document.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 9
Error! No text of specified style in document.
Related Content
For more information, visit the ABAP homepage.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 10
Error! No text of specified style in document.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 11