Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PARTIAL_DELIVERY_FORBIDDEN

Former Member
0 Likes
908

ABAP Exception: PARTIAL_DELIVERY_FORBIDDEN

Hi Experts,

I am getting above error while processing TO with RFC (L_TO_CREATE_DN).

Here I am trying to create TO against delivery note for an item (103104,103115) which is to picked from 2 bins.

         

Material PlntSlocBatchQty in BinUomBin No.Delivery NoShip Qty
103104xxxxxxxx319121003740PCCD-030-00850000985140
103104xxxxxxxx3201950094100PCCD-030-00950000985
103110xxxxxxxx320197007350PCCD-031-0045000098550
103112xxxxxxxx6029616150PCCD-035-00650000985150
103113xxxxxxxx6016244200PCCD-024-01050000985200
103115xxxxxxxx2443114300PCCD-037-003500009851450
103115xxxxxxxx32018500851150PCCD-037-00450000985

When I tried to pick the material WHICH IS TO BE PICKED FROM 2 BINS , I got an error message PARTIAL_DELIVERY_FORBIDDEN.

Please explain, how to get rid of this error.

Regards,

Vishal Verma

3 REPLIES 3
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
769

Vishal, welcome to SCN!

For your (and others') benefit I'll explain the steps here, but going forward, please do this kind of analysis yourself first before posting a question.

Transaction SM37, display FM L_TO_CREATE_DN. PARTIAL_DELIVERY_FORBIDDEN is listed as excaption here, so it must be triggered somewhere in the code. How do I find? Go to the menu Edit -> Find/Replace. Then enter PARTIAL_DELIVERY_FORBIDDEN in Find field and select 'In main program' (important!). Now we're in luck since it occurs only once in the include LL03BF1G:

IF T340D-TEILV IS INITIAL.

LOOP AT LFP.

IF LFP-KOMEA NE 0.

MESSAGE E132 RAISING PARTIAL_DELIVERY_FORBIDDEN.

ENDIF.

ENDLOOP.

ENDIF.

A quick check shows that LFP-KOMEA is the remaining delivery quantity, so the culprit is T340D-TEILV, which seems to be a customizing setting at the warehouse level. Obviously with this setting any partial picking won't work (each bin is a partial pick in this case, even though it may seem counterintuitive). As an alternative - goods have to be moved to one bin before picking.

Read only

0 Likes
769

Dear Jelena Perfiljeva

I am sending you the screen shot, please check & suggest what value should be passed to the fields mentioned there

Read only

0 Likes
769

Hi,

The messgae has nothing to do with the parameters that you passed to FM.

As per her suggestion

check the table  T340D and field TEILV for that particular Wh. if it is initial then it is throwing that error message.

So to avoid the messgae, maintain a vlaue in TEILV field in T340D table and check

Regards,

Swarna.