on 06-11-2015 2:37 PM
Hi All,
I have an integration to HR to create BPs automatically. The integration works fine, but it overwrites the Location of the BP to be blank everytime it runs.
So if I set a location on an existing BP in my PPM system and run the integration the location is blank afterwards.
Any ideas on what to do? I suspect maybe some settings in T77S0?
Br,
Morten
Hello Morten,
The logic which takes care of updating the location in the PPM system is processed in implementation RPM_BUPA_ATTRIBUTES of BAdI HRALE00INB_DATA_READ. This is triggered when processing the inbound Idocs from PFAL transaction (it is not processed when using transaction HRALXSYNC to update existing BPs).
I suggest that you place a breakpoint in this aforementioned BAdI implementation and check which values are being passed to form fill_bupa_location. This may provide an insight as to why these values are being initialized. Depending on wether you do or do not want the location data from the HR system to update values in the PPM system, you can then proceed accordingly.
Checking the following may also help:
- check the IMG documentation for the following customizing activity and ensure that it has been maintained correctly:
SPRO
> SAP Portfolio and Project Management
> Portfolio Management
> Base System Interfaces
> SAP Human Capital Management Integration
> Data Distribution From SAP HCM to SAP Portfolio and Project Management
> Map Personnel Areas to Locations
- ensure the required BAdIs are all activated (see IMG documentation "SAP Portfolio and Project Management System Customizing for SAP HCM > Configure SAP HCM Integration")
- ensure that your distribution model matches the instructions provided in IMG documentation "SAP HCM System ALE Setup > Maintain Distribution Model".
Best regards
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Morten,
If you want to maintain the location data directly in the PPM system, and you could confirm that the issue is caused by the fact that wrong/initial location data is being passed in the IDOC from the HR system, then I do not see why commenting out these lines should not work.
I do not however have an example for testing this, so I would recommend that you test both the initial BP creation and successive runs of the integration, to ensure that this does not have any unforeseen consequences.
Best regards
Francesco
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.