Fonction SAP BAPI_IPAK_CHANGE - Changes InfoPackage

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DESTINATIONS BAPI6109DEST u 4 '!' X Scheduler: Target for the data
DETAILS BAPI6109 u 169 '!' X Scheduler: General Data
FILE_PARAMS BAPI6109FILE u 137 '!' X Scheduler: File Selections
HIE_PARAMS BAPI6109HIE u 84 '!' X Scheduler: Hierarchy Transfer Structure
INFOPACKAGE BAPI6109-INFOPACKAGE C 30 Logical InfoPackage variant (ID)
SCHEDULING_PARAMS BAPI6109BTCH u 349 '!' X Scheduler: Scheduling Selections

Paramètre Reférence Long. Facultatif Description
INFOCUBES BAPI6109IC 32 X Scheduler: InfoCube Table
RETURN BAPIRET2 548 Return Parameters
SELECTIONS BAPI6109SEL 153 X Scheduler: Selection Structure
THIRD_PARTY_PARAMS BAPI6109TCP 198 X Scheduler: TCPIP External Data Selections

Functionality
This method changes an existing InfoPackage.
It attempts to create a new InfoPackage, and, if successful, deletesthe old InfoPackage and renames the new one.
The parameters must be the same as for the method BAPI_IPAK_CREATE.

Description
Importing parameter SCHEDULING_PARAMS: Target of the data: Fields andmeanings:

  • ONLYENTRANCE:

  • Load data in the entrance only (PSA or IDoc), no further processing.
    • ONLYCUBETAB:

    • Only load data into its data target without a PSA.
      Flag does not apply with data transfers with an IDoc.
      • PARALLEL:

      • Post data into PSA and data target in parallel.
        Flag does not apply with data transfers with an IDoc.
        • CUBEAFTERODS:

        • Post data automatically into the data targets if the data exists in the
          PSA. A batch process is started in this case.
          Flay only applies if the flag ONLYENTRANCE = 'X' is set and the flagONLYCUBETAB is empty.
          Flag does not apply with data transfers with an IDoc.

          Description
          Importing parameter DETAIL: Fields and meanings:

          • INFOPACKAGE:

          • 30-character field: Contains the technical name of the InfoPackage(ZPAK_49FEGSER95... or 0PAK_KI988Jj8...). Is empty when you create anew InfoPackage.
            • INFOSOURCE:

            • 30-character field: Contains the technical name of the BW InfoSource onwhich the DataSource is mapped.
              • INFOSOURCETYPE:

              • 1-character field: Contains the technical type of the InfoSource. Thereare two technical types: 'I' for InfoSources and 'O' for objectsources.
                InfoSources are transaction data sources (DataSource type 'D') andobject sources are master data, text, or hierarchy sources. (DataSourcetype 'M', 'T' or 'H').
                • LOGSYS:

                • 10-character field: Contains the technical name of the source system.
                  • DATASOURCE:

                  • 10-character field: Contains the technical name of the DataSource, onwhich the BW InfoSource is mapped.
                    • DATASOURCETYPE:

                    • 1-character field: Contains the technical type of the DataSource. Thereare 4 technical types: 'D' for transaction data, 'M' for master dataattributes, 'T' for texts and 'H' for hierarchies.
                      • HIERACT:

                      • 1-numc field: For activating hierarchies once they are loaded. '0' ifyou do not want hierarchies to be activated, '1' if you do.
                        • CHAVL_CHECK:

                        • 1-character field: Indicator as to whether the data is to be checked('X').
                          • UPDATEMASTERDATA:

                          • 1-character field: Indicator as to whether the data is to be loaded ifthere is data for the master data. If UPDATEMASTERDATA is empty, notransaction data is posted to InfoCubes that still has master data tobe posted. Or no master data is loaded if not all the master data wasloaded for all the attributes.
                            • TEXT:

                            • 60-character field: Name of the InfoPackage in the logon language.
                              • LOAD_STATUS:

                              • 1-character field: Displays the sm37 status of a loaded or runningInfoPackage:
                                'S' : Loading job is scheduled.
                                'R' : Loading job is running.
                                'F' : Loading job is complete.
                                'A' : Loading job aborted.
                                Everything else: Middle status. This should only appear temporarily. Ifit appears for a long time it means there is an error in the backgroundprocessing of basis.
                                • UPDMODE_READ:

                                • 2-character field: Processing mode of the InfoPackage: There are thefollowing values:
                                  'F' : Full update.
                                  'D' : Delta update.
                                  'R' : Repeat update = Subsequent request of the last delta.
                                  'C' : Initializing the delta process.
                                  'I' : Build initial amount.
                                  The field UPDMODE_READ is filled with the method BAPI_IPAK_GETDETAILwhen you read an InfoPackage, but is not interpreted with the methodBAPI_IPAK_CREATE when you create one or with BAPI_IPAK_CHANGE when youchange one.
                                  At the moment, you can only create InfoPackages with the processingmode 'F' and this is programmed into the BAPIs.
                                  InfoPackages with other processing modes must be created using the AWB.

                                  Description
                                  Importing parameter FILE_PARAMS: File selections: Fields and meanings:

                                  • LOCATION:

                                  • Type of external system:
                                    '0' : External data from the application server
                                    '1' : External data from the client workstation
                                    • FILENAME:

                                    • 128-character field: Name of the file you want to load.
                                      • FILETYPE:

                                      • Type of external file:
                                        '1' : File is an Ascii file with a CR as separator.
                                        '2' : File is an Excel CSV.
                                        • FILESEP:

                                        • Separator for Excel format.
                                          Default in Europe = ';', default in USA = ','.
                                          • ESC:

                                          • Escape character for Excel file.
                                            Default = '"'.
                                            • CHAR1000:

                                            • Thousand separator.
                                              • DECICHAR:

                                              • Character for the decimal point.
                                                • CURRCONV:

                                                • Switch on currency conversion for external systems.

                                                  Description
                                                  Importing parameter HIE_PARAMS: File selections: Fields and meanings:

                                                  • HIENM:

                                                  • 30-character field: Name of the hierarchy you want to load.
                                                    • HIEVERS:

                                                    • 3-character field: Version of the hierarchy you want to load.
                                                      • HIEDATETO:

                                                      • Dats field: To_date of the hierarchy you want to load.
                                                        • HIEDATEFROM:

                                                        • Dats field: From_date of the hierarchy you want to load.
                                                          • HIECLASS:

                                                          • 4-character field: Hierarchy class of the hierarchy you want to load.
                                                            • NEW_HIENAME_ON:

                                                            • Flag: If = 'X', then the loaded hierarchy is not saved under the namein the field HIENM in BW, but under the name in the field NEW_HIENM.
                                                              • NEW_HIENM:

                                                              • 30-character field: Name under which you want to save the loadedhierarchy.

                                                                Description
                                                                Technical name of InfoPackage.

                                                                Description
                                                                Importing parameter SCHEDULING_PARAMS: Scheduling selections: Fieldsand meanings:

                                                                • STARTDTTYP:

                                                                • 1-character field: Indicates the type of start date:
                                                                  'I' : Immediate
                                                                  SDLSTRTDT, SDLSTRTTM, EVENTID, EVENTPARM PERIODIC, CANCELPERIOD areempty.
                                                                  'D' : Start at a specific date/time;
                                                                  Field SDLSTRTDT contains the date, and field SDLSTRTTM contains thetime.
                                                                  EVENTID, EVENTPARM, PERIODIC, CANCELPERIOD are empty.
                                                                  'E' : Start after sm62 event:
                                                                  The field EVENTID contains the event and the field EVENTPARM has theparameters of the event.
                                                                  SDLSTRTDT, SDLSTRTTM are empty.
                                                                  • SDLSTRTDT:

                                                                  • Dats-Feld: Contains the date on which you want to run the job.
                                                                    • SDLSTRTTM:

                                                                    • Tims-Feld: Contains the time at which you want to run the job.
                                                                      • EVENTID:

                                                                      • 32-character field: Contains the event for which the job waits afterscheduling.
                                                                        • EVENTPARM:

                                                                        • 64-character field: Contains the parameters of the events.
                                                                          If a job had a filled parameter when the event was scheduled, it onlystarts when the event is triggered with this parameter.
                                                                          If a job had an empty parameter, it starts no matter what parameterstriggers the event.
                                                                          • PERIODIC:

                                                                          • 1-character field: Flag = 'X'.
                                                                            You can only use it with event jobs. Periodic jobs with other startconditions must be created using the AWB.
                                                                            • CANCELPERIOD:

                                                                            • 10-character field:
                                                                              If the field is empty, the job never aborts with periodic scheduling.
                                                                              If a number > 0 is in this field, the periodic job is aborted afterCANCELPERIOD starts.
                                                                              • EVENT_ID_OK:

                                                                              • 32-character field: Contains the event that the job triggers if it hasbeen successfully completed.
                                                                                • EVENT_PM_OK:

                                                                                • 64-character field: Contains the parameter of the successful event.
                                                                                  • EVENT_ID_ER

                                                                                  • 32-character field: Contains the event that the job triggers if itfinished with errors.
                                                                                    • EVENT_PM_ER:

                                                                                    • 64-character field: Contains the parameter of the successful event.
                                                                                      • FUNCTION_CALL:

                                                                                      • 1-character field: Indicator to show that the function moduleRSSM_START_SECOND_PROCESS is to be executed at the end of the loadingprocess.
                                                                                        • EXIT_CALL:

                                                                                        • 1-character field: Indicator to show that the business add-inBW_SCHEDULER is to be executed at the end of the loading process.
                                                                                          • BATCH_WAIT:

                                                                                          • 1-character field: Indicates whether the requirement job should waituntil the requested data has been updated in BW or not.

                                                                                            Description
                                                                                            Table INFOCUBES: Fields and meanings:

                                                                                            • INFOCUBE:

                                                                                            • 30-character field: Name of the InfoCube or ODS object to which thedata is to be posted.
                                                                                              • LOADCUBE:

                                                                                              • Flag: Only those data targets are loaded from the table INFOCUBES thathave this flag set.
                                                                                                • DELETEALLBEFORE:

                                                                                                • Flag: If this flag is set, the contents of the data target are deletedbefore it is loaded (completely).

                                                                                                  Description
                                                                                                  Error parameter

                                                                                                  Description
                                                                                                  Table SELECTIONS: Fields and meanings:

                                                                                                  • FIELDNAME:

                                                                                                  • 30-character field: Field name of the field for which selections aremade.
                                                                                                    • IOBJNM:

                                                                                                    • 30-character field: InfoObject on which the field is mapped in BW.
                                                                                                      This entry can be left out. You can also select data for fields thatare not mapped on InfoObjects.
                                                                                                      • SIGN:

                                                                                                      • 1-character field: Only 'I' is allowed.
                                                                                                        • OPT:

                                                                                                        • 2-character field: Only 'EQ' is allowed for a single value in LOW, or'BT' for a LOW HIGH range.
                                                                                                          • LOW:

                                                                                                          • 45-character field: From_value of the selection.
                                                                                                            • HIGH:

                                                                                                            • 45-character field: To_value of the selection.

                                                                                                              Description
                                                                                                              Table THIRD_PARTY_PARAMS: Fields and meanings:
                                                                                                              You only need this table for 3rd party tool source systems.

                                                                                                              • RFCFIELDNM:

                                                                                                              • 30-character field: Field name.
                                                                                                                • RFCVALUE:

                                                                                                                • 128-character field: Value of the data entry for the RFC of the 3rd
                                                                                                                  party tool.
                                                                                                                  • RFCUSER:

                                                                                                                  • 32-character field: User name for logging on to the 3rd party tool(optional).
                                                                                                                    • PASSWORD:

                                                                                                                    • 8-character field: password for logging on to the 3rd party tool(optional).

1550918P26:BAPI_IPAK_CHANGE undoes field for warning handling
1436975Copying InfoPackage for Web service (push)
1143281P18:SDL:BAPI_IPAK_CHANGE, selection fld with NUMC,conv exit
998808P11:P20:BAPI_IPAK_CHANGE does not work without text
987573P11:SDL:BAPI:New DS:BAPIs cannot maintain InfoPackages
949077P9:P32:SDL:BAPI:Deadlocks and endless enqueue locks
945549P9: BAPI_IPAK_CREATE/CHANGE does not work for new DS