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

/SAPAPO/WFM_TEST_DEM_LOCATION SAP ABAP Report - Program Z_TEST_DEMAND







/SAPAPO/WFM_TEST_DEM_LOCATION 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 /SAPAPO/WFM_TEST_DEM_LOCATION 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 /SAPAPO/WFM_TEST_DEM_LOCATION. "Basic submit
SUBMIT /SAPAPO/WFM_TEST_DEM_LOCATION AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/WFM_TEST_DEM_LOCATION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_ADDRNO = D Address number
Selection Text: P_ADGUID = D Address GUID
Selection Text: P_AWTYP = Application Category
Selection Text: P_CNTRY = D Country
Selection Text: P_COMMIT = Commit
Selection Text: P_CREATE = Create
Selection Text: P_DELETE = Delete
Selection Text: P_DEMKEY = External Demand Key
Selection Text: P_LAT = D Geo location latitude
Selection Text: P_LOGSYS = Logical System
Selection Text: P_LONG = D Geo location longitude
Selection Text: P_MODIFY = Modify
Selection Text: P_PREC = D Precision of a Geo location
Selection Text: P_SHOW = Show Only
Title: Program Z_TEST_DEMAND
Text Symbol: 001 = External Demands Key
Text Symbol: 002 = Steering
Text Symbol: 003 = Location Data


INCLUDES used within this REPORT /SAPAPO/WFM_TEST_DEM_LOCATION

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:

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = p_demkey.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING iv_guid_c32 = p_demkey IMPORTING ev_guid_c22 = l_int_key.

WFD_DEMAND_CREATE CALL FUNCTION 'WFD_DEMAND_CREATE' EXPORTING is_admin_record = ls_admin_record i_demand_key = p_demkey i_description = l_description it_req_res_types = lt_req_res_types is_req_location = ls_req_location it_intervals = lt_interval IMPORTING et_return = lt_return.

WFD_DEMAND_CREATE *CALL FUNCTION 'WFD_DEMAND_CREATE' * EXPORTING * is_admin_record = * i_demand_key = * I_PARENT_KEY = * I_PREDECESSOR_KEY = * I_DESCRIPTION = * IT_REQ_QUALIS = * IT_TIME_RULE = * IT_REQ_RES_TYPES = * IT_CAPA_TIMEINTS = * IS_REQ_LOCATION = * IT_RESOURCE_KEY = * IT_INTERVALS = * IMPORTING * ET_INVALID_DEMAND_KEY = * ET_INVALID_PARENT_KEY = * ET_INVALID_PREDECESSOR_KEY = * ET_INVALID_RESOURCE_KEY = * ET_INVALID_TIMESPEC_KEY = * ET_INVALID_REQ_LOC_KEY = * ET_RETURN = .

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' TABLES et_return = lt_return.

WFD_DEMAND_MODIFY CALL FUNCTION 'WFD_DEMAND_MODIFY' EXPORTING is_admin_record = ls_admin_record i_demand_data = ls_demand_str IMPORTING et_return = lt_return.

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' TABLES et_return = lt_return.

WFD_DEMAND_GET_DETAIL CALL FUNCTION 'WFD_DEMAND_GET_DETAIL'
EXPORTING i_logsys = p_logsys i_awtyp = p_awtyp i_demand_key = p_demkey IMPORTING et_demand_data = lt_demand_tab * ET_INVALID_DEMAND_KEYS = et_return = lt_return.

WFD_DEMAND_DELETE CALL FUNCTION 'WFD_DEMAND_DELETE' EXPORTING is_admin_record = ls_admin_record it_demand_key = lt_demkey IMPORTING et_return = lt_return.

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' TABLES et_return = lt_return.



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 /SAPAPO/WFM_TEST_DEM_LOCATION or its description.