‎2008 Oct 14 3:01 PM
I'm having the following problem with BAPI_CREDITCHECK.
I'm passing the following fields with values in IT_CREDITLINES:
CREDITGROUP
PAYER
RISK_CATEGORY
SALES_ORGANIZATION
DISTRIBUTION_CHANNEL
DIVISION
CREDIT_CONTROL_AREA
CURRENCY
NET_VALUE
TAX_VALUE
TOTAL_VALUE
But after executing, the only values i'm getting in ET_CREDITLINES are the same i've posted in IT_CREDITLINES ...
Does anyone have put this BAPI to work??
Thanks
‎2008 Oct 14 4:44 PM
Can you cross-check the table entries (using SE16 transaction) in T691F and KNKK for the
IT_CREDITLINES values that you passed via the BAPI.
‎2008 Oct 14 5:40 PM
I've crossed checked and here is what i find:
In IT_CREDITLINES i have the following data:
CMGRA: 01
KUNNR: client1
CTLPC: 003
VKORG: 0001
VTWEG: 01
SPART: 01
KKBER: 0001
WAERS: EUR
NETWR: 100
MWSBP: 20
NETWR: 120
In table KNKK i saw the client the credit control area and the risk category.Like:
KUNNR KKBER CTLPC
client1 0001 003
In table T691F i just find credit control area, the risk category and credit group. Like:
KKBER CTLPC CRMGR
0001 003 01
Do you see anything strange??
‎2008 Oct 15 3:12 PM
This BAPI uses tables S066 and S067 (SIS infostructures) to get relevant data. Can you check if these tables have values for your credit control area.
‎2008 Oct 15 3:30 PM
Yes they are populated.
I tried the CREDIT_EXPOSURE FM and the results i get with this FM are correct.
And when i use BAPI_CREDITCHECK nothing is returned.
Also tried BAPI_CREDIT_ACCOUNT_GET_STATUS and i got the following error message: "550Credit status does not exist for customer CUSTOMER1 in control area 0001"
Thanks