on 05-21-2007 11:08 AM
Hello all,
We are having trouble processing mixed payments in cash sales
Example: order value 100, cash 50, visa 50 (manual authorisations).
I get V/ 032: "Insufficient authorization for sales document" when trying to invoice.
Please note, this is a simple test flow, single order-delivery-invoice.
I have found note 693746 which just might be relevant, but we are not keen to implement big modification notes.
We are using just the "dummy"authorisation in the system, with FM
FUNCTION zzccard_auth_simulation.
*"----
""Local interface:
*" TABLES
*" T_CCAUT_IN STRUCTURE CCAUT
*" T_CCAUT_OUT STRUCTURE CCAUT_R
*" T_CCAUT_HEADERS STRUCTURE CCAUT_H
*" T_CCAUT_ITEMS STRUCTURE CCAUT_I
*"----
*"----
Please read the documentation to this function
*"----
Simulate Authorization
LOOP AT t_ccaut_in.
MOVE-CORRESPONDING t_ccaut_in TO t_ccaut_out.
Preauthorization - Set to 1 USD, etc.
IF t_ccaut_in-ccpre EQ 'X'.
t_ccaut_in-autwv = 1.
ENDIF.
Simulation
*DW(8.05.2003) begin
IF T_CCAUT_IN-CCINS = 'CASH'. "20020812 INS
IF t_ccaut_in-ccins = 'CASH' OR
t_ccaut_in-ccins = 'CARD' OR
FDES: insert begin 2004.01.21
t_ccaut_in-ccins = 'CHEQ' OR
FDES: insert end 2004.01.21
t_ccaut_in-ccins = 'SPED'.
*DW(8.05.2003) end
t_ccaut_out-autwr = t_ccaut_in-autwv.
t_ccaut_out-aunum = '1234'.
t_ccaut_out-autra = '1111111111'.
t_ccaut_out-rcrsp = ' '.
t_ccaut_out-rtext = text-003.
t_ccaut_out-react = 'A'.
t_ccaut_out-rcavr = ' '.
t_ccaut_out-rcava = ' '.
t_ccaut_out-rcavz = ' '.
ELSE.
?
ENDIF.
APPEND t_ccaut_out.
ENDLOOP.
ENDFUNCTION.
Any ideas?
Thanks and regards,
Jim
Some changes in the FM took care of the issue.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jim,
if you need that some items will not be covered by the payment card in the sales order, you have to delete (clear) the value of the vbap-abfor for such items. The note 193049 might be halpfull here.
Best regards,
Lela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.