Need a drop down list for cost center group

Hello,
I need to add the cost center group selection option to my program. I have added it to the selection options of my program and I would like to have a drop down list on this field. I have looked at the t-code KS13 and I am thinking that this is  what I need. I am not sure if this is a search help or something else. if this is a search help, is it possible to use the same search help in my program? can some please let me know how I would do this in my program?   possibly a code example?
thanks in advance for the help.

PARAMETER:     p_sostat(15) TYPE c AS LISTBOX VISIBLE LENGTH 16,
  name = 'p_sostat'.
  CLEAR sostatlist[].
  value-text = text-101. "'Open'(101).
  value-key = '1'.
  APPEND value TO sostatlist.
  value-text = text-102. "'On Hold'(102).
  value-key = '2'.
  APPEND value TO sostatlist.
  value-text = text-103. "'Drop/Pull'(103).
  value-key = '3'.
  APPEND value TO sostatlist.
  value-text = text-104. "'Pending'(104).
  value-key = '4'.
  APPEND value TO sostatlist.
  value-text = text-105. "'Floor'(105).
  value-key = '5'.
  APPEND value TO sostatlist.
  value-text = text-106. "'Kitted'(106).
  value-key = '6'.
  APPEND value TO sostatlist.
  value-text = text-107. "'Packed'(107).
  value-key = '7'.
  APPEND value TO sostatlist.
  value-text = text-108. "'PGI'(108).
  value-key = '8'.
  APPEND value TO sostatlist.
  value-text = text-109. "'EDI Error'(109).
  value-key = '9'.
  APPEND value TO sostatlist.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id     = name
      values = sostatlist.

Similar Messages

  • Drop down list for a field in table maintainance

    Hi,
    I have created a table maintainance for ztable. I need a drop down list for field so that user can select values present in the list while giving entries.
    I can not use fixed values in domain, because feild length is more and it wont fit into fixed values.
    I am trying to use VRM_SET_VALUES FM but not getting output. Can any one help me on this.
    Thank you,
    Regards,
    Kusuma K.

    TYPE-POOLS: vrm.        Include this in your program
    DATA: l_name  TYPE vrm_id,
          l_list  TYPE vrm_values,
          l_value LIKE LINE OF l_list.
      LOOP AT it_paym INTO w_paym.
        l_value-key = w_paym-pay_method.
        l_value-text = w_paym-text.
        APPEND l_value TO l_list.
      ENDLOOP.
      l_name = 'Table-field'.   change it as per your requirement this has to be perfect
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = l_list
        EXCEPTIONS
          id_illegal_name = 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.
    Hope it helps you,
    Abhijit G. Borkar

  • How to add drop down list for query manager report in sap business one

    Hi Every one,
    I need drop down list for parameter selection in sap business one Query Manager.I have two Parameters 'Sales Order','Invoice'.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    you need to use this :
    /*select from [dbo].[OINV] T2*/
    DECLARE @Invoice varchar(100)
    /*where*/
    set @Invoice =/* T2.DocNum  */N'[%2]'
    you can change the tables and the parameter number but you have to write it exactly that way.
    when you run the query within the SBO you will get list of objects ( in this case list of invoices)
    hope it was helpful
    Shachar

  • How to change number of remembered items which would be shown in drop down list for edit controls. This use to be at least 5 I think, but now it is only 2!

    I need to see 3 different remembered usernames in drop-down list for username input.

    Works fine here. I can see at least four user names in the drop down list of a login form.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Custom drop down list for the filter for BEX report

    Hi, all:
    I am writing a query for a BEX report that prompts the user to enter a value for a field "GL account".  I would like to have the user select from a limited number of GL options rather than have the whole Chart of accounts show up. Is there a way to make a "custom" drop down list for the filter?
    Thanks!
    Jenny

    You need to make your GL account info object as an authorization object. And in the info object ,for BEx you need to select the option "only authorized values".
    Create an analyis authorization on gl account and assign the restricted set of GL accounts to the user. Asign this analysis authorization to the user.In the query restrict this infoobject with an authorization variable. This would solve your purpose.user would be able to see only a selected set of GL accounts for which he is authorized.

  • Lotus Notes Missing in Drop Down List for Calendar Synch

    Hello there,
       A) I am attempting to synch my blackberry tour with my calendar in Lotus Notes 8.5.2.  I was able to previously synch my calendar when I had Lotus Notes 8.5.1, but since our upgrade to 8.5.2, I get an error saying it could not find a supported version of Lotus Notes. 
      B)  When I try to go in and configure the organizer section of the desktop software, there is no option for the drop down list for Lotus Notes.  I have tried uninstalling, rebooting and then reinstalling (based on info from other posts), but none of that seems to work.  I have checked and all the connectors are there, but for some reason, they are not being recognized.  Is there some specific key or file that intellisynch is looking for to know that Lotus Notes is installed on the machine?
    Now, I am assuming A&B are symptoms of a common problem, but I am at a loss as to how to move forward.  Any ideas on how I can get this software to recognize Lotus Notes?  I appreciate any help you can give.
    Thanks,
    Rick

    While calling method SET_TABLE_FOR_FIRST_DISPLAY pass 'A' to paramater I_SAVE .
    CALL METHOD grid1->set_table_for_first_display
          EXPORTING i_structure_name = 'SFLIGHT'
                    is_variant       = gs_layout           
                    i_save           = 'A'
                    i_default        = p_def
          CHANGING  it_outtab        = gt_sflight.

  • TAble for cost center group in 3.0 F transaction.

    hi, 
    i need to develop a report to extract cost center data from r/3 in 3.0 F version.
    can u guys help me that which table has got entries for cost center group.
    waiting for  your replies,
    Regards,
    Rachana

    hi  ,
    I have checked in csks, cska, cskb, and cssk as well, but i didnt find a field which holds the cost center group information ..please help me as this is a bit urgent ..
    Thanks in advance , 
    Regards,
    RaAchana

  • MDG-F - Replication model for Cost Center Group

    Hello
    We are trying to create IDOC replication model for Cost center group IDOC_COSTG for data model 0G (MDG 7.0).
    When trying to assign "Outbound Parameter" = SEND_DELTA_INFO against outbound implementation 1112, we are getting error message saying : "Entry 1112 SEND_DELTA_INFO does not exist in DRFC_PARO (check table)".
    While checking table DRFC_PARO via SE16, it shows all the entries for 1012 (GL mast), 1102 (cost center) but it is missing entry for 1112 (cost center group).
    What are we missing? How to generate entry in this check table DRFC_PARO? which step is creating this entry?
    Thanks
    Luo

    Hello Luo
    You have to maintain this entry in following table -
    Go to SM30. Give table name - DRFV_PARO and click on maintain. You will get a pop-up for outbound implementation. Give 1112 and proceed. Add the send_delta_info in the table, save it and then add it in DRF. Do add package_data so that you can send multiple cost centers in your target system.
    Kiran

  • Table name for Cost Center Group/Profit Center Group/Cost Element Group

    Hi,
    Kindly let me know the table names for cost center group, cost element group and profit center groups.
    Thanks.
    Suresh

    Hi,
    The tables for storing groups in SAP are SETNODE and SETLEAF. The codes in the previous message posted by my fellow SAP consultant are transactions and not tables.
    The classes are:
    Cost centres - 0101
    Cost elements - 0102
    Profit centres - 0106
    Regards,
    Eli

  • Help needed in Drop down list value input

    Hi experts,
    My problem is, I added a field on a screen as a drop down list box and passed all the values to it. Everything is fine. But I need to display the field like if there are no input values to be used by the user, the user should be able to enter some value manually which is not in the list. I'm unable to get this facility. Plzz Help me out.
    It's really urgent. Points will be rewarded to the solution.

    hi ,
    Here is a sample of code for creating a dropdown list in screen painter , and this has got the solution of your question :
    module create_drop_down_box_material output.
      select matnr from mara
               into table l_tab_mara_matnr
               where matkl = 'ZPMBMAT'.
      if not l_tab_mara_matnr[] is initial.
        select maktx from makt
                     into  l_tab_collect_maktx_frm_db-material_descr
                     for all entries in l_tab_mara_matnr
                     where matnr = l_tab_mara_matnr-material_no.
          append l_tab_collect_maktx_frm_db.
        endselect.
      endif.
      loop at l_tab_collect_maktx_frm_db into l_wa_collect_maktx_frm_db.
        l_wa_mat_descr-key = l_wa_collect_maktx_frm_db-material_descr.
        append l_wa_mat_descr to l_tab_mat_descr.
      endloop.
      name = 'ZCOT_PPT_DTLS-MATERIAL_DESCR'.
      call function 'VRM_SET_VALUES'
        exporting
          id              = name
          values          = l_tab_mat_descr
        exceptions
          id_illegal_name = 1
          others          = 2.
      free: l_tab_mat_descr,l_tab_collect_maktx_frm_db.
    endmodule.                 " create_drop_down_box_material  OUTPUT
    Regards,
    Ranjita

  • Drop down list for values at parameters forconfigurable product in CRM 2007

    Hi All,
    I want to create configurable service products in CRM 2007 connected with SAP IS-U.
    I uses the simplified product configuration, container approach. Hierarchy, settypes are set.
    Then I created parameters like for example discount, I can set in the WEB UI default value for this parameters, like 5%.
    But I need to have more variables for one parameter.
    For example:
    The agent sells an electricity product to the customer, and wants to configure the product in the sales process, give a discount from 5, 10, 15%.
    This variables 5,10,15% I like to get somehow in a drop down list, that the agent has a choice wich discount he gives.
    Thanks for any answers!
    Gabor

    Patrick,
    In PPOMA, did you check the requester for inheritance?  If the values are maintained at a higher level, is the inhertiance working to the requester level in the org structure?
    Regards, Dean.
    Edit: I just your reply to the previous posting, do you have one set as a default?
    Edited by: Dean Hinson on May 20, 2008 3:27 PM

  • Drop-down List for DUMMY...please help!

    Hi everyone,
    I'm new to LC Designer and i've been practicing with it a lot, but I can't figure this one thing out, please help.
    I'm trying to create a Drop down list (DDL for short) that contains several coordinates. Here's a simple illustration of what i mean:
    ============================
    Coordinates: [(Select Location)] | ------- (User-input required)
    X-Coordinate: [(Values.Values)] | ------- (These 3 coordinates will be calc'd
    Y-Coordinate: [(Values.Values)] | ------- and displayed depending on which
    Z-Coordinate: [(Values.Values)] | ------- location the user chooses)
    ============================
    This requires 4 DDL Boxes, for Coordinates, X-, Y-, and Z-coordinate respectively.
    How do I bind these three DDLs together and manipulate their properties so they will display the coordinates unique to the location selected?
    Sorry for taking so long, but i want to explain myself clearly.
    I appreciate any help you can provide,
    HL

    You need to use script on the change event of the location field to set the rawValue of the other three fields. Something like:
    if (xfa.event.newText == "Ottawa") {
    xCoordField.rawValue = "1";
    yCoordField.rawValue = "2";
    zCoordField.rawValue = "3";
    I would recommend using a text field or numeric field for the x,y,z coords though. Why use a drop down if the purpose isn't to let the user pick an option from a list of them?
    Chris
    Adobe Enterprise Developer Support

  • Getting Drop Down list for a field in portal based on the values in R/3

    Hi,
    Presently we were customizing the ESS>>Family Members/Dependants iview in Portal. Because of the design requirement, in R/3 we have added some custom field for infotype 21 (Family Member details Infotype). We have to display these field on portal in Family Member Iview.
    However for these custom fields i am not able to get the drop down list with all the possible values description(F4 help ) in portal unlike the standard SAP fields.
    I am able to display the codes but the description is not coming up for the fields. However for standard SAP field, only description comes.
    For this I tried to attach the search help to the data element and also assigned a check table to the data element in R/3. But still I am not getting the description in the drop down.
    So how can I get the description and only the description in the drop down.
    Thanks
    Namit

    Hi,
    When you run the Search hep is it giving the description or not
    You have to create the serarch help with both the fieldname and its description field then we cna the values. Or
    Try to mantain the text table for this field and get the data.
    Get the valeusinto drop drown with this table Or create the SearchHelp for this text table
    Regards
    Lekha

  • XI pro not in drop down list for serial number verification

    I have installed XI pro and am directed to the serial number upgrade page. XI pro is not on the drop down list and when I enter my serial number it tells me its not for the qualifying product when i try to use any of the XI drop downs. ???

    Hi smilinbudha
    As you've purchased an upgrade, when you enter the the Acrobat Pro XI serial number it will look for a previous qualifying version on your computer.  If not found, you have the option to enter your previous version serial number so would enter your Acrobat Pro X serial number.
    Hope this helps.
    Thanks
    Bev

  • Creating drop-down list for prodname element in metadata causes errors

    Frame 11
    DITA 1.2
    Due to restrictions beyond our control, we must use absurdly long product names. Therefore I want to use drop-down lists to make it easier for the authors to select a <prodname> in the metadata.
    What I did:
    1. In metaDecl.eddmod.fm, I created a new attribute and named it prod.
        a. I made it the Choice, and Required.
        b. The Choices currently are just Internal and RTVI for testing purposes. I'll put the absurdly long ones in when I have it working.
        c. I have a Prefix rule of: In all contexts Prefix: Product Name: <$attribute[prod]>
    2. I imported metaDecl.eddmod.fm to all of these EDDs:
        In the base EDD  folder:
    basemap.edd.fm
    basetopic.edd.fm
    map.eddmod.fm
    topic.eddmod.fm
       In the technicalContent EDD folder:
    concept.edd.fm
    ditabase.edd.fm
    generalTask.edd.fm
    glossentry.edd.fm
    glossgroup.edd.fm
    reference.edd.fm
    task.edd.fm
    topic.edd.fm
    3. I imported the element definitions into all of the following:
    ChapterOutputTpl.fm
    basemap.template.fm
    basetopic.template.fm
    basetopic.template.fm
    topic.template.fm
    generalTask.template.fm
    glossentry.template.fm
    glossgroup.template.fm
    map.template.fm
    ditabase.template.fm
    reference.template.fm
    concept.template.fm
    task.template.fm
    4. I imported the elememted definitions from task.template.fm into my test document (yes, it is a task topic).
    What happened:
    I get the following error message in the console:
    XML Parser Messages (Document Instance)
    Error at file H:\DITA_Westminster\Procedures - Our DITA\Inserting_Product_Names_Versions_In_Metadata\InsertingProductNamesAndVersionsInMetad ata.dita.82F, line 28, char 49, Message: Attribute 'prod' is not declared for element 'prodname'
    Error at line 28, char 71, Message: Not enough elements to match content model  '(prodname,vrmlist,((brand|component|featnum|platform|prognum|series))*)'
    What I did next:
    1. I removed all elements from the general rule of <prodinfo> with the exception of <prodname>. <prodinfo) is the one that had prodname, vrmlist, (brand|component|featnum|platform|prognum|series) in the general rule. I also did a thorough search to ensure that no other element had this same list of element in the general rule. I couldn't find any.
    2. I did the import to the EDDs and templates thing again.
    3. I got the same error message again. <sigh />
    Question:
    Why am I still getting those 2 error messages? They are driving me crazy.
    Marsha

    Alex Gorly and Matt Sullivan solved one of my issues above:
    Message: Attribute 'prod' is not declared for element 'prodname'
    I'm still stumpled on the other one:
    Message: Not enough elements to match content model  '(prodname,vrmlist,((brand|component|featnum|platform|prognum|series) )*)'
    As stated above, I've even removed everything from the general rule of <prodinfo> except prodname and I'm still getting the same error. I've searched everywhere for this general rule and <prodinfo> is the only place I can find it.
    What I really want is: (prodname), (vrmlist)?, (brand | component | featnum | platform | prognum | series)*
    so that vrmlist is optional.
    No matter what I do, unless I include a vrmlist, I get the above message. Currently, our CMS can't handle vrmlist but I don't want to remove it altogether because we may be replacing our CMS.
    Help please!

Maybe you are looking for

  • How to keep sort order in Shuttle item's source and destination boxes?

    I have defined a shuttle item on a page and the list of values in the source box is populated by a SQL with sort order specified. In the Settings of the shuttle item, Show Controls value is set to Moving Only instead of All. When a user moves selecte

  • How to diable the autostart option in the Grid control

    Hi All, I have installed OEM Grid control and agent (10.2.0.5) on one of my vmware RHEL 5 (32 Bit) OS . During the OS bootup it will automatically startup the OPMN service and agent service . Is there any way to disable the autostartup during the OS

  • How do i get my display back to its regular settings?  it looks like an xray

    my daughter hit a couple of buttons and the screen went to a black background and all of the pics and icons now look like xrays.  Any help on restoring it back to normal settings?

  • How do I make hyperlinks open in new window?

    Hi, I'm using Acrobat X Pro.  I have a pdf uploaded to a website, and within that pdf are two hyperlinks to other websites.  Currently, if I click on the links, they open in the same window.  How do I make the hyperlinks open in a new window by defau

  • Screen programming - Return statement

    Hi, In the middle of a user exit, I have called a screen in which two buttons are there "SAVE and Exit". If save button is pressed, data should update the value is table and  continue with the user exit. If exit button is pressed, nothing should happ