Web Dynpro & Z Table

Web Dynpro can help for update data Z Table via Web ?

Hi,
Yes, From webdynpro we can update ZTable in SAP R/3. For this, create one RFC in SAP R/3. This RFC recieves updated data and in this RFC write code to update this Ztable. At webdynpro side, create RFC model for this RFc. Then, provide data to this model and then execute model.
It wil execute RFC in SAP R/3 with this data.
Regards,
Bhavik

Similar Messages

  • How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table

    Hello,
    How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
    Thanks

    hi,
    Check out this link for sorting in Table.
    Sorting option in WebDynPro ABAP UI Table
    steps to follow :
    ->Have the data in internal table (itab).
    ->Now use sort command for the particular column which ever you want to sort.
      e.g sort itab descending by <Column>.
    ->Now you can bind the internal table with the Context Node which is binded to Table.
    I hope it helps.
    Thanx.

  • How to Email POWL Reports / Apply Web Dynpro ALV Table Layout Settings

    Hi all,
    we want to be able to automatically extract POWL reports and email them to users in a batch job.
    We can refresh a POWL report using FM POWL_QUERY_REFRESH, and access the raw report data using method CL_POWL_QUERY_ACCESSOR=>GET_CACHED_RESULTS.
    However this merely gives us a table of raw data.  No view layout (ie. Web Dynpro ALV table layout) settings have been applied, so there is no hiding or arranging of columns, row sorting, calculations or filters.
    Ideally we would like to be able to specify a query and view layout.  The batch job would then refresh and extract the data, and format the data according to the view layout before sending it on as an attachment in an email.
    Does anyone know how to determine and apply Web Dynpro ALV table layout settings to format table data outside of the Web Dynpro environment ?
    Thanks & regards,
    Grogan

    Hi Grogan,
    Did you find out how this works..i also have the same issue.
    Thanks
    Jdsouza

  • Separatate column of Web Dynpro ALV table using a vertical line

    Hi Experts!
    I have Web Dynpro ALV table and  I have a requirement to add a colored vertical line between two columns as a separator.   
    Is this possible? Is it possible to adjust border width of individual cells?
    I would be grateful for any ideas you may able to share.

    Both could be achieved by creating custom theme. But those changes will be applicable to tables and ALVs in your applications.
    Nitesh

  • How can I set the data binding between Web Dynpro & Database table

    Dear friend,
    I am a beginner of Web Dynpro. I want to develop my simple project like these:
    1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
    2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
    For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
    1. How can I set the data binding between Web Dynpro and Database table ?
    2.  Are there any nescessary steps that I will concern for this case?
    Sorry if my question is simple, I had try  to find solution myself, but it not found
    Thanks in advances,
    SeMs

    Hi,
    You can write your own connection class for establishing the connection with DB.
    Ex:
    public class  ConnectionClass {
    static Connection con = null;
    public static Connection getConnection() {
    try{
    Context ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
    con = ds.getConnection();
    return con;
    }catch(Exception e){
    return null;
    You can place the above class file in src folder and you can use this class in webdynpro.
    You can have another UserInfo class for reading and writing the data into the DB .
    Regards, Anilkumar
    PS : Refer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
    Message was edited by: Anilkumar Vippagunta

  • Regarding Copying of Data From Excel file to Web Dynpro Java Table

    Hi
    Can any body give Suggestions that is how to copy or import Row and Column Values in the Excel file to the Java Web Dynpro Table
    Regards
    Chandran S

    Hi,
    First u should include jxl.jar API in ur classpath.
    ind a Resource variable to FileUpload UI. Then from the Fileupload UI, u can get the Sheet variable as
    InputStream fis=wdContext.currentFileUploadElement().getResource().read(true);
    Workbook wb=Workbook.getWorkbook(fis);
    Sheet sh=wb.getSheet(0);
    This can be easily read to a table by
    for(int i=14;i<34;i++)
         String bId=sh.getCell(2,i).getContents();
         String cId=sh.getCell(3,i).getContents();
         String subj=sh.getCell(4,i).getContents();
                    IPrivate<View>.I<Table>Element el=wdContext.node<Table>().create<Table>Element();
                    wdContext.node<Table>().addElement(el);
                    el.setBID(bid);
                    el.setCID(cid);
                    el.setSUB(subj);
    This example reads the excel from row 13 to 32 and column 3 to 5 and uploaded to a table
    Regards
    Fahad Hamsa

  • Problems in WEB Dynpro The Table doesnt update

    Hi everyone, I did an WEB Dynpro Project and I created a table, and I wanna to fill that table  in the event doinit but it didnt update
    this is my code into a Controller methond
    public void llenaTabla( )
    IPublicVisualizarContrato.IProductDataElement prd = null;
        for(int i=0;i<5;i++)
          prd = wdContext.nodeProductData().createProductDataElement();
          prd.setProveedor("Provedor_"+i);
          prd.setAbasto("Abasto_"+i);
          prd.setAnual("Anual_"+i);
          prd.setConsigna("Consig_"+i);
          prd.setDistribucion("Dist_"+i);
          prd.setTemporada("Temp_"+i);
          prd.setPostVenta("PostV_"+i);
          prd.setNoVendible("NV"+i);
           wdContext.nodeProductData().addElement(prd);
    And I called this method in Another view in methos doinit()
    public void wdDoInit()
        //@@begin wdDoInit()
         wdThis.wdGetVisualizarContratoController().llenaTabla();
         //wdThis.wdFirePlugOutput();
        //@@end
    after deploying the table is empty
    Someone Could you tell what is the problem, thank you very much

    Hi Nitesh
    Thak you for your help, I solved that detail, but I have a problem some colums of the table are linktoaction, my question is how can I pass a value to the action whe the user click on this image , thank you very much
    Atte Israel

  • Web Dynpro ABAP - Table Scroll Performance

    Hi,
    In the standard ESS Timesheet application, we have created a custom pop-up screen to select the cost assignment for the time entry. The pop-up screen is a search help developed by implementing the IWD_VALUE_HELP interface and is a complex screen with multiple view containers/views and multiple tables and tabs.
    In the pop-up screen, the default number of visible rows in the table is set to 5 and the user needs to scroll if there are too many entries. The performance during scrolling is very bad and takes about 4-5 seconds for each scroll. All the traces in the backend show that there is hardly any processing being done that would take so much time. HTTPWatch trace shows 0.4 seconds response time, so I'm wondering why is the browser taking 4-5 seconds to load. Is it because the timesheet page itself is complex and since the pop-up screen is also heavy, the browser takes so much time to lay out the whole page for every scroll?
    Any other ideas?
    Any inputs will be greatly appreciated.
    Thanks,
    Manish

    I have noticed that pagination is relatively faster when compared to scrolling. Try making the same performance measurements by removing the scrollbar (by changing the setting in the WD application parameters) and introducing pagination instead.

  • Uploading CSV File into Web Dynpro Java Table and Write back to a Database

    Hi Gurus!
    I would like to upload a csv file and read the content into an UI table element.
    Then, I need to write the uploaded file back to a database. I'm using NetWeaver 2004s.
    could you please provide advice for both, uploading and wirting to databse (e.g. maxDB or oracle), since I'm quite new in WDJ.
    thanks in advance.
    farid
    ps. helpfull answers will be rewarded with points!

    Hi ,
    have look at this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6603. [original link is broken] [original link is broken] [original link is broken]
    Have a look at this links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929.
    Re: Popup Internal Window - data type IWDWindow not available
    Regards,
    krishna.

  • Web Dynpro ABAP Table in runtime

    Hi,
    I have an ui table that has 3 table columns but in runtime i want to add 3 table columns more for it i use add_grouped_column( lr_column ). but when i do a test i see that the 3 table columns that i want to add in the last of table is in the begining.  How can i do that the table column that i add is created in the last of table?
    Thnx.

    Hi Paulina,
    I dont think you can add the colums to a table UI element dynamically @ runtime. Instead, you can add all the columns to your TABLE UI @ one shot and hide the unwanted elements using a WDUI_VISIBILITY Context element. Set this context element based on your requirement to display the columns dynamically.
    FYI...For WDUI_VISIBILTY variable 1 - Hide and 2 - Display.
    Hope this helps.
    Regards
    Raja Sekhar

  • Web dynpro ALV table copy selected row

    How to copy a selected row into new row with same values.
    Thanks

    Hi,
    I assume that there is a COPY buttonand there is a single lead seecltion for your alv table.
    Now,
    data:
      lr_node type ref to if_wd_context_node,
      lr_element type ref to if_wd_context_element,
      lr_element1 type ref to if_wd_context_element,
      ls_table type vbak,
    ls_table1 type vbak.
    lr_node = wd_context->get_chaild_node ( 'FLIGHT ' ).
    if lr_node is not initial.
    lr_element = lr_node->get_lead_selection ( ).
    lr_elemnet1 = lr_node->get_element( index = 4). "supose the index of new row is 4
    * you can use the get_element_count to know the record number
    endif.
    if lr_element is not initial.
    lr_element->get_statitc_attributes
    importing
    static_attributes = ls_table
    endif.
    if lr_element1 is not initial.
    lr_element1->set_staitc_attributes
    exporting
    STATIC_ATTRIBUTES = ls_table.
    endif.
    Assume that you have already created a new row...
    use code wizard.
    Regards,
    Lekha.

  • Web dynpro ALV table cell popin

    from my understanding, it is possible to create a cell popin for a standard table.
    but now i wonder whether is it possible to create a cell popin for an ALV table?

    My question was about option Filter of ALV report.
    May be somebody knows how I can receive Interfacecontroller
    attributes: FILTER_VALUES. It should help to filter
    table inside code( in my ONFUNCTION method).
    Regards
    Irena

  • Web Dynpro ALV table contents  from context comes without filter conditions

    Hi Experts,
    Please help me to solve this problem.
    I set some selfmade functions on tool bar of my WD ALV,
    and it works OK, but when I set some filter conditions,
    I get same table contents in my method ONFUNCTION.
    What can I do?
    Thank you very much
    Irena

    My question was about option Filter of ALV report.
    May be somebody knows how I can receive Interfacecontroller
    attributes: FILTER_VALUES. It should help to filter
    table inside code( in my ONFUNCTION method).
    Regards
    Irena

  • Call same RFC from Web dynpro twice (table parameter passing)

    We have one table on our Iview bind to RFC A output table. We execute the RFC A with input parameters (p1=val1, p2=val2) and the data (task name and chkbox field) gets displayed on Iview table.
    The user will click a select deselect all checkbox to select all rows of the table.
    We want to execute SAME RFC A with input parameters (p1=val3, p2=val4) by passing the Iview table for processing. Please suggest the way to do this.

    Hi Sanjay,
    I am not sure about your requirement. I assume you need to call the same RFC twice, the first time with some simple parameters & the second time with a table parameter. Is this the case? If so:
    You needn't switch data between the contexts. You simply need to check if the RFC is being called when the WD table has some data. If so, add the table parameter to the RFC Input object. Let your WD table be bound to a node 'TableNode' having two attributes - 'task' and 'chk' (chk of type 'boolean'). I assume you need to add the row only if the checkbox has been selected.
    Assuming that your BAPI/RFC uses a table ‘MyTable’ of some type 'ZTAB' and that your RFC call is being done from your view:
    ZTAB table;
    IPrivate<your view>.ITableNodeElement elmt;
    <i>// create an instance of the Input class;</i>
    <BAPI_name>_Input input = new <BAPI_name>_Input ()
    <i>// Populating the RFC Object for the first time call
    i.e when the table node is empty</i>
    if(wdContext.nodeTableNode.size()==0)
    input.setParam1(<some default value>);
    input.setParamN(<some default value>);
    else
    for(int i=0;i<wdContext.nodeTableNode.size();i++)
    elmt = wdContext.nodeTableNode().getTableNodeElementAt(i);
    if(elmt.getChk())
    table = new ZTAB();
    <i>//if you do not know table type of 'MyTable’ , check the function input.add<MyTable> (<table type>)</i>
    table.set<property1>(elmt.getTask());
    <i>// If you need to add more parameters :</i>
    table.set<propertyN>(<your-value>);
    input.add<MyTable>(table);
    wdcontext.node<BAPI_name>_Input().bind(input);
    <i>Now execute the BAPI using the following line</i>
    wdContext.current<BAPI_Name>_InputElement().modelObject().execute();
    wdContext.nodeOutput.invalidate()
    <i>// Refreshes the value in the output node</i>
    Hope this helps,
    Best Regards,
    Nibu.

  • Copy from clipboard and paste in Web Dynpro table

    Hi
    I have a client requirement where the client wants to copy the table from some already existing application and paste the data  directly in web dynpro java table.  It is similiar to copy the data from clipboard and paste it directly in web dynpro table.
    I would like to know is it feasible. If yes, please provide some links or guide me on achieving the same.
    Thanks
    Harsimran

    Hi
    I think one way you can do it,
      1 . try to export the table dato to excel sheet.(copy and paste to excel)
       2. Importing the excel data to WD table.
      for more details about reading excel data, there is many blog on sdn just check it.
    Hope will help you
    Thanks

Maybe you are looking for

  • Ipod Classic 160GB dropped dead

    My 1,5 year old Ipod classic 160GB just dropped dead yesterday. Nothing happened to it, I was listening music just before going to theater, I left it on my desk, I came back, it didn't boot up. I've tried to reset it 500 times, nothing works. The onl

  • Run VI Asynchronously

    There is a great procedure for creating steps to Run VI Asynchronously. https://decibel.ni.com/content/docs/DOC-21743 I tried calling this VI Asynchronously again later in my Sequence and it doesn't seem to be running. What I do is call this vi that

  • Saving an edited photo - bug?

    Ive created an album, copied in some photos from photostream and now I'm editing them. Some of the photos allow me to just save over the current photo whereas other photos require me to save as a new photo in my camera roll... Is this a bug? I cannot

  • HOW TO JUMP TO 3RD SCREEN....

    HI all,   How to jump to 3rd screen with out inputting values in mandatory fields in first 2 screens while doing recording process in bdc. regards anilreddy

  • I have had mi iphone for 3 weeks and got it wet, will apple replace it

    i have had my iphone for 3 weeks and got it wet, will apple replace it