SAP ADSPC_PUT_PARTS_LIST_CMD Function Module for Get list of parts from IP database









ADSPC_PUT_PARTS_LIST_CMD is a standard adspc put parts list cmd SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get list of parts from IP database 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 adspc put parts list cmd FM, simply by entering the name ADSPC_PUT_PARTS_LIST_CMD into the relevant SAP transaction such as SE37 or SE38.

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



Function ADSPC_PUT_PARTS_LIST_CMD 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 'ADSPC_PUT_PARTS_LIST_CMD'"Get list of parts from IP database
EXPORTING
I_PARTS = "Table type: SPEC 2000 IP key fields for master data creation
I_SPCIPEFF = "Table of SPCIPEFF with Change Flag
I_SPCIPUOA = "Table of SPCIPUOA with Change Flag
I_SPCIPRPDE = "Table of SPCIPRPDE with Change Flag
I_SPCIPHDR = "Stores header information for IP data
I_SPCIPPDR = "Table of SPCIPPDR with Change Flag
I_SPCIPPARTS = "Table of SPCIPPARTS with Change Flag
I_SPCIPPDS = "Table of SPCIPPDS with Change Flag
I_SPCIPOSDS = "Table of SPCIPOSDS with Change Flag
I_SPCIPPQA = "Table of SPCIPPQA with Change Flag
I_SPCIPOCH = "Table of SPCIPOCH with Change Flag
I_SPCIPCSN = "Table of SPCIPCSN with Change Flag
.



IMPORTING Parameters details for ADSPC_PUT_PARTS_LIST_CMD

I_PARTS - Table type: SPEC 2000 IP key fields for master data creation

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

I_SPCIPEFF - Table of SPCIPEFF with Change Flag

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

I_SPCIPUOA - Table of SPCIPUOA with Change Flag

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

I_SPCIPRPDE - Table of SPCIPRPDE with Change Flag

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

I_SPCIPHDR - Stores header information for IP data

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

I_SPCIPPDR - Table of SPCIPPDR with Change Flag

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

I_SPCIPPARTS - Table of SPCIPPARTS with Change Flag

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

I_SPCIPPDS - Table of SPCIPPDS with Change Flag

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

I_SPCIPOSDS - Table of SPCIPOSDS with Change Flag

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

I_SPCIPPQA - Table of SPCIPPQA with Change Flag

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

I_SPCIPOCH - Table of SPCIPOCH with Change Flag

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

I_SPCIPCSN - Table of SPCIPCSN with Change Flag

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

Copy and paste ABAP code example for ADSPC_PUT_PARTS_LIST_CMD 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_i_parts  TYPE TTO_ADS2KIPBRO_CMD, "   
lv_i_spcipeff  TYPE TTO_ADSPC_EFF_C, "   
lv_i_spcipuoa  TYPE TTO_ADSPC_UOA_C, "   
lv_i_spciprpde  TYPE TTO_ADSPC_RPDE_C, "   
lv_i_spciphdr  TYPE TTO_SPCIPHDR, "   
lv_i_spcippdr  TYPE TTO_ADSPC_PDR_C, "   
lv_i_spcipparts  TYPE TTO_ADSPC_PARTS_C, "   
lv_i_spcippds  TYPE TTO_ADSPC_PDS_C, "   
lv_i_spciposds  TYPE TTO_ADSPC_OSDS_C, "   
lv_i_spcippqa  TYPE TTO_ADSPC_PQA_C, "   
lv_i_spcipoch  TYPE TTO_ADSPC_OCH_C, "   
lv_i_spcipcsn  TYPE TTO_ADSPC_CSN_C. "   

  CALL FUNCTION 'ADSPC_PUT_PARTS_LIST_CMD'  "Get list of parts from IP database
    EXPORTING
         I_PARTS = lv_i_parts
         I_SPCIPEFF = lv_i_spcipeff
         I_SPCIPUOA = lv_i_spcipuoa
         I_SPCIPRPDE = lv_i_spciprpde
         I_SPCIPHDR = lv_i_spciphdr
         I_SPCIPPDR = lv_i_spcippdr
         I_SPCIPPARTS = lv_i_spcipparts
         I_SPCIPPDS = lv_i_spcippds
         I_SPCIPOSDS = lv_i_spciposds
         I_SPCIPPQA = lv_i_spcippqa
         I_SPCIPOCH = lv_i_spcipoch
         I_SPCIPCSN = lv_i_spcipcsn
. " ADSPC_PUT_PARTS_LIST_CMD




ABAP code using 7.40 inline data declarations to call FM ADSPC_PUT_PARTS_LIST_CMD

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



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!