SAP UA_INV_BTA_SEC_NODE_PREPARE Function Module for









UA_INV_BTA_SEC_NODE_PREPARE is a standard ua inv bta sec node prepare 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 ua inv bta sec node prepare FM, simply by entering the name UA_INV_BTA_SEC_NODE_PREPARE into the relevant SAP transaction such as SE37 or SE38.

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



Function UA_INV_BTA_SEC_NODE_PREPARE 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 'UA_INV_BTA_SEC_NODE_PREPARE'"
EXPORTING
* I_ACC_DATABASIS = "
I_ACC_SYSTEM = "
I_FIN_BTATYPE = "
* IX_SIMULATE = ' ' "
* IX_NO_DISPLAY = ' ' "
* IX_NOT_FIRST_PREPARE = ' ' "
* IX_NO_GROUP_MESSAGE = ' ' "

IMPORTING
EO_MESSAGE_HANDLER = "
EO_DOCUMENT_READER = "

TABLES
IT_BTA_SECONDARY_DATA = "
ET_BAPIRET2 = "
.



IMPORTING Parameters details for UA_INV_BTA_SEC_NODE_PREPARE

I_ACC_DATABASIS -

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

I_ACC_SYSTEM -

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

I_FIN_BTATYPE -

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

IX_SIMULATE -

Data type: BOOLE_D
Default: SPACE
Optional: Yes
Call by Reference: Yes

IX_NO_DISPLAY -

Data type: BOOLE_D
Default: SPACE
Optional: Yes
Call by Reference: Yes

IX_NOT_FIRST_PREPARE -

Data type: BOOLE_D
Default: SPACE
Optional: Yes
Call by Reference: Yes

IX_NO_GROUP_MESSAGE -

Data type: BOOLE_D
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for UA_INV_BTA_SEC_NODE_PREPARE

EO_MESSAGE_HANDLER -

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

EO_DOCUMENT_READER -

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

TABLES Parameters details for UA_INV_BTA_SEC_NODE_PREPARE

IT_BTA_SECONDARY_DATA -

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

ET_BAPIRET2 -

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

Copy and paste ABAP code example for UA_INV_BTA_SEC_NODE_PREPARE 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_acc_databasis  TYPE ACC_DATABASIS, "   
lv_eo_message_handler  TYPE IF_FINB_MSG_HANDLER, "   
lt_it_bta_secondary_data  TYPE STANDARD TABLE OF UAI_T_BTA_SECONDARY_DATA_N, "   
lt_et_bapiret2  TYPE STANDARD TABLE OF BAPIRETTAB, "   
lv_i_acc_system  TYPE ACC_SYSTEM, "   
lv_eo_document_reader  TYPE IF_FINB_READER, "   
lv_i_fin_btatype  TYPE FIN_BTATYPE, "   
lv_ix_simulate  TYPE BOOLE_D, "   SPACE
lv_ix_no_display  TYPE BOOLE_D, "   SPACE
lv_ix_not_first_prepare  TYPE BOOLE_D, "   SPACE
lv_ix_no_group_message  TYPE BOOLE_D. "   SPACE

  CALL FUNCTION 'UA_INV_BTA_SEC_NODE_PREPARE'  "
    EXPORTING
         I_ACC_DATABASIS = lv_i_acc_databasis
         I_ACC_SYSTEM = lv_i_acc_system
         I_FIN_BTATYPE = lv_i_fin_btatype
         IX_SIMULATE = lv_ix_simulate
         IX_NO_DISPLAY = lv_ix_no_display
         IX_NOT_FIRST_PREPARE = lv_ix_not_first_prepare
         IX_NO_GROUP_MESSAGE = lv_ix_no_group_message
    IMPORTING
         EO_MESSAGE_HANDLER = lv_eo_message_handler
         EO_DOCUMENT_READER = lv_eo_document_reader
    TABLES
         IT_BTA_SECONDARY_DATA = lt_it_bta_secondary_data
         ET_BAPIRET2 = lt_et_bapiret2
. " UA_INV_BTA_SEC_NODE_PREPARE




ABAP code using 7.40 inline data declarations to call FM UA_INV_BTA_SEC_NODE_PREPARE

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.

 
 
 
 
 
 
 
DATA(ld_ix_simulate) = ' '.
 
DATA(ld_ix_no_display) = ' '.
 
DATA(ld_ix_not_first_prepare) = ' '.
 
DATA(ld_ix_no_group_message) = ' '.
 


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!