Sapass

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



Index

Debtor

Debtor


The business object Debtor is a business partner to whom you owe a receivable for a particular service.


This service can be, for example, goods delivered, certain services performed or a transferred right.


11-Dec-2005


Methods

Available Methods


  • ChangePassword : Change customer password [ BAPI_DEBTOR_CHANGEPASSWORD ] (Obsolete in 46A)
  • CheckPassword : Check customer password [ BAPI_DEBTOR_CHECKPASSWORD ] (Obsolete in 46A)
  • CreatePasswordRegistry : Create entry for customer password [ BAPI_DEBTOR_CREATE_PW_REG ] (Obsolete in 46A)
  • DeletePasswordRegistry : Delete entry for customer password [ BAPI_DEBTOR_DELETE_PW_REG ] (Obsolete in 46A)
  • ExistenceCheck : Check existence of object [ BAPI_DEBTOR_EXISTENCECHECK ] (Obsolete in 46A)
  • Find : Customer Matchcode [ BAPI_DEBTOR_FIND ] (Obsolete in 46A)
  • GetDetail : Read detailed information [ BAPI_DEBTOR_GETDETAIL ] (Obsolete in 46A)
  • GetPasswordRegistry : Read entry for customer password [ BAPI_DEBTOR_GET_PW_REG ] (Obsolete in 46A)
  • InitPassword : Initialize customer password [ BAPI_DEBTOR_INITPASSWORD ] (Obsolete in 46A)

11-Dec-2005


ChangePassword

ChangePassword


This method is used to change a password to a customer.

Notes

To be able to access this method, you must first check that this customer's number is defined in the customer master record.

It follows that this method cannot be accessed unless this number is defined in the master record.


The password itself is stored in encrypted form in table BAPIUSW01.


11-Dec-2005


CheckPassword

CheckPassword


This method is used to check a password to a customer.

Notes

To be able to access this method, you must first check that thiscustomer's number is defined in the customer master record since this method cannot be accessed unless this number is so defined.

The password is stored in encrypted form in central table BAPIUSW01.


11-Dec-2005


CreatePasswordRegistry

CreatePasswordRegistry


This method enables you to create an entry for a customer in password management.

It does not generate a password for a customer.

Notes

To be able to access this method, you must first check that thiscustomer's number is defined in the customer master record since this method cannot be accessed unless this number is so defined.

This entry is made in central table BAPIUSW01.


11-Dec-2005


DeletePasswordRegistry

DeletePasswordRegistry


This method is used to delete an entry for a customer in password management.

Notes

To be able to access this method, you must first check that this customer's number is defined in the customer master record since

this method cannot be accessed unless this number is so defined. This entry is deleted in central table BAPIUSW01.



11-Dec-2005


ExistenceCheck

ExistenceCheck


This method is used to determine whether a customer exists or not.

If you have specified a company code, an additional check is made as to whether the customer is created in this company code.


11-Dec-2005


Find

Find


This method is obsolete. Instead use the method found in the business object KNA1 or the function module BAPI_CUSTOMER_FIND.

This method finds all customers that have stored transferred contentsin a transferred field of a transferred table. The search terms are transferred in structure SELOPT_TAB.


Any blocks or deletion flags found for these vendors are marked.

The number of hits can be limited using parameter MAX_CNT. The figure 0indicates that there is no limit set to the number of hits.

In the standard system, an exact search is run for the field contents
(field SELOPT_TAB-FIELDVALUE). If you select the PL_HOLD parameter, youpermit the use of the meta character, which means that "*" masks a character string, and "+" masks a character.

Each search term is processed separately and is not linked with other
search terms. In each case, therefore, no more than one field is searched in the customer master record table.

This method is CASE sensitive, with the exception of the matchcode fields maintained in table TFMC.

Example

You want to find the customers which have the value "23" in field
KNB1-PERNR (personal number) in company code 0001. The system shoulddisplay all customers found. The search should be run exactly, that is, without using meta characters.

Required entries:

Table SELOPT_TAB

Field Content
-----------------------------------------
COMP_CODE 0001

TABNAME KNB1
FIELDNAME PERNR
FIELDVALUE 23

IMPORT parameters
MAX_CNT 0
PL_HOLD SPACE

Transferring the IMPORT parameters MAX_CNT and PL_HOLD is optional,
because the above values are the same as those in the standard
system.


  1. You find to find the customers whose LFB5-LFRMA field (dunningrecipient's account number) begins with the character string "SAP". Thesearch should be run in all company codes, and the hit list should be limited to a mximum of 100. Meta characters may be used.

Required entries:

Table SELOPT_TAB

Field Inhalt
-----------------------------------------
COMP_CODE SPACE
TABNAME KNB5
FIELDNAME KNRMA
FIELDVALUE SAP*


IMPORT parameters
MAX_CNT 100
PL_HOLD X

You must transfer the import parameters MAX_CNT and PL_HOLD because
the above values are different to those in the standard system.


11-Dec-2005


GetDetail

GetDetail


This method enables you to call up detailed information on a customer.

The following information is supplied:

General data,

A table of bank data and, (if you specified a company code)

Company code-specific data


11-Dec-2005


GetPasswordRegistry

GetPasswordRegistry


This methode enables you to read status information relating to password management for a customer.

Notes

Before attempting to call up this method, you must first check that the customer number is defined in the customer master record.


It follows that you cannot call up this method unless the customer's number is so defined in the master record.

Status information is stored in central table BAPIUSW01.


11-Dec-2005


InitPassword

InitPassword


This method enables you to initialize a password to a customer.

An initial password is returned.

Notes

Before attempting to call up this method, you must first check that the customer number is defined in the customer master record.

It follows that this method cannot be called up unless the customer number is so defined in the master record.

The password itself is stored in encrypted form in central table BAPIUSW01.


11-Dec-2005