Web DynPro ABAP - Disable a entire row in the Table of the output.

Hi Web Dynpro Experts,
Need ur Help.!
I have a requirement to disable the one row of the table in web dynpro ABAP
For example . my table is like
Field1   Field2
A           Success
B            Failure
C            Failure
I need to allow the User to select the record only if its status is Success,if status is Failure then i should not the allow user to select.
This enabling and disabling of the rows should be done before displaying on to the Screen.
Please suggest me ASAP.
Thanks,
Akila

Hi Akila,
please try this.
Create a node (Eg: TEST) of type 0-n and 0-1. Take attributes attr1, attr2, flag (of type BOOLEAN). Create a table and give the TEST node as datasource. Now using "Create Binding" create columns for attr1 and atte2. Now, bind the read-only property of the columns with flag attribute.
Now, in the INIT method, set the table values like this:
For examle, if you want to disable row having test2,
ls_test-attr1 = 'A'.
ls_test-attr1 = 'TEST1'.
ls_test-flag = ' '.
append ls_test to lt_test.
clear ls_test.
ls_test-attr1 = 'B'.
ls_test-attr1 = 'TEST2'.
ls_test-flag = 'X'.
append ls_test to lt_test.
clear ls_test.
ls_test-attr1 = 'C'.
ls_test-attr1 = 'TEST1'.
ls_test-flag = ' '.
append ls_test to lt_test.
clear ls_test.
lo_test->bind_table( lt_test ).
By doing this, 2nd row gets disabled.
Also, if you already have the internal table with values, based on some condition you can change the value of flag and bind the table to node.
Hope this helps you, Please let me know in case of any queries.
Regards,
Manogna

Similar Messages

  • Web dynpro abap - Editable alv - check row

    Hi, I'm working with an editable ALV table and I'd like to check wether the row the user has just entered is valid.
    IF the entered row is not valid, then it should disappear from the table.
    ATM i'm trying something out in WDDOMODIFYVIEW,

    Hi,
    Yes you have to do coding in WDDOMODIFYVIEW only.

  • Web dynpro abap applications in filtering and sorting in tables

    Anyone can send me some simple applications based on
    webdynpro abap filtering and sorting concepts in tables....

    >
    cranjith kumar wrote:
    > Anyone can send me some simple applications based on
    > webdynpro abap filtering and sorting concepts in tables....
    First of why not use the ALV Component.  It has built in filtering and sorting so that you don't have to program those aspects.  It also has a nice UI for letting the user design the sorting and filtering that they want. 
    If you need sorting and filtering in the table UI element instead, you don't need anyone to send you sample applications. There are already some in your system.  Have a look at the component WDR_TEST_SORT_TAB_PROP.  Also have a look at the documentation on table events:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/2d/390e422dfcde2ce10000000a1550b0/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/2d/390e422dfcde2ce10000000a1550b0/frameset.htm]

  • Combine Adobe Flex 2 with Web Dynpro ABAP

    Does somebody know if there is a way to call a WDA component from an Adobe Flex 2 application or the other way around? I think within a Portal it should be possible by creating 2 iViews and let them communicate through input and output events (portal events).
    However I am looking for a way without having a portal available. Example: I have created a WDA application that displays customer information in a simple ALV. When I click on a row I would like to call a Adobe Flex component which shows the information in a very nice graphical chart that we cannot create in WDA because it is too complex and in Adobe Flex it is possible.
    Looking forward to your input!
    kind regards
    Angelique

    Hi  Angelique,
    "Flex integration into Web Dynpro is not available to customers yet. The last I heard, it is supposed to be made available for Web Dynpro Java in Q2 of 2008 and made available for Web Dynpro ABAP in Q3 of 2008."
    Please go through the below links for related information :
    Re: How to Flex + Web dynpro Screen
    Re: Flex with WebDynPro
    Regards,
    Mary Joseph

  • Is there a way to get Web Dynpro ABAP available in a ECC 5 - NW2004 env?

    We will start developing an offline Adobe interactive form with email functionality for ECC 5 on very short terms. We have to decide asap what client/server configuration we will use for this new functionality. We will also develop an online interactive form and an offline form with upload/download functionality for ECC 5. We will have to setup a client/server configuration that supports all 3 scenario's. 
    The main reason we would like to have NW2004S available for ECC 5 is because we would like to develop the forms in Web Dynpro ABAP instead of Java. Guided Procedures is a "nice to have" too, but not really important at this moment.
    At this moment we think we have 3 options:
    1. Investigate if we can make an Adobe solution in WDA for ECC 5 with our current setup
    2. Upgrade ECC 5 - NW 2004 -> NW 2004S to get WDA functionality available
    3. Install ADS for NW 2004 to be able to create Adobe solutions in ECC 5, then we will have to develop in WDJ
    1. We have the following configuration up and running: NW2004S - CRM 5 and ADS installed: both Java and ABAP stack work properly. We are wondering if we could develop an Adobe interactive form in Web Dynpro ABAP in CRM 5 using BAPI's to retrieve the data from ECC 5 and put it on the form for display or update purposes. Also we have questions about the email functionality: do forms have to be send by email via a mailserver from ECC 5 via CRM 5 and back or can this be done directly from and to ECC 5 or is it not possible at all? Also we don't know if we can develop an online interactive form for ECC 5 via CRM 5. The current setup is not a real option for us right now as we see far too many uncertainties. Does somebody can give us some answers on the possibilities we are looking for?
    2. My assumption is that upgrading ECC5 to ECC6 can be compared with upgrading 46C to ECC5. If my assumption is correct, this would mean an upgrade project with a 6 months leadtime within our company. If my assumption is wrong, please let me know. This upgrade will happen some day, but it has not been planned for 2007. So unfortunately, for us this is not an option at the moment because we cannot wait that long. I was hoping an upgrade of NW2004 -> NW2004s was not that time consuming but I guess this can be compared with a SAP upgrade project like 46C -> ECC 5.
    3. Installing Adobe Document Services for NW2004 is not our preferred solution but we think it is the safest/easiest solution at this moment to get started with Adobe interactive forms for ECC 5 on short terms. We will have to develop in Web Dynpro for Java, so be it.
    WDA is not a must but if we can find a client/server setup which gives us the possibility to build in WDA for ECC 5 functionality, that would be great. That's why I dropped the question on SDN. I want to be sure we choose the best option possible at this moment for us.
    kind regards
    Angelique

    Yesterday I got new information through SDN which sounds very interesting:
    There are technical repository integration points between ECC and the underlying SAP NetWeaver release. To get Web Dynpro for ABAP, you could install a stand-alone SAP NetWeaver 2004s system (without ERP) side-by-side.
    Somebody else wrote: we set up a 3-system landscape of NW04s and have configured single sign on and trusted RFC's so that users can hit the webdynpro pages via the portal, and those systems make the necessary queries to the backend systems via RFC.
    Does somebody know if this stand-alone system could be a proper solution for our situation? Does somebody foresee any problems related to Adobe LiveCycleDesigner or ADS?

  • Web Dynpro ABAP Stylesheet - Portal Integration

    We have a Web Dynpro ABAP being displayed through a Portal iView.  The Portal server and the Web Dynpro ABAP server are separate.  Our problem is in getting the Web Dynpro ABAP to use the stylesheet of the Portal.
    We can make this work by forcing an external stylesheet (via application parameters, global Dynpro settings, or passed on the end of the URL), but we have to hard-code the full URI of the Portal stylesheet.  This would be very hard to manage if we hard-code every iView's CSS location (or set every individual Web Dynpro's application parameters), and we want instead for the Portal to supply whatever the user's stylesheet is dynamically. 
    So what we want is: if we change the Portal stylesheet, the Portal would just pass the new stylesheet URI to our ABAP Web Dynpro iViews without manual modification of the iViews.
    Here is an example of what works:
    http://our-abap-server.com/sap/bc/webdynpro/sap/cprojects?sap-ep-themeroot=https://our-portal-server.com/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/ourportalstylesheetname
    Shouldn't the Portal iView automatically pass sap-cssurl or sap-ep-themeroot to Web Dynpro ABAP?  We have "Supply Portal Stylesheet" checked on the iView… it just doesn't pass anything to the Web Dynpro ABAP.  Why wouldn't SAP pass this parameter dynamically to the Web Dynpro ABAPs?  Is this a product error? 
    There seems to be a great deal of confusion about this on the SDN message forums... I think this may be the core issue.
    We are using a 7.0 SP13 Portal with an ECC 6.0 SP12 backend.

    Now that you mention it, I ran into that exact same issue  -- the application parameters didn't work for hard-coding the theme.  The fix ended up being the web server semicolon thing I mentioned earlier (that was why the parameter didn't make it to the backend). 
    The themeroot is automatically sent to the backend from the portal, so you shouldn't really have to manually send it as a parameter anyways.
    I'd suggest talking to your network guys.  Also this could be the result of the SP you are on (we're on 13 for the portal and the backend system -- maybe this feature doesn't work in some earlier SP's?).  There are also some options to force the theme as a WD application parameter on the backend side, which you could check into.  Details on those are here:
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb57412df8091de10000000a155106/frameset.htm]
    Also you could look at the requests being made by installing HttpAnalyzer in your browser.  You can inspect "post" parameters going from the portal to the backend system.  One of those posts (the first one to the backend system) should contain the parameter sap-cssurl (same kind of thing as sp-ep-themeroot).  This is where our problem turned up as this parameter was not being posted.
    Lastly, make sure that your frontend portal and backend portal are in the same domain.  For instance:
    frontend.domain.com
    backend.domain.com
    If your backend and frontend are in different domains it messes all kinds of things up, including stylesheets I think.  If you can't get around this, then read about domain relaxing (but I highly recommend getting the domains the same).
    When we started, ours were:
    portal.dx.company.com
    sap.company.com
    This created all kinds of problems.  Putting our systems in the same domain with the same protocol and fixing our little semicolon web server problem fixed basically all of our portal complaints.  Up until that time, we had also had many problems with session management (backend sessions were getting stuck until the HTTP timeout).
    That's all I know.   Good luck.

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • Problem with image loading in flex (with web dynpro ABAP integration)

    Hi,
    I am working with integration of flex and web dynpro abap. I am facing unusal problem while loading the images. I have the images in the MIME folder of web dynpro application. Since my swf file and all the images that I want to use are in the same folder(MIME), I am accessing them giving just the image name as source for the image in flex.
    By this method I get the images sometimes, but not everytime. So could anyone suggest me alternative method.
    Regards
    Prashant Chauhan
    Edited by: Prashant8809 on Jul 17, 2011 11:56 AM

    Hello Prashant,
    you need to mention the full path as source for the image in flex.
    ex. if your WD application name is Z_TEMP and image file name in mime folder is 'image.jpg' then you need mention the source in flex as
    http://servername:50001/sap/bc/webdynpro/sap/Z_TEMP/image.jpg
    Hope this solves your problem.
    BR, Saravanan

  • Integration of Adobe Flex with SAP Web Dynpro ABAP

    I am new to adobe flex development. i am following a tutorial prepared by
    Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
    He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
    How to fetch the data?
    Please Guide how to proceed.

    Hi Laxmikanth,
    For Adebo Flex help..
    Please go through Thomas tutorial..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
    and ...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
    Hope it might helps you
    Thanks,
    Kris.

  • Topics needed in abap to learn web dynpro abap

    Hi experts,
        I have experience on web dynpro java..planing to learn web dynpro abap,so could you please tell me what are the areas in abap i should learn before starting web dynpro abap.
    regards
    rahul

    The main difference between WD Java and ABAP, would be coding using ABAP OOPS.
    So, firstly, go through SAP documentation on ABAP OOPS/Classes.
    There are some concepts like configuration controller specifix to WD ABAP. However, once you get a understanding of coding in ABAP OOPS you should be able to understand the new concepts.
    Also, look at developing and working on application in WD ABAP. Hands-on experience is critical to develop your skills, not just in WD ABAP.
    Regards,
    Sharath

  • How is Web-dynpro ABAP application is accessed in web.

    Hi
    How are pages in ABAP-Webdynpro rendered in web, how does they get converted in HTML.
    As far as my understanding, ICM forwards the request to Application server ABAP, if request is for ABAP webdynpro page.
    After that does ITS play a role to render these pages in Web ??

    First of all ITS has absolutely nothing to do with Web Dynpro ABAP. 
    When you design a Web Dynpro ABAP application an XML based meta-data representation of the User Interface is saved in the repository.  Then at runtime we have a Web Dynpro ABAP rendering engine (written completely in ABAP Classes) uses this meta-data to render corresponding HTML and JavaScript content that gets loaded into the HTTP Response object. We actually have multiple rendering engines for Web Dynpro (xBCML for Flash and the NWBC) as well as the ability to replace and upgrade these rendering engines over time without disrupting the applications.  This is what is currently happening with 7.01 - we have rewritten the HTML/JavaScript renderer with a new version called LightSpeed.

  • Simple example for web dynpro abap

    send me one simple and easiest example with screen
    shots in web dynpro abap......

    Hi cranjith kumar ,
    The following r PDF & PPT docs on simple and easiest example with screen
    shots in web dynpro abap.
    Web Dynpro for ABAP: Tutorials for Beginners
    Web Dynpro for ABAP: Tutorials for Beginners [original link is broken]
    Developing ABAP applications using Web Dynpro Configuration Scenario
    http://www50.sap.com/businessmaps/8729920B31E343F099B71340B15F06DB.htm
    Web Dynpro for ABAP
    http://www.vnsg.nl/temp/508773747/A1-WDA_Themadag.pdf
    Web Dynpro for ABAP in SDN
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9 [original link is broken]
    Developing ABAP Applications Using Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/d41b25d2216babe10000000a1553f6/frameset.htm
    Web Dynpro ABAP: Development in Detail
    http://help.sap.com/saphelp_nw2004s/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm
    WDA Sample programs & tutorials
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Web Dynpro ABAP Demonstration Videos
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Want documents for   Web Dynpro ABAP

    Hi All ,
    Can anyone please send  me the Docs or link for   Web Dynpro ABAP .
    Thanks in advance
    Rahul

    Hi Rahul,
       Welcome to the interesting world of Web Dynpro ABAP !
    For Web dynpro ABAP you will require SAP ECC 6.0 onwards and WAS 7.0
    is a must. It has very good future propspects as this is best UI technology.
    In web dynpro ABAP we follow MVC(Model View Controller) architecture.
    In this object oriented ABAP is used to provide background functionality. Here, your ABAP skills can be utilized to the fullest. Programming in web dynpro ABAP is different than conventional ABAP programming. Here we strictly follow MVC architecture in terms of controller interface. Also there are many wizards available so that we can directly pick the code from wizards.
    e.g We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    Have a look at the following SDN WDA Wiki . There you can find all relevant information.
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
    First of all start doing SAP SDN tutorials .
    Create some compenents with BAPI , Component usage and ALV .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
    Wait not just that SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
    See packages like SWDP_DEMO , SALV_WD_DEMO
    there are many more .
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    The specified item was not found.
    Also you can search weblogs on web dynpro ABAP.
    Hope this will help you.
    Cheers,
    Darshna.

  • How to fix few rows in ALV after filtering on a column in Web Dynpro ABAP

    Hi,
    I have the following requirement:
    In an ALV, when i filter based on a column, then this filter should not be applied to 2 of its rows.
    These rows relate to totals. The totals are manually calculated as they require other component information too.
    Along with the filter result, these total rows have to be displayed.
    Let me know in case ALV in Web Dynpro ABAP supports this functionality.
    Regards,
    Rekha

    Hi,
    ALV table does not support this functionality.
    You can display the total in an another table instead.
    I had the same requirement with total and had to display the totals separately.
    Thanks,
    Feroz

  • In Web Dynpro ABAP, Can we merge two cells of a row in a table ?

    In Web Dynpro ABAP, Can we merge two cells of a row in a table ?

    Hallo Jagannatha,
    the new table feature is available in SAP NetWeaver 7.0 EhP2 (SAP ERP 6.0 EhP5, SAP Business Suite 7i2010) named 'TableMultiEditorCell'. See [SAP Online Help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9b/46bb0d339b42cc8d30636ca0c9f5b6/frameset.htm] for more details ...
    "This UI element is a table cell variant that enables several UI elements to be placed in one table cell. This type of cell can be used for "one click actions". ...
    Regards, Bertram

Maybe you are looking for