SAP RH_SET_WF_PREFIX_NUMBERS Function Module for









RH_SET_WF_PREFIX_NUMBERS is a standard rh set wf prefix numbers SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rh set wf prefix numbers FM, simply by entering the name RH_SET_WF_PREFIX_NUMBERS into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHWW
Program Name: SAPLRHWW
Main Program: SAPLRHWW
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RH_SET_WF_PREFIX_NUMBERS pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RH_SET_WF_PREFIX_NUMBERS'"
EXPORTING
IV_LEAD_NR = "
IV_SYSID = "
IV_MANDT = "
IV_DEVCLASS = "
* IV_TRKORR = "
* IV_DO_COMMIT = 'X' "
* IV_NO_DIALOG = 'X' "

EXCEPTIONS
WRONG_PREFIX_NAMESPACE = 1 UNKNOWN_ERROR = 2 ENTRY_ALREADY_AVAILABLE = 3 WRONG_SYSTEM_ID = 4 WRONG_CLIENT = 5
.



IMPORTING Parameters details for RH_SET_WF_PREFIX_NUMBERS

IV_LEAD_NR -

Data type: HR_LEAD_NR
Optional: No
Call by Reference: Yes

IV_SYSID -

Data type: SYSYSID
Optional: No
Call by Reference: Yes

IV_MANDT -

Data type: SYMANDT
Optional: No
Call by Reference: Yes

IV_DEVCLASS -

Data type: DEVCLASS
Optional: No
Call by Reference: Yes

IV_TRKORR -

Data type: TRKORR
Optional: Yes
Call by Reference: Yes

IV_DO_COMMIT -

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

IV_NO_DIALOG -

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

WRONG_PREFIX_NAMESPACE -

Data type:
Optional: No
Call by Reference: Yes

UNKNOWN_ERROR -

Data type:
Optional: No
Call by Reference: Yes

ENTRY_ALREADY_AVAILABLE -

Data type:
Optional: No
Call by Reference: Yes

WRONG_SYSTEM_ID -

Data type:
Optional: No
Call by Reference: Yes

WRONG_CLIENT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RH_SET_WF_PREFIX_NUMBERS Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_iv_lead_nr  TYPE HR_LEAD_NR, "   
lv_wrong_prefix_namespace  TYPE HR_LEAD_NR, "   
lv_iv_sysid  TYPE SYSYSID, "   
lv_unknown_error  TYPE SYSYSID, "   
lv_iv_mandt  TYPE SYMANDT, "   
lv_entry_already_available  TYPE SYMANDT, "   
lv_iv_devclass  TYPE DEVCLASS, "   
lv_wrong_system_id  TYPE DEVCLASS, "   
lv_iv_trkorr  TYPE TRKORR, "   
lv_wrong_client  TYPE TRKORR, "   
lv_iv_do_commit  TYPE XFLAG, "   'X'
lv_iv_no_dialog  TYPE XFLAG. "   'X'

  CALL FUNCTION 'RH_SET_WF_PREFIX_NUMBERS'  "
    EXPORTING
         IV_LEAD_NR = lv_iv_lead_nr
         IV_SYSID = lv_iv_sysid
         IV_MANDT = lv_iv_mandt
         IV_DEVCLASS = lv_iv_devclass
         IV_TRKORR = lv_iv_trkorr
         IV_DO_COMMIT = lv_iv_do_commit
         IV_NO_DIALOG = lv_iv_no_dialog
    EXCEPTIONS
        WRONG_PREFIX_NAMESPACE = 1
        UNKNOWN_ERROR = 2
        ENTRY_ALREADY_AVAILABLE = 3
        WRONG_SYSTEM_ID = 4
        WRONG_CLIENT = 5
. " RH_SET_WF_PREFIX_NUMBERS




ABAP code using 7.40 inline data declarations to call FM RH_SET_WF_PREFIX_NUMBERS

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
DATA(ld_iv_do_commit) = 'X'.
 
DATA(ld_iv_no_dialog) = 'X'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!