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

Addition of tab in cj20n

i am having a requirement tab addition in cj20n.

i done the structure append to PRPS but fields of the structure not able to retrive for the standard screen how can i do it.

if it is possible without adding tab then pls suggest or how will i add tab pls suggest.

i tried with cmod.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2014 at 07:46 AM

    Hi,

    You can add tab by using SAP Enhancement CNEX0007 in tcode CMOD.

    https://help.sap.com/saphelp_45b/helpdata/en/81/e32c7dd435d1118b3f0060b03ca329/content.htm

    Thanks.

    Regards,

    Keng Haw

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 14, 2014 at 08:19 AM

    Hi Amol -

    Use enhancement - CNEX0007 (User exit) for this. You need to add the custom field in screen 700 of program SAPLXCN1.

    Also you need also implement the exits -

    EXIT_SAPLCJWB_004

    EXIT_SAPLCJWB_005

    Let us know, in case any further help.

    Regards,

    Atul Mohanty

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 14, 2014 at 08:46 AM

    Dear Amol,

    Follow the below steps - I guess, it will help you to close the thread.

    1) You can use the enhancement CNEX0007 to add new customer-specific fields for the standard project definition in table PRPS To process these fields you can create your own screen, which the user can call up when maintaining standard project definitions.

    The enhancement CNEX0007 contains the following components,:

    Menu entries:

    a) SAPLCJGR+CUD Project planning board

    b) SAPLCJWB+CUD Master data maintenance (CJ06, CJ07, CJ08)

    Function exits:

    a) EXIT_SAPLCJSS_002 for transferring data to your own program
    b) EXIT_SAPLCJSS_003 for transferring data from your program to the SAP system

    Screen areas:

    a) SAPLCJSS0205_CUSTSCR1_SAPLXCN10600

    Activities

    1. Create the enhancement.: To do this, either create a new project or use an existing one.

    2. Create structure CI_PROJ in ABAP/4-Dictionary (transaction SE11) in your own development class.

    3. Expand structure CI_PROJ to include your own fields.

    Note the following:

    • You must use the name ranges reserved for customers.
    • The maximum number of fields in database tables is 749 (in PROJ and CI PROJ, that is, for SAP fields plus user-defined fields). For reasons of clarity, however, we recommend that you keep the actual number to a minimum.

    SAP reserves the right to add new fields to table PROJ. If the maximum number is reached, your fields could be removed.
    Activate the structure.
    4. Maintain the enhancement components:
    1) Assign the function Customer Fields a name.

    2) Add to the program code for the function exit EXIT_SAPLCJWB_002. This function exit transfers SAP data to your part of the program.

    To do this, call up the function module and double-click the include line. Create the include module.

    In order to transfer the variables, you must insert a Move-corresponding statement in Include ZXCN1V11:
    move-corresponding sap_proj_imp to proj.


    Now define the "projs" data structure as global variable. To do this, jump to the main program SAPLXCN1. First, double click include LXCN1TOP and then include ZXCN1TOP. Create the object if required.

    Include the following tables statement in the source text for include ZXCN1TOP.
    * tables
    tables proj.

    3) Add to the program code for the function exit EXIT_SAPLCJWB_003. This function exit takes the data from your part of the program and transfers it to the SAP standard program. Create your own corresponding include module.

    In order to transfer the variables, you must insert a Move-corresponding statement in Include ZXCN1U12:

    move-corresponding proj to cnci_proj_exp.


    4) Create the screen area.

    Double-click SAPLCJWB0205_CUSTSCR1_SAPLXCN10600 and then choose Fullscreen.
    The screen has been preconfigured by SAP. You can delete these fields and add new ones:

    Choose Goto -> Dict./Program fields

    Maintain the table/field name PROJ and select the fields to appear on the screen.
    Generate the screen.


    For detailed information, see SAP Note number 86050.

    5) Activate the project.
    Only once you have activated the project, will your enhancement take effect.

    6) For your customer-specific fields to be evaluated in the project information system, the structures in the project information system must beregenerated. To do this, start program RCNCT001.

    After this activities you can see your custom fields in CJ01, CJ02, CJ03 or CJ20N.

    Regards,

    SaiRam

    Add a comment
    10|10000 characters needed characters exceeded

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.