Application Development and Automation 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: 
Read only

BAPI_CREDITCHECK doesnt work

Former Member
0 Likes
1,731

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

4 REPLIES 4
Read only

Former Member
0 Likes
998

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.

Read only

0 Likes
998

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??

Read only

Former Member
0 Likes
998

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.

Read only

0 Likes
998

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