Skip to Content
avatar image
Former Member

Field mandatory depending on other field

Hi everyone!

I have a question regarding routing of a product. So a product can have several operations, each carried out at a certain work center. Now for some work centers, it is mandatory to add a PRT to the operation. So, my question is, is it possible to set that a certain field is mandatory depending on what is entered in another field?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 11, 2017 at 10:25 AM

    Hi Menate,

    Yes it is possible,

    you can use exit - PPCO0007 Exit when saving production order - at the time of saving the order you can check the work center and empty prt field and give the error message.

    or - PPCO0019 Checks for changes to order operations

    Regards,

    Solomon

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Solomon,

      Thanks for your answer. However, I don't want to check the prt field when saving production order, I want to check it when creating (or editing) the routing of a product (CA01 or CA02). How do I do this?

      Furthermore, how do I use exits?

  • May 11, 2017 at 10:45 AM

    Hi,

    In any standard transaction you can not write your custom code anywhere. for that SAP has give a Exit, Exit is a place where you can write your custom code in standard program. It is a Programing so it has to be done my ABAPer.

    Regards,

    Solomon

    Add comment
    10|10000 characters needed characters exceeded