RowRepeater UIElement in Webdynpro ABAP

Hello,
I want to create a RowRepeater UI Elements in Webdynpro ABAP and fill a certain number of rows at runtime. I looked at the standard component wdr_test_events -> Row_Repeater View in which there is a node in the context bound to the 'datasource' property of the RowRepeater Element and the node is filled using the supply function which has the following code.:
data l type if_row_repeater=>element_row_repeater_data.
  data t type if_row_repeater=>elements_row_repeater_data.
  data i type string.
  define st.
    concatenate `[ Row` i `: Element &1 ]` into l-&1.
  end-of-definition.
  l-first_line_visible = abap_true.
  do 55 times.
    i = sy-index.
    condense i.
    l-element_1 = 'ICON_STATUS_OK'.
    st element_2_tv1.
    st element_2_tv2.
    st element_2_tv3.
    st element_2_tv4.
    st element_2_in1.
    st element_3_tv1.
    st element_3_tv2.
    st element_3_tv3.
    concatenate `RowDescription for row ` i into l-row_description.
    insert l into table t.
    l-first_line_visible = abap_false.
  enddo.
  node->bind_table( t ).
It's very hard to understand what this code is doing exactly  like the statement:
concatenate `[ Row` i `: Element &1 ]` into l-&1.
like what is the meaning of l-&1?
Any help would be highly appreciated.
Thanks.

data l type if_row_repeater=>element_row_repeater_data.
this statement declares a structure of type if_row_repeater=>element_row_repeater_data
data t type if_row_repeater=>elements_row_repeater_data.
this creates a tbale of the same type as above.
define st.
concatenate ` Row` i `: Element &1 ` into l-&1.
end-of-definition.
this is a macro definition in abap
it is using &1 to pass the parameters when you call this macro
using st <paramvalue>  this passed paramvalue will replace the placeholder &1 in the macro.
e.g. when you call it using
st element_2_tv1.
the macro will replace this statement like
concatenate ` Row` i `: Element element_2_tv1 ` into l-element_2_tv1.
thanks
sarbjeet singh

Similar Messages

  • TextEdit UIElement in webdynpro ABAP

    Hi All, 
    I have used this component for entering comments by user , but it allows only 1000 characters .
    Does TextEdit webdynpro UIElement has limitation to its length?
    If yes what else can be used ?

    Hi,
    you can display it using textview or textedit.
    Declar one attribute of type String
    assign the long text to attribute hving type string and then disply it.
    data str type string.
        CONCATENATE   '  YOUR TEXT HERE ...........'
    wd_Context->set_Attribute(
    name = 'TEST'
    VALUE = STR
    Cheers
    Kris.

  • Manipulate an uielement in webdynpro abap

    Hi.
    How I can manipulate an uielement created in time of design (for example, to do visible or not an inputfield) in layout from a method.I´ve seen this code: data: LR_CONTAINER type ref to L_WD_UIELEMENT_CONTAINER, LR_BUTTON type ref to CL_WD_BUTTON,
    LR_FLOW_DATA type ref to CL_WD_FLOW_DATA.
      LR_BUTTON = CL_WD_BUTTON=>NEW_BUTTON ().
    LR_FLOW_DATA =
    CL_WD_FLOW_DATA=>NEW_FLOW_DATA (element = LR_BUTTON). 
    LR_CONTAINER? =
    view->GET_ELEMENT`ROOTUIELEMENTCONTAINER').
    LR_CONTAINER->ADD_CHILD (LR_BUTTON).  
    But I don´t know how the data 'view' is created.
    Thanks in advance.

    Generally, you should bind UI element properties to context attributes and manipulate the attribute values. This can be done from any controller method.
    Armin

  • Printing window contents in webdynpro ABAP

    Dear fellow SDNers,
    The first reply that may come to your mind for this post is that "This has been discussed numerous times in this forum".
    But the fact is that I am not able to make out how it is possible to print the contents of a webdynpro window. I want a print-screen like functionality wherein i click a button on the view and the contents of the same view, along with the ui elements, values entered everything should open for print-preview in another window. The new window should basically have the same view displayed, with none of the user actions enabled. From there i need to actually print through another button if the user so desires.
    Having done a search, I found that people have suggested ways to do it easily in webdynpro java. But i need to do it in webdynpro abap.
    Also, some posts mention the use of interactive forms. But I could not make out how to pass the entire view displayed to a form at runtime. Do I need to create a form separately and display it using the interactive form ui element? What I could find out was that the values of the context node attributes can be passed on and mapped to an adobe form but that is not what i require. I need the entire view layout as it is displayed.
    Please help me out on this. If this is the exact requirement that is discussed many times in the forum then I request you to please lead me to the right threads.
    Regards,
    Priyank

    >
    Satheesh Soundararaj wrote:
    > Hello,
    >
    > The interactive form can be a good option since the data is automatically populated in the PDF and the user can review it before printing it.
    >
    > There is no need to create a new form from scratch using SFP. Webdynpro will generate a form for you with the help of context. The context data will be passed to the interactive form automatically.
    >
    > 1. At first you need to create a Interactive form UI element
    > 2. Bind the context to the data source of the Interactive form UI element property
    > 3. Maintain the form name in the context attribute and bind it to pdfsource
    > 4. Enter the form name in template and double click it. Select the context as the interface. This will help you out in generating a form automatically.
    >
    > Refer to this sap link for additional information
    > http://help.sap.com/saphelp_nw2004s/helpdata/en/f6/501b42b5815133e10000000a155106/frameset.htm
    >
    > Regards,
    > Satheesh
    Hi,
    i have tried this proceeding.
    But i got an Error: "Could not start Layout Designer"
    So there is a need of a local installation of the Forms Design Tool to use the InteractiveForm-UIElement.

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • Error when Interative Adobe Form is called from Webdynpro ABAP.

    Hi Experts,
    I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
    Line: -
    The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
    The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    Line: -
    When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
    So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
    Thanks in Advance.
    Regards,
    Arun.

    Hello,
    Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
    Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
    check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
    and especially note 999998
    Regards, Otto

  • How to display summation of a field in table displayed in Webdynpro ABAP

    Hi,
    I am displaying a table in Webdynpro ABAP. This consists of data for different PERNRs.
    I need to display the sum of a particular column for each PERNR, after the end of each PERNR data. (table sorted by PERNR).
    Is there any way to display this in the table? If so then please let me know.
    Regards
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Mar 7, 2011 9:20 AM

    Hello,
    I believe you have created the query in SQ00.
    Go to SQ00.
    Select your Query.
    Click on Change
    On the Top Left Hand Corner, you will find "BASIS MODE"
    Click on the Basis Mode Button
    Once you click on Basis Mode Button, you will get "Title"
    Change the title what you are intended to change.
    SAVE the entries.
    Execute the Query.
    You will be able to see new Heading on the Query.
    Hope this helps you.
    Regards,
    Ravi

  • Create PMD (Clinical Document) Document from Webdynpro ABAP

    Greetings everyone,
           I have developed two PMD document category(Tcode :N2T6 ) for Clinical documents in SAP R/3 and somehow with the limitation of R/3 in terms of developing user friendly screens like Auto fill and image processing etc...,Users do not satisfy with it.So we are planning to develop in Webdynpro ABAP.But i am not sure how do we integrate the webdynpro development with IS-H PMD (clinical documents) documents ,also I am looking for BAPI's to create our customized parameterized documents.Any help will be really appreciated.
    Thanks,
    Vignesh

    Hi Vignesh,
    You are right that certain features, such as auto-completion, are not supported in the PMD toolset. But as most of the data captured in those documents have a high importance for treatment process, you need to elobarate whether such a feature has any impact on patient safety. Just a quick one - user types An ... and the system determines matching diagnoses such Anorexia or Angina. In case the user picks the wrong one by accident the patient safety is an issue.
    Other features such as image management can be used. For that you need to use a PMD link module which does provide the image integration. Siemens will ship in the next release EhP6 such a link module for a third party imaging software. Beforehand the link module use with custom development.
    In general Siemens has started a product redesign program named "Smart UI". It's major aim is to provide an up-to-date user interface for all major application within i.s.h.med. The very first application we plan to ship is a web-based electronical medical record.
    In case you still want to develop your application, I'm sorry to say, but there are no BAPIs or Web services in the standard delivery. For changes to existing documents you can utilize the PMD API of generator version 2. But be aware that document creation is not supported by the API. You need to have a document. Also certain user exit developments may brake a change without having the GUI running. For instance a popup in the save routine will cause a dump if no SAP GUI is available.
    Hope this help.
    Axel Biernat
    Siemens AG
    Product Commercialize

  • Where do i find daily posted question on sap abap and sap webdynpro abap

    Hi
    where do we find Daily posted questions on sap abap and sap webdynpro abap in scn sap  so that i can go through the questions and answer them .

    Hi,
    Go to the Content tab of any space and click on discussions. Then you can sort them by date created or any other
    For ex: This link for WDA discussions: - Web Dynpro ABAP
    You can also click on Receive email notifications for any space to get updates on that space.
    hope this helps,
    Regards,
    Kiran

  • How to Download a PDF file from Webdynpro ABAP Screen

    Hi,
    I have developed a input form in webdynpro - ABAP(Not Adobe),
    As I am not using above services here, but would like to download the information I am capturing into a PDF file.
    can I do it without using adobe interactive forms ?
    thanks
    Siddharth

    Hi siddharth,
    My suggestion would be to create your output as a Smartform and call your Smartform in your View.
    For more Click this link.
    [HOW TO DISPLAY A SMARTFORM AS PDF DOCUMENT IN WEB DYNPRO FOR ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]
    Regards
    Bulent

  • How to disable Print button on WebDynpro ABAP ALV

    In WebDynpro ABAP, a standard menu appears around the ALV,  that has a PRINT button and an EXPORT button.
    Is there anyway to disable those buttons????
    Thanks
    John

    Hi John,
    Check the interface if_salv_wd_std_functions. It contains methods which are used to hide the standard ALV toolbar buttons.
    Also refer : Removing "print version" button in alv
    How to hide Print and Filter option from dynamic ALV

  • Is there any way to create a folder in presentation server - webdynpro abap

    Hello,
    My requirement is to create a folder in presentation server using webdynpro abap..
    I tried on this CL_GUI_FRONTEND_SERVICRES classes ..but its getting an short dump.
    Is there any way to create folder using classes / FM..
    Regards,
    Praveen kumar reddy s.

    Hi PRaveen,
    Check this.. WD_TEST_APPL_ACFEXECUTE
    Check Thamos article..
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    go for help..
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on May 10, 2011 2:24 PM

  • Error in opening webdynpro abap application

    hi All,
    I am facing below issue in opening webdynpro abap application, this is first WDA application in production system, please help me in resolving this issue.
    ============================================================================
    Error when processing your request
    What has happened?
    The URL http://grp.mysap.pg.com:9500/sap/bc/webdynpro/sap/zgpuvstapp/~ucfLOADING was not called due to an error.
    Note
    The following error text was processed in the system GRP : A request for server adln5412 has been sent to server adln5411; see Note 1364846
    The error occurred on the application server adln5411_GRP_10 and in the work process 3 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system GRP in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server adln5411_GRP_10 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 3 in transaction ST11 on the application server adln5411_GRP_10 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: BS6402 -l: E -s: GRP -i: adln5411_GRP_10 -w: 3 -d: 20100929 -t: 140306 -v: ERROR_MESSAGE_STATE -e: A request for server adln5412 has been sent to server adln5411; see Note 1364846
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ============================================================================
    Edited by: brahmanandam ausali on Sep 30, 2010 4:11 AM

    Hi Shibli,
    I'm facing the same issue with the POWL only if called from a part of the network outside our country (Italy) so I think it would be a network configuration problem as you suppose. Can you explain us the configuration of the balancer and dispatcher to solve the issue?
    Thanks
    Mattia

  • OnSelect event for a Drop down UI Element in Webdynpro ABAP Select Options

    Hi Experts
    We have built our UI based on the webdynpro ABAP Select Options. We have a requirement that, when we change the value of a drop down box in the UI, I need to hide some fields. Can anybody help me out in handling of OnSelect event of a drop down box built using webdynpro ABAP Select Options. We are on SAP Netweaver 7.0 EHP1.
    Rrgards,
    Srikanth.
    Edited by: Srikanth Kancherla on Apr 29, 2010 10:43 PM

    Hi Srikanth,
    as you seem to be already aware, the component is dynamically built.
    so you would have to enhance the code that builds the element and insert a reference to a new action (enhancement) that could handle the onSelect event.
    What is it about this that you particularly want help with?
    Cheers,
    Chris

  • Position a UI element or container on a specific position in webdynpro ABAP

    Hi All,
    How can we positioned different UI elements on a specific location?. I mean whenever we drag and drop them on a view they seem to take their place automatically. Is there a way to give them a shape ( vertical/horizontal ) & position explicitly . I’ll appreciate a quick reply from you people.
    Regards,
    Laeeq.

    Hi Laeeq,
    There is no way to absolute position something in Webdynpro ABAP (at least not that I've found), but there are some ways you can get things relatively in the way you want them.  Try looking at the samples (SALV_WD_DEMO_TABLE*) and you'll see how they use a combination of transparent containers, groups, and the matrix layout to get things into position.
    It does not allow for very fine grained control, but you should be able to achieve the look you are going for.

Maybe you are looking for

  • Windows 8.1 workstation issues

    Hi I have a new Windows 8.1 workstation connecting to OES 2 SP1 servers using Novell Client 2 SP3 for Windows 8 (IR5). A couple of questions: 1. It appears that the client masks local administrator accounts at login. How are people dealing with singl

  • Transaction IView -- SAP GUI for Windows

    Hi, I have created a transaction iview -- sap gui for windows in my portal. Even thought i logoff from my portal, sap gui session that is opened is not closed. Can any one please suggest me a way to stop sap gui session also when i logoff from my por

  • SALES AREA IS NOT DEFINED FOR CUSTOMERS

    dear All, 1.I got this error while creating Sales Order, "Ship to Party x is not defined for Sales Area". 2. while creating Customer Master I got the following error.   "Sales Area  xxxx  10  20  is not defined for customers," Can any body send soln

  • Contact list blocked

    Since I have update to iOS5 the contact list/address book is locked... can't add a new contact, delete or modify anyone. I have seen el lot of people with the same problem on the Intenet. Is there any solution ? Let me tell you my iPhone 4 is NOT jai

  • OSX VPN takes a while because its loading custom icons

    When I connect via VPN (PPTP) to the OSX Server it takes quite a while to show a directory containing TIF images, because they all have a custom icon (the icon is a thumbnail of the image). It doesn't matter whether I'm in List, Icon, or any other vi