cancel
Showing results for 
Search instead for 
Did you mean: 

File encoding for RH_SFI_SYNCHRONIZE_EMPL_DATA

Former Member
0 Kudos

Hello,

We are able to successfully generate the employee data file using RH_SFI_SYNCHRONIZE_EMPL_DATA program. However, when we try to upload this UDF in the SuccessFactors's Import user, we get errors.

Possible reason is that the file in not encoded correctly.

If I open this UDF in Openoffice and save is at in UTF-8 format, and then try uploading this file, then there is no issues.

Does anyone know what format is used for the CSV file that comes out of SAP?

Regards,

Harshal Soni

Accepted Solutions (0)

Answers (1)

Answers (1)

antoine_foucault
Active Contributor
0 Kudos

Hi Harshal:

Are you generating the file to the server or local?

To server, standard output use UTF8 format.

To local it must depend on your windows setting.


  TRY.

      OPEN DATASET iv_unixds FOR OUTPUT IN TEXT MODE ENCODING UTF-8 MESSAGE lv_filemsg.

    CATCH cx_root.                                       "#EC CATCH_ALL

      ev_is_ok = abap_false.

  ENDTRY.

Can you put a break-point and see if your reach this open dataset line?

If you use local output; In windows you can try to change your local setting and change it to US format.... that will modify the way the file is generated.

Best,

Antoine

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

typically we use this report when we set up a middleware to SFSF and hence no manual effort of uploading is required? are you not using middleware for it/

You can also get template for basic user import and check the report format output?

Former Member
0 Kudos

Hi Siddharth,

We are not using the middleware at the moment... Our process is:

  1. Output the file to local directory
  2. Use Orchestrator to deposit the file into SF's SFTP site
  3. The job in SF should pick up the file and process it.

Our SAP is on Windows server could that be an issue?

Harshal

Former Member
0 Kudos

Hi Antoine,

We store the file on Application server which is based on Windows...

Could that be an issue?

Harshal

antoine_foucault
Active Contributor
0 Kudos

Possibly!

I don't think I can report this behavior though.

You could try raise a note on the OSS...

If you use server; I have seen in note 2303850 (not related to SFSF) that they are adding "SMART LINE FEED" command after OPEN DATASET to chase the line-breaker symbol "#".


Good luck!