2008 Jul 21 7:40 AM
Hi guys.
I have ALV-Grid in which fieldcatalog is created based on DDIC-Structure, let's name it 'STRUC'.
There are 2 fields A and B. In 'STRUC' a complex F4 is seted for these fields: A and B are imported parameters for F4 and B is exported parameter. So everything is good, this F4 is called for fields automatically, and it picks up the values from A and B but.....when field A is empty, then F4 get the space-value as value of A, I mean = ' ', and therefore the initial list of values in F4 is emty.
Does anybody know the way, how I can solve it without using F4-event of Grid and colling the F4 manually?
Thank you
Hi guys.
I have ALV-Grid in which fieldcatalog is created based on DDIC-Structure, let's name it 'STRUC'.
There are 2 fields A and B. In 'STRUC' a complex F4 is seted for these fields: A and B are imported parameters for F4 and B is exported parameter. So everything is good, this F4 is called for fields automatically, and it picks up the values from A and B but.....when field A is empty, then F4 get the space-value as value of A, I mean = ' ', and therefore the initial list of values in F4 is emty.
Does anybody know the way, how I can solve it without using F4-event of Grid and colling the F4 manually?
Thank you
2008 Jul 21 9:36 AM
Hi,
While fetching the value for the complex F4,
also provide a check for the initial values of A,
inside tat check, write a piece of code to inform the system what it has to do when the parameter A is empty.
Hope this can solve the problem.
Reward if helpful.
Sharin.
2008 Jul 21 9:50 AM
Hi Sharin,
It's standard F4-help, so I don't want to change it. The best decision would be to force ALV not to pass the "A value = space" when the A is emty. I wonder if it's possible.
Thanks.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |