2012 Apr 23 10:47 AM
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
2012 Apr 24 10:45 AM
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
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
2012 Apr 24 2:32 AM
2012 Apr 24 3:38 AM
Hi Rayden,
You want a Screen Exit for CJ01/CJ02/CJ03 or CJ06/CJ07/CJ08 ?
As per the SAP help documentation
And this is called for CJ06/CJ07/CJ08.
If you want a screen exit for CJ/01/CJ02/CJ03, use below Customer exit.
I am attaching the path from SPRO transaction for the Customer enhancements for both.
CNEX0006
CNEX0007
Thanks & Regards
Bala Krishna
2012 Apr 24 9:37 AM
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?
2012 Apr 24 10:07 AM
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
2012 Apr 24 6:02 AM
Hi ,
Check the below like.Read documentation of that fm.
http://scn.sap.com/thread/2100921
Regards,
Madhu.
2012 Apr 24 10:28 AM
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.
2012 Apr 24 10:38 AM
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.
2012 Apr 24 10:45 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |