×

[PR]この広告は3ヶ月以上更新がないため表示されています。
ホームページを更新後24時間以内に表示されなくなります。




Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>ACCID001



Index

ACCID001

User Exits for Development Class ACID
Functionality

The function modules in function group XACC provide user exits for processing the corresponding IDocs. These user exits are all structured the same way. They are called up before a new line is inserted in table ACCIT of the FI/CO document.

  • IDoc Load Receivable:
    • Exit 011: Exit before insertion of a customer line
    • Exit 012: Exit before insertion of a G/L account line
    • Exit 013: Exit before insertion of a tax line
  • IDoc Post Journal:
    • Exit 021: Exit before insertion of a G/L account line
  • IDoc Load Payable:
    • Exit 031: Exit before insertion of a supplier line
    • Exit 032: Exit before insertion of a G/L account line
    • Exit 033: Exit before insertion of a tax line

The header of table ACCIT, which is available as a transfer parameter, can be modified using these exits.

Each function module provides the user with the relevant IDoc segments (E1ACxx). The table T_DATA with the customer's enhancement segments is also transferred.

Example

Define account assignment block in IDoc:

The fields of the account assignment block that you define yourself are not included in the aforementioned IDocs. To include these fields in one of the Idocs and thus in the corresponding interface, proceed as follows:

  • Create an IDoc segment that contains the fields of the account assignment block.
  • Insert this segment in the structure of the IDoc.
  • Activate the corresponding user exit.

Before the record to be posted is transferred to table ACCIT of the FI/CO document. you receive control in the user exit. The fields of the account assignment block are contained in table T_DATA. To be able to address the fields, you first need to trasnfer the data part (field T_DATA-SDATA) to the
Function/Program:

  • EXIT_SAPLACC1_011: IDoc ACLREC: User Exit for Customer in Accounting Document
  • EXIT_SAPLACC1_012: IDoc ACLREC: User Exit for G/L Account Posting in Accounting Document
  • EXIT_SAPLACC1_013: IDoc ACLREC: User Exit for Taxes in Accounting Document
  • EXIT_SAPLACC1_021: IDoc ACPJOU: User Exit for G/L Account Posting in Accounting Document
  • EXIT_SAPLACC1_031: IDoc ACLPAY: User Exit for Vendor in Accounting Document
  • EXIT_SAPLACC1_032: IDoc ACLPAY: User Exit for G/L Account Posting in Accounting Document
  • EXIT_SAPLACC1_033: IDoc ACLPAY: User Exit for Taxes in Accounting Document

02-Oct-2005