How to retrieve and then update a field in a dynamic page?

I use the dynamic page to retrieve a text field from db table, now I want to update it and save back into the database. The first part(retrieve and display) works fine. But when I put update the table codes inside another oracle tag,it gives me a page not found error. Can you operate on the same database field more than once in a dynamic page?

The purpose is to automatically calculate the transport freight  as a percentage of the net amount of the sales order. We are able to retrieve this field even if the sales order has not been posted yet with this formatted search:
Select $[$22.0.0]
Our doubt is that this field is affected also by the item of the expenses that we are going to calculate, this is the reason why we are trying to calculate the line total of each row and in the formatted search exclude the item that have a certain code (i.e. transport freight), in this way we are sure that we are calculating the percentage of  the net amount of the goods without the freight.
Thank you for the support.
Fedora

Similar Messages

  • I need to run the program in back ground and then update two fields

    hi gurus
    i need to run the program in back ground and then update two fields in the z table by mm02 transaction by using bapis , can any one give me the code for this.
    Message was edited by:
            Rocky

    hi
    good
    go through this link
    http://www.sapdb.org/7.4/htmhelp/34/ee7fba293911d3a97d00a0c9449261/content.htm
    thanks
    mrutyun^

  • Checking of database table field and then update that field

    hello there,
    In my program I want to check the field 'XRUEM' of  database table MARV, If that field is check i.e. 'X' in table then I want to clear that field and then I have to proceed can anyone please guide  me in this.

    Chetan,
    Do you have to clear the field XRUEM from database table MARV if it is 'X'   ???
    or you just want to clear this field in the report?? Please do specify.
    To clear field from database table MARV us UPDATE command (Please be careful... one should not make changes in master tables using reports)
    To clear runtime contents of a filed in the report use CLEAR command.
    Let me know if this doesnt clear your doubt.
    Thanks.

  • How to retrieve and display image from database in a web page

    Hi all;
    I have been trying this for some time now. I have found some tutorials so far but none of them addresses my concern. Here it is:
    I have built a web application that can connect to an Oracle DB.
    I have a table called "employee", where I record any employee details, among which the employee picture. I stored the pictures and the finger prints using "Oracle sql developper" as blob type.
    How can i retrieve and view all these information when i run the application?
    I can easily retrieve all other types of value, but the image(BLOB type) has been a nightmare for me.
    HELP PLEASE.

    morgalr wrote:
    I believe your Binary Large Obejct will come back as an array of int, and you'll need to use BufferedImage it's associated API to get it to a viewable image configuration.I don't think BufferedImage immediately solves the problem -- this is a web app, so I assume the image will be displayed using the HTML IMG tag.
    Solution: google. There are many example of how to do this. For example, any book on servlets will have an example of dishing up a dynamic image.

  • I am trying to re install my lightroom student addition.  I have the serial number and was told to do the trial again and then update to purchase. i am unable to figure out how to do this

    i am trying to re install my lightroom student addition.  I have the serial number and was told to do the trial again and then update to purchase. i am unable to figure out how to do this

    Emily5lexi which version of Lightroom are you wishing to install?  Also what operating system are you using?

  • How I can edit and then update multiple rows via JSP to Action Class?

    Hi All,
    I have a JSP page which allows users to edit the some properties for all Object returned by the db. They can then submit the changes to a Action Class which i.e.
    <form action="/SaveUserNames">
    <table>
    <c:forEach items='${requestScope["users"]}' var='user'>
    <tr align="center">
    <td><input type="text" name="userBean[ i ].firstname" value="..."/></td>
    <td><input type="text" name="userBean[ i ].surname" value="..."/></td>
    </tr>
    </c:forEach>
    <tr>
    <td><button type="submit">Save</button></td>
    </tr>
    </table>
    </form>
    In the ActionForm, there is a method, which would allow the Struts code to update my beans with the data the user editted:
    public UserBean getUserBean(int i) {
    return userBeanList.item(i);
    Although I am not sure how I can update the beans in the Action Class with what the user submitted.
    Can somebody help me for this point or can me suggest any design pattern to solve this points?
    Thanks
    Amit

    Fetch values for each user data and put into a Hashtable and then update.
    Userid is the key
    User related data is the bean (like firstname, lastname, age, job, etc), so you have ArrayList of user bean.

  • How can I use wget, cron and Automator to periodically pull a dynamic image from a URL to local storage, and then update a Keynote slide with that image, automatically?

    How can I use wget, cron and Automator to periodically pull an image from a URL (which is dynamically updated - like a weather map, say - to local storage, and then update a Keynote slide with that image, automatically?

    Any particular reason for those specific technologies?  wget does not exist on a mac, although you can nstall it I guess.  OS X has curl installed which should do pretty much anything you want to do with wget.  cron is being replaced by launchd, although cron still exists on mountain lion.
    As far as I can tell from automator all the standard 'actions' to access keynote  available to it require keynote to be open and running, but does not provide a function to actually open it.  So I think you will have to write some applescript, as a minimum to open and quit keynote. I notice that the keynote actions are mostly circa 2005 an wonder if they would even work.
    Under utilities in automator 'actions' there is a capability to add applescripts as part of the workflow.
    Also, note that cron is being dprecated by Apple and replaced by launchd.  that said cron is stil on my mountain lion instalation.
    This entry at stackoverflow shows use of cron with curl to get web urls.  http://stackoverflow.com/questions/1683620/getting-started-with-cronjobs-on-a-ma c
    If I have any time I may try and get this to work as it is quite interesting and new to me.  But otherwise, good luck.

  • To make the change from MobilMe I will have to update from System 10.4.11 to 10.7.2.  How many system and firmware updates will I have to do?

    To make the change from MobilMe I will have to update fro System 10.4.11 to 10.7.2.  How many firmware and system updates will I have to make

    First, see if your system can run Lion:
    http://www.apple.com/macosx/specs.html
    If you have any PPC apps, none of them will work under Lion.
    If you meet the requirements for Lion, you can go to Snow Leopard(US $29), then update to 10.6.8, then update to Lion(US $29).
    Apple says 2GB's of memory minimum. I wouldn't update to Lion unless you can run at least 4GB's.

  • How to place an image in database and how to retrieve and display it in the front end

    how to place an image in database and how to retrieve and display it in the front end
    and to place an image in database and retrieve the image from database using xml
    please,help me out.

    Create a table with a Long RAW Datatype column for storing the Image Column Data.
    Create the form based on the table , which by defaults the column with LONG RAW atatype to a Image Item.
    You can use Forms Built in function READ_IMAGE_FILE to read a Image file stored on the file system in to the image item.
    A save on the form saves the image in the Image item in the long raw column.

  • Can somebody please explain how to format and then reinstall Mac lion10.7 without cd

    can somebody please explain how to format and then reinstall Mac lion10.7 without cd

    You will need either an Ethernet or Wifi Connection to the Internet - USB Mobile device is not supported.
    If you already have Lion installed you can boot to Recovery with Command R and use the Disk Utility to erase the Macintosh HD and then reinstall the OS from the Mac OS X Utilities.
    You will need the Apple Id used for purchase if the Mac did not ship with Lion installed originally.
    If you want to repartition the HDD you can use the Recovery Disk Assistant to make a recovery USB drive
    http://support.apple.com/kb/DL1433
    http://support.apple.com/kb/HT4848
    As Always - Back up the Mac before erasing unless you are confident there is absolutely nothing on the mac that you might possibly need later.
    If the machine is a 2011 build or later you might be able to boot to Internet Recovery with Command Option R

  • How uninstall Javascript and then reinstall the latest version.

    <i>Locking duplicate thread.<br>Please continue here: [[/questions/1019198]]</i>
    yahoo mail will not load in firefox nor aurora ok in explorer and opera
    how uninstall javascript and then reinstall the latest version?

    Hi, Barbara! Is the problem that you have a lot of different versions of Firefox on your launch bar? Or that you have a lot of different versions in a directory somewhere?
    Either way, on the mac, you should be able to simply:
    1. Close all versions of Firefox
    2. Drag the applications to the trash folder, which will remove them from the folder or your dock
    3. Download Firefox with Safari at getfirefox.com
    4. Open the downloaded file by double clicking it
    5. Once that happens you will have a Firefox icon and a folder with an "A" on it
    6. Drag the Firefox icon onto the A, which will install it into your Applications folder
    7. Open your Applications folder and drag it onto your main dock
    8. You should be able to launch it from your dock by clicking on the Firefox icon.
    Thanks!

  • How to read and then extract HTMl source code using java program?

    Hi,
    Could someone tell me how to read and then extract the content of certain tag from html source code. For example, given url http://.... , I would like to know what the <Title> content <Title> in that page is.
    Any help is greatly appreciate.

    Use a URLConnection to make the connection to the page at the needed URL. From the URLConnection, you can get an InputStream that is the stream of data from that page. Just search through the stream and find the <title> tags (don't forget to check for case sensitivity).

  • How to hide and then unhide AD objetcs?

    Dear all,
    I want to know how to hide and then unhide AD objects?
    Thanks
    Regards

    Microsoft
    Active Directory (AD) has decent capabilities for setting permissions on objects. You can use these permissions to allow delegated administration of users, groups, or computers to any security principal. In this way, many daily operations don't need to
    be performed by domain administrators. But when it comes to making specific data visible to only those users who need to see it—either because typical users shouldn't see the objects or because the data is truly confidential—the default AD permissions can
    make the task rather complex.
    Using the Confidentiality Bit to Hide Data in Active Directory
    http://windowsitpro.com/active-directory/using-confidentiality-bit-hide-data-active-directory
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
      LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • Can MyRoll app work to arrange a plenty of labeled photos on iOS7 and then updating to iOS8?

    Can MyRoll app work to arrange a plenty of labeled photos on iOS7 and then updating to iOS8?
    So, freely; to be running the latest OS.

    Since Numbers version 2.5 for IOS, the app updates the file format of the spreadsheet, so that it can't be opened by earlier versions of Numbers, regardless of the IOS version. I tested this myself. I created a spreadsheet using the latest version of Numbers on my iPad Mini running IOS 8.1.1. Then found I could not open the spreadsheet on my iPad Air with Numbers version 2.4 running the same version of IOS 8.1.1 or on my MacBook Air running Mavericks.
    Spreadsheets created with the latest version of Numbers can only be opened by Numbers 2.5 or later, or on Macs running Yosemite.

  • Since this morning when I try Software Updates and then Updates, I get a consistent message - An Error has occurred, The operation couldn't be completed. (NSURLErrorDomain error - 1012). Is this a server error and what do I do next?

    Since this morning when I try Software Updates and then Updates, I get a consistent message - An Error has occurred, The operation couldn't be completed. (NSURLErrorDomain error - 1012). Is this a server error and what do I do next?
    Please help!!!!!

    Wait until Apple fixes this server issue.
    Best.

Maybe you are looking for

  • Totals for the internal table field in alv

    Hi Gurus, I have an issue in displaying the totals in alv. I have an internal table with the three fields like below. scrap_code_001 like afru-xmnga, " Scrap Reason Qty. scrap_code_002 like afru-xmnga, " Scrap Reason Qty. scrap_code_003 like afru-xmn

  • What do I need to migrate files from old eMac to new iMac?

    I just purchased a new iMac and need to transfer information from my old eMac to the new one. I have not even taken the iMac out of the box, just read over the booklet. What do I need to have to be prepared to migrate information from the start up ap

  • Completely Embed Font (not Subset) in PDF several methods not working

    Hi, I have an Illustrator CS5 file, on a Windows 7 PC. I have used "Save As" direclty from Illustrator, also "Print" with Distiller and finally the Acrobat Pro 9 "Preflight" "Fixups" to Embed Fonts. This has included setting subsetting to 0% and in t

  • Problem in bringing the database up

    Hi, I am facing this problem while bringing the database up :- ORA-01190: control file or data file 21 is from before the last RESETLOGS ORA-01110: data file 21: '/fnb/dbdevices2/ora10g_scmb/scmbdata06.dbf' What i did just before that was i brought t

  • How to install DVD based software on Mini

    How do I install DVD based software on a Mac Mini? Does it have a "CD/DVD" Drive? There appears to be a slot on the back. Is that a "SuperDrive" or whatever the **** they call it now?