SAP Reports / Programs

RHWFACTI SAP ABAP Report - Activation of Tasks not yet Active in Current Client







RHWFACTI 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 RHWFACTI 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 RHWFACTI. "Basic submit
SUBMIT RHWFACTI AND RETURN. "Return to original report after report execution complete
SUBMIT RHWFACTI 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: OBJTYP = Object type
Selection Text: CORR_NR = Correction number
Selection Text: ACT_TEST = Test mode
Title: Activation of Tasks not yet Active in Current Client
Text Symbol: GAF = General activation error
Text Symbol: IML = ,because import lock is set (T77TR)
Text Symbol: INT = Cancelled!
Text Symbol: ITS = Identical source and target plan versions!
Text Symbol: NAC = No activation of object type
Text Symbol: DOB = Object deletion:
Text Symbol: ACL = Activation canceled
Text Symbol: AOB = Activation of object:
Text Symbol: APR = Activation log
Text Symbol: CAU = Reason:
Text Symbol: CLI = Client:
Text Symbol: TPL = Target plan version:
Text Symbol: TEM = Test mode active!
Text Symbol: NDE = No deletion of object type
Text Symbol: NOA = No entries exist for activation
Text Symbol: ONF = Object does not exist
Text Symbol: SPL = Source plan version:
Text Symbol: SUC = successful


INCLUDES used within this REPORT RHWFACTI

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:

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING ASK_PLVAR_DIALOG = 'X' IMPORTING ACT_PLVAR = ACT_PLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 01.

RH_GET_OBJECTS_FROM_E071K CALL FUNCTION 'RH_GET_OBJECTS_FROM_E071K' EXPORTING CORRNUM = CORR_NR TABLES ACT_E071K = ACT_E071K "MK 40B WF_PLOGI = ACT_PLOGI_TAB WF_PLOGI_DEL = I_PLOGI_DEL ST_PLOGI = ST_PLOGI ST_PLOGI_DEL = ST_PLOGI_DEL ST_origins = ST_origins "VWMDISTOM EXCEPTIONS CORRNUM_DONT_EXIST = 1 OTHERS = 2.

RHAP_ACT_FLG_SET CALL FUNCTION 'RHAP_ACT_FLG_SET' EXPORTING ACT_FLG = 'X' EXCEPTIONS OTHERS = 1.

RH_ACTIVATE_ORIGINS CALL FUNCTION 'RH_ACTIVATE_ORIGINS' "VWMDISTOM EXPORTING "VWMDISTOM ACT_TARGET_CLIENT = SY-MANDT "VWMDISTOM ACT_TARGET_PLV = act_plvar "VWMDISTOM ACT_SOURCE_PLV = cust_plvar "VWMDISTOM TABLES "VWMDISTOM ACT_ORIGINS = st_origins "VWMDISTOM ACT_PLOGI = act_plogi_tab "VWMDISTOM ACT_PLOGI_DEL = i_Plogi_del "VWMDISTOM T_XMSG = act_error. "VWMDISTOM

RH_DELETE_OBJECT CALL FUNCTION 'RH_DELETE_OBJECT' EXPORTING * plvar = act_plvar * otype = i_plogi_del-otype * objid = i_plogi_del-objid VTASK = 'D' * ORDER_FLG = 'X' COMMIT_FLG = ' ' * AUTHY = 'X' * CONFIRM = ' ' DELETE_1205_WFDID = 'X' "XCS_30F WORKF_ACTV = ' ' "XCS_40A TABLES "XCS_30F DEL_OBJECTS = DEL_OBJECTS "XCS_30F EXCEPTIONS ERROR_DURING_DELETE = 1 NO_AUTHORIZATION = 2 CORR_EXIT = 3 BUFFER_UPD_WITH_FOREIGN_DATA = 4 OTHERS = 5.

RH_EXIST_OBJECT * call function 'RH_EXIST_OBJECT' "XCS_30C"XCS_30F * EXPORTING "XCS_30F * PLVAR = CUST_PLVAR "XCS_30F * OTYPE = ACT_PLOGI_TAB-OTYPE "XCS_30F * OBJID = ACT_PLOGI_TAB-OBJID "XCS_30F * EXCEPTIONS "XCS_30F * NOT_FOUND = 1 "XCS_30F * OTHERS = 2. "XCS_30F

RH_ACTIVATE_PD_OBJECT CALL FUNCTION 'RH_ACTIVATE_PD_OBJECT' EXPORTING * ACT_TARGET_CLIENT = SY-MANDT ACT_TARGET_PLV = ACT_PLVAR ACT_SOURCE_PLV = CUST_PLVAR TABLES ACT_PLOGI = ACT_PLOG I_77TR = I_77TR T_XMSG = ACT_ERROR TT_E071K = ACT_E071K "MK 40B EXCEPTIONS ACTIVATION_NOT_POSSIBLE = 1 OTHERS = 2.

RHAP_ACT_FLG_SET CALL FUNCTION 'RHAP_ACT_FLG_SET' EXPORTING ACT_FLG = ' ' EXCEPTIONS OTHERS = 1.



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