cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: PPM to PS Integration , Fields passing from PPM to PS as # instead of Values

karthik_snair
Participant
0 Kudos

HI Team,

In one of my Scenario of PPM to PS Integration, Data is passing from PPM to PS,  But while passing/saving the data from PPM to PS (Table PROJ in PS System), Some fields are getting as Blank insteadf of Values irrespective if whether values are there or not in the PPM fields.

What will be the reasons?

And how can i see where the data from PPM to PS is flowing, I mean through debugging where can i see the data flow from PPM to PS ?

Please sugest your ideas on this

Thanks,

Karthik.S

Accepted Solutions (0)

Answers (2)

Answers (2)

francesco_pezzoli
Active Participant
0 Kudos

Hello Karthik,

I assume that you are referring to integration of Project Management (PPM-PRO) with PS via accounting integration.

Debugging the integration is not too easy (as it involves an RFC call from the PPM system to the ERP system) but it can be done.

This is where the relevant RFC call from PPM to the ERP system is carried out:

CL_DPR_FIN_GECCO_IAOM_SERVICES

METHOD          / REPLICATE2

    CALL FUNCTION sc_iaom_account_manager

      DESTINATION ir_repository->mv_rfc_destination

      EXPORTING

        i_account_request     = ls_account_request

      IMPORTING

        e_results_of_request  = lt_results_of_request

      EXCEPTIONS

        communication_failure = 1  MESSAGE lv_message_text

        system_failure        = 2  MESSAGE lv_message_text

        OTHERS                = 3.


Within the ERP system, you can place a breakpoint as follows (ensuring to place a breakpoint for the user with which the RFC call is carried out, per your settings in SM59 in the PPM system):

CL_IAOM_PROJECT_ELEMENT

METHOD          / MANAGE_PROJECT_ELEMENT

  CALL FUNCTION 'GCC_PS_PROJECT_MANAGER'

    EXPORTING

      I_PROJECT_PROFILE                    = PROJECT_PROFILE

      I_CONTROLLING_SZENARIO               = CONTROLLING_SZENARIO

      I_PROJECT_MASTER_DATA                = PROJECT_MASTER_DATA

      I_AUTOMATIC_PROJECT_MODEL            = AUTOMATIC_PROJECT_MODEL

      I_WBS_ELEMENT              = ld_old_account_assignment-WBS_ELEMENT

      I_WBS_ELEMENT_EXT_TOP_LVL_OBJ = TOP_account_assignment-WBS_ELEMENT

     I_WBS_ELEMENT_EXT_HIGH_LVL_OBJ = HLO_account_assignment-WBS_ELEMENT

      I_BUS_SCENARIO_ID           = <lf_bus_scen>->BUSINESS_SCENARIO_ID

      I_ATTRIBUTES_OF_EXT_OBJ     = external_object->attributes

      I_BUS_SCENARIO              = <lf_bus_scen>

      I_WBS_DETAIL                = ls_wbs_detail1                  "t30

      I_PROJECT_ELEMENT_REF       = me                         "H1432404

....


Best regards
Francesco

karthik_snair
Participant
0 Kudos

Thanks Francsco,

I tried keeping the break point but the break points are not hiting.

And i have one more doubt.

This ## is coming only in some text fields and not on all fields, and we have 48 custom fields which needs to flow from PPM to PS.

Is there any limitation in the length of the fields ?? where er can increase the field length which needs to me transfered?

Thanks,

Karthik.S

karthik_snair
Participant
0 Kudos

Not Blank, its filled with ######### instead of values