cancel
Showing results for 
Search instead for 
Did you mean: 

Create Delivery Note with Zero Quantity

Former Member
0 Kudos

Dear All,

My customer has a requirement to create a zero quantity item in delivery if nothing confirmed in sales order.

I have ticked Mat. no '0' allowed in delivery item category setting and Check quantity 0 set to blank.

But still i could not create a delivery note for 0 quantity. System issued a message saying 'No schedule lines due for delivery up to the selected date'.

However, in the sales order itself, 0 quantity has already been confirmed today..

Is there any related configuration missing here? Or is there any user-exit to control 0 quantity?

Kindly help, any idea is appreciated !

Thanks!

Regards,

Lu Lu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear All,

The issue has been solved.

I have created a new data transfer routine by copy standard routine 101 and add the following code:

DATA: zw_xvbep LIKE LINE OF xvbep.

   CLEAR: zw_xvbep.

   LOOP AT xvbep INTO zw_xvbep

                WHERE vbeln  EQ cvbap-vbeln

                  AND posnr  EQ cvbap-posnr

                  AND olfmng EQ 0.

     zw_xvbep-olfmng = 1.

     MODIFY xvbep FROM zw_xvbep TRANSPORTING olfmng.

   ENDLOOP.

Then assign the new routine to copy control of item level.

Now it works. 0 quantity will be copied from sales order to delivery if nothing confirmed in schedule line.

if there is any other solution, kindly let me know!

Regards,

Lu Lu

.

Answers (1)

Answers (1)

former_member184065
Active Contributor
0 Kudos

Dear,

whatever you have maintained schedule lines in VA01 doesnt matched with Selection Date in VL01N Over view Screen .

If you have any doubts please let me know.

Thanks,

Naren

Former Member
0 Kudos

Hi Naren,

Thanks for your reply.

The quantity 0 was confirmed on 01/24/2012 in sales order. And i put 01/25/2012 in VL01N selection screen, However, i still not able to create 0 quantity delivery.

Thanks,

Lu Lu

former_member184065
Active Contributor
0 Kudos

Dear,

Please put Date as 01/24/2012 in the place of Selection Screen and do delivery .

Note : I think, your problem will be solved .

Thanks,

Naren

Former Member
0 Kudos

Dear Naren,

i tried, but still the same message pop up....

Thanks,

Lu Lu

former_member184065
Active Contributor
0 Kudos

Dear,

If you dont mind ,can you share your screen shots of Schedule Lines in VA01 and also in VL01N of over view screen here.

Thanks,

Naren

Former Member
0 Kudos

Dear Naren,

Would you please share your email address? I think maybe i could send the screen shot by email.

Regards,

Lu Lu