Regarding saving data in Webdynpro

Hi,
While saving data in WebDynpro for Java why we use save all metadata instead of only saving it .
Thanks.

Hi
If we save with SaveAllMetadata it generates internal Java classes for Models as well as other classes.Better practice is always save with SaveAllMetadata.
Rgds
-SS

Similar Messages

  • Regarding saving data in tcode KS01

    Hi,
    I am recording data in KS01 T code , but after entering all required fields and pressing enter button it is not saving , but it is saving only when i can press back button or ctrl+s. But when i execut thr BDC it is  unable save automatically.
    plz give me solution....
    pts will be given for ur reply..
    regards
    chetan

    hi,
    I am saving by by pressing back button , it will ask for save , but in bdc it is not possible by automatic,in bdc it is coming upto final page and not able to save.
    regards
    chetan

  • Regarding saving data

    hi Abapers,
      i have doubt regarding my set pf satus in my module pool program. i have a screen and from that i have to save data which is entered in text fields . now for activating the default save button i have assigned thru pf -status . but while executing save button its saying this  function not possible. can anyone clarify .
    Thanks & Regards,
    Syam.

    HI...
    1. declare internal table t_lfa1 and work area wa for LFA1 table.
    2. Here itab , wa1 are you r screen table and its work areas.
    3. In PAI event.
    > case sy-ucomm.
    > when 'SAVE'.
    >loop at LFA1 into wa.
    >read table itab into wa2 with key <key>'.
    >            if sy-subrc = 0.
    >            wa_f1 = wa1-f1.
    >            wa_f2 = wa1-f2.
    >            endif.
    >           modify LFA1 from wa.
    >           endloop.
    >endcase.
    Thats it!!! Your table will be updates.
    Thanks,
    Naveen.I

  • Saving Data from ALV.

    hi all.
    I have an issue regarding saving data from alv to data base table.
    The problem is like this. I have an internal table consist of 10 column from three diferent tables.one primary key is there.
    now i have displayed it in alv grid. there is a column of quantity. i made some changes in quantity of some rows. now i want to save it into the database table from which that quantity field fetched.
    i used first check_changed_data method. if the flag is set it means data is changed.
    wat shud i do to save that quantity column into data base.
    Thanks In advance.
    varu

    Hi,
    <b>To modify database or ztable from the ALV grid,you need to do the following:</b>
    ---You have to modify the field Catalog fields (fields that you want to make editable).Set the field <b>EDIT as 'X'</b>.For example if you want to make the field below editable:
    ls_fcat-fieldname = 'CARRID'.
    ls_fcat-edit = 'X'.
    APPEND ls_fcat TO pt_fieldcat.
    ---Call the method below before you call the set_table_for_first_display.
    CALL METHOD ALV_GRID_INSTANCE-><b>set_ready_for_input</b>
    EXPORTING
    i_ready_for_input = 0. ( For Display ) and ('1' for Edit )
    After this put the set_table_for_first_display.
    <b>Now if the ALV data has changed,and you want to change the database or ztable,then in your pf status give a function code for SAVE button in the GUI.
    In the PAI of the screen,in user command module write the following:</b>
    WHEN 'SAVE'.
    <b>call method gr_alvgrid->check_changed_data</b>
    importing e_valid = l_valid.
    if l_valid = 'X'.
    <b>MODIFY spfli FROM TABLE itab_spfli.</b>
    endif.
    <b>(l_valid is a flag.</b>
    DATA:l_valid type c.
    If you want to check if the user has entered any value on the grid, use the Method : CALL METHOD gr_alvgrid->check_changed_data.
    This method returns a flag l_valid which can be checked to see if the data on the ALV grid has been changed or not.)
    Regards,
    Beejal
    **Reward if this helps

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

  • When and how to update the "saved data" in report ?

    Hi,
    The BO version is "BusinessObjects Enterprise 12.0"
    The case is that, some reports are uploaded withe saved data. while viewing the reports, the reports return the old data.
    How to view the update data while click the "View" in CMC/InfoView ?
    I have tried to schedule it , then can see the update data in "View the latest instance".
    Is there any approach to refresh/update the saved data in the report ?
    Thanks and regards,
    Forest
    Edited by: Forest lin on Dec 5, 2008 12:12 PM

    Hello Forest lin,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to access internal table data from webdynpro to Flex application.

    Hi Connoisseur
    The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and  Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
    There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
    i tried to do pass internal table value  to flex-datagrid.but its not work.
    i would like to know
    1.how to access internal table data from webdynpro to Flex application.
    2.how to pass the internal table to flex-datagrid.
    2.how to pass dynamically in ADOBE flex.
    3. how to do Flex is receiving the wd context data?
    4. how can we update WD context with FLEX data.
    Ple give me sample example and step by step procedure.
    Regards
    laxmikanth

    Hi Laxmikanth,
    Please refer this...
    Flash island: update complex type from flex
    Cheers..
    kris.

  • How to access(connect) BI Data in webdynpro for java applications

    Hi ,
    is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer.
    if not how to integrate the BI data in webdynpro applications ?
    Regards,
    Govindu

    Hi,
    Yes there are ways to do it. But may your scenario and the scenario for which I have done may differ.
    You can use openhub to get the data in a flat file and then read it into weddynpro through a java service OR
    You can use DBlink(which i have done).
    Please refer the link below:
    [Link|Data from BW to Oracle.;
    This I have done in NW04s. Not sure whether a better solution is available in the newer release.
    Hope it helps.
    Regards,
    Manoj

  • Different values beetween front page and saved data

    Hello,
    I have problems to saved data correctly. I acquire data with Labview 6.0 and a counter/timer card. These data appear on my front page. But when I save them in a table file, their format is modified, rounded.
    For exemple: on my front page values are 20.675 , 21.012 and in my saved file these values are 20.750 and 21.000, even if I checked all the numbers format in the diagram, and declare them in extended precision.
    Where is my mistake ?
    Thank you for your help

    Hello shadok,
    that's strange :-)
    Try this simple example. If this works, then something with your data is wrong...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    Test_Save.vi ‏12 KB

  • Locking form when multiple users try saving data

    Hello,
    How can I prevent users from saving data in the same form at the same time? is there anything to lock a form once a user opens it for entering data??
    As if 2 users are having access on the same form, and accidentaly they opened the same form and selected the same combination of dimensions, if both of them saved data. The data will be overwritted by the latest one...and this is not the required scenario......we need to have it only possible for one user to open this form at a time.
    Is it possible?
    Thanks.

    Hi,
    As Kyle said, the issue would be only if both the users update/modify the same cell.
    However said that, is it possible that same cell would have different values, even if two different user enters the data at same time?
    Means data entered would have to be same even if it is entered by different users. (Just asking out of curiosity :) )
    Also process management can be thought off, wherein only current owner can fed data(free form).
    Hope this helps.
    Regards
    -SM

  • How to read saved data in BPC 7 Nw Script Logic

    Hi all,
       I am trying to write the logic for Price*Quantity Calculation. This logic should be executed whenever user saves the data for either Quantity or Price.
    For this i created a Implementation on BADI "UJ_CUSTOM_LOGIC". But i am struck on how to read the data from InfoCube ,Like if user saves "Quantity",logic should read "Price" from the cube and calculate the result, Which is equivalent to GET(------) statement in SQL script Logic. Which method should i call to read the saved data in cube.
    Appreciate if someone can help me on this.
    Thanks&Regards,
    Ashok Kumar.

    Hi,
       You can use the LOOKUP instruction like:
    *LOOKUP RATE
    *DIM ENTITY2="DEFAULT"
    *DIM SOURCECURR:INPUTCURRENCY=ENTITY.CURR
    *DIM DESTCURR1:INPUTCURRENCY="USD"
    *DIM DESTCURR2:INPUTCURRENCY="EURO"
    *DIM RATE=ACCOUNT.RATETYPE
    *ENDLOOKUP
    Best regards,
    Mihaela

  • Saving Data with Indicator

    Hello.
    I have this VI which saves data. Kindly see the attached. In actual application I am saving a lot of data. I want to create an Indicator that when I push the SAVE button, an Indicator will pop-up and will tell the user how many percent is being saved, i.e. 10%....35%.....80%....100% Complete.....
    This is just to make sure that the data being stored in the memory is completely saved.
    Thanks for any advise.
    regards,
    Attachments:
    saving data.vi ‏53 KB
    Default.txt ‏1 KB

    Hi
    Sorry for the late reply. I dont really know where and how to use the Microsoft Active-X Control. I wish someone can send me an example VI for my guide.
    Instead, I just made a pop-up Time Indicator (Thanks to NI.). Please see the attached. In this example the the user needs to wait for about 10 seconds while the data is being save or updated. This VI is not the Actual status or actual progress while the data is being written to the file. This is what i hope to learn.
    Attachments:
    saving data2.vi ‏61 KB
    Progress bar.vi ‏16 KB

  • Getting BW data into WebDynpro table

    Hi All
    Can any one suggest me how to get data from BW? Is it possible to write any RFC for that?
    As far as I know there are many options like BW Query Iviews etc but I need to get that data and have it in a table with lot of images based on result. So I guess I will able to achive this if I have all the data into WebDynpro Context.
    Please suggest me if any one worked on this.

    Hi,
       You can use the BI Java SDK for this purpose. Using this you can execute any BI query through your Java code, retrieve the results and manipulate/display them as you please.
       You can find a full tutorial <a href="http://help.sap.com/javadocs/NW04/current/bi/docs/examples.html">here</a>. Also go through
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20use%20the%20bi%20java%20sdk%20in%20a%20web%20dynpro%20application.pdf">this</a>
    Regards,
    Satyajit.

  • Passing data from webdynpro to BSP

    Hi Experts,
    Can anyone tell me is there any possibility of passing data from webdynpro to BSP and vice-versa.
    If so, kindly let me know.
    thanks a lot.
    regards
    vijay

    Two possible options, not sure however how this will work in practice.
    1. use the URL and pass additional parameters (http://help.sap.com/saphelp_nw70/helpdata/EN/7b/fb57412df8091de10000000a155106/content.htm)
    2. If in portal, do via portal eventing (http://help.sap.com/saphelp_nw70/helpdata/EN/f6/7d6f4151dc5758e10000000a1550b0/content.htm)

  • Passing of data from webdynpro to BSP

    Hi Experts,
    Can anyone tell me is there any possibility of passing data from webdynpro to BSP and vice-versa.
    If so, kindly let me know.
    thanks a lot.
    regards
    vijay

    Hi Vijay,
    if the BSP application and WebDynpro application both run in the same SAP ABAP instance you can use server-side cookies.
    Just because sside-cookie functionality was built for BSP there is no reason you can't use them for any ABAP application.
    Cheers
    Graham Robbo

Maybe you are looking for

  • XM Radio Help With Windows Media Player

    Does anyone know how to get XM Radio to work within Safari? The Windows Media Player plug-in tries to connect but never does. I tried the Flip4Mac plug-in and got the same non-result. I got the AOL radio player to work but it does not offer all of th

  • Live video scopes?

    I'm using 5.1.4 and can't get the Live Video scopes to work. I'm using an A1-Xh, plugged via 4-6 firewire into a Macbook. When I go to log and capture--> clip settings and click on the video scopes, nothing happens. I'm also using the HDV-1080p24 cod

  • I made some amendments to my colour settings in PS CS5 and now everything prints black and white. Please help me to reset all the settings to default

    I made some amendments to my colour settings in PS CS5 and now everything prints black and white. Please help me to reset all the settings to default. This was after I tried to implement the steps set out in Real World Photoshop CS5. I stuggele to ma

  • ConnectException, connection refused

    I have an RMI server/client Web applet program working, with the server running on a RHEL4 linux server, and other linux clients. When I try to run the applet from a browser on a Windows client, I get a connection refused error. I am not setting a se

  • Transaction in Backend

    Hi, I have logged in an EP and I access data from the backend. Is there any way I can find after logging into the backend, which transaction is being used corresponding to the query executed in the portal. I have tried AL08, STAD and all, but they gi