Doubt in wda

Hi Experts,
How to get the current clicked row value from  a table in WDA when my lead selection is selected on
another row.

Hi,
use the following code,
data: l_node type ref to if_wd_context_node.
data: l_elem type ref to if_wd_context_element.
data: l_index type i.
l_node = wd_context->get_child_node( 'NODENAME' ).
i = l_node->get_lead_selection_index( ).
l_elem = l_node->get_lead_selection( ).
l_elem->get_static_attributes( importing static_attributes = ls_stru ). " contents of the selected row
Kindly ask WDA related Qs in Webdynpro ABAP forum
Radhika.

Similar Messages

  • Is it possible to create Adobe Interactive form in ECC 5.0 IDES using WDA?

    Hi every body,
    I am trying to create an adobe interactive form in ECC 5.0 IDES using Web Dynpro for ABAP. But I am facing some configuration problems. My doubt here is -> "Is it possible to create abobe interactive forms in ECC 5.0 IDES using Web Dynpro for ABAP ?"
    Please help me out.
    thanks in advance,
    best regards,
    naveen.

    Hi Naveen,
    ECC 5.0 is NW04 - not NW04s so you don't have WDA at all as you should be able to see from e.g. it not appearing in the list of possible programming objects in transaction SE80.
    You'd need ECC 6.0.
    Double-check your SAP_BASIS release in menu System > Status > Component Information.  If it says 6.40 then that's no good... you need to be on 7.00.
    You can still use Java WebDynpro with ECC 5.0 of course.
    Regards,
    Jocelyn

  • Can we use bdc in WDA?

    hi,
          can we use bdc in WDA? if yes please tell me how to do?

    Dear Murthy Ganti  ,
    yes it is possible by creating the Functional module for your BDC recording . i.e you will get the code generated by the BDC recording . create a FM using the Code .
    for example the below code is your recoding code
    Assign your import parameters to your code
    wa_iq02-MATNR      =  MATNR.
    wa_iq02-SERNR      =  SERNR.
    wa_iq02-GWLDT_O    =  GWLDT_O.
    append wa_iq02 to itab_iq02.
    clear wa_iq02.
    LOOP AT itab_iq02 INTO wa_iq02.
    PERFORM bdc_dynpro      USING 'SAPMIEQ0' '1000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RISA0-MATNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RISA0-MATNR' 
                                      wa_iq02-matnr.                      " IMPORT parameters
        PERFORM bdc_field       USING 'RISA0-SERNR'
                                      wa_iq02-sernr.                        "IMPORT parameters
    CALL TRANSACTION 'IQ02' USING bdcdata MODE 'N' UPDATE 'S' MESSAGES INTO IT_MSG.
    IF sy-subrc EQ 0 .
    *      CONCATENATE 'Material No ' matnr  sernr INTO text.
          return_message-MESSAGE = 'Address was updated '.
         else .
           return_message-MESSAGE = 'Address Was Not Changed '.
        ENDIF .
    ENDLOOP .
    and check your FM is working fine . and consume it in WDA through call function or service call
    revert back if any doubt
    regards
    chinnaiya P
    Edited by: chinnaiya pandiyan on Jul 20, 2009 7:13 PM

  • WDA-Flash Data transfer Frequency

    Hi
    I have some WDA program with Flash Island inside.  I share some objects (tables) from WDA to Flash, and Flash make graphics.
    So i have in WDA conext the requiered nodes (for each table) wich i fill in WDA and share it to Flash.
    My doubt is about Data transfer frequency between WDA and Flash:
    If i change a node content, ie. i fill the node again with the new table content, this node is shared automatically with Flash, thats good when i change all records from that node (table).
    1. If i have a NODE_A with 100 records ,  if i only change the content for one specific record , does
    all the node content (all 100 records) are transfered to Flash ?   I guess yes.
    2. But if i have NODE_A (100 records) and i have other NODE_B  (150 records) and i change the NODE_A content  ; does NODE_B content are transfered also to Flash even this node has not changes ?
    3. Suppose i have other Node (not table) with attribute to enter Date wich is shared to Flash ,  if i change that Date ,   does the nodes NODE_A and NODE_B  are also transfered to Flash even these have not changes  ?
    4. If i do not make any change to nodes shared with Flash , when i make any event (press match code) or change some node or attribute wich are not shared to Flash   ;  does nodes NODE_A and NODE_B and Node Date are transfered also to Flash ?
    I know these are several questions, i need to know about this because if the nodes are transfered alwasy and with all node content transfered,  then i will need to have minimum data in that nodes shared to WDA and even i will need to clear/refresh  (object->invalidate) that nodes when Flash receives the data, this in order to have good performance and server work for the application.
    Does somebody can give me some 'light' about this please ?
    Best Regards
    Frank

    Hi Frank,
    From my past experience with FlashIslands, what i understood is:
    The context data is transferred from WDA to Flash whenever there is a change in any of the context nodes shared with Flash.
    And when ever there is an event fired from Flash to WDA.
    please find the answers for your questions below:
    1. Yes all the node content will be transferred. Actually not only this node where you have made the change, but also all the nodes data which are shared with Flash will be transferred.
    2. Yes. please see point 1.
    3. Yes
    4. As far as i know, No. As the change is in the content of a node which is not shared with Flash, there wont be any data transfer from WDA to Flash.
    I hope this is clear!
    Best Regards,
    Srilatha

  • How to extract Source from  .wda file

    Hi WebDynpro Experts,
    Do you know how to extract source from .wda file. I appreciate your help and will award points for correct answers.
    Thank you
    Maruti CR

    Hi,
    U wont be able to extract source code from wda file.It contains
    only class,xml and mf  files.The only thing that u would be able
    to use is class file which u need to convert to .java file
    by .class to .java converter.
    Hope this will clear ur doubt.Still if u want to try just extract
    wda file using winzip.go on doing this untill u find unzip files.
    Regards
    Surender Dahiya

  • BSP Doubts

    Hi Experts,
    Can anybody can explain to following doubts
    1) Does the BSP htmlb library is ligther than the WebDynpro ABAP, I mean which page loads faster
    2) Is Custom javscipts are supported in WebDynpro ABAP.
    3) Is RTL Rendering can be controlled in WebDypro ABAP ?
    4) Is there any client-side regular expressions can be used in the BSP ,otherwise cl_abap_regex is the only options to validate which will becomes a server side validation (ABAP Stack )
    5) Is there any control of the BSP input elements if we declare data type as numeric, system should allow the numericals only
    6) Can BSP HTMLB is supported by the Opera, Chrome and Safari browsers
    7) How to handle the Back Page problem, everytime it is getting session out whenver tried using BACK page in IE.

    Hi Naga,
    the sort of questions you are asking require a good understanding of the underlying technologies to not only get the answers but to understand the implications of these answers as well.
    I encourage you to "have a go". Roll up your sleeves and try everything you have asked about yourself. You will learn much more than the simple answers to these seven questions.
    To start you on the way you should understand that the BSP runtime framework provides server-side scripting for the ABAP web application server. In this regard BSP applications can be seen as no different to .JSP, .ASP, PHP or any other similar model. The BSP runtime environment sits on top of the Internet Communication Manager (ICM). The provided tag libraries such as HTMLB execute on the BSP runtime. These tag libraries are typically used to produce HTML and Javascript code that is returned as part of the HTTP response to the web browser for rendering and execution by the browser. You do not have to use these tag libraries, or any others you build yourself, if you do not want to.
    The WebDynpro ABAP runtime also sits on top of the ICM - but in most other respects is very different from the BSP runtime. At runtime a WDA application produces as a response a data stream (lets assume it is XML) that is passed to a purpose build renderer to produce the specific user interface elements for the client application. Most people are used to the WDA client being a web browser. As web browsers have varying and somewhat limited rendering capabilities the WDA renderer for a web browser runs on the server as part of the WDA runtime and translates the XML response from the WDA application into the appropriate HTML and Javascript before it is transmitted to the web browser. If the client application includes its' own WDA renderer the server simply transmits the XML datastream to the client application which then renders the UI itself. This is how the desktop version of NetWeaver Business Client works. It uses MFC libraries to render the UI natively on windows clients.
    If you have absorbed the two paragraphs above you should realise a few things. Firstly you can send anything you like in the response to a HTTP request using the BSP runtime. Secondly you have essentially no control over the response you send to a WDA HTTP request.
    So to quickly address your specific questions....
    1) Does the BSP htmlb library is ligther than the WebDynpro ABAP, I mean which page loads faster
    That would probably be true when your client is a web browser - it almost certainly would not be true if you were using the desktop version of the NetWeaver Business Client or the WDA Flex client.
    2) Is Custom javscipts are supported in WebDynpro ABAP.
    No
    3) Is RTL Rendering can be controlled in WebDypro ABAP ?
    Yes - I think. Have a go and find out.
    4) Is there any client-side regular expressions can be used in the BSP ,otherwise cl_abap_regex is the only options to validate which will becomes a server side validation (ABAP Stack )
    Sure - you can put any client-side code you like in a BSP response.
    5) Is there any control of the BSP input elements if we declare data type as numeric, system should allow the numericals only
    Sure - use client-side scripting to do this. Alternatively create your own BSP tag library to do this.
    6) Can BSP HTMLB is supported by the Opera, Chrome and Safari browsers
    The HTMLB tag library only supports specific browser versions. Check SAP documentation for these specifics. But you do not have to use these tag libraries and you can create your own if you like as well.
    7) How to handle the Back Page problem, everytime it is getting session out whenever tried using BACK page in IE.
    I assume you are talking about a stateful BSP application. This is a web browser issue. If you build a stateless BSP application you can prevent this and there are other techniques to prevent it with stateful pages as well. Personally I recommend avoiding stateful BSP applications.
    Cheers
    Graham Robbo

  • WDA - FITV_POWL_TRIPS Enhancement

    Hello Experts,
    I am trying to enhance WDA FITV_POWL_TRIPS .  When I goto person's 'All My Expense
    Reports' tab - there is column which displays attachments which are attached to corresponding trips. I want to add my custom code to how the attachments are displayed.
    I am new to POWL and have studied feeder class CL_FITV_POWL_FEEDER_TRIPS but could not get a clear idea in which method is the code written for the 'All My Expenses Report' tab.
    Any suggestion would be great help to me.
    Thanks.

    Dear Vasu.
    I have the same issue tha you had.
    I posted my doubt with the following issue:
    Personalize Table ALV POWL in the Portal Travel
    Regards
    Carmen G.

  • Doubt in fbl1n transaction

    hi i have a doubt....
    in fbl1n transaction, there are open items and cleared items.
    in it the cleared items  for certain document types such as invoice etc is not present in the open item table (bsik)
    however the cleared items for document types such as general  voucher its present in the open items table (bsik)
    is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
    plz exlain!

    Hi
    There are 2 tables(open and Closed Items)  in FI for Account Payables and Account Receivables and GL accounts
    1.Account payables: BSIK is Open Items and BSAK is Closed items
    2.Account Receivables; BSID and BSAD for OPEN and closed items
    3/GL accounts :  BSIS and BSAS  for Open and Closed Items
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Doubt in creation of a new object

    Hi All,
                 I have one doubt in creation of a new object.If a new object is to be created and it is not a subtype
    of any existing object, then what should we enter in the Program field for creating the object?
    I hope I am clear with my question.
    Thanks in Advance,
    Saket.

    Hi Saket,
    Following will be required for created a custom business object.
    1. Object Type - ZTEST (Internal Techincal Key)
    2. Object Name - ZTESTNAME (Technical Key Name)
    3. Name - TEST (Name of BO, it is used while selecting the object type)
    4. Description - (Short Description of BO)
    5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
    6. Application - A or B.. etc (Area to which your BO is related)
    Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
    Regards,
    Gautham Paspala

  • Doubt in sender mail adapter

    Hi Everyone,
    Can we read and validate the attachment of the mail.If so how to do it.
    Thanks in advance,
    Sakthi

    Hi Sakthi,
       Please refere the below links:
      http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/52b240ac052817e10000000a1550b0/frameset.htm
    Let me know if you have any doubts regarding this.
    Thanks,
    sekhar.

  • PI' RFC  Connection pool  doubt.

    Hi PI exports:
    i have a doubt about  pi' RFC  Connection pool ,pi RFC receive channel can set the conn pool size ,but when start the rfc receiver channel ,is there always only one Connection  pool ,or there is only one Connection  pool  instance?
      thinks
    Edited by: kevin liang on Oct 19, 2009 6:45 AM

    Hi,
      Connection poolins size means how many number of connection you want to make open to send data to ECC, We can define maximum number of connection in Receiver RFC Adapter,Go to additional parameters section and define Max Number of connection give the number there,thats it.Internally it works as Connection poolin mechanism.
    Regards,
    Raj

  • Display Request Form is not triggering in Standard SAP WDA : FITE_REQUEST

    Hi Guru's,
    In our Travel Scenario in NWBC, Once the employee finish the Travel Request he is unable to take print out by clicking on Display Request Form. Nothing is happening when we click on "Display Request Form".
    The Form I am using is FITP_REQUEST_FORM. It is displaying perfectly when I execute via SFP. The problem I am facing is nothing is happening when I click on "Display Request Button" in WDA
    Application:
    FITE_REQUEST
    Application Component:
    FI-TV
    Component:
    FITE_VC_REVIEW
    Window:
    VC_WINDOW
    View:
    REVIEW_VIEW
    Application Component:
    FI-TV
    Give me some lights to solve this issue
    Thanks,
    Namsheed.

    Hi Samuli,
    Issue is solved. It was Program Error from SAP side.
    Now All the buttons are working fine and I am able to print PDF also.
    Solution is implement the note 2031585 - SAP NWBC ABAP Runtime Patch 40.
    System Details : ECC 6.0 NetWeiver 7.4 ,
                                EHP 7 , SP-Level 06
    Thanks a lot for all your suggestions.
    Regards,
    Namsheed.

  • Small Doubt Regarding SY-MANDT

    Hi All,
         SELECT changenr FROM cdhdr CLIENT SPECIFIED INTO CORRESPONDING FIELDS OF TABLE it_cdhdr
                                             WHERE mandant = syst-mandt
                                             AND   objectclas = 'MATERIAL'
                                             AND   objectid   = wa_matl-matnr
                                             AND   tcode      = 'MM02'.
         I have written the select stament as shown above.
         In this i have a doubt like adding a field sy-mandt  in the where condition will increase the Efficiency of program or not.
    regards,
    raghu.

    Hi..
    No doubt the efficency would be affected but from business point of view there will many  things that need to be checked as in:
    If you are viewing data from CDHDR and CDPOS which is client specific then you are not viewing complete data.
    These tables give us and document changes made to a particular object in SAP but if anything is cross client like company code(lets assume) then changes to it wont be visible in all the clients..
    so there can be some key information you can miss out while working on some of the objects.
    else in this case its good to make query cross client.
    regards
    vishal

  • Doubts with control break statements on internal table loops (AT/ENDAT)

    Hi, i've had a couple of doubts for a long while which I hope someone can clarify today:
    1) I know how to use the AT statements, however, i'm not sure I get correctly what this part of help regarding this commands means:
    <i>"The control level structure with internal tables is static. It corresponds exactly to the sequence of columns in the internal table (from left to right). In this context, the criteria according to which you sort the internal table are unimportant."</i>
    I've always sorted the internal table before the control break and it works that way. For example:
    SORT ITAB BY EBELN EBELP.
    LOOP AT ITAB.
      AT NEW EBELN.
    *   Code for the order header
      ENDAT.
    ENDLOOP.
    If I <b>don't</b> sort the internal table, it doesn't work! (i get dupplicated processing). In the example, if i have more than one register with the same EBELN and they're not consecutive, the header gets processed twice. I really don't get that part of the help text.
    2) I know this: <i>"At the start of a new control level (i.e. immediately after AT), the following occurs in the output area of the current LOOP statement:
    All character type fields (on the right) are filled with "*" after the current control level key.
    All other fields (on the right) are set to their initial values after the current control level key."</i>
    My doubt is: WHY is that this way? Because sometimes (most times) I need those fields INSIDE the statement! So when that happened i've solved it in one of three ways:
    LOOP AT ITAB INTO WA_ITAB.
      WA_ITAB_AUX = WA_ITAB.
      AT NEW FIELD.
        WA_ITAB = WA_ITAB_AUX.
    *   ...Rest of the code for the first register
      ENDAT.
    ENDLOOP.
    LOOP AT ITAB INTO WA_ITAB.
      AT NEW FIELD.
        READ TABLE ITAB INDEX SY-TABIX INTO WA_ITAB.
    *   ...Rest of the code for the first register
      ENDAT.
    ENDLOOP.
    * (Without AT)
    LOOP AT ITAB INTO WA_ITAB.
      IF WA_ITAB-FIELD <> FIELD_AUX.
        FIELD_AUX = WA_ITAB_FIELD.
    *   ...Rest of the code for the first register
      ENDIF.
    ENDLOOP.
    Is there any problem with this way of coding? Can be done better?
    Thank you very much in advance.

    Hi..,
    1)
    See if u sort the table on a field on which u r using AT ENDAT .. then all the records which are having the same value for that field will form a group or those reocrds will be at one place.. so when u sort the table for all the records  AT ENDAT  will get executed onli once..
    If u dont sort this table on this field then all these records will be at different places and in between there may be records with different value for this field.. so this AT ENDAT will get executed for each record !!
    2)
    No u cannot use the Right hand fields of the field in the table .. Because these AT events work as Group based operations... So till that field on which AT ENDAT is working it breaks that record into two groups.. One is the left hand fields including that field.. and right hand fields as another group.. and makes the right hand group as stars ****.  Thats y u can observe that even any one field in the left hand group changes the AT ENDAT will get executed  !!!!
    Hope u understood !!!
    regards,
    sai ramesh

  • LOOP DOUBT INSIDE  PACKAGE

    CREATE PACKAGE EMP_PKG AS
    CURSOR EMP_CUR IS
    SELECT EMPNO,DEPTNO,SAL,HIREDATE
    FROM EMP
    WHERE DEPTNO=30;
    PROCEDURE P_EMP;
    PROCEDURE P_GET_SAL(V_EMPNO NUMBER);
    PROCEDURE P_GET_LOC(V_EMPNO NUMBER);
    Now inside my Package Body
    INSIDE THE MAINPROCEDURE P_EMP
    I WILL BE CALLING THE BELOW TWO PROCEDURES
    PROCEDURE P_EMP
    BEGIN
    FOR I IN EMP_CUR LOOP
    P_GET_SAL(I.EMPNO);-- DO I NEED TO LOOP AGAIN IN P_GET_SAL PROC?
    P_GET_LOC(I.DEPTNO);
    END LOOP;
    END;
    NOW WHAT IAM DOING IS
    in my P_GET_SAL Procedure is
    PROCEDURE P_GET_SAL(V_EMPNO NUMBER)
    V_SAL EMP.SAL%TYPE;
    BEGIN
    FOR I IN EMP_CUR LOOP
    SELECT SAL INTO V_SAL FROM EMP
    WHERE EMPNO=I.EMPNO --DOUBT HERE
    END;
    I WANT TO KNOW WHETHER I NEED TO LOOP AGAIN
    HERE OR INSTEAD OF THAT
    PROCEDURE P_GET_SAL(V_EMPNO NUMBER)
    V_SAL EMP.SAL%TYPE;
    BEGIN
    SELECT SAL INTO V_SAL FROM EMP
    WHERE EMPNO =V_EMPNO;
    END;
    SINCE iam calling V_EMPNO WITH CURSOR FROM MY
    MAINPROCEDURE ..
    WILL THE PROCEDURE USES THE CURSOR VALUES
    AND LOOP ITSELF FOR EVERY EMPLOYEE TO
    GET THE SALALRY ?
    PLEASE LET ME KNOW SINCE MY PACKAGE IS MORE THAN 3000
    LINES I cant proceed unless its confirmed i can
    do so ..

    Hi all,
    Thanks for Looking into my Problem
    I Got answer by MySelf ..i dont need to loop again my sub procedures
    if i try to do that iam getting the error
    ERROR at line 1:
    ORA-06511: PL/SQL: cursor already open
    Thank you all once again ..

Maybe you are looking for

  • How can I read a TDMS 2.0 file using nilibddc.dll

    I have written some Matlab software to read TDMS files into Matlab using the MATLAB TDM example and the nilibddc.dll. However, when I create a TDMS version 2.0 file with Labview 2009 I cannot read it into Matlab as I get the error ERROR: TDS Exceptio

  • During Upgrade not able to login using login password

    Dear All, We are upgrade R/3 4.7 to ECC 6.0. now we are in adjustment modification phase. so when we are trying to login to adopt the modification, it's not allowing us to login. showing upgrade is still running. so please help on this. Regards Deepa

  • Lean Order Functionality - Sales Order Create

    Hi Gurus, Can anyone please confirm Service ECC_SalesOrderCrtRC1 or ECC_SALESORDERERPCRTRC2 creates a sales order through Lean Order Functionality. My requirement was like sales order should be created through Lean Order Functionality. We are in the

  • Visual Studio 2008 extract reports from Crystal Ceports 2008

    Hi, I am a little new with CR2008, I need to find a way to create a report from crystal using VS2008 (C#). The program will get a rpt file or/and other parameters and need to create a reports. The reports can be a doc or pdf file. 1) Is this can be d

  • Ugly JSF Code

    Hello, I want to delete an entity that is referenced by a GET id attribute. I want to add a button/link in the web page to do this job. I did it using the JSF expression language and the h:outputLink referencing to a Servlet: <h:dataTable value="#{pr