‎2009 May 29 4:48 AM
Hi,
I want to create a database view contains table IFLOTX.
In selection conditions for this view I want to add condition as follow:
IFLOTX-SPRAS = sy-langu " system languageMy question here is how to define system language in Comparison Value column.
Thanks,
‎2009 May 29 4:53 AM
Hi Khanh,
Can you be little specific do you want to create a db view considering even the sy-lang or is it something different.
Revert with clarity so that I can be able to provide u the solution.
Thanks and Regards
Srikanth.P
‎2009 May 29 4:53 AM
Hi Khanh,
Can you be little specific do you want to create a db view considering even the sy-lang or is it something different.
Revert with clarity so that I can be able to provide u the solution.
Thanks and Regards
Srikanth.P
‎2009 May 29 5:01 AM
Hi SRIKANTH,
The problem is when creating db view which contains table IFLOTX, it requires all key fields from this table. As my understanding I want to create a selection condition for key field SPRAS (language key) equals the language which the current user log on.
Is this possible? If no pls give me some instructions.
Thanks,
‎2009 May 29 5:09 AM
Hi Khanh,
Try decalring a varible which is of type Sy-lang and use this variable in your selection by equating it to the SPRAS field.
Just make a try .
Hope you have understood
Thanks and Regards
Srikanth.P
‎2009 May 29 5:16 AM
Hi Srikanth,
Thank you for your postings. After review carefully, I found that table IFLOTX contains a very little records and I will join it with the created view in ABAP code.
Thanks,