SAP Function BAPI_BUPA_PCARD_ADD - SAP BP, BAPI: Add Payment Cards

Parameter Reference Type Length Default Optional Text
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner Number
CARD_ID BAPIBUS1006_PCARD_DETAILS-CARD_ID C 6 X Payment Card ID
DATA BAPIBUS1006_PCARD_DATA u 70 Attributes of the Payment Card Details

Parameter Reference Type Length Text
CARD_ID_OUT BAPIBUS1006_PCARD_DETAILS-CARD_ID C 6 Payment Card ID

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 X Return Parameter

Functionality
With this BAPI, a payment card assignment can be added to a businesspartner. It is not strictly necessary to state a payment card ID. Ifyou do not have an ID for the assignment, the system attempts toallocate an ID automatically.
For example, if assignments exist with the ID 0001 and if no paymentcard ID is stated, then the system allocates the ID 0002. This ID isstated with the parameter CARD_ID_OUT. If errors should occur, they arelisted in the table RETURN.

Description
Payment card ID (if assigned automatically by module).
INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX

Description
Payment card ID (optional)

Description
Card data

Description
Message table