cancel
Showing results for 
Search instead for 
Did you mean: 

User exit for checking Additional credit limit before saving delivery

gaurav_jain27
Participant
0 Kudos

Hi,

Is there any User exit for checking Additional credit limit before saving delivery.

Regards

Gaurav Jain

Accepted Solutions (0)

Answers (3)

Answers (3)

Lakshmipathi
Active Contributor
0 Kudos

Dear Gaurav Jain

If you activate credit management and run credit check in delivery, your requirement will be fulfilled.

thanks

G. Lakshmipathi

former_member204513
Active Contributor
0 Kudos

Dear Jain,

Please try with these User Exits with the help of ABAPer

Credit Check

If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:

LVKMPTZZ

LVKMPFZ1: USER_CREDIT_CHECK1

LVKMPFZ2: USER_CREDIT_CHECK2

LVKMPFZ3: USER_CREDIT_CHECK3

User exit for availability check

User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.

This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.

User exits in the program MV45AFZZ

The user exits which you can use for modifications in sales document processing are listed below.

USEREXIT_SAVE_DOCUMENT

Use this user exit to fill user-specific statistics update tables.

The user exit is called up by the FORM routine BELEG-SICHERN before the COMMIT command.

Note

If a standard field is changed, the field r185d-dataloss is set to X. The system queries this indicator at the beginning of the safety routine. This is why this indicator must also be set during the maintenance of user-specific tables that are also to be saved.

USEREXIT_SAVE_DOCUMENT_PREPARE

Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.

The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.

I hope this will help you,

Regards,

Murali.

Former Member
0 Kudos

These user exits are used for additional checks that the standard configuration does not cater for. For example if you want to check changes to fields.

Check in FD32 / 33 what is risk category assigned to this customer.

Than in Tx OVA8 select the right selection - your company code + risk category + credit group (01 = sales order; 02 = delivery; 03 = GI)

Chose to view detail.

If your process is chosen for static credit check make sure the open deliveries field is ticked.

If your process is chose for dynamic than make sure that the deliveries you are currently having a problem with are not outside the credit horizon.

Please also note the use exits in program MV45AFZZ are used for changes to the sales order ONLY.

Former Member
0 Kudos

Hi Gaurav,

You don't need a user exit for this, all you have to do is to configure credit management to run a credit check at delivery stage.