cancel
Showing results for 
Search instead for 
Did you mean: 

How to do unpick of quantity after doing picking in delivery item

0 Kudos

Hi Experts,

    I am in abap and I got the requirement where I need to do the unpick of the picked quantity for an delivery item and after the unpick it should get updated back in delivery.Please suggest me by technical point of view. how can I meet this requirement?Please suggest.Thanks!!

Regards

Mrinal

Accepted Solutions (1)

Accepted Solutions (1)

Hi All,

   Thanks!! I have done it using function module and it worked.

Regards

Mrinal Sen

Former Member
0 Kudos

Hello Mrinal,

I have a similar requirement, could you please let me know which function module did you use to undo picking.

Thank-you!

Regards,

Amit

0 Kudos

CALL FUNCTION 'L_TO_SET_SPECIAL'

       EXPORTING

         I_SPEZI        = 'B'

         I_VBELN        = GV_VBELN

       EXCEPTIONS

         CALL_FORBIDDEN = 1

         INPUT_WRONG    = 2

         OTHERS         = 3.

     IF SY-SUBRC = 0.

     ENDIF.

*   Perform lt0g_bdc.

     CALL FUNCTION 'L_TO_CREATE_MULTIPLE'

       EXPORTING

         I_LGNUM       = G_LGNUM

         I_BWLVS       = '999'

         I_COMMIT_WORK = 'X'

         I_NIDRU       = LV_PROTO

         I_DRUKZ       = LV_DRUKZ

       IMPORTING

         E_TANUM       = LV_TANUM

       TABLES

         T_LTAP_CREAT  = LTAP_CREAT[]

       EXCEPTIONS

         ERROR_MESSAGE = 99.

Former Member
0 Kudos

Hello Mrinal,

Thanks for the quick reply!

This FM will not work for me as our deliveries don't have TOs and to make things worse we have batch split.

Thanks again!

Regards,

Amit

0 Kudos

Hi Amit,

Then use WS_DELIVERY_UPDATE function module to update the picked quantity in delivery.

Regards

Mrinal

Former Member
0 Kudos

Hey,

Tried WS_DELIVERY_UPDATE but no luck, our deliveries have a batch split and some strange unknown reason it's not working for the split items.

Thanks again!

Regards,

Amit

Answers (3)

Answers (3)

0 Kudos

Hi All,

    Thanks for your comments.I have done it by calling lt0g in backgroud using BDC and it worked.Now my question is how can i return the stock of quantity less than the LE quantity of delivery using LT0G.

Regards

Mrinal Sen

Mrinal_K_Roy
Active Contributor
0 Kudos

Hi Mrinal,

You posted in EWM , probably it should been posted in LE.

Not sure whether it is possible to do partial cancellation in LT0G. You may look in LE forum.

With regards,

Mrinal

0 Kudos

Thanks Mrinal and Luiz for your reply.I only want to know the process from your side.Actually as per my knowledge if I am doing picking and suddenly i thought I have done the wrong picking and want to reverse the same i will create a transfer order and transfer it back to the source bin from destination bin.and then I need to update the same in delivery also.

I need to ask am I right or not ?

Regards

Mrinal

Former Member
0 Kudos

Hi Mrinal,

If you confirm WO then use /SCWM/CANCPICK.. and it will have source and destination as per cancel WPT.

If you have not confirmed WO then you can cancel before confirmation.

In case of transfer order you do not have this function like cancel pick. you need to create manual TO. But in ewm this /SCWM/CANCPICK tcode use its own WPT and do same as manual TO but at the same time reverse picking for del. So that you can pick new pick as you want.

Try to perform once.

1./SCWM/CANCPICK.( check source and destination) as per WPT.

2.delete OD

3. check ODO

4. pick with new wo.

Regards

Suraj

Mrinal_K_Roy
Active Contributor
0 Kudos

Hi Mrinal,

Stock gets released when picking is cancelled , but then it needs to be put back in its correct place. There are 3 options

1. Just release stock : Manual WT needed for put back

2. Release stock + Create WT in foreground

3. Release stock + Create WT in background

Putback WPT is considered from EWM-GI - Cancel pick - Define WH number control for putback

With regards,

Mrinal

0 Kudos

Hi Roy,

In case of new development ,do the following.

1.Create Putback WT - back to the original source bin

2.Create posting change WT -> to change the status in the outbound
  delivery order from picking 'completed' to 'Not started'.

3.Create Pick WT with reference to original pick WT .


regards

Krishnaraj

Former Member
0 Kudos

Dear Krishnaraj

I have a simlar problem. I created on OD in ewm and created the pick WT. then I found the OD should not be created and cancelled the pick WT. I want to delete the OD and system not permited.

the system message is activity "delete document" is not permitted; reason: status "warehouse act. " have value "partially completed" . any sugguestion?  how can i change the item status from partially completed to not started?

Leo Liu

Former Member
0 Kudos

Hi Mrinal,

To cancel the picking of a delivery in EWM you should use tcode /SCWM/CANCPICK.

Cancellation of Picking - Goods Issue - SAP Library

Doing this you will be releasing the stock, thus updating the delivery.

Best Regards,

Felipe

Mrinal_K_Roy
Active Contributor
0 Kudos

Hi Mrinal ,

As Felipe stated, there are some SAP standard way of doing the 'Unpick'. So, suggest that your functional team discusses with business on actual process that needs to be followed etc before you do any technical change in ABAP.

I am also another Mrinal !!

With regards,

Mrinal