HRGPBS_ME_STARTER_REMOVE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name HRGPBS_ME_STARTER_REMOVE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRGPBS_ME_P45
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HRGPBS_ME_STARTER_REMOVE' "ME consolidation for Starters
TABLES
it_p45data = " p08_p46gb0 HR-GB: Reporting structure Starter Notification
it_p46data = " p08_p46gb0 HR-GB: Reporting structure Starter Notification
it_p46edata = " p08_p46gb0 HR-GB: Reporting structure Starter Notification
it_error = " hrerror Transfer table for HR error handling
it_sel_pernr = " p08p_me_pernr Multiple Employment Structure of Pernrs
CHANGING
i_selected = " n Number of Records selected
i_rejected = " n Number of Records rejected
i_already_issued = " n Number of already issued
i_p45 = " n Number of P45(3) processed
i_p46 = " n Number of P46 processed
i_p46e = " n Number of P46(Expat) processed
. " HRGPBS_ME_STARTER_REMOVE
The ABAP code below is a full code listing to execute function module HRGPBS_ME_STARTER_REMOVE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_it_p45data | TYPE STANDARD TABLE OF P08_P46GB0,"TABLES PARAM |
| wa_it_p45data | LIKE LINE OF it_it_p45data , |
| it_it_p46data | TYPE STANDARD TABLE OF P08_P46GB0,"TABLES PARAM |
| wa_it_p46data | LIKE LINE OF it_it_p46data , |
| it_it_p46edata | TYPE STANDARD TABLE OF P08_P46GB0,"TABLES PARAM |
| wa_it_p46edata | LIKE LINE OF it_it_p46edata , |
| it_it_error | TYPE STANDARD TABLE OF HRERROR,"TABLES PARAM |
| wa_it_error | LIKE LINE OF it_it_error , |
| it_it_sel_pernr | TYPE STANDARD TABLE OF P08P_ME_PERNR,"TABLES PARAM |
| wa_it_sel_pernr | LIKE LINE OF it_it_sel_pernr . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_i_selected | TYPE N , |
| it_it_p45data | TYPE STANDARD TABLE OF P08_P46GB0 , |
| wa_it_p45data | LIKE LINE OF it_it_p45data, |
| ld_i_rejected | TYPE N , |
| it_it_p46data | TYPE STANDARD TABLE OF P08_P46GB0 , |
| wa_it_p46data | LIKE LINE OF it_it_p46data, |
| ld_i_already_issued | TYPE N , |
| it_it_p46edata | TYPE STANDARD TABLE OF P08_P46GB0 , |
| wa_it_p46edata | LIKE LINE OF it_it_p46edata, |
| ld_i_p45 | TYPE N , |
| it_it_error | TYPE STANDARD TABLE OF HRERROR , |
| wa_it_error | LIKE LINE OF it_it_error, |
| ld_i_p46 | TYPE N , |
| it_it_sel_pernr | TYPE STANDARD TABLE OF P08P_ME_PERNR , |
| wa_it_sel_pernr | LIKE LINE OF it_it_sel_pernr, |
| ld_i_p46e | TYPE N . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name HRGPBS_ME_STARTER_REMOVE or its description.
HRGPBS_ME_STARTER_REMOVE - ME consolidation for Starters HRGPBS_ME_STARTER_AGGREGATE - Remove redundant records after consolidation HRGPBS_ME_PRIORITY_SPLITS - Derive ALL splits in Event Infotype Structure HRGPBS_ME_PRIORITY_INFOTYPE - Fill Absence Infotypes Structure (0001/2001) for each PERNR HRGPBS_ME_PAYROLL_SIMULATION - ME: Payroll simulation HRGPBS_ME_P46_SAVE_COMP_CARS - read IT 442 and export cars into g_pernrs structure