Skip to Content
avatar image
Former Member

Custom enhancement to bypass credit check for inbound deliveries

Hello Experts,

I have a scenario in which the business uses the same document type for outbound and inbound deliveries.

The challenge is the order gets blocked for delivery when the customer fails credit check(goes over the limit).

The business has to manually release the order. The business wants that the inbound delivery should

not be blocked even though the document fails credit check.

My understanding is that an enhancement needs to be done to achieve this, but I am not sure

where exactly to suggest this enhancement so that it works for all delivery types.

Any help is appreciated.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Mar 26, 2014 at 01:35 PM

    Hello,

    what about removing the "Credit Group" and "Credit check", under "Assign Sales Documents and Delivery Documents --> Credit limit check for order types" and assigning it to "Credit limit check for delivery types"? I hope that delivery type is different  for outbound and inbound deliveries. The credit check is made at document level, and so the credit block and release: hence blocking only an item I fear is not possible with customizing neither with user-exits or enhancements.

    User 1, User 2 and User 3 fields mean that if in customizing of OVA8 you set the flag on User 1, when you create/change a document for a customer belonging to that risk category, user-exit LVKMPFZ1: USER_CREDIT_CHECK1 is triggerend, and so the possible custom code you added there, is performed; the same for User 2 and User 3.

    Best regards,

    Andrea

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25, 2014 at 03:20 PM
    business uses the same document type for outbound and inbound deliveries

    The major factor you need to look into document type is Document category which is "J" for Outbound and "T" for Inbound.  This being the case, I dont understand, how come and who have recommended this approach which is incorrect.  Moreover, can you please let me know how you are currently controlling the Post Goods Issue and Post Goods Receipt which are mainly depends on your document category.

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi MJ,

      I had thought about that option, but wouldnt that 'unblock' the entire document. The goal

      is to unblock the INBOUND items of the Sales order for delivery.

      Also, that logic will have to be incorporated in all scenarios individually(LOW RISK, MEDIUM RISK, HIGH RISK) customers.

      Thanks,

      Ray.

  • Mar 26, 2014 at 10:23 AM

    Hello,

    you can use the following user exit (from SPRO --> Sales and Distribution --> System Modifications --> User Exits --> User Exits For Credit Checks And Risk Management you can get the help on-line quoted below):

    User Exits For Credit Checks And Risk Management

    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

    which are triggered if in customizing of automatic control, under "SPRO --> Sales and distribution --> Basic Functions --> Credit management/Risk Management --> Credit Management --> Define Automatic Credit Control" you have checked the check-box "User 1", "User 2" or "User 3" respectively.

    Best regards,

    Andrea

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Jyoti Prakash

      JP,

      'Credit active' is not checked for INBOUND items. Hence credit check does not happen for those items. Since the entire document gets blocked because of credit check, even the inbound items get blocked.

      Thanks,

      RR

  • Mar 29, 2014 at 09:31 AM

    Even At the Time of sales Order creation-normally in standard we will use Sales Document category H for Returns(so Sub-sequent document will be LR Delivery type) and For Outbound items we use C-Order thereby LF in delivery can takes place)

    here you are following not SAP Best practises and what was the Reason that your client mixing all the Inbound items(PGRd) and Outbound Items(PGId) in a single sales order???

    Phanikumar

    Add comment
    10|10000 characters needed characters exceeded

    • Hello,

        this is not so strange: in the standard and best-practice-compliant repair scenario (and Exchange scenario is quite similar), in the integration between SD and CS, in the repair order you generate several sub-items related to the main item, one relevant for the return delivery and at the end of the process, one item relevant for the customer delivery (to return the customer the repaired products).

      Best regards,

      Andrea