Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

F4 for Editable field in ALV, display Name but capture ID

Hi Friends,

I have a ALV for which i have defined a Structure, which is passed to Fieldcatlog.

I have defined a Search help - ZUSER_NAME which has following fields to display.

USERID - USR02-BNAME

FNAME

LNAME

FULLNAME

So my structure for fieldcatalog has User-id which is linked to this search help with Domain XUBNAME.

So in my report i made this User-Id as editable and F4 available, everything is working fine.

when user does a F4, its displaying Userid,Fname,Lname and complete name.upon selection and save i am capturing the id and storing in the ztable.

But now i have a requirement that when user selects a value from this search help on F4, i need to display Fullname but capture the User Id. How can i do that?

This is something similar to the one we have in BSP- key-value pair.

how to do this in ALV.

Appreciate if someone can guide me thru.

Thanks,

Simha

Edited by: Simha on Sep 6, 2008 2:24 PM

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question