Showing posts with label Enhancement. Show all posts
Showing posts with label Enhancement. Show all posts

Wednesday, April 23, 2014

How to Add Customized Filed (KOB1) Actual Cost Line Items SAP Notes 325546



This guide or how to is following SAP Note 325546.



Assumption: 

1. Enhancement on existing SMOD - COOMEP0
2. Using CI_RKPOS
3. Add ZZAUGBL (Clearing Document) customized field.

Steps:

1. Add the customized field in the CI_RKPOS structure.
2. Data Element should follow AUGBL field from BSEG.



3. Enhance the user exit EXIT_SAPLKAEP_001 (ZXKAEPU01)
4. Add line of code to read the data from table to be populated in customized field

IF i_rep_object 'OR'.
  
SELECT SINGLE  augdt augbl FROM bseg
    
INTO (cs_record-zzaugdt,cs_record-zzaugbl)
    
WHERE bukrs cs_record-bukrs
          
AND belnr cs_record-refbn
          
AND gjahr  cs_record-gjahr.
*        buzei =

  
SELECT SINGLE xblnr FROM bkpf INTO cs_record-zzxblnr
      
WHERE bukrs cs_record-bukrs AND belnr cs_record-refbn
      
AND gjahr cs_record-gjahr.
ENDIF.

5. Open SM34 to edit the view table V_TKALV.

6. Choose "Field Catalog Information"  and in change mode, add New Entries. For this customized field refer below figure.

Field Structure : KAEP_COAC
Field Name: ZZAUGBL
Field Group: 'K' - for customized field



7. Run back the program the customized should appear in the layout selection.



Thursday, December 13, 2012

Enhancemen Point How To


Enhancement Point How To:

1. Go to SE38 , Select Enhancement point (Shift+F4) and select 'Show Implicit Enhancement'



2. On the code select any area that contain double quote symbol  """"""""" , and right click choose 'Enhancement' -- Create.


3. Choose type of Enhancement either 'Declaration' or 'Code'. Normally choose Code.


4. Insert the Enhancement Implementation Name and Short Text .



5. Save and Assign the implementation to the right package and transport number. Done!

Tips:

To find created Enhancement used SE84 Object Navigator tcode.