Reg. checkbox by group and simple types

Hi,
I have checkbox by group UI elemnet.
I have binded the text property of the checkbox by group to a context attribute and its type property is selected from a simple type.
In the view layout on NWDS its showing the label names which i hav given in the simple type. but when i deploy it and run it in browser its just showing only one check box. its not showing the label names.
how to get the label names, using simple types. i,m able to get it using code.
how to get it by simpletype???
thanks, suresh

hi,
in case of check boxes, it will not work with
a simple type
write code similar to this according to your requirement
in wdDoModifyVIew();
if(firstTime){
String[] names = {"one","two","three"};
for(int i=0;i<names.length;i++){
IPrivateCheckView.IXElement nelem =wdContext.nodeX().createXElement();
wdContext.nodeX().addElement(nelem);
nelem.setName(names);
where X is a node ,
Name is attribute under node X
of type string
bind the texts property of the check box group to the Node X
Regards,
Satya.
Edited by: Satya on Nov 7, 2008 8:34 AM

Similar Messages

  • LSO- Course Groups and Course Types are not displayed in Spanish

    We are having issues with the
    data like Course Groups and Course Types not being displayed in
    Spanish on the Learning Iview.
    The Data in the Course Catalog is loaded in Spanish and
    English and I can see the Course Catalog in Spanish when logging on in Spanish in the back end.
    SAP asked us to apply few notes as below
    #1247020 OTR: Texts are not transported
    #448220 OTR: Text is not determined/incorrect text is displayed
    We have applied the above as well and we had no solution.
    However the Problem is NOT related to Texts/Labels as these are displayed in Spanish.
    The Problem is related to the data like Course Groups and Course types not being displayed in Spanish in the front end.
    SAP also came up with the below which did not help either.
    The system will pick the language texts in the sequence
    maintained in the view T778L. If the system does not find text in
    login langauge , the application will search in the sequence
    maintained in the view T778L .Therefore you can change the sequence
    of the languages in the above view as per your requirement.
    Let me know if anyone has a solution to this or has encountered the same problem.

    Is this production or is this in a development system? The dropdown displayed comes from the standard tables. If it's working in development system and not in production, then the chances are higher that the translation didn't go through.

  • Person DFF Context Value based on 2 criteria (Business Group and Emp Type)?

    Hello,
    We're implementing HR module into multiple business groups.
    I need to define context value for DFF "Additional Personal Details" based on 2 criteria Business Group ID and Employee Type
    Any idea how to do it?
    Thank you
    Elie

    Hello Elie,
    I am not sure on it,However have you tried creating a context with combination of Business Group and Person Type using merging,
    business_group_id || "_"|| person_type_id And structures would be something like 80_2112 Business Group id = 80 and Person Type id=2112.
    It may resolve your issue if this works out.
    Regards,
    Saurabh

  • Filtering R/3 Material Groups and Material Types

    Hi,
    I am trying to filter the Material groups and material types during master data upload from R/3 to SRM 4.0
    I am tried doing the following:
    1. In Txn R2AR2, i set up the request for DNL_CUST_PROD1 for MARA-MATKL(Material Group) & MARA-MTART(Material Type)and then run the Txn R3AR4 with DNL_CUST_PROD1. The replication was successful, but it pulled in all the R/3 backend material groups and material types.
    Now i deleted the replicated material types and Material groups in SRM using SRM Std reports and this too was successful.
    2. Now i tried another method - In Txn R3AC3, i selected the Object DNL_CUST_PROD1 and i added table MARA and set up the filter requirements for MARA-MTART(Material Types) and MARA-MATKL(Material Groups), i synchronized the filters and then when i selected the object DNL_CUST_PROD1 in Txn R3AS for initial upload, even this is pulling in all the material types and material groups from R/3 without filtering
    Can anyone please let me know the exact procedure to filter out the R/3 Material types and material groups during initial upload of this data into SRM 4.0
    Thanks

    Hi,
      Before starting the INitial load for MATERIAL,for filetr settings ,Go in tcode R3AC1.
      There select the Object name as MATERIAL and click on the "filter settings" tab.
    There in OBJECT FILTER SETTINGS
    Enter the relevant filter criteria:
    e.g. If you wnat to filter on Material type(MARA-MTART):
    The input will be as follows:
    Table /Structure :MARA
    Field :MTART
    OP :EQ Equality (= Low)
    Low: "Material type name"
    Incl/EXcl: Inclusive defined   
    And then click on the button "FILTER SYNC".
    The filter settings are complete for the Material download.
    HTH,
    BR,
    Disha.
    Pls reward points for helpful answers.

  • CK86_99 and CK86: display purchase group and procurement type

    Hi Gurus,
    I have a request
    Can I  insert the purchase group and procurement type in the layout of tcode CK86_99 and CK86 when we have a material item ?
    I have seen that we can define the control parameters for the Product Cost Controlling Information System.
    Tcode OKN0 but we have only the basic fields and we haven't the specific fields for division.
    Thanks in advance
    Marco Ferrari

    Hello Marco,
    I do not think you have any options to change the layout except for the fields that are available in the transaction screen. It is a standard report and is not a one based on report painter layouts. It would be helpful if you can consult an ABAP person who can throw some light or create a report for you.
    Kind Regards // Shaubhik

  • ISU Change Register Group and Rate type and Rate fact Group using BAPIs

    Hi,
    Can anyone please help me on how to use ISU_O_DEVICEMOD_OPEN and ISU_S_DEVICEMOD_CHANGE for changing the Register Group and Rate type and Rate fact Group.
    Thanks,
    John

    Hello,
    Can an expert please reply to this thread? I have the same issue.
    Thanks,
    Andre

  • Description of material group and material type

    hi,
    i want to know which are the tables for the description of material group and material type.
    Edited by: Alvaro Tejada Galindo on Apr 2, 2008 3:49 PM

    table name :MARA
    Field name:
    Material group:MATKL
    for Material description
    Table name :MAKT
    fieldname:MAKTX
    Rewards plz..........

  • Standard smartform for application V5-Groups. and Output type LL00.

    Hi,
    I want the name of standard smartform for application V5-Groups. and Output type LL00.
    I need to print Ship to party address of Multiple Deliveries.
    Can anyone tell me the standard form name and Print program name.
    Regards,
    Rajender

    Hi Lavanya,
    SD_LOADING_LIST is a script.
    Can you please provide me with a standard smartform as we need to develop this in smartform only.
    Thanks,
    Rajender.

  • Account group and Account Type.

    Hi all,
    Could you please tell me the diferences between <b>GL Account group</b>  (<i>by example cash, expense, revenue</i> ....) which we define in IMG - Financial Accounting - General Ledger Accounting - G/L Accounts - Master Records - Preparations - Define Account Group and <b>Account Type</b> (<i>by example: Vendor, Customer, Material, GL Account</i>) which is in the screen "create account type" IMG - Financial Accounting - Financial Accounting Global Settings - Document - Document Header - Define Document Types ?
    Thank you very much.
    Sylvecast

    Hi
    Account Group Controls the Master records. It controls the number range of Master record and Field status group (Supress, Required, Optional and Display) also. SAP follows a Grouping principle all throughout SAP to handle the Master Records that may be in GL, AR AP any thing. See to create a GL Account group you define at OBD4 there itself you assign the Number Range or those groups which also controls Field Staus of GL Master Records. And for Creating AR and AP Master Records you create at OBD2 and Vendor at OBD3 which will also controls Field Status Group of And Number range of Master record. The only difference between GL and AR/AP is assigning of number range. For GL will specify at OBD4 itself but for AR/AP we need to create a number range at FBN1 then assign to AR And AP at OBD2 and OBD3 respectively.
    One more thing. Remember only Field Status group of Master recard (OBD2, OBD3, OBD4) only contain Display option but not to Posting Key or Field Satus Group (OB41 or OBC4). I am so specifing becoz I commited this mistake in one interview.      
    In summary, the account group controls:
    i) The number ranges of the accounts,
    ii) The status of the fields in the company code segment of the master record.  Since a chart of accounts contains many different types of accounts, they can be bundled into different "account groups ". Usually one account group bundles 
    accounts with the same tasks within the general ledger, e. g. cash accounts, material accounts, asset accounts, profit and loss 
    accounts,...
    Surendra

  • Authorisation group and document type

    Dear Experts
    I want our users who are using transaction F.14 to be able to process document type ZF only. I have created a role and in the authorisation object F_BKPF_BLA
    i can see field authorisation group and activity. What value i should put in the authorizatuion group object which will allow me to restrict users to work in document type ZF only
    <removed_by_moderator>
    Edited by: Julius Bussche on Apr 30, 2008 4:53 PM

    Hi All,
    Didnt know whether to start a new post or continue this one.  Basically I have the same problem but I seem to be missing something fundamental (and I think it must be obvious!).
    Dev Team:-
    1) New transaction code created ZF10 by which amongst other things should only process the newly created document type ZF.
    Myself (Security Team):-
    1) All of our document types are defined in OBA7. 
    2) The specific document type is ZF that we want to restrict access to.
    3) In V_TBRG I have defined the custom authorisation group ZDTF against object F_BKPF_BLA.
    4) In SU24 I have defined against the custom transaction code ZF10 the authorisation object F_BKPF_BLA to be inserted with Activity values 01, 02, 03; and Authorisation Group ZDTF.
    5) Create new role and add ZF10 which then populates the auth object and values above.
    What I cant see / understand is how the document type is then restricted to ZF in the role as it isnt defined anywhere that the authorisation group ZDTF only allows access to document type ZF.
    Any help on this will be greatly appreciated.  PS Should I have created a new thread for this ?
    Cheers
    Steve

  • Link between code and code groups and inspection type

    Hi All,
    I want to know the link between code and Code Group for UD and inspection type?
    There is an option of choosing Usage selected set in SPRO "Seeting for inspection type".If i dont enter anything there,will it show all the code groups in the system while taking UD?
    Pls guide

    Hi Shreya,
    Yes, the link between code and Code Group for UD and inspection type is specific selection of UD related to specific inspection type.  Ex. there are separate UD codes individually for Goods receipt against PO, Gr against Production or for In-process inspection ets. so If you assign the selected sets at SPRO Inspection type, then while doing UD system will show UD codes related to only that inspection type.
    If you don't enter anything there at SPRO, you will see all the code groups in the system while taking UD and one can get confused in selecting the relevant code.
    so assigning of UD selected sets, plant wise (tick) at " Inspection types" is best practice.
    Best Regards,
    Shekhar

  • Both material groups and material types in search while creating SC

    Hi Guys,
    While creating a shopping cart ,when we are searching for materials that have been replicated in SRM we can search the material based on various parameters like Product ID ,Category ID etc.In SRM the Category ID is normally the material group.Now we want to search the material based on both,material group as well as material type.But i can have only one of these as my category.2 hierarchies R3MATCLASS and R3PRODSTYP exist in the system.But i do i make it work so that i can see both the material type as well as material group while selecting materials to shop.Is it possible??
    Thanks in advance.
    Regards,
    Pawan

    Hi,
    What do you want to see exactly in the Selection screen fro the Product search???In the Std screen,you already have the field called PRODUCT TYPE where you can enter '01'(hierarchy) and  '02'(Services).
    But if you want the field HIERARCHY in the selection screen,then you need to modify the Std search help exit(BBP_F4IF_SHLP_EXIT_PRODUCT_GEN) attached to the Std Product search help(BBPH_PRODUCT)  for  the SHOP tarscn
    You will need to create a Z search help exit(Z FM) and attach that to the Std Product search help given above.In the Z exit,you need to write the logic to display the reqd fields in the Selection screen.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Simple types and structure

    Hi
    can any one tell me Difference between simple types and structure ?
    Thanks,
    Kiran

    Hi Ravi,
            As my concern  there is difference between simple type and structure.
            1SIMPLE TYPEit behave as TYPE  proprty of value attibute .suppose you will create on value attribute as simAtt.then you can put that simple type in your attribute TYPE property .actualy it treated as data type like  string,integer........
    one more thing you want to change data type in your application then you will create SIMPLE TYPE..then put  it TYpe property of value  Attribute
    Ex--you want to change the format of double value using "," then you will change only by  using simple type.
    STRUCTURE---Basically it use for creating for context value node in any context of controller(View,component )if you creat one structure then add  number of attribute .when you create context value node then you binding the structure then automatically it will populate with value node as structure name and attribute .
    SIMPLE TYPE---only put as Data type of Attribute and simple type also use within Structure at time of creation
    STRUCTURE---you can use for DAta type of Apptibute..
    thanks
    Jati

  • Is it possible to have sorting by group and checkboxes in the same ALV

    Hi there,
    Does anyone know whether it is possible to have sorting and group on one field in ALV and checkboxes set on another field in ALV?
    eg.
    Fieldname
    ===========
    Name----
    Text
    Allowance----
    Numeric -> Sort & Group
    Verified----
    Checkbox
    How do I code it if it is possible to have grouping and check box all in one ALV.  Meaning I want some data that are the same to merge using sort, while still having the checkbox available for my other field (Verified).
    Thanks in advance.
    Lawrence

    hi,
    GROUP BY clause is used on database tables with select statement.
    sort is used on internal tables.
    can u clearly explain y u need group by and sort on the same field.
    if u are extracting from dbtable using grou by clause on a field, then no need to sort it again.
    if u want sort u can do it by giveing "sort itab by field". thats not a problem.
    now coming to check box.instead of using SLIS type field catalog, u use LVC type.
    in LVC_S_LAYO, u can fine box_fname.
    while defining layout, u declare a variable of type LVC_S_LAYO
    AND GIVE BOX_FNAME = internal table field name

  • Checkbox group and Java Studio Creator 2 EA 2 - MySQL 5.0.16

    Hi folks, there is a bug while I try to use the checkbox group linked with a table:
    1. I create a form
    2. I put some fields in it
    3. I put a button that saves the data
    I run the application and everything works for the moment
    4.I put a checkbox group and the IDE creates automatically a checkboxGroup1DefaultOptions
    I run the application and everything works.
    5. I link the checkbox group with a table. The table has several fields, Strings and BIGINT(20)
    6. The IDE creates automatically a Long converter (checkboxGroup1Converter - javax.faces.convert.Long) because I use the BIGINT type to hold my primary key
    I run the application and everything works (I can still update my data except the checkbox group as the code doesn't exist yet)
    7. I'll add the code ion the prerender to read the table and reflect the selection of the users on the checkbox group. Check the checkbox group description inside this tutorial http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/learning/tutorials/about_components.html
    ArrayList mySelectedXXX = new ArrayList();
    mySelectedXXX.clear();
    while (resultSet.next()) {
    mySelectedXXX.add(new Long(resultSet.getLong("id_XXX")));
    checkboxGroup1.setSelected(mySelectedXXX);
    .....8. I run the application
    9. The checkbox group reflects the content of the table
    9 I click on the save button
    try {
                XXXByIDDataProvider.commitChanges();
                info("Changes saved.") ;
            } catch (Exception ex) {
                log("Error Description", ex);
                error(ex.getMessage());
            return null;10. I receive the following exception. Here is the code that raises this exception.
    public LongConverter getCheckboxGroup1Converter() {
            return checkboxGroup1Converter;
    Does anyone has an idea about the reason of the bug. I tried to debug line by line but the ConversionUtilities.java does to seem to be reachable by the debugger.
    I think that the assignement in the prerender method could be the cause of the problem: ...............
    while (resultSet.next()) {
    mySelectedXXX.add(new Long(resultSet.getLong("id_XXX")));
    checkboxGroup1.setSelected(mySelectedXXX);
    =====================================================
    Exception Handler
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: java.lang.NullPointerException
      null
    Possible Source of Error:
       Class Name: com.sun.web.ui.util.ConversionUtilities
       File Name: ConversionUtilities.java
       Method Name: convertValueToList
       Line Number: 421
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.web.ui.util.ConversionUtilities.convertValueToList(ConversionUtilities.java:421)
    com.sun.web.ui.component.Selector.getConvertedValue(Selector.java:143)
    com.sun.web.ui.component.Selector.getConvertedValue(Selector.java:74)
    javax.faces.component.UIInput.validate(UIInput.java:638)
    javax.faces.component.UIInput.executeValidate(UIInput.java:849)
    javax.faces.component.UIInput.processValidators(UIInput.java:412)
    javax.faces.component.UIForm.processValidators(UIForm.java:170)
    javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
    javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
    javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
    javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
    javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
    com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    com.sun.web.ui.util.UploadFilter.doFilter(UploadFilter.java:179)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    =====================================================

    Hi Abdelkrim,
    Try to place variable ArrayList mySelectedXXX
    to SessionBean and change your prerender code to something like that to reflect changes:
    //prerenderer method
    // you need this check in order to execute this code only first time page is rendered
    if (getSessionBean1().getMySelectedXXX() == null) {
        getSessionBean1().setMySelectedXXX(new ArrayList());
        while (resultSet.next()) {
            getSessionBean1().getMySelectedXXX().add(new Long(resultSet.getLong("id_XXX")));
        checkboxGroup1.setSelected(getSessionBean1().getMySelectedXXX());
    }Also you'll need to execute getSessionBean1().setMySelectedXXX(null); when you leave the page.
    Roman.

Maybe you are looking for