BAPI_BEN_BUS3029_DELETE_PLANS 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 BAPI_BEN_BUS3029_DELETE_PLANS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRBEN00BUS3029
Released Date:
25.09.1997
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_BEN_BUS3029_DELETE_PLANS' "Cancel EE enrollment
EXPORTING
employeenumber = " bapiben_oa-person_no Employee's personnel number
* nocommit = " bapi_stand-no_commit COMMIT control at BAPI interface
IMPORTING
return = " bapireturn1 Return
* TABLES
* credit_selection = " bapiben_s1 Credit selection
* health_selection = " bapiben_sa Health plan selection
* insurance_selection = " bapiben_sb Insurance plan selection
* savings_selection = " bapiben_sc Savings plan selection
* spending_selection = " bapiben_sd FSA selection
* miscel_selection = " bapiben_se Miscellaneous plan selection
* stockp_selection = " bapiben_sf Stock purchase plan selection
. " BAPI_BEN_BUS3029_DELETE_PLANS
The ABAP code below is a full code listing to execute function module BAPI_BEN_BUS3029_DELETE_PLANS 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).
| ld_return | TYPE BAPIRETURN1 , |
| it_credit_selection | TYPE STANDARD TABLE OF BAPIBEN_S1,"TABLES PARAM |
| wa_credit_selection | LIKE LINE OF it_credit_selection , |
| it_health_selection | TYPE STANDARD TABLE OF BAPIBEN_SA,"TABLES PARAM |
| wa_health_selection | LIKE LINE OF it_health_selection , |
| it_insurance_selection | TYPE STANDARD TABLE OF BAPIBEN_SB,"TABLES PARAM |
| wa_insurance_selection | LIKE LINE OF it_insurance_selection , |
| it_savings_selection | TYPE STANDARD TABLE OF BAPIBEN_SC,"TABLES PARAM |
| wa_savings_selection | LIKE LINE OF it_savings_selection , |
| it_spending_selection | TYPE STANDARD TABLE OF BAPIBEN_SD,"TABLES PARAM |
| wa_spending_selection | LIKE LINE OF it_spending_selection , |
| it_miscel_selection | TYPE STANDARD TABLE OF BAPIBEN_SE,"TABLES PARAM |
| wa_miscel_selection | LIKE LINE OF it_miscel_selection , |
| it_stockp_selection | TYPE STANDARD TABLE OF BAPIBEN_SF,"TABLES PARAM |
| wa_stockp_selection | LIKE LINE OF it_stockp_selection . |
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_return | TYPE BAPIRETURN1 , |
| ld_employeenumber | TYPE BAPIBEN_OA-PERSON_NO , |
| it_credit_selection | TYPE STANDARD TABLE OF BAPIBEN_S1 , |
| wa_credit_selection | LIKE LINE OF it_credit_selection, |
| ld_nocommit | TYPE BAPI_STAND-NO_COMMIT , |
| it_health_selection | TYPE STANDARD TABLE OF BAPIBEN_SA , |
| wa_health_selection | LIKE LINE OF it_health_selection, |
| it_insurance_selection | TYPE STANDARD TABLE OF BAPIBEN_SB , |
| wa_insurance_selection | LIKE LINE OF it_insurance_selection, |
| it_savings_selection | TYPE STANDARD TABLE OF BAPIBEN_SC , |
| wa_savings_selection | LIKE LINE OF it_savings_selection, |
| it_spending_selection | TYPE STANDARD TABLE OF BAPIBEN_SD , |
| wa_spending_selection | LIKE LINE OF it_spending_selection, |
| it_miscel_selection | TYPE STANDARD TABLE OF BAPIBEN_SE , |
| wa_miscel_selection | LIKE LINE OF it_miscel_selection, |
| it_stockp_selection | TYPE STANDARD TABLE OF BAPIBEN_SF , |
| wa_stockp_selection | LIKE LINE OF it_stockp_selection. |
This function module is used as the basis for the BAPI method
EmployeeBenefit.DeletePlans.
...See here for full SAP fm documentation
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 BAPI_BEN_BUS3029_DELETE_PLANS or its description.
BAPI_BEN_BUS3029_DELETE_PLANS - Cancel EE enrollment BAPI_BEN_BUS3029_CREATE_PLANS - Enroll employee BAPI_BEN_BUS3029_CHECK_SELECT - Consistency Check BAPI_BEN_BUS302907_GET_POS_BEN - Possible beneficiaries for stock purchase plans BAPI_BEN_BUS302907_GET_BEN - Beneficiaries for stock purchase plans BAPI_BEN_BUS302906_GET_POS_INV - Possible investments for miscellaneous plans