SAP ACC5_BAPI_STRUCTURES_CONVERT Function Module for
ACC5_BAPI_STRUCTURES_CONVERT is a standard acc5 bapi structures convert 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 acc5 bapi structures convert FM, simply by entering the name ACC5_BAPI_STRUCTURES_CONVERT into the relevant SAP transaction such as SE37 or SE38.
Function Group: ACC5
Program Name: SAPLACC5
Main Program: SAPLACC5
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ACC5_BAPI_STRUCTURES_CONVERT 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 'ACC5_BAPI_STRUCTURES_CONVERT'".
EXPORTING
* I_BAPIACHE30 = "
* I_BAPIACHE31 = "
TABLES
* T_BAPIACAM1X_MAX = "
* T_BAPIACAM07 = "
* T_BAPIACAM08 = "
* T_RLAMBU = "
* T_ANEPI = "
* T_ACCCR = "
* T_ANLB = "
* T_ANLC = "
* T_ANLA = "
* T_ANLV = "
* T_ANLZ = "
* T_BAPIACAM2X_MAX = "
* T_BAPIACAM2X_MAX_DE = "
* T_BAPIACGL3X_MAX = "
* T_BAPIACGL30 = "
* T_BAPIACGL31 = "
* T_BAPIACCR30 = "
* T_BAPIACAM04 = "
* T_BAPIACAM06 = "
EXCEPTIONS
CONVERSION_ERROR = 1
IMPORTING Parameters details for ACC5_BAPI_STRUCTURES_CONVERT
I_BAPIACHE30 -
Data type: BAPIACHE30Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BAPIACHE31 -
Data type: BAPIACHE31Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ACC5_BAPI_STRUCTURES_CONVERT
T_BAPIACAM1X_MAX -
Data type: BAPIACAM1X_MAXOptional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACAM07 -
Data type: BAPIACAM07Optional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACAM08 -
Data type: BAPIACAM08Optional: Yes
Call by Reference: No ( called with pass by value option)
T_RLAMBU -
Data type: RLAMBUOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ANEPI -
Data type: ANEPIOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ACCCR -
Data type: ACCCROptional: Yes
Call by Reference: No ( called with pass by value option)
T_ANLB -
Data type: ANLBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ANLC -
Data type: ANLCOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ANLA -
Data type: ANLAOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ANLV -
Data type: ANLVOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ANLZ -
Data type: ANLZOptional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACAM2X_MAX -
Data type: BAPIACAM2X_MAXOptional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACAM2X_MAX_DE -
Data type: BAPIACAM2X_MAX_DEOptional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACGL3X_MAX -
Data type: BAPIACGL3X_MAXOptional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACGL30 -
Data type: BAPIACGL30Optional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACGL31 -
Data type: BAPIACGL31Optional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACCR30 -
Data type: BAPIACCR30Optional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACAM04 -
Data type: BAPIACAM04Optional: Yes
Call by Reference: No ( called with pass by value option)
T_BAPIACAM06 -
Data type: BAPIACAM06Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CONVERSION_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ACC5_BAPI_STRUCTURES_CONVERT 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_bapiache30 | TYPE BAPIACHE30, " | |||
| lv_conversion_error | TYPE BAPIACHE30, " | |||
| lt_t_bapiacam1x_max | TYPE STANDARD TABLE OF BAPIACAM1X_MAX, " | |||
| lt_t_bapiacam07 | TYPE STANDARD TABLE OF BAPIACAM07, " | |||
| lt_t_bapiacam08 | TYPE STANDARD TABLE OF BAPIACAM08, " | |||
| lt_t_rlambu | TYPE STANDARD TABLE OF RLAMBU, " | |||
| lt_t_anepi | TYPE STANDARD TABLE OF ANEPI, " | |||
| lt_t_acccr | TYPE STANDARD TABLE OF ACCCR, " | |||
| lt_t_anlb | TYPE STANDARD TABLE OF ANLB, " | |||
| lt_t_anlc | TYPE STANDARD TABLE OF ANLC, " | |||
| lt_t_anla | TYPE STANDARD TABLE OF ANLA, " | |||
| lt_t_anlv | TYPE STANDARD TABLE OF ANLV, " | |||
| lt_t_anlz | TYPE STANDARD TABLE OF ANLZ, " | |||
| lv_i_bapiache31 | TYPE BAPIACHE31, " | |||
| lt_t_bapiacam2x_max | TYPE STANDARD TABLE OF BAPIACAM2X_MAX, " | |||
| lt_t_bapiacam2x_max_de | TYPE STANDARD TABLE OF BAPIACAM2X_MAX_DE, " | |||
| lt_t_bapiacgl3x_max | TYPE STANDARD TABLE OF BAPIACGL3X_MAX, " | |||
| lt_t_bapiacgl30 | TYPE STANDARD TABLE OF BAPIACGL30, " | |||
| lt_t_bapiacgl31 | TYPE STANDARD TABLE OF BAPIACGL31, " | |||
| lt_t_bapiaccr30 | TYPE STANDARD TABLE OF BAPIACCR30, " | |||
| lt_t_bapiacam04 | TYPE STANDARD TABLE OF BAPIACAM04, " | |||
| lt_t_bapiacam06 | TYPE STANDARD TABLE OF BAPIACAM06. " |
|   CALL FUNCTION 'ACC5_BAPI_STRUCTURES_CONVERT' " |
| EXPORTING | ||
| I_BAPIACHE30 | = lv_i_bapiache30 | |
| I_BAPIACHE31 | = lv_i_bapiache31 | |
| TABLES | ||
| T_BAPIACAM1X_MAX | = lt_t_bapiacam1x_max | |
| T_BAPIACAM07 | = lt_t_bapiacam07 | |
| T_BAPIACAM08 | = lt_t_bapiacam08 | |
| T_RLAMBU | = lt_t_rlambu | |
| T_ANEPI | = lt_t_anepi | |
| T_ACCCR | = lt_t_acccr | |
| T_ANLB | = lt_t_anlb | |
| T_ANLC | = lt_t_anlc | |
| T_ANLA | = lt_t_anla | |
| T_ANLV | = lt_t_anlt | |
| T_ANLZ | = lt_t_anlz | |
| T_BAPIACAM2X_MAX | = lt_t_bapiacam2x_max | |
| T_BAPIACAM2X_MAX_DE | = lt_t_bapiacam2x_max_de | |
| T_BAPIACGL3X_MAX | = lt_t_bapiacgl3x_max | |
| T_BAPIACGL30 | = lt_t_bapiacgl30 | |
| T_BAPIACGL31 | = lt_t_bapiacgl31 | |
| T_BAPIACCR30 | = lt_t_bapiaccr30 | |
| T_BAPIACAM04 | = lt_t_bapiacam04 | |
| T_BAPIACAM06 | = lt_t_bapiacam06 | |
| EXCEPTIONS | ||
| CONVERSION_ERROR = 1 | ||
| . " ACC5_BAPI_STRUCTURES_CONVERT | ||
ABAP code using 7.40 inline data declarations to call FM ACC5_BAPI_STRUCTURES_CONVERT
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