Selection screen list box with run time values

Hi,
I have to create a selection screen list box with with values at run time.
This is actually for a maintanence view.
Please help.
Thanks
Vimalraj

Have a search in SDN and elsewhere for the function module 'VRM_SET_VALUES'... for example there's one at:
Re: Listbox with Function code in Table control
wherein the 2nd listbox contents are driven from the option selected in the first listbox.
Jonathan

Similar Messages

  • Capturing elements value in the selection screen for LDB during run time

    Hi,
    I have a program where LDB is used.
    Could anyone please suggest how to capture the values of the elements present in the LDB's default selection screen.
    Specially, the company code and the period values.
    Please reply . Its too urgent.
    Regards,
    Binay.

    I got it

  • ALV list do_sum with run time field symbol not assigned

    Dear all,
    I am facing a short dump while using the ALV fieldcatalog do_sum.
    I tried to search the solutions online but to no avail. Anyone can help me to take a look at these codes:
    Below are my sample codes:
    DATA: BEGIN OF itab_s_ar OCCURS 0,
            item(2),
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            waers LIKE bsis-waers,
            total LIKE bsis-dmbtr,
            dmbtr1 LIKE bsis-dmbtr,
            dmbtr2 LIKE bsis-dmbtr,
            dmbtr3 LIKE bsis-dmbtr,
            dmbtr4 LIKE bsis-dmbtr,
          END OF itab_s_ar.
      g_itab = 'ITAB_S_AR'.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
         i_program_name               = ly_repid
         i_internal_tabname           = g_itab
    *   I_STRUCTURE_NAME             =
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
         i_inclname                   = ly_repid
    *     i_bypassing_buffer           = 'X'
    *     i_buffer_active              = 'X'
        CHANGING
          ct_fieldcat                  = t_fieldcat
    * EXCEPTIONS
    *   INCONSISTENT_INTERFACE       = 1
    *   PROGRAM_ERROR                = 2
    *   OTHERS                       = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT t_fieldcat INTO s_fieldcat.
        CASE s_fieldcat-fieldname.
          WHEN 'ITEM'.
            s_fieldcat-outputlen = '3'.
            s_fieldcat-seltext_l = '#'.
            s_fieldcat-just ='C'.
          WHEN 'KUNNR'.
            s_fieldcat-outputlen = '13'.
            s_fieldcat-seltext_l = 'Customer Code'.
            s_fieldcat-key = ' '.
            s_fieldcat-just = 'C'.
          WHEN 'NAME1'.
            s_fieldcat-outputlen = '35'.
            s_fieldcat-seltext_l = 'Customer Name'.
          WHEN 'WAERS'.
            s_fieldcat-outputlen = '4'.
            s_fieldcat-seltext_m = 'LCur'.
          WHEN 'TOTAL'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = 'Total'.
            s_fieldcat-seltext_l = 'Total'.
            s_fieldcat-reptext_ddic = 'Total'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-do_sum = 'X'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR1'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '0 - 30'.
            s_fieldcat-seltext_l = '0 - 30'.
            s_fieldcat-reptext_ddic = '0 - 30'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR2'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '31 - 60'.
            s_fieldcat-seltext_l = '31 - 60'.
            s_fieldcat-reptext_ddic = '31 - 60'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR3'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '61 - 90'.
            s_fieldcat-seltext_l = '61 - 90'.
            s_fieldcat-reptext_ddic = '61 - 90'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR4'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '90+'.
            s_fieldcat-seltext_l = '90+'.
            s_fieldcat-reptext_ddic = '90+'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
        ENDCASE.
        MODIFY t_fieldcat FROM s_fieldcat.
      ENDLOOP.
    Your help will be muc appreciated!
    Thanks

    Hi,
      WHEN 'TOTAL'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = 'Total'.
            s_fieldcat-seltext_l = 'Total'.
            s_fieldcat-reptext_ddic = 'Total'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-do_sum = 'X'.
            s_fieldcat-just = 'C'.
    comment the field   : s_fieldcat-reptext_ddic = 'Total' and s_fieldcat-cfieldname = 'WAERS'.
    Assign filedcatalog as s_fieldcat-fieldname = 'WAERS'.
    Definitly you will get good solution.
    Good Luck

  • "Dynamic List Box with Single Selection" Survey Suite in CRM 6.0

    Hi
    I am using CRM 6.0. There in Survey Suite there are 2 answering options "Dynamic List Box with Single Selection" & "Dynamic List Box with Multiple Selection". I am able to make out, how we can assign values to this. I have seen example "Example_Dynamic_survey" also.
    I believe we have to use programming for populating this. But how do we have to carry that out.
    Thanx and Regards
    Hitesh

    Hi Hitesh,
    There is no need of programming for populating values for Answer category 'List Box with Single Selection' or 'List Box with Multiple Selection'. You have to follow the following steps to populate values for those:
    - In the Answer Category select List Box with Single Selection from drop down list
    - Then on left hand side tree, right click on Answer and select Insert Answer Option (Answer->Insert Answer Option)
    - Then on right side, provide Text for the answer (value)
    - To add more values, repeat the process Answer->Insert Answer Option and providing text for those answers in the right side.
    Similarly you can populate values for 'List Box with Multiple Selection' also.
    This has to be done in the transaction CRM_SURVEY_SUITE.
    Hope this is clear to you
    regards
    Srikantan

  • Help Please!!! - Unable to read or execute SQL with Next Run Time value.

    Hello,
    We have a requirement where we need to pick the results every five minutes based on the scheduler task "Next Run Time" value. The below is the SQL which was used to run the task every 5 minutes
    SELECT <%RESULTS%>
    FROM
    <%SCHEMA%>.FCI_MAS_CONTACT T1
    RIGHT OUTER JOIN <%SCHEMA%>.FCI_MAS_VENDOR T2
    ON (T2.OBJECTID = T1.PARENT_OBJECT_ID)
    WHERE
    T1.CONTEXTID=<%CONTEXT(masterdata.Contact)%>
    AND T1.INACTIVE=0
    AND T2.INACTIVE=0
    AND T1.CREATED_AT>=
    SELECT
    (ALERT_AT_DATETIME - NUMTODSINTERVAL('5','MINUTE'))
    FROM
    <%SCHEMA%>.FCI_SYS_MANAGED_DAEMON SD,
    <%SCHEMA%>.FCI_SYS_ALERT SA
    WHERE
    SD.INACTIVE = 0
    AND SA.OWNERREF_CLASS_ID = 10502
    AND SA.OWNERREF_OBJECT_ID = SD.OBJECTID
    AND SD.SYSTEM_MANAGED <> 1
    AND SD.CONTEXTID=<%CONTEXT(common.ManagedDaemonType)%>
    AND SD.DISPLAY_NAME = 'Vendor Sync Program'
    OR
    T1.MODIFIED_AT >=
    SELECT
    (ALERT_AT_DATETIME - NUMTODSINTERVAL('5','MINUTE'))
    FROM
    <%SCHEMA%>.FCI_SYS_MANAGED_DAEMON SD,
    <%SCHEMA%>.FCI_SYS_ALERT SA
    WHERE
    SD.INACTIVE = 0
    AND SA.OWNERREF_CLASS_ID = 10502
    AND SA.OWNERREF_OBJECT_ID = SD.OBJECTID
    AND SD.SYSTEM_MANAGED <> 1
    AND SD.CONTEXTID=<%CONTEXT(common.ManagedDaemonType)%>
    AND SD.DISPLAY_NAME = 'Vendor Sync Program'
    While we run the above SQL as scheduler task, we do not see any output. However when we run this as a standalone, we see the results. Please advice if we have missed any step while run the report as schedule task.
    Rgds,
    Vinod

    Hi
    Have you:
    1. Assigned a valid agent to your task - and have you checked that agent found is within the range of valid agents
    2. If you have transported / or is testing on another client, remember that agent assignment must be made on that system as well - and remember - SWU_OBUF.
    3. if this does not help check the authorizations  -  display access to authorization PLOG is required for infotype 1000, 1001 for objecttype AC.
    Regards
    Morten Nielsen

  • How to add a list box with values for a ztable in SM30

    Hello Gurus,
                    I had created a table maintenance for Ztable and added many extra functionality to that. Now i would like to add a list box or check table for a field. Can i do that with out Regenerating my table maintenance. Please help me its..very urgent.

    Have referred this domain to the data element, this should be the Field type in ur table for the particular field.
    Eg: <b>SE11 > table name > fields-ZTEST > fieldtype-ZZTEST</b>
    ZZTEST in the data element > create a domain for this data element and in that specify teh value range.
    Save and activate it.
    Make sure that u regenerate teh table maintenance generator else u cant see the changes.
    Now if u press F4 u can see only thevalues specified, also u will see only the list box with values in SM30.
    Try this,please let me know if u face any difficulties.

  • When I click on the download button the box with Run or save comes up then disappears before I can click on it. Then nothing happens. I have tried this numerous times the same thing keeps happening

    Question
    When I click on the download button the box with Run or save comes up then disappears before I can click on it. Then nothing happens. I have tried this numerous times the same thing keeps happening> edit

    Maybe these will help:
    https://discussions.apple.com/message/17677533#17677533
    https://discussions.apple.com/message/18324129#18324129
    https://discussions.apple.com/message/18203126#18203126

  • When we execute   transcation selection-screen should come with some values

    hi gurus,
    My requirement is whenever user executes a particular transaction,
    selection screen should appear with some values by default.
    can you suggest me in solving this problem.
    its urgent.
    thanks,
    Bhanu.R

    Hi,
    for that do like:
    A transaction with a variant can have its own transaction code, which you can then use to execute the transaction with the appropriate variant.
    To create a variant transaction, proceed as follows:
    Choose Goto ® Create vari. trans. from the initial transaction variant maintenance screen.
    Enter a transaction name and corresponding short text. Transaction type Variant transaction is already set. The following screen already contains default values for the name of the calling transaction, the variant name, and the client-specific or cross-client variant checkbox.
    Save your entries.
    Example:
    Variant ABC has been defined for transaction Z000. We now want to create the variant transaction ZVAR.
    Name of the new transaction: ZVAR
    Name of the calling transaction: Z000
    Name of the variant: ABC
    Transaction ZVAR starts transaction Z000 with variant ABC.
    If the variant specified for a variant transaction does not exist (in the current client), then the calling transaction will be started without variant.
    Regards,
    Renjith Michael.

  • Sequence will not validate with run time prompts in business rules

    I am in Hyperion Planning v 1.1.1.3, with Workforce initialized. I am creating a sequence of business rules. The rules use run time prompts within them and validate when used on their own. However, when I insert them in a sequence the sequence will not validate, apparently due to the run time prompts.
    The sequence returns the error: Cannot calculate. Essbase Error(1200323): Error parsing formula for [FIX STATEMENT] (line 7): expression expected after [(].
    Line 7 in the business rule is as follows:
    FIX ([rtpYear],[rtpScenario],[rtpVer],[rtpCC],[rtpBU],[rtpEmp])
    The problem is not isolated to this business rule, it occurs with any rule I try.
    Can sequences function with run time prompts in the included business rules?
    Stephen

    I have figured out that if any rtp is hidden in the business rule, the sequence will not validate. Is this expected behavior for sequences?
    Additionally, hiding the variables in the sequence has no effect if the variables are not hidden in the rule. When launched from a menu in a web form, the user is prompted for values for all variables (except for the Execution Database Name) although they are prepopulated based on the members in the POV, Page, etc. Is this also expected behavior?
    I also find that it won't validate if "Merge launch variables" is selected (I have included rules associated with different plan types and with different dimensionality, so this may be expected). The user is prompted to provide values for every variable in each rule in the sequence, many of them duplicates (though, again, they are prepopulated based on members in the form).
    Stephen

  • Dynamic Query and default run-time values

    I am trying to build a dynamic query within dreamweaver and
    retain access from the bindings panel.
    here is a simple pseudo-query I want to expand on.
    "SELECT object FROM objects_table WHERE widget_number =
    widgets"
    widgets is set up as a variable with a run-time value that
    relates to $_GET['widgets']
    this works fine but now i want to expand on this so the query
    returns all results if $_GET['widgets'] is undefined. I was hoping
    I could set the default value for widgets to equal widget_number so
    I would get....
    "SELECT object FROM objects_table WHERE widget_number =
    widget_number" but the runtime query is actually
    "SELECT object FROM objects_table WHERE widget_number =
    'widget_number' " which obviously doesn't work.
    I can alter the query manually from the code view but then I
    lose access to the bindings panel as dreamweaver doesn't parse the
    query properly.
    Any pointers?
    Thanks in advance
    - Andrew

    Andy Millne wrote:
    > That will work fine server-side yeah but dreamweaver
    cannot parse the code at
    > design time so by altering the code in this way you lose
    access to the bindings
    > panel and all the server behaviours that depend on the
    recordset have
    > exclamation marks alongside.
    This is simply a question of organizing your workflow. As you
    have
    discovered, Dreamweaver no longer recognizes a recordset if
    you make
    changes to the basic structure of the code. The answer is to
    use
    Dreamweaver to construct your page using an unaltered
    recordset. Once
    the design stage is complete, make the changes required by
    inserting
    your conditional statement. Yes, the fieldnames disappear
    from the
    Bindings panel, and you get exclamation marks in the Server
    Behaviors
    panel, but that's not important. If you need to restore them
    for any
    reason, just wrap the changes in /* */ comments. Remove the
    comments
    when you have finished.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Fire events with run-time menu

    Hi,
    I developed an application based on an event structure. Almost all the events are fired when their corresponding controls are modified. I’d like now to alternatively fire an event by selecting an item in the run-time menu. 
    In the ‘Menu Selection with Events.vi’ example the selection of any item in the run-time menu fires the event 0 (specifier menu selection (user)). Inside that event 0 according to the item a function is executed.
    Is is possible to point out to another event instead? Or is possible to add the selection a menu item (or sub menu item) to fire an event that is usually fired when a the value of a control changes?
    I enclose a VI and its .rtm file (LabVIEW 8.0)
    Thanks,
    Charly
    It's always sunny in California! Certified LabVIEW Associate Developer!
    Attachments:
    MenuEventStructure Folder1.zip ‏19 KB

    This is to shine light on Wiebe response, here how you can do it:
    yet, this mode of operation works with switching booleans, not with latching (you cannot set the value of a latch indefinitely). therefore you will also need to implement a prgramatic latching solution (e.g. after 200ms return value to false).
    a more involved, but better solution would be to register the events.
    Message Edited by Gabi1 on 10-08-2007 02:31 PM
    ... And here's where I keep assorted lengths of wires...
    Attachments:
    MenuEventStructure.png ‏13 KB

  • Package failed with run time error: " GETWA_NOT_ASSIGNED".

    Hi,
    One of our custom package is failing with run time error " GETWA_NOT_ASSIGNED". We are getting this error after refresh. Infact this package is working fine both in production and Dev, but in QA system it giving runtime error.
    Here with I am pasting run time error details. Please see...If any one have any idea or clue or if you have faced this kind of error.
    Thanks is advance.
    Error Details.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_UJK_CUSTOM_LOGIC===========CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32774).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    Regards, Trine

    Hi Trine,
    the error is about some field you are trying to map using field-simbols, that is diferent in the other system.
    Go to the code program in the st22, there you will see when the erros occurs e what field gives the error.
    Best Regards,
    António

  • How to pass a run time value as a parameter to a webdynpro iview

    Hi,
    we have a webdynpro which we can call with passing a run time value in this form:
    https://xxx.yyy.zzz/sap/bc/webdynpro/sap/zfkq_inv_1?WI_ID=000000004332&sap-client=700&sap-language=EN&sap-wd-sapgui=X
    This link will be sent to many users but the WI_ID will change every time.
    It works fine but now we want to implement this webdynpro in our portal. The user shall get a link like this
    https://xxx.yyy.zzz/irj/portal/webdynpro-test?wi_id=000000004332. With this link he will navigate directly to the webdnypro (quicklink-function).
    The problem is that i don't know how to transfer the parameter WI_ID in the url to the webdynpro.
    It's no problem to fix the WI_ID in the application parameter properties but this is not what we want.
    Is it possible to transfer the url parameter to the application parameters of the webdynpro iview ?
    Thanks in advance.
    Best Regards
    Mirko Berscheidt

    Hi Mirko,
    The first thought I had is if your scenario makes sense at all. Because you might send out the links, but probably the iView will also be accessible via navigation, and in that case this additional parameter won't be there!?! (And if the iView is not accessible by navigation, then why going the way via the portal and not the direct way to the application like with your first link given?!).
    Anyhow, I think this should be possible by using the AppIntegrator, see The customer exit of the Application Integrator
    For an example about how to add individual values to users which you then can add to the URL see this discussion: App Integrator, and custom URL parameters using Customer Exits - this might be a possibility that each user can call the "same" iView but in fact the app integrator then would be fired with different URL parameters (per user).
    Hope it helps
    Detlev

  • How to start Flash Media Encoder 3.2 from Flex application with run time parameters?

    Hello ,
    I'm developing the application to stream High Quality video.While streming by default camera/microphone settings the qulaity of streaming is not upto my expected level.I want to stream through Flash Media Encoder.My aim is the user login to the application.Video/audio qulaity details are retrived from shared object stored in the client machine.The login user name only gathered at run time & it will be the streaming profile name to Encoder.Once the the Encoder started the outgoing video will be come into screen to client.Please guide me How to start Flash Media Encoder 3.2 from Flex application with run time parameters(User name as  streaming name) without manually start the FME?
    Thanks in advance.
    Regards
    Sasharyuva

    Hi MarcSaphiron,
    Could you please send the samples?It will be much helpful to complete my
    job within the deadline.
    Thanks in advance.
    Regards,
    Sasharyuva

  • Reg: ADF Select One List box..

    Hi,
    I have a view object which is associated with application module.
    I am dragging onto the form as Select one List box. In the list binding Editor , I have only one data source. When I am trying to specify the Base data source attribute and list datasource attribute , it gives an error
    "Base Data Source and List Data Source Cannot Be bound to the same view"
    and am selecting the Display attribute as "multiple"
    Please Help
    Thanks.

    Hi,
    the base data source is where the selected data is written to. The display data source is from where you get the list data.
    You need to have at least two VO for this to work. Next to the display data source there is a button you press to create an iterator binding for the list VO.
    Frank

Maybe you are looking for

  • Invisible page or something like this?

    Hi, do we have something like invisible page? For example, i have a class with many many children, and the drawing of this class take a time. I thought that i can draw my class (and all the children) somewhere on invisible page, and that if it ready

  • Why cant I edit a received email?

    I just switched from a PC using Outlook. My Outlook has always been much more than a bunch of sent and received emails. I have lots of folders and file things away for reference, and I frequently edit emails to make them easier to find via a search o

  • Navigation menubar not working in Safari

    Amazed I can't figure it out on my own. The menu works in IE and FF, but not Safari. http://www.danielosterday.com Anyone? Thanks! Dan.

  • No Adapter Engine in the Configuration

    All, When we create a new communication channel and select the adapter type (say File) , the transport protocol and message protocol appear - but there is no Adapter engine (which used to be Integration server earlier). Recently the team moved the SL

  • Static on Monitor

    The right side of my monitor is buzzing. It looks like static. I'm noticing my radio is also experiencing static and there is an audible buzzing on my iPhone. Thoughts?