SAP ALE_SETTREQSLIST_GETLIST Function Module for NOTRANSL: BAPI -> IDoc: ALE_SETTREQSLIST_GETLIST









ALE_SETTREQSLIST_GETLIST is a standard ale settreqslist getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: BAPI -> IDoc: ALE_SETTREQSLIST_GETLIST 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 ale settreqslist getlist FM, simply by entering the name ALE_SETTREQSLIST_GETLIST into the relevant SAP transaction such as SE37 or SE38.

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



Function ALE_SETTREQSLIST_GETLIST 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 'ALE_SETTREQSLIST_GETLIST'"NOTRANSL: BAPI -> IDoc: ALE_SETTREQSLIST_GETLIST
EXPORTING
* MAXLINES = '500' "Maximum Number of Lines
* OBJ_TYPE = 'BUS2100001' "
* SERIAL_ID = '0' "

TABLES
* DOCUMENTNUMBERRANGE = "Document Number
* BILLTYPERANGE = "Billing Type
* DOCDATERANGE = "Document Date
* REFDOCNORANGE = "Reference
* REFDOCNOLONGRANGE = "Reference (Long)
* ALLOCNMBRRANGE = "Assignment
* PAYMTREFRANGE = "Payment Reference
* HEADDATAOUT = "Document Header Data (Output)
* LISTITEMDATAOUT = "Settlement Request List Item Data (Output)
* LISTHEADDATAOUT = "Settlement Request List Header Data (Output)
* ITEMDATAOUT = "Document Item Data (Output)
* VENDORRANGE = "Invoicing Party
* EXTENSIONOUT = "Enhancements (Output)
* HEADTEXTOUT = "Header Texts (Output)
* ITEMTEXTOUT = "Item Texts (Output)
* LISTHEADTEXTOUT = "Header Texts of the Lists (Output)
RECEIVERS = "
* COMMUNICATION_DOCUMENTS = "
* APPLICATION_OBJECTS = "
* PURCHORGRANGE = "Purchasing Organization
* PURGROUPRANGE = "Purchasing Group
* COMPCODERANGE = "Company Code
* BILLDATERANGE = "Posting Date
* INVLISTDATERANGE = "Remuneration List Date
* ACCTSTATUSRANGE = "Posting Status
* PAYTYPERANGE = "Payment Type

EXCEPTIONS
ERROR_CREATING_IDOCS = 1
.



IMPORTING Parameters details for ALE_SETTREQSLIST_GETLIST

MAXLINES - Maximum Number of Lines

Data type: BAPIACGL-MAX_LINES
Default: '500'
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJ_TYPE -

Data type: SERIAL-OBJ_TYPE
Default: 'BUS2100001'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SERIAL_ID -

Data type: SERIAL-CHNUM
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ALE_SETTREQSLIST_GETLIST

DOCUMENTNUMBERRANGE - Document Number

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

BILLTYPERANGE - Billing Type

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

DOCDATERANGE - Document Date

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

REFDOCNORANGE - Reference

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

REFDOCNOLONGRANGE - Reference (Long)

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

ALLOCNMBRRANGE - Assignment

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

PAYMTREFRANGE - Payment Reference

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

HEADDATAOUT - Document Header Data (Output)

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

LISTITEMDATAOUT - Settlement Request List Item Data (Output)

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

LISTHEADDATAOUT - Settlement Request List Header Data (Output)

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

ITEMDATAOUT - Document Item Data (Output)

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

VENDORRANGE - Invoicing Party

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

EXTENSIONOUT - Enhancements (Output)

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

HEADTEXTOUT - Header Texts (Output)

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

ITEMTEXTOUT - Item Texts (Output)

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

LISTHEADTEXTOUT - Header Texts of the Lists (Output)

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

RECEIVERS -

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

COMMUNICATION_DOCUMENTS -

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

APPLICATION_OBJECTS -

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

PURCHORGRANGE - Purchasing Organization

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

PURGROUPRANGE - Purchasing Group

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

COMPCODERANGE - Company Code

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

BILLDATERANGE - Posting Date

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

INVLISTDATERANGE - Remuneration List Date

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

ACCTSTATUSRANGE - Posting Status

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

PAYTYPERANGE - Payment Type

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

EXCEPTIONS details

ERROR_CREATING_IDOCS -

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

Copy and paste ABAP code example for ALE_SETTREQSLIST_GETLIST 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_maxlines  TYPE BAPIACGL-MAX_LINES, "   '500'
lt_documentnumberrange  TYPE STANDARD TABLE OF BAPIACDOCRAN, "   
lv_error_creating_idocs  TYPE BAPIACDOCRAN, "   
lt_billtyperange  TYPE STANDARD TABLE OF BAPI_RANGESLFART, "   
lt_docdaterange  TYPE STANDARD TABLE OF BAPI_RANGESBLDAT, "   
lt_refdocnorange  TYPE STANDARD TABLE OF BAPI_RANGESXBLNR, "   
lt_refdocnolongrange  TYPE STANDARD TABLE OF BAPI_RANGESXBLNR_LONG, "   
lt_allocnmbrrange  TYPE STANDARD TABLE OF BAPI_RANGESZUONR, "   
lt_paymtrefrange  TYPE STANDARD TABLE OF BAPI_RANGESKIDNO, "   
lt_headdataout  TYPE STANDARD TABLE OF BAPISRHEADO, "   
lt_listitemdataout  TYPE STANDARD TABLE OF BAPISLITEMO, "   
lt_listheaddataout  TYPE STANDARD TABLE OF BAPISLLIST, "   
lt_itemdataout  TYPE STANDARD TABLE OF BAPISRITEMO, "   
lv_obj_type  TYPE SERIAL-OBJ_TYPE, "   'BUS2100001'
lt_vendorrange  TYPE STANDARD TABLE OF BAPI_RANGESLIFNR, "   
lt_extensionout  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_headtextout  TYPE STANDARD TABLE OF BAPIABHEADCTEXT, "   
lt_itemtextout  TYPE STANDARD TABLE OF BAPIABITEMCTEXT, "   
lt_listheadtextout  TYPE STANDARD TABLE OF BAPIABLISTTEXT, "   
lt_receivers  TYPE STANDARD TABLE OF BDI_LOGSYS, "   
lt_communication_documents  TYPE STANDARD TABLE OF SWOTOBJID, "   
lt_application_objects  TYPE STANDARD TABLE OF SWOTOBJID, "   
lv_serial_id  TYPE SERIAL-CHNUM, "   '0'
lt_purchorgrange  TYPE STANDARD TABLE OF BAPI_RANGESEKORG, "   
lt_purgrouprange  TYPE STANDARD TABLE OF BAPI_RANGESEKGRP, "   
lt_compcoderange  TYPE STANDARD TABLE OF BAPI_RANGESBUKRS, "   
lt_billdaterange  TYPE STANDARD TABLE OF BAPI_RANGESWFDAT, "   
lt_invlistdaterange  TYPE STANDARD TABLE OF BAPI_RANGESWFDAT_RL, "   
lt_acctstatusrange  TYPE STANDARD TABLE OF BAPI_RANGESRFBSK, "   
lt_paytyperange  TYPE STANDARD TABLE OF BAPI_RANGESWRART. "   

  CALL FUNCTION 'ALE_SETTREQSLIST_GETLIST'  "NOTRANSL: BAPI -> IDoc: ALE_SETTREQSLIST_GETLIST
    EXPORTING
         MAXLINES = lv_maxlines
         OBJ_TYPE = lv_obj_type
         SERIAL_ID = lv_serial_id
    TABLES
         DOCUMENTNUMBERRANGE = lt_documentnumberrange
         BILLTYPERANGE = lt_billtyperange
         DOCDATERANGE = lt_docdaterange
         REFDOCNORANGE = lt_refdocnorange
         REFDOCNOLONGRANGE = lt_refdocnolongrange
         ALLOCNMBRRANGE = lt_allocnmbrrange
         PAYMTREFRANGE = lt_paymtrefrange
         HEADDATAOUT = lt_headdataout
         LISTITEMDATAOUT = lt_listitemdataout
         LISTHEADDATAOUT = lt_listheaddataout
         ITEMDATAOUT = lt_itemdataout
         VENDORRANGE = lt_vendorrange
         EXTENSIONOUT = lt_extensionout
         HEADTEXTOUT = lt_headtextout
         ITEMTEXTOUT = lt_itemtextout
         LISTHEADTEXTOUT = lt_listheadtextout
         RECEIVERS = lt_receivers
         COMMUNICATION_DOCUMENTS = lt_communication_documents
         APPLICATION_OBJECTS = lt_application_objects
         PURCHORGRANGE = lt_purchorgrange
         PURGROUPRANGE = lt_purgrouprange
         COMPCODERANGE = lt_compcoderange
         BILLDATERANGE = lt_billdaterange
         INVLISTDATERANGE = lt_invlistdaterange
         ACCTSTATUSRANGE = lt_acctstatusrange
         PAYTYPERANGE = lt_paytyperange
    EXCEPTIONS
        ERROR_CREATING_IDOCS = 1
. " ALE_SETTREQSLIST_GETLIST




ABAP code using 7.40 inline data declarations to call FM ALE_SETTREQSLIST_GETLIST

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 MAX_LINES FROM BAPIACGL INTO @DATA(ld_maxlines).
DATA(ld_maxlines) = '500'.
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single OBJ_TYPE FROM SERIAL INTO @DATA(ld_obj_type).
DATA(ld_obj_type) = 'BUS2100001'.
 
 
 
 
 
 
 
 
 
"SELECT single CHNUM FROM SERIAL INTO @DATA(ld_serial_id).
DATA(ld_serial_id) = '0'.
 
 
 
 
 
 
 
 


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!