Skip to Content
Author's profile photo Mangalraj Senthamaraikannan

To add a custom tab page in the production order Header Screen.

This blog shall cover the details of the User Exit that can be used to add/include a customized tab page in the production order header screen.

If there is a requirement/customer expectation that certain important data needs to be filled/entered in the production order header screen, then by using this

User Exit,PPCO0012  Production Order: Display/Change Order Header Data we can fulfill the requirement.

(By using the option Create Long Text      Long Text.jpg

we can enter the text of any length that is required or the same can be used to fill in any customer specific data or

information. But here the user needs to hit on the key for creating the Long text every time and chances are there that the user may miss to enter the details.

Also there is a separate tab with the description Long Text that is available in the production order header screen.

In addition to this,to fetch this data in the form of a long text from the table level for multiple orders for reporting purpose may become cumbersome. So this can

be made simple by using this user exit to include a new tab page in the production order header screen).

The components available in the User exit is displayed in the below screen shot.

SMOD.jpg

Production Order creation screen in CO01, with newly added tab page in addition to the existing standard tab page.

CO01 - 01.jpg

Fields included in the customized tab page,

CO01 - 02.jpg

The fields added in the customized tab page can be stored in the standard SAP table AFPO.

AFPO.jpg

Data stored in the table AFPO for the newly added fields under the customized tab page.

AFPO-1.jpg

When transporting these changes from a development to quality or production client it’s recommended to perform the same during non-business hours as the

tables gets regenerated.

Thanks for spending time to view this blog.Kindly please share your feedback/suggestions regarding the same.

Thanks & Regards

Mangalraj.S

Assigned Tags

      24 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Anupam Sharma
      Anupam Sharma

      Thanks a lot MangalRaj, for sharing this information.

      Regards,

      Anupam Sharma

      Author's profile photo Rajen Madan
      Rajen Madan

      Thank you Mangalraj for sharing this to the community and personally with myself.

      Luckily I have got a developer ID in my test IDES system and am surely going to give it a try. I have already checked the ABAP development spaces for more resources related to the exit, checked the SAP documentation and the sample code that has been provided in include LXCO1F11 (SE38).

      Will share if I face any difficulties and their resolutions.

      Best Regards,

      Rajen

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Anupam Sharma & Rajen Madan,

      Thanks for your kind feedback.

      Regards

      Mangalraj.S

      Author's profile photo swapnil rajane
      swapnil rajane

      Hi Mangalraj,

      Thanks a lot for sharing the documents.Its really a general requirement where client want to have additional data input in order which we cant able to do.

      Its really give me a good idea and confident to utilize it in future point of you.

      Regards.

      Swapnil

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Swapnil,

      Thanks for reading this blog. If possible kindly rate the same.

      Regards

      Mangalraj.S

      Author's profile photo Devidas Karad
      Devidas Karad

      Hi Mangalraj,

            Thanks for uploading and sharing knowledge

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Devidas,

      Thanks for reading this blog. If possible kindly rate the same.

      Regards

      Mangalraj.S

      Author's profile photo Senthilkumar SD
      Senthilkumar SD

      Hi Mangal,

      Nice article. Appreciate your efforts in helping the SCN Community via forums, articles & blogs... Hoping to see more in future.

      Thank you,

      Senthilkumar SD

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Senthil,

      Thanks for your valuable feedback and for being my mentor.

      Regards

      Mangalraj.S

      Author's profile photo Aditya S
      Aditya S

      Hello Mangalraj,

      This blog will be very helpful to all guys who work on SAP PP. Wonderful Blog. Thanks for sharing to all of us.

      I have one question :- Do we need to specify the "New Custom Tab" name and the "new fields to be added in the new custom tab" is to be mentioned in the user exist ?. Please clarify. b) Also do we have any restriction to add only " n " number of custom tabs or fields in the cutom tab ?. Thanks in advance. I had provided "Exceptional" feedback. 🙂

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Aditya,

      Thanks for reading this blog and you feedback.

      When providing the functional specifications we can include the same as per the customer

      requirements and we can mention the field,field description,length,type etc.

      Please let me know if you need any further inputs.

      Regards

      Mangalraj.S

      Author's profile photo Aditya S
      Aditya S

      Dear Mangalraj,

      Thanks for immediate reply. My question is do we need to specify these details in the User Exit ? or in any Program code?. and what is the maximum number of custom tabs or fields we can maintain in the Production code.

      Please provide your suggestions for my above queries.

      Thanks in advance for your support.

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Aditya,

      I'm not sure about the number of tab pages that can be included. The fields ,field

      description,length,type needs to be included in the coding part.

      Regards

      Mangalraj.S

      Author's profile photo Aditya S
      Aditya S

      Hello Mangalraj,

      Thanks a lot for the clarification. 🙂

      Author's profile photo Sharat Sugur
      Sharat Sugur

      Dear Mangalraj,

      Good document & thank you for sharing.

      Regards,

      Sharat

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Sharat,

      Thanks for reading this blog and for your feedback.

      Regards

      Mangalraj.S

      Author's profile photo Sundaresan Velayudam
      Sundaresan Velayudam

      Hi Mangal,

      Thanks for sharing the useful document

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Sundaresan,

      Thanks for reading this blog and for your feedback.

      Regards

      Mangalraj.S

      Author's profile photo Former Member
      Former Member

      Hi Mangalraj,

      Thanks for sharing your knowledge.

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan
      Blog Post Author

      Dear Dharma,

      Thanks and continue your good work by providing suggestions and workaround to different

      requirements.

      Regards

      Mangalraj.S

      Author's profile photo Former Member
      Former Member

      Dear Mangal,

         Thank you for sharing your knowledge. This would be useful for the client requirement in case of user exit details.

         Your answers are always very helpful, particularly in the areas of SFC customizations and REM process.

      Regards,

      Thaila Shree

      Author's profile photo Suresh M
      Suresh M

      Hi Mangal

      Your document is ultimate and thank you for your documents.

      Regrads

      SURESH.M

      Author's profile photo Former Member
      Former Member

      Dear Mangal,


      Your document is really helpful.


      Regards,


      Pratik P

      Author's profile photo VERALLIA Saint-Gobain Packaging
      VERALLIA Saint-Gobain Packaging

      Dear Mangal,

       

      The document is quite helpful. Thank you.

       

      Further, can we fulfil a client's requirement here in which the custom fields should appear only in specific order type's production order. Is it feasible with this user exit?

       

      Thanks in advance..!!