PM_MPLAN_SET_DELETE_FLAG 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 PM_MPLAN_SET_DELETE_FLAG into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
IPML
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'PM_MPLAN_SET_DELETE_FLAG' "
* EXPORTING
* i_package_size = 10 " sy-tabix
* i_test = 'X' "
* i_check_plan_in_equi = "
IMPORTING
no_selection_given = "
more_documents_to_archive = "
count_mplan = " sy-tabix
count_warpl_in_equi = " sy-tabix
count_call_non_confirmed = " sy-tabix
count_no_enqueue = " sy-tabix
count_no_authority = " sy-tabix
count_status_changed = " sy-tabix
TABLES
i_warpl = " ipml_rwarpl
i_mptyp = " ipml_rmptyp
i_strat = " ipml_rstrat
i_equnr = " ipml_requnr
i_tplnr = " ipml_rtplnr
i_kdauf = " ipml_rkdauf
i_kdpos = " ipml_rkdpos
. " PM_MPLAN_SET_DELETE_FLAG
The ABAP code below is a full code listing to execute function module PM_MPLAN_SET_DELETE_FLAG 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_no_selection_given | TYPE STRING , |
| ld_more_documents_to_archive | TYPE STRING , |
| ld_count_mplan | TYPE SY-TABIX , |
| ld_count_warpl_in_equi | TYPE SY-TABIX , |
| ld_count_call_non_confirmed | TYPE SY-TABIX , |
| ld_count_no_enqueue | TYPE SY-TABIX , |
| ld_count_no_authority | TYPE SY-TABIX , |
| ld_count_status_changed | TYPE SY-TABIX , |
| it_i_warpl | TYPE STANDARD TABLE OF IPML_RWARPL,"TABLES PARAM |
| wa_i_warpl | LIKE LINE OF it_i_warpl , |
| it_i_mptyp | TYPE STANDARD TABLE OF IPML_RMPTYP,"TABLES PARAM |
| wa_i_mptyp | LIKE LINE OF it_i_mptyp , |
| it_i_strat | TYPE STANDARD TABLE OF IPML_RSTRAT,"TABLES PARAM |
| wa_i_strat | LIKE LINE OF it_i_strat , |
| it_i_equnr | TYPE STANDARD TABLE OF IPML_REQUNR,"TABLES PARAM |
| wa_i_equnr | LIKE LINE OF it_i_equnr , |
| it_i_tplnr | TYPE STANDARD TABLE OF IPML_RTPLNR,"TABLES PARAM |
| wa_i_tplnr | LIKE LINE OF it_i_tplnr , |
| it_i_kdauf | TYPE STANDARD TABLE OF IPML_RKDAUF,"TABLES PARAM |
| wa_i_kdauf | LIKE LINE OF it_i_kdauf , |
| it_i_kdpos | TYPE STANDARD TABLE OF IPML_RKDPOS,"TABLES PARAM |
| wa_i_kdpos | LIKE LINE OF it_i_kdpos . |
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_no_selection_given | TYPE STRING , |
| ld_i_package_size | TYPE SY-TABIX , |
| it_i_warpl | TYPE STANDARD TABLE OF IPML_RWARPL , |
| wa_i_warpl | LIKE LINE OF it_i_warpl, |
| ld_more_documents_to_archive | TYPE STRING , |
| ld_i_test | TYPE STRING , |
| it_i_mptyp | TYPE STANDARD TABLE OF IPML_RMPTYP , |
| wa_i_mptyp | LIKE LINE OF it_i_mptyp, |
| ld_count_mplan | TYPE SY-TABIX , |
| ld_i_check_plan_in_equi | TYPE STRING , |
| it_i_strat | TYPE STANDARD TABLE OF IPML_RSTRAT , |
| wa_i_strat | LIKE LINE OF it_i_strat, |
| ld_count_warpl_in_equi | TYPE SY-TABIX , |
| it_i_equnr | TYPE STANDARD TABLE OF IPML_REQUNR , |
| wa_i_equnr | LIKE LINE OF it_i_equnr, |
| ld_count_call_non_confirmed | TYPE SY-TABIX , |
| it_i_tplnr | TYPE STANDARD TABLE OF IPML_RTPLNR , |
| wa_i_tplnr | LIKE LINE OF it_i_tplnr, |
| ld_count_no_enqueue | TYPE SY-TABIX , |
| it_i_kdauf | TYPE STANDARD TABLE OF IPML_RKDAUF , |
| wa_i_kdauf | LIKE LINE OF it_i_kdauf, |
| ld_count_no_authority | TYPE SY-TABIX , |
| it_i_kdpos | TYPE STANDARD TABLE OF IPML_RKDPOS , |
| wa_i_kdpos | LIKE LINE OF it_i_kdpos, |
| ld_count_status_changed | TYPE SY-TABIX . |
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 PM_MPLAN_SET_DELETE_FLAG or its description.