2010 Jun 10 11:30 AM
Hi All,
Currently I trying to created BAdI for HR-BP integration.
To do that, I should switch on HRALX-HRAC in transaction OO_CENTRAL_PERSON.
But even I set 'X' switch HRALX-HRAC. Address (especially EMAIL address which is infotype 0105 subtype 0005) is not updated , so I decide implement HRSYNC_P enhancement.
After many many test, I realize Email address has prerequisite, which is 'COUNTRY' field. (in transaction BP, COUNTRY is mandatory field.
And otherwise, I have no idea about why EV_CONTAINER-BP_ADDR_FAX-FAX field is filled after input HR email address (infotype 0105 subtype 0005). I think it should be 'BP_ADDR_SMTP' instead of FAX. (I doubt standard error).
Whatever, I decide using DO_POST_PROCESS method in implemented HRSYNC_P class. and I found BAPI_BUPA_ADDRESS_ADD bapi and tested in report program. That would be perfectly works in report program (not in BAdI implementation). so I copy and paste these code to BAdI implementation.
But it never create Business partner's address even after BAPI_TRANSACTION_COMMIT. and no error message in RETURN table.
Currently I digging with valid class but hard to find. and my eyes start blind....
How can I do that? should I arise Message to SAP ?
Do you guys have any ideas?
Best regards,
Yeum
Hi All,
Currently I trying to created BAdI for HR-BP integration.
To do that, I should switch on HRALX-HRAC in transaction OO_CENTRAL_PERSON.
But even I set 'X' switch HRALX-HRAC. Address (especially EMAIL address which is infotype 0105 subtype 0005) is not updated , so I decide implement HRSYNC_P enhancement.
After many many test, I realize Email address has prerequisite, which is 'COUNTRY' field. (in transaction BP, COUNTRY is mandatory field.
And otherwise, I have no idea about why EV_CONTAINER-BP_ADDR_FAX-FAX field is filled after input HR email address (infotype 0105 subtype 0005). I think it should be 'BP_ADDR_SMTP' instead of FAX. (I doubt standard error).
Whatever, I decide using DO_POST_PROCESS method in implemented HRSYNC_P class. and I found BAPI_BUPA_ADDRESS_ADD bapi and tested in report program. That would be perfectly works in report program (not in BAdI implementation). so I copy and paste these code to BAdI implementation.
But it never create Business partner's address even after BAPI_TRANSACTION_COMMIT. and no error message in RETURN table.
Currently I digging with valid class but hard to find. and my eyes start blind....
How can I do that? should I arise Message to SAP ?
Do you guys have any ideas?
Best regards,
Yeum
2010 Jun 17 11:41 AM
Hi All,
I have found root cause. Which is in SAP HR Module, Infotype 0105 - subtype 0010 has to be transfered to SMTP strucutre by default in source code.
Thanks for your attention,
Yeum
2010 Jun 17 11:42 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |