SAP DPSPP_RFC_REFRESH_ALL Function Module for Dealer Portal Spare Parts : Refresh all data









DPSPP_RFC_REFRESH_ALL is a standard dpspp rfc refresh all SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Dealer Portal Spare Parts : Refresh all data 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 dpspp rfc refresh all FM, simply by entering the name DPSPP_RFC_REFRESH_ALL into the relevant SAP transaction such as SE37 or SE38.

Function Group: DP_SPP_RFC
Program Name: SAPLDP_SPP_RFC
Main Program: SAPLDP_SPP_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function DPSPP_RFC_REFRESH_ALL 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 'DPSPP_RFC_REFRESH_ALL'"Dealer Portal Spare Parts : Refresh all data
EXPORTING
* IS_HEADER = "Lean Order - Header Data
* IT_HEAD_TEXT = "Dealer Portal Spare Parts: Table type for TDS_TEXT_COM
* IT_ITEM_TEXT = "Dealer Portal Spare Parts: Table type for TDS_TEXT_COM
* IS_HEAD_TEXT_COMX = "Lean Order - Texts (CHAR)
* IS_ITEM_TEXT_COMX = "Lean Order - Texts (CHAR)
* IS_HEAD_COMX = "Lean Order - Header Data (CHAR)
* IT_ITEM = "Dealer Portal Spare Parts: Table type for TDS_ITEM_COM
* IS_ITEM_COMX = "Lean Order - Item Data
* IV_ACTUAL_LINE_INDEX = "Natural number
* IS_PARTY_BILLTO = "Lean Order - Partner Data
* IS_PARTY_BILLTO_COMX = "Lean Order - Partner Data (CHAR)
* IS_PARTY_SHIPTO = "Lean Order - Partner Data
* IS_PARTY_SHIPTO_COMX = "Lean Order - Partner Data (CHAR)

IMPORTING
ET_DELIVERIES = "Table type SD document: Delivery: Header data
EV_FULL_EMPTY_ROW_COUNT = "Natural number
ET_ORD_HEAD_TEXT = "Dealer Portal Spare Parts: Table type for TDS_TEXT_COM
ET_ORD_ITEM_TEXT = "Dealer Portal Spare Parts: Table type for TDS_TEXT_COM
ET_ORD_ALL_ITEM_TEXT = "Dealer Portal Spare Parts: Table type for TDS_TEXT_COM
ET_INVOICES = "TABLE VBRK
ES_ORD_HEAD = "Lean Order - Header Data
ET_ORD_ITEM = "Dealer Portal Spare Parts: Table type for TDS_ITEM_COM
ET_ORD_PARTY = "Dealer Portal Spare Parts: Table type for TDS_PARTY_COM
ET_ORD_SLINE = "Dealer Portal Spare Parts: Table type for TDS_SLINE_COM
ET_ORD_COND = "Dealer Portal Spare Parts: Table type for TDS_COND_COM
ET_MESSAGES = "Return parameter table
ET_MANDATORY_MISSING = "Dealer Portal Spare Parts: Table type for TDS_ITEM_COM
.



IMPORTING Parameters details for DPSPP_RFC_REFRESH_ALL

IS_HEADER - Lean Order - Header Data

Data type: TDS_HEAD_COM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_HEAD_TEXT - Dealer Portal Spare Parts: Table type for TDS_TEXT_COM

Data type: DPSPPT_TEXT_COM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_ITEM_TEXT - Dealer Portal Spare Parts: Table type for TDS_TEXT_COM

Data type: DPSPPT_TEXT_COM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_HEAD_TEXT_COMX - Lean Order - Texts (CHAR)

Data type: TDS_TEXT_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_ITEM_TEXT_COMX - Lean Order - Texts (CHAR)

Data type: TDS_TEXT_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_HEAD_COMX - Lean Order - Header Data (CHAR)

Data type: TDS_HEAD_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_ITEM - Dealer Portal Spare Parts: Table type for TDS_ITEM_COM

Data type: DPSPPT_ITEM_COM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_ITEM_COMX - Lean Order - Item Data

Data type: TDS_ITEM_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ACTUAL_LINE_INDEX - Natural number

Data type: INT4
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_PARTY_BILLTO - Lean Order - Partner Data

Data type: TDS_PARTY_COM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_PARTY_BILLTO_COMX - Lean Order - Partner Data (CHAR)

Data type: TDS_PARTY_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_PARTY_SHIPTO - Lean Order - Partner Data

Data type: TDS_PARTY_COM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_PARTY_SHIPTO_COMX - Lean Order - Partner Data (CHAR)

Data type: TDS_PARTY_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for DPSPP_RFC_REFRESH_ALL

ET_DELIVERIES - Table type SD document: Delivery: Header data

Data type: TAB_LIKP
Optional: No
Call by Reference: No ( called with pass by value option)

EV_FULL_EMPTY_ROW_COUNT - Natural number

Data type: INT4
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ORD_HEAD_TEXT - Dealer Portal Spare Parts: Table type for TDS_TEXT_COM

Data type: DPSPPT_TEXT_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ORD_ITEM_TEXT - Dealer Portal Spare Parts: Table type for TDS_TEXT_COM

Data type: DPSPPT_TEXT_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ORD_ALL_ITEM_TEXT - Dealer Portal Spare Parts: Table type for TDS_TEXT_COM

Data type: DPSPPT_TEXT_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_INVOICES - TABLE VBRK

Data type: DPSPPT_VBRK
Optional: No
Call by Reference: No ( called with pass by value option)

ES_ORD_HEAD - Lean Order - Header Data

Data type: TDS_HEAD_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ORD_ITEM - Dealer Portal Spare Parts: Table type for TDS_ITEM_COM

Data type: DPSPPT_ITEM_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ORD_PARTY - Dealer Portal Spare Parts: Table type for TDS_PARTY_COM

Data type: DPSPPT_PARTY_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ORD_SLINE - Dealer Portal Spare Parts: Table type for TDS_SLINE_COM

Data type: DPSPPT_SLINE_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_ORD_COND - Dealer Portal Spare Parts: Table type for TDS_COND_COM

Data type: DPSPPT_COND_COM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_MESSAGES - Return parameter table

Data type: BAPIRET2_T
Optional: No
Call by Reference: No ( called with pass by value option)

ET_MANDATORY_MISSING - Dealer Portal Spare Parts: Table type for TDS_ITEM_COM

Data type: DPSPPT_ITEM_COM
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DPSPP_RFC_REFRESH_ALL 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_is_header  TYPE TDS_HEAD_COM, "   
lv_et_deliveries  TYPE TAB_LIKP, "   
lv_it_head_text  TYPE DPSPPT_TEXT_COM, "   
lv_ev_full_empty_row_count  TYPE INT4, "   
lv_it_item_text  TYPE DPSPPT_TEXT_COM, "   
lv_et_ord_head_text  TYPE DPSPPT_TEXT_COM, "   
lv_et_ord_item_text  TYPE DPSPPT_TEXT_COM, "   
lv_is_head_text_comx  TYPE TDS_TEXT_COMC, "   
lv_is_item_text_comx  TYPE TDS_TEXT_COMC, "   
lv_et_ord_all_item_text  TYPE DPSPPT_TEXT_COM, "   
lv_et_invoices  TYPE DPSPPT_VBRK, "   
lv_is_head_comx  TYPE TDS_HEAD_COMC, "   
lv_it_item  TYPE DPSPPT_ITEM_COM, "   
lv_es_ord_head  TYPE TDS_HEAD_COM, "   
lv_et_ord_item  TYPE DPSPPT_ITEM_COM, "   
lv_is_item_comx  TYPE TDS_ITEM_COMC, "   
lv_et_ord_party  TYPE DPSPPT_PARTY_COM, "   
lv_iv_actual_line_index  TYPE INT4, "   
lv_et_ord_sline  TYPE DPSPPT_SLINE_COM, "   
lv_is_party_billto  TYPE TDS_PARTY_COM, "   
lv_et_ord_cond  TYPE DPSPPT_COND_COM, "   
lv_is_party_billto_comx  TYPE TDS_PARTY_COMC, "   
lv_et_messages  TYPE BAPIRET2_T, "   
lv_is_party_shipto  TYPE TDS_PARTY_COM, "   
lv_et_mandatory_missing  TYPE DPSPPT_ITEM_COM, "   
lv_is_party_shipto_comx  TYPE TDS_PARTY_COMC. "   

  CALL FUNCTION 'DPSPP_RFC_REFRESH_ALL'  "Dealer Portal Spare Parts : Refresh all data
    EXPORTING
         IS_HEADER = lv_is_header
         IT_HEAD_TEXT = lv_it_head_text
         IT_ITEM_TEXT = lv_it_item_text
         IS_HEAD_TEXT_COMX = lv_is_head_text_comx
         IS_ITEM_TEXT_COMX = lv_is_item_text_comx
         IS_HEAD_COMX = lv_is_head_comx
         IT_ITEM = lv_it_item
         IS_ITEM_COMX = lv_is_item_comx
         IV_ACTUAL_LINE_INDEX = lv_iv_actual_line_index
         IS_PARTY_BILLTO = lv_is_party_billto
         IS_PARTY_BILLTO_COMX = lv_is_party_billto_comx
         IS_PARTY_SHIPTO = lv_is_party_shipto
         IS_PARTY_SHIPTO_COMX = lv_is_party_shipto_comx
    IMPORTING
         ET_DELIVERIES = lv_et_deliveries
         EV_FULL_EMPTY_ROW_COUNT = lv_ev_full_empty_row_count
         ET_ORD_HEAD_TEXT = lv_et_ord_head_text
         ET_ORD_ITEM_TEXT = lv_et_ord_item_text
         ET_ORD_ALL_ITEM_TEXT = lv_et_ord_all_item_text
         ET_INVOICES = lv_et_invoices
         ES_ORD_HEAD = lv_es_ord_head
         ET_ORD_ITEM = lv_et_ord_item
         ET_ORD_PARTY = lv_et_ord_party
         ET_ORD_SLINE = lv_et_ord_sline
         ET_ORD_COND = lv_et_ord_cond
         ET_MESSAGES = lv_et_messages
         ET_MANDATORY_MISSING = lv_et_mandatory_missing
. " DPSPP_RFC_REFRESH_ALL




ABAP code using 7.40 inline data declarations to call FM DPSPP_RFC_REFRESH_ALL

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!