‎2008 Aug 29 9:29 AM
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
‎2008 Aug 29 12:13 PM
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.
‎2008 Aug 29 10:08 AM
Try with some kind of similer code in exit
EXIT_SAPLKMA6_001
EXIT_SAPLKMA6_002
‎2008 Aug 29 11:10 AM
‎2008 Aug 29 11:30 AM
‎2008 Aug 29 11:23 AM
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
‎2008 Aug 29 11:30 AM
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
‎2008 Aug 29 12:13 PM
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.
‎2008 Aug 29 12:20 PM
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.
‎2008 Aug 29 12:58 PM
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
‎2008 Sep 02 8:11 AM
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.
‎2008 Sep 18 7:29 AM
‎2008 Sep 18 11:11 AM
HI rekha,
how did you do that ? can you explain ?
Thanks
Krupali
‎2008 Oct 06 7:38 AM
Gr8888 !!!!
sorry i was away for some days... so how did you solve the problem?
Harry
‎2008 Oct 21 1:19 PM
just added the required fields to the selection view using tcode 'CATS_SELVIEW' .. It worked!!!
Thanks a lot.
Rekha