cancel
Showing results for 
Search instead for 
Did you mean: 

Credit Management in Delivery

Former Member
0 Kudos

Hi People,

Is there any solution to avoid multiple credit checks at delivery level:

Process: Delivery creation = Next release the delivery to create the picking transfer order thru VKM1 (1) = Create and confirm transfer order= Again release the delivery thru VKM1= Next do the packing.

Now step 2 be avoided... whenever the picking process is completed system is again setting the credit block VBUK-CMGST= changes from A to B.

There is no setting in configuration as such I am not sure ... how while only doing the picking activity the delivery is getting blocked.

I have searched the forum there is no perfect answer to this question, where the actual control likes and how to solve this....Please answer if you have faced the same issue.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As you aware this is not possible in the standard.I too came across this kind of situation and here i am attaching the logic,might be useful for your requirement..

Logic:

Partial delivery : if sy-tcode = 'VL01N'.

data : l_KLIMG type KLIMG,

l_skfor type skfor,

l_vbeln type VBELN_VL.

select single KLIMG from knka into l_KLIMG where kunnr = vbak-kunnr.

if sy-subrc = 0.

select single skfor from knkk into l_skfor where kunnr = vbak-kunnr.

if l_skfor > l_klimg.

if cvbuk-LFSTK = 'B' or cvbuk-LFSTK = 'A' .

loop at xvbuk where vbeln = cvbak-vbeln.

xvbuk-cmgst = 'B'.

modify xvbuk.

endloop.

endif.

endif.

endif.

endif.

STATUS CHANGE:

Enhancment spot.

Include : FV50XF0B_LIEFERUNG_SET_GET_SET

ENHANCEMENT 212 ZCREDIT_CHECK.

*

if sy-tcode = 'VL01N'.

data : l_KLIMG type KLIMG,

l_vbeln type VBELN_VL,

lv_per type VBKRED-KLPRZ.

select single KLIMG from knka into l_KLIMG where kunnr = vbak-kunnr.

if sy-subrc = 0.

CALL FUNCTION 'CREDIT_EXPOSURE'

EXPORTING

KKBER

= vbak-KKBER

KUNNR

= vbak-kunnr

* DATE_CREDIT_EXPOSURE

= '99991231'

IMPORTING

* CREDITLIMIT

=

* DELTA_TO_LIMIT

=

* E_KNKK

=

KNKLI

=

OPEN_DELIVERY

=

OPEN_INVOICE

=

OPEN_ITEMS

=

OPEN_ORDER

=

OPEN_SPECIALS

=

PERCENTAGE

= lv_per

* SUM_OPENS

=

* OPEN_ORDER_SECURE

=

* OPEN_DELIVERY_SECURE

=

* OPEN_INVOICE_SECURE

=

* CMWAE

=

.

if lv_per ge 100.

if cvbuk-LFSTK = 'B' or cvbuk-LFSTK = 'A' .

loop at xvbuk where vbeln = cvbak-vbeln.

xvbuk-cmgst = 'B'.

modify xvbuk.

endloop.

endif.

endif.

endif.

endif.

ENDENHANCEMENT.

*

*

*

*

*

*

Hope this logic suits your requirement.

DVNR.

Former Member
0 Kudos

Hi DVN,

Thanks for posting the solution. But this issue is some what weired.. in my test system with the same kind of setup, system is not blocking the delivery in the packing process once it is released before the picking.

Do you know what is the standard behaviour , should it stop again in Picking and packing.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Below are the settings for delivery block in Picking:

LE-> Shipping -> Deliveries -> Define Reasons for blocking in shipping -> Delivery : Blocking Reason/ciriteria - Picking need to be selected against 01 Credit limit

LE-> Shipping -> Delivery -> Define Reasons for blocking in shipping -> Delivery : Block - Assign 01 Credit limit to respective Delivery type

If you do the above, delivery block will be assigned to that delivery type during Picking if credit check failed.

Hope it maybe useful.

Former Member
0 Kudos

Hi S Kumar,

I have checked there are no configs out there all standard... no block for picking an packing

Former Member
0 Kudos

Credit check trigger at following three points based on your configuration :--

01. Sales order creation

02. Delivery Creation

03. at the time of PGI.

Thanks

Rajesh

Former Member
0 Kudos

Please do not give the setting of OVA8. How does this happen in the backend and if there is some control over this process..