How tochange the description ofa field inthe parameter form query generator

I have a parameter form which is fetching the details from the Location table.
/* Select From [OLCT] T4 */
Declare @ToLoc Varchar(300)
/Where/
Set @ToLoc = /* T4.Location*/ '[%4]'
when i execute the parameter form Query selection criteria displayed is
Name
OLCT table the description of the field location is Name i want to change the description to location
Please Help

Thanks for the reply , It does not help.
If meant the selection box when I run query to input values
for example
/* Select From [OINV] T1 */
Declare @FromDate Datetime
/Where/
Set @FromDate = /* T1.DocDate*/ '[%1]'
/* Select From [OINV] T2 */
Declare @ToDate Datetime
/Where/
Set @ToDate = /* T2.DocDate*/ '[%2]'
/* Select From [OLCT] T3 */
Declare @FromLoc Varchar(300)
/Where/
Set @FromLoc = /* T3.Location*/ '[%3]'
/* Select From [OLCT] T4 */
Declare @ToLoc Varchar(300)
/Where/
Set @ToLoc = /* T4.Location*/ '[%4]'
/* Select From [OLCT] T5 */
Declare @Country Varchar(300)
/Where/
Set @Country = /* T5.Country*/ '[%5]'
/* Select From [OLCT] T6 */
Declare @State Varchar(300)
/Where/
Set @State = /* T6.state*/ '[%6]'
Exec [SAP_SP_DB]..[NABC_TaxReport] 'SAP2007B','Inflow',@FromDate,@ToDate,@FromLoc,@ToLoc,@country,@state
In the above query I have from and To Location which displays as Name in the selection box

Similar Messages

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

  • How to update a particular field in a form.

    Hi Guys,
    I just want to know how to update a paricular field in a form.
    I want to upadate a field in a view BOM_RESOURCES_V
    for that i've a procedure called process_rtg.
    now i want to know how to use that procedure.

    hi,
    check metalink Note:264711.1 on how to use ROUTING BUSINESS OBJECT API
    ( BOM_RTG_PUB.Process_Rtg package)

  • How does the Updated by Field Work....

    Hi Experts,
    Can anyone help on how the *Updated By* field values are populated, specially when the values are updated through a Workflow.
    I read the following in the MDM Documentation.
    If trigger action is Record Add, Record Update, or Record Import for a workflow. The [System] is the creator and launcher of the job but is not a real user.
    This is even true if the Owner of the workflow is the Admin.
    After our server migration was done, instead of showing [System] as the Updated By it now shows the Admin.
    What could be the reason for this. Do i need to contact SAP or is there something that needs to be done at the respository level to get the Updated By field to work as expected.
    Regards,
    Aditya.

    Hi Aditya,
    As far as i am concerned, this is not true. Field Updated by type of User Stamp should only show user's which are there in User's table of MDM console under node Admin-->Users. When we don't have any User of repository with name System, there is no point it will show you user System for field Updated by.
    Query 1: Can you please confirm, do you have this User "system" available in your repository under node admin-->Users in MDM console ?
    Query 2: Also, After our server migration was done, instead of showing System as the Updated By it now shows the Admin.
    I seriously have doubt on this. Can you please check do you have really user System for existing records too? I mean you can do Free-form search for field Updated by with value system. I am sure even for existing records (whether in before server migration or in existing) you will not get single record with field updated by "system" . Can you please confirm on this ?
    May be I am wrong, so kindly revert with your findings and confirm above both queries..?
    Regards,
    Mandeep Saini

  • Edit the description metadata field.

    Is it possible to edit the 'description' field through a script.  I've been trying off and on all day and coming up dry. here is what i have now thanks to some script i've found from John Beardsworth (thanks, btw!!) that i managed to narrow to my needs...
    #target bridge
    if ( app.name == "bridge"  && app.version[0] == '3' )
    // Create main menu item
        var menu = new MenuElement( "menu", "Filename to Metadata cart", "at the end of Tools", "g2mMenu");
        var g2tCommand =  new MenuElement("command", "click here", "at the end of g2mMenu");
    //Submenu for filename to iptc title
        g2tCommand.onSelect = function(m)
            var getFolderChildren = true ;
            var filesOnly = true ;
            var thumbs = app.document.selections;
            for ( var i = 0; i < thumbs.length; i++ )
            { var thumb = thumbs[i];
               var md = thumb.synchronousMetadata;
               md.namespace ="http://purl.org/dc/elements/1.1//";
               md.Description= "hello World";
               Window.alert ("Done " + i + " records");
    //closing brace
    I simply cannot get it to change the info in the description field.  It even willl give me the alert saying it did  it and nothing will be there.  this works fine for Title and Headline, but not description... any ideas?
    obivously this is a simpler version of what i actually want to write into the description field, otherwise i wouldn't need a script.  But if i can get this to work, i can get my real needs to work as well.
    thansk.

    I think your main problem is that you are using the wrong property name. Try "description" and not "Description." XMP property names are case sensative.
    The following script works for me:
    #target bridge
    // Where is this script?
    var curFolder = new File( $.fileName ).parent;
    // Make a simple JPEG file here for the test
    var somePixels = new BitmapData( 300, 200);
    var jpgFile = new File( curFolder.fsName + "/test.jpg");
    somePixels.exportTo( jpgFile, 100, true );
    // Make a thumbnail
    var thumb = new Thumbnail( jpgFile );
    // Get the Metadata
    var md = thumb.synchronousMetadata;
    // set the namespace
    app.synchronousMode = true;
    md.namespace = "http://purl.org/dc/elements/1.1/";
    // set the property
    md.description = "Testing 1,2,3";
    // Make sure the Bridge UI sees the change
    thumb.core.metadata.cacheData.status = "bad";
    If I change my script to use "Description" then the script sets a new, bogus property "dc:Description" in the XMP.
    I recommend always keeping a copy of Part 2 of the XMP Specification handy when writing any scripts that modify metadata. Double check the spec for the correct namespace URIs and property names. Get the spec here: http://www.adobe.com/devnet/xmp/
    -David

  • PD Appraisal-how to show the description to user in appraisal form

    Hi,
        Let me explain about scenirio
    my client asked to show the objective description to each and every user while open their appraisal form.
    is like a button icon once the user click,his objective description is shown in display pad..
    please guide me about what are the configurations require to fulfill our scenerio.
    Thanks
    Sathiya

    You can enter the descriptions for the VA, VB or the VC objects. After entering the descriptions, in the column tab (for the va, vb or the vc), change the Text Layout (in the web settings) value to "Name and Description".
    This should meet your need

  • How do you calculate multiple fields in a Form?

    Hi,
    I have a spreadsheet with several headings and several fields as illustrated below, and description of each field and calculation required is listed below.
    Rate Per Day
    Days
    Course
    Attending
    Total
    $1,000
    2
    Course A
    Yes
    $2,000
    $2,000
    1
    Course B
    Yes
    $2,000
    $5,000
    5
    Course C
    No
    $2,000
    2
    Course D
    Yes
    $4,000
    Total:
    $8,000
    Rate per day:  Field value is inputted by us.
    Days:  Field value is inputted by us.
    Course:  Field value is inputted by us.
    Attending:  Is actually a check-box that the client ticks.
    Course Total:  This should be the calculation of RATE PER DAY * DAYS IF ATTENDING BOX IS CHECKED
    Total:  Sum of above COURSE TOTAL FIELDS
    We currently do this in EXCEL 2007, however we looking at converting it to a PDF Form for distribution to our clients to we can track responses, etc.
    My question is really ery simple ... how do I create the above calculations in a form that I want to distribute??  This possible?? If so how (please bear in mind I'm not a developer

    In re-reading your question, I realized you're using a check box. In that case, you will need to create a custom calculation script using JavaScript.
    Something like:
    // This is a custom calculation script
    (function () {
        // Get the value of the check box
        var v1 = getField("Attending1").value;
        if (v1 !== "Off") {
            var v2 = +getField("Rate1").value;
            var v3 = +getField("Days1").value;
            // Sum the two field values and set the value of this field to the result
            event.value = v2 + v3;
        } else {
            // Blank field if checkbox is unchecked
            event.value = "";
    You'd replace the field names I used with the field names you're using.
    This leaves out checking to see if the corresponding Couse field is filled-in, and you'll have to use a custom Format script if you want the type of formatting you show.

  • How to collapse unused text field in PDF form

    Hi all, may i know how to collapse unused text field in a PDF form. Etc, we have alot of description line for user to enter the info, but some line will be left unused, so i was wondering whether can i hide those unused text field. But when i need them, i just expand it and use it.

    I don't think w/o UI Customization it is possible.
    UI customization won't be a small one as it is a common wizard and used at multiple places. So it will be a huge work.

  • How to show a time field in a form portlet

    Hi,
    I am not familiar with PL/SQL and I was wondering how I could show a time field on a form portlet.
    I have a date column in my database that stores the time and date together, but I do not know how to separate them into date and time fields. I also do not know how to concatenate them when a user inserts a new record, or how to query on a date alone.
    At present, the user has to type the date and time following this format mask hh:mi am DD/Mon/RR
    I also have a problem with one of my hidden id fields. I have set the default to a sequence.nextval (#qtc_app.seq_visitor.nextval) and then hidden it since
    it is irrelevant to my users. However, I can no longer use the query function since the sequence is always generating a new value. How would I only generate
    a new sequence no. when a user inserts a record??
    Thank you!
    cheers, Kim

    Hi,
    Each colunm in the form has a format mask associated with it. For the date column make the format mask like this DD-MON-RR HH.MI. This will show the date along with the hours and minutes.
    Thanks,
    Sharmila

  • How to use Key Flex Fields in Custom Form

    Dear Members,
    I have developed a custom form.
    In my form there is a search criteria for location.
    When ever user wants to query based on the location ,I want to display Asset Location Key Flexfield so that user can choose the respective segements and search the assets.
    Can any one please tell me what is the procedure to be followed to display Key Flex Fields in the custom forms?
    Your inputs will be of great help to me.
    Thanks in advance.
    Best Regards,
    Arun Reddy.

    Hi,
    Please see the note:730068.1 - How To Invoke a DFF from a custom form
    Thanks,
    Ajikumar G

  • Use the description of an UDF in a query

    Hi all,
    I have create a UDF and I haven´t linked a User table to it. I have insert some values for it.
    I´m trying to do a query where appears the descriptions of these values, but I can only show in the query the value. Is it possible to show the values and the descriptions or not?

    The UDF Name can be referenced by JOINING the CUFD table which stores the User Fields.
    Use this SQL to see the data  SELECT T0.TABLEID, T0.ALIASID, T0.DESCR FROM [DBO].[CUFD] T0
    Suda

  • How can we add Text field on system form which is updateable?

    Hi Experts
    I Want to create text field on System Form like A/R Invoice, in which I can store value after saving the document. I means Updateable field. Is it possible and How?
    Thanks
    Regards
    Gorge

    Hi Gorge,
    Please follow Jeyakanthan instructions. You may know how to create a UDF but you clealy don't understant how they work.
    A UDF in the System document's Title table is always updatable, unless you define it otherwise or do not have permission to update it (Open the form where you created the UDFs and press CTRL + ALT + B to open the definitions form).
    A UDF in the System document's Rows table is always updatable ONLY if that document's rows are updatable AND if you set them as updatable (via Form Settings) and have permission.
    On a User Form, you make your own rules!
    Regards,
    Vítor Vieira

  • How to display "Metadata Only" field in Update Form

    Hi,
    I have added the below configuration in Config.cfg file to make Primary File non mandatory,
    AllowPrimaryMetaFile=true
    suppressAlternateFile=true
    createPrimaryMetaFile=true
    After restarting the server it displayed "Metadata only" fileld upon selecting Primary File became non mandatory, but while updating the Content this field is not getting displayed, rather it is displaying Original File field and Primary File became mandatory.
    Could you please let me know how to make Primary File non mandatory (otherwise displaying "Metadata only") in Update form. Appreciate your help on this. Thank you.
    Thanks,
    Ashok

    Hi Srinath,
    Thank you for responding, here we need to make Primary File non mandatory by displaying "Metadata only" field. we achieved this in Check In form, we need the same in Update Form.
    From the Kyle blog, he specified that option to completely hide Primary File but our requirement is making non mandatory by introducing metadata only field.
    Thanks,
    Ashok

  • How to expand multi-line fields in pdf forms?

    I have a FormsCentral PDF form, which allows users to fill out the form and save as a PDF. However, after receiving the completed forms, I am unable to see all the text in the multi-line field boxes without opening them and scrolling down. Since I will be sharing several of these competed forms with a review panel, I would like to:
    1) Display the entire content of the multi-line field boxes rather than having the reader scroll down, then
    2)  Save the completed forms so that its read-only when I send it to the review panel
    I am not collecting responses via FormsCentral. I am just receiving the PDF via email.
    Can someone please help me?
    Thank you!

    You can use a script to change the font size to Auto, which will cause all of the text to display, assuming it can be even at a font size of 4. For example, the following code can be executed in the interactive JavaScript console (Ctrl+J):
    // Set the font size to Auto for a text field named "Text1"
    getField("Text1").textSize = 0;
    A script that will change this for all multline fields in the form is:
    // Set the font size for all multiline fields to Auto
    for (var i = 0; i < numFields; i++) {
        var fName = getNthFieldName(i);
        var f = getField(fName);
        if (f.type === "text" && f.multiline && f.textSize !== 0) {
            f.textSize = 0;
    This script could be included in an Action if you want to do this for a collection of forms.

  • How do I reset all field on a form? Do I have to go line by line?

    I would like to keep a master version of a fillable form in my Adobe app, but every time I fill it out and export to another application (i.e. Google Drive, Box, DropBox) it saves the filled in version and I have to go line by line to erase the data and create a new form.  Is there a faster way to clear all form fields after exporting the document?

    Unfortunately, yes, that's what you have to do. That is a long-standing feature request.

Maybe you are looking for