on 05-21-2012 8:17 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please do not give the setting of OVA8. How does this happen in the backend and if there is some control over this process..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
111 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.