Using chars entered in field in FMS invoked on the field

Hi
I have an FMS linked to a field. Basically, works perfect.
I now want to be able to enter some chars before invoking the FMS (Shift+F2) and using the entered chars to narrow down the results (.. WHERE ... 'chars').
Can somebody help me on getting this together?
How can I use the chars in the field in the FMS?
Thanks
Franz

Query:
SELECT T1.DocNum AS 'PA-Nummer', T1.ItemCode AS 'Artikelnummer', T1.U_SIA_Rev AS 'Revision', T0.ItemName AS 'Artikelbeschreibung', T1.PlannedQty AS 'Planmenge', T1.CmpltQty AS 'Fertigmenge' FROM  [dbo].[OITM] T0 ,  [dbo].[OWOR] T1  WHERE T0.ItemCode = T1.ItemCode  AND  T1.Status <> N'L'
This query is linked as FMS (Shift+F2) to the field DocNum in the production order. Basically works and I get a list of the open orders only from which i can chose to open.
I now want to enter part of the ItemCode (AVB for instance) before invoking the FMS with Shift+F2 and the query should be added by something like:
AND T1.ItemCode = +AVB+
I just don't know I get the string entered into the query.
Franz

Similar Messages

  • Entry in field Funds Center required; check the field control Mg No.FMEF010

    Hi,
    We have a Z tcode for converting planned order to purchase requisition.
    We use Account assignment P - Project and A - Asset.
    We have WBS element and fund center linked to it.
    For the Z tcode while converting Planned order to purchase requisition we are getting below error
    Error: Entry in field Funds Center required; check the field control Msg No.FMEF010
    While creating manually purchase requisition with same GL code and WBS element the fund center gets automatically picked.
    Can anyone pls let me know in which table we can find the link between WBS element and fund center so that we can code the same in our program. In PRPS table we can find the link between WBS and profit center.
    Or is there any user exit that can be used.
    Thanks in advance.
    Regards,
    Radha

    Hello
    If you do a F1 in the value date field it will give you the answer - The value date is used in bank accounts and bank sub-accounts.
    As regards the other query check whether the tax code has been already created.
    Hope it helps.
    Rgds

  • How to put an asterisk in the field label rather than on the field in Infopath

    For a mandatory field in Infopath, we know that the red asterisk shows up always on the control. Is there a way we can make it appear on the label instead. 
    In the figure below, can we have the red asterisk on the label where ? symbol is present ?

    Hi Prajk,
    From your description, my understanding is that you want to put an asterisk in the field label rather than on the field in Infopath.
    By default, the asterisk is on the field, not the field label. If you want to put an asterisk in the field label, per my knowledge, you need to develop the column to do it.
    For developing InfoPath controls, I suggest you create a new thread on Visual Studio Tools for Office forum, more experts will assist you with Office development.
    VSTO:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsto
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Preserving a field's value on changing the field access parameter?

    I have a form that has a number of fields that are set to "protected" and have calculation scripts on them. If the user selects a specific radio button option elsewhere, the form sets the .access parameter to "open" and disables the calculation so that the user can enter whatever they want into those fields. The problem arises when the user imports XML data via Acrobat. The radio button choice is made (since it is bound to an element in the schema), but when the form changes the access parameter of the fields to "open", it fires the calculate event on the fields and we lose the value assigned to those fields from the imported XML.
    Is there any way to preserve the fields value when it changes from "protected" to "open"? Here is an example PDF w/ XSD.
    The more I dig into this the more I think this might be an issue with calculate.override not disabling the calculations on a field, even when it is set to "open" - at least until the user manually edits that field.

    Ok, worked out a solution. It's specific to my application, but maybe someone else will get something out of it. What I did is moved the calculation script from the field I am changing the access parameter of (call it "Field A") to the fields that feed into that field (call them "Field B" and "Field C"). Now, when the user triggers the exit events on B and C, each one fires a script that updates the value of A. For my application, this works only because B and C are hidden from the use if they toggle the radio button allowing them to manually enter A.
    Basically, instead of A pulling values from B and C to calculate it's value, B and C check each other and push values to A.

  • Field output trancated regardless of the field length assigned

    i have assigned 1000 characters to the output field in the output structure. Now in the report output, the field only displays upto 128 characters, it doesnt go beyond that. what could be the cause of this. Even when i put it on debug mode, this field is reading data by concatenating diffrent fields, but the concatenation goes only up to 128 characters, after that it does not concatenate further.

    hi,
    this is how my code reads:
    data: t_descript like tline-tdline occurs 0,
          wa_descript like tline-tdline.
    data: begin of itab occurs 0.
            include structure zhap_s_alv_reporting_pms_rej.
    data: end of itab.
    -------zhap_s_alv_reporting_pms_rej - notes = 1000 char
    loop at t_descript into wa_descript.
            if use_flag = 'X'.
              if not wa_descript is initial.
                concatenate itab-notes wa_descript
                                           into itab-notes separated by space.
              endif.
            endif.
            if wa_descript = 'Below are the comments'.
              use_flag = 'X'.
            endif.
          endloop.
    t_descript returns 6 lines of (67, 71, 33, 74, 76, 37 characters)
    Edited by: Lorato Ludo Kenosi on Mar 14, 2011 12:17 PM
    Edited by: Lorato Ludo Kenosi on Mar 14, 2011 12:20 PM

  • On a Mac, how do I setup Firefox to use Command+Enter to open a new tab from the address bar?

    I tried this extension (https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/) , but it doesn't appear to support editing the current "Alt+Enter" to change to "Command+Enter".
    I have a decade plus of muscle memory using the key next to the space bar + enter to open a new tab. Please help!

    There is an older extension named keyconfig (last updated in 2011) which might be able to do it. I haven't used it for quite a while so I'm not sure how well it works any more.
    http://forums.mozillazine.org/viewtopic.php?f=48&t=72994 (link in first post)

  • On a Mac, how do I setup Firefox to use Command+Enter to open a new tab from the address bar? Safari and Chrome do this by default.

    I tried this extension (https://addons.mozilla.org/en-US/firefox/addon/customizable-shortcuts/), but it doesn't appear to support editing the current "Alt+Enter" to change to "Meta+Enter" where Meta = Command on a Mac.
    I want to switch to Firefox, but this is the one and only thing preventing me from doing so! I have a decade plus of muscle memory using the key next to the space bar + enter to open a new tab. Please help!

    There is an older extension named keyconfig (last updated in 2011) which might be able to do it. I haven't used it for quite a while so I'm not sure how well it works any more.
    http://forums.mozillazine.org/viewtopic.php?f=48&t=72994 (link in first post)

  • Have a form trying to edit.  Has a bunch of check boxes but also text fields.  I can move the fields and make them larger but I can't edit or move the text above the fields.  Like it says "Enter comments Below" and then there is a text field for them to e

    It looks like this:
    A. What can be done to improve performance?
    B.  What can be done by assessor to help performance?
    C. Comments?
    Issue is the text field below these items is not big enough.  When I make it bigger, like in "A" it gets bigger but then overlaps the text in "B" and I can't move the text.  Someone else created this form and I have no idea what A, B and C are but they are not Text Fields.  They are just static text of some sort and I can't do anything with it.

    Hi,
    Try making the subform that contains your fields flowed, this will allow them to not overlap, but you will probably have to add some margins (or some 'spacer' subforms) to get the appearance you had.
    Regards
    Bruce

  • Abap Code to Repeat the field (3nos) Values for all the fields

    Hi Friends I have a Requirement to merge the Data for One of my BI - BCS model.
    I have fields in one table(/BIC/AZDBBCP_040) <b>business Num , PRCTR, REGION  and RELOCAT</b>  and Field ZAUD_TYP and Audit Year Zyear also in same table.
    But I want to reapeat this information Highlighted in Bold for all the Zaudtyp and ZYEAR. Please help me with the Code
    <b>Problem as below</b>
            BUSNUM  PRCTR  REGION  RELOCAT   ZAUD_TYP  ZYEAR
              101     22    ALAN      MN           
              101                                                                                GT(ZAUD_TYP)        1999(ZYEAR)
    101                                      BTE         2001
    102          25          CA        SFO          
               102                           LTE         2008
    Please help me with any Code to fix the problem so that the data repeat for PRCTR  REGION  RELOCAT  where Bus Num is same.
    Kindly Get me any ABAB Code . Will really be thankful to you
    Regards
    Soniya Kapoor
    soniya kapoor
    Message was edited by:
            soniya kapoor

    Hi Soniya,
    You can use one of the following:
    IF SOURCE_FIELDS-DATETO =  ' '.
    RESULT = '20990101'.
    ENDIF.
    or
    IF SOURCE_FIELDS-DATETO IS INITIAL.
    RESULT = '20990101'.
    ENDIF.
    or
    IF SOURCE_FIELDS-DATETO = '00000000'.
    " THERE WAS A SPACE IN YOUR CODE.
    RESULT = '20990101'.
    ENDIF.
    Regards,
    Satya

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • ALV report using the field catalog

    which is the quickest way to generate an ALV report using the field catalog merge.  without needing to build the field catalog manually .
    is it easier to create a structure and passe it in the field catalog merge .  if yes can i have an example plzzzz

    hI
    Supports the creation of the field catalog for the ALV function modules
    based either on a structure or table defined in the ABAP Data
    Dictionary, or a program-internal table.
    The program-internal table must either be in a TOP Include or its
    Include must be specified explicitly in the interface.
    The variant based on a program-internal table should only be used for
    rapid prototyping since the following restrictions apply:
    o Performance is affected since the code of the table definition must
    always be read and interpreted at runtime.
    o Dictionary references are only considered if the keywords LIKE or
    INCLUDE STRUCTURE (not TYPE) are used.
    If the field catalog contains more than 90 fields, the first 90 fields
    are output in the list by default whereas the remaining fields are only
    available in the field selection.
    If the field catalog is passed with values, they are merged with the
    'automatically' found information.
    Below is an example ABAP program which will populate a simple internal table(it_ekpo) with data and
    display it using the basic ALV grid functionality(including column total). The example details the main
    sections of coding required to implement the ALV grid functionality:
                             Data declaration
                             Data retrieval
                             Build fieldcatalog
                             Build layout setup
    *& Report  ZDEMO_ALVGRID                                               *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic requirement for this demo is to display a number of       *
    *& fields from the EKKO table.                                         *
    REPORT  zdemo_alvgrid                 .
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
    *       Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    * There are a number of ways to create a fieldcat.
    * For the purpose of this example i will build the fieldcatalog manualy
    * by populating the internal table fields individually and then
    * appending the rows. This method can be the most time consuming but can
    * also allow you  more control of the final product.
    * Beware though, you need to ensure that all fields required are
    * populated. When using some of functionality available via ALV, such as
    * total. You may need to provide more information than if you were
    * simply displaying the result
    *               I.e. Field type may be required in-order for
    *                    the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    *  fieldcatalog-do_sum      = 'X'.
    *  fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-do_sum      = 'X'.        "Display column total
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    *       Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    *  gd_layout-totals_only        = 'X'.
    *  gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
    *                                         "click(press f2)
    *  gd_layout-zebra             = 'X'.
    *  gd_layout-group_change_edit = 'X'.
    *  gd_layout-header_text       = 'helllllo'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
    *       Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
    *            i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
    *            i_callback_user_command = 'USER_COMMAND'
    *            i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
    *            it_special_groups       = gd_tabgroup
    *            IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
    *            is_variant              = z_template
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
      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.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
    *       Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
      from ekpo
      into table it_ekko.
    endform.                    " DATA_RETRIEVAL

  • Using the Field Browser to update fields in Word.

    BIP: 11.1.1.5.0
    Word: 2007
    I have a large RTF template I'm editing in Word, where in I'm duplicating a block with about 120 fields in it. I've copy and pasted the block and now need to update each field to point at a new rowset. For example:
    <xsl:value-of select="//ROWSET9_ROW[CATALOG='Product']/FIELD_NAME" />
    Becomes
    <xsl:value-of select="//ROWSET30_ROW[CATALOG='Product']/FIELD_NAME" />
    Given at takes about 10 seconds for the "BI Publisher Properties" dialogue to open each time I double-click a field, I hoped to use the Field Browser to speed up this process. I read the documentation and find that if I select a section of my template and then open the Field Browser, it will open containing a list of only those fields so selected, I can then edit a field and save the edit by clicking the "Update" button. However, when you click the "Update" button the list of fields in the Field Browser is refreshed to include every field in the report! Is there a way to prevent this behaviour? Is there a fast way to perform this kind of mass update that I'm missing?

    those 2 are the only ways to modify the code as far as i know.
    yes i have read what u have written and if use field update method soon u update one field it will show all the fields in in the field browser .
    that why if u want to update it without error u can double click on code in field browser and it will open the form field in the template automatically.
    else copy your code to a new word document and update your code their using update method in field browser and paste the code in your orginal once the update for the code is done.

  • I would like to use the fields BRAND_ID, PLGTP & ETIAG in a non-retail setting.

    I would like to use the fields BRAND_ID, PLGTP & ETIAG in a non-retail setting.  We have a need for BRAND and PLGTP  (and temporarily using ETIAG for managing some material groupings) and since the fields exist in MARA, I would like to use them without switching on Retail (Finance wants to use Material Determination so Retail can not be switched on).  I have created a subscreen for Material Master with these fields and the values correctly update into MARA plus I am also able to use them for pricing without problems (with appropriate extension of KOMP, etc).   My question is whether or not these fields might cause issues somewhere I am not expecting

    I think I will do this.  I will use my apple ID and set face time and message to work independently.  That solves one problrem.  My other problem and maybe my bigger problem is that if I am using my apple ID, how do I iflter all of this so that my kids don't see my contacts, get my apps, etc. ?

  • Error message disble the Fields in Selection Screen

    Hi,
    In my Report i am validating some fields as mandatory.
    If the field is initial then one Error message should be display in the screen and user has to modify the selection screen.
    But after displaying the errro message my selection screen is input disable except the mandatory field.
    I want all the fields should be input enable.
    Sample code for Error message,
    MESSAGE E018 WITH 'Enter Plant'.
    Please provide the code for this.

    Performing checks on SELECTION-SCREEN
    - if the check uses only one independent field (e.g.: value exist in a table) use a[ AT SELECTION-SCREEN ON <field>|http://help.sap.com/abapdocu/en/ABAPAT_SELECTION-SCREEN_EVENTS.htm#!ABAP_ALTERNATIVE_2@2@], the field will be editable when error is raised
    - if the check uses some fields, group them using [SELECTION-SCREEN BEGIN OF BLOCK <block>/END OF BLOCK <block>|http://help.sap.com/abapdocu/en/ABAPSELECTION-SCREEN_BLOCK.htm] and then [AT SELECTION-SCREEN ON BLOCK  <block>|http://help.sap.com/abapdocu/en/ABAPAT_SELECTION-SCREEN_EVENTS.htm#!ABAP_ALTERNATIVE_4@4@], each field of the block will be editable when error is raised
    So, if you really want that each and every field be editable when an error is raised, declare every parameter and select-options in a big block, and perform the check in a unique AT SELECTION-SCREEN ON BLOCK xxx.
    Use Error message, Warning and Information don't break the flow of the report.
    Regards,
    Raymond

  • How to clear the fields of the screen ?

    Hi,
    I'm having two fields for selection..when i press enter after entering some values,based on that my table control will get filled up..and when i double -click on that row in table control i get all the values of that row in the respective fields in my tabstrip..all these r in same screen 100..and in tabstrip i have 5 tabs with 5 subscreens..containing the fields of table control..now that when i enter a value in the selection screen fields..my table control is getting added with a second row of values as required..but my problem is that the values of the tabstrip should get cleared..this is not happening..i wrote logic like if my tablecontrol is getting appended the values from tabstrip should get cleared..all the fields are getting cleared except the fields of tab which is active..how to do it..

    Hi,
    Try this out.
    declare a variable in Top Include
    data : appended type c.
    if the appending to the internal table is success means sy-subrc = 0
    make appended = 'X'.
    go to the PBO of subscreen of the tab where you want to clear the data
    if appended = 'X'.
    clear appended.( this is must otherwise for every call of the subscreen of this tab the values get cleared)
    here clear the value of the subscreen of the tab strip)
    endif.
    The same can be achieved using the OK_CODE also
    Regards
    Ramchander Rao.K

Maybe you are looking for

  • Photo Mail doesn't work!!   HELP PLEASE!!

    Windows 8.1 Elements 11  Windows Live Mail.  I've done EVERYTHING under the sun to try and get the mail to work.  Will the brightest MVP Tech from Adobe please contact me with the fix.  I know that there are millions of computers out there that are a

  • Drawning text/images in a JPanel and then resizing/moving it with the mouse

    Hello ebverybody! I need to be able to draw some text objects in a JPanel and then resize/move it with the mouse... How could I do that!? Same for some images loaded from jpg files... Should I just paint the text and then repaint when the mouse selec

  • Resuming the REDO APPLY : 10g and 11g Differences

    Versions > 10.2, 11.2 OS > Solaris I have a question on step4 below. Both in 10g and 11g versions, for a Physical Standby DB, you Step1. Mount the DB using startup nomount;  alter database mount ;Step2. Start the REDO Apply using alter database recov

  • Program to generate Spool

    Hi, I need the standard Program name to Generate the spool in Smartform program and use the spool to convert to PDF and then send the PDF to external Mail ID. Regards, thanigai

  • How to use jaxb-impl-2.1.3.jar  for jaxb

    hi , I want to use jaxb-impl-2.1.3.jar ,thus I am placing the same jar in 'endorsed' folder in the jdk1.6.0/jre/lib folder . But while generating the java classes from the XSD it using 'xjc -verbose -d [folder] -p[package structure]' command it gives