Ansicht
Dokumentation

BAPI_CUSTOMER_GETDETAIL1 - Only to ONLINE Store!!! BAPI Read Cstmr to BO Cstmr (KNA1) - with CAM

BAPI_CUSTOMER_GETDETAIL1 - Only to ONLINE Store!!! BAPI Read Cstmr to BO Cstmr (KNA1) - with CAM

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method of the "Customer" business object is used to determine either the personal or optional personal data of a customer that exists in SAP R/3 (PE_PERSONALDATA_NEW / PE_OPT_PERSONALDATA_NEW) or the company or optional company data. (PE_COMPANYDATA / PE_OPT_COMPANYDATA)
A couple of these structures, depending on whether the customer is a person or a company, are always returned filled. For the characteristic person or company, see import parameter Customerno.
Note: From now on, the structures PE_PERSONALDATA and PE_OPT_PERSONALDATA are, for compatibility reasons, always filled with data. See the description for more information. As of SAP R/3 4.6A, these new structures should be used: PE_PERSONALDATA_NEW / PE_OPT_PERSONALDATA_NEW or PE_COMPANYDATA / PE_OPT_COMPANYDATA.
Description:
All the customer address data is determined from Central Address Management (CAM).
The address type and address number (see export parameter PE_SDDRESS_NO_TYPE) that are pointers in the CAM table, are made available from this BAPI to the program to be called.
If a distribution channel and division are also transferred to the BAPI, the relevant currency is determined from the customer master and provided for structure PE_PERSONALDATA and/or PE_OPT_PERSONALDATA.
Authorization requirements for using this BAPI: Display authorization must exist for the following objects: F_KNA1_APP (customer: user authorization), F_KNA1_BUK (customer: authorization for company codes, for the selected company code), and if a distribution channel and division are also transferred to the BAPI, V_KNA1_VKO (customer: authorization for sales organization).
Authorization profiles that cover the above objects are SAP_ALL, V_Verkauf and V_Versand.

Example

Notes

Messages are returned in parameter RETURN1. The return values and their meanings can be found in this documentation.

Further information





Parameters

CUSTOMERNO
PE_ADDRESSTYPE_NO
PE_COMPANYDATA
PE_CONSUMER_FLAG
PE_OPT_COMPANYDATA
PE_OPT_PERSONALDATA
PE_OPT_PERSONALDATA_NEW
PE_PERSONALDATA
PE_PERSONALDATA_NEW
PI_DISTR_CHAN
PI_DIVISION
PI_SALESORG
RETURN

Exceptions

Function Group

V02D

rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3609 Date: 20240523 Time: 091149     sap01-206 ( 59 ms )