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 Message

2. Add the following Labels, respectively

    • SAP Transaction => "sap_transaction", Transaction code "xxxx"

    • SAP Report => "sap_report"

    • SAP Message => "sap_msg"

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


: Initial Screen











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:

  1. Tracing Factor Table Update

  2. Basic Set Generation

  3. 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:

  1. Select “Tracing Factor Table Update” radio button
  2. Controlling area: defaults with CHEF
  3. Company code: Can give individual company code or multiple company codes or range
  4. Cost Center: Can give individual cost center or multiple cost centers or range
  5. Test Mode check box: By selecting Test mode, can see the results in the output but do not update the table: ZCO_COPA_D43_TAB



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:

  1. Select “Basic Set Generation” radio button

  2. Controlling area: defaults with CHEF

  3. Company code: Can give individual company code or multiple company codes or range

  4. Cost Center: Can give individual cost center or multiple cost centers or range

  5. 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:

  1. D43 Cycle generation: select this radio button

  2. 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.

  3. Posting period: This is by default would be period M

  4. 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.

  5. 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

  6. Cost Element: Whatever the CE range given here would be passed in cycle-segment sender CEs. 

  7. 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.

8. 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.



8.