Best way to pre-populate material variable with values for users

Hi,  I have a requirement to prepopulate a material variable with about 5 materials and that is the materials that will default when the query is called.  The users would also need the ability to change those values.
My thought is to create a User-exit variable that derives the values from a user maintained table (infoobject). 
Does anyone else have any suggestions or ideas on the best way to handle this?

I don't know if there is a best solution...
Infoobject
With this option you have to create a new infoobject (ZMATERIAL) without attribute (you need only a list material codes) and then to set the authorization profile for the user in order to manage the content.
The creation of an infoobject corresponds to a table creation, but you don't need any other specific options that belong to the infooject (as technical object)...
Table
With this option you have to create a Z table with only one field and then to allow the maintenance of the table by SM30....
In the ending, if you want to be a purist use the table, otherwise use an infoobject (but there are no significant differences !
Bye,
Roberto

Similar Messages

  • Populate CL_GUI_TEXTEDIT editor with text for user to modify

    Hi, What method of class CL_GUI_TEXTEDIT can I use to prepopulate the onscreen editor for someone to modify?  Also, an example would be greatly appreciated!
    Thanks
    I am using this program to maintain a string field URL in a table.  If you have a better way it would be greatly appreciated!
    REPORT  ZDW_1ST_RX_LINK_MAINT.
    DATA: DOCKINGLEFT TYPE REF TO CL_GUI_DOCKING_CONTAINER.
    DATA: TEXT_EDITOR TYPE REF TO CL_GUI_TEXTEDIT.
    DATA: REPID       TYPE SYREPID.
    DATA: TEXTLINES   TYPE TABLE OF TLINE-TDLINE.
    DATA: WA_TEXT     TYPE TLINE-TDLINE.
    DATA: REPORT_URL  TYPE STRING.
    DATA: TEXT_ITAB   TYPE TABLE OF SOLISTI1.
    DATA: TEXT_ITAB2  LIKE LINE OF TEXT_ITAB.
    PARAMETERS: P_REPGRP TYPE ZDWRPTGRP.         " Report
    PARAMETERS: P_SFORCE TYPE /BIC/OIZDWSFORCE.  " Report Qualifier
    PARAMETERS: P_REPDES TYPE C LENGTH 60.
    PARAMETERS: P_ACTION TYPE C.                 " Action
    AT SELECTION-SCREEN OUTPUT.
      REPID = SY-REPID.
      CREATE OBJECT DOCKINGLEFT
         EXPORTING REPID = REPID
         DYNNR           = SY-DYNNR
         SIDE            = DOCKINGLEFT->DOCK_AT_BOTTOM
         EXTENSION       = 280.
      CREATE OBJECT TEXT_EDITOR
         EXPORTING PARENT     = DOCKINGLEFT.
    START-OF-SELECTION.
      CALL METHOD TEXT_EDITOR->GET_TEXT_AS_STREAM
        IMPORTING
          TEXT   = TEXT_ITAB
        EXCEPTIONS
          OTHERS = 1.
      LOOP AT TEXT_ITAB INTO TEXT_ITAB2.
        CONCATENATE REPORT_URL TEXT_ITAB2-LINE INTO REPORT_URL.
      ENDLOOP.
      DATA: S_SFURL TYPE ZDW_SFURL.
      S_SFURL-REPORT_GROUP = P_REPGRP.
      S_SFURL-SALES_FORCE  = P_SFORCE.
      S_SFURL-REPORT_URL   = REPORT_URL.
      CASE P_ACTION.
        WHEN 'I'.
          INSERT ZDW_SFURL FROM S_SFURL.
        WHEN 'D'.
          DELETE FROM ZDW_SFURL
             WHERE REPORT_GROUP = P_REPGRP
               AND SALES_FORCE  = P_SFORCE.
        WHEN 'U'.
          UPDATE ZDW_SFURL FROM S_SFURL.
      ENDCASE.

    Or you can use the methods in this example.
    report zrich_0001 .
    data:
          dockingleft  type ref to cl_gui_docking_container,
          text_editor    type ref to cl_gui_textedit,
          repid type syrepid.
    data: itext type table of tline-tdline,
          xtext type tline-tdline.
    parameters: p_check.
    at selection-screen output.
      repid = sy-repid.
      create object dockingleft
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingleft->dock_at_left
                            extension = 1070.
      create object text_editor
                  exporting
                       parent     = dockingleft.
      xtext = 'http:\www.sap.com'.
      append xtext to itext.
      call method text_editor->set_text_as_r3table
         exporting
               table              = itext
         exceptions
               others             = 1.
    start-of-selection.
      call method text_editor->get_text_as_r3table
         importing
               table              = itext
         exceptions
               others             = 1.
      loop at itext into xtext.
        write:/ xtext.
      endloop.
    Regards,
    RIch Heilman

  • Parallel ledger with values for past period

    hi
    we are creating addl ledgers with different fiscal year variant
    is it possible for me to fill up this ledger with values for a past period?
    my fiscal year variant is V3 April - March, however I need the parallel ledger for calender year Fiscal Yr Variant K4.
    Going live with this in april is it possible to populate this ledger with values for jan-march period
    regards
    sameer

    HI,
    I am not sure if it is helpful but what you can do is to define an asset movement type limited to a valuation area, which allows you to post for example acquisitions only in on valuation area, but not in the other one.
    Thus you can post ABSO with one asset movement type for one valuation area (APC-value X) for another valuation area use another movement type and post APC value Y.
    Anyway the difference of the APC value (thats not ativated) needs to be posted to an P&L account.
    Maybe there are other/better suggestions from other people.
    Best regards, Christian

  • What is the best way to define this missing variable?????

    I think I am almost there with this question, thanks for working with me on this: trying to make buttons go target cue points in video
    I get this error code:
    ReferenceError: Error #1065: Variable seek_btn is not defined.
    import fl.video.*;
    // Video component instance name
    var flvControl:FLVPlayback = display;
    var flvSource:String = "lou.flv";
    // Set video
    flvControl.source = flvSource;
    // Add seek functionality to the button
    function seekHandler(event:MouseEvent):void
       flvControl.seekToNavCuePoint("lou1")
    seek_btn.addEventListener(MouseEvent.CLICK, seekHandler);
    seek_btn1.cuePointName = new String();
    seek_btn1.cuePointName = "lou1";
    seek_btn1.addEventListener(MouseEvent.CLICK, onButtonPress);
    seek_btn2.cuePointName = new String();
    seek_btn2.cuePointName = "lou2";
    seek_btn2.addEventListener(MouseEvent.CLICK, onButtonPress);
    // onButtonPress function
    function onButtonPress(evt:MouseEvent):void {
         flvControl.seekToNavCuePoint(evt.target.cuePointName);

    Definitely.... you are trying to assign a listener to something that does not exist
    seek_btn.addEventListener(MouseEvent.CLICK, seekHandler);
    If you do not have a seek_btn, the best way to define the missing variable is to create the seek_btn object.  If you don't plan to, then rather than define it, get rid of any code that uses it.

  • What is the best way to "upgrade" a powerbook g4 with a powerpc chip?  it seems that many things don't work or aren't supported these days.  can't update my iphone, download video, etc.  can i get the latest software?  thanks.Ask your question.

    what is the best way to "upgrade" a powerbook g4 with a powerpc chip?  it seems that many things are not supported these days.  can't download software, update my iphone, download video, etc.  can i get the latest software?  thanks for the help!

    Mac OS X 10.5 Leopard installation system requirements
    http://support.apple.com/kb/TA24950
    Leopard is no longer available at the Apple Store but may be available by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753).
    If you can't obtain a retail install DVD from Apple, look on eBay or Google the installer part numbers to possibly find at an on-line store. Here's what to look for:
    MB427Z/A  Leopard 10.5.1 install DVD
    MB576Z/A  Leopard 10.5.4 install DVD
    MB021Z/A  Leopard 10.5.6 install DVD (single user)
    MB022Z/A  Leopard 10.5.6 install DVD (5-user family pack)
    Installing Mac OS X 10.5 Leopard
    http://support.apple.com/kb/HT1544
    Mac OS X 10.5 Leopard Installation and Setup Guide
    http://manuals.info.apple.com/en/leopard_install-setup.pdf
    After you install the base 10.5, download & install the 10.5.8 combo update at http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    The DVD should look like this
    Caution - Leopard does not support classic mode. So, if you currently open OS 9 apps in classic mode, you won't be able to do this if you upgrade to Leopard.
     Cheers, Tom

  • What is the best way to get dirty my hand with office 365

    what is the best way to get dirty my hand with office 365
    Anil MCC 2011,ITIL V3,MCSA 2003,MCTS 2010, My Blog : http://messagingschool.wordpress.com

    Hi,
    Just create an evaluation tenate and get your hands Dirty! Or if you are a partner to Microsoft, you can register yourself at
    http://portal.fasttrack.office.com and then you can create sites from there. If you need tenant with data, use
    http://microsoftcie.com and create a tenant, then you will have your own contoso to play with! :) 
    Regards
    Henrik A. Halmstrand
    sharepointrevealed.com
    getspconfig.codeplex.com
    Please click Mark As Answer; if a post solves your problem or Vote As Helpful; if a post has been useful to you.

  • What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?

    What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?
    Thanks for any help

    Hi Donavan,
    There are two options for zeroing with the NI-9237.  You can perform offset nulling and shunt calibration with a strain task, or if you use custom excitation you can use software compensation.
    See the Bridge Balancing, Offset Nulling section in  the Load, Force, and Torque Measurements tutorial. Take a measurement before the strain is applied and subtract this from all subsequent measurements.  See the above tutorial to consider the tradeoff in accuracy between these two options.
    Hope this helps,
    Jennifer O.
    Applications Engineer
    National Instruments

  • What is the best way to reconcile gl account postings with pay results ?

    Hi experts
    what is the best way to reconcile gl account postings with pay results ?
    is it running wage type reporter ?
    or is there any otehr way .. i have variances in wtr n gl posting for a few employees.
    Regards

    Hi,
    Match Payroll Journal (PC00_M40_LJN - Payroll Journal ) with Wage type Report.(PC00_M99_CWTR - Wage Type Reporter )
    Finally verify the Posting amount (PCP0) with Payroll Journal....(PC00_M40_LJN - Payroll Journal )
    This should solve your issue...
    Regards,
    Veeram

  • Pre populate an item with source type="Database Column"

    Hello gurus,
    How can I pre populate an item with source used "Always, replacing any..." and source type="Database Column"?
    I have a form that creates/updates rows in a table and when creating a new row I want to populate some of the fields based on some parameters from the previous page. How can I achieve this?
    I tried adding a conditional process when PK is null and populate the expected fields, but in the browser they are not shown with those values, even if I look into the session I can see that they have the values assigned in the process ?!?!?!
    Thanks in advance,
    Florin

    Florin,
    Use the Default Value item attribute. In you case, set the Default Value Type to Static Text with Session State Substitutions and enter your item using the &P1_ITEM_NAME. syntax in the Default value text box.
    Thanks,
    - Scott -

  • HT4436 What is the best way to set up business accounts with multiple ipads?

    What is the best way to set up business accounts with multiple ipads?

    Here are three different methods >
    How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495
    This article > iOS: How to transfer or sync content to your computer, http://support.apple.com/kb/HT1296
    suggests using contacts groups.
    When syncing contacts, you can choose to sync all of your contacts or only selected groups.
    You can select a group of contacts to which all new contacts created on your iOS device will be added.
    You can set up groups in the Address Book application.
    If you are all going to use the same iTunes apps library, turn off "Automatically sync new apps" in the apps tab just below the list of apps.  Then you won't get new apps on your device unless you select them.

  • What's the best way to create/stitch panorama photos with Aperture?

    What's the best way to create/stitch panorama photos with Aperture?
    Many thanks
    Best

    There is no way to do this with Aperture. This thread
    https://discussions.apple.com/thread/3714693?start=0&tstart=0
    has some suggestions.

  • What is the best way to hookup my airport extreme with my time capsule ?

    what is the best way to hookup my airport extreme with my time capsule ?

    It sounds like you have the AirPort Extreme configured as the "main" router on your network.
    If that is the case, connect an Ethernet cable from one of the LAN <-> ports on the AirPort Extreme to the WAN "O" port on the Time Capsule
    Power up the Time Capsule
    Connect another spare Ethernet cable from your Mac to one of the LAN <-> ports on the Time Capsule
    Open Macintosh HD > Applications  > Utilities > AirPort Utility
    Click on the Time Capsule, then click Manual Setup
    Click the Wireless tab below the row of icons and make sure that the setting for Wireless Mode = Off
    Click the Internet icon, the click the Internet tab
    Insure that the setting for Connect Using = Ethernet
    Insure that the setting for Connection Sharing = Off (Bridge Mode)
    Click the Update button at the lower right of the window and wait a full minute for the Time Capsule to restart
    Then power cycle the entire network by powering everything off....order of power down does not matter
    Wait a minute
    Power up the modem first, and let it run a few minutes by itself
    Power up the AirPort Extreme next and let it run a full minute
    Power up the Time Capsule next and let it run a full minute
    Keep starting devices one at a time about a minute apart until the entire network is back up
    You will need to reset the backup path from your Mac to the Time Capsule to get backups going again
    Open System Preference (gear icon on the dock)
    Open Time Machine
    Click Select Disk
    Click the Time Capsule to highlight it
    Click Use for Backups or Use Disk and backups should begin again in a few minutes
    If you do not want to leave the Mac connected to the Time Capsule by Ethernet, remove the Ethernet cable from the Mac to the Time Capsule, then log on to the AirPort Extreme wireless network

  • Best way to make a clipping mask with indesign drawn vector shapes?

    What is the best way to create a clipping mask  with vector art that is drawn inside of indesign?
    I have a group of vector shapes to paste into a rounded corner box. This art is grouped.
    What i tried:
    -create the rounded corner box i want the art inside
    -cut art
    -edit > paste-into
    This worked, but i could not figure out how to move the artwork once it was pasted into the shape. With the direct select tool i could move the individual objects, but not the group of objects. Any ideas?
    Is this the best way to acomplish what i'm trying to do?
    Thanks!

    Yopu don't mention the version of ID, which makes a difference here.
    Paste Into is correct. In CS5 you can then use the content grabber donut to move the group inside the frame. In all versions you should be able to select the frame, tehn use Object > Select > Content to get the group, or use the button for that onthe Control Panel. Before CS5 you'll need to use the arrow keys or grab the center spot withthe mouse to move the group.

  • What is the best way to control a mac mini with iphone 4s , prefer blue tooth

    Hi
    what is the best way to control a mac mini with iphone 4s , prefer blue tooth, or I can use the syncing cable as well. but no wifi.
    Basically to lanch an app and load a preset for that app.
    Thank you

    As V.K. noted, check out NetRestore's documentation http://www.bombich.com/software/docs/netrestore/English/index.html or visit the fourms at http://forums.bombich.com/

  • What is the best way to sync multiple collections of contacts among multiple users?

    (I originally submitted this question under the "Mac OS X Technologies" section, but got no response. I'm submitting a duplicate here because this is where all the smart folks are! My apologies that my question is only partially related to OS X Server . . . )
    What is the best way to sync multiple collections of contacts among multiple users on iOS and OS X?
    For example, suppose I have three collections of contacts: Bob's, Sally's, and Common. I want Bob to be able to access and sync Bob's contacts and Common contacts, and Sally to access and sync Sally's contacts and Common contacts. Bob and Sally never need to access or sync each other's contacts. Bob and Sally would both sync and share contacts in Common.
    How would I best implement this? It's my understanding I have three options for managing contacts across iOS and OS X: 1. iCloud accounts, 2. Install OS X server, or 3. Install and manage Darwin CardDAV directly. Which method would best support what I wish to do?
    I am a seasoned Unix geek well versed in the terminal, so I am prepared to get my hands dirty as much as necessary to achieve what I want. Also, it is sufficient if syncing takes place over WiFi on the local network, in fact, that is desirable versus syncing over the cloud.

    Thanks for your reply Nick101. I see my example was oversimplified. When I say "multiple groups of contacts over multiple users" I'm really referring to N groups of contacts over N users.
    So I need to add Fred, who can access and sync Bob's contacts, Sally's contacts, and Common contacts, as well as Fred's contacts. Can I do it with OS X server?
    You mention you keep your and your partner's contacts administered locally. What keeps you from administering them through OS X server as well?
    I am guessing this can all somehow be accomplished with multiple contact accounts, but I can't find any information on the web explicitly describing this.

Maybe you are looking for

  • DV8 1090ev - connecting camcorder to firewire port - nothing happens

    I'm trying to capture video to the hard disc by connecting my canon dv20 camcorder to the notebook using the ieee1394 port, but when I switch on the camera, nothing happens. I can't see it in the device manager. I replaced the cable already to no ava

  • Need information about release codes

    Hi, I need information about release codes.In which Transcation we will get it. Please give the information ASAP. Regards, Chow.

  • Many old podcasts show :04 for length

    Many of my older podcast episodes are now appearing as having a length of 4 seconds! The first 4 seconds play correctly, but after that iTunes believes the song is over and starts the next. The size of these podcasts is listed correctly -- in the sev

  • Filter hud performance profiling results

    I was really curious why it took so long for the filter hud to open and I think I may have at least a partial answer. I used the awesome Sampler and fs_usage tools that come with the developer kit. I started profiling and pushed the filter button. He

  • Help with MDX script

    Hi , I am trying to develop an MDX script to clear data from a region/slice in ASO cube. I have to select only certain projects with a similarity in their name. I could not find any key word for that , So I have added a UDA for those projects and use