Function and Department of contactpersons - how to read the texts

Hello,
we use at the level of contact person the fields FUNCTION and DEPARTMENT where codes represent a function or department.
My question is how could we read the texts in users language for the codes in this fields?
Are there function modules we could use?
Thank you.
Kind regards
Manfred

hi,
Use FM BUPR_CONTP_GET_DETAIL to get the codes of Function and department.
Read the language of the user
Pass those codes along with language to TB911 --> Departments and TB913 --> functions to get the descriptions repectively
Regds,
Raghu

Similar Messages

  • How to Read the "text file and csv file" through powershell Scripts

    Hi All
    i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell
    am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls
    Regards:
    Rajeshreddy.k

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • How to Read the text enetered in Notes Tab of Invoice Doc. ( FB60, MIRO  )

    Hi All,
    We are trying to read the Text Entered in Notes Tab of Invoice Doc using the tcode FB60, MIRO..
    We are able to see the text when we use these tcode but can you please help us how to read these deatils in a program..
    We wanted to download these notes corresponding to the Invoivces..
    Thanks in Advance....
    Regards,
    Vidya.

    Hmm..you will get lots of links if you search the forum/google..
    Anyway - keep a breakpoint in SAVE_TEXT/READ_TEXT function module and create/display MIRO and FB60 documents - this tell you how it stores and reads long text.
    You should use READ_TEXT in your program with same header inputs with respective TDOBJECT and TDNAME parameters.

  • How to read the text in a link present in a web site ?

    An excellent example I can think of ..is this forum. Using a Java program I need to access/read
    the text present in all the topics posted here (in one page) and put them into a file. In this way if suppose the network goes down, I can still read the entire topic stored in the text file. This program can be scheduled to run daily.
    Can anyone give any sample code/hints to do this ?
    Thanks in advance.

    You need to make a URLConnection to the page you want, and get the input stream from that page.
    The contents of the input stream (use a reader to get them) will give you the raw HTML code. Use a parser to get the actual content. I dont know of a parser offhand, but you can search for one.

  • How to read the text file present in the Al11 server through our program?

    My requirement is that , i have one file already present in the AL11 server. Now i want to take this file so that I can read this file .
    So will you please help me , how to read the file from AL11 server in our program ?
    Thankx in advance

    Hi..
    I too agree to the above post .. SEARCH in SCN before posting..
      DATA: lv_filename  TYPE string, "File name
            lv_line      TYPE string. "One line entry in a file
      lv_filename = iv_file_name.
      IF iv_location = gc_application.
        IF iv_record_count IS SUPPLIED.
      Open file
          IF gv_file IS INITIAL.
            OPEN DATASET lv_filename FOR INPUT IN TEXT MODE
                                     ENCODING DEFAULT.
                                     ENCODING DEFAULT
                                     IGNORING CONVERSION ERRORS.
            IF sy-subrc <> 0.
              RAISE file_open_error.
            ENDIF.
            gv_file = gc_check.
          ENDIF.
      Read data
          DO iv_record_count TIMES.
            READ DATASET lv_filename INTO lv_line.
            IF sy-subrc <> 0.
      Close file
              CLOSE DATASET lv_filename.
              IF sy-subrc NE 0.
                RAISE file_close_error.
              ENDIF.
              CLEAR gv_file.
    Exit from the loop
              EXIT.
            ENDIF.
    Regards
    Ansari

  • How to read the TEXT TABLE (or) .CSV in HSQLDB Standalone using Java

    Hi, I like to use the text tables in our application. And like to use the HSQL Database Engine as Standalone. I created the text tables, those are stored in the disk as ".CSV" files. But i am unable to read that text table (.CSV) when i relogin and gave the CSV file path as URL along with "jdbc:hsqldb:file". So can anybody give me the tips how use the text tables.
    Regards,
    Vinay

    You need to make a URLConnection to the page you want, and get the input stream from that page.
    The contents of the input stream (use a reader to get them) will give you the raw HTML code. Use a parser to get the actual content. I dont know of a parser offhand, but you can search for one.

  • How to read the texts

    i defined standard e-mail text in SO10.
    which consist of 35 lines content.
    I want to read this texts and pass this to the function
    module to sent as an external e-mail
    Could you please help with a function module to do so ?

    hi use the fm read_text..like this..
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
       CLIENT                        = SY-MANDT
        id                               = C_TEXT_ID_0001
        language                      = I_WWMV-SPRAS
        name                          = TEXT_NAME
        object                        = C_TEXT_OBJECT_WLB
    IMPORTING
       HEADER                        = THEAD
    TABLES
        lines                         = t_tline
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8

  • How to read the text from the item text of the purchase order

    i want to extract the text which is maintained in the purchase order item text. i used the function module read_text but it reads only the header text. can anyone help.

    u have to chek the following parameters  
      ID: this textid
      language:language u maintained the text,this also important
       name: The no in which text-id is maintained
             Usually we make mistake here,the no is          combination of purchase order no and item no.
    Example:420000210000010(Puchase orderno:4200002100 item no:00010)
        Object:it change based on the text-id so u can check it the document no.
        CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  id                      = p_var
                  language                = g_f_langu
                  name                    = g_f_tdname
                  object                  = g_f_obj
             TABLES
                  lines                   = g_t_lines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    Pass the varibles as i have said and let me know if u face any problem.
    Regards

  • How to read the text shown in the "Look in" field in a JFileChooser?

    Hello,
    I work on a windows environment and I have a network drive mapped on my computer.
    The mapped network drive letter is: X:\
    When I open the JFileChooser and point to this drive and choose it ,in the JFileChooser's "Look in" field this is what is written: Version6.1 on server(X:) but when I choose it and print the pathName it returns only the mapped network drive letter (i.e. X:\) (which is of course understandable).
    The user wants to see the name of the folder he has chosen and not just the drive's letter.
    How can I possibly get the exact test shown in the JFileChooser before returning?
    Thanks.

    >
    When I open the JFileChooser and point to this drive and choose it ,in the JFileChooser's "Look in" field this is what is written: Version6.1 on server(X:) but when I choose it and print the pathName it returns only the mapped network drive letter (i.e. X:\) (which is of course understandable).
    The user wants to see the name of the folder he has chosen and not just the drive's letter.
    How can I possibly get the exact test shown in the JFileChooser before returning?
    >
    Your question is confusing. If the user chose a folder then they will see the name of the folder and the full path.
    You might be referring to the system display name for the drive itself. If that is what you want you will need to add code to get that name and display it to the user. The dialog isn't going to include the display name.
    For example if I map drive z to the c drive of another machine I can get that drive name the way it is displayed:
    restoreFolderChooser.getFileSystemView().getSystemDisplayName(new File("z:\\"))
    "c$ on 'blade1' (Z:)"Is that was you are looking for?
    See the FileSystemView class in the Javadocs
    http://docs.oracle.com/javase/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html
    >
    getSystemDisplayName
    public String getSystemDisplayName(File f)Name of a file, directory, or folder as it would be displayed in a system file browser. Example from Windows: the "M:\" directory displays as "CD-ROM (M:)" The default implementation gets information from the ShellFolder class.
    Parameters:
    f - a File object
    Returns:
    the file name as it would be displayed by a native file chooser
    See Also:
    JFileChooser.getName(java.io.File)

  • How to read the TEXT TABLES (Or) .CSV in HSQLDB using JAVA

    Hi,
    I want to use the HSQLDB instead of mdb in our application. I am using the HSQLDB Engine Standalone mode, and given a file name "TEMP" in URL along with the "jdbc:hsqldb:file:". Then a I created a TEXT TABLE, that table was created as a .CSV file in the Disk. But I am unable to read that CSV, I tried that file in the database URL. But its not working. Can anubody give me the suggestions.
    Thankyou,
    Regards,
    Vinay.

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • Powershell script - how to read a registry hive and store the value in text file and then again read the text file to write the values back in registry

    Hi All,
    powershell script Method required to read a value from registry and then taking the backup of that values in some text file.
    For example the hive is
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
    and under path i need to take back up  of values in some text file and then put some value in the registry after back is taken in text file.
    Also how to read the text file values so that we can again write to registry hive  back from the back up text file.
    Your help is much appreciated.
    Umeed4u

    I think you need to read this first:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • How to read the data in spectrum analyzer (Anritsu MS2661C) and put it in Excel using Labview

    Hi all, I'm new to using the labview, and I have some trouble doing my project using the labview software.
    I have been trying to use the spectrum analyzer (Anritsu MS2661C) which connect to computer using the GPIB connection.
    I have got the instrument driver which can write and control the instrument using Labview 2010.
    and my Question is how do read the data or result from the spectrum analyzer and send it to the microsoft excel?
    Do I need to use other software or programming to do this step?
    If anyone know how is this done, please let me know.
    Regards,
    Ery

    Hi ery,
    In order to send data that you have read in from an instrument to Excel, the most convenient way to do this would be to use our Report Generation Toolkit.  The Report Generation Toolkit is a very useful tool that allows you to interface to Microsoft Office software from LabVIEW, including Word and Excel.  I am not sure if you are familiar with this, but I have attached a link that explains more about the Report Generation Toolkit below.  
    Another way would be to use the Write To Spreadsheet File VI.  While this will store your data to a spreadsheet data file, it will not allow you to programmatically perform any Excel formatting like the Report Generation Toolkit offers.  I have also attached a link to some information on the Write To Spreadsheet VI below.  
    Also, be sure to check out the Example Finder in LabVIEW for a number of examples on how to write data to a spreadsheet file.  From LabVIEW, you can go to Help»Find Examples to launch the Example Finder.  From there, you can search for "spreadsheet," which should populate examples for use in different applications.  I hope this helps, ery.  Please let me know if you have any further questions about these!
    NI LabVIEW Report Generation Toolkit for Microsoft Office
    Write To Spreadsheet File VI 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Dropdown lists for function and department on BP are sorted by key not desc

    Hi,
    In the new WEB UI the dropdowns for function and department are sorted by the key rather than the description.
    This is causing the users major problems as they usually end up grouped together because of the way they were named.
    Can anyone suggest how i can get the F4 help in the WEB UI for department and function so it is sorted by the description.?
    Thanks
    Matt

    Ok here goes....
    Department:
    UI Component: BP_CONT
    View: BP_CONT/ContactDetails
    Context Node: RELATIONSHIP
    Attribute: STRUCT.DEPARTMENT
    Object Type: BP_CONTACT
    Attribute: <DEFAULT>
    Design Object: BP_CONTACTRELATION
    Function:
    UI Component: BP_CONT
    View: BP_CONT/ContactDetails
    Context Node: RELATIONSHIP
    Attribute: STRUCT.FUNCTION
    Object Type: BP_CONTACT
    Attribute: FUNCTION
    Design Object: BP_CONTACTRELATION
    Hope this gives you enough infoirmation, and thanks for looking into this.
    Thanks
    Matt.

  • Oracle Form functions and procedures in APEX, how?

    I am working to recreate in APEX, already existing Read Only Forms in Oracle Forms. APEX Interactive Report functionality among other things, makes it worth while as well as targetting a different audience than the one that utilizies the Oracle Form versions. Oracle Forms versions use lots of pre and post query triggers, PLSQL Functions.
    In Oracle Forms one of the places those functions can be located is in the "Program Units" section of the Form. A typical function of this sort, based on a specific Mission ID Itinerary, collects scheduled passengers last names, formats them with a comma and space after each one, into a single string that is returned and displayed as the passenger list of one row.
    I have all this code written so I can move most of the main query of the Oracle Form into an Interactive Report. These functions and triggers called from within the Form, from the "Program Units" section of the Oracle Form rather than being stored in the Database schema in a package, where would they go inside APEX? Can I create a "Shortcut" in APEX and call it from the Interactive Report "Region Source"? Can I create the PLSQL function at the page level or region level of the Interactive Report? Or, is my best bet creating a package stored in the database, of all these functions and/or proecedures I may need from the original Oracle Form?
    Some advice would be greatly appriciated.

    RLBickham wrote:
    I don't think I have been clear enough in describing the specific thing I want to do, it simply does not reach the level of forms to APEX conversion. It is basically a PLSQL Function problem.
    I have an Interactive Report that is currently getting 90 percent of what I want however, each row, representing a Mission may have multiple legs. Each Leg has two locations or ICAO codes attached to it. Based on the Mission number, I want to loop through the leg table, collect all the ICAO codes for that Mission, put them all into 1 variable separated by a coma and add that variable to the column display of that Interactive Report as the last column.
    In Oracle Forms I have a function saved to the database that is called within the main query. Maybe I am asking a question that does not need to be asked but in any case my question is can I put that function currently in the database somewhere in the confines of the Interactive Report and reference it via Http somehow or should I just stick with putting functions and procedures in packages stored in the database and called the conventional way?You could move the function to the database and call it from the report query, but it sounds as if it's superfluous. In the report query use whatever form of Re: 4. How do I convert rows to columns? is appropriate to your (unspecified) database version.
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • How to read the date and time information of a file by labview

    how to read the date and time information of a file by labview? for example, created time and modified time.
    Solved!
    Go to Solution.

    if you need to know the last modification date of file:-
    "Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
    This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.
    Thanks as kudos only

Maybe you are looking for

  • BlackBerry z10 battery poor performanc​e

    Hey i have a question with regards to how am I supposed to improve my battery on the z10. I bought this phone last year at full price from my carrier. Since then the battery performance has been very poor... even after the number of updates and reduc

  • Retrieve data from AD from within a custom sharepoint 2010 webpart

    Hi, I have a requirement to retrieve user data from AD and display from within a custom built webpart. I am using the PrincipalContext class etc to get the info from AD, i have sucesfully done this in a console program without having to specifiy a us

  • Change the sound of recorded midi track

    hi there forgive me if this sounds moronic - I am a recent convert from Sony Acid to Logic Pro I recorded some midi data by pressing record on the classical piano track, but it recorded as big beat remix - how can i change it back to grand piano? tha

  • Hey i need help really badly..

    Ok so i got my Ipod for christmas and now on the screen when i turn it on it just shows an apple then goes to a file and exclamation mark, i put it into my pc and a very small stop sign and in very small rext ' do not disconnect'. It does that consta

  • Track bitrates on iPhone 4 in iOS 5.0.1

    Hi, Can you look at detailed track information directly on the iPhone 4 (after an iTunes sync)? Thanks