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

WFM_XPRA_40_TO_50 SAP ABAP Report - XPRA to convert CRM 4.0 data to CRM 5.0







WFM_XPRA_40_TO_50 is a standard Executable ABAP Report 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 WFM_XPRA_40_TO_50 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT WFM_XPRA_40_TO_50. "Basic submit
SUBMIT WFM_XPRA_40_TO_50 AND RETURN. "Return to original report after report execution complete
SUBMIT WFM_XPRA_40_TO_50 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: XPRA to convert CRM 4.0 data to CRM 5.0
Text Symbol: 001 = Normal
Text Symbol: 005 = Processing


INCLUDES used within this REPORT WFM_XPRA_40_TO_50

INCLUDE WFM_CRM_EXPORTIMPORTTOP .


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:

TR_APPEND_LOG call function 'TR_APPEND_LOG' tables xmsg = gt_msg exceptions others = 0.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = m_tabname importing x030l_wa = l_x030l tables dfies_tab = t_dfies_tab exceptions not_found = 1 internal_error = 2 others = 3.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG' EXCEPTIONS OTHERS = 0.

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 = 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_A * 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.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = wfmfc_step_prm2-step_id.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = wfmcas_agt_rot-rotation_set_id.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = wfmcas_agt_rot-rotation_id.

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = sy-datum IMPORTING week = scal-week.

WEEK_GET_FIRST_DAY CALL FUNCTION 'WEEK_GET_FIRST_DAY' EXPORTING week = scal-week IMPORTING date = wfmcas_agt_rotst-rotation_start EXCEPTIONS week_invalid = 1 OTHERS = 2.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = l_wfmcas_wrkarea-rate_ind_id.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = wfmfc_stat-stat_id.

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.

RS_DD_SHOW * CALL FUNCTION 'RS_DD_SHOW' * EXPORTING * OBJNAME = L_TABNAME * OBJTYPE = 'T' * POPUP = SPACE.



Contribute (Add Comments)

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 WFM_XPRA_40_TO_50 or its description.