SAP BBP_REQREQ_SIMULATE_CREATE Function Module for









BBP_REQREQ_SIMULATE_CREATE is a standard bbp reqreq simulate create 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 simulate create FM, simply by entering the name BBP_REQREQ_SIMULATE_CREATE 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_SIMULATE_CREATE 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_SIMULATE_CREATE'"
EXPORTING
REQ_HEADER = "
* REQ_HEADER_SRV = "

IMPORTING
E_REQHEAD = "
E_REQHEADS = "

TABLES
* REQ_LINE_MAT = "
* REQ_LINE_SRV = "
* REQ_ACCT = "
* E_REQLINES = "
* E_REQLINESRS = "
* E_REQLINEMAS = "
* E_REQACCTS = "
.



IMPORTING Parameters details for BBP_REQREQ_SIMULATE_CREATE

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)

EXPORTING Parameters details for BBP_REQREQ_SIMULATE_CREATE

E_REQHEAD -

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

E_REQHEADS -

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

TABLES Parameters details for BBP_REQREQ_SIMULATE_CREATE

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_ACCT -

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

E_REQLINES -

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

E_REQLINESRS -

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

E_REQLINEMAS -

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

E_REQACCTS -

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

Copy and paste ABAP code example for BBP_REQREQ_SIMULATE_CREATE 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_e_reqhead  TYPE REQHEAD, "   
lv_req_header  TYPE REQHEAD, "   
lt_req_line_mat  TYPE STANDARD TABLE OF REQLINEMA, "   
lv_e_reqheads  TYPE REQHEADS, "   
lt_req_line_srv  TYPE STANDARD TABLE OF REQLINESR, "   
lv_req_header_srv  TYPE REQHEADS, "   
lt_req_acct  TYPE STANDARD TABLE OF REQACCT, "   
lt_e_reqlines  TYPE STANDARD TABLE OF REQLINE, "   
lt_e_reqlinesrs  TYPE STANDARD TABLE OF REQLINESR, "   
lt_e_reqlinemas  TYPE STANDARD TABLE OF REQLINEMA, "   
lt_e_reqaccts  TYPE STANDARD TABLE OF REQACCT. "   

  CALL FUNCTION 'BBP_REQREQ_SIMULATE_CREATE'  "
    EXPORTING
         REQ_HEADER = lv_req_header
         REQ_HEADER_SRV = lv_req_header_srv
    IMPORTING
         E_REQHEAD = lv_e_reqhead
         E_REQHEADS = lv_e_reqheads
    TABLES
         REQ_LINE_MAT = lt_req_line_mat
         REQ_LINE_SRV = lt_req_line_srv
         REQ_ACCT = lt_req_acct
         E_REQLINES = lt_e_reqlines
         E_REQLINESRS = lt_e_reqlinesrs
         E_REQLINEMAS = lt_e_reqlinemas
         E_REQACCTS = lt_e_reqaccts
. " BBP_REQREQ_SIMULATE_CREATE




ABAP code using 7.40 inline data declarations to call FM BBP_REQREQ_SIMULATE_CREATE

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.

 
 
 
 
 
 
 
 
 
 
 


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!