MPW12_TC_F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter MPW12_TC_F01 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_APPLICANT_CREATE call function 'BAPI_APPLICANT_CREATE' exporting ap_group = int_defaults-persg ap_subgrp = int_defaults-persk pers_area = int_defaults-werks p_subarea = int_defaults-btrtl personnel = int_defaults-sachp foa_key = p0002-anred f_name = old_per-vorna l_name = old_per-nachn birthname = old_per-name2 known_as = old_per-rufnm ssn = p0002-perid b_date = p0002-gbdat title = p0002-titel 2nd_title = p0002-titl2 ari_title = p0002-namzu affix = p0002-vorsw prefix_2 = p0002-vors2 gender = p0002-gesch birthplace = old_per-gbort mar_stat = p0002-famst initials = p0002-inits nation = p0002-natio langu = sy-langu c_o = old_adr-name2 street = old_adr-stras 2nd_add_ln = old_adr-locat city = old_adr-ort01 region = p0006-state district = old_adr-ort02 pcd_city = p0006-pstlz cntry = p0006-land1 tel_no = p0006-telnr advert = advert "XCZ unsappgp = int_defaults-spapl medium = int_defaults-media employeenumber = pernr "WBIK031606 communication_type = '0010' "WBIK031606 e_mail = p0105-usrid_long "WBIK031606 importing applicantnumber = rpapp-aplno return = bapi_rcode tables education = education previous_employment = employer qualification = qualification vacancy_assignment = vacancy_assignment exceptions others = 0.
BAPI_APPLICANT_DEQUEUE call function 'BAPI_APPLICANT_DEQUEUE' "4.6C
HR_ESS_DEACTIVED_SERVICE ** CALL FUNCTION 'HR_ESS_DEACTIVED_SERVICE' "4.6C
AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' "4.6C
P_APP_GET_DETAIL_OF_VACANCY call function 'P_APP_GET_DETAIL_OF_VACANCY' exporting vacid = d_vacancies-objid tables text = vac_detail exceptions no_details_found = 1 others = 2.
BAPI_APPLICANT_ENQUEUE call function 'BAPI_APPLICANT_ENQUEUE' exporting applicantnumber = rpapp-aplno importing return = bapi_rcode1.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING TCLAS = 'B' PERNR = rpapp-aplno INFTY = '4002' BEGDA = '18000101' ENDDA = '99991231' BYPASS_BUFFER = ' ' IMPORTING SUBRC = retcode TABLES INFTY_TAB = i4002 EXCEPTIONS OTHERS = 0.
BAPI_APPLICATION_CREATE call function 'BAPI_APPLICATION_CREATE' exporting validitybegin = sy-datum medium = int_defaults-media advert = advert unsappg = int_defaults-spapl applnumber = rpapp-aplno importing * v============================ XRGN0426748 =========================v number = number.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'B' pernr = rpapp-aplno infty = '4002' begda = sy-datum endda = '99991231' bypass_buffer = 'X' "XDVN427098 importing subrc = retcode tables infty_tab = i4002 exceptions others = 0.
HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '4002' number = rpapp-aplno validityend = '99991231' validitybegin = sy-datum record = i4002 operation = 'INS' tclas = 'B' dialog_mode = '0' nocommit = 'X' importing return = return.
HR_FEATURE_BACKTABLE * call function 'HR_FEATURE_BACKTABLE' * exporting * feature = 'PACTV' * struc_content = wa_pme15 * kind_of_error = ' ' * tables * back = it_pactv ** CHANGING ** STATUS = * exceptions * dummy = 1 * error_operation = 2 * no_backvalue = 3 * feature_not_generated = 4 * invalid_sign_in_funid = 5 * tab_in_report_field_in_pe03 = 6 * others = 7 * .
HR_INFOTYPE_OPERATION * call function 'HR_INFOTYPE_OPERATION' * exporting * infty = '4003' * number = rpapp-aplno * validitybegin = sy-datum * objectid = wa_p4003-objps * recordnumber = seq_number * record = wa_p4003 * operation = 'INS' * tclas = 'B' * dialog_mode = '0' * nocommit = 'X' * importing * return = return.
RH_INTEGRATION_CHECK CALL FUNCTION 'RH_INTEGRATION_CHECK' IMPORTING integrated_plvar = planvar org_integration = orga qual_integration = plogi_quali EXCEPTIONS OTHERS = 0.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING INFTY = appl_p0022-infty NUMBER = appl_p0022-pernr SUBTYPE = appl_p0022-subty OBJECTID = appl_p0022-objps LOCKINDICATOR = appl_p0022-sprps VALIDITYEND = appl_p0022-endda VALIDITYBEGIN = appl_p0022-begda RECORDNUMBER = appl_p0022-seqnr RECORD = appl_p0022 OPERATION = 'DEL' TCLAS = 'B' NOCOMMIT = 'X' IMPORTING RETURN = return .
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING INFTY = appl_p0023-infty NUMBER = appl_p0023-pernr SUBTYPE = appl_p0023-subty OBJECTID = appl_p0023-objps LOCKINDICATOR = appl_p0023-sprps VALIDITYEND = appl_p0023-endda VALIDITYBEGIN = appl_p0023-begda RECORDNUMBER = appl_p0023-seqnr RECORD = appl_p0023 OPERATION = 'DEL' TCLAS = 'B' NOCOMMIT = 'X' IMPORTING RETURN = return .
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING INFTY = appl_p0024-infty NUMBER = appl_p0024-pernr SUBTYPE = appl_p0024-subty OBJECTID = appl_p0024-objps LOCKINDICATOR = appl_p0024-sprps VALIDITYEND = appl_p0024-endda VALIDITYBEGIN = appl_p0024-begda RECORDNUMBER = appl_p0024-seqnr RECORD = appl_p0024 OPERATION = 'DEL' TCLAS = 'B' NOCOMMIT = 'X' IMPORTING RETURN = return .
HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '0105' number = rpapp-aplno subtype = '0010' validityend = '99991231' validitybegin = sy-datum record = i0105 operation = 'INS' tclas = 'B' dialog_mode = '0' nocommit = 'X' importing return = return.
HR_ADD_APPLICANT_DATA call function 'HR_ADD_APPLICANT_DATA' exporting applicantnumber = rpapp-aplno begda = sy-datum endda = '99991231' infty_0002 = i0002 infty_0006 = i0006 dialog_mode = '0' nocommit = 'X' importing return = return tables infty_0022 = i_p0022 "XJGN211259 infty_0023 = i_p0023 "XJGN211259 infty_0024 = i_p0024. "XJGN211259
call function 'BAPI_QUALIPROF_CHANGE' exporting plvar = planvar otype = 'AP' sobid = sobid importing return = return tables profile_add = profile_add profile_delete = profile_delete.
BAPI_APPLICANT_DEQUEUE * call function 'BAPI_APPLICANT_DEQUEUE' * exporting * applicantnumber = rpapp-aplno.
DEQUEUE_ALL call function 'DEQUEUE_ALL'.
HR_ESS_DEACTIVED_SERVICE ** CALL FUNCTION 'HR_ESS_DEACTIVED_SERVICE' ** EXPORTING ** SERVICE = ESS_STATUSSERVICE ** MOLGA = MOLGA ** IMPORTING ** DEACTIVATED = DEACTIVATED.
AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = ess_statustransaction exceptions ok = 1 not_ok = 2 others = 3.
BAPI_APPLICANT_DEQUEUE * call function 'BAPI_APPLICANT_DEQUEUE' * EXPORTING applicantnumber = rpapp-aplno.
BAPI_APPLICANT_ENQUEUE * CALL FUNCTION 'BAPI_APPLICANT_ENQUEUE' * EXPORTING APPLICANTNUMBER = RPAPP-APLNO * IMPORTING RETURN = BAPI_RCODE1.
ARCHIV_CREATE_TABLE call function 'ARCHIV_CREATE_TABLE' * Kontrolle voll an AL abgeben.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0024-QUALI' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
BAPI_PDOTYPE_Q_GETDETAIL call function 'BAPI_PDOTYPE_Q_GETDETAIL' exporting plvar = planvar objid = i0024-quali keyday = sy-datum importing return = return tables proficencies = proficencies profcydescriptions = profcydescriptions.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0024-AUSPR' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0024-AUSPR' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0024-AUSPR' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0022-SLART' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0022-SLABS' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0022-SLTP1' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0022-SLTP2' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'BEG_MONTH' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'END_MONTH' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'BEG_YEAR' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'END_YEAR' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0022-SLAND' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0023-TAETE' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0023-LAND1' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'BEG_MONTH' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'END_MONTH' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'BEG_YEAR' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'END_YEAR' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'I0023-ANSVX' values = values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.
HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING FEATURE = 'EVTAP' STRUC_CONTENT = wa_pme15 KIND_OF_ERROR = ' ' IMPORTING BACK = BACK * CHANGING * STATUS = EXCEPTIONS OTHERS = 1.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING TCLAS = 'B' PERNR = rpapp-aplno INFTY = '0001' BEGDA = sy-datum * ENDDA = '99991231' * BYPASS_BUFFER = ' ' * IMPORTING * SUBRC = retcode TABLES INFTY_TAB = i0001 EXCEPTIONS OTHERS = 0.
HR_FEATURE_BACKTABLE CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = 'PACTV' struc_content = wa_pme15 kind_of_error = ' ' tables back = it_pactv * CHANGING * STATUS = EXCEPTIONS OTHERS = 1.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING INFTY = '4003' NUMBER = rpapp-aplno VALIDITYBEGIN = sy-datum OBJECTID = wa_p4003-objps RECORDNUMBER = seq_number RECORD = WA_P4003 OPERATION = 'INS' TCLAS = 'B' DIALOG_MODE = '0' NOCOMMIT = 'X' IMPORTING RETURN = P_RETURN.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name MPW12_TC_F01 or its description.