SAP PDV_MASS_CHANGE_DATA Function Module for Subsequent Change to Selection
PDV_MASS_CHANGE_DATA is a standard pdv mass change data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Subsequent Change to Selection processing and below is the pattern details for this FM, 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 pdv mass change data FM, simply by entering the name PDV_MASS_CHANGE_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: PDV_MASS
Program Name: SAPLPDV_MASS
Main Program: SAPLPDV_MASS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PDV_MASS_CHANGE_DATA 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 'PDV_MASS_CHANGE_DATA'"Subsequent Change to Selection.
EXPORTING
SELDATA = "
TABLES
* SPDV_MASS_ACT = "Aktivität
* SPDV_MASS_ACT_ASS = "Zuordnungsbeziehung
* SPDV_MASS_ACT_SEQ = "Sequenzbeziehung
* SPDV_MASS_MOD = "Modud
* SPDV_MASS_OPR = "Vorgang
* SPDV_MASS_PDV = "Produktionsversion
* SPDV_MASS_ROUTING = "Arbeitsplan
* SPDV_MASS_SECRES = "Sekundärresource
* SPDV_MASS_VAR = "Variante
IMPORTING Parameters details for PDV_MASS_CHANGE_DATA
SELDATA -
Data type:Optional: No
Call by Reference: Yes
TABLES Parameters details for PDV_MASS_CHANGE_DATA
SPDV_MASS_ACT - Aktivität
Data type: PDV_MASS_ACTOptional: Yes
Call by Reference: Yes
SPDV_MASS_ACT_ASS - Zuordnungsbeziehung
Data type: PDV_MASS_ACT_ASSOptional: Yes
Call by Reference: Yes
SPDV_MASS_ACT_SEQ - Sequenzbeziehung
Data type: PDV_MASS_ACT_SEQOptional: Yes
Call by Reference: Yes
SPDV_MASS_MOD - Modud
Data type: PDV_MASS_MODOptional: Yes
Call by Reference: Yes
SPDV_MASS_OPR - Vorgang
Data type: PDV_MASS_OPROptional: Yes
Call by Reference: Yes
SPDV_MASS_PDV - Produktionsversion
Data type: PDV_MASS_PDVOptional: Yes
Call by Reference: Yes
SPDV_MASS_ROUTING - Arbeitsplan
Data type: PDV_MASS_ROUTINGOptional: Yes
Call by Reference: Yes
SPDV_MASS_SECRES - Sekundärresource
Data type: PDV_MASS_SECRESOptional: Yes
Call by Reference: Yes
SPDV_MASS_VAR - Variante
Data type: PDV_MASS_VAROptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for PDV_MASS_CHANGE_DATA 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_seldata | TYPE STRING, " | |||
| lt_spdv_mass_act | TYPE STANDARD TABLE OF PDV_MASS_ACT, " | |||
| lt_spdv_mass_act_ass | TYPE STANDARD TABLE OF PDV_MASS_ACT_ASS, " | |||
| lt_spdv_mass_act_seq | TYPE STANDARD TABLE OF PDV_MASS_ACT_SEQ, " | |||
| lt_spdv_mass_mod | TYPE STANDARD TABLE OF PDV_MASS_MOD, " | |||
| lt_spdv_mass_opr | TYPE STANDARD TABLE OF PDV_MASS_OPR, " | |||
| lt_spdv_mass_pdv | TYPE STANDARD TABLE OF PDV_MASS_PDV, " | |||
| lt_spdv_mass_routing | TYPE STANDARD TABLE OF PDV_MASS_ROUTING, " | |||
| lt_spdv_mass_secres | TYPE STANDARD TABLE OF PDV_MASS_SECRES, " | |||
| lt_spdv_mass_var | TYPE STANDARD TABLE OF PDV_MASS_VAR. " |
|   CALL FUNCTION 'PDV_MASS_CHANGE_DATA' "Subsequent Change to Selection |
| EXPORTING | ||
| SELDATA | = lv_seldata | |
| TABLES | ||
| SPDV_MASS_ACT | = lt_spdv_mass_act | |
| SPDV_MASS_ACT_ASS | = lt_spdv_mass_act_ass | |
| SPDV_MASS_ACT_SEQ | = lt_spdv_mass_act_seq | |
| SPDV_MASS_MOD | = lt_spdv_mass_mod | |
| SPDV_MASS_OPR | = lt_spdv_mass_opr | |
| SPDV_MASS_PDV | = lt_spdv_mass_pdv | |
| SPDV_MASS_ROUTING | = lt_spdv_mass_routing | |
| SPDV_MASS_SECRES | = lt_spdv_mass_secres | |
| SPDV_MASS_VAR | = lt_spdv_mass_var | |
| . " PDV_MASS_CHANGE_DATA | ||
ABAP code using 7.40 inline data declarations to call FM PDV_MASS_CHANGE_DATA
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.Search for further information about these or an SAP related objects