Skip to Content

Handling Credit Card data in Creating Return order

Standard SAP BAPI to create return orders (BAPI_CUSTOMERRETURN_CREATE) does not have the table parameters to accept credit card data.  In one of the implementations I had a requirement where I need to create return order with reference to invoice and pass the credit card data on Invoice to Return order. To meet this requirement SD_SALESDOCUMENT_CREATE was called (which is RFC enabled) with credit card data in tables parameters SALES_CCARD.  The card data was successfully saved on Return Order.  BAPISDORDER_GETDETAILEDLIST will provide you the data from the reference invoice including credit card data on invoice which you may need to pass on to Return order. 

OSS note 766703 provides more information around Credit Card processing in sales transactions which may need to referred to if you have additional requirements. Depending on your system configuration for credit card processing results / solutions may need to be modified.

1 Comment
You must be Logged on to comment or reply to a post.