Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Payement Card via BAPI_SALESORDER_CREATEFROMDAT2, $1.00 auth amount

Former Member
0 Kudos

I an using BAPI_SALESORDER_CREATEFROMDAT2 to update a sales order with Payment Cards detail. Below are the fields I am populating in order_ccard. The credit card gets posted with all the data but my authorized amount (57.95) does not get copied over, instead I get an authorized amount of $1.00. What am I missing?


  ls_order_card-auth_flag       = ' '.
  ls_order_card-cc_type            = ls_e1edk36-ccins.
  ls_order_card-cc_number       = ls_e1edk36-ccnum.
  ls_order_card-cc_valid_t+0(4) = ls_e1edk36-exdatbi+3(4).
  ls_order_card-cc_valid_t+4(2) = ls_e1edk36-exdatbi+0(2).
  ls_order_card-cc_valid_t+6(2) = '01'.
  ls_order_card-cc_name         = ls_e1edk36-ccname.
  ls_order_card-currency        = ls_e1edk01-curcy.
  ls_order_card-authamount      = ls_e1edk36-fakwr.
  ls_order_card-billamount      = ls_e1edk36-fakwr.
  ls_order_card-cc_re_amount    = ls_order_card-authamount.
  ls_order_card-auth_refno = ls_e1edk36ext-auth_refno.
  ls_order_card-dataorigin   = ls_e1edk36ext-csour.
  ls_order_card-auth_cc_no = ls_e1edk36ext-auth_cc_no.

Edited by: Maurice Bright on Jul 8, 2010 6:36 PM

1 REPLY 1

Former Member
0 Kudos

OSS Note 1347758 resolved part of the issue...

Now the auth amount is equal to the order amount and I cannot auth a different amount.

Edited by: Maurice Bright on Jul 8, 2010 11:06 PM