cancel
Showing results for 
Search instead for 
Did you mean: 

Balance of credit limit value only allow to delivery

Former Member
0 Kudos

My client requirement is only credit limit balance value
only allow from sales order to delivery.

Example

   Customer credit limit is Rs 100000. Sales order created for Rs 200000.

 

    But system should allow to creating delivery for credit limit Rs 100000 only.

    How can handle this situation?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can write the following logic in the sales order user exit:

Suppose

Sales order Qty = 100 EA

Sales order value = Rs 200000.

Value per EA = 200000/100 = 2000 Rs.

Available credit limit = Rs. 100000.

How much customer can afford = 100000/2000 = 50EA.

Now split the schedule lines into two in 50EA each.

Confirm the first line with qty =50 and put Delivery block = 01 for second line of 50EA.

Take help of your ABAP resource to identify the right position to write this code.

Former Member
0 Kudos

Hi Bheem,

Thank you for your reply,

Can you explain the logic to ABAPers if being multiple line item in the SO?                                   

Thanks and Regards,

Saravenakumar.K

Former Member
0 Kudos

Hi Saraven,

Credit check is at Order level not line item level. The whole value of the order will be used to perform the credit check against the credit limit.

But the question is valid, how will you decide which item you have to deliver if you have multiple line items.

Business should tell you the requirement, but if you want to divide that evenly, you can use following logic:

line item 10: qty 10: value 500

Line item 20: qty 8: value 1000

line item 30: qty 20: value 2000.

Total: 3500

Credit limit : 2000.

Now divide the 2000 in the ratio of qty or value, whatever way your business wants.

Former Member
0 Kudos

Hi Bheem,

Sorry for the delay reply,

I have given the  logic for SO schedule line split for all line item to ABAPer that percentage of different between Credit limit balance and SO value. He is analysing the logic.

Is any some other options to handle this requirement?

Regards,

Saravena

Answers (3)

Answers (3)

jobis
Contributor
0 Kudos

Hi ALL,

I am thinking, is nt it poosible to have a credit check at delivery level at Rs. 100000 and block it there.?

so an order which is less than Rs. 200000 will be delivered up to rs. 100000 only. This is in STD

Please correct me if am wrong

Thanks for your time and reply

Jobi

Former Member
0 Kudos

Hi,

Credit Block will happen for your whole document amount only. If you need to move forward in this case then you have to credit approve the Sales Document by VKM3 and then you can proceed further for delivery and billing.

Regards

Suneet

srinu_s1
Active Contributor
0 Kudos
 But system should allow to creating delivery for credit limit Rs 100000 only.

Will the customer agree for the partial qty of delivery? in your case as per your requirement customer

should definitely agree for the partial qty because when you are agreeing for the customer available credit limit indirectly you have to reduce the customer order qty.

And coming into your requirement, it will work if your sales order contains multiple line items then when the user is entering the multiple line items and the nearest line item is reaching the 100000/rs of customer credit limit system will not allow further of the 100000/rs above order value, subject to you maintained the item check in OVA8.

thanks,

Srinu.