Skip to Content
avatar image
Former Member

BAPI's on HANA

Hi

We use the following BAPI’s today on ECC6: Would any of these be affected when our clients migrate to HANA?

When posting Journal Entries:

1.       BAPI_ACC_DOCUMENT_CHECK

a.       Description:  Simulate journal entry posting prior to actual posting

2.       BAPI_ACC_DOCUMENT_POST

a.       Description:  Post the journal entry (only after successful CHECK)

3.       BAPI_USER_EXISTENCE_CHECK

a.       Description:  If desired, verify that the username is a valid SAP user

4.       BAPI_ACC_DOCUMENT_REV_POST

a.       Description:  Performs reversing entries

5.       RFC_READ_TABLE

a.       Description:  Pull Document # from SAP into the Journal Entry after successful POST

When retrieving General Ledger month-end balances:

1.                   BAPI_COMPANYCODE_GETLIST

2.                   API_COMPANYCODE_GET_PERIOD

3.                   BAPI_COMPANYCODE_GETDETAIL

4.                   BAPI_GL_ACC_GETLIST

5.                   BAPI_GL_ACC_GETDETAIL

6.                   BAPI_GL_GETGLACCPERIODBALANCES

7.                   BAPI_COMPANYCODE_EXISTENCECHK

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 22, 2015 at 06:37 PM

    Hello Conrad,

    all functions will work also if you have migrated to HANA. All these functions are standard SAP functions. If there were any issues regarding HANA, SAP has adjusted them (or will do it if there is still a problem).

    If you use the functions in custom coding, you should check your custom coding regarding potential issues. For example if you use RFC_READ_TABLE the data can be returned in a different order, if you have not defined an explict order by or if you do not sort your data in ABAP. This is because the data will be returned in a different order than e.g. from an Oracle DB.

    SAP provides different CodeInspector check variants which can be used to check custom coding (SAP uses them also internally:

    • FUNCTIONAL_DB and FUNCTIONAL_DB_ADD: performs checks regarding functional correctness
    • PERFORMANCE_DB: performs check regarding performance issues

    More information (e.g. notes) can be found in discussion .

    Best Regards,

    Florian

    Add comment
    10|10000 characters needed characters exceeded