Automate

 View Only
  • 1.  VA01 ATP screen within loop

    Posted 10-15-2024 13:26
      |   view attached

    Dear Experts,

    As perr enclosed screenshots ATP screen with Skip screen is not working within Loop, if I remove skip indicator and if for 1st material that screen is applicable then it will work perfectly fine and stop (loop wont work) in next row i.e. 2nd material for which this screen is not applicable.

    Just to mention, as per enclosed screenshots I have a scenario of selection pop-up for material substitution which doesn't work for 'batch mode' as such script is based 'Standard non batch ....'.

    Request to please assist to share how can i manage this scenario...

    Thanks,

    Brijesh

     



    ------------------------------
    Brijesh Varma
    JNTL Consumer Health (India) Private Limited
    Mumbai
    ------------------------------

    Attachment(s)

    docx
    ATP Screen.docx   771 KB 1 version


  • 2.  RE: VA01 ATP screen within loop

    Employee
    Posted 10-15-2024 14:11

    Hi Brijesh

    Can you consider using a Direct script with a BAPI instead?  The benefit is no UI so no pop-ups! :) I can share an example.

    If not, can you please share your script?  I've had instances where the ATP screen is different based on various scenarios, and it may be that you need an IF statement in there to determine which one you have.

    FYI

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: VA01 ATP screen within loop

    Posted 10-15-2024 14:40
      |   view attached

    Dear Sigrid,

    Thank you so much for your assistance,

    WRT BAPI, As per my previous word document, not sure how i will be able to select the pop-up to select second row for phase in and Phase out material ? if this is possible then please share the example and i can try :-)

    WRT Script, please find attached the script where i have included if condition to select the pop-up however now stuck with ATP screen.. :( 

    it would be of much help if you can also assist with adding if condition to manage ATP screens :-)

    Thanks,

    Brijesh



    ------------------------------
    Brijesh Varma
    JNTL Consumer Health (India) Private Limited
    Mumbai
    ------------------------------

    Attachment(s)

    Txr
    VA01_20241008_WS_Comm.Txr   789 KB 1 version


  • 4.  RE: VA01 ATP screen within loop

    Employee
    Posted 10-15-2024 16:18
    Edited by Sigrid Kok 10-15-2024 16:27

    Hi Brijesh

    The BAPI won't make a selection, as there won't be an ATP pop-up.

    For Transaction, here's something I worked on with a customer a few years ago.  It depends on the screen that you're seeing.  If confirmed qty was more than zero, the first part worked, other wise if the confirmed qty was zero, the ELSE portion kicked in. And we had to add the IF logic on the ELSE. 

    Note

    (1) this wasn't in a loop, but we had it occur in two places in the script, which had the same set of IF logic for the ATP screen. 

    (2) your ok codes may need to be different

    (3) this was in an ECC system

    We had to do a lot of testing in step by step mode to ensure it covered all variations, so I can't modify your script.  But I hope this will give you an idea of what you can try.  

    Best Regards,

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------



  • 5.  RE: VA01 ATP screen within loop

    Posted 10-16-2024 09:11

    Dear Sigrid, 

    Thank you so much for all your assistance,

    Basis your guidance, please refer enclosed word document which i followed and it didn't work..  for your reference had also attached script and data file too..

    please consider to review and let me know where I'm missing..

    Many Thanks,

    Brijesh



    ------------------------------
    Brijesh Varma
    JNTL Consumer Health (India) Private Limited
    Mumbai
    ------------------------------

    Attachment(s)

    docx
    WS VA01 ATP Issue.docx   590 KB 1 version
    Txr
    VA01_20241016_172831MC.Txr   659 KB 1 version