Application Development and Automation 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: 
Read only

add a screen in CJ01 Tcode

Former Member
0 Likes
1,037

Hai to all,

I am fresher as abap consultant. Right now i am practicing on enhancement. I came across an example where there is a requirement to add a screen in CJ01 Tcode. there i came across a enhancement name "CNEX0006" i open the enhancement in comd it has 2 FE 2SE 2ME. Here i have a doubt. i learnt some where for every SE there will be function module and for every menu exit there will be function module exit. now my doubt here is if i implemented menu exit which function exit i have to use and if i implement screen exit which function module i have to use.

For Ex In this Enhancement i have 2SE if i implemented where i have to write the code. if i implemented another screen exit where in which function module i have to write the code.

Please help me with an example if possible..

5 REPLIES 5
Read only

Former Member
0 Likes
926

Hi,

Check the following link.<link to blocked site removed by moderator>

Regards,

S.SRIRAM.

Edited by: Thomas Zloch on Dec 19, 2011 1:04 PM

Read only

0 Likes
926

Hai Sriram ,

Thanks for ur raply i gone through all the examples already. Of all the example non of the author discussed why he wrote the code in that particular function module only. My doubt here is if there are 3 Function module exits how would we know that a particular FE is suitable to write the code for implementing a screen exit. every one in those example told that write code in that particular FM.but no one told how we find to write that Fm is correct to write the code in that particular FM.

Read only

0 Likes
926

Hi Sriram,

Just go through the documentation of that enhancement.It is clearly mentioned which fm to use when.One for import data and other one is to export data.

Regards,

Madhu.

Read only

Former Member
0 Likes
926

Hi

This article details about the step-by-step procedure in implementing the Screen Exit for CJ01 transaction:

First create a project in CMOD and attach the enhancement CNEX0006 to the project.

1. Go to se11 and in the PROJ table u will find ci_proj include , in this add the required custom fields.

2. Go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dictionary./Program fields and drag and drop in the screen .

3. If u want to write any logic before the screen is displayed do it in PBO.

4. Now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic

move-corresponding sap_proj_imp to proj.

5. Now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic

move-corresponding proj to cnci_proj_exp.

Activate the project .

Cheers

NZAB

Read only

Former Member
0 Likes
926

I have done the above process...but I am unable to see....actually in which screen of the transaction are the additional fields added......