How to filter the output of a query according to the language

Hi guys,
I have the following tables joined togheter:  VBAK ,VBKD ,TVZBT.
The problem is, the output gives any record as many times as many languages exist in table TVZBT
I tried with the following instruction but it doesn't work,no matter in which event I put it:
check tvzbt-spras eq sy-langu.
Thanks,Christian

Hello Christian Baldari,
You have to add that check in where clause like :
select ....
from ...
where
<b>tvzbt~spras eq sy-langu</b>.
why because in ur select query you are using innerjoin operation. so you are using TILD (~) operator for alias. you have to check the spras using the alias as mentioned above.
Reward If Hepful.
Regards
Sasidhar Reddy Matli.

Similar Messages

  • How to get this output using sql query?

    Hi,
      How to get this output using sql query?
    Sno Name Age ADD Result
    1 Anil 23 delhi Pass
    2 Shruti 25 bangalor Pass
    3 Arun 21 delhi fail
    4 Sonu 23 pune Pass
    5 Roji 26 hydrabad fail
    6 Anil 28 delhi pass
    Output
    Sno Name Age ADD Result
    1 Anil 23 delhi pass
    28 delhi pass

    Hi Vamshi,
    Your query is not pretty clear.
    write the select query using Name = 'ANIL' in where condition and display the ouput using Control-break statements.
    Regards,
    Kannan

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • How to filter the data in different sections (e.g. Report Footers)?

    Hi,
    I am using Crystal Reports 11 to generate cross-tables.
    I plan to generate 3 cross-tabs, and each cross-table will be put in a section. For example, cross-tab1 in Report Footer a; cross-tab2 in Report Footer b; cross-tab3 in Report Footer c.
    I know use "Select Expert" to filter data. But, it seems that "Select Expert" filters data for the whole report.
    I want to filter the data for each cross-table separately. For example, filter cross-tab1 based on condition1; filter cross-tab2 based on condition2; filter cross-tab3 based on condition3.
    How to filter the data in different sections (e.g. Report Footers)?
    Thank you in advance.

    Hi,
    Now that you've inserted the subreport just right-click the sub-report and click Edit. The Design page for sub-report should open up.
    You can now insert the cross-tab on the Report Header and insert a record selection formula of your choice.
    Also, suppress all the other sections of the subreport so the Main report only shows the crosstab without any spaces.
    Do the same for all the subreports.
    -Abhilash

  • How to filter the data in dropdown?

    Hello,
    How to filter the data
    I got all the project name in dropdown when you select the project name in other textbox the project id will come automatically.
    so I want to get only those project name that is assigned to that particular user.
    I have
    ProjectName(dropdown),
    ProjectId(Textbox),
    Employee code(Unique value),
    employee Id (Unique for particular employee means if User A works on 5 projects so for all 5 projects the employee Id will be same),
    Project Id( 5 projects 5 different id)
    I didnt get the exact formula or I have to use any javascript code.Any help...
    Thanks,

    If I am understanding correctly, you want to populate a drop down with values from a list.
    Using InfoPath:
    right click on the drop down to be populated, and choose drop down list box properties.
    add the list with the values as a data source.
    click the filter box next to entries.
    select the field you want from the other list.
    click filter data.
    set the filter (click AND if you need more lines).
    click OK on any dialogs you need to to get back to the editor.
    Test your form.

  • How to filter the "delete" command in oracle streams ?

    How to filter the "delete" command in oracle streams ? (oracle 9i R2 )
    Message was edited by:
    user507013

    Hello
    write a procedure doing "nothing" for delete transcation :
    connect adminstrm/..
    CREATE OR REPACE PROCEDURE write_delete_lcr (
    message IN SYS.ANYDATA,
    error_stack_depth IN NUMBER,
    error_numbers IN DBMS_UTILITY.NUMBER_ARRAY,
    error_messages IN EMSG_ARRAY )
    AS
    s_id sys.anydata ;
    ad SYS.ANYDATA;
    lcr SYS.LCR$_ROW_RECORD;
    ret PLS_INTEGER;
    vc VARCHAR2(30);
    apply_name VARCHAR2(30) ;
    errlog_rec log_errors%ROWTYPE ;
    ov2 SYS.LCR$_ROW_LIST;
    BEGIN
    return;
    End;
    for your apply do :
    BEGIN
    DBMS_APPLY_ADM.SET_DML_HANDLER(
    object_name => TABLE_NAME,
    object_type => 'TABLE',
    operation_name => 'DELETE',
    error_handler => true,
    user_procedure => 'write_delete_lcr',
    apply_database_link => NULL);
    END;
    Hafedh KADDACHI
    Oracle DBA

  • How to filter the data on Reports from collected from differnet Agents

    1) I have to write a Plug-in which would fetch the same type of data from 7 Agents. I need to generate the report for each Agent separately,This plug-in will be deployed in various different environment. So I will not know the host name as it will be deployed different environment. Can anyone suggest how to filter the data for each agent from the table. I see one solution of using Bind variable for the Target GUID in PL/SQL file. Can you please suggest if there is any other better way of doing this.????
    Also Can you please suggest what are the best ways to debug the OEM Plug-in?
    Thanks Anyway.....

    What I mean filtering data means displaying data for each Agent Seperatly. Assume I have collected Filesystem data from 5 Agents (5 different server). Now I want do display file system data for Agent1 (server 1). How would I fetch it from MGMT$Metric_Current. Currently I use a bind variable
    ??EMIP_BIND_TARGET_GUID?? to filter the data for a Agent from MGMT$Metric_Current view. I compare Target Name entered while deploying Plug-in with the Target_Name column of specified view.Is there any other way of fetching data from this table for a Agent?
    I hope I am prety clear now. My Problem is IO dont want to force user to enter exact Server name while deploying Plug-in.
    Thanks......

  • How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    I wonder the Format Tables macros on my site could be adapted?
    http://www.grainge.org/pages/authoring/word/word_macros.htm
    If not, I have used Macro Express to format tables in Rh. No reason it could not be used in Word.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • How to change the language in smartform?

    hi
    how to change the language in smartform?

    Hi,
    U can't change the language in the smartform, the main language of the smartform is the language used to create it (so the language used for SAP log on.
    But u can translate it (by trx SE63) and if u need to print in a new language u have to indicate it when the smartform is called.
    U can transfer the language to be used for the print in the parameter CONTROL_PARAMETERS, like structure SSFCTRLOP, here u can indicate the language in the field LANGU.
    see this..
    Use transaction SE63, after activate your smartform, to translate.
    In the First Page of your Smart Forms click on Global Settings under that click Form Attributes
    now in the Right side screen Go to Subscreen Language Attributes.
    select the Radiobutton Translate To all Languages
    from the Translate subscreen out of three radio buttons.
    rewaards if useful
    regards,
    nazeer

  • I have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?

    i have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?

    Greetings Lex,
    Kind of you to comment ... but you are also adding years to my signature!   I know I'm 76 but I don't want to think about it. 
    Regards  71.

  • How to change the language of the document in Pages 5.0.1

    Does anyone have an idea about how to change the language of a document in the new version of Pages (version 5.0 or later) without having to restart the computer?

    Edit > Spelling and Grammar > Show Spelling and Grammar

  • I cannot find how to change the language for labels in a quiz

    I cannot find how to change the language for labels in a quiz

    You have to be aware that this will only change labels if you edit before adding quiz slides: Preferences, Quiz, Default Labels. You will have to edit the labels, choosing another language will not change them automatically.

  • How to display the 'language code' for language dependent 'Short text' ?

    Hi,
    I am new to BW.
    Can somebody help me with the following issue?
    I have an attribute 'Material category description'  and I chose short text exists and made it language dependent. I had loaded the master data successfully.
    Now I want to know how to check the 'language code' for this material category description. When I display the data, will the language code display by defalult?
    I had checked the text table using SE11
    It displays the following fields over there.
    /BIC/TS1_MCT_DS   [  /BIC/TS1(InfoObject name)  ]
    LANGU
    TXTSH
    I appreciate your help!
    Thank you
    Sekhar

    Dinesh,
    I went to RSD1 -> info-object -> Master Data/text tab. It shows my language selections there (Short text selected, language time dependent etc.) with everything grayed out.
    In SE16, I could display the data in the following format.
    /BIC/ST_PRID                TXTSH                 TXTMD
    P01                                   umbrella                 rainyday
    P02                                  tent                         waterproof
    etc.
    I want to see the 'language code' as one of the columns in this table.
    Can you help me do that?
    Thank you,
    Sekhar

  • How to change the language of administrator system message in outlook

    I wonder where is the option which changes the language of the text
    related
    to : Your mailbox is over its size limit send by the system
    administrator ?
    Some mailboxes get this message in French and other in
    English ?
    Is anyone can help me ?
    I work with French Outlook 2003 sp2 and
    English Exchange server 2000 sp3
    I try to change the regional setting on the
    server but nothing has changed.
    Thanks,

    Hi,
    Please refer to this duplicate thread below:
    http://social.technet.microsoft.com/Forums/en-US/5afe1e1a-82a9-445f-bcce-a76173ceb6bb/how-to-change-the-language-of-administrator-system-message-in-outlook?forum=outlook
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to populate the Language Key description is not available

    Hi,
    Question: How to populate the Language Key description is not available in the Customer text table
    The problem is ;
    Customer no : 0012345
    For this Customer no description is maintained only in EN, JA ,FR from R3 side.
    EN : HP International Ltd
    JP:HP &#12398;&#22269;&#38555;&#30340;&#12394;&#26666;&#24335;&#20250;&#31038;
    FR: Ltd International de HP
    There is no value for Language ES.
    BW side:
    User is login into language Key ES and executing the report based on this Customer no. There is no Customer text value maintained in language Key ES. It should populate the text value empty. BW system - Language ES is installed.
    I have a Reporting requirement is - I need to populate the text value for this customer No: HP International Ltd when the user login to language Key ES and execute his reports.
    /BI0/TCUSTOMER – Customer text table – I am able to see the description for the EN, JP, FR text values.
    EN: HP International Ltd
    JP: HP &#12398;&#22269;&#38555;&#30340;&#12394;&#26666;&#24335;&#20250;&#31038;
    FR: Ltd International de HP
    If the Customer text is not available in the text table of customer for language key ES - I have to populate the any one of the existing customer text values into the language key ES - example
    0012345 ES  HP International Ltd
    Simplest solution if we maintained ES customer description in R/3 should be ok.
    Is their any other logic which I can implement in BW.

    Hi,
    If you are opting to load Customer Text, there are two options:
    1. R/3 maintained.
    2. Generic Extraction using Flat Files.
    Hope it helps..
    Regards,
    GPK.

Maybe you are looking for