Skip to Content
Author's profile photo Former Member

Delta for 0UC_ACCNTBP_ATTR_2 Datasource / FQEVENTS

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’/wp-content/uploads/2015/09/1_797279.jpg

Copy Function Module ‘FKK_SAMPLE_1030’ to‘ZFKK_SAMPLE_1030’

/wp-content/uploads/2015/09/2_797280.jpg

  Collect in a Transport

/wp-content/uploads/2015/09/3_797281.jpg

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

/wp-content/uploads/2015/09/4_797285.jpg

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 sysubrc,
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

/wp-content/uploads/2015/09/5_797286.jpg

  Click on ‘New Entries’

/wp-content/uploads/2015/09/6_797287.jpg

  • Select Application Area as ‘Utility Company’
  • Event ‘1030’
  • Standard Module ‘FKK_SAMPLE_1030’

/wp-content/uploads/2015/09/7_797291.jpg

Save and Collect in Transport Request

/wp-content/uploads/2015/09/8_797292.jpg

Entry in the table TFKFBS

/wp-content/uploads/2015/09/9_797294.jpg

  Go to Tcode FQEVENTS

/wp-content/uploads/2015/09/10_797295.jpg

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

/wp-content/uploads/2015/09/11_797296.jpg

Select ‘NEW Entries’ button

/wp-content/uploads/2015/09/12_797300.jpg

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

/wp-content/uploads/2015/09/13_797301.jpg

/wp-content/uploads/2015/09/14_797302.jpg

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

Go to CAA2

/wp-content/uploads/2015/09/15_797303.jpg

Modify the record entry and save the record

/wp-content/uploads/2015/09/17_797305.jpg

Go to RSA7 Delta Queue

/wp-content/uploads/2015/09/18_797306.jpg

Record updated in delta queue

/wp-content/uploads/2015/09/19_797307.jpg

Login to BW System and trigger Infopackage

Trigger the infopackage for 0UC_ACCNTBP_ATTR_2

/wp-content/uploads/2015/09/20_797308.jpg

/wp-content/uploads/2015/09/21_797309.jpg

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.