cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement SAP note 751044

former_member215917
Active Participant
0 Kudos

Hi Experts,

We have activated gATP in our SAP system. We have one requrirement in which we want credit check to be done on the basis of ordered quantity instead of confirmed quantity (which is standard SAP behaviour). SAP has suggested us 3 SAP notes - 100861, 751044 and 149559.

SAP note 751044 mentions as follows:

Solution

The complete check has to be programmed in the user-exits 1-3 of

programs SD_ORDER_CREDIT_CHECK and SD_DELIVERY_CREDIT_CHECK:

LVKMPFZ1, LVKMPFZ2, LVKMPFZ3

In these user-exits you could perform the check of the document credit

value against the credit limit of the customer.

In case of a negative credit check the returncode UCC3_RC has to be

set to 4 within the user-exit.

We are not sure as what check exactely is needed to be put in user exits in order to achieve our requirement.

Please provide us information about this SAP note, changes requried as part of it and its beaviour as how it will alter normal processing. If someone has already implemented this SAP note, it will great if you can share the details with us.

Your inputs will be highely appreciated. Thank you!

Gouri.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi!

Further to the above explaination, in TCode OVA8, select e.g. 'User 1' ( LVKMPFZ1) and its system reaction.

For a specific combination of CCA/Risk Category/Cr Grp, use the above option and in the code write UCC1_RC = '4' if you wish the credit check to be 'NOT OK'. System reaction selected as 'A' or 'C' shall Block the sales document.

Hope you have checked your update group also.

Regards

Arun

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

You control the behavior of function module SD_ORDER_CREDIT_CHECK (for SO for instance) with settings in OVA8.

If you read the ABAP coding each option has a call of subroutine always with the same interface (using and changing) or very similar.


      perform SUBROUTINE using   update
                                      xvbak-kkber
                                      xvbak-knkli
                                      flg_order
                                      flg_delivery
                                changing
                                      rc_check_h rc_check rc_warning
                                      rc_error rc_status_set
                                      rkvbuk-cmpsh.

where SUBROUTINE are: static_credit_check, dynamic_credit_check, document_value_check, critical_fields_check, review_date_check, open_item_check, oldest_open_item_check, dunning_level_check, user_credit_check1, user_credit_check2, user_credit_check3 (the difference is that in userexit you complete the indicators of changing with an additional subroutine):


      perform indicators_set using    update rc_check_2 t691f-usr2set
                                                        t691f-usr2rea
                             changing rc_check rc_warning
                                      rc_error rc_status_set
                                      rkvbuk-cmps2.

for userexit2 for instance.

My advice: read the coding, understand how it works and build your own algorithm with ABAP in this includes.

I hope this helps you

Regards,

Eduardo