SAP ADSPC_BUSFUNC_TFILE_TAB Function Module for SPEC2000: Detailed Business Checks for S File









ADSPC_BUSFUNC_TFILE_TAB is a standard adspc busfunc tfile tab SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SPEC2000: Detailed Business Checks for S File 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 busfunc tfile tab FM, simply by entering the name ADSPC_BUSFUNC_TFILE_TAB into the relevant SAP transaction such as SE37 or SE38.

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



Function ADSPC_BUSFUNC_TFILE_TAB 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_BUSFUNC_TFILE_TAB'"SPEC2000:  Detailed Business Checks for S File
TABLES
T_SPCIPHDR = "SPEC2000: Stores header information for IP data
T_SPCIPUOA = "Used On Assemblies
T_SPCIPPQA = "Price Break - Quantity & Amount
T_MESSAGE = "
T_SPCIPPDR = "SPEC2000: Part Number Segment / End Item Segment
T_SPCIPPDS = "SPEC2000: Procurement Data Segment
T_SPCIPCSN = "SPEC2000: Line Maintenance Seg / Component Breakdown Seg
T_SPCIPOSDS = "Optional Suppliers and Distributors
T_SPCIPEFF = "Effectivity Range
T_SPCIPOCH = "Other Charges - Code & Amount
T_SPCIPRPDE = "Replacing Parts / Replaced Parts
T_SPCIPPARTS = "Other parts that can be used

EXCEPTIONS
REJECT = 1
.



TABLES Parameters details for ADSPC_BUSFUNC_TFILE_TAB

T_SPCIPHDR - SPEC2000: Stores header information for IP data

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

T_SPCIPUOA - Used On Assemblies

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

T_SPCIPPQA - Price Break - Quantity & Amount

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

T_MESSAGE -

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

T_SPCIPPDR - SPEC2000: Part Number Segment / End Item Segment

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

T_SPCIPPDS - SPEC2000: Procurement Data Segment

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

T_SPCIPCSN - SPEC2000: Line Maintenance Seg / Component Breakdown Seg

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

T_SPCIPOSDS - Optional Suppliers and Distributors

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

T_SPCIPEFF - Effectivity Range

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

T_SPCIPOCH - Other Charges - Code & Amount

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

T_SPCIPRPDE - Replacing Parts / Replaced Parts

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

T_SPCIPPARTS - Other parts that can be used

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

EXCEPTIONS details

REJECT - Rejection of Transmission

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

Copy and paste ABAP code example for ADSPC_BUSFUNC_TFILE_TAB 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_reject  TYPE STRING, "   
lt_t_spciphdr  TYPE STANDARD TABLE OF SPCIPHDR, "   
lt_t_spcipuoa  TYPE STANDARD TABLE OF SPCIPUOA, "   
lt_t_spcippqa  TYPE STANDARD TABLE OF SPCIPPQA, "   
lt_t_message  TYPE STANDARD TABLE OF SPCIPPQA, "   
lt_t_spcippdr  TYPE STANDARD TABLE OF SPCIPPDR, "   
lt_t_spcippds  TYPE STANDARD TABLE OF SPCIPPDS, "   
lt_t_spcipcsn  TYPE STANDARD TABLE OF SPCIPCSN, "   
lt_t_spciposds  TYPE STANDARD TABLE OF SPCIPOSDS, "   
lt_t_spcipeff  TYPE STANDARD TABLE OF SPCIPEFF, "   
lt_t_spcipoch  TYPE STANDARD TABLE OF SPCIPOCH, "   
lt_t_spciprpde  TYPE STANDARD TABLE OF SPCIPRPDE, "   
lt_t_spcipparts  TYPE STANDARD TABLE OF SPCIPPARTS. "   

  CALL FUNCTION 'ADSPC_BUSFUNC_TFILE_TAB'  "SPEC2000: Detailed Business Checks for S File
    TABLES
         T_SPCIPHDR = lt_t_spciphdr
         T_SPCIPUOA = lt_t_spcipuoa
         T_SPCIPPQA = lt_t_spcippqa
         T_MESSAGE = lt_t_message
         T_SPCIPPDR = lt_t_spcippdr
         T_SPCIPPDS = lt_t_spcippds
         T_SPCIPCSN = lt_t_spcipcsn
         T_SPCIPOSDS = lt_t_spciposds
         T_SPCIPEFF = lt_t_spcipeff
         T_SPCIPOCH = lt_t_spcipoch
         T_SPCIPRPDE = lt_t_spciprpde
         T_SPCIPPARTS = lt_t_spcipparts
    EXCEPTIONS
        REJECT = 1
. " ADSPC_BUSFUNC_TFILE_TAB




ABAP code using 7.40 inline data declarations to call FM ADSPC_BUSFUNC_TFILE_TAB

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!