SAP Reports / Programs | Cross-Application Components | General Application Functions | Workforce Management Core(CA-GTF-WFM) SAP CA

WFM_CRM_EXPORTIMPORTSUB SAP ABAP INCLUDE - Include WFM_CRM_CFGEXPORTIMPORTSUB








WFM_CRM_EXPORTIMPORTSUB is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Check out the submitted Comments related to this SAP report or see any standard documentation available. Also check out the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. If you would like to execute this report or see the full code listing simply enter WFM_CRM_EXPORTIMPORTSUB into the relevant SAP transactions such as SE38 or SE80

ABAP code to call this SAP report using the submit statement

SUBMIT WFM_CRM_EXPORTIMPORTSUB. "Basic submit

SUBMIT WFM_CRM_EXPORTIMPORTSUB AND RETURN. "Return to original report after report execution complete

SUBMIT WFM_CRM_EXPORTIMPORTSUB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user

See more syntax options for the ABAP SUBMIT statement

Contribute (Add Comments)
Below is the basic information available for SAP report WFM_CRM_EXPORTIMPORTSUB and is provided for your convenience to access as and when required. Although the 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 WFM_CRM_EXPORTIMPORTSUB or its description.

INCLUDES used within this REPORT:

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

NO SAP DATABASE TABLES are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

OCS_FILENAME_GET CALL FUNCTION 'OCS_FILENAME_GET' EXPORTING pi_mask = l_maske TABLES pt_fileinfo = t_fileinfo EXCEPTIONS OTHERS = 6.

GUI_GET_FILE_INFO CALL FUNCTION 'GUI_GET_FILE_INFO' EXPORTING fname = p_file IMPORTING file_size = l_file_size EXCEPTIONS fileinfo_error = 1 OTHERS = 2.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = l_filename TABLES data_tab = out_record EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = l_filename has_field_separator = 'X' dat_mode = 'X' TABLES data_tab = t_clone_tab EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = t_clone_tab-old IMPORTING output = t_clone_partners-old.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = t_clone_tab-new IMPORTING output = t_clone_partners-new.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = sapgui_text.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = l_filename TABLES data_tab = out_record EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.

SAPGUI_PROGRESS_INDICATOR



CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = sapgui_text.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname IMPORTING x030l_wa = l_x030l TABLES dfies_tab = t_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname IMPORTING x030l_wa = l_x030l TABLES dfies_tab = t_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname IMPORTING x030l_wa = l_x030l TABLES dfies_tab = t_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname IMPORTING x030l_wa = l_x030l TABLES dfies_tab = t_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-008.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname IMPORTING x030l_wa = l_x030l TABLES dfies_tab = t_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

GUID_CREATE *\ CALL FUNCTION 'GUID_CREATE' *\ IMPORTING *\ ev_guid_32 = t_guid-new_guid.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = x_perce.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = l_plvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = sapgui_text percentage = i_perc.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname IMPORTING x030l_wa = l_x030l TABLES dfies_tab = t_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = is_admin_record-logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

WFM_CRM_ORG_TIMEZONE_GET CALL FUNCTION 'WFM_CRM_ORG_TIMEZONE_GET' EXPORTING iv_org_objid = wfmcas_shift-org_objid IMPORTING ev_timezone = ev_timezone es_return = es_return.

WFD_ASSIGNMENT_DELETE * CALL FUNCTION 'WFD_ASSIGNMENT_DELETE' * EXPORTING * is_admin_record = is_admin_record * it_assignment_keys = l_assignment_key.

WFD_ASSIGNMENT_DELETE CALL FUNCTION 'WFD_ASSIGNMENT_DELETE' EXPORTING is_admin_record = is_admin_record it_assignment_keys = l_assignment_key.

RS_DD_SHOW CALL FUNCTION 'RS_DD_SHOW' EXPORTING objname = out_record-tabname objtype = 'T' popup = space.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text1 textline2 = text2 titel = 'Info' "#EC NOTEXT IMPORTING answer = answer.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = sapgui_text percentage = i_perc.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname IMPORTING x030l_wa = l_x030l TABLES dfies_tab = t_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

OWN_LOGICAL_SYSTEM_GET


CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = is_admin_record-logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

WFD_ASSIGNMENT_DELETE * CALL FUNCTION 'WFD_ASSIGNMENT_DELETE' * EXPORTING * is_admin_record = is_admin_record * it_assignment_keys = l_assignment_key.

OWN_LOGICAL_SYSTEM_GET * CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' * IMPORTING * own_logical_system = is_admin_record-logsys * EXCEPTIONS * own_logical_system_not_defined = 1 * OTHERS = 2.

GUID_CREATE * CALL FUNCTION 'GUID_CREATE' * IMPORTING * ev_guid_32 = -shift_seg_id.

BUPA_NUMBERS_GET * CALL FUNCTION 'BUPA_NUMBERS_GET' * EXPORTING * iv_partner = -partner * IMPORTING * ev_partner_guid = ls_res_guid.

WFD_RESOURCE_CHECK * CALL FUNCTION 'WFD_RESOURCE_CHECK' * EXPORTING * i_logsys = is_admin_record-logsys * i_awtyp = is_admin_record-awtyp * it_resource = lt_resource * IMPORTING * et_invalid_resources = lt_invalid * et_return = lt_return.

BUPA_CENTRAL_GET_DETAIL * CALL FUNCTION 'BUPA_CENTRAL_GET_DETAIL' * EXPORTING * iv_partner = -partner * IMPORTING * es_data_person = lv_partner_info.

WFD_RESOURCE_CREATE * CALL FUNCTION 'WFD_RESOURCE_CREATE' * EXPORTING * is_admin_record = is_admin_record * i_resource_key = i_resource_key * i_resource_type = '00' "#EC NOTEXT * i_description = lv_description * IMPORTING * et_return = lt_return * et_invalid_resources = lt_invalid.

WFD_RES_ADD_TIMESPEC * CALL FUNCTION 'WFD_RES_ADD_TIMESPEC' * EXPORTING * is_admin_record = is_admin_record * i_resource_key = lv_partner * is_timespec_data = ls_timespec_data * IMPORTING * et_return = et_return * EXCEPTIONS * OTHERS = 1.

GUID_CREATE * CALL FUNCTION 'GUID_CREATE' * IMPORTING * ev_guid_32 = -assignment_id.

BUPA_NUMBERS_GET * CALL FUNCTION 'BUPA_NUMBERS_GET' * EXPORTING * iv_partner = -partner * IMPORTING * ev_partner_guid = ls_res_guid.

WFD_ASSIGNMENT_CREATE * CALL FUNCTION 'WFD_ASSIGNMENT_CREATE' * EXPORTING * is_admin_record = is_admin_record * is_assignment_data = is_assignment_data * IMPORTING * et_return = et_return.

GUID_CREATE * CALL FUNCTION 'GUID_CREATE' * IMPORTING * ev_guid_32 = t_wfmcas_zdemand-wa_id.

OWN_LOGICAL_SYSTEM_GET * CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' * IMPORTING * own_logical_system = is_admin_record-logsys * EXCEPTIONS * own_logical_system_not_defined = 1 * OTHERS = 2.

BUPA_NUMBERS_GET * CALL FUNCTION 'BUPA_NUMBERS_GET' * EXPORTING * iv_partner = -partner * IMPORTING * ev_partner_guid = ls_res_guid.

WFD_RES_REMOVE_TIMESPEC * CALL FUNCTION 'WFD_RES_REMOVE_TIMESPEC' * EXPORTING * is_admin_record = is_admin_record * i_resource_key = lv_partner * i_timespec_key = -shift_seg_id ** IT_TIMESPEC_KEY = * IMPORTING ** ET_INVALID_TIMESPECS = ** ET_MESSAGES = * et_return = et_return.

WFD_RES_ADD_TIMESPEC ** CALL FUNCTION 'WFD_RES_ADD_TIMESPEC' ** EXPORTING ** is_admin_record = is_admin_record ** i_resource_key = lv_partner ** is_timespec_data = ls_timespec_data ** IMPORTING ** et_return = et_return ** EXCEPTIONS ** OTHERS = 1.


Text pool values


Title: Include WFM_CRM_CFGEXPORTIMPORTSUB