BAPI_JBD_POS_VC_GET_LIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_JBD_POS_VC_GET_LIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JBD_POS_BAPI
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_JBD_POS_VC_GET_LIST' "Position Change: Get List ( BAPI Layer )
* EXPORTING
* max_rows = " bapi_jbd_str_max_rows Structure with Maximum Number of Rows for Set of Hits
* processextension = " bapiflag Flag
IMPORTING
overflow_flag = " bapi_jbd_str_overflow_flag Structure with Indicator Showing whether Max. No. of Trans is Exceeded
* TABLES
* external_number = " bapi_jbd_str_rbaendext_sel Selection for External Number of Position Change
* position_change_category = " bapi_jbd_str_sbaentyp_sel Selection for Categories of Position Change
* source_comp_code = " bapi_jbd_str_comp_code_sel Selection for Company Code
* target_comp_code = " bapi_jbd_str_comp_code_sel Selection for Company Code
* source_security_account = " bapi_jbd_str_sec_acc_sel Selection for Exchange
* target_security_account = " bapi_jbd_str_sec_acc_sel Selection for Exchange
* source_security_id = " bapi_jbd_str_sec_id_sel Selection Structure for Security ID Number
* target_security_id = " bapi_jbd_str_sec_id_sel Selection Structure for Security ID Number
* position_change_date = " bapi_jbd_str_pos_chgdat_sel Selection for Date of Position Change
* entry_date = " bapi_jbd_str_dcrdat_sel Selection for 'Created on' Date
* reversal_indicator = " bapi_jbd_str_reversal_sel Selection for Reversal Indicator
* position_change_list = " bapi_jbd_str_pos_vc_list Row from GetList of Position Change
* extensionin = " bapiparex Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* extensionout = " bapiparex Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* return = " bapiret2 Return Parameters
. " BAPI_JBD_POS_VC_GET_LIST
The ABAP code below is a full code listing to execute function module BAPI_JBD_POS_VC_GET_LIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_overflow_flag | TYPE BAPI_JBD_STR_OVERFLOW_FLAG , |
| it_external_number | TYPE STANDARD TABLE OF BAPI_JBD_STR_RBAENDEXT_SEL,"TABLES PARAM |
| wa_external_number | LIKE LINE OF it_external_number , |
| it_position_change_category | TYPE STANDARD TABLE OF BAPI_JBD_STR_SBAENTYP_SEL,"TABLES PARAM |
| wa_position_change_category | LIKE LINE OF it_position_change_category , |
| it_source_comp_code | TYPE STANDARD TABLE OF BAPI_JBD_STR_COMP_CODE_SEL,"TABLES PARAM |
| wa_source_comp_code | LIKE LINE OF it_source_comp_code , |
| it_target_comp_code | TYPE STANDARD TABLE OF BAPI_JBD_STR_COMP_CODE_SEL,"TABLES PARAM |
| wa_target_comp_code | LIKE LINE OF it_target_comp_code , |
| it_source_security_account | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ACC_SEL,"TABLES PARAM |
| wa_source_security_account | LIKE LINE OF it_source_security_account , |
| it_target_security_account | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ACC_SEL,"TABLES PARAM |
| wa_target_security_account | LIKE LINE OF it_target_security_account , |
| it_source_security_id | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ID_SEL,"TABLES PARAM |
| wa_source_security_id | LIKE LINE OF it_source_security_id , |
| it_target_security_id | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ID_SEL,"TABLES PARAM |
| wa_target_security_id | LIKE LINE OF it_target_security_id , |
| it_position_change_date | TYPE STANDARD TABLE OF BAPI_JBD_STR_POS_CHGDAT_SEL,"TABLES PARAM |
| wa_position_change_date | LIKE LINE OF it_position_change_date , |
| it_entry_date | TYPE STANDARD TABLE OF BAPI_JBD_STR_DCRDAT_SEL,"TABLES PARAM |
| wa_entry_date | LIKE LINE OF it_entry_date , |
| it_reversal_indicator | TYPE STANDARD TABLE OF BAPI_JBD_STR_REVERSAL_SEL,"TABLES PARAM |
| wa_reversal_indicator | LIKE LINE OF it_reversal_indicator , |
| it_position_change_list | TYPE STANDARD TABLE OF BAPI_JBD_STR_POS_VC_LIST,"TABLES PARAM |
| wa_position_change_list | LIKE LINE OF it_position_change_list , |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extensionin | LIKE LINE OF it_extensionin , |
| it_extensionout | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extensionout | LIKE LINE OF it_extensionout , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_overflow_flag | TYPE BAPI_JBD_STR_OVERFLOW_FLAG , |
| ld_max_rows | TYPE BAPI_JBD_STR_MAX_ROWS , |
| it_external_number | TYPE STANDARD TABLE OF BAPI_JBD_STR_RBAENDEXT_SEL , |
| wa_external_number | LIKE LINE OF it_external_number, |
| ld_processextension | TYPE BAPIFLAG , |
| it_position_change_category | TYPE STANDARD TABLE OF BAPI_JBD_STR_SBAENTYP_SEL , |
| wa_position_change_category | LIKE LINE OF it_position_change_category, |
| it_source_comp_code | TYPE STANDARD TABLE OF BAPI_JBD_STR_COMP_CODE_SEL , |
| wa_source_comp_code | LIKE LINE OF it_source_comp_code, |
| it_target_comp_code | TYPE STANDARD TABLE OF BAPI_JBD_STR_COMP_CODE_SEL , |
| wa_target_comp_code | LIKE LINE OF it_target_comp_code, |
| it_source_security_account | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ACC_SEL , |
| wa_source_security_account | LIKE LINE OF it_source_security_account, |
| it_target_security_account | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ACC_SEL , |
| wa_target_security_account | LIKE LINE OF it_target_security_account, |
| it_source_security_id | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ID_SEL , |
| wa_source_security_id | LIKE LINE OF it_source_security_id, |
| it_target_security_id | TYPE STANDARD TABLE OF BAPI_JBD_STR_SEC_ID_SEL , |
| wa_target_security_id | LIKE LINE OF it_target_security_id, |
| it_position_change_date | TYPE STANDARD TABLE OF BAPI_JBD_STR_POS_CHGDAT_SEL , |
| wa_position_change_date | LIKE LINE OF it_position_change_date, |
| it_entry_date | TYPE STANDARD TABLE OF BAPI_JBD_STR_DCRDAT_SEL , |
| wa_entry_date | LIKE LINE OF it_entry_date, |
| it_reversal_indicator | TYPE STANDARD TABLE OF BAPI_JBD_STR_REVERSAL_SEL , |
| wa_reversal_indicator | LIKE LINE OF it_reversal_indicator, |
| it_position_change_list | TYPE STANDARD TABLE OF BAPI_JBD_STR_POS_VC_LIST , |
| wa_position_change_list | LIKE LINE OF it_position_change_list, |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionin | LIKE LINE OF it_extensionin, |
| it_extensionout | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionout | LIKE LINE OF it_extensionout, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
EXAMPLE
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_JBD_POS_VC_GET_LIST or its description.
BAPI_JBD_POS_VC_GET_LIST - Position Change: Get List ( BAPI Layer ) BAPI_JBD_POS_VC_GET_DET_MULT - Position Change: Get Detail Multi ( BAPI Layer ) BAPI_JBD_POS_SETR_GET_LIST - Positions for Security: BAPI-Get List BAPI_JBD_POS_MD_GET_DET_MULT - Positions: BAPI-Get Detail Multi BAPI_JBD_POS_FX_GET_LIST - Positions for Currencies: BAPI-Get List BAPI_JBD_POS_FO_GET_DET_MULT - Positions: Financial Object. Get Detail Multiple