PCUI field dropdown list

We have the SECTOR field and LEGISLATION field on the PCUI application screen, for a specific sector (selected in the SECTOR dropdown screen field) we want only legislations for that specific selected sector to be in the LEGISLATION dropdown list. Both fields are on the same structure. I am using the FILL_DROPDOWN_LISTBOX BADI method but I am not able get the sector field value. The dropdown on the legislation field is displaying everything at the moment, we want per sector. Please advice.

Hi,
We can get the selected value of SECTOR in READ method.
However, we need to call the model class' MODIFY method after getting the selected value of SECTOR. Then we get correct corresponding values in LEGISLATION dropdown.
Regards,
Uma.

Similar Messages

  • How to get the keys for a field in the dropdown list?

    The dropdown list of payment terms on an account is unfortunately very big, containing al lot of different values, in our system and therefore very confusing for the user working with Web UI version 5.2 to pick the right one. The keys (code like e.i Z077 or ZO23) are not stated in the list available for user. Is there any way in the system to flag if the different fields should show boths the keys(codes) and the description of the values in the field as Payment terms, etc.
    In the ERP SAP Gui it is possible to activate if you want the keys should be shown in all drop down list.
    If this is not possible for all the fields at one time, what can be a solution to have the keys in the drop down lists, any suggestion will be very valuable for us.
    Kindly regards
    Camilla

    HI Joost
    No it is not that simple, that is not a solution for us. The fields are maintained i our backend system and replicated to CRM, and these fields descriptions are also printed at Order confirmations and invoices, and we do not want the keys that do not give any meaning  to be visible to customers.
    BR
    Camilla

  • How to extract data from xml field to dropdown list?

    Hi,
    I have designed a form and connected to a SQL server database using a web service. The XML data retrieved from wsdl connection is currently hold in a text field called 'XMLfield'. I need to extract the data such as 'PersonnelName' from XMLfield into a dropdown list. I used the following code and I do not get any error, but nothing come up and all my fields in the forms become bank when i click the dropdown list.
    I would appreciate it if anyone can help me with this issue.
    form1.DropDownList::click - (JavaScript, client)
    xfa.datasets.data.loadXML(form1.XMLfield.rawValue,0,1);
    form1.XMLfield.rawValue = xfa.datasets.data.saveXML();
    var dataGroup = xfa.resolveNode("xfa.data.Timesheet.Personnel.PersonnelName");
    var dataGroupLength = dataGroup.nodes.length;
    if (dataGroupLength == 0) {
      xfa.host.messageBox("There are no parts in the XML doc");
    else {
      for (var i=0; i < dataGroupLength; i++){
        this.addItem(dataGroup.nodes.item(i).nodes.item(0).value);
    Thanks,
    Roya

    Hi Roya,
    I think the loadXML will override your form data, so blanking out your fields.  You could try loading the xml data at the xfa.datasets level (that is xfa.datasets.loadXML(form1.XMLfield.rawValue,0,1);) or using E4X to process the XML.
    Another option though might be more rework is to use the Acrobat SOAP api which will return you a JavaScript object so you wont have to do any XML work.
    There's a good intro to the SOAP api here, http://www.avoka.com/blog/page/11/.
    Regards
    Bruce

  • How to fill the dropdown list in a input field

    Hi all,
    I have three input fields, Month, Material type and material.
    My requirement is to search material based on material type.  So if i select one material type from the dropdown list, corresponding material should be populate in the material dropdown.
    Pls suggest to this requirement i have
    Regards
    Jeswin

    Hi,
    Refer Below Blog Step By Step For fill data in dropdownlist Getting Data From SAP BI Systems.
    Visual Composer :Get drop down list values  from BI InfoObject master data
    The Below Link is the For getting data from SAP ECC Systems For Both Value Help And DropDown list.
    Visual Composer: Value Help Data Service
    Go Through Above Links
    Points Are Welcome
    tahnks
    SubbaRao Chinta

  • Dropdown list on Dynpro for a disabled input field - No PAI triggered?

    Hello experts,
    I am facing a problem with a dropdown list on a dynpro (defined as a subscreen). The drop down list should be  for a field that is not input ready (at least it should appear not being input ready).
    The user should be able to pick a value from the dropdown list and as soon the selected row changes a PAI should be processed as other fields on the main dynpro as well as the subscreen itself need to change accordingly.
    The dropdown list works fine but with the field not being set to input ready - neither the input field changes nor a PAI etc. is triggered.
    But if the property for input is set to input ready, it works fine.
    Info:
    Dropdown list is populated in POV
    A function code is assigned to the field
    What am I missing here?
    What properties must be set for the field.
    Thanks,
    Chris
    PS. If set to input - how do I prevent the single empty line in the list?

    hi
    good
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE|TABLE node.
    allows you to define further nodes for dynamic selections. If the node has type T, you can use TABLE instead of NODE. The user can then decide at runtime the components of the node for which he or she wants to enter selections. Dynamic selections require special handling in the database program
    F4 HELP->
    AT SELECTION SCREEN ON VALUE REQUEST FOR P_SACHA.
        PERFORM VALUES_SACHA.
    THANKS
    MRUTYUN^

  • Data in dropdown list field are empty in PDF form

    Hi all.
    Viewing a pdf form created with SAP interactive Forms offline method, the data in the dropdown list field are empty.
    The data in the dropdown list field are generated by xml file produced by an abap report.
    The problem occurs opening the form with Adobe Reader 8.1 or higher. Using Adobe Reader release 7.0.9 everything is ok.
    Do you have any suggestion?
    Thanks in advanced.
    Best Regards.
    Moreno

    Hi Otto,
    the only release of Adobe Reader that work is 7.0.9. Release 8.1 and 9 have the same problem where the data in the dropdown list field are empty.
    At the end of the trace file in Adobe Reader 9.0.3 I find this error message:
    "Invalid version: The current version of the XFA template model exceeds the capability of Acrobat / Adobe Reader 7.0.5."
    The form has been created using Adobe Lifecycle Design 7.1.
    Any idea?
    Thanks
    Moreno

  • Dropdown list to change image field linked image?

    Hello,
    I am quite new in Designer but I have to complete a job and I don't find the solution.
    I try to update on a form an image field using the value of a dropdown box and a "if" script.
    I use linked images (not embedded ones) and try using a script calling the image Field. value. image. href  property.
    The property is well updated as export to xml displays well the new href value but the image is not displayed as something was missing to activate it.
    form1.#subform[0].ImageField1::calculate - (FormCalc, client)
    if (UN_DropDownList == "3373") then ImageField1.value.image.href = ".\Images\UN3373.png"
    endif
    Rather simple (don't laugh at it) but it doesn't work.
    I found solutions for embedded images via visible/hidden by dropdown list (not yet tested) as these ones. I give them below for reference (if some other users are interested)
    http://forums.adobe.com/thread/683215
    http://forums.adobe.com/message/2187604
    http://acrobat.timhuff.net/?p=5
    But not for linked images (path or URL). By the way, I found same problem descriptions in other forums but without any proposed solution.
    As I should have quite a lot of images with frequent updates, it seems to me a better solutions...
    Thanks in advance for you help.
    Kind regards
    Philippe

    Hi Philippe,
    Have a look at this blog, http://blogs.adobe.com/formfeed/2009/11/linked_vs_embedded_template_im.html, it turns out that both linked and embedded images are stored in the PDF but just in different ways. So updating the href at run time will have no effect.
    If you are not in a possition to store all the images in the PDF at design time then you might have to look at setting up a webservice to access them on a server.
    Good luck
    Bruce

  • Convert Word 2007 Form to PDF Form not creating dropdown list fields

    I created a new word document with all my text fields with lines and 5 dropdown list fields with all their values.  Works great in Word 2007.  When I convert it to a pdf form (Acrobat Pro X) none of the dropdown list fields get created.  The text fields do, but no drop downs.  If I have to create them all manually in Acrobat, what's the point of doing all the work in Word?

    The Word conversion to PDF and Forms Wizard do not detect and do not know how to complete a drop down box. I do not even create the form fields in Word as there is no transfer to the PDF. I also find the Wizard lacking in proper naming and grouping. It is just easier and more efficient to add the fields manually or with JavaScript tools.
    The only product that can do this is apache OpenOffice when an author creates the from body and form fields in the Writer application and then exports to a PDF.

  • How to put dropdown list for a field in MIGO

    Hi all,
    I added a new tab in MIGO by using the BADI  MB_MIGO_BADI
    in that tab for one of the field i have to put dropdown list (some static values)
    i tried VRM_SET_VALUES , but how to pass the static values to the screen field as dropdown list.
    please help on this issue.
    Thanks,
    Satish

    Hi,
    The logic u told is right it should work.
    PROCESS ON HELP-REQUEST.
      FIELD MSEG-VENDTYPE MODULE HELP.
      PROCESS ON VALUE-REQUEST.
      FIELD MSEG-VENDTYPE MODULE HELP_VENDOR.
    MODULE HELP_VENDOR INPUT.
    *break-point.
      wa_values-key = 'M'.
    wa_values-text = 'Manufacturer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'FD'.
    wa_values-text = 'First Stage Dealer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'I'.
    wa_values-text = 'Importer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'DI'.
    wa_values-text = 'First stage or Second stage dealer of Imported Goods'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'MD'.
    wa_values-text = 'Manufacturers Depot or Consignment Agent'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'SD'.
    wa_values-text = 'Second stage dealer of Indeginious Ecisable Goods'.
    append wa_values to values.
    clear wa_values.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        ID                    = '01'
        VALUES                = VALUES
    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.
    ENDMODULE.                 " HELP_VENDOR  INPUT
    *&      Module  HELP  INPUT
          text
    MODULE HELP INPUT.
    if sy-uname = 'ABAPUSER'.
      break-point.
    endif.
    ENDMODULE.                 " HELP  INPUT
    Process on help req is triggering on pressing the F1 help but process on value req is not triggering on pressing F4 it is triggering before the screen display i.e in PBO can u tell wat might be the problem.
    Thank u very much.

  • Who is Who - dropdown list for fields in the advance search

    Hello:
    In the advance search of the Who is Who service, we have the Organization Unit and Cost Center as searching fields.
    We can't be able to see the dropdown list for these 2 fields from the Portal.
    Do anyone have any idea of what configuration is missing?
    Thanks.
    Regards,

    hi,
    according to my knowledge they don't have Unique ID but unique names attached to them.
    open Outlook
    go to Tools -> Forms -> Design Form -> select Message then right click on 'To' textbox and chose Advance Properties it has a field 'Name' that name can be used for reference in your development.
    hope this helps you.

  • I am trying to update my billing detail on my IPAD2. However it keep on saying that the country need at least 3 characters long. But the country field is a dropdown list with Malaysia's states all with 2 characters long only! I can't make any purchase now

    I am trying to update my billing detail on my IPAD2. However it keep on saying that the country need at least 3 characters long. But the country field is a dropdown list with Malaysia's states all with 2 characters long only! I can't make any purchase now because I can't verify the billing detail because it just doesn't work! Very frustrating now.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I am being forced to create 3 security question from your dropdown list and I can choose the questions but can't enter anything in the answer field??

    I am being forced to create 3 security question from your dropdown list and I can choose the questions but can't enter anything in the answer field??

    The problem is twenty three people leaving or twenty three thousand leaving has zero impact on a carrier with over 100 million customers. And they have the lowest churn rate. So if 10,000 or 20,000 or more churn out it means little to the carrier.
    If you have a real lawyer he/she will advise you that you have no case. The device was not lost or stolen by the carrier, you were not eligible for a new device, and like any business who employs large numbers of poorly trained personnel who make low wages what was told to you is not in writing. So a verbal exchange does not hold up.
    In fact in Verizon's customer agreement it has such a disclaimer against any verbal exchanges so if you have that agreement in writing, go get them.
    The posting on public forums and places like Face Book, Linkin, Google+ or a personal web site can open you up to a lawsuit for Dilution of Trade Name, and other offences. However if you have proof then go for it.
    Unfortunately that is how big business works today. A pity

  • Making field as Dropdown list in ALV

    Hi
    This is the code for making field as dropdown list in ALV.
    But wat do you mean by HANDLE here.
    What is the value one indicates.
    FORM prepare_drilldown_values.
    DATA lt_ddval TYPE lvc_t_drop .
    DATA ls_ddval TYPE lvc_s_drop .
    ls_ddval-handle = '1' .ls_ddval-value = 'JFK-12' .
    APPEND ls_ddval TO lt_ddval .
    ls_ddval-handle = '1' .
    ls_ddval-value = 'JSF-44' .
    APPEND ls_ddval TO lt_ddval .
    ls_ddval-handle = '1' .
    ls_ddval-value = 'KMDA-53' .
    APPEND ls_ddval TO lt_ddval .
    ls_ddval-handle = '1' .
    ls_ddval-value = 'SS3O/N' .
    APPEND ls_ddval TO lt_ddval .
    CALL METHOD gr_alvgrid->set_drop_down_table
    EXPORTING
    it_drop_down = lt_ddval .
    ENDFORM. " prepare_drilldown_values
    Regards
    Sandeep Reddy

    Hi,
    REPORT  YMS_DROPDOWNLISTBOX.
          TYPE-POOLS : VRM.
    TABLES : AFKO,AFPO,SSCRFIELDS.
    DATA : BEGIN OF IAFKO OCCURS 0,
           AUFNR LIKE AFKO-AUFNR,
           END OF IAFKO.
    DATA : BEGIN OF IAFPO OCCURS 0,
           MATNR LIKE AFPO-MATNR,
           END OF IAFPO.
    DATA : ITAB TYPE VRM_VALUE.
    DATA : VID TYPE VRM_ID.
    DATA : ITAB1 TYPE VRM_VALUES  ,
           ITAB2 TYPE VRM_VALUES  .
    DATA : FLAG.
    PARAMETERS : P_AUFNR LIKE AFKO-AUFNR AS LISTBOX VISIBLE LENGTH 15.
    INITIALIZATION.
      SELECT AUFNR FROM AFKO UP TO 10 ROWS INTO TABLE IAFKO WHERE AUFNR LIKE
      '%704%'.
      LOOP AT IAFKO.
        ITAB-KEY = IAFKO-AUFNR.
        ITAB-TEXT = IAFKO-AUFNR.
        APPEND ITAB TO ITAB1.
      ENDLOOP.
    AT SELECTION-SCREEN OUTPUT.
      VID = 'P_AUFNR'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID              = VID
          VALUES          = ITAB1
        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.
    Thanks,
    Sankar M

  • PCUI: Remove "Search in database/Archive" dropdown list in Opportunities

    Hi,
    I'd like to remove the "Search in database/Archive" dropdown list in the extended search in the Opportunities application (Z)CRMD_BUS2000111. The customer is not using an archive and as such this is a waste of screen real estate in his opinion (rightfully so, I'd say).
    Now, I haven't seen a reference to this dropdown list in the fieldgroup definition, but I have seen the "data sources for queries" (I guess that's what it is called in english) node with two entries in there, Archive and Database.
    Should I just delete the entry for the archive from there? Is is not used by other applications, and would I break something else with this?
    Thanks
    Thomas

    Hi Thomas,
    Goto the transaction CRMC_BLUEPRINT.
    In this transaction go to the following path.
    Layout of People-Centric UI -> Application Element -> Search Group -> Search scenario
    Inside this path select the entry OPP_GROUP and double-click on assign shuffler.
    You would find two entries in the next screen. If you remove these entries the field would not appear in the Opportunity advanced search.
    Reward points if this helped solve your problem!
    Jash.

  • Prepopulate dropdown list based on selections made in other fields

    I wonder if anyone can help?
    A form with a radio button group containing two radio buttons "yes" and "no".
    Below the radio buttons is a dropdown list that has three items in the list "option A, option B, & option C.
    Below that, is another dropdown list, with three items, "10000", "15000" & "20000"
    How can I do the following?
    When radio button "yes" is selected, and dropdown list "option A is selected, it prepopulates "10000" in the bottom dropdown list
    When radio button "yes" is selected, and dropdown list "option B is  selected, it prepopulates "15000" in the bottom dropdown list
    When radio button "yes" is selected, and dropdown list "option C is  selected, it prepopulates "20000" in the bottom dropdown list
    Thanks in advance!

    Hi $Nith$
    Just sent you a PM

Maybe you are looking for

  • IPod and Windows Partition

    Hello, I've recently purchased the latest generation MacBook with a 4th generation iPod Nano. A couple of weeks ago I had my iPod connected to the MacBook while it was running Boot Camp (on Windows XP Service Pack 2) and soon after this I noticed tha

  • AirPort is on and everything is conected but nothing is happening?

    Trying to play speakers and print but nothing is happening. Just need a little help with this Express. All software has been down loaded. It's telling me the airport is on and I'm conected to my wireless hub in the office. When I open itunes the bar

  • Find the latest updated or the latest inserted record  in a table

    Hi All, Thanks in advance Just a simple question How do we find the latest updated or the latest inserted record in a table ? Provide some queries in SQL?

  • Executing AppleScript on Output

    Hey all, I'm trying to make Compressor run an AppleScript after the output is done. For some reason, though, it won't do it. Has anyone successfuly done this? I've tried with a couple different scripts, but the logs don't even show it trying to start

  • Upside-down Album Art

    Dragging and Dropping Artwork into iTunes from amazon.com produces an upside down image. Any way to stop this without dropping it on the desktop and re-opening the image in Preview and THEN dropping it into iTunes? (Which solved the problem for me) A