SAP Knowledge Base Article - Public

3246373 - Outbound Integration with Attachment as the Format Type is not returning data - Integration Center

Symptom

You are trying to create an Outbound Integration with Attachment as the Format for an Integration Type at Integration Center (IC) but the integration is not retrieving the attachments files.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors HXM Suite

Reproducing the Issue

  1. Go to Integration Center;
  2. Click on My Integrations;
  3. Click on +Create;
  4. Click on More Integration Types and select:
    • Trigger type as Scheduled;
    • Source Type as SuccessFactors;
    • Destination Type as SFTP;
    • Format as Attachment;
  5. Click on Create;
  6. Select the Starting Entity;
  7. Adjust other settings and run;

More details about the steps above can be found in Integration Center Guide, in the Creating an Outbound Integration with Attachment as the Format for an Integration Type chapter (link).

Cause

You are selecting an invalid Starting Entity that doesn't contain the appropriate fields to return the attachment's content (e.g. PerNationalId).

For example, the entity you selected has the attachmentId field and, at Configure Fields tab, you are selecting it at the Associate Content option, but this field doesn't return the attachment's content, just the attachment identifier.

     

Resolution

The valid Starting Entities are the ones that have the Attachment Content field OR a navigation field (custom or standard) to the Attachment entity (e.g. EmpJob).

You can check the entity fields in the Odata/SFAPI dictionary.

After choosing a valid entity, inside the integration, follow the steps below:

  1. Open the Configure Fields tab;
  2. Click on Associate Content;
  3. Select the field:
    • Attachment Content field;
    • OR a navigation field to Attachment entity and then select fileContent field;
  4. Click on Associate Content type;
  5. Select the field:
    • Attachment File Type field;
    • OR a navigation field to Attachment entity and then select fileExtension field;
  6. Adjust other settings and run;

   

Obs.: For Entities without the fields above but with the attachmentId field, you can use this Id to find the corresponding attachment content (fileContent field) at the Attachment entity. Based on that, you should try alternative solutions such as doing more complex integrations, using more complete integrations tools, or making OData API calls directly. Please note that it's beyond product support's scope to assist with the implementation. For consulting matters, you may seek assistance in our SAP Community, reach out to your implementation partner, or to SAP Professional Services.

See Also

Integration Center Guide

SAP Community

SAP Professional Services

Keywords

not, don't, doesn't, retrieve, retrieving, return, fetch, fetching , KBA , LOD-SF-INT-INC , Integration Center , Problem

Product

SAP SuccessFactors HXM Suite all versions