BAPI_ERC_UPDATE_ATTACHMENT

Hi,
We r interfacing the Erec 6 with web application , for the same we need to pull the application attachment from web apllication and upload it into the SAP Erecuit Content server.
I tried to use BAPI_ERC_UPDATE_ATTACHMENT for the same , but it has a table file_split, which is raw string  which requires the unicode formatt of file, w/o which it cannot upload the file, so how do we convert the file to unicode before passing the file to this BAPI ?
Or any other FM/Baapi in Erec to uplaod direcectly upload it to content server.
CALL FUNCTION 'BAPI_ERC_UPDATE_ATTACHMENT'
  EXPORTING
    application_id          = '50025438'
    attachment_type         = '0012'
    language                = 'E'
    attachment_header       = 'TEST HDR2'
    filename                = 'C:\test.doc'
  tables
    file_split              = FILE_SPLIT
    return                  =  RETURN.
Replies will be highly appreciated.

Thanks Paramesh,
I already tried GUI_Upload , but it accepts only text files, I have to upload all the .doc,.excel,.pdf,etc or any other formatt  , any idea which FM can help me to convert this other file types into unicode file formatt before passing to Bapi ?
Regards
Jignesh

Similar Messages

  • Resume Attachment to E-Recruitment System.

    Hi All ,
    We are doing a data Migration project to E-recruitment system . To upload and create the candidates and Application id , we have successfully done it through BAPI_ERC_APPL_CREATE_EXT . This is also being reflected in Portal .
    But when i use BAPI_ERC_UPDATE_ATTACHMENT to upload attachment , i neither get any error message nor there is an entry in HRP5134 table .
    This is the vales that I am passing to the Bapi .
    Import parameters               Value
    APPLICATION_ID                  50000150
    ATTACHMENT_TYPE                 0001
    LANGUAGE                        EN
    ATTACHMENT_HEADER               RESUME
    FILENAME                        C:\TEMP\DATA_UPLOADTEST1.TXT
    Tables                          Value
    FILE_SPLIT                         0 Entries
    RETURN                             0 Entries.
    Should i pass something to File_Split ?
    Also , i see a BADI HRRCF_DOC_UPLOAD  for the same kind of requirement .
    Could you please let me know how to save the attachment  ? The project is supposed to go live on 20th Feb , So appreciate your quick help .
    Thanks
    Raghu

    Dear Hussain,
    Thank you for your response.
    Website of the company is hosted by a different software, and we have to link SAP E-Rec with that. Will Web dispatcher suffice this requirement.
    Regards,
    Siv

  • E-Rec (ECC 6.0) Upload Resume

    Hi,
    I need to upload resumes to E-Rec(ECC 6.0)  from .net and attach it with applicant. When i tested the  BAPI_ERC_UPDATE_ATTACHMENT BAPI, i am getting "attachement cannot be saved".
    any help is appreciated.
    Regards,
    Venkat

    Hi Mark
    Please put this request in the correct forum of CRM Middleware.
    I am sure your will get the right help from the middleware experts.
    Regards

  • CV upload in E-Rec

    Hi,
    I need to know steps to upload CVs in e-recruitment.

    Hello,
    in that case you will need to write your own ABAP program. You can use the FM BAPI_ERC_UPDATE_ATTACHMENT for this.
    hope it helps
    Koen Van Loocke

Maybe you are looking for

  • How do I move my itunes library from an iPad to my new MacbookAir

    how do I move my itunes library from an iPad to my new MacbookAir

  • Planned Values uploaded in KP06 not showing on GL Reports

    I have uploaded the budget but now I can't see the values in the Planned values Column in SAP.  I have checked OKEQ and see that for 2012 and the planning version that everything is working.  I checked the previous fiscal year and it show fine there.

  • Adding linkbutton

    Hi, Im tring to add a link button using actionscript but I am unable to add a click function to the link. Here is what I have so far. var addLink:LinkButton = new LinkButton(); addLink.label = "Link"+cnt; addLink.addEventListener("click",clickBack(cn

  • My photoshop elements 11 has stopped sharing..

    Please I need some help here! I have checked what settings I know about to make sure just one or the other is the default email client but it won't work. I could most definately have missed some setting that needs changed but don't know which one app

  • Title Tags- Menus

    Adobe Muse is becoming more and more of a let down. Looking at the program with an SEO perspective. Adobe Muse is falling behind its competitors. Which is an utter shame. Because its a wonderful program with amazing designing capabilities. Title Tags