List Box in ITS template and use of 'FIELD_SET'

Hello EveryOne,
I am working in SRM5.0. Can some one guide me, If we can create a List box in custom ITS template. I am trying to use SELECT statement on HTML to create LIst Box. Is this right way to do that?
Does any one know better way to create a List BOx connected to custom field, that is filled in PAI. We do not have a search help added to this field. So I can not use F4 modules.
Also does any one know If use of macros 'FIELD_SET' is still allowed in the PBO/PAI  ?
Really appreciate any help in this regard.

Dear srivallika,
first you have do build up an steploop on your dynpro for the it_ccode-bukrs
AT PBO
loop at it_ccode cursor g_ccode_cur into wa_cccode.
my set loopc
module ccode_loopc.
endloop.
Include PBO
module ccode_loopc.
  g_ccode_loopc = sy-loopc.
endmodule.
You only see via DIAG Dialog the displayed rows on the Dynpro.
So if you only have a steploop of 4 rows -- you only get 4 rows to the wgate.
Better use the field-set makro.
AT PBO
module rfc_fieldset_ccode.
INCLUDE PBO
module rfc_fieldset_ccode.
data: ls_ccode like line of it_ccode.
data: i type i.
I'll use deeper structure
  perform rfc_fieldset_ccode.
but you also can define the code here
loop at it_ccode into ls_ccode.
     add 1 to i.
     field-set 'INDX'       i i .
     field-set 'BUKRS'   i   ls_ccode-bukrs .
endloop.
endmodule.
Why to do this? The field-set makro (don't forget to include AVWRTCXM at your topinclude) will send the data from internal table via AGATE to the WGATE.
Here now you can define the dropdown list:
srivallika, i'll hope i could help you a little. If you have any questions, you won't bother me. ASK!
With best regards
Thorsten

Similar Messages

  • Multicolumn list box, "operate value tool" and "active cell"

    If I use the "operate value tool" to select a row
    of the multicolumn list box, that row gets a dark blue background. 
    However, I cannot determine which property will tell me what is that row or let me
    change that row number.  It is not the active cel or "edit position".  
    I want to programatically change the selection just as the "operate value tool" does.  I can change the background color of the cell but the dark blue of the cells selected by the "operate value tool" take precedence and hide my colors.  
    Extremely frustrated and wishing for Java or C++...
    Alan

    Hi Alan,
    Have a look at event structures and invoke nodes (Point to Row Column) and use property nodes. Here is an attachment.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies
    Attachments:
    mclistbox.PNG ‏12 KB

  • Dynamic Creation of list box on excel sheet and handling events

    hi all ,
    i m working on excel to sap integration application and for that i need to create dynmicaly list boxes in excel and also needs to handler events of each boxes..
    please suggest me somehting asap/
    thanks in advance,
    jigs
    helpful ans will be rewarded.

    hi all ,
    i m working on excel to sap integration application and for that i need to create dynmicaly list boxes in excel and also needs to handler events of each boxes..
    please suggest me somehting asap/
    thanks in advance,
    jigs
    helpful ans will be rewarded.

  • Drop down list / combo or list box properties that would be useful

    Hi there,
    I teach a class at a local college on Creating PDF forms. I have been going to a few forums and there are a few things I think would be useful to add to the dropdown and list items for the next version of Acrobat Pro.
    1.) Adding a selection for Null or blank. In my list I have on top select an Item as default - should the value be 0 or left as blank? I would like something that would validate instead of leaving a blank area. I don't want to have to install a 3rd party plugin like form router.
    2.) Multi-line Selections for items at least 2 lines would be good.
    3.) Allow a way that I can copy and paste all my items and/or values in at once from excel or word. If I am doing countires I shouldn't have to type everything in again. I know this can be done in LC
    4.) A library in Acrobat to store some of my dropdown menue that I would use often to create forms. Month, Days of Week, Provinces or State.
    5.) Also a date callendar picker like in LC would be good as well for clients and speed up entry.
    Would be interested to know if Adobe is planning any of these upgrades in a future version since LifeCycle is not available for Mac or Creative Cloud?

    Don't expect any answers as to what Adobe is planning on doing. The people posting here are 99% users, just like you, not Adobe employees. And those who do know will probably not say so, anyway...
    1) That's possible using a script. But you can always add a single space as the default value...
    2) Also possible with a script, but very buggy and not recommended.
    3) Also possible with a script.
    4) That one's easy. Use a blank PDF file where you create those menus, and then you could simply copy them over to your other files from there.
    5) There are currently two date pickers available for Acrobat forms: The one by FormRouter and a newer one by Max Wyss, which is not free but is quite good and uses a dialog object instead of form fields.
    You can request new features here, by the way:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Suppress entries in the drop down list box for fields Priority and Category

    Hello,
    For the transaction type 'Service Process' , I want to suppress certain values in the drop down list box for the fields Priority and Category based on certain conditions.I couldn't find a suitable badi for this scenario.
    Is there a solution so that I can control the values displayed in the drop down list box ?
    Thanks,
    Sriram
    Edited by: Sriram Sundar Rajan on Mar 17, 2008 12:15 PM

    Hello,
    For the transaction type 'Service Process' , I want to suppress certain values in the drop down list box for the fields Priority and Category based on certain conditions.I couldn't find a suitable badi for this scenario.
    Is there a solution so that I can control the values displayed in the drop down list box ?
    Thanks,
    Sriram
    Edited by: Sriram Sundar Rajan on Mar 17, 2008 12:15 PM

  • My nano has boxes around its icons and I can't slide to the left or right. I've tried resetting and restoring it but nothing seems to work. What do I do?

    My nano has boxes around its icons, even the around the time. When I tap into my Songs or Now Playing, I can't get out because I can't slide either to the left or to the right. It appeared after I transferred some songs from my iPod to iTunes. I've tried resetting and restoring it but nothing seems to work. HELP.

    And the voice over's activated and it tells me to double tap things to select them.

  • How does a multiple-select list box record its value?

    I assumed that the value of a MSLB would be based on all the values selected, similar to SharePoint column?
    I have a MSLB with 15 choices and I want to hide a section if 2 of the MSLB options are not selected. I have tried a rule on the section using
    MSLB Doesn't Contain "AUD-Public Co"  OR
    MSLB Doesn't Contain "AUD-Public Accountable"  THEN  HIDE.
    This doesn't work, if I change it to Is Equal To, it works but it is in reverse to what I want. If I change it to Is Not Equal To, it doesn't work at all, it stays hidden all the time.
    I created a Text box to be set when the MSLB is checked and it only displays the most recent selection and doesn't clear when all items in the MSLB are cleared. I read a few other postings that were trying to concat into a textbox but this is still only
    showing the last selected item.
    I just want to hide the section if 2 of the MSLB are NOT checked. I am hoping I don't have write a rule using Is Equal To for every option?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    My next question would be, if I promote this field to a column in a SP Doc Lib, how will it be displayed. We are hoping it would be the same as multi select choice field on a regular SP list so we can filter by any of the values?
    Or perhaps there is a better way to accomplish this?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • How to modify a template and use both old/new in the same library without interference

    OK first Thank you for reading this and hopefully being able to help me out. I got dumped this project on my desk to update two different templates already published in
    share point(2010) years ago. The original developer left the company 4 years ago. Since then anyone that tried to do anything with them made a big mess. I have done some heavy reading and am stuck on few issues.
    Please note the templates were created IP 2007 and I will be using IP 2007 to modify them. The temples have a small amount of C# that does not have to be changed. There is also a digital signature linked to them.
    After some heavy reading this week. I figured that I need to edit the template from Share point(2010)/IP(2007) and not copy the templates to a different location laptop/desktop
    because that will ruin the digital signature. There is also a large volume of submitted forms from these temples. The new version of the temples will be heavily modified deleting rolls columns changing names. My understanding is that since I want to keep the
    old submitted forms the way they are and still use the old template to open them. I would need a second version of the original template with all the visual modification to still use the original template's C# digital signatures and any other file that runs
    in the background.
    The plan:
    1)Turn off the automatic update to forms/template when a new version of the template is created.
    2) Copy the existing template (.xsn) file to a new document folder in share point(same network).
    3) Change the name of the .XSN file that I copied and modify it??????????? Will keeping the same name interfere with the old template/C# digital signature ect? I would like to change to something like SameName_version_2015 for example. or will changing the
    name cut the link to the old C# digital signature? or will it get modify the background files and break the old template/submitted files.
    4) Publish the new template in share point.
    5) Change the data connection to a new directory that I wish to submit all files.
    Please advice am I missing anything? and help me understand my step 3 better. Also I would love to get a better understanding of how i can backup and recover everything. Do I simple copy unmodified .XSN files somewhere and publish them if things goes wrong?
    Do I need to backup anything else?
    I am open to options if I can create a test folder in the share point for safety.
    Once again THANK YOU for trying to help.

    Hi, thanks for the reply!
    Just to follow up for what we did to disable the delete function for maintaining table records. We hided the Delete button by adding a "MODULE disable_delete" code in Screen Painter. So now only adding records to the table is allowed.
    Thanks,
    Jenny

  • Tutorials: Responsive Templates, and using Wordpress with Dreamweaver

    Hi all,
    Check out these following blog posts on the Dreamweaver blog.
    https://blogs.adobe.com/dreamweaver/2015/02/new-dreamweaver-cc-starter-templates-make-resp onsive-design-a-snap.html
    https://blogs.adobe.com/dreamweaver/2015/02/establishing-a-dreamweaver-cc-and-wordpress-wo rkflow.html
    Thanks,
    Preran

    You can use that extension if you like. You need to make sure that your page that has the SSI have an extension that will process the scripts as mentioned above.
    .shtml, .php
    I always name my SSI so I know that they are includes.
    header.inc.html
    header.inc.php
    header.inc.txt as examples.
    If you are using PHP, then it should process the includes.
    A good simple test is to add a SSI to a page.
    Do something simple like.
    <p>Welcome to our website</p>
    Name it welcome.inc.php
    Then include it in a page, upload it to the webserver and visit the page.
    I am using contribute for people to update areas of our website (hate it) and I manage the overall website myself.

  • Customising BC templates and using in Muse Templates

    Hi,
    I'm new to commerce in websites.
    I need to produce a cataloge series which just includes items and quantities, no pricing or adding of prices.
    Then I need to customise the checkout so that all it deals with are the items to deliver, as below.
    Event name
    Event Address
    Event Start date and time
    Event Finish date and time
    Collection date and time
    Ordered by -
    Branch - name and ref number
    tel number
    email
    venue contact
    tel number
    and a few other details
    This to be emailed as an order. attached image shows details to remove from cataloge. I'm a bit stuck at the moment and would appreciate any advice.

    Getting stuck.
    I've created a form which does what I want and a basic web app with items and description.
    I can't see how I can add a selection and submit feature to the web app which continues through the form and then to us.
    I understand the form and its workflow, but am getting stuck through lack of experience with this side of web work.
    I've attached a picture showing the pipeline I want to achieve, any help or pointers would be great.

  • SBWP ..? what its role and use ..?

    Hi experts
    Can anybody give some detailed inputs about the SBWP transaction code .
    What is use , what is advantages ..?
    Please Expalin step by steps  ..
    Thanks
    MM group

    Hi,
    SBWP is used for managing your workplace in SAP. Refer following link;
    [Managing your IRIS Business Workplace|http://eastern.tennessee.edu/IRIS%20Travel/Managing%2520Your%2520Business%2520Workplace.pdf]

  • Creating List box and check box in structure

    Hi
    I have to include List box(Drop down) of lenght 20 and check box in a screen area.
    The fields on screen are to be transported from structure CI_PROJ in table PROJ.
    How can i Include List box and check box in my structure CI_PROJ.
    Also wat data type is required

    Hi,
             For the list box if you have the data element along with the search help then you can use that dataelement. If you dont have search help at dataelement level then for the structure you have to assign a search help directly. If you dont have data element it self then domain's fixed values will be shown in the drop down. For the check box you have to use a data element with a domain having CHAR and length 1.
    For the list box you will KEY and VALUES. Key is the one that is transfered to your program data and VALUE is the one that is shown to the user. You have to use the data element of your KEY for the list box.
    Regards,
    Sesh

  • Submit Statement for calling smartform and using its data in another report

    Hello Everybody
    There is one report which display smartform as an output.  My requirement is to call that report and return back without showing its output and use its data for futher use in the report. i Hope i m clear with my query. Plzz reply its urgent.
    Currectly i m using this statement :
    SUBMIT  ZPOPRINT  WITH PO_NUM EQ IT_EKKO1-EBELN exporting list to memory and return.
    while executing the program, after this statement i m getting an output.  but i need to store it in memory, not to display the output.
    Waiting for ur reply..
    Thanks and Regards
    Virendra

    Hi.
    I have not done this kind of requirement. What i said was just an option which came to my mind. Also not sure whether it will work for you. While submitting ,instead of exporting list to memory do submit to SAP-SPOOL. Then later read the spool content to internal table.
    I am referring you two links for this.
    [Submit to SAP-SPOOL|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_LIST_OPTIONS.htm]
    [Spool to Internal table|spool file data to internal table].
    Also search for related topic in SCN.
    Regards
    Kesav

  • How can we use list box on selection screen

    hi, howe can we use list box on selection screen and how can we populate the dat ainto the list box and how can we retrive data based on list box from ther database.
    thanks in advance
    raju

    Use the VRM_SET_VALUES function module.
    DATA: list              TYPE vrm_values,
          value             LIKE LINE OF list.
               AT SELECTION SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      name = 'P_OBJECT'.
      CLEAR list.
      REFRESH list.
      CLEAR value.
      value-key = '1'.
      value-text = 'Development Class'.
      APPEND value TO list.
      CLEAR value.
      value-key = '2'.
      value-text = 'Program'.
      APPEND value TO list.
      CLEAR value.
      value-key = '3'.
      value-text = 'Function Module'.
      APPEND value TO list.
      CLEAR value.
      value-key = '4'.
      value-text = 'Database Table'.
      APPEND value TO list.
      CLEAR value.
      value-key = '5'.
      value-text = 'Structure'.
      APPEND value TO list.
      CLEAR value.
      value-key = '6'.
      value-text = 'View'.
      APPEND value TO list.
      CLEAR value.
      value-key = '7'.
      value-text = 'Data Element'.
      APPEND value TO list.
      CLEAR value.
      value-key = '8'.
      value-text = 'Table Type'.
      APPEND value TO list.
      CLEAR value.
      value-key = '9'.
      value-text = 'Class / Interface'.
      APPEND value TO list.
      CLEAR value.
      value-key = '10'.
      value-text = 'Type Group'.
      APPEND value TO list.
      CLEAR value.
      value-key = '11'.
      value-text = 'Domain'.
      APPEND value TO list.
      CLEAR value.
      value-key = '12'.
      value-text = 'Search Help'.
      APPEND value TO list.
      CLEAR value.
      value-key = '13'.
      value-text = 'Lock Object'.
      APPEND value TO list.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = name
          values          = 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.

  • Problem in picking up the value from list box

    Hi,
    I have created a parameter list box on the selection screen using VRM_SET_VALUES fn module and populating the list box. Now my problem is when i select one value from the list box and executing, it shows null value.
    AT SELECTION-SCREEN OUTPUT.
    PERFORM f_f4help.
    FORM f_f4help .
      REFRESH: gt_tvaut,
               gs_list.
      CLEAR: gs_tvau,
             gs_value.
      SELECT spras
            augru
            bezei
        FROM tvaut
        INTO TABLE gt_tvaut
        WHERE spras EQ sy-langu.
    IF NOT gt_tvaut[] IS INITIAL.
        LOOP AT gt_tvaut INTO gs_tvau.
          gs_value-key = sy-tabix.
          CONCATENATE gs_tvau-augru
                      gs_tvau-bezei
                 INTO gs_value-text
            SEPARATED BY space.
          APPEND gs_value TO gs_list.
        ENDLOOP.
      ENDIF.
      param = 'P_AUGRU'.
    CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = param
          values          = gs_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.
    How to get the value which  is selected in the selection screen becoz i'm using p_augru in further selection queries..
    i have tried reading gs_list table but its not working.

    Move the portion of function call 'VRM_SET_VALUES' to event  at selection-screen on value-request for P_AUGRU. Rest is OK...
    I mean, Your code should be like this.
    AT SELECTION-SCREEN OUTPUT.
    PERFORM f_f4help_values.
    FORM f_f4help_values.
    REFRESH: gt_tvaut,
             gs_list.
    CLEAR: gs_tvau,
           gs_value.
    SELECT spras
           augru
           bezei
           FROM tvaut
           INTO TABLE gt_tvaut
           WHERE spras EQ sy-langu.
    IF NOT gt_tvaut[] IS INITIAL.
      LOOP AT gt_tvaut INTO gs_tvau.
        gs_value-key = sy-tabix.
        CONCATENATE gs_tvau-augru
                    gs_tvau-bezei
               INTO gs_value-text
        SEPARATED BY space.
        APPEND gs_value TO gs_list.
      ENDLOOP.
    ENDIF.
    ENDFORM.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_AUGRU.
    PERFORM f_f4help.
    FORM f_f4help
    param = 'P_AUGRU'.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        id              = param
        values          = gs_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.
    ENDFORM.
    Rgds,
    Birendra

Maybe you are looking for