SAP BAPI_SINGLESETTREQS_RELEASE Function Module for Agency Business: BAPI Release Single Settlement Request Documents to FI









BAPI_SINGLESETTREQS_RELEASE is a standard bapi singlesettreqs release SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Agency Business: BAPI Release Single Settlement Request Documents to FI 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 singlesettreqs release FM, simply by entering the name BAPI_SINGLESETTREQS_RELEASE into the relevant SAP transaction such as SE37 or SE38.

Function Group: 2100
Program Name: SAPL2100
Main Program: SAPL2100
Appliation area: W
Release date: 02-Nov-1999
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_SINGLESETTREQS_RELEASE 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_SINGLESETTREQS_RELEASE'"Agency Business: BAPI Release Single Settlement Request Documents to FI
EXPORTING
* ENQUEUEALL = 'X' "Lock Documents
* TESTRUN = ' ' "Test Run

TABLES
* DOCUMENTNUMBERRANGE = "Document Number
* BILLDATERANGE = "Posting Date
* INVLISTDATERANGE = "Remuneration List Date
* PAYTYPERANGE = "Payment Type
* BILLTYPERANGE = "Billing Type
* DOCDATERANGE = "Document Date
* REFDOCNORANGE = "Reference
* REFDOCNOLONGRANGE = "Reference (Long)
* ALLOCNMBRRANGE = "Assignment
* PAYMTREFRANGE = "Payment Reference
* HEADDATAOUT = "Header Data (Output)
* SALESORGRANGE = "Sales Organization
* RETURN = "Messages
* EXTENSIONOUT = "Enhancements (Output)
* DISCHANELRANGE = "Distribution Channel
* DIVISIONRANGE = "Division
* CUSTOMERRANGE = "Invoice Recipient
* VENDORRANGE = "Invoicing Party
* PURCHORGRANGE = "Purchasing Organization
* PURGROUPRANGE = "Purchasing Group
* COMPCODERANGE = "Company Code
.



IMPORTING Parameters details for BAPI_SINGLESETTREQS_RELEASE

ENQUEUEALL - Lock Documents

Data type: BAPIABCON-ENQUEUEALL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TESTRUN - Test Run

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

TABLES Parameters details for BAPI_SINGLESETTREQS_RELEASE

DOCUMENTNUMBERRANGE - Document Number

Data type: BAPIACDOCRAN
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: Yes

PAYTYPERANGE - Payment Type

Data type: BAPI_RANGESWRART
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 - Header Data (Output)

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

SALESORGRANGE - Sales Organization

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

RETURN - Messages

Data type: BAPIRET2
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)

DISCHANELRANGE - Distribution Channel

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

DIVISIONRANGE - Division

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

CUSTOMERRANGE - Invoice Recipient

Data type: BAPI_RANGESKUNNR
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)

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)

Copy and paste ABAP code example for BAPI_SINGLESETTREQS_RELEASE 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_enqueueall  TYPE BAPIABCON-ENQUEUEALL, "   'X'
lt_documentnumberrange  TYPE STANDARD TABLE OF BAPIACDOCRAN, "   
lt_billdaterange  TYPE STANDARD TABLE OF BAPI_RANGESWFDAT, "   
lt_invlistdaterange  TYPE STANDARD TABLE OF BAPI_RANGESWFDAT_RL, "   
lt_paytyperange  TYPE STANDARD TABLE OF BAPI_RANGESWRART, "   
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, "   
lv_testrun  TYPE BAPIABCON-TESTRUN, "   SPACE
lt_salesorgrange  TYPE STANDARD TABLE OF BAPI_RANGESVKORG, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lt_extensionout  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_dischanelrange  TYPE STANDARD TABLE OF BAPI_RANGESVTWEG, "   
lt_divisionrange  TYPE STANDARD TABLE OF BAPI_RANGESSPART, "   
lt_customerrange  TYPE STANDARD TABLE OF BAPI_RANGESKUNNR, "   
lt_vendorrange  TYPE STANDARD TABLE OF BAPI_RANGESLIFNR, "   
lt_purchorgrange  TYPE STANDARD TABLE OF BAPI_RANGESEKORG, "   
lt_purgrouprange  TYPE STANDARD TABLE OF BAPI_RANGESEKGRP, "   
lt_compcoderange  TYPE STANDARD TABLE OF BAPI_RANGESBUKRS. "   

  CALL FUNCTION 'BAPI_SINGLESETTREQS_RELEASE'  "Agency Business: BAPI Release Single Settlement Request Documents to FI
    EXPORTING
         ENQUEUEALL = lv_enqueueall
         TESTRUN = lv_testrun
    TABLES
         DOCUMENTNUMBERRANGE = lt_documentnumberrange
         BILLDATERANGE = lt_billdaterange
         INVLISTDATERANGE = lt_invlistdaterange
         PAYTYPERANGE = lt_paytyperange
         BILLTYPERANGE = lt_billtyperange
         DOCDATERANGE = lt_docdaterange
         REFDOCNORANGE = lt_refdocnorange
         REFDOCNOLONGRANGE = lt_refdocnolongrange
         ALLOCNMBRRANGE = lt_allocnmbrrange
         PAYMTREFRANGE = lt_paymtrefrange
         HEADDATAOUT = lt_headdataout
         SALESORGRANGE = lt_salesorgrange
         RETURN = lt_return
         EXTENSIONOUT = lt_extensionout
         DISCHANELRANGE = lt_dischanelrange
         DIVISIONRANGE = lt_divisionrange
         CUSTOMERRANGE = lt_customerrange
         VENDORRANGE = lt_vendorrange
         PURCHORGRANGE = lt_purchorgrange
         PURGROUPRANGE = lt_purgrouprange
         COMPCODERANGE = lt_compcoderange
. " BAPI_SINGLESETTREQS_RELEASE




ABAP code using 7.40 inline data declarations to call FM BAPI_SINGLESETTREQS_RELEASE

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 ENQUEUEALL FROM BAPIABCON INTO @DATA(ld_enqueueall).
DATA(ld_enqueueall) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single TESTRUN FROM BAPIABCON INTO @DATA(ld_testrun).
DATA(ld_testrun) = ' '.
 
 
 
 
 
 
 
 
 
 
 


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!