SAP Reports / Programs | Personnel Management | Personnel Administration | Japan(PA-PA-JP) SAP PA

RPTFWSPOST SAP ABAP Report - Daily Work Schedule Substitution Creation







RPTFWSPOST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Using the Web application for Daily Work Schedule Management, employee s can change their daily work schedules (DWS)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and 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 RPTFWSPOST into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

HRPADJP_FWS_POST - Transaction for Post program


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 RPTFWSPOST. "Basic submit
SUBMIT RPTFWSPOST AND RETURN. "Return to original report after report execution complete
SUBMIT RPTFWSPOST 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: UPDATE = Test Run
Selection Text: SHOWGUID = Display Internal Request ID
Selection Text: PROTLIST = Display Details
Selection Text: NO_DTYPE = Not Update Day Type in IT 2003
Selection Text: MAX_UPD = D .
Title: Daily Work Schedule Substitution Creation
Text Symbol: 044 = Message Class
Text Symbol: 045 = Number
Text Symbol: 046 = Message Number
Text Symbol: 047 = Message Number
Text Symbol: 048 = Message
Text Symbol: 049 = Message
Text Symbol: 050 = Time Sent
Text Symbol: 051 = First Send Time
Text Symbol: DT1 = Day Type
Text Symbol: P01 = Log of Work Schedule Posted that Have the Status "Approved"
Text Symbol: P02 = No. of Successful Records:
Text Symbol: P03 = No. of Records with Errors:
Text Symbol: P04 = (Records were added to the time administrator's worklist)
Text Symbol: P05 = Test Run:
Text Symbol: P06 = No. of Locked Records:
Text Symbol: P07 = (Records will be transferred again in the next run)
Text Symbol: 001 = Update Option
Text Symbol: 002 = Result Display Option
Text Symbol: 003 = Process Undone Requests from Previous Run
Text Symbol: 004 = Exclude All
Text Symbol: 005 = Selected
Text Symbol: 007 = Number
Text Symbol: 008 = Number
Text Symbol: 009 = Request Number
Text Symbol: 010 = Send Date
Text Symbol: 011 = First Send Date
Text Symbol: 013 = Person. No
Text Symbol: 014 = Personnel Number
Text Symbol: 015 = Personnel No. of Requester
Text Symbol: 016 = Name
Text Symbol: 017 = Name of Requester
Text Symbol: 018 = Name of Requester





Text Symbol: 019 = ID
Text Symbol: 020 = Workflow ID
Text Symbol: 022 = Req. GUID
Text Symbol: 023 = Request GUID
Text Symbol: 042 = Class
Text Symbol: 043 = Message Class


INCLUDES used within this REPORT RPTFWSPOST

INCLUDE RPTREQ_CONST.
INCLUDE RPTARQ_CONST.
INCLUDE RPTREQ_PROTOCOL_BATCH.
INCLUDE RPTREQ_TRANSACTION.
INCLUDE RPTFWSPOST_SELSCREEN.
INCLUDE RPTREQPOST_PROCESSING.


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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_okay text = text-004 info = text-005 IMPORTING result = ignoerr.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_okay text = text-004 info = text-005 IMPORTING result = ignoerr.

ENQUEUE_EPTREQ CALL FUNCTION 'ENQUEUE_EPTREQ' EXPORTING mode_ptreq_header = 'E' request_id = ->request_id _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = ls_error_req-owner-pernr infty = '0001' begda = sy-datum endda = sy-datum TABLES infty_tab = lt_i0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

DEQUEUE_EPTREQ CALL FUNCTION 'DEQUEUE_EPTREQ' EXPORTING request_id = ->request_id.

PJP_FWS_REQUEST_SENDMAIL CALL FUNCTION 'PJP_FWS_REQUEST_SENDMAIL' EXPORTING req_tab = lt_temp_reqs im_status = 'ERROR'.

PJP_FWS_REQUEST_SENDMAIL CALL FUNCTION 'PJP_FWS_REQUEST_SENDMAIL' EXPORTING req_tab = lt_temp_reqs im_status = 'ERROR'.



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