2011 Jan 10 7:58 PM
Hi,
How to get payment card type(CCINS) attached like 'VISA', 'AMEX' etc., that is attached to sales order(VBELN).
my requirement is I need to exclude sales orders where the payment is done thru credit cards means exclude prepaid orders.
Thanks
2011 Jan 11 7:47 PM
2011 Jan 11 8:24 PM
I haven't worked with order-related cc data in a long time, so I don't remember if there's any order specific storage of CCINS. However, TVCTD stores the information for payment card config of the credit card number ranges. There is also the CCARD_CHECK* functions for specific number checking and VCNUM which is the credit card master and stores the type. How you access the VCNUM table depends on whether or not you're using the SAPCryptoLib.
2011 Jan 13 2:30 PM
How to link this table with specific sales order number for payment card type attached to that sales order?
2011 Jan 13 3:20 PM
I would suggest that you review the code, either by debugging or trace analysis, to determine relationships and data retrieval. This is how experienced devlopers do it.
2011 Jan 13 4:20 PM
HI,
Use this relationship:
select single rplnr from vbak into v_rplnr where vbeln = <SO Number>.
if sy-subrc = 0.
select single ccins from fpltc into v_ccins where fplnr = v_rplnr.
endif.
Hope it helps..
Cheers,
Vikram