Hi,
In CRM 5.0, I am trying to change an existing BP by adding data to the payment transactions tab on BP transaction. I am using FM BAPI_BUPA_PCARD_ADD and it is not saving the data in the DB. Here is my code. Can someone please tell me what am I missing here..
wa_data-card_type = gwa_payment-card_type. " e.g VISA
wa_data-card_number = gwa_payment-card_number. " a valid credit card numebr
wa_data-card_default = 'X'.
CALL FUNCTION 'BAPI_BUPA_PCARD_ADD'
EXPORTING
businesspartner = gv_soldtoparty
data = wa_data
IMPORTING
card_id_out = ev_ccard_id
TABLES
return = lt_return.
COMMIT WORK.
CALL FUNCTION 'ADDR_MEMORY_SAVE'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
None of the above commits are helping me save the data to DB. Ideas....? Any help will be appreciated and points will be awarded.
Thanks