Checkbox in PCUI

Hi,
My requirement is i need to develop an application in PCUI that displays a list of locations for a business partner. I need to display the result list as checkbox.
In the fieldgroup structure, i can make it.
If the user selects locations in the result list displayed, i need to update a Z_ table with the selected locations.
Can anyone please tell me how to go ahead with this.
Thanks and Regards,
karthik.

Hi Karthik,
For this you need to add code in the modify method of the model access class and probably in the save method of the bsp frame controller class.
Hope this helps. Please reward ponits if it does.
Regards,
Chandrika

Similar Messages

  • How to set default for ddlb in pcui?

    Hi guys,
    I wrote some coding in FILL_DROPDOWN_LISTBOX method, and right now I want to set default value for my ddlb field. Anyone have experience for this?

    Hi Shen,
    Create first domain for your DDLB field and when you assign this filed in field grp structure select the checkbox for " Domain values".  So that you can see the default values in PCUI screen when launching the page.
    Ex  field name -  suffix            ( Create domain for this field and assign values like Mr.Mrs)
          Field type  - Dropdownlist box
          check box -  Domain Vals 
    Regards
    Raju.

  • Multiple Selection in Search Result List in PCUI

    Hi,
    Our requirement is to allow creation of new records in list view of the PCUI application CRMM_ACCOUNT. I'm using old floor plan CRM 4.0 to meet this requirement. But this is causing a problem. It's not allowing multi select in the search result list (Event INIT, Screen Element SRMS). If I change the screen element to SRME, it allows multiple selection (thru selection checkboxes) but does not allow creation of new records in list view.
    Also, how to activate the multi-valued search on certain fields. I've already checked the "Multi-Value" check box for the relevant field.
    Any help on this will be much appreciated.
    Regards,
    Vishal

    a®s wrote:
    Hi,
    You can find lot of thread in this for forum for your query.
    example
    a®s
    Thanks ! it's helpful!   But my requirement is a little bit different. (Sorry I didn't make it clear)
    I created a table maintenance (SM30) for a table. The F4 Search help should be applied to a field of the table when a user creates a new entry. I hope it makes clear.
    btw: I have awarded some points! Because it's also good to know some other ways:)

  • Checking the checkbox based on the BSP application

    Hi all,
              I added a button and a checkbox in Accounts Application(CRMM_ACCOUNT).On clicking this button it call a custom bsp application.If there r no rows displayed in bsp, then this checkbox must not be checked else it must be checked.i.e
    1.I am calling bsp from pcui
    2.Based on bsp application ,I should change the pcui application.
              Do I have to call MAC in my BSP application?
    Please suggest.
    Regards,
    Ruby.

    Hello Ruby,
    chan you explain wht the Checkbox should indicate?
    Regards
    Gregor

  • PCUI -- BP being changed in relationship tab -- Generate Pop_Up on Enter

    Hi All,
    In the current project, SAPCRM 5.0 being used with both GUI and PCUI.
    The current requirement is that in the relationship tab, one of the relationship partner details would be changed in PCUI. As soon it is changed, that is when the user selects enter, a pop-up needs to be displayed with a message.Once the user selects the option, the option selected needs to be updated in another field in one of the other tabs at the same time and the pop-up closed.
    This functionality has been implemented in GUI and needs to be done in PCUI.
    Currently, I have inherited the class "cl_bsp_acc_accmod_relations" and redefining the read method.
    The logic that was used for validating the conditions in GUI, I am using the same thing here in the read method. But I am unable to get the BP details from the PCUI to proceed further.
    Is this the correct approach? Is there a BADI which can be used for this requirement?
    Is there any alternate approach?
    Thanks,
    Ravi Kiran

    I'm not sure why this warning is no longer appearing, but you can turn it back on like this:
    # Open the [[Options window]]
    # Click on the "Tabs" section
    # Click the checkbox next to "Warn me when closing multiple tabs"

  • PCUI 4.0, Search Help Required for New field

    Hi everyone
    I am working in CRM 4.0 Sales Order application
    We created a new field in CRM sales Order in Header level in SAP GUI through EEWB.
    The search help for the new field is working fine in SAP GUI. We want to add the same field with F4 help functionaliity in PCUI as well.
    The field has been added in structure CRMT_BSP_SLS_OD1_General. It also shows domain value for the field however Origin of input field ie empty
    The field has been added in PCUI and is successfully showing data inputted in SAPGUI
    However we need search help functionality for the field
    i tried these two steps
    1) i checked on domain value checkbox and changed the field from input to dropdown. However the dropdown is empty in PCUI. Whenever i check box domain values for some field then all the possible values in SPA GUI are displayed in PCUI, however this is not working here.
    2) I put Value_table in F4 of the field
    This is also throwing up empty values
    Am i missing something in this case
    Please let me know how to go about it
    TIA
    Asad

    Hi Frederic
    Thanks for your response
    I am not sure what is meant by regenerating the field group in this case
    I added the entries for my view in the field group and generated the layout of the field group (If this is what you mean)
    The field is working fine. I am able to save values to the field and able to see values saved in GUI.
    I haven't linked search help of the field in PCUI
    I am not sure how to go about it.
    I used the data element in the structure for the field.
    The data element has Domain entry in <b>Entry Help/Check</b> of the structure
    If i check the Domain Value checkbox in my field group then the domain values should be available in dropdown if the field is dropdown
    However i am not able to see the possible values of the field (It is present in SAP GUI)
    Does something else needs to be done in this case
    TIA
    Asad

  • PCUI list view

    Hi Experts,
    In my PCUI application, in the list view of items for a sales order, all the values for all the columns get populated in the structure(read method of the class). But when it is getting displayed, for the first line item, one field-value is not getting displayed. For the rest line items, that column values are getting displayed. Only for one line item, the value is not getting displayed though the value is present.
    What could be the error and where to fix it.
    Regards,
    Sangeeta.

    Hi,
    For the field to appear in List View first check whether Not in List is not checked.
    Then in the list view there will be a link personalize. click on that and check the checkbox visible for ur field.
    Regards,
    Purushothaman.

  • Google search checkbox for New Zealand has gone missing off later Firefoxes, we are losing sales due to this.

    Earlier versions of Firefox had option boxes under the Search bar. The options were: Either a global search, or Search New Zealand (in my case).
    This has gone, and businesses like mine in NZ are losing customers.
    Is there some way that people can be reminded to search for products in their own countries before searching globally?
    Thanks

    Hi Frederic
    Thanks for your response
    I am not sure what is meant by regenerating the field group in this case
    I added the entries for my view in the field group and generated the layout of the field group (If this is what you mean)
    The field is working fine. I am able to save values to the field and able to see values saved in GUI.
    I haven't linked search help of the field in PCUI
    I am not sure how to go about it.
    I used the data element in the structure for the field.
    The data element has Domain entry in <b>Entry Help/Check</b> of the structure
    If i check the Domain Value checkbox in my field group then the domain values should be available in dropdown if the field is dropdown
    However i am not able to see the possible values of the field (It is present in SAP GUI)
    Does something else needs to be done in this case
    TIA
    Asad

  • Checkbox item: How to get all values checked?

    See http://htmldb.oracle.com/pls/otn/f?p=24317:46
    The report query is simply
    select
    'One' one,
    'Two' two,
    'Three' three,
    'Four' four
    from dualThe checkbox item is a named static LOV with STATIC2:ONE,TWO,THREE,FOUR and a Source value of ONE:TWO:THREE:FOUR so that all boxes appear checked when the page is first rendered.
    All the 4 columns have a column condition like
    instr(':'||:P46_COLS||':',':ONE:') > 0to ensure that column is rendered only if the corresponding checkbox is checked.
    The report has Dynamic column headings with the following PL/SQL function body
    return 'ONE:TWO:THREE:FOUR';To my (pleasant) surprise, this works very nicely. When column TWO is conditionally not rendered, its corresponding column heading is also skipped with no effort on my part. Nice.
    Question:
    Instead of "hard-coding" that string ONE:TWO:THREE:FOUR in the 2 places I mentioned above (checkbox item source and report heading), is there a way to access the "all values checked" version of that LOV item so that it will dynamically pick up the latest LOV changes? The way I have done it currently, if I change the named LOV, I need to also change those 2 places where I have hardcoded the values.
    Any ideas? Thanks

    Scott:
    I thought about that but the LOV has dozens of values, each with a verbose display value and a return value of the column name (upto 30 characters) and the display values are still being "worked on" by the users.
    So, the "all columns" string would be a big, unweildy string that would be hard to edit.
    It is much easier to edit, resequence and generally work with a Shared Component LOV defined as a Static LOV because you get that nice page (4000:4111) where you can read everything nicely formatted instead of a STATIC2:<big long string>!
    Can I have my cake and eat it too?!
    Thanks

  • Use of Checkbox in Report for calculation and determine checked records

    Dear All,
    Application Express 4.0.1.00.03
    I have a Report based on Invoice table which displays unpaid Invoices.
    Also I have added one check box (Not a column in Invoice field) to each row of the report query, the user will be check to pay the Invoice, on checking of the Invoices I need to
    1. Calculate the total of Invoice Amount for selected Invoices.
    2. After selection of Invoices User will click on a Button which will open the Payment Form (New Page or Same Page Region),
    but some way I need to know the Invoice No. of each Invoice row selected so that I can use all the selected Invoice No's for creating the Payment.
    3. Any way to add a button on each row of the Invoice that will be used for the Payment of that Invoice only.
    One way can be to create a column to save the check box value which I am aware of, but am looking for other alternate if possible.
    Hoping for some good solution.
    Thanks & Regards
    Arif Khadas

    vee wrote:
    You would need to make the amount column(the one which is used for total) editable so that its value can be accessed easily from JS. You can made it read-only if required ( apex_item.text(2,INV_RENT_VALUE + INV_OTHER_VALUE ) ?? ) .
    How can I make it read only, there is no such attribute which can be set for report column as it exists for Items.
    Also Now I have the following report query:
    SELECT  INV_LSE_NUM                      "Contract No.",
            INV_FROM_DATE                    "Collection Date",
            INV_FROM_DATE                    "From Date",
            INV_TO_DATE                      "To Date",
            INV_RENT_VALUE + INV_OTHER_VALUE "Invoice Amount",
            INV_AMOUNT_PAID                  "Amount Paid",
            INV_RENT_VALUE + INV_OTHER_VALUE
                           - INV_AMOUNT_PAID "Balance",
            INV_NUM                          "Invoice No.",
            'Pay'                            "Pay",
            APEX_ITEM.CHECKBOX (1, INV_NUM)  "CB_PAY",
            APEX_ITEM.TEXT (2, INV_RENT_VALUE + INV_OTHER_VALUE - INV_AMOUNT_PAID)
                                             "BAL"
    FROM    RE_INVOICE
    WHERE   INV_COM_NUM    =  :P0_COM_NUM
    AND     INV_RENT_VALUE + INV_OTHER_VALUE > INV_AMOUNT_PAID
    AND     INV_LSE_NUM    =(SELECT TO_NUMBER (C001)
                             FROM   APEX_COLLECTIONS
                             WHERE  COLLECTION_NAME = 'LEASE'
                             AND    SEQ_ID          = TO_NUMBER (:P24_SR_NO))The Next thing is the HTML Header for the Page:
    <script language = "JavaScript" type="text/javascript">
    total = 0;
    $('input[name=f01]:checked').each( function(){
      parent_row = $(this).parents('tr:first');
      amt = ( parent_row.find('input[name=f02]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f02]').val() );
      total += amt;
    $s('TEST',total);  -- Test is an Item on the Page.
    </script>Also I checked from the Page source "CB_PAY" and "BAL" have names f01 and f02 respectively.
    Even now when I check or un-check the Value in TEST item is not displayed as required.
    Anything more is required, what am I missing.
    Thanks & Regards
    Arif Khadas

  • Problem with checkbox

    hi expert,
    i create report with check box at begin of write data in tab. after execute, i get report like this
    1  (checkbox)  xxxxx x xxx xxxxxxxxxxxxxxxx
    2  (checkbox)  xxxxx x xxx xxxxxxxxxxxxxxxx
    3  (checkbox)  xxxxx x xxx xxxxxxxxxxxxxxxx
    4  (checkbox)  xxxxx x xxx xxxxxxxxxxxxxxxx
    when user select check box of desire line and press F8 button system will display only selected line.so i set check box default as 'X'.
    Data:
      chk_box          type c value 'X',
      chk_box_val,
    write:/1 1tab-xxxxx,
             30 chk_box as checkbox
    like this all checkbox in report is checked
    so i will update field in 1tab to flag that this line is select. if user execute report and don't unmark, all line should display in second execute.
    but it don't, nothing display. where is incorrect in my code?  for easy to look, this is a relative part of code in my report. 
    at line-selection.
        perform selectline.
    at pf8.
        perform printnewheader.
        perform printselectline.
    form selectline.
      data xnum like rmtab-runno.
      read current line field value chk_box into chk_box_val.
      if chk_box_val is initial.
        chk_box_val = 'X'.
      else.
        chk_box_val = space.
      endif.
      modify current line field value chk_box from chk_box_val.
      if chk_box_val = 'X'.
        xnum = 1tab-runno.
        loop at 1tab where runno = xnum.
          1tab-chk = 'X'.
          modify 1tab.
          clear 1tab.
        endloop.
      else.
        xnum = 1tab-runno.
        loop at 1tab where runno = xnum.
          clear 1tab-chk.
          modify 1tab.
          clear 1tab.
        endloop.
      endif.
    endform.             " selectline
    form print-doc-select.
      loop at 1tab where chk = 'X'.
       write:/ ................
    endform.
    once i arrange code like this, but it's nothing
    *at line-selection.
    *    perform selectline.
    at pf8.
        perform selectline.
        perform printnewheader.
        perform printselectline.
    (later is as same as above quote)
    thank you in advance. point for good advise.
    Regards,
    Kittisak.

    HI,
    First you have to describe the number of lines in list.TO do this
    declare like this
    And I modified your code. and dont mention the default value for check box.U can select dynamically by using the below code.It gives a good user interface. Based on the below code u can modify your code .Please check it out once...
    data:
      w_lines type i,    " number of lines                                   
      w_linno type i.    " line number
    at line-selection.
        perform selectline.
    at pf8.
        perform printnewheader.
        perform printselectline.
    form selectline.
      data xnum like rmtab-runno.
       describe list number of lines w_lines.
      do w_lines times.
      read current line w_lineno value chk_box into chk_box_val.
      if chk_box_val is initial.
        chk_box_val = 'X'.
      else.
        chk_box_val = space.
      endif.
      modify current line w_linno value chk_box from chk_box_val.
      if chk_box_val = 'X'.
        xnum = 1tab-runno.
        loop at 1tab where runno = xnum.
          1tab-chk = 'X'.
          modify 1tab.
          clear 1tab.
        endloop.
      else.
        xnum = 1tab-runno.
        loop at 1tab where runno = xnum.
          clear 1tab-chk.
          modify 1tab.
          clear 1tab.
        endloop.
      endif.
    clear chk_box .
    add 1 to w_linno.
    enddo.
    endform.             " selectline
    form print-doc-select.
      loop at 1tab where chk = 'X'.
       write:/ ................
    endform.
    regards
    Kiran
    Edited by: Kiran Saka on Feb 6, 2009 5:50 AM

  • Using a Radio Button to Disable Multiple Checkboxes

    Hi everyone,
    My name is Christian and I am trying to design a form using Adobe Designer 7 that when a user selects a group of two radio buttons (one marked Macintosh and one marked Windows) it automatically disables 3 or 4 checkboxes of various software applications further down the page.
    The idea is if you select the Windows radio button, you would not be able to select the iWorks or StuffIT checkboxes (as that is Mac software), but conversely if you check Macintosh radio button the iWorks and StuffIT checkboxes activate but the Office 2003 and Microsoft Money checkboxes deactivate (because that is Windows software).
    Im not really a developer so any assistance would be appreciated. Thanks for reading and have a great day! :-)
    Christian

    I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm.  Get the most simple case working then add the javascript, css, and CF code to make your application work.
    <!--- contents of input.cfm --->
    <html>
    <head>
         <title>Input</title>
    </head>
    <body>
         <form action="action.cfm" method="POST">
              Choose type: <br />
              <input name="type" type="radio" value="male" />     Male<br />
              <input name="type" type="radio" value="female" /> Female<br />
              <input type="submit" />
         </form>
    </body>
    </html>
    <!--- content of action.cfm --->
    <html>
    <head>
         <title>Action</title>
    </head>
    <body>
         <cfif form.type eq "male">
              Type is male.
         <cfelseif form.type eq "female">
              Type is female.
         </cfif>
         Here is a cfdump of the form variables:<br />
         <cfdump var="#form#" />
    </body>
    </html>
    Message was edited by: JR "Bob" Dobbs
    Added sample for action.cfm

  • Read-only radio button or checkboxes save as null

    Hi,
    I have a form with some fields that are editable by 1 group of users and read-only for another group in certain conditions.
    Before the header there is a fetch process to retrieve values from tables. So most fields (read-only & editable) are populated including checkboxes & radio buttons.
    All users can edit at least 1 field on the form.
    When the save button is pressed a PL/SQL process runs to save the data.
    The save works if the field is editable.
    If the field is read-only and text it also works.
    But if the field is a radio button or checkbox a null is saved in the table.
    Any suggestions on how to get the PL/SQL to pick up the read-only radio buttons and checkbox values?

    Hi,
    I had the same problem in my application and I found another solution instead of using two items. I'm using a computation on page processing that makes a select on my table to get the value for the checkbox. I'm doing this with the same condition as my read-only condition on my checkbox item so I can get the database value when it is lose in the submit process.
    Also, I found a difference in the html code between the read-only state of the item and the standard state.
    Original state : name="p_v07" (7 because it's the seventh item on my page)
    Read-only state : name="checkbox"
    I tried to modify this using firebug in execution of the page but without success, the problem is still there.
    Patrick
    Insum Solutions

  • Creation of Dropdown "custom" field in PCUI

    Hello
    I have created a new field through EEWB and want to place it in both form view and list view of Accounts transaction (crmm_account) in PCUI. This field should be come as a drop down field and should have specific values to be picked from the domain associated with its data element.
    Problem is
    1. When I converted it into a drop down field through Blueprint tables, it is showing properly in form view but "not" in list view. In list view It creates a "drop down list" but without any option values.
    2. If I dont create a dropdown field then it gets displayed as a Input Field with "F4" option list. However, it lets a user enter ANY value in the Input field. (Ideally it should allow user to put only the values being shown in F4 options list like Country Field)
    Any input to resolve the issue is welcome.
    Regards

    Mani,
    You may want to look at IMG and check your entries for the respective fields.
    If you dont want users to enter any value, check and mark the respective control attributes for those fields.
    Hope that helps.
    Bala Nair

  • Urgent: need help in creation of a simple PCUI application

    Hi Experts,
        I am new to this PCUI. i need the help of urs.
    My requirement is
    >>>>To create a simple PCUI application.This contains a Search and Result list.
    >>>>Then i have to find the BSP coding or the HTML coding for the the PCUI
      application.
    >>>Can anyone please tell me the detailed steps for creating a simple PCUI application that displays the search and a result list???
    >>>Then how can i find the BSP coding or script(such as HTML,XML..) coding used for the  application.
    Pls help me , its urgent.... If anyone have any kind of useful documents pls mail me in my id <b>[email protected]</b>
    Thanks & Regards
    Sudhansu

    Hi Experts,
    I am new to this PCUI. i need the help of urs.
    My requirement is
    To create a simple PCUI application.This contains a Search and Result list.
    Then i have to find the BSP coding or the HTML coding for the the PCUI
    application.
    Can anyone please tell me the detailed steps for creating a simple PCUI application that displays the search and a result list???
    Then how can i find the BSP coding or script(such as HTML,XML..) coding used for the application.
    Pls help me , its urgent.... If anyone have any kind of useful documents pls mail me in my id [email protected]
    Thanks & Regards
    Preethika

Maybe you are looking for

  • How much ram supports my macbook pro late 2011 2.4 ghz

    they say 8g ram maximum...but i want to upgrade to 16 g ram ..... i use my mac in my music studio ... http://www.amazon.com/Corsair-Certified-Laptop-Memory-CMSA16GX3M2A1333C9/dp/B006 ON5KZC/ref=sr_1_6?ie=UTF8&qid=1353977003&sr=8-6&keywords=ram+for+ma

  • One to many relation doesn't work

    I tried without success to get a simple one to many relationship to work. The select works fine but I still have problems with insert. I have two tables on a existing schema: 1     ANAG (ID_ANAG primary key,...) 2     INDI (ID_INDI primary key, ID_EN

  • Validation business rule

    Hi, I am trying to reconcile account 1 with accounts 2 to 8 with a validation business rule. When I define the rule, I have one line with account 1 and account 2 filled and another 6 lines with only account 2 filled. This creates an error on validati

  • Button on Report (.pdf report)

    Hi Friends! I want to have a button in my report and by pressing I want to see my .pdf report located in a specified path. Is it possible ?, if..then how ? Kindly help me in this interesting assignment and let me know if I have conveyed properly ? Ma

  • Pageflow - data binding for collection size

    Assume {pageFlow.students} is a collection. What data binding to use to write the collection size to the jsp page? The following does not work <netui:label value="{pageFlow.headers.size}" /> Thanks, Jack