2009 Oct 03 1:24 PM
Hi all,
I'm facing an issue after creating an order using the BAPI_SALESORDER_CREATEFROMDAT2. I'm authorizing the credit card by calling the simulate bapi and if authorization received, passing the authorization data to the create bapi. everything is fine except that i could see and extra line in the payment cards tab with only CC NUM, CC NAME, CC Expiry date, CC_LIMITED(checked).
Issue is only when we are having the split authorization
Below is the data i'm passing to the create bapi
CC_TYPE = Getting from Simulae BAPI
CC_NUMBER = Getting from Simulae BAPI
CC_VALID_T = Getting from Simulae BAPI
CC_NAME = Getting from Simulae BAPI
AUTHAMOUNT = Getting from Simulae BAPI
CURRENCY = Getting from Simulae BAPI
CURR_ISO = Getting from Simulae BAPI
AUTH_DATE = Getting from Simulae BAPI
AUTH_TIME = Getting from Simulae BAPI
CC_AUTTH_NO = Getting from Simulae BAPI
AUTH_REFNO = Getting from Simulae BAPI
CC_REACT = Getting from Simulae BAPI
CC_RE_AMOUNT = Getting from Simulae BAPI
GL_ACCOUNT = Getting from Simulae BAPI
CC_STAT_EX = Getting from Simulae BAPI
CC_REACT_T = Getting from Simulae BAPI
MERCHIDCL = Getting from Simulae BAPI
AUTH_FLAG = "X"
AUTHORTYPE = "A"
DATAORIGIN = "E"
CC_LIMITED = ""
If i'm not passing CC_LIMITED = "" then it is trying to create another authorization even after filling AUTH_FLAG = "X".
Can someone help me out in figuring out where the issue is?
Thanks in advance
Satya
2009 Oct 05 7:48 PM
Satya,
The stadard functionality of BAPI_SALESORDER_CREATEFROMDAT2 when passing in authorization details obtained previously is to create 2 lines in the FPLTC table:
1) The Request Line: This contains the card type, card number, expiration date and cardholder name.
2) The Response Line: This contains the same information as the Response (except the cardholder name) with the addition of the Amount, Authorization Code, Authorization Reference code, etc.
The first line (Request Line) MUST be in the order or no subsequent authorizations can be performed if needed. The second line (Response Line) will have a Green Traffic Light if it is an APPROVED response and is the one SAP uses to determine if Delivery and Billing can be performed.
Are these the two lines you see?
Eric Bushman
VP, Solutions Engineering
[Paymetric|https://www.paymetric.com]
Satya,
The stadard functionality of BAPI_SALESORDER_CREATEFROMDAT2 when passing in authorization details obtained previously is to create 2 lines in the FPLTC table:
1) The Request Line: This contains the card type, card number, expiration date and cardholder name.
2) The Response Line: This contains the same information as the Response (except the cardholder name) with the addition of the Amount, Authorization Code, Authorization Reference code, etc.
The first line (Request Line) MUST be in the order or no subsequent authorizations can be performed if needed. The second line (Response Line) will have a Green Traffic Light if it is an APPROVED response and is the one SAP uses to determine if Delivery and Billing can be performed.
Are these the two lines you see?
Eric Bushman
VP, Solutions Engineering
[Paymetric|https://www.paymetric.com]
2009 Oct 03 10:56 PM
Hi Satyanarayana,
sorry, I can't read your code.
Regards,
Clemens
2009 Oct 05 7:48 PM
Satya,
The stadard functionality of BAPI_SALESORDER_CREATEFROMDAT2 when passing in authorization details obtained previously is to create 2 lines in the FPLTC table:
1) The Request Line: This contains the card type, card number, expiration date and cardholder name.
2) The Response Line: This contains the same information as the Response (except the cardholder name) with the addition of the Amount, Authorization Code, Authorization Reference code, etc.
The first line (Request Line) MUST be in the order or no subsequent authorizations can be performed if needed. The second line (Response Line) will have a Green Traffic Light if it is an APPROVED response and is the one SAP uses to determine if Delivery and Billing can be performed.
Are these the two lines you see?
Eric Bushman
VP, Solutions Engineering
[Paymetric|https://www.paymetric.com]
2009 Oct 05 7:52 PM
Thanks Eric for the answer. I'm able to figure out the issue. It was with the way i'm passing the authorization data to the create bapi.
Thanks
Satya
2009 Oct 05 7:56 PM
Please assign p0ints to helpful suggestions and mark this thread as 'solved'.
Rob
2009 Oct 05 7:58 PM
>
> Thanks Eric for the answer. I'm able to figure out the issue. It was with the way i'm passing the authorization data to the create bapi.
>
> Thanks
> Satya
If you have Solved out the Query than Please Close this Question.
Faisal
2009 Nov 06 10:16 PM
Hello,
It seems the problem what Satya faced is similar to my current issue I am facing. The issue is that I want to attach an External System authorization to the Sales Order, by passing the values in the ORDER_CCARD table. When I do that, although the sales Order gets created successfully. But when the user saves the order it is reauthorizing again.
We are using Pay metric Credit card authorizations.
Please let me know any solution or ideas to this issue.
Regards,
Prabhu Avanti
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |