Web Dynpro ABAP: How to do checkboxes in table column?

Hi,
In Web Dynpro for ABAP, I have a table, where one column consists of check boxes, and the user should be able to check some boxes in some lines. In the context of my view, I created a node tied to a DDIC structure, with some attributes. The attribute where I want to see the checkboxes is of type boolean. In the layout I create an element of type table. Then I create the binding to the context node and for the columns I use cell editor of the appropriate type, that is, checkbox. However, when I test my application, there are no checkboxes at all. What am I doing wrong?
Thanks,
Ira

>
Jenny Karunakaran wrote:
> Hi Jung,
>
> Thanks for the reply. But I dont know how to assign value set to this attribute(i.e. Context atribute to which filter value property is bound). Can I use a supply function for this ?
>
>
> Regards,
> Jenny
No. A value set and a supply function are two completely different things. You use this Context API to populate the value set for an attribute:
IF_WD_CONTEXT_NODE_INFO=>SET_ATTRIBUTE_VALUE_SET
Value Sets are also how ByKey UI elements (like the DropDownByKey) are built.  Here is a help document that discusses value sets - but in the context of the ByKey UI elements.  The process is the same for creating the value set however:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bb/69b441b0133531e10000000a155106/frameset.htm

Similar Messages

  • Web Dynpro ABAP: How to access the content of a mime object?

    Hi everyone,
    does anybody know how to access the content of a mime object of a Web Dynpro component? I added a XML file as mime object to a web dynpro component. Now I want to read the content of this xml file within a method of the component controller. The code would look something like:
    DATA: xml_content type xstring.
    xml_content = read_mime_object("test_123.xml").
    Any ideas?
    Regards,
    Nils

    dude here's the modification that i've done but I can't still access the content of the properties...
               Mail mail = new Mail();
               String message2 = sqlException.getMessage();
               File file = new File("Add.properties");
               Properties props = new Properties();
               props.load(new FileInputStream(file));
               String[] emailadd = {props.getProperty("emailadd","defaultValue")};
               mail.postMail(emailadd,"An error has occurred, Auto-archive was unsuccessful.", message2,"[email protected]");
               Message was edited by:
    ryshi1264

  • Web Dynpro ABAP: How do I fill dropdown lists?

    Hi,
    I'm doing WD for ABAP and I'm trying to get contents into a dropdown list. I'm using DropDownListByKey. The contents come from a customizing table. I'm not sure where exactly I should add my coding: does it go into a supply function for my context attribute? Or in the method WDDOINIT? Basically, if you could point me towards some sample code, it would make me very happy!
    Thanks, Ira

    Hi,
    see http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4884180951809e10000000a155106/frameset.htm and the examples in the system in WDR_TEST_EVENTS and WDR_TEST_UI_ELEMENTS.
    Regards, Heidi

  • Web dynpro Abap : Icons not display in alv table

    Hi ,
    I want to replace the content of a cell by an icon ,in an alv table.
    I know how I should do it, but my icon is never displayed. There is only an "X" as if the icon hasn't been find.
    Did anyone encountered the same issue?
    Thanks
    Karim

    Hi Kraim,
    I hope that you have followed the [correct procedure|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9] for displaying your icons within the ALV cells. May be you are passing an invalid icon name. Just try check out the dictionary table ICON to ensure that you are using the correct one.
    Regards,
    Uday

  • How to configure SSO for web dynpro ABAP (not web dynpro Java)

    Hi Experts,
        I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
    1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
    2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
         procedure"
       Then deleted all logon procedure other than "SSO Authentication" and saved.
    3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
         signal).
    4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
    After all this settings I opened a browser enter above URL and hit enter but there is an error
    There is no login page. It directly showed this error page. No cookies is saving.
    Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
    How to set the for single sign-on?
    Thanks in Advance
    Regards
    Piyush

    Hi Piyush,
    Pls refer below links,
    Single Sign On with ABAP WebDynpro
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
    Regards
    K.N

  • How to modify themes in web dynpro abap

    How can we identify which css file and class are used in web dynpro abap iview ?? I m new to web dynpro abap application. I need to change the look and feel of the page developed in web dynpro abap.
    How i can use css files to change the UI of the page and how can i reach to the css file and class of  a particular page developed in web dynpro abap. When we run the abap application on browser we don't get view source of it. Please tell me the ways to find the css and class files to modify them

    >
    Narendra wrote:
    > Hi,
    >
    > You can create one .css and .js page of page type Page with Flow Logic.and can make use in your normal .htm page..
    >
    >
    > Regards,
    > Narendra.
    I don't believe that your answer applies to Web Dynpro ABAP.  Page with Flog Logic sounds like BSP.  Please make sure you are posting about the correct technology.

  • How to save file in km using web dynpro abap

    Hi Experts,
    We have a requirement that file should be saved in a folder in km, the name of the folder should be the employee number.
    Could you please tell me how to create folder with employee number in KM and store file in it using web dynpro abap.
    Thanks and Regards,
    Santhoshi.

    Thanks Naga Raju Meesala.
    How come all these methods are deprecated...getEP5User
    Also, since I am building a weddynpro DC, what is the proper way to include these jar files as Used DCs?
    Now proceed in the same way with the variable PORTAL_HOME and add the following .jar files:
    u2022 \lib\prtapi.jar The portal runtime APIs
    u2022 \portalapps\com.sap.portal.usermanagement\lib\com.sap.security.api.ep5.jar The user management APIs of the Enterprise Portal 5.0 are deprecated, but still in use in SAP NetWeaver 04
    u2022 \portalapps\com.sap.netweaver.bc.rf\lib\bc.rf.framework_api.jar KM Repository Framework APIs
    u2022 \portalapps\com.sap.netweaver.bc.rf.service\lib\bc.rf.global.service.urlgenerator_api.jar Repository Framework Utility: URL Generator
    u2022 \portalapps\com.sap.netweaver.bc.sf\lib\bc.sf.framework_api.jar Repository Framework: Repository Services
    u2022 \portalapps\com.sap.netweaver.bc.util\lib\bc.util.public_api.jar Repository Framework Utilities

  • How to see the authorization data of a user in Web Dynpro ABAP

    Hi all,
    if I have authorization problems in a normal SAP transaction I can use transaction SU53 to see the missing authorization objects.
    How can I get the missing authorization objects for a Web Dynpro ABAP application?
    regards

    What about using SU53 again - just log into ABAP system and use the F5 - "other use"r option to select the user having the issues.
    There is unfortunately no way to see this as standard from the WDA application.
    Sorry,
    Chris

  • How to use HR Macros in Web Dynpro ABAP

    Hai All,
         Am new to Web dynpro Abap working in HR req.
           Can u pls help me how to import HR Macros in webdy ABAP.
            It will be very much helpful to me. Pls provide any link or doc if available.
    Thanks in Advance,
    Nalla.B

    Hi Nalla,
    if you can't find any Function Modules or BAPIs as Kris suggested, you would basically do this (conceptionally):
    1. What is your business logic supposed to do (output)  and what information does it need (input) for processing.
    2. Build a class in se24 and implement static public methods with the business logic you defined in (1.).
    3. Call the static methods in your WD4A-Framework.
    If you are unfamiliar with the class builder, make a local class first in se80, in a test program or alike.
    Does this help you a bit?
    regards, Lukas

  • How to call standard report in web dynpro abap.

    Hi All,
       I need the output of one standard report e.g RHXSTR00 on web dynpro abap.
       How can I achieve this?
       Please help!!! Points will be rewarded.
       Thanks in advance!
    Cheers,
    Darshna.

    Hi Darshna,
    The report result is ALV and in most of the cases we generally do not have function modules or any other easy way to get the output.
    In such cases the best approach which we follow is, to run this in background mode and generate the spool and display the ouput in PDF.
    But if intertactive form is not present in your requirement then we need to debug the logic of the report (if no FM or class present) and get the results and display it in the View.
    Best regards,
    Suresh

  • How to Hide ADOBE Toolbar in Web Dynpro ABAP

    Hi Team,
    I have an ADOBE form (Display Only) coded in my Web Dynpro ABAP application which displays data from the context of a view. I want to hide and disable the PDF toolbar. How to achieve this. I saw a method SET_HIDE_TOOLBAR, but don't know where to write code for this. The form is NOT interactive (want this only for printing). We are on Support pack 10.
    Any ideas?
    Thanks for your time

    Hi Sanjay,
    Welcome to SAP Interactive Forms by Adobe
    Rgds,
    Anto.

  • How to fill BI cube with Web Dynpro ABAP Program UI

    Hello,
    I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
    I know that such a functionality exist  in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
    Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
    Many thanks
    Arnaud
    Edited by: Arnaud on Jul 28, 2010 3:32 PM

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • How to put water mark in web dynpro abap Adobe forms

    Hi
    Can any body tell me how to put water mark in web dynpro Abap adobe forms ,
    actually I need to print water mark as back ground in gray color.
    Points will be rewarded of Helpful answer..!
    Regards,
    Sidram

    Hi,
    for more information about layout options in forms, go to your form in transaction SFP, layout view and choose Help -> Adobe LifeCycle Designer Help. There you find information on page layout, e.g. " Objects can be placed anywhere on a master page, inside or outside the content area. As a general rule, do not place objects inside the content area unless your intention is to have other objects laid down on top of the master page objects when the form is rendered. If you are setting up a watermark, place it inside the content area. "
    Besides, there's an Adobe forum where you might get more information for such Adobe questions.
    Regards, Heidi

  • How to display an status Icon in Table UI web dynpro ABAP?

    Hi Experts ,
    How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
    Thanks in advance.
    Regards,

    Hi Laeeq,
    click on table cntrol n place it on the screen..
    now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
    in the PBO..
    loop at internal table and call module in the loop (say) .
    MODULE ICON_DISP.
    now in the module try the foll code :
    module icon_display output.
    check some condition and assign the icon to the variable icon_r
      icon_R = 'ICON_GREEN_LIGHT'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name                        = ICON_R
        TEXT                        = ' '
        INFO                        = ' '
        ADD_STDINF                  = 'X'
       IMPORTING
         RESULT                      = ICON
      EXCEPTIONS
        ICON_NOT_FOUND              = 1
        OUTPUTFIELD_TOO_SHORT       = 2
        OTHERS                      = 3
      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.
    where icon(35) and icon_r(35) type c .
    hope this helps u..
    Regards
    Aparna

  • How to find the BADI'S in Web Dynpro ABAP

    Hi Experts,
    I'm new to Web Dynpro ABAP. Can any one tell me, how to find the BADI'S for standarad components like i.e DEMO_ROADMAP .Please tell me, steps/procedure to find the BADI'S in WDA.
    Thanks ,
    Chaitanya
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Jun 18, 2011 4:30 PM

    Hi Nagaraju,
    There is another fool-proof method to find BADIs while executing a transaction -
    1. Goto transaction SE80
    2. Select "Class / Interface", type in the class name CL_EXITHANDLER and 'Enter"
    3. On the method GET_INSTANCE, create a Breakpoint just after the call to cl_exithandler=>get_class_name_by_interface at the following line - 
    <i>CASE sy-subrc.</i>
    Once the breakpoint has been set, call the transaction you wish to find the BADI for and you will notice that the debugger opens everytime a BADI is about to be called. You could get the name of the BADI from the the value of the variable "EXIT_NAME".
    CL_EXITHANDLER is a service class that is called by standard SAP code everytime a BADI is about to be called. So, setting a breakpoint here should let you know exactly which BADIs are called.
    Hope this helps!
    Thanks,
    Rohini.

Maybe you are looking for

  • Multiple SSID channel question

    I have 2 (for now) Aironet 1231g access points setup. They each have two SSIDs being broadcast on each one, both are the same two SSIDs. The question is, can can two different ssids from a single ap broadcast on the same channel. That means I would h

  • APIS FOR RECEIVING OPEN INTERFACE

    Hi all, Can any one help me regarding APIS for receiving open interface for ASN(Advanc shipment notice) regards SREE

  • Basic help for an Iphone newbie - (Sorry!)

    Hi there, I am thinking about getting an Iphone but I simply cannot find definitive answers for the following. Can you guys help? Am I right in saying that the iphone does NOT have the following:-? Bluetooth Video Camera MMS Facility Sat Nav Facility

  • Smart connect needs a full silent option (no sound, no vibrate) on Z3 D6652 Build 23.1.A.0.726

    I usually use smart connect and NFC tag to fully silent my phone at night time (no vibrate or sound), yet the only option in smart connect is sound, vibrate and priority, and priority mode vibrates. I realise I can now change to full silent mode from

  • Getting into Networking

    I want to start getting into learning about networking and communications, but I have no idea where to begin. Can I get some recommendations on where to start?