Skip to Content
author's profile photo Former Member
Former Member

Making prctr mandatory using exits

Hi all,

Which customer exit shall i use to make profit center field mandatory

in coro transaction.

I have used screen variants to make profit center mandatory

but it is mandatory only if we navigate to the assignment tab in coro transaction.


Tanveer ahmed.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Dec 08, 2014 at 11:43 AM


    Maybe you can try modification. Change the screen 5140 (SAPLCOKO) from "possible" to "required". See the attachment.

    Best of luck.


    screen_shot.PNG (48.1 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2014 at 12:52 PM

    Look at module executed in PAI, the module " header_check_user_exit" call the exit EXIT_SAPLCOKO1_004 (enhancement PPCO0018 "Check for changes to production order header") could you try to insert your check there.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2014 at 12:57 PM

    Hi Tanveer,

    you can check with your functional this can be made mandatory by configuration.

    If still you are not getting any solution you can go for either of below options.

    1. Make the field mandatory by using screen variant.

    2.Using field exits(create field exit on data element).

    Please <removed by moderator> if helpful...!

    Message was edited by: Manish Kumar

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Tanveer,

      Prior creating field exits ask your basis team to set the parameter "abap/fieldexit" to YES in RZ10 and than follow the below steps.

      1.goto T-cod CMOD.

      2.than in command field of transaction CMOD type PRFB and press enter, It will take you to field exits for data element.

      3.In menu Bar field Exit->Create->Give Data element name->It will take you to create FM->Create it and write the error message when ''PRCTR'' is initial.

      4.Activate everything.

      5.Check the result(It will trigger wherever this data element is used).

      Note: you can make this field mandatory for particular program and screen also.

      <Asking for points removed - please don't do this.>

      Message was edited by: Gareth Ryan - Asking for points is against the RoE.

      Untitled.png (25.1 kB)
      Untitled.png (31.1 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.