Selection field filtering issue..

Hi Friends,
My req is to filter the data based on app id with company code, date and pay run id.
Here the the app id is from global constant table, there is no key field, but we fetch the same app id in the smartform to print using the below query, i don't know how to use this query for selection screen with filtering condition.
      SELECT SINGLE high FROM zglobconstants INTO v_app_name
                 WHERE programname = 'ZFI_OK_FILEVALUE'
                 AND  low = v_file_name.
VJ.

Vikram,
thanks for your response.
In the selection screen i want to add the app id with proper filtering.
But the app id field is avail in the global constant custom table.  this one was populated in the form related to this program. this one was achived thru the above code.
Now i want to add the same in the selection screen. User want to get the op based on the company code and app id.
Once again Thanks for your help. If u wnat more details pls ping me.
Vijay.

Similar Messages

  • 0PU_IS_PS_31 add selection field - possible?

    Hello all
    I have enhanced my extractor 0PU_IS_PS_31 (Funds Management) with a field and have activated the flag "Selection" for it in the data source maintenance. When I now restrict this field to a certain value in my infopackage it does not work. Means, the data is not restricted to my value  for this field. I always receive all records.
    I have checked the FM "FM_BW_ACTUAL_OI_LINE_ITEMS_IS" behind the extractor and it seems that the possible fields for "selection" are hard coded.
    Is there any possibility to get this working?
    Thanks for your help in advance!
    Regards,
    Bernd
    Some additional infos about the Extractor:
    Name: 0PU_IS_PS_31
    Type: TRAN
    Delta: AIMD
    Exmethod: F1
    Extractor: FM_BW_ACTUAL_OI_LINE_ITEMS_IS
    Extractstructure: IFMBWACTOPIT_ISPS

    Hello Prashanth and Raman
    the field is populated correctly using RSA3. This is working. But when I set a filter for the field its not filtered. Below you find the code of FILL_RANGES procedure. As you can see, the selection fields seems to be hard coded. Do you see any possibility to enable filtering (DS copy, but is it possible with delta type AIMD?)?
    Thanks for your help guys!!
    Regards,
    Bernd
    *&      Form  FILL_RANGES_CALI
    *& Fill selection criteria of commitment actual line items into ranges
    FORM fill_ranges_cali TABLES u_t_select TYPE sbiwa_t_select.
    *  "/ these fields don't exist in database tables
      RANGES: l_r_actdetl FOR ifmbwact_isps-actdetl.
      LOOP AT u_t_select.
    *     "/ fill selection criteria to ranges
        CASE u_t_select-fieldnm.
          WHEN 'FIKRS' OR 'RFIKRS' OR 'FM_AREA'.
            MOVE-CORRESPONDING u_t_select TO g_r_fikrs.
            APPEND g_r_fikrs.
          WHEN 'FISCPER'.
            MOVE-CORRESPONDING u_t_select TO g_r_fiscper.
            APPEND g_r_fiscper.
            g_r_gjahr-sign   = u_t_select-sign.
            g_r_gjahr-option = u_t_select-option.
            g_r_gjahr-low    = u_t_select-low(4).
            g_r_gjahr-high   = u_t_select-high(4).
            COLLECT g_r_gjahr.
            g_r_perio-sign   = u_t_select-sign.
            g_r_perio-option = u_t_select-option.
            g_r_perio-low    = u_t_select-low+4(3).
            g_r_perio-high   = u_t_select-high+4(3).
            COLLECT g_r_perio.
          WHEN 'FISCYEAR'.
            MOVE-CORRESPONDING u_t_select TO g_r_gjahr.
            APPEND g_r_gjahr.
          WHEN 'FONDS' OR 'RFONDS'.
            MOVE-CORRESPONDING u_t_select TO g_r_fonds.
            APPEND g_r_fonds.
          WHEN 'FISTL' OR 'RFISTL'.
            MOVE-CORRESPONDING u_t_select TO g_r_fistl.
            APPEND g_r_fistl.
          WHEN 'FIPEX' OR 'RFIPEX'.
            MOVE-CORRESPONDING u_t_select TO g_r_fipex.
            APPEND g_r_fipex.
          WHEN 'FAREA' OR 'RFAREA'.
            MOVE-CORRESPONDING u_t_select TO g_r_farea.
            APPEND g_r_farea.
          WHEN 'ACTDETL'.
            MOVE-CORRESPONDING u_t_select TO l_r_actdetl.
            APPEND l_r_actdetl.
          WHEN 'ZHLDT'.
            MOVE-CORRESPONDING u_t_select TO g_r_zhldt.
            APPEND g_r_zhldt.
    * Note 993252
          WHEN 'MEASURE'.
            MOVE-CORRESPONDING u_t_select TO l_r_actdetl.
            APPEND l_r_actdetl.
          WHEN 'GRANT_NBR'.
            MOVE-CORRESPONDING u_t_select TO g_r_zhldt.
            APPEND g_r_zhldt.
        ENDCASE.
      ENDLOOP.
    *  "/ fill WRTTP range from ACTDETL (for commitments and actual)
      IF NOT l_r_actdetl[] IS INITIAL.
        PERFORM fill_r_rwrttp TABLES l_r_actdetl
                                     g_r_rwrttp.
      ENDIF.
    ENDFORM.                    " FILL_RANGES_CALI

  • Lockbox User Exit Selection Fields and Matching Open Items in CustomerAccts

    Dear SAP Gurus,
                       I have an issue with lockbox process. The problem is selecting the customer open item for clearing. Our Client uses standard SAP USER EXIT (FEBLB001).
               Our billing document number does not equal to the financial accounting document number all the time. We store our billing document number in the Assignment field some times, and so this is the number the customer will reference when remitting payment. I have not been able to find a way to make the SAP system to use the customer's reference number (e.g. Assignment field) to clear the open item.
    I m not sure how to resolve this issue. As far as my knowledge, we have to add selection field ZUONR to USER EXIT apart from XBLNR, BELNR. Please help me with this problem by providing me some basic knowledge. I would greatly appreciate for help.
    Thanks

    Please Anybody,
    I m waiting for anybody to give their expertize.
    Thanks

  • Select field

    Hi All,
    I am having trouble in dealing with 3 select fields simultaneously .
    I have three select fields say A,B,C. Based on the selection in select field 'A' a corresponding new list will appear in select field 'B' and then based on seletion in select field 'B' a new list will appear in select field 'C'.
    for the first time the sequence is working fine, but for the second time if I am changing the selection in select field 'A', I am getting a warning message as,
    Selected value for field 'B' does not match any of the matched values
    I am displaying values through 'allowedValues' property name. For every new selection it is not displaying the new list, it is trying to append with the old list and getting the warning message.
    Is there a way to resolve this issue.
    Please give some ideas.
    Thanks in advance.

    Hi,
    Thanks for the reply.
    The code I am using,
    <Field>
    <Display class='EditForm'/>
    <Field name='location'>
    <Display class='Select' action='true'>
    <Property name='title' value='Location'/>
    <Property name='allowedValues'>
    <rule name='GetLocations'/>
    </Property>
    <Property name='nullLabel' value='--Select--'/>
    </Display>
    </Field>
    <Field name='Server'>
    <Display class='Select' action='true'>
    <Property name='nullLabel' value='--Select--'/>
    <Property name='title' value='Server Name'/>
    <Property name='allowedValues'>
    <block trace='true'>
    <rule name='getServerName'>
    <argument name='location' value='$(location)'/>
    </rule>
    </block>
    </Property>
    </Display>
    </Field>
    <Field name='Share'>
    <Display class='Select'>
    <Property name='title' value='Share Path'/>
    <Property name='nullLabel' value='--Select--'/>
    <Property name='allowedValues'>
    <block trace='true'>
    <cond>
    <eq>
    <ref>Server</ref>
    <s>XYZ</s>
    </eq>
    <rule name='SharePaths1'/>
    <rule name='SharePaths2'/>
    </cond>
    </block>
    </Property>
    </Display>
    </Field>
    </Field>
    I will try your recommendations.
    Thanks

  • Selection screen regeneration issue in Module pool

    Hi experts,
    I have designed a module pool in which i have included a selection screen as sub screen , and for the scenario i need to give custom f4 help for the selection  field for that i have included logic ,My issue is when ever i am changing other code in the programs (other screen logic) the selection screen  is reverting back to normal ...again i have to do the flow logic and screen change of selection screen.
    Suggest me how i can avoid this .
    Regards,
    Siva Prasad.

    and for the scenario i need to give custom f4 help for the selection  field for that i have included logic
    was the error, use some AT SELECTION-SCREEN ON VALUE-REQUEST FOR {para|selcrit-low|selcrit-high} or PARAMETERS/SELECT-OPTIONS MATCHCODE OBJECT search_help  statement, and your problem will vanish... (Edition of a generated object is hardly ever a good idea and never good practice)
    Regards,
    Raymond

  • PROJ-ERDAT does not exist as selection field

    Hi,
    Created on is not part of the field selection for Project Systems reports. The field ERDAT does not exist in structure PROJR therefor running program RCNCT000 to generate the selection fields does not add the field to the selection.
    How do I add the field to the selection fields?
    Thanks

    Hi,
    this must be translation issue.
    Create break point at SSFRT_WRITE_ERROR function module and perform print preview
    - here You can find all errors, warnings - if You check call stack, You will find which node causes error.
    Regards,
    Przemysław

  • Return Code 0XFFAB411C received when setting selected field for timestamp

    I have a time stamp field that I want to change the selected fields (the fields that determine whether the time stamp gets updated)
    When I select ALL fields and save I get the return code of 0xFFAB411C.
    I have ran verify repair on repository, no change
    I have archived and unarchived, no change
    I have deleted the field and recreated it with the same result.
    When I create the field it defaults with selected fields "ALL" I need to add all the fields and remove 2-3 fields but I get the error message.
    I have added fields one by one until I get the error message, then try it with just the last field but I do not get the error.
    Any ideas?

    FYI this is the response from SAP regarding this issue.
    Please refer to SAP Note 1283688 which documents the limitation while
    using time stamp fields.
    As this is a Database limitation and currently can't be removed, please
    consider the following options :
    1) Since most of the fields are to be included, leave selected fields
    with [All]
    2) Split the table fields to 2 (or more) groups and add a Time stamp
    field to each group
    3) Lower the number of fields that should be tracked by the Time stamp
    field
    If both solutions are still not valid to use by the business, please
    refer to SAP Note 1156293 on how to file an enhancement request.

  • SPGridView - filtering issues

    I have columns with null values, but in filter option I do not have the option (Empty) as standard in SharePoint Environment is.
     protected void Page_Load(object sender, EventArgs e)
                FillGrid();
            private void FillGrid()
                GridViewTest.DataBind();
            public DataTable GetDataTable()
                using (SPWeb sw = SPContext.Current.Web)
                    SPList sl = sw.Lists["CRTracking"];
                    DataTable ResTable = new DataTable();
                    ResTable.Columns.Add(new DataColumn("AppType"));
                    ResTable.Columns.Add(new DataColumn("CR no."));
                    foreach (SPListItem item in sl.Items)
                        DataRow dr = ResTable.NewRow();
                        dr["AppType"] = item["AppType"];
                        dr["CR no."] = item["CR no."];
                        ResTable.Rows.Add(dr);
                    return ResTable;
            static ObjectDataSource odsDataSource = new ObjectDataSource();
            protected void Page_Init(object sender, EventArgs e)
                odsDataSource.ID = "odsDataSource";
                odsDataSource.SelectMethod = "GetDataTable";
                odsDataSource.TypeName = this.GetType().AssemblyQualifiedName;
                odsDataSource.ObjectCreating += new ObjectDataSourceObjectEventHandler(odsDataSource_ObjectCreating);
                odsDataSource.ObjectDisposing += new ObjectDataSourceDisposingEventHandler(odsDataSource_ObjectDisposing);
                //odsDataSource.Filtering += new ObjectDataSourceFilteringEventHandler(GridViewTest_Filtering);
                this.Controls.Add(odsDataSource);
                GridViewTest.PagerTemplate = null;
                GridViewTest.AllowFiltering = true;
                GridViewTest.FilterDataFields = ",AppType,CR no.";
                GridViewTest.FilteredDataSourcePropertyName = "FilterExpression";
                GridViewTest.FilteredDataSourcePropertyFormat = "{1} = '{0}'";
            private void odsDataSource_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
                e.ObjectInstance = this;
            protected void odsDataSource_ObjectDisposing(object sender, ObjectDataSourceDisposingEventArgs e)
                e.Cancel = true;
            protected void GridViewTest_RowDataBound(object sender, GridViewRowEventArgs e)
                if (sender == null || e.Row.RowType != DataControlRowType.Header)
                    return;
                if (e.Row.RowType == DataControlRowType.Header)
                    SPGridView grid = sender as SPGridView;
                    if (String.IsNullOrEmpty(grid.FilterFieldName))
                        return;
                    // Show icon on filtered column
                    for (int i = 0; i < grid.Columns.Count; i++)
                        DataControlField field = grid.Columns[i];
                        if (field.SortExpression == grid.FilterFieldName)
                            Image filterIcon = new Image();
                            filterIcon.ImageUrl = "/_layouts/images/filter.gif";
                            filterIcon.Style[HtmlTextWriterStyle.MarginLeft] = "2px";
                            // If we simply add the image to the header cell it will
                            // be placed in front of the title, which is not how it
                            // looks in standard SharePoint. We fix this by the code
                            // below.
                            Literal headerText = new Literal();
                            headerText.Text = field.HeaderText;
                            PlaceHolder panel = new PlaceHolder();
                            panel.Controls.Add(headerText);
                            panel.Controls.Add(filterIcon);
                            e.Row.Cells[i].Controls.Add(panel);
                            break;
            protected void GridViewTest_Sorting(object sender, GridViewSortEventArgs e)
                if (ViewState["FilterExpression"] != null)
                    odsDataSource.FilterExpression = (string)ViewState["FilterExpression"];
                if (ViewState["SortDirection"] != null && ViewState["SortExpression"] != null)
                    // We have an active sorting, so this need to be preserved
                    odsDataSource.SortParameterName = ViewState["SortExpression"].ToString();
                    //+ " " + ViewState["SortDirection"].ToString();
            protected void GridViewTest_PageIndexChanging(object sender, GridViewPageEventArgs e)
                GridViewTest.PageIndex = e.NewPageIndex;
                GridViewTest.DataBind();
            protected sealed override void LoadViewState(object savedState)
                base.LoadViewState(savedState);
                if (Context.Request.Form["__EVENTARGUMENT"] != null &&
                Context.Request.Form["__EVENTARGUMENT"].EndsWith("__ClearFilter__"))
                    // Clear FilterExpression
                    ViewState["FilterExpression"] = null;
                    ViewState.Clear();
                    //ViewState.Remove("FilterExpression");
    }

    Believe you want to filter the NULL values in the grid.if so, refer to the following post, hope it helps
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/23f6367e-17f1-4128-a2cd-bf946dc31414/spgridview-filtering-issues?forum=sharepointdevelopmentprevious
    --Cheers

  • Ebiz 12.0.4 Mouse stops selecting fields in Forms

    We have a real obscure issue, Oracle and our ASP is unable to help us. After upgrading from 11.5.9 to 12.0.4, we noticed the following issue.
    After some time when a user is in EBIZ (most of the time happens in Support or OM responsibility) the form will stop taking clicks from the mouse, and you have to use your TAB key to navigate between fields. Clearing Java cache and IE cache doesn't seem to help.
    Our ASP has done all the usual thigns, recompiled forms, check invalids, we upgraded clients to JRE 1.5.0.16, but no luck.
    At one point, we thoguht that other Java enabled applications were interfering, so I set some key users up with their own Windows XP virtual machine. The virtual machine works for some time without issues, but then the issue starts again.
    If users restart their machine, they can use it again for a few days and then it happens again.
    Some users said it stopped happening, but then after a few weeks it happens again.
    We noticed this also in the Concurrent Program submission application, and various users noticed it in Finance, OM, Service, etc.
    Is there anything anyone can suggest from this list? Feel free to email me directly if you like. My email address is [email protected]

    Thanks Hussein, our ASP came back with those same articles, however the issue as we explained it is not a focus issue, it is mouse disconnect issue, i.e. it is like you unplug your mouse from the computer and try to use it to select fields. Only the TAB buton works to move around fields.
    We have been through all the notes on Metalink and patches for Forms and JRE Upgrades and the issues still exist.
    Is there any other way of troubleshooting this by way of logs and tracing to determine what is happening?

  • Program without selection fields

    Hi ,
    If there is a program with no selection fields what are the limitations and issue concerning to that program and executing the program?
    Regards,
    Keerthi

    Hi,
    Thanks for the reply,
    But I would like to put the question in another way,
    Is there any program where it does not have anything like the screen but just run in the background. If the program has a screen created then it should have something to select for like the Radio button options, the check box options or the open selection fields. I hope you are with me till this point.
    Now, does any program can be created just to be run in the background where it is triggered by another program(s), and the program does processing only when it is being triggered by other programs.
    Regards,
    Keerthi
    Edited by: Keerthi Kumar Stephen on Mar 9, 2009 9:42 AM
    Edited by: Keerthi Kumar Stephen on Mar 9, 2009 9:43 AM

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • Is it possible to display only dynamically selected fields in the out put?

    Is it possible to display only dynamically selected fields in the out put? i need to display set of columns in the selection criteria, but in the output i have display only input given fields. because i need to convert it into .csv file. So i have to display selected fields from internal table. In oracle they are using"execute immediate". is there any equivalent in SAP?
    thanks in advance.

    Hi Remya,
    Are you talking about dynamic programming in ABAP ?
    If yes, there are concepts like RTTS which facilitates it.
    Yes, the select query also supports dynamic selection of fields. ( Please care about ( ) in dynamic sql ).
    Do more research on Field Symbols and statements like ASSIGN COMPONENT OF.
    Regards,
    Philip.

  • How can I enforce automatic spell checking for selected fields of data entered by form users?

    I'd like to be able to enforce spell checking of selected fields in the forms that I've created using LiveCycle Designer 8.2 at run time, as opposed to design time.  I understand the version LCD 8 has a nifty new spell checker for form designers.  But I want to spell check the data entered by users using Acrobat Reader.  And I want to enforce the spell checking automatically on selected fields only.
    Presently it seems that users filling in my forms, must know how to manually right-click on each field and select "Spell Check" from the resulting dialog box in order to check for spelling errors in the data the user has entered in the form.
    I would like to discover a way to enforce spell checking in selected fields, just as I am able to do in forms created using Acrobat Pro.  In Acrobat Pro, I can set a property for each field to require spell checking.  but that feature seems to be missing in Livecycle Designer.
    I've check the Object model for XFA forms hoping that I might find a method I can call with a Javascript, to check spelling based on an event such as onBlur.  But I haven't found a spell check method.
    Am I missing something simple?  Is there a way to set each field to be spell checked when a user is filling in the form using the free Acrobat Reader?
    Our users are not sophisticated and requiring them to spell check each field separately just won't cut it...
    Any help on this will be greatly appreciated.
    Thanks!
    -David Bartholomew

    Hi David,
    Two things...
    At design time set the locale of the form to one that Acrobat spell checks. For example English (US) and English (UK) locales have spell checkers; however English (Ireland) does not. Check the Warnings tab to see if spell checking is supported for your locale.
    If your form locale supports spell checking then you can go to the button script below.
    If you form locale does NOT support spell checking then Stephanie has a great work around to force spell checking (http://forums.adobe.com/message/2233945#2233945).
    Bring a regular button onto the form and in the click event have the following:
    app.execMenuItem("Spelling:Check Spelling");
    Which will open the spell checker for all fields.  Thanks to Paul for extracting all of the accessible menu items (http://forums.adobe.com/message/1912914#1912914).
    Good luck,
    Niall

  • Problem with selection fields in SAP Quick Viewer

    Hi Friends
    I am using SQVI t-code to develop the SAP queries. I have developed a query using tables KNA1, VBAK and VBAP. Initially I used customer number, customer name, city, document creation data, document type and document number as selection fields. Now I have removed customer name, city, document creation data, document type from selection fields.  I am executing this query through a Function module "RSAQ_REMOTE_QUERY_CALL". While passing the data to selection table, even after deleting the 4 selection fields, still I have to pass the sales document number positioning as 6. Is there any way to solve this and make its position as 2.
    I have gone through the FM "RSAQ_IMPORT_QUERY", there one table parameter O_DBSE will retrieve the values for selection fields are designed for that query, again its tedious process, I have create a customized function module and make the required changes. Instead of using this FM, is there any table which stores the data of the selection fields of a query. I have tried for the table and I failed to find that.
    Please help me in this regards
    Regards
    Praveen

    Hello, I am trying to create LSMW to upload KP06 also, we have been uploading by copying and pasting once we run the iverview layout and then save. The problem is that we can only do this by G/L account. We want to use one file to upload all. Can you give me some tips how you were able to accomplished. I am familiar with LSMW, but tcode KP06 behaves in different ways. Do you use the flexible upload to load the fiel thru LSMW? Can you tell me which fields you touch in KP06 when you were recording?
    Thanks You,

Maybe you are looking for