Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>DebtorCreditAccount



Index

DebtorCreditAccount

DebtorCreditAccount


The business object Debtor - credit account is a structure for
the recording of credit information regarding a debtor within a credit
control area in order to monitor the credit amount that is granted to the debtor in the credit control area.


Structure

A debtor - credit account contains the aggregate value of all open
items (utilized credit), the aggregate value of the customer orders not
yet supplied, the customer deliveries not yet billed, and also the customer billing documents not yet recorded in accounting terms
(expected credit exposure).


11-Dec-2005


Methods

Available Methods


  • GetDetail : Master data determination [ BAPI_CR_ACC_GETDETAIL ]
  • GetHighestDunningLevel : Determination of highest dunning level [ BAPI_CR_ACC_GETHIGHESTDUNNINGL ]
  • GetOldestOpenItem : Determination of oldest open item [ BAPI_CR_ACC_GETOLDESTOPENITEM ]
  • GetOpenItemsStructure : Determination of OI structure [ BAPI_CR_ACC_GETOPENITEMSSTRUCT ]
  • GetStatus : Determine credit status of credit account [ BAPI_CREDIT_ACCOUNT_GET_STATUS ]
  • ReplicateStatus : Copy credit status [ BAPI_CREDIT_ACCOUNT_REP_STATUS ]

11-Dec-2005


GetDetail

GetDetail


This method enables data from the master record of the vendor accountto be determined in a credit control area. If the accounting systemcreates A/R summary data in response to this method, you can use the parameters

ALLOWED_AGING_IN_DAYS


ALLOWED_AGING_IN_HOURS

to specify how old this A/R summary data is allowed to be.

If this A/R summary data is then too old, it is then read from the database.


11-Dec-2005


GetHighestDunningLevel

GetHighestDunningLevel


This method enables data for the highest dunning level of a creditaccount to be determined in a credit control area. If the accountingsystem creates A/R summary data in response to this question, you can use the parameters

  • ALLOWED_AGING_IN_DAYS

  • ALLOWED_AGING_IN_HOURS
  • to specify how old this A/R summary is allowed to be.

    If this A/R summary data is then too old, the current data from the database is read.


    11-Dec-2005


    GetOldestOpenItem

    GetOldestOpenItem


    This method enables data on the oldest open item in a credit account to be determined in a credit control area.

    If the accounting system creates A/R summary data in response to this question, you can use the parameters

  • ALLOWED_AGING_IN_DAYS

  • ALLOWED_AGING_IN_HOURS
  • to specify how old this A/R summary is allowed to be.

    If this A/R summary data is then too old, the current data from the database is read.


    11-Dec-2005


    GetOpenItemsStructure

    GetOpenItemsStructure


    This method enables data on the open item structure of a credit accountto be determined in a credit control area. If the accounting systemcreates A/R summary data in response to this question, you can use the parameters

  • ALLOWED_AGING_IN_DAYS

  • ALLOWED_AGING_IN_HOURS
  • to specify how old this A/R summary is allowed to be.

    If this A/R summary data is then too old, the current data from the database is read.


    11-Dec-2005


    GetStatus

    GetStatus


    This method enables A/R summary data to be determined. A/R summary datacontains all the data regarding credit that is required to be able to conduct an operative credit check when entering orders.

    Whether A/R summary data is created (and can then be used) is defined in the accounting system itself.


    If no A/R summary data is created, the data can be gradually determined by calling up the following methods:

  • GetOldestOpenItem
  • GetHightestDunningLevel
  • GetOpenItemsStructure
  • GetDetail
  • If these methods are used, the A/R summary data represents a summary of
    the partial results of the above mentioned methods. Although the datafrom these methods may not be up-to-date, it can be determined much more quickly.


    11-Dec-2005


    ReplicateStatus

    ReplicateStatus


    This method is used internally only. Its function is to receive andthen store the A/R summary data created in the accounting system and sent via ALE.


    11-Dec-2005