Change filter sql code to a business name

All,
one of my filters is an advanced sql code "Term"."Term Code" = VALUEOF(NQ_SESSION.CSA_Analysis_Term)
when i add the filter to the report (Add Filter) the user does not understand the above code,
and I am unable to find a way to add a name to make it more meaningful to the users.
have anyone experimented with this
thanks

Hi Kishore,
I changed it in the prompt now and I set the Server Variable to NQ_SESSION.CSA_Analysis_Term
however I am experiencing another issue. If the value from the prompt is the default value from the server then I see this filter in my filter header
"Term Code Desc is equal to NQ_SESSION.CSA_Analysis_Term"
if I select a another value from the dropdown box then I see this
Term Code Desc is equal to (2010 Fall) which is exactly what I am looking for.
the filter in the report is setup as "Term Code Desc is prompted"
Thanks

Similar Messages

  • After changing 'MS SQL server' service's user name SDAC doesn't work properly

    I've changed 'MS SQL Server' service user name
    from .\admin (have had such already) to network_services
    and now my oracle linked servers to Oracle instance stopped to work.
    Namely, 'Cannot create an instance of OLE DB provider "OraOLEDB.Oracle" for linked server Ora_RO'.
    In event log i see next:
    The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID 
    {2206CDB0-19C1-11D1-89E0-00C04FD7A829}
     and APPID 
    {2206CDB0-19C1-11D1-89E0-00C04FD7A829}
     to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
    So, MSDAINITIALIZE Class fails to start. I cannot locate this service under dcomcnfg. Could you help me?

    The error seems to be clear what is causing the issue, check this link to fix this issue
    Here the scenario is with SharePoint instead oracle so you can make out:-
    http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx
    http://social.technet.microsoft.com/Forums/en-US/696204d5-b07e-46db-a785-737ea57b8da2/distributed-com-error-message
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • How do I change the PHP code so that the name of the senders name appears in the email subject line?

    I need help please, altering the PHP code generated when exporting my Muse websites (to a host other than Business Catalyst). The emails generated from the forms need to have the sender's name in the subject line of the emails.

    This would require editing the published php page outside of Muse and would require the knowledge of PHP. You may get the required info at http://www.php.net or some PHP specific forums.
    Thanks,
    Vikas

  • Need a small change in this code, GUI_DOWNLOAD. FILE NAME ??

    Hi All,
    I want to write a program to download data from VBAK. I have tried this and working fine but I have made my file name constant. Instead I want user to make a choice of file name and its location to save.
    Also please review this code and let me know, how can I improve my programming skills...
    *& Report  ZSAI1
    REPORT  ZSAI1.
    tables : vbak.
    data : begin of it_vbak occurs 0,
           vbeln like vbak-vbeln,
           auart like vbak-auart,
           audat like vbak-audat,
          end of it_vbak.
    data : i_filename type string value 'C:\Documents and Settings\venki\Desktop\text.xls'.
    selection-screen begin of block sc1 with frame.
    select-options : s_vbeln for vbak-vbeln.
    selection-screen  Skip 3.
    parameters : i_excel radiobutton group Rb1,
                 i_text radiobutton group Rb1.
    selection-screen end of block sc1.
    perform select_dt.
    if i_excel = 'X'.
      perform download_excel.
    endif.
    *&      Form  download_excel
    FORM download_excel .
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = i_filename
       FILETYPE                        = 'ASC'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
    IMPORTING
      FILELENGTH                      =
      TABLES
        DATA_TAB                        = it_vbak
      FIELDNAMES                      =
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " download_excel
    *&      Form  download_text
    FORM download_text .
    ENDFORM.                    " download_text
    *&      Form  select_dt
    FORM select_dt .
    select vbeln auart audat from vbak
           into table it_vbak where
           vbeln in s_vbeln.
    ENDFORM.                    " select_dt
    Thank You once gain.
    Regards
    Venkat
    Message was edited by:
            venkat Kumbham

    Check the below code :
    REPORT ZSAI1.
    tables : vbak.
    data : begin of it_vbak occurs 0,
    vbeln like vbak-vbeln,
    auart like vbak-auart,
    audat like vbak-audat,
    end of it_vbak.
    data v_file type string.
    *data : i_filename type string value
    *'C:\Documents and Settings\venki\Desktop\text.xls'.
    selection-screen begin of block sc1 with frame.
    select-options : s_vbeln for vbak-vbeln.
    selection-screen Skip 3.
    parameters p_file like rlgrap-filename.
    parameters : i_excel radiobutton group Rb1,
    i_text radiobutton group Rb1.
    selection-screen end of block sc1.
    at selection-screen on value-request for p_file.
    F4 value for file
      perform file_get.
    start-of-selection.
    perform select_dt.
    if i_excel = 'X'.
    perform download_excel.
    endif.
    *& Form download_excel
    FORM download_excel .
    v_file = p_file.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    FILENAME = v_file
    FILETYPE = 'ASC'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    TABLES
    DATA_TAB = it_vbak
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " download_excel
    *& Form download_text
    FORM download_text .
    ENDFORM. " download_text
    *& Form select_dt
    FORM select_dt .
    select vbeln auart audat from vbak
    into table it_vbak where
    vbeln in s_vbeln.
    ENDFORM. " select_dt
    *&      Form  file_get
          text
    -->  p1        text
    <--  p2        text
    FORM file_get.
      CALL FUNCTION 'WS_FILENAME_GET'
           EXPORTING
                DEF_PATH         = 'C:\Temp\'
                MASK             = ',.,..'
                MODE             = 'O'
                TITLE            = 'Select File'(007)
           IMPORTING
                FILENAME         = P_file
           EXCEPTIONS
                INV_WINSYS       = 1
                NO_BATCH         = 2
                SELECTION_CANCEL = 3
                SELECTION_ERROR  = 4
                OTHERS           = 5.
    ENDFORM.                    " file_get
    Thanks
    Seshu

  • SQL Code not working in Forms Developer without Functions?

    Hi all,
    I've write this code into Forms at it's work correctly in SQL and the following error occurened
    The PL-SQL Code:
    DECLARE
         Product_Name Products.Name%TYPE;
         Most_Occurence NUMBER(10);
    BEGIN
         SELECT *
         INTO Most_Occurence, Product_Name
      FROM (SELECT   COUNT (returned_goods.ID) AS "Max Occurence", products.Name
      FROM Returned_Goods
      JOIN Products
      ON returned_goods.productId = products.Id
             GROUP BY returned_goods.productId, products.Name
             ORDER BY COUNT (returned_goods.ID) DESC)
    WHERE ROWNUM = 1;
    END;The error message (appears near JOIN Products) :
       Encountered symbol "PRODUCTS" when expecting one of the following:
          ), with group having intersect minus order start union where connectThanks in advance
    Edited by: ZiKaS on Dec 30, 2008 8:57 AM

    Now...obviously you can't use ansi join syntax in that forms module. So rewrite your query with
    FROM returned_goods, products
    WHERE returned_goods.productId = products.id
    hth

  • Changing Valuation Grouping Code

    We Have a plant for which the valuation grouping code is wrongly assigned, The Plant is active for Quite a period of time. Now the valuation grouping code needs to be changed. Can anybody update the  exact procedure to be followed before the change can be done.

    Hi,
    Valuation grouping code is used for grouping valuation area. As in your system assigned  ieu2026u2026u2026..For example different valuation grouping code is used for different for plants.
    Valuation grouping code........valuation area
    0001.........................................PL01(Plant-1)
    0002u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026PL02(Plant-2)
    1st find out why it used & may be used for to have different G/L posting with respect to plant for the same material during transactions.
    Before changing Valuation grouping code, ensure from business user all requirements & have consult with FICO consultant as all posting start with triggering from valuation grouping code which assigned to plant in OMWD t.code. After all, if business needs to change valuation grouping code, which you can do easily but need to do all testing for all transactions posting
    in all modules and validate all account posting by FICO consultant followed by business owner.
    Regards,
    Biju K

  • How can i identify the environment name or database name in the PL/SQL code

    Hi,
    I am using UTL_FILE to genearate the files.,
    My problem is, I have to design the common sql file , which can be executed in 2 diffrent environments ( Say QA & DEV ) , with no parameters. It has to identify the environment and based on the environment , it has to generate the concern files.,
    The only change needs to be incorporated is , file names , which will change based on the environment.,
    can nay one tell me , how can i identify the environment name or database name in the PL/SQL code ??
    Raja

    In this case, USEC_GI_DEV.NA.XXXNET.NET is a TNS alias. That alias exists only on the client machine. There is no way to access that information on the database server.
    You would have to find something in the v$database or v$instance table that uniquely identifies the database (and you may need some help from the DBAs to do this because you need to ensure that the data element you choose is compatible with whatever refresh process(es) are used in your environment).
    Now, if you are writing a stand-alone SQL*Plus script, SQL*Plus, as a client tool, does have access to the TNS alias in later versions. But that is a client-side determination, not a server-side determination.
    Justin

  • Track pl/sql code change.

    HI,
    Is ther any way , we can track the pl/sql code change ? I've already running a trigger, which track who created the objects, but there is no way, I can find that
    The user made any change to it. for exaple, if there are proc1 exist in database and someone copy the code from sql developer run it once again, without made any change. According to you, what cab be done to counter the situtaion?
    hare krishna
    Alok

    I am agree, in the VSS we are not able to capture the code changes by the developer.
    You can write a procedure which will copy the text from all_source table to a file according some parameter( You can use some table column value with the user name , SID , and obejct type value, because it will take too many space to store for all the create syntax, then before copy the text from the all_source table it will check for that table user_name, SID and object type entry, if it will get then it will copy the text and store in a file through utl_file, with the file name as SID+user_name+datetime).
    Call this procedure in the trigger, I think you will get the result when you want for a particular user or all the users.
    Thanks
    SUN

  • How to change the profile value in the pl/sql code without making change in the database

    How to change the profile value in the pl/sql code without making change in the database.

    I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
    if these Profiles are set for the user running this program automatic printing should not be done.

  • How may I change the format to enter new contacts?  I need to add a business name and would like to change the defaults to work rather than home.

    I am entering new contacts into the contact app.  I need to add a business name and would like to change the default for phone numbers from home to work.  I am entering a large amount of business cards

    rcolbroth wrote:
    Is there anyway of creatiing a different name for this Folder rather than 2013?
    If you are using one of Lightroom's "date-based" folder templates, then the folders are created in accordance with the image capture date, not the date that you happen to import it. If you specifically want to use the import date for your folder names then you probably don't want to use the Lightroom date template, and instead you'll need to setup your folder names manually.
    The vast majority of users that use date-based folder naming schemes will use a standard Lightroom template, i.e. based on the much more meaningful image capture date.

  • How do I get my code changes to show when published in Business Catalyst?

    I have created my website using !Adobe Muse and have used the Ecwid ecomm widget to integrate a shop. As I wasn't happy with the font, colour, etc, I changed the code using the edit 'html' function, accessing the code information from a design browser mode and then further on in the process, I published it to Business Catalyst. However, now the changes don't show. How do I get my code changes to show when published in Business Catalyst? Do I need to go through the same process using Business Catalyst?

    Hi,
    Thank you for choosing Ecwid! To change the design of your storefront, you should go to Ecwid Control Panel > Settings > Design > CSS Themes. Find your current active theme and add all the necessary changes in a big input field that you’ll see there. To know more about how to improve your storefront design, please refer to this article http://help.ecwid.com/customer/portal/articles/1083332-how-to-change-ecwid-design
    If you make changes to your CSS Theme but your storefront design remains the same, please refer to this article http://help.ecwid.com/customer/portal/articles/1149625-i-don-t-see-the-changes-i-made-to-m y-css-theme
    Also, you can find a good range of articles and tips on how to improve your Ecwid store in our Help Center http://help.ecwid.com/ Feel free to use it!
    If you get any other questions about CSS or Ecwid functionality, contact us on our forum http://www.ecwid.com/forums/  There we will be able to check your website and provide more specific solutions for you.

  • How to review implication of database character set change on PL/SQL code?

    Hi,
    We are converting WE8ISO8859P1 oracle db characterset to AL32UTF8. Before conversion, i want to check implication on PL/SQL code for byte based SQL functions.
    What all points to consider while checking implications on PL/SQL code?
    I could find 3 methods on google surfing, SUBSTRB, LENGTHB, INSTRB. What do I check if these methods are used in PL/SQL code?
    What do we check if SUBSTR and LENGTH functions are being used in PL/SQl code?
    What all other methods should I check?
    What do I check in PL/SQL if varchar and char type declarations exist in code?
    How do i check implication of database characterset change to AL32UTF8 for byte bases SQL function.
    Thanks in Advance.
    Regards,
    Rashmi

    There is no quick answer.  Generally, the problem with PL/SQL code is that once you migrate from a single-byte character set (like WE8ISO8859P1) to a multibyte character set (like AL32UTF8), you can no longer assume that one character is one byte. Traditionally, column and PL/SQL variable lengths are expressed in bytes. Therefore, the same string of Western European accented letters may no longer fit into a column or variable after migration, as it may now be longer than the old limit (2 bytes per accented letter compared to 1 byte previously). Depending on how you dealt with column lengths during the migration, for example, if you migrated them to character length semantics, and depending on how relevant columns were declared (%TYPE vs explicit size), you may need to adjust maximum lengths of variables to accommodate longer strings.
    The use of SUBSTR, INSTR, and LENGTH and their byte equivalents needs to be reviewed. You need to understand what the functions are used for. If the SUBSTR function is used to truncate a string to a maximum length of a variable, you may need to change it to SUBSTRB, if the variable's length constraint is still declared in bytes.  However, if the variable's maximum length is now expressed in characters, SUBSTR needs to be used.  However, if SUBSTR is used to extract a functional part of a string (e.g. during parsing), possibly based on result from INSTR, then you should use SUBSTR and INSTR independently of the database character set -- characters matter here, not bytes. On the other hand, if SUBSTR is used to extract a field in a SQL*Loader-like fixed-format input file (e.g. read with UTL_FILE), you may need to standardize on SUBSTRB to make sure that fields are extracted correctly based on defined byte boundaries.
    As you see, there is universal recipe on handling these functions. Their use needs to be reviewed and understood and it should be decided if they are fine as-is or if they need to be replaced with other forms.
    Thanks,
    Sergiusz

  • Changing Business Name

    I've searched high and low on my account for a way to change the name of my business but I just can't find out how to do it. Ideally I would actually like to turn the account back into a personal account but that also doesn't seem to be an option and I can't see any information on how to do either of these things. This is getting infuriating now.

    There are some things you just can't do yourself.  PayPal considers some changes for security reasons, mostly to protect the account owner should someone else other than the owner gain access to the account. If you prefer to downgrade to a Personal Account, contact customer support as they can do the switch for you.  PayPal allows one to upgrade a Personal Account to either a Premier or Business Account however, to go from either a Premier or Business Account requires assistance from customer support. If still want to change your business name, customer support can also assist with that.  Note, they may ask for some additional information in order to complete the process. 

  • Change Business Name

    Hi there, I signed on a few years back wtih a different buisness that I no longer have. I want to change the Business Name on my account.What do I need to do this so i can move forward with my new business? Thank you

    Guislain,
    Do you want to re-name the Logical System name or Business System name?
    raj.

  • Business Name Won't Change

    Hello! My business name won't change from my old business name (bargefamily iPod Touch Repairs) to my new business name (GraceTech Repairs). I can go into settings and change the name, and it appears to be successful, but then when I click my name/icon at the top right of the page it still says "Bargefamily iPod Touch Repairs" and on my bank statements whenever I make a transaction it still comes through as "Bargefamily iPod Touch Repairs" instead of my new business name. Any ideas?

    Hi Niel,
    Thanks for your time.
    Here's the whole scoop.
    When I initially set up my computer I started out by setting up one user on my HD. This original user was named "casandrasilver".
    I recently created another user and named it "jason". I did this by going into System Preferences/System/Accounts and here I added an account. I wanted "jason" to be the main user and "casandrasilver" to be the other account [for iTunes reasons] so in the same System Preferences/System/Accounts I changed the name to "jason". The "Short Name" in there was greyed out and could not be changed so I then posted my original question asking how to change that.
    I then did as the first responder to my post suggested: 1) Open Macintosh HD
    2) Open the Users folder 3) Change the name of the home folder by selecting it and then clicking on the name.------HERE IS WHERE I CHANGED THE FOLDER THAT SAID "casandrasilver" to "jason"------- 4) Log Out and back in to make sure everything works correctly.
    Then I went in and did as you said, and as you said not to do, so sorry.
    This is what I did: I opened the NetInfo Manager in the /Applications/Utilities/ folder, clicked the padlock, and typeed in my password. I then clicked on the "users" folder and changed everything under "Value(s)" that said "casandrasilver" to "jason".
    Then I restarted and now I have two choices of users to log into. One user is "jason" but the home folder is named "casandrasilver" and the other is "casandra" and the home folder is named "casandra". (I didn't set up a user named just "casandra", this is baffling to me). They are both new accounts because the docks are fresh and the desktops are fresh and none of my folders that were on the original desktop show up, no iTunes or iMovies, etc.
    I hope you can help.
    Thank you so much for your responses so far.

Maybe you are looking for