Skip to Content
0

Field mandatory depending on other field

May 10, 2017 at 03:46 PM

104

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Solomon Macwan May 11, 2017 at 10:25 AM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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?

0
Solomon Macwan May 11, 2017 at 10:45 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Oke and which user exit should I use? And what program should I write there?

0

Please check with abaper. User exit - PPCO0019

2