Skip to Content
author's profile photo Former Member
Former Member

File encoding for RH_SFI_SYNCHRONIZE_EMPL_DATA

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 25, 2016 at 04:20 PM

    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


    CL_HRSFI_TOOLS.jpg (116.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.