cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: BADI : /RPM/PLMPS_CUS_FIELD

karthik_snair
Participant
0 Kudos

Hi Team,

My Requirement is to pass some fields from PS to PPM. And for that i am using the CUST_MAP_PS2RPM_DATA of the above BADI.

Now the issue is that i want to debug this BADI.

How can i debug this because both are different SAP systems.

For that i want to know when the BADI should trigger.  As per my understanding this BADI should trigger when changing/creating a project in the PS system.

Please suggest.

Thanks,

Karthik.S

Accepted Solutions (0)

Answers (1)

Answers (1)

judith_gabriel
Contributor
0 Kudos

Dear Karthik,

in ERP-system you can set a breakpoint at FM: CJDW_CALL_BADI where a RFC-call to the PPM-

system is started at:


* Next check if the RFC DFM_INBOUND_SYNCH_FRAMEWORK exists on the retrieved destination
   IF ls_inm_settings_val-rpm_rfc_dest NE 'NONE'.
     CALL FUNCTION 'FUNCTION_EXISTS'
       DESTINATION ls_inm_settings_val-rpm_rfc_dest
       EXPORTING
         funcname              = 'DFM_INBOUND_SYNCH_FRAMEWORK'
       EXCEPTIONS
         system_failure        = 1  MESSAGE lv_error
         communication_failure = 2
         OTHERS                = 3.
   ELSEIF ls_inm_settings_val-rpm_rfc_dest EQ 'NONE'.

In ERP-System you have to use BAdI BADI_CPPM_RPM_PS_SYNC_PROJ, BADI_CPPM_RPM_PS_SYNC_WBS or BADI_CPPM_RPM_PS_SYNC_NET_ACT to transfer datas between PS-project and item. The BAdI /RPM/PLMPS_CUS_FIELD in PPM-system can only be used to override the default mapping or data movement between the PLM PS structures and xRPM item structures during a project upload.

best regards,
Judith