×

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




Sapass

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



Index

MDM_KUNDE

MDM_KUNDE


This object type is used for incoming workflows for newly created objects in the MDM scenario.


11-Dec-2005


Methods

Available Methods


  • ChangePassword : Change Customer Password [ BAPI_CUSTOMER_CHANGEPASSWORD ]
  • CheckExistence : Check Validity of Customer Number [ BAPI_CUSTOMER_CHECKEXISTENCE ]
  • CheckPassword : Check Customer Password [ BAPI_CUSTOMER_CHECKPASSWORD ]
  • CreatePassword : Create Entry for Customer Password [ BAPI_CUSTOMER_CREATEPWREG ]
  • DeletePassword : Delete Entry for Customer Password [ BAPI_CUSTOMER_DELETEPWREG ]
  • GetPassword : Read Entry for Customer Password [ BAPI_CUSTOMER_GETPWREG ]
  • GetSalesAreas : Read Customer Sales Areas [ BAPI_CUSTOMER_GETSALESAREAS ]
  • InitPassword : Initialize Customer Password [ BAPI_CUSTOMER_INITPASSWORD ]

11-Dec-2005


ChangePassword

ChangePassword


You can use this function module to change a customer password.

The password is encrypted and stored in central table BAPIUSW01.

Example

call function 'BAPI_CUSTOMER_CHANGEPASSWORD'

exporting

object_id = customerid


password = oldpass

new_password = newpass

verify_password = veripass

importing

return = rcode.

Notes

The precondition for calling this function module is a check of the


customer number in the customer master record.

This function module cannot be called if the customer number does not

exist in the master record.


11-Dec-2005


CheckExistence

CheckExistence


OBSOLETE! DO NOT USE!

The CheckExistence method in the Customer business object is obsolete.Intead you should use the ExistenceCheck. The detailed data about thecustomer that was returned to the CheckExistence method is now available in the GetDetail2 method.



11-Dec-2005


CheckPassword

CheckPassword


OBSOLETE! DO NOT USE!

The CheckPassword method in the Customer business object is obsoleteand you should now use the CheckPassword1 method. The detailed dataabout the customer that used to be returend to the CheckPassword method is now available in the GetDetail2 method.


You can use this function module to check a customer's password.

The password is stored as a key in the central BAPIUSW01 table.

Example

call function 'BAPI_CUSTOMER_CHECKPASSWORD'

exporting

object_id = customerid


password = pass

importing

return = rcode.

Notes

Before you can call up the function module, you must check the customer number in the customer master record.

You should not call up the function module if the customer number is not in the master record.


11-Dec-2005


CreatePassword

CreatePassword


In this function module, an entry for the customer is created in table

BAPIUSW01.

The system does not generate a password for the customer.

The following are displayed as return codes:

'00' = ok

'11' = Entry in table BAPIUSW01 already exists


Example

call function 'BAPI_CUSTOMER_CREATEPWREG'

exporting

object_id = customerid

importing

return = rcode.

Notes

Before calling up the function module, check the customer number in the customer master record.


If the customer number is not available in the master record, you can not call up the function module.

Further Information

FB 'BAPI_CUSTOMER_INITPASSWORD'


11-Dec-2005


DeletePassword

DeletePassword


This function module deletes the customer entry in table BAPIUSW01.

The following return codes are displayed:

'00' = ok

'10' = Entry is not available in table BAPIUSW01

Example

call function 'BAPI_CUSTOMER_DELETEPWREG'


exporting

object_id = customerid

importing

return = rcode

Notes

Before calling up the function module, you must check the customer number in the customer master record.


If the customer number does not exist in the master record, you cannot call up the function module.


11-Dec-2005


GetPassword

GetPassword


You can read status information about a customer from table BAPIUSW01 with this function module.

The following are displayed as return codes:

'00' = ok

'10' = Entry does not exist in table BAPIUSW01

Example


call function 'BAPI_CUSTOMER_GETPWREG'

exporting

object_id = customerid

importing

statusinfo = customerstatus

return = rcode.

Notes

You must check the customer number in the customer master record before calling up the function module.


If the customer number does not exist in the master record, you cannot call up the function module.


11-Dec-2005


GetSalesAreas

GetSalesAreas


This module reads all the sales areas for a customer.

Notes

Notifications are displayed by the parameter RETURN
You can find the notification values and their meanings in thisparameter.


11-Dec-2005


InitPassword

InitPassword


The system determines an initial customer password.

The password is encrypted and stored in central table BAPIUSW01.

Returen codes are:

'00' = ok

'10' = Entry in table BAPIUSW01 does not exist

Example

call function 'BAPI_CUSTOMER_INITPASSWORD'


exporting

object_id = customerid

importing

password = initpassword

return = rcode.

Notes

Check the customer number in the customer master record before calling


the function module.

The function module cannot be called if the customer number does not

exist in the master record.


11-Dec-2005