SAP BAPI_ATTRIBUT_SENDLIST Function Module for









BAPI_ATTRIBUT_SENDLIST is a standard bapi attribut sendlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 attribut sendlist FM, simply by entering the name BAPI_ATTRIBUT_SENDLIST into the relevant SAP transaction such as SE37 or SE38.

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



Function BAPI_ATTRIBUT_SENDLIST 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_ATTRIBUT_SENDLIST'"
EXPORTING
* STRUCTURNAME = "Name of Structure
* ROLLBACK_ON_ERROR = ' ' "Single-Character Flag
DOCU' ' = "Document Area
* FASTENTRY = ' ' "Single-Character Flag
* GETSTRUCTURE = ' ' "Single-Character Flag
* GETFULLSTRUCTURE = ' ' "Single-Character Flag
* IGNORE_HEADER = ' ' "Single-Character Flag
COMMIT_COUNT = "Numerical field (length 8)
* NO_OF_COLUMNS = "Numerical field (length 8)
* FUNCTION = 'C' "Single-Character Flag

IMPORTING
RETURN = "Return Code

TABLES
ATTRIBUTS = "Table with barcode entries
.



IMPORTING Parameters details for BAPI_ATTRIBUT_SENDLIST

STRUCTURNAME - Name of Structure

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

ROLLBACK_ON_ERROR - Single-Character Flag

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

DOCUSPACE - Document Area

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

FASTENTRY - Single-Character Flag

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

GETSTRUCTURE - Single-Character Flag

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

GETFULLSTRUCTURE - Single-Character Flag

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

IGNORE_HEADER - Single-Character Flag

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

COMMIT_COUNT - Numerical field (length 8)

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

NO_OF_COLUMNS - Numerical field (length 8)

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

FUNCTION - Single-Character Flag

Data type: CHAR1
Default: 'C'
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BAPI_ATTRIBUT_SENDLIST

RETURN - Return Code

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

TABLES Parameters details for BAPI_ATTRIBUT_SENDLIST

ATTRIBUTS - Table with barcode entries

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

Copy and paste ABAP code example for BAPI_ATTRIBUT_SENDLIST 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_return  TYPE BAPIRET2, "   
lt_attributs  TYPE STANDARD TABLE OF OAATTTAB, "   
lv_structurname  TYPE STRUKNAME, "   
lv_rollback_on_error  TYPE CHAR1, "   ' '
lv_docuspace  TYPE SDOK_DOCSP, "   
lv_fastentry  TYPE CHAR1, "   SPACE
lv_getstructure  TYPE CHAR1, "   SPACE
lv_getfullstructure  TYPE CHAR1, "   SPACE
lv_ignore_header  TYPE CHAR1, "   SPACE
lv_commit_count  TYPE I, "   
lv_no_of_columns  TYPE I, "   
lv_function  TYPE CHAR1. "   'C'

  CALL FUNCTION 'BAPI_ATTRIBUT_SENDLIST'  "
    EXPORTING
         STRUCTURNAME = lv_structurname
         ROLLBACK_ON_ERROR = lv_rollback_on_error
         DOCUSPACE = lv_docuspace
         FASTENTRY = lv_fastentry
         GETSTRUCTURE = lv_getstructure
         GETFULLSTRUCTURE = lv_getfullstructure
         IGNORE_HEADER = lv_ignore_header
         COMMIT_COUNT = lv_commit_count
         NO_OF_COLUMNS = lv_no_of_columns
         FUNCTION = lv_function
    IMPORTING
         RETURN = lv_return
    TABLES
         ATTRIBUTS = lt_attributs
. " BAPI_ATTRIBUT_SENDLIST




ABAP code using 7.40 inline data declarations to call FM BAPI_ATTRIBUT_SENDLIST

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.

 
 
 
DATA(ld_rollback_on_error) = ' '.
 
 
DATA(ld_fastentry) = ' '.
 
DATA(ld_getstructure) = ' '.
 
DATA(ld_getfullstructure) = ' '.
 
DATA(ld_ignore_header) = ' '.
 
 
 
DATA(ld_function) = 'C'.
 


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!