SAP SIPT_GET_MASTER_DATA_DOCS_SD Function Module for Signature PT: Get Master Data from SD Documents
SIPT_GET_MASTER_DATA_DOCS_SD is a standard sipt get master data docs sd 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 SD Documents 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 docs sd FM, simply by entering the name SIPT_GET_MASTER_DATA_DOCS_SD into the relevant SAP transaction such as SE37 or SE38.
Function Group: SIPT_DATA_SD
Program Name: SAPLSIPT_DATA_SD
Main Program: SAPLSIPT_DATA_SD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SIPT_GET_MASTER_DATA_DOCS_SD 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_DOCS_SD'"Signature PT: Get Master Data from SD Documents.
EXPORTING
IT_KUNNR_DOC_SD = "Signature PT: Table Type KUNNR in SD Document
IT_MATNR_DOC_SD = "Signature PT: Table Type MATNR in SD Document
* IT_SIPT_VBRK = "Signature Portugal: Table Type of SIPT_VBRK
* IV_NATION = "Version ID for International Addresses
* IV_SPRAS = "Language Key
IMPORTING
ET_UNSIGNED_DOCUMENTS = "Signature PT: Table Type SD Document Key
ET_DOCUMENT_VER_KUNNR = "Signature PT: Table Type of Customer Version Data in SD Doc.
ET_DOCUMENT_VER_MATNR = "Signature PT: Table Type of Customer Version Data in SD Doc.
ET_KUNNR = "Signature PT: Sorted Table Type of KUNNR History Data
ET_MATNR = "Signature PT: Sorted Table Type of MATNR History Data
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for SIPT_GET_MASTER_DATA_DOCS_SD
IT_KUNNR_DOC_SD - Signature PT: Table Type KUNNR in SD Document
Data type: SIPT_T_KUNNR_DOC_SDOptional: No
Call by Reference: Yes
IT_MATNR_DOC_SD - Signature PT: Table Type MATNR in SD Document
Data type: SIPT_T_MATNR_DOC_SDOptional: No
Call by Reference: Yes
IT_SIPT_VBRK - Signature Portugal: Table Type of SIPT_VBRK
Data type: SIPT_T_VBRKOptional: Yes
Call by Reference: Yes
IV_NATION - Version ID for International Addresses
Data type: AD_NATIONOptional: Yes
Call by Reference: Yes
IV_SPRAS - Language Key
Data type: SPRASOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SIPT_GET_MASTER_DATA_DOCS_SD
ET_UNSIGNED_DOCUMENTS - Signature PT: Table Type SD Document Key
Data type: SIPT_T_KEY_DOC_SDOptional: No
Call by Reference: Yes
ET_DOCUMENT_VER_KUNNR - Signature PT: Table Type of Customer Version Data in SD Doc.
Data type: SIPT_T_VER_KUNNR_DOC_SDOptional: No
Call by Reference: Yes
ET_DOCUMENT_VER_MATNR - Signature PT: Table Type of Customer Version Data in SD Doc.
Data type: SIPT_T_VER_MATNR_DOC_SDOptional: No
Call by Reference: Yes
ET_KUNNR - Signature PT: Sorted Table Type of KUNNR History Data
Data type: SIPT_T_HIST_KUNNR_SORTEDOptional: No
Call by Reference: Yes
ET_MATNR - Signature PT: Sorted Table Type of MATNR History Data
Data type: SIPT_T_HIST_MATNR_SORTEDOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR - Fatal error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SIPT_GET_MASTER_DATA_DOCS_SD 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_error | TYPE STRING, " | |||
| lv_it_kunnr_doc_sd | TYPE SIPT_T_KUNNR_DOC_SD, " | |||
| lv_et_unsigned_documents | TYPE SIPT_T_KEY_DOC_SD, " | |||
| lv_it_matnr_doc_sd | TYPE SIPT_T_MATNR_DOC_SD, " | |||
| lv_et_document_ver_kunnr | TYPE SIPT_T_VER_KUNNR_DOC_SD, " | |||
| lv_it_sipt_vbrk | TYPE SIPT_T_VBRK, " | |||
| lv_et_document_ver_matnr | TYPE SIPT_T_VER_MATNR_DOC_SD, " | |||
| lv_et_kunnr | TYPE SIPT_T_HIST_KUNNR_SORTED, " | |||
| lv_iv_nation | TYPE AD_NATION, " | |||
| lv_et_matnr | TYPE SIPT_T_HIST_MATNR_SORTED, " | |||
| lv_iv_spras | TYPE SPRAS. " |
|   CALL FUNCTION 'SIPT_GET_MASTER_DATA_DOCS_SD' "Signature PT: Get Master Data from SD Documents |
| EXPORTING | ||
| IT_KUNNR_DOC_SD | = lv_it_kunnr_doc_sd | |
| IT_MATNR_DOC_SD | = lv_it_matnr_doc_sd | |
| IT_SIPT_VBRK | = lv_it_sipt_vbrk | |
| IV_NATION | = lv_iv_nation | |
| IV_SPRAS | = lv_iv_spras | |
| IMPORTING | ||
| ET_UNSIGNED_DOCUMENTS | = lv_et_unsigned_documents | |
| ET_DOCUMENT_VER_KUNNR | = lv_et_document_ver_kunnr | |
| ET_DOCUMENT_VER_MATNR | = lv_et_document_ver_matnr | |
| ET_KUNNR | = lv_et_kunnr | |
| ET_MATNR | = lv_et_matnr | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " SIPT_GET_MASTER_DATA_DOCS_SD | ||
ABAP code using 7.40 inline data declarations to call FM SIPT_GET_MASTER_DATA_DOCS_SD
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