Skip to Content
0
Former Member
Feb 17, 2009 at 08:29 AM

Editable ALV : Need PERNR & ENAME on Pernr F4 help

129 Views

Dear Friends,

I have created a GRID ALV for my customized HR module. In this ALV, there is a field PERNR and alongwith that there is another field ENAME.

PERNR field is editable & supported with F4 help. My requirement is like, when I change the PERNR, say, I clicked on F4 help (PREM - for PERNR) & select any PERNR, then automatically, the ENAME should get changed.

My requirement can also be achieved, if after getting the New PERNR, the user presses the ENTER button, then the ENAME of the PERNR should also get updated.

I tried to check the way with which SAP is going through the whole process by debugging (/H method).

But on clicking ENTER the control remains doesn't go anywhere, that means ENTER is not considered as an EVENT. Also, when I click on F4 Help button, the control remains in SAPLSLVC_FULLSCREEN program & it doesn't come in my Z report.

My problem can be solved in one of the following ways :

1). Can someone please tell me the way to get customized F4 help in GRID ALV & also how can I

populate ENAME alongwith PERNR in one go.

2). Any example code of OOPS ALV with this scenario. (I know, this can be done with OOPS

methods, but I'm novice in OOPS).

OR any other possible way, that you think can solve my problem.

Waiting for your replies Gurus ...

--

Thanks & Regards,

Mohit Grover