BAPI_IPAK_CREATE 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_IPAK_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSAB
Released Date:
04.01.2000
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_IPAK_CREATE' "Creates InfoPackage
EXPORTING
details = " bapi6109 Scheduler: General Data
scheduling_params = " bapi6109btch Scheduler: Scheduling Selections
destinations = " bapi6109dest Scheduler: Target for the data
* file_params = " bapi6109file Scheduler: File Selections
* hie_params = " bapi6109hie Scheduler: Hierarchy Transfer Structure
IMPORTING
infopackage = " bapi6109-infopackage Logical InfoPackage variant (ID)
TABLES
* selections = " bapi6109sel Scheduler: Selection Structure
* infocubes = " bapi6109ic Scheduler: InfoCube Table
* third_party_params = " bapi6109tcp Scheduler: TCPIP External Data Selections
return = " bapiret2 Return parameter
. " BAPI_IPAK_CREATE
The ABAP code below is a full code listing to execute function module BAPI_IPAK_CREATE 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_infopackage | TYPE BAPI6109-INFOPACKAGE , |
| it_selections | TYPE STANDARD TABLE OF BAPI6109SEL,"TABLES PARAM |
| wa_selections | LIKE LINE OF it_selections , |
| it_infocubes | TYPE STANDARD TABLE OF BAPI6109IC,"TABLES PARAM |
| wa_infocubes | LIKE LINE OF it_infocubes , |
| it_third_party_params | TYPE STANDARD TABLE OF BAPI6109TCP,"TABLES PARAM |
| wa_third_party_params | LIKE LINE OF it_third_party_params , |
| 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_infopackage | TYPE BAPI6109-INFOPACKAGE , |
| ld_details | TYPE BAPI6109 , |
| it_selections | TYPE STANDARD TABLE OF BAPI6109SEL , |
| wa_selections | LIKE LINE OF it_selections, |
| ld_scheduling_params | TYPE BAPI6109BTCH , |
| it_infocubes | TYPE STANDARD TABLE OF BAPI6109IC , |
| wa_infocubes | LIKE LINE OF it_infocubes, |
| ld_destinations | TYPE BAPI6109DEST , |
| it_third_party_params | TYPE STANDARD TABLE OF BAPI6109TCP , |
| wa_third_party_params | LIKE LINE OF it_third_party_params, |
| ld_file_params | TYPE BAPI6109FILE , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| ld_hie_params | TYPE BAPI6109HIE . |
This method creates a new InfoPackage.
The exporting parameter INFOPACKAGE delivers the technical name of the
...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_IPAK_CREATE or its description.