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

BADI_SD_CM

Former Member
0 Likes
3,303

I need to run the "Credit Check" verification in VA01 and VL01n similar to the standard (customizing), but the with some diferences.

So, I need to find an enhancement (user-exit, badi) to make this check.

I found BADI "BADI_SD_CM".

Does anybody have already used this implementation?

I have created this implementation in SE19 and I`ve put break-points, but when I run the transaction VA01, it does not work.

Is there anything else to do? Does this Badi depends of any customizing?

I`ve checked the folowing: The transaction VA01 executes a function module SD_ORDER_CREDIT_CHECK, and this function module calls the BADI "BADI_SD_CM".

Thanks in advance,

Janete

I need to run the "Credit Check" verification in VA01 and VL01n similar to the standard (customizing), but the with some diferences.

So, I need to find an enhancement (user-exit, badi) to make this check.

I found BADI "BADI_SD_CM".

Does anybody have already used this implementation?

I have created this implementation in SE19 and I`ve put break-points, but when I run the transaction VA01, it does not work.

Is there anything else to do? Does this Badi depends of any customizing?

I`ve checked the folowing: The transaction VA01 executes a function module SD_ORDER_CREDIT_CHECK, and this function module calls the BADI "BADI_SD_CM".

Thanks in advance,

Janete

2 REPLIES 2
Read only

mvoros
Active Contributor
0 Likes
1,508

Hi,

have you read documentation for this BADI? For example there is the following note

This Business Add-In (BAdI) provides methods that execute credit checks

and commitment updates when SAP Credit Management (FIN-FSCM-CR) is

connected.

and

When SAP Credit Management and BAdI BADI_SD_CM are not activated, then

the usual credit management (components SD-BF-CM and FI-AR) are used for

the checks in SD and FI-AR.

So you need to activate FIN-FSCM-CR if you want to use this BADI. You can see variable badi_sd_cm_active in the FM SD_ORDER_CREDIT_CHECK. So just put break point in the FM SD_ORDER_CREDIT_CHECK and check value of this variable. You will see if your BADI is active or not.

Cheers

Read only

0 Likes
1,508

SPRO - Sales and distribution - Basic functins - Credit management/Risk management - Credit managemnt - Define automatic credit control:

select item

If you fill User 1 you can wiite uor abap in LVKMPFZ1

If you fill User 2 you can wiite uor abap in LVKMPFZ2

If you fill User 3 you can wiite uor abap in LVKMPFZ3

regards

Emiliano Merli