SAP BBP_REQREQ_GETDETAIL Function Module for









BBP_REQREQ_GETDETAIL is a standard bbp reqreq getdetail 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 bbp reqreq getdetail FM, simply by entering the name BBP_REQREQ_GETDETAIL into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_REQREQ
Program Name: SAPLBBP_REQREQ
Main Program: SAPLBBP_REQREQ
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_REQREQ_GETDETAIL 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 'BBP_REQREQ_GETDETAIL'"
EXPORTING
REQNO = "
* WITH_ENQUEUE = ' ' "
* WITH_DELETEIND_SET = ' ' "

IMPORTING
REQ_HEADER = "
REQ_HEADER_SRV = "

TABLES
* REQ_REFERENCE = "
* REQ_LINE = "
* REQ_LINE_MAT = "
* REQ_LINE_SRV = "
* REQ_TEXT = "
* REQ_ACCT = "
* REQ_ATT = "
* REQ_ADDRESS = "

EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 NO_ENQUEUE_POSSIBLE = 3
.



IMPORTING Parameters details for BBP_REQREQ_GETDETAIL

REQNO -

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

WITH_ENQUEUE -

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

WITH_DELETEIND_SET -

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

EXPORTING Parameters details for BBP_REQREQ_GETDETAIL

REQ_HEADER -

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

REQ_HEADER_SRV -

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

TABLES Parameters details for BBP_REQREQ_GETDETAIL

REQ_REFERENCE -

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

REQ_LINE -

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

REQ_LINE_MAT -

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

REQ_LINE_SRV -

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

REQ_TEXT -

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

REQ_ACCT -

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

REQ_ATT -

Data type: REQATT
Optional: Yes
Call by Reference: Yes

REQ_ADDRESS -

Data type: REQADDRESS
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NOT_FOUND -

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

FOREIGN_LOCK -

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

NO_ENQUEUE_POSSIBLE -

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

Copy and paste ABAP code example for BBP_REQREQ_GETDETAIL 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_reqno  TYPE REQHEAD-REQNO, "   
lv_not_found  TYPE REQHEAD, "   
lv_req_header  TYPE REQHEAD, "   
lt_req_reference  TYPE STANDARD TABLE OF REQREF, "   
lt_req_line  TYPE STANDARD TABLE OF REQLINE, "   
lv_foreign_lock  TYPE REQLINE, "   
lv_with_enqueue  TYPE CHAR1, "   SPACE
lv_req_header_srv  TYPE REQHEADS, "   
lt_req_line_mat  TYPE STANDARD TABLE OF REQLINEMA, "   
lv_with_deleteind_set  TYPE CHAR1, "   SPACE
lv_no_enqueue_possible  TYPE CHAR1, "   
lt_req_line_srv  TYPE STANDARD TABLE OF REQLINESR, "   
lt_req_text  TYPE STANDARD TABLE OF REQTEXT, "   
lt_req_acct  TYPE STANDARD TABLE OF REQACCT, "   
lt_req_att  TYPE STANDARD TABLE OF REQATT, "   
lt_req_address  TYPE STANDARD TABLE OF REQADDRESS. "   

  CALL FUNCTION 'BBP_REQREQ_GETDETAIL'  "
    EXPORTING
         REQNO = lv_reqno
         WITH_ENQUEUE = lv_with_enqueue
         WITH_DELETEIND_SET = lv_with_deleteind_set
    IMPORTING
         REQ_HEADER = lv_req_header
         REQ_HEADER_SRV = lv_req_header_srv
    TABLES
         REQ_REFERENCE = lt_req_reference
         REQ_LINE = lt_req_line
         REQ_LINE_MAT = lt_req_line_mat
         REQ_LINE_SRV = lt_req_line_srv
         REQ_TEXT = lt_req_text
         REQ_ACCT = lt_req_acct
         REQ_ATT = lt_req_att
         REQ_ADDRESS = lt_req_address
    EXCEPTIONS
        NOT_FOUND = 1
        FOREIGN_LOCK = 2
        NO_ENQUEUE_POSSIBLE = 3
. " BBP_REQREQ_GETDETAIL




ABAP code using 7.40 inline data declarations to call FM BBP_REQREQ_GETDETAIL

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 REQNO FROM REQHEAD INTO @DATA(ld_reqno).
 
 
 
 
 
 
DATA(ld_with_enqueue) = ' '.
 
 
 
DATA(ld_with_deleteind_set) = ' '.
 
 
 
 
 
 
 


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!