Skip to end of metadata
Go to start of metadata

When allocating specific resources to a task in Project Management (through a role), the task appears in the work list in CATS. When registering time on a task, the registration will be stored in CATSDB table and the DPR_CONF_LI and DPR_CONF_DET tables.

Running the program DPR_CATS_CPR_TRANSF will transfer the hours from table DPR_CONF_LI to the DPR_TASK table as confirmed hours.


Transaction/ProgramTables
CAT2Datas are stored in: CATSDB + DPR_CONF_LI + DPR_CONF_DET
Report DPR_CATS_CPR_TRANSFtransfer hours to DPR_TASK


Tables which can be checked:

→ Table CATSDB: (Reference Document No = BELNR)

   → Table DPR_CONF_LI: (DPR_CONF_LI-CPR_CABA_BELNR = CATSDB-BELNR), DPR_CONF_LI-OBJ_GUID = DPR_TASK-GUID) 

   → Table DPR_CONF_DET

         → Table DPR_TASK


Detail Data Transfer

  • DPR_API_CATS_GET_DETAILS
    RFC-function module for getting detail data for a cProjects task


  • DPR_API_CATS_UPDATE_DETAILS
    Receives detail data in cProjects system
    Create entry in DB table DPR_CONF_DET or update it

  • DPR_CATS_CPR_TRANSF
    Processes the content of tables DPR_CONF_LI and DPR_CONF_DET.
    Processes entries from DB table DPR_CONF_LI first and entries from DB table DPR_CONF_DET after that.


When are the datas be stored in table DPR_CONF_LI?

Set a breakpoint in FM CATS_FILL_INTERFACE_CPR at 'ALE_TSCPRCONNE_TRANSFER_CPR' in CATS-system.
(BAPI_TSCPRCONNE_DETAIL_CPR)



Which datas will be transferred from table DPR_CONF_LI and DPR_CONF_DET to DPR_TASK?

Start report DPR_CATS_CPR_TRANSF.

Selection of confirmation datas:

*   select confirmations

    SELECT * FROM dpr_conf_li INTO TABLE it_conf
             WHERE project_guid IN lr_pro_guid_block
             AND   transf_flg IN lr_transf.

...

*   select detail confirmations

    SELECT * FROM dpr_conf_det
             INTO TABLE it_conf_detail
             WHERE project_guid IN lr_pro_guid_block
             AND transf_flg IN lr_transf.

...


Loading task

 IF NOT it_task_guid[] IS INITIAL.

*       load tasks
        cl_dpr_appl_object_manager=>mv_no_side_entry = abap_true. " note_1829989
        CALL METHOD lr_object_manager→load_tasks         

 ...

*     read attributes
      PERFORM read_attributes USING                              



Tips

Troubleshooting and Debugging Guide: Debugging Tips - CATS Integration 


 


Back

  • No labels