Fonction SAP BDC_OPEN_GROUP - Open batch input session for adding transactions

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT APQI-MANDANT C 3 SY-MANDT X Client
DATFM USDEFAULTS-DATFM C 1 '%' X Date Format Used
DCPFM USDEFAULTS-DCPFM C 1 '%' X Decimal Character Used
DEST APQI-DESTSYS C 32 FILLER8 X Target system for ODC/no longer relevant
GROUP APQI-GROUPID C 12 FILLER12 X Session name
HOLDDATE APQI-STARTDATE D 8 FILLER8 X Session locked until specified date
KEEP APQI-QERASE C 1 FILLER1 X Indicator to keep processed sessions
PROG APQI-PROGID C 40 SY-CPROG X Creator Program
RECORD APQI-PUTACTIVE C 1 FILLER1 X Indicator: BI recording ('X' or ' ')
USER APQI-USERID C 12 FILLER12 X Batch input user

Paramètre Reférence Type Long. Description
QID APQI-QID C 20 Unique database key

Exception Description
CLIENT_INVALID Client is invalid
DESTINATION_INVALID Target system is invalid/no longer relevant
GROUP_INVALID Batch input session name is invalid
GROUP_IS_LOCKED Batch input session is protected elsewhere
HOLDDATE_INVALID Lock date is invalid
INTERNAL_ERROR Internal error of batch input (see SYSLOG)
QUEUE_ERROR Error reading/writing the queue (see SYSLOG)
RUNNING Session is already being processed
SYSTEM_LOCK_ERROR System error when protecting BI session
USER_INVALID BI user is not valid


Function Module BDC_OPEN_GROUP
Allows you to open a batch input session when it is created.

Parameters:

  • Required entries:

  • CLIENT: Client
    GROUP: Folder name
    USER: Batch input authorization user
    • Optional:

    • KEEP: Flag for retaining processed folders
      HOLDDATE: Lock folder for processing until specified date
      RECORD: Flag for BI recording 'X' oder ' '
      DEST: (not applicable)
      PROG: Creating program
      DCPFM: Decimal character used in the folder data
      DATFM: Date format used for the data display
      • Return:

      • QID: Unique database key

        Exceptions:
        Need not be specified.
        If exceptions are not specified, the function modules return errormessages if invalid parameters are entered, or if internal errors occur(see SYSLOG).
        If you specify exceptions, you can handle these errors yourself byquerying SY-SUBRC.

1437811Batch input: BDC_INSERT parameter CTUPARAMS
634956Batch input: Starting sessions indep.
554139FAQ 2: Batch input
33319Batch input: Backgr. runs diff. than in the dialog
26703Creating batch input sessions and COMMIT WORK
24438Are processed sessions physically traceable?