Fonction SAP BAPI_ENTRYSHEET_CREATE - Create Entry Sheet

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ENTRYSHEETHEADER BAPIESSRC u 314 Header Data of Entry Sheet
NO_COMMIT BAPIFLAG-BAPIFLAG C 1 SPACE X Single-Character Indicator
TESTRUN BAPI2091-TESTRUN C 1 SPACE X Test Run

Paramètre Reférence Type Long. Description
ENTRYSHEET BAPIESSR-SHEET_NO C 10 Entry Sheet Number

Paramètre Reférence Long. Facultatif Description
ENTRYSHEETACCOUNTASSIGNMENT BAPIESKNC 324 X Account Assignments
ENTRYSHEETHEADERTEXT BAPIESSRTX 148 X Long Text for Entry Sheet Header
ENTRYSHEETSERVICES BAPIESLLC 636 X Services
ENTRYSHEETSERVICESTEXTS BAPIESLLTX 158 X Long Texts for Services
ENTRYSHEETSRVACCASSVALUES BAPIESKLC 40 X Value/Link to Service Account Assignment
RETURN BAPIRET2 548 Processing Errors That Occurred

Functionality
You can use this method to create service entry sheets.

Notes
The following authorization objects are checked with the activity 76(entry of services performed).

  • M_BEST_BSA,,Document type of purchase order of
  • entry sheet
    • M_BEST_EKG,,Purchasing group of purchase order

    • M_BEST_EKO,,Purchasing organization of purchase
    • order
      • M_BEST_WRK,,Plant of purchase order

      • Transfer
        • The header data of the entry sheet is passed on in the parameter
        • 'EntrySheetHeader'.
          • The account assignments are passed on in the table
          • 'EntrySheetAccountAssignment'.
            • The service data for the service entry sheet can be passed on in the
            • tables 'EntrySheetServices' and 'EntrySheetSrvAccAssValues'.
              • All value and price fields are to be passed on in the currency of the
              • purchase order.
                Return messages
                Messages are returned in the table 'Return'.

                Description
                This arameter contains the number of the entry sheet.

                Description
                This parameter contains general data from the entry sheet header (e.g.short text, PO number, location service performed).
                Information on the meaning of the individual parameter fields isavailable in the relevant data element documentation in the ABAPDictionary.

                Description
                If this parameter is set, all the checks that take place during thecreation of an entry sheet are carried out.
                However, the entry sheet is not saved.

                Description
                This table contains the account assignments of the entry sheet.
                Information on the meaning of the individual parameter fields isavailable in the relevant data element documentation in the ABAPDictionary.

                Description
                In the table EntrysheetHeaderText, you pass on the longtext for the entry sheet header. You can pass on the following:

                • The number of the entry sheet (in the field SHEET_NO)

                • The allowed text type, here TX01 (in the field TEXT_ID)

                • A SAPscript format key (in the field FORMAT_COL)

                • The actual text lines (in the FORMAT_COL field)

                • If TEXT_ID is empty, a line text is always generated. If FORMAT_COL isempty, the standard format key * is assigned.

                  Description
                  This table contains the services and service specification outlines ofthe entry sheet.
                  A line is flagged as an outline level with the field OUTL_IND.
                  Service lines are assigned to the outline levels via the fields PCKG_NO(of the service line) and SUBPCKG_NO (of the outline level).
                  Information on the meaning of the individual parameter fields isavailable in the relevant data element documentation in the ABAPDictionary.

                  Description
                  In the table EntrysheetServicesTexts, you pass on longtexts for the service line. You can pass on:

                  • The package number of the service line (in field PCKG_NO)

                  • The internal line number of the service line (in the field LINE_NO)

                  • The allowed text types, here for line long text LTXT or service long
                  • text LLTX (in the field TEXT_ID)
                    • A SAPscript format key (in the field FORMAT_COL)

                    • The actual text lines (in the field TEXT_LINE)

                    • If TEXT_ID is empty, a line text is always generated. If FORMAT_COL isempty, the standard format key * is assigned.

                      Description
                      This table contains the values of the account assignments at servicelevel and a reference to the overall account assignment of the entrysheet (table 'EntrySheetAccountAssignment', field 'SERIAL_NO').
                      The actual account assignment data (cost center etc.) is stored in thetable 'EntrySheetAccountAssignment' and is identified via thisreference.

                      Description
                      This table contains all messages issued during the processing.

499626FAQ: BAPIs in the service procurement
1165524BAPI_ENTRYSHEET_CREATE:Multiple accounts but same ESKN-BEKKN
586419Disturbing dummy data record in ESUH and runtime error
634232FAQ: Print & texts in the service
653754Account assignment problems in service documents
574630BAPI_ENTRYSHEET_CREATE: ESKN-BEKKN not updated
381805ML81N: Batch input is not possible
300377MM-SRV: E601 during BAPI call