By this step, the program creates separate sets for materials and plants of each cost center, based on the list of materials or plants found in KSB1 report for the period.
Tasks to be completed when documenting an SAP Transaction, Report or Message code.1. Title of the page = SAP Transaction code, SAP Report or SAP Message2. Add the following Labels, respectively :
3. On the left section, describe the steps. On the right section, insert respective print screens and additional guidelines, if needed (e.g. Main selections of the transaction...) |
Use transaction code: ZCO_COPA_D43
|

This program is used to create/generate the COPA assessment cycle to allocate the amounts to value field D43.
In order to fulfil this requirement, the program has been classified into 3 parts like below:
Tracing Factor Table Update
Basic Set Generation
D43 Cycle Creation

First Step - Tracing Factor Table Update
By this step, all the relevant data for creating the cycle with receiving tracing factors would be fetched from KSB1 report and stored in the table: ZCO_COPA_D43_TAB.
Selection Parameters:
At selection parameters, either company code or cost center field are mandatory. If the c.code is selected, the program will pick automatically all CC XX843* from the selected company |

Output results:
When Test mode is selected: Results can be seen like below, but would not update the table
When Test mode is not selected
The results update into the table



Second Step - Basic Set Generation
By this step, the program creates separate sets for materials and plants of each cost center, based on the list of materials or plants found in KSB1 report for the period.
Selection Parameters:
Select “Basic Set Generation” radio button
Controlling area: defaults with CHEF
Company code: Can give individual company code or multiple company codes or range
Cost Center: Can give individual cost center or multiple cost centers or range
Test Mode check box: By selecting Test mode, can see the results in the output but do not update the SETs (display using GS03)

Output results:
When Test mode is selected: Results can be seen like below, but would not update the SETs
Observed the message as Value can be added in set, as it is test run only.
|
When Test mode is not selected
Observed the message as Value successfully added in set, as it is real run only. These SETs can be checked in GS03:
|


Third Step - D43 Cycle Creation
By this step, it creates allocation cycles. One cycle for each company code and based on the number sender cost centers in the company code, those many segments would be created.
Table: ZCO_COPA_D43_TAB and SETs created are the source for cycle creation.
This can be run in two ways, one by creating a Batch Input session and another by call transaction method.
Selection Parameters:
D43 Cycle generation: select this radio button
Company code: If not entered, the program checks the company codes from table ZCO_COPA_D43_TAB. It would be better to run this step, each company code wise.
Posting period: This is by default would be period M
Assessment CElem: The same assessment cost element will be passed into cycle segments. It is better to run all the company codes which use the same assessment CE.
Cost Center: If not given, then system checks the company codes, if not given company codes, system will fetch all the company codes and cost centers from the table: ZCO_COPA_D43_TAB
Cost Element: Whatever the CE range given here would be passed in cycle-segment sender CEs.
OPTON1: Batch Input details (Generate Session): By this system creates a Batch input session, which has to be executed by transaction SM35. System creates session name as ZD43DDMMYYYY. This DD and MM would be the 1st day of period M.
OPTION2: Batch Input details (Call transaction): By this system directly calls the transaction code and creates the cycles. In case of any errors, the program creates an error session with the name mentioned here.

7. OPTION1
![]()
8. OPTION2
![]()
Output results with Generate session method (OPTION1 in the step above):
Can see all the proposed details like below and the program creates a session also.
Once executed the session, then Assessment cycles are seen like below:




