SAP BBP_INSERT_REQREQ_VB Function Module for









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

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



Function BBP_INSERT_REQREQ_VB 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_INSERT_REQREQ_VB'"
EXPORTING
I_REQNO = "
REQ_HEADER = "
* REQ_HEADER_SRV = "

TABLES
* REQ_LINE = "
* REQ_REF = "
* REQ_LINE_MAT = "
* REQ_LINE_SRV = "
* REQ_TEXT = "
* REQ_ACCT = "
* REQ_ATT = "
* REQ_ADDRESS = "
.



IMPORTING Parameters details for BBP_INSERT_REQREQ_VB

I_REQNO -

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

REQ_HEADER -

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

REQ_HEADER_SRV -

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

TABLES Parameters details for BBP_INSERT_REQREQ_VB

REQ_LINE -

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

REQ_REF -

Data type: REQREF
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

Copy and paste ABAP code example for BBP_INSERT_REQREQ_VB 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_i_reqno  TYPE REQHEAD-REQNO, "   
lt_req_line  TYPE STANDARD TABLE OF REQLINE, "   
lt_req_ref  TYPE STANDARD TABLE OF REQREF, "   
lv_req_header  TYPE REQHEAD, "   
lt_req_line_mat  TYPE STANDARD TABLE OF REQLINEMA, "   
lv_req_header_srv  TYPE REQHEADS, "   
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_INSERT_REQREQ_VB'  "
    EXPORTING
         I_REQNO = lv_i_reqno
         REQ_HEADER = lv_req_header
         REQ_HEADER_SRV = lv_req_header_srv
    TABLES
         REQ_LINE = lt_req_line
         REQ_REF = lt_req_ref
         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
. " BBP_INSERT_REQREQ_VB




ABAP code using 7.40 inline data declarations to call FM BBP_INSERT_REQREQ_VB

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_i_reqno).
 
 
 
 
 
 
 
 
 
 
 


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!