Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem : Screen Exit in CJ01

Former Member
0 Kudos
557

Hi all,

I have follow the steps listed in http://www.saptechies.com/screen-exit-in-cj01/

to create the screen exit when I try to activate the statement move-corresponding sap_proj_imp to proj. under the Include ZXCN1U11, i got the following error:

Anyone encounter this? how to resolve this issue? thanks

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
255

This enhancment is designed to manage customer fields in a customer dynpro.

So use  code like

* include ZXCN1TOP (which is included in LXCN1TOP)

TABLES: proj,

        ci_proj. " Use those structures in dynpro fields definition

DATA sap_display_only TYPE rcwbs-sel01. " update or display mode

Declare in the include every field or structure used by the exit FMs or the dynpros.

Regards,

Raymond

8 REPLIES 8

Former Member
0 Kudos
255

Anyone can help?

former_member585060
Active Contributor
0 Kudos
255

Hi Rayden,

                 You want a Screen Exit for CJ01/CJ02/CJ03 or CJ06/CJ07/CJ08 ?

As per the SAP help documentation

  • CNEX0006    Customer-specific fields in the project definition

And this is called for CJ06/CJ07/CJ08.

If you want a screen exit for CJ/01/CJ02/CJ03, use below Customer exit.

  • CNEX0007    Customer-specific fields in WBS elements

I am attaching the path from SPRO transaction for the Customer enhancements for both.

CNEX0006

CNEX0007

Thanks & Regards

Bala Krishna

0 Kudos
255

Thanks for the reply. The problem lies in the activation for the code

move-corresponding sap_proj_imp to proj. under the Include ZXCN1U11. If i do the test on CJ06/CJ07/CJ08 , the problem will still be there right?

0 Kudos
255

Hi,

    You need to create a ztop include for this exit, where all the global values related to this user exit are declared.

ZXCN1TOP is the include where you need to declare.

DATA : proj TYPE proj.

The top include you can see in SE37, give EXIT_SAPLCJWB_002

Menu Goto>Global data, double click on the above include, it will ask to create, create and add the above statement. Then activate, it won't give any error.

Thanks & Regards

Bala Krishna

madhu_vadlamani
Active Contributor
0 Kudos
255

Hi ,

Check the below like.Read documentation of that fm.

http://scn.sap.com/thread/2100921

Regards,

Madhu.

former_member189849
Contributor
0 Kudos
255

Hi rayden,

Proj is not a field its a table so u declare like in  types or data statements.

This below code declare in TOP include. and see this proj in se11 transaction code.

ex:

data: proj type (standard) table of proj.

Regards

Mahesh.

0 Kudos
255

Hi Mahesh, PROJ is table in SE11 but in the Customer exit, it is used as a structure or workarea. The values from Transaction screen are moved to the custom screen created.

raymond_giuseppi
Active Contributor
0 Kudos
256

This enhancment is designed to manage customer fields in a customer dynpro.

So use  code like

* include ZXCN1TOP (which is included in LXCN1TOP)

TABLES: proj,

        ci_proj. " Use those structures in dynpro fields definition

DATA sap_display_only TYPE rcwbs-sel01. " update or display mode

Declare in the include every field or structure used by the exit FMs or the dynpros.

Regards,

Raymond