on 04-08-2010 11:13 AM
Hi
We are using ECC6 and e-Recruitment release 603.
The question I have is where can I view the applicants reason for application in the back-end.
I know that infotype 5132 holds the applicant information. When viewing this in SE16 using HRP5132 I can find the field 'APPL DESC' - cover letter for application (pointer). This has a value of 2 - how do I then view the text the candidate has written.
I obviously know that the Recruiter, Restricted Recruiter and Candidate can view this information. I need to confirm what has been input.
Hope someone can be of assistance.
Many thanks
Julie
Our ABAP guy wrote a program to get the information out. So question closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gareth
Sorry for delay, I had to speak to my ABAPer. The code is below please note prior to running the program ensure word is not open:
REPORT ZER001.
* It appears the application overview smartform has max number of
* about 3 pages * for the cover letter. This prog retrieves the cover letter into MS Word as a (temporary!) solution
data lo_hrobject type hrobject.
data ls_cover_letter TYPE rcf_s_itf_description.
data ls_application_source TYPE rcf_s_mdl_awzd_appl_source.
data lt_messages TYPE bapirettab.
data ls_output type c length 50000. "string.
data the_end(1) value 'X'.
data length_string type i.
data ta_output type standard table of tdline.
parameters p_objid type objid.
lo_hrobject-PLVAR = '01'.
lo_hrobject-OTYPE = 'ND'.
lo_hrobject-OBJID = p_objid.
*TRY.
CALL METHOD CL_HRRCF_M_COVERLETTER=>SC_RETRIEVE_DATA
EXPORTING
IS_APPL_HROBJECT = lo_hrobject
IMPORTING
ES_APPLICATION_SOURCE = ls_application_source
ET_MESSAGES = lt_messages
ES_COVER_LETTER = ls_cover_letter
.
ls_output = ls_cover_letter-description.
*REPLACE ALL OCCURRENCES OF '#' IN ls_output WITH ''.
REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>cr_lf IN ls_output WITH ''.
*REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>NEWLINE IN ls_output WITH ''.
CALL FUNCTION 'RKD_WORD_WRAP'
EXPORTING
TEXTLINE = ls_output
* DELIMITER = '#'
OUTPUTLEN = 79
* IMPORTING
* OUT_LINE1 =
* OUT_LINE2 =
* OUT_LINE3 =
TABLES
OUT_LINES = ta_output
* EXCEPTIONS
* OUTPUTLEN_TOO_LARGE = 1
* OTHERS = 2
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
FILENAME = 'c:\coverletter.txt'
TABLES
DATA_TAB = ta_output.
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
PROGRAM = 'WINWORD.EXE'
COMMANDLINE = 'c:\coverletter.txt'
INFORM = ''
EXCEPTIONS
PROG_NOT_FOUND.
best wishes
Julie
Hello Julie,
HRP5132 - APPL_DESC -->Cover Letter for Application (Pointer) Points to a text that is stored in the document repository for HR objects and does not have the text directly stored; Hence application cover letter text cannot be retreived directlly from the table field.
The functional module "HRWPC_EREC_CA_APP_DATA_OVIEW" can be used instead to retrive the data.
Hope this information helps.
Best Regards
G Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
6 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.