Financial Management Blogs by Members
Dive into a treasure trove of SAP financial management wisdom shared by a vibrant community of bloggers. Submit a blog post of your own to share knowledge.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
2,004


The event concept enables the integration of industry-specific and customer-specific processes and data inthe existing system architecture of Contract Accounts Receivable and Payable for a new implementation and in production operation.

To enable the Contract Account delta (0UC_ACCNTBP_ATTR_2). FQEVENTS is a transaction for FICA related solutions andwhich enables easy and quick navigation to customization points within the solution.

Prerequisites

The function module Update Delta Queue for IS-U Contract Account ( FKKVKP) (ISU_EVENT_1030) must be assigned to event1030 in the FQEVENTS transaction.

Steps to assign the module to Event 1030 / To enable the Contract Account Delta

Login to ISU Source System

Go to SE37 and copy Function Module ‘FKK_SAMPLE_1030’

Copy Function Module ‘FKK_SAMPLE_1030’ to‘ZFKK_SAMPLE_1030’



  Collect in a Transport



  Change the FM ‘‘ZFKK_SAMPLE_1030’ and add the below code for 0UC_ACCNTBP_ATTR_2



FUNCTION ZFKK_SAMPLE_1030.
*"--------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(I_FKKVK_OLD) TYPE  FKKVK OPTIONAL
*"     REFERENCE(I_FKKVK_NEW) TYPE  FKKVK OPTIONAL
*"     REFERENCE(I_FKKVKP_OLD) TYPE  FKKVKP OPTIONAL
*"     REFERENCE(I_FKKVKP_NEW) TYPE  FKKVKP OPTIONAL
*"     REFERENCE(I_FKKVK_CORR_OLD) TYPE  FKKVK_CORR OPTIONAL
*"     REFERENCE(I_FKKVK_CORR_NEW) TYPE  FKKVK_CORR OPTIONAL
*"     REFERENCE(I_FKKTAXEX_OLD) TYPE  DFKKTAXEX OPTIONAL
*"     REFERENCE(I_FKKTAXEX_NEW) TYPE  DFKKTAXEX OPTIONAL
*"     REFERENCE(I_FKKVKP_CHGDISC_OLD) TYPE  FKKVKP_CHGDISC OPTIONAL
*"     REFERENCE(I_FKKVKP_CHGDISC_NEW) TYPE  FKKVKP_CHGDISC OPTIONAL
*"--------------------------------------------------------------------
*{   INSERT         RD2K913779                                        1
DATA:   datasource1       TYPE rsaot_oltpsource VALUE '0UC_ACCNTBP_ATTR_2',
fkkvkp_bw_old    
TYPE biw_isu_accntbp_mkt_2,
fkkvkp_bw_new    
TYPE biw_isu_accntbp_mkt_2,
t_fkkvkp_bw      
TYPE STANDARD TABLE OF biw_isu_accntbp_mkt_2,
lv_subrc         
TYPE sy-subrc,
l_t_roosprmsf    
TYPE rsaot_t_roosprmsf.
*** data source 0UC_ACCNTBP_ATTR_2
MOVE-CORRESPONDING i_fkkvkp_new TO fkkvkp_bw_new.
MOVE-CORRESPONDING i_fkkvkp_old TO fkkvkp_bw_old.
CLEAR l_t_roosprmsf.
IF fkkvkp_bw_new <> fkkvkp_bw_old.
*   is data source initialized?
CALL FUNCTION 'RSA1_SINGLE_OLTPSOURCE_GET'
EXPORTING
i_oltpsource 
= datasource1
IMPORTING
e_t_roosprmsf
= l_t_roosprmsf
EXCEPTIONS
OTHERS        = 4.
IF NOT l_t_roosprmsf IS INITIAL.
APPEND fkkvkp_bw_new TO t_fkkvkp_bw.
*     write data in delta-queue
CALL FUNCTION 'RSC1_TRFC_QUEUE_WRITE'
EXPORTING
i_isource
= datasource1
TABLES
i_t_data 
= t_fkkvkp_bw.
ENDIF.
ENDIF.
*}   INSERT


ENDFUNCTION.

Login to Configuration Client for configuration changes.

Maintain the table entries in table TFKFBS, Go to Tcode SM30



  Click on ‘New Entries’



  • Select Application Area as ‘Utility Company’

  • Event ‘1030’

  • Standard Module ‘FKK_SAMPLE_1030’




Save and Collect in Transport Request



Entry in the table TFKFBS



  Go to Tcode FQEVENTS



Select Change button under ‘Installation specific Function Module’ as shown below



Select ‘NEW Entries’ button



Enter the ZFKK_SAMPLE_1030 function module created with sequence number and Save.





To test the delta record in queue in RSA7, modify the existing record.

Go to CAA2



Modify the record entry and save the record



Go to RSA7 Delta Queue



Record updated in delta queue



Login to BW System and trigger Infopackage

Trigger the infopackage for 0UC_ACCNTBP_ATTR_2





Labels in this area