Application Development 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: 

ALV and F4

Former Member
0 Kudos
166

Hi,

I'v create an ALV list with object.

I've got a field in edit mode with F4.

When I choose a value from the F4, the value is update well in the cell. But I want to update an other field too in the ALV

Wich Event can I use ?

thanks

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos
132

no need of events,

just ppopulate

fieldcat-ref_filed = ' ' "check it once

fieldcat-ref_table = ' ' "check it once

that will provide F4 functionality.

regards

vijay

8 REPLIES 8

former_member188685
Active Contributor
0 Kudos
133

no need of events,

just ppopulate

fieldcat-ref_filed = ' ' "check it once

fieldcat-ref_table = ' ' "check it once

that will provide F4 functionality.

regards

vijay

0 Kudos
132

What he mean is update with a different value, don't you ???

I think you should use DATA_CHANGED_FINISHED

This is done when the internal table as been updated!

Then you have with this event modified cell and field! You can change other field!

Then do a refresh

cheerz,

<b>thanks for the reward</b>

0 Kudos
132

Hi vijay,

sorry maybe it was not clear.

How to populate a F4 is not my problem

I want when I retrun from F4 list to my ALV, i want to update other fields on the alv.

Let's says that I have to choose from a F4 list a material. So when I choose it i want to update the material text field in alv.

Message was edited by: joseph fryda

0 Kudos
132

> Hi vijay,

> sorry maybe it was not clear.

> How to populate a F4 is not my problem

> I want when I retrun from F4 list to my ALV, i want

> to update other fields on the alv.

What he mean is update with a different value, don't you ???

I think you should use DATA_CHANGED_FINISHED

This is done when the internal table as been updated!

Then you have with this event modified cell and field! You can change other field!

Then do a refresh

cheerz,

thanks for the reward

0 Kudos
132

Hi,

in that case you need to use user_command.

when the use take the value from F4 and need to press enter ,then you need to handle enter in user_command event to populate the corresponding fields.

regards

vijay

0 Kudos
132

Is the problem solved ???

0 Kudos
132

yes it solved the problem

thank you, I gave point

0 Kudos
132

HI.joseph!

I have the same problem .

can tell me how solve the problem ?

give me your key code ,if you can.

ths!