How to add Custom BAPI and get the attribute fields

Hi, Good Day.

Just want to ask how and where should I include the custom BAPI in sources?

I did this and add the attributes in the schema however, after account aggregation there was an error and values of the attributes were not pulled.

Error after account aggregation:
image

Thank you very much

@mgambayan
Are you using SAP SF connector?

Hi @suraj_gorle

Good day. This is SAP HR/HCM connector.

Thank you very much.

Hi @mgambayan,
Have you validated that the Custom BAPI follows the input/output parameters that SailPoint expects? Please validate that items like the name of the JCOTable for the BAPI matches the documentation and that there is a RETURN table. Input and Output Parameters for BAPI

1 Like

Hi @margocbain

Good day. Can you give me a sample input and output that follows SailPoint format for creating custom BAPI? Appreciate the help.

Thank you very much

You will need to work with the SAP team to ensure the BAPI meets your specific requirements, but some tips to get you started:

  • The input for the BAPI should be a structure called ‘EMPLOYEE_DETAILS’ and should include the PERNR as a field for the input
  • The output for the BAPI should be a JCOTable with the name ADDITIONAL_ATTRIBUTE_LIST and the names of the fields in the table and the schema attributes in ISC should match
  • Be sure that you have added your custom attributes to your schema - otherwise, you will not be able to see them on the account

Hi @margocbain

Good day. This is noted. Do you have a sample custom BAPI code and how this custom BAPI will be attached to HR/HCM Connector?

We did this but we could not pull the data.
Attached the custom BAPI in the HCM Connector and create the attributes in the HCM Connector Schema:

Thank you very much.

Hi, I have the same problem. When I aggregate the source, display the follow error:
JCO_ERROR_FIELD_NOT_FOUND: Field ‘RETURN’ is not a member of record ‘TABLES’

Hi, did you review the documentation that refers to the BAPI configuration? Is much easier to configure it through the UI Interface:

Regards,
Pablo