SAP BAPI_ISOURCE_MD_T_SEND_BIN Function Module for Sends Text Data to a Transfer InfoSource for Master Data (Binary)









BAPI_ISOURCE_MD_T_SEND_BIN is a standard bapi isource md t send bin SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Sends Text Data to a Transfer InfoSource for Master Data (Binary) 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 bapi isource md t send bin FM, simply by entering the name BAPI_ISOURCE_MD_T_SEND_BIN into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSAB
Program Name: SAPLRSAB
Main Program: SAPLRSAB
Appliation area: B
Release date: 02-Mar-2005
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_ISOURCE_MD_T_SEND_BIN 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 'BAPI_ISOURCE_MD_T_SEND_BIN'"Sends Text Data to a Transfer InfoSource for Master Data (Binary)
EXPORTING
REQUESTID = "Number of the data request
PACKETNUMBER = "Current Data Package Number
LASTPACKET = "Flag: Last Data Package
SELECTIONDATE = "Data selection date
SELECTIONTIME = "Time of the data selection
EXTRACTIONERROR = "Error message for the data extraction

IMPORTING
RETURN = "BAPI Return Parameter

TABLES
DATA = "Data - Data Record with Continuation Indicator
.



IMPORTING Parameters details for BAPI_ISOURCE_MD_T_SEND_BIN

REQUESTID - Number of the data request

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

PACKETNUMBER - Current Data Package Number

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

LASTPACKET - Flag: Last Data Package

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

SELECTIONDATE - Data selection date

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

SELECTIONTIME - Time of the data selection

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

EXTRACTIONERROR - Error message for the data extraction

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

EXPORTING Parameters details for BAPI_ISOURCE_MD_T_SEND_BIN

RETURN - BAPI Return Parameter

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

TABLES Parameters details for BAPI_ISOURCE_MD_T_SEND_BIN

DATA - Data - Data Record with Continuation Indicator

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

Copy and paste ABAP code example for BAPI_ISOURCE_MD_T_SEND_BIN 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:
lt_data  TYPE STANDARD TABLE OF BAPI6100DARAW, "   
lv_return  TYPE BAPIRET2, "   
lv_requestid  TYPE BAPI6107DP-REQUEST, "   
lv_packetnumber  TYPE BAPI6107DP-PACKETNUMBER, "   
lv_lastpacket  TYPE BAPI6107DP-LASTPACKET, "   
lv_selectiondate  TYPE BAPI6107DP-SELECTIONDATE, "   
lv_selectiontime  TYPE BAPI6107DP-SELECTIONTIME, "   
lv_extractionerror  TYPE BAPIRET2. "   

  CALL FUNCTION 'BAPI_ISOURCE_MD_T_SEND_BIN'  "Sends Text Data to a Transfer InfoSource for Master Data (Binary)
    EXPORTING
         REQUESTID = lv_requestid
         PACKETNUMBER = lv_packetnumber
         LASTPACKET = lv_lastpacket
         SELECTIONDATE = lv_selectiondate
         SELECTIONTIME = lv_selectiontime
         EXTRACTIONERROR = lv_extractionerror
    IMPORTING
         RETURN = lv_return
    TABLES
         DATA = lt_data
. " BAPI_ISOURCE_MD_T_SEND_BIN




ABAP code using 7.40 inline data declarations to call FM BAPI_ISOURCE_MD_T_SEND_BIN

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.

 
 
"SELECT single REQUEST FROM BAPI6107DP INTO @DATA(ld_requestid).
 
"SELECT single PACKETNUMBER FROM BAPI6107DP INTO @DATA(ld_packetnumber).
 
"SELECT single LASTPACKET FROM BAPI6107DP INTO @DATA(ld_lastpacket).
 
"SELECT single SELECTIONDATE FROM BAPI6107DP INTO @DATA(ld_selectiondate).
 
"SELECT single SELECTIONTIME FROM BAPI6107DP INTO @DATA(ld_selectiontime).
 
 


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!