SAP SIPT_GET_MASTER_DATA_DOC_FI Function Module for Signature PT: Get Master Data from FI Document









SIPT_GET_MASTER_DATA_DOC_FI is a standard sipt get master data doc fi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Signature PT: Get Master Data from FI Document 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 sipt get master data doc fi FM, simply by entering the name SIPT_GET_MASTER_DATA_DOC_FI into the relevant SAP transaction such as SE37 or SE38.

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



Function SIPT_GET_MASTER_DATA_DOC_FI 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 'SIPT_GET_MASTER_DATA_DOC_FI'"Signature PT: Get Master Data from FI Document
EXPORTING
IV_BELNR = "Accounting Document Number
IV_BUKRS = "Company Code
IV_GJAHR = "Fiscal Year
* IS_SIPT_BKPF = "Portugal: Digital Signature for Accounting Documents
* IT_BSEG_SIPT_BKPF = "Table Type for BSEG
* IV_SPRAS = "Language Key
* IV_NATION = "Version ID for International Addresses

IMPORTING
ET_MATNR = "Signature PT: Table Type of Table SIPT_HIST_MATNR
ET_KUNNR = "Signature PT: Table Type of Table SIPT_HIST_KUNNR

EXCEPTIONS
NO_SIGNATURE_DATA = 1 NO_SPRAS_DATA = 2 NO_NATION_DATA = 3 NO_SPRAS_AND_NO_NATION_DATA = 4 ERROR = 5
.



IMPORTING Parameters details for SIPT_GET_MASTER_DATA_DOC_FI

IV_BELNR - Accounting Document Number

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

IV_BUKRS - Company Code

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

IV_GJAHR - Fiscal Year

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

IS_SIPT_BKPF - Portugal: Digital Signature for Accounting Documents

Data type: SIPT_BKPF
Optional: Yes
Call by Reference: Yes

IT_BSEG_SIPT_BKPF - Table Type for BSEG

Data type: BSEG_T
Optional: Yes
Call by Reference: Yes

IV_SPRAS - Language Key

Data type: SPRAS
Optional: Yes
Call by Reference: Yes

IV_NATION - Version ID for International Addresses

Data type: AD_NATION
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for SIPT_GET_MASTER_DATA_DOC_FI

ET_MATNR - Signature PT: Table Type of Table SIPT_HIST_MATNR

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

ET_KUNNR - Signature PT: Table Type of Table SIPT_HIST_KUNNR

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

EXCEPTIONS details

NO_SIGNATURE_DATA - Document Not Signed

Data type:
Optional: No
Call by Reference: Yes

NO_SPRAS_DATA - Valid version does not contain data for requested language

Data type:
Optional: No
Call by Reference: Yes

NO_NATION_DATA - Valid version does not contain data for requested international address version

Data type:
Optional: No
Call by Reference: Yes

NO_SPRAS_AND_NO_NATION_DATA - Valid version does not contain data for requested address version and lang. key

Data type:
Optional: No
Call by Reference: Yes

ERROR - Incorrect data in interface or internal error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SIPT_GET_MASTER_DATA_DOC_FI 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_et_matnr  TYPE SIPT_T_HIST_MATNR, "   
lv_iv_belnr  TYPE BELNR_D, "   
lv_no_signature_data  TYPE BELNR_D, "   
lv_et_kunnr  TYPE SIPT_T_HIST_KUNNR, "   
lv_iv_bukrs  TYPE BUKRS, "   
lv_no_spras_data  TYPE BUKRS, "   
lv_iv_gjahr  TYPE GJAHR, "   
lv_no_nation_data  TYPE GJAHR, "   
lv_is_sipt_bkpf  TYPE SIPT_BKPF, "   
lv_no_spras_and_no_nation_data  TYPE SIPT_BKPF, "   
lv_error  TYPE SIPT_BKPF, "   
lv_it_bseg_sipt_bkpf  TYPE BSEG_T, "   
lv_iv_spras  TYPE SPRAS, "   
lv_iv_nation  TYPE AD_NATION. "   

  CALL FUNCTION 'SIPT_GET_MASTER_DATA_DOC_FI'  "Signature PT: Get Master Data from FI Document
    EXPORTING
         IV_BELNR = lv_iv_belnr
         IV_BUKRS = lv_iv_bukrs
         IV_GJAHR = lv_iv_gjahr
         IS_SIPT_BKPF = lv_is_sipt_bkpf
         IT_BSEG_SIPT_BKPF = lv_it_bseg_sipt_bkpf
         IV_SPRAS = lv_iv_spras
         IV_NATION = lv_iv_nation
    IMPORTING
         ET_MATNR = lv_et_matnr
         ET_KUNNR = lv_et_kunnr
    EXCEPTIONS
        NO_SIGNATURE_DATA = 1
        NO_SPRAS_DATA = 2
        NO_NATION_DATA = 3
        NO_SPRAS_AND_NO_NATION_DATA = 4
        ERROR = 5
. " SIPT_GET_MASTER_DATA_DOC_FI




ABAP code using 7.40 inline data declarations to call FM SIPT_GET_MASTER_DATA_DOC_FI

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!