Skip to Content

POST Good movements is not working correctly

Hi experts,

In an online program I am executing the FM L_TO_CONFIRM for create one TO for each HUs created before. This seems to work correctly, but, when I execute online the WS_DELIVERY_UPDATE FM for do the post, this doesn't work, it's like if the L_TO_CONFIRM function never ends, but, if I change the WS_DELIVERY_UPDATE by a call transaction, this works correctly, please, does anybody know how can I solve this problem???

Please!!! HELP!!!!!!!!!!!

Thanks in advance,

Best Regards,

Rebeca

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 09, 2012 at 09:55 AM

    Please, help!!! We need some help with this, we don't know why is not working correctly!!!! ūüėĒ

    Thanks in advance,

    Best Regards,

    Rebeca

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jinoy!!

      yes, I want to do something similar to the steps you told me but I want to do it by programming...

      For a specific delivery, I want to, by programming, create one transfer order for each handling unit (I use L_TO_CREATE_DN for do that) the delivery has. Once the delivery has all the transfer order, I want to confirm all of them, (using  L_TO_CONFIRM FM) and once all the transfer order has been defined and confirmed I want to do the Post Goods Issue (similar to execute the buttom "Post Goods Issue" of VL02n transaction) using function module WS_DELIVERY_UPDATE, and is here where we have the problem. When you execute at the same time the WS_DELIVERY_UPDATE the FM returns an error in

       

       

      EF_ERROR_IN_GOODS_ISSUE_0 = 'X'.

      But If I execute this FM in two steps (first the confirmation and after the WS_DELIVERY_UPDATE) all works correctly...Any Idea? I think i'm getting crazy with that function!!!

      Thanks a lot for all!!!!

      Best Regards,

      Rebeca

  • avatar image
    Former Member
    Oct 25, 2012 at 07:01 AM

    Dear Rebeca ,

    In an ideal case TO creation happens first followed by  HU creation , packing  ,  TO confirmation followed by  post goods issue.

    Pre requisite for your your program for sucessfull completion  of goods issue is to complete relevant WM activities and update  its status as C , also  there should not be any entry's pending in incompleteness of delivery , please crosscheck same.

    If your TO is not confirmed Nor HU is completely packed or if you have any incompleteness flagged system will not allow you to perform PGI and your routine will fail.

    kindly check whether all these are crosscheck , try same and let me know as we should be able to resolve same.

    Kindly provide me screen shot is test data which you are executing for prompt analysis and effective resolution.

    Thanks

    Jinoy

    Add comment
    10|10000 characters needed characters exceeded