Enhancing FICA Open Items and Cleared Items.doc

13
Enhancing FICA Open Items and Cleared Items Applies to: SAP BW 3.5 and Above Summary This document provides the step by step procedure on how to enhance FICA Open items (0FC_OP_01) and Cleared Items (0FC_CI_01) datasources. As we have already implemented this Scenario, I want to share my experience which will be helpful to others. Author: Raghavendra Karthik Kunchapudi Company: Satyam Computers Services Limited Created on: 02 June 2008 Author Bio Raghavendra Karthik Kunchapudi is a SAP BW Consultant at Satyam Computers Services Limited, Bangalore, India. SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 1

Transcript of Enhancing FICA Open Items and Cleared Items.doc

Page 1: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Applies to: SAP BW 3.5 and Above

Summary This document provides the step by step procedure on how to enhance FICA Open items (0FC_OP_01) and Cleared Items (0FC_CI_01) datasources. As we have already implemented this Scenario, I want to share my experience which will be helpful to others.

Author: Raghavendra Karthik Kunchapudi

Company: Satyam Computers Services Limited

Created on: 02 June 2008

Author Bio Raghavendra Karthik Kunchapudi is a SAP BW Consultant at Satyam Computers Services Limited, Bangalore, India.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 1

Page 2: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Table of Contents Process Overview...............................................................................................................................................3

Settings to be Done in SBIW: .........................................................................................................................3 Data Sources: .................................................................................................................................................3 Populating Fields with Data: ...........................................................................................................................3

Demonstration with Screenshots:.......................................................................................................................4 For Open Items ...............................................................................................................................................4 Appending Structure to Datasource:...............................................................................................................6 Defining Open/Cleared Items in SBIW:...........................................................................................................7 Scheduling a Job in FPBW: ..........................................................................................................................10

Cleared Items ...................................................................................................................................................12 Related Content................................................................................................................................................12 Disclaimer and Liability Notice..........................................................................................................................13

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 2

Page 3: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Process Overview Base table for extracting open items and cleared items is DFKKOP. There were two standard tables DFKKOPBW (Extraction of Open Items) and DFKKCIBW (Extraction of Cleared Items) derived from DFKKOP which handle open items and cleared items separately.

Datasource for Open items is build on the table DFKKOPBW and Cleared Items is built on DFKKCIBW.

So before enhancing the datasources we should enhance their respective tables from the base table DFKKOP.SAP have provided Includes to add the enhanced fields to the tables.

Includes: CI_FKKOPBW in table DFKKOPBW for Open Items.

CI_FKKCIBW in table DFKKCIBW for Cleared Items.

Enhance the respective tables with the fields required from DFKKOP in the specified includes then save and activate your structures.

Settings to be Done in SBIW:

1.After adding these fields in the Includes then goto Transaction SBIW then goto settings for application specific data sources (PI) then navigate to Contract accounts Recievable and click on the IMG activity for defining fields for extraction items.

2. There you define the fields which you have included in the tables for Open items and cleared items (DFKKOPBW and DFKKCIBW). For the detail procedure refer the discussion along with the screen shots in below sections.

3. After adding the fields for Open Items or Cleared Items and saving the changes now add the fields in their respective datasources and save them.

Data Sources:

The business content datasources to be used is 0FC_OP_01 for Open items and 0FC_CI_01 for Cleared Items. Delta update is not available for this datasources. Delta occurs as a result of repeated mass activity ‘runs’ in OLTP. Ex: For loading

Monthly/weekly data, we can select ‘key date’ as the last day of last month (or) the last day of the last week.

Append new structures to the datasources with the fields which you have added in the respective tables for Open items and cleared items. Save and activate your structures and save your datasources.

Note: Here you can enhance these tables (DFKKOPBW & DFKKCIBW) only with the fields present in base table DFKKOP.

Populating Fields with Data:

By doing a mass activity 'run' using transaction code FPBW for Open items and FPCIBW for Cleared items.

After completion of scheduled job the open items information is transferred from table DFKKOP into table

DFKKOPBW, and cleared items information is transferred from table DFKKOP into table

DFKKCIBW. In the run, we specify the key date (which is most important because open items posted up to

This date are extracted into the respective tables), a Date ID and an Identification. Date ID and Identification

are key fields in the table DFKKOPBW as well as DFKKCIBW. Data from different ‘runs’ can be distinguished by these 2 fields.

A combination of Date ID + Identification, once used for one ‘run’ cannot be used for another mass activity run.

After this run check in extractor checker (TCODE- RSA3) weather your newly added fields to the datasources are populated with data.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 3

Page 4: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Demonstration with Screenshots:

For Open Items

Step 1: Enhancing the tables (DFKKOPBW & DFKKCIBW) with the fields from Base table (DFKKOP)

1. Goto SE11 and navigate to table DFKKOPBW

2. Enter into the Include CI_FKKOPBW by double clicking on it.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 4

Page 5: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

3. Add the fields you want in the include which are in DFKKOP.

4. Save and activate the structure.

Note: Make sure that you maintain the units if you have added any currency field to the structure.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 5

Page 6: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Appending Structure to Datasource:

1. Goto transaction RSA6 and drilldown to your datasource.

2. Click on Append structure and define a new structure with the fields you want from the table DFKKOPBW.

3. Maintain currency/units if you have included any currency fields.

4. Save and activate your structure.

5. Maintain your datasource and save it.

Now appending the structure to the table and datasource is done. We need to do the mapping for populating data into the table. For this mapping follow the below procedure.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 6

Page 7: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Defining Open/Cleared Items in SBIW:

1. Goto Transaction SBIW

2. Navigate to Settings for Application Specific Datasources (PI) then goto Contract account receivable and click on IMG for defining fields for Extraction items.

3. It will prompt for the Extraction type. There in the Input help you find two options. Select ‘OP’ as we are enhancing open items now.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 7

Page 8: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

4. Now you will enter the screen “Define fields for extraction. There click on new entries.

5. Now you will enter the screen “New Entries: Details of added Entries”

6. Now enter the fields one by one.

a. Enter the field Name same as the name you added in the Include of DFKKOP.

b. Enter source table as DFKKOP.

c. Source field same as the field in DFKKOP.

d. Evaluation type as “Original Value”.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 8

Page 9: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

After that save your data.

7. Repeat the above step for all the fields you have added in the table DFKKOPBW and save the data.

8. Exit from the screen.

After adding all the fields your screen looks like this.

Now Field mapping is done.

Now we have to schedule a run to push data from DFKKOP to DFKKOPBW in transaction FPBW.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 9

Page 10: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Scheduling a Job in FPBW:

1. Enter into Transaction FPBW.

2. Give the Date ID, Identification Key Date and selections if necessary for Business Partner, Company code and Business Area and save the run.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 10

Page 11: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

3. Then click on Schedule program run and schedule the job as immediately.

4. Once the job is completed you can see the data in extractor checker (RSA3) for the datasource.

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 11

Page 12: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

Cleared Items Same procedure can be followed to enhance the cleared items. But instead of ‘OP’ you should use ‘CI’ while defining the fields in SBIW.

Related Content http://help.sap.com/saphelp_nw70/helpdata/en/9d/75267c1e697244962288ea276aeb47/frameset.htm

http://help.sap.com/saphelp_nw70/helpdata/en/c7/1f2056c59bc645a62bd8c1d4829aa8/frameset.htm

https://www.sdn.sap.com/irj/sdn/thread?threadID=170505

https://www.sdn.sap.com/irj/sdn/thread?threadID=119948

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 12

Page 13: Enhancing FICA Open Items and Cleared Items.doc

Enhancing FICA Open Items and Cleared Items

SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2008 SAP AG 13

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.