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

unable to trigger the screen exit for KOB1

Former Member
0 Likes
1,762

Hi All,

I am trying to modify the selection criteria for tcode KOB1, by specifying additional fields for selection using screen exit.

I have imlemented EXIT_SAPLKMA1_001 & EXIT_SAPLKMA1_002. I have added it to the project also, and has activated everything.

I have also created the required field in my layout of the screen.

Still, I am unable to find it.Also, the code written for exit is not getting triggered,even when I have hard coded break-point statement.

Can anybody please provide me the step by step approach for implementing EXIT_SAPLKMA1_001 & EXIT_SAPLKMA1_002.

Or any other suggestion that could be useful for me.

Thanks,

Rekha

1 ACCEPTED SOLUTION
Read only

Former Member
1,554

Hi Amit,

I am doing exactly the way you have suggested but I am not able to trigger my code.

Harry/Amit,

As you have said, I have also noticed that there is not exit for program RKAEP000.

But as per the requirement,if you go to tcode KOB1, click on further selection criteria, it is require to have field Vendor in that list under tree.

Tell me the feasibility, is it possible??

Thanks.

13 REPLIES 13
Read only

Former Member
0 Likes
1,554

Try with some kind of similer code in exit

EXIT_SAPLKMA6_001  
EXIT_SAPLKMA6_002

Read only

Former Member
0 Likes
1,554

Hi Amit,

Tried, nothing works out!

Read only

0 Likes
1,554

Are you getting some kind of error or what?

Read only

Former Member
0 Likes
1,554

Hi Rekha,

Go CMOD create project

save and assign enhancment to the project

go desiried function module

and dubble click on incluse

save include to desired PKG

and put break point if

activate function module as well as poroject

see if by input your transaction if your cursor is stop at your break point .

Ajay Pandey

Read only

Former Member
0 Likes
1,554

Hi Rekha,

transaction KOB1 is linked to program RKAEP000, which doesnt have any custom exit, Badi's. Are you sure that this requirement can be materialised?.

To start with how did you modifed the fields on screen?.

Thnx!

harry

Read only

Former Member
1,555

Hi Amit,

I am doing exactly the way you have suggested but I am not able to trigger my code.

Harry/Amit,

As you have said, I have also noticed that there is not exit for program RKAEP000.

But as per the requirement,if you go to tcode KOB1, click on further selection criteria, it is require to have field Vendor in that list under tree.

Tell me the feasibility, is it possible??

Thanks.

Read only

0 Likes
1,554

Rekha,

Pls try to modify RKAEPSSC in which KOB1 selection screen defination is written.

steps copy RKAEPSSC in some ZRKAEPSSC and do changes and attch this program to RKAEP000 which is main program of KOB1.

Read only

0 Likes
1,554

Hi Rekha,

The transaction KOB1 is using tree control for displaying the further selection criterion.

So search for classes cl_gui_simple etc.

In your case you can do one thing , the values are coming are from view COVP. try to add the field which you need in to this View ( Append View).

I think it will work

Harry

Read only

Former Member
0 Likes
1,554

Hi,

I have tried adding the field to the view.

Still, it is not getting displayed.

I have debugged the program, though all the fields are being picked up form the view COVP, but are not displayed.

Thanks.

Read only

Former Member
0 Likes
1,554

Hey Harpreet,

I have done it.

Thanks.

Read only

0 Likes
1,554

HI rekha,

how did you do that ? can you explain ?

Thanks

Krupali

Read only

Former Member
0 Likes
1,554

Gr8888 !!!!

sorry i was away for some days... so how did you solve the problem?

Harry

Read only

Former Member
0 Likes
1,554

just added the required fields to the selection view using tcode 'CATS_SELVIEW' .. It worked!!!

Thanks a lot.

Rekha