Regarding roll back and reassign the value.

hi all,
i am using forms6i.
Re: how to avoid the form's message situation
as we discussed my process has to happen like this. since it is a new topic so i have raised new thread.
what i want to do is based on the input values(base table values) i have to call one procedure, the procedure returned value i have to assign to one of my database field and one new record should go into other table.
so what i am doing is at the key-commit trigger i have written a procedure inside that i am calling a procedure which results in one value which i have to assigned to my blocks item. and one record to the table
my code in key commit trigger is something like
go_block('block name');
first_record;
based on the forms parameter call procedure
if procedure returns error then rollback otherwise assign value to base table item and one record to other table so
job_proc();
:block.item:= output ;
insert into job_table() values();
if system.last_record = 'TRUE' then
exit
else
next_record;
end loop;now senario is like if i am in fifth record four record processed as i explained before. in fifth record if i am getting error means
all four records value and insert statement should be reassined and rolled back.
so i have written like
exception when others then
forms_ddl('rollback');
go_block(block name);
go_record(system.current_record);
:block.item := null;
if :system.trigger_record = 1 then
exit;
else
previous_record;
end if;
end loop;is this is the way to rollback or is there any better way?
please advise.
Thanks..

Hi,
Check these files on rollback and commit:
Transactional Behavior of an Integration Process:
http://help.sap.com/saphelp_nw04s/helpdata/en/45/058023846b2460e10000000a1553f7/frameset.htm
Commit Handling:
http://help.sap.com/saphelp_nw04s/helpdata/en/fa/814d3ccd6fba74e10000000a114084/frameset.htm
Rollback:
http://help.sap.com/saphelp_nw70/helpdata/en/23/5f5fd653b6f64d9bb0b468a8689838/frameset.htm
Regards,
Subhasha

Similar Messages

  • While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation a

    While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again." How to resolve it.
    How do I modify the system.

    Hi Rgardezi,
    The only reason why Acrobat installation fails and throw this error message is when there are some services running in the background causing the installer not to complete the installation. My take is try the following steps and suggest if you were able to install the products or not :
    1) Navigate to control panel and confirm that there is no line Item that talks about Acrobat. If you see Acrobat XI listed there, please remove them.
    2) Perform a selective Start up using the steps mentioned in this link.
    Please suggest if the above mentioned steps were able to resolve the query for you or not.
    Cheers,
    Kartikay Sharma

  • How do I Uninstall Adobe PSE9?  All I get is an error message, "Error 1316.  The specified account already exists".  Then the Unistaller rolls back and the program just sits there, partially uninstalled and unusable.

    I have upgraded to PSE13 and want to unistall PSE9.  When I try to do this all I get is an error message, "Error 1316.  The specified account already exists".  Then the uninstaller rolls back and I am left with a partially uninstalled version that is unusable.  I tried to reinstall the software from the original PSE9 disk but all it tries to do is uninstall the version already on my computer, and this then does the same thing as noted above. How do I completely uninstall PSE9?

    See here:
    How do I remove older versions of Photoshop?

  • PLZ helpppppppppppppppppppppppp want to roll back "active" of the recovery partition...

    Hi,
    I need serious help,,,,,,any help is appreciated :
    --- I believed my second hard drive is burnt , but it was not ( not able to access it, it was because i had changed the workgroup in NTFS),
    --- at this stage my windows 7 would boot normally , but like a new user, no access to previous files
    --- so tried to do restore,    F11  showed there were no previous saving for restore
    --- tried to do recovery , F11  showed that "restore" botton is gray/ inactive
    --- someone on internet suggested to make the recovery partition , "active", so i did it through disk management
    --- then when windows boot up, it went directly to previous recovery page with inactive botton,, i can not access my previous windows , i can not boot up to windows again
    --- so now it boots up and goes to useless recovery page
    ---  through bios activated "HP Quick web" , and playing with photo viewer in quickweb i noticed all my files on the "maybe burnt drive"  are all there!!!!    and i can view them,,,,,,,   ooops!!! my whole problem was changing windows group!!
    ---   so if i can just boot to previous windows , then i can change the group and access the files...but
    --- now i cant go out of recovery page,,,,, now that it is "active partition" everytime i turn on computer is JUST goes to recovery page screen (which is inactive),,,,,,,,,,,,,,,,,,,,,,,,,,
    --- how can i roll back, or inactive the recovery partition and use my drive "C" previous partition as the only active one
    I dont have recovery CD (I will get it tomorrow, i ordered it by HP, 30 bucks!  phewww),,,,,,,,,
     i am panicked any help would be deeply appreciated.........................................................
    HP Pavillion DV-7 4069 
    Windows 7  Home Premium

    Hi,
    If you don't already have one, use another PC to create a Windows 7 Recovery CD.  Download the relevant ISO from the links below.
    Windows 7 32bit
    Windows 7 64bit
    You should use an application such as ImgBurn to burn the ISO to a CD.  Once created, or if you already have this, insert the CD and restart to boot from it.  Select the Repair option.
    Select the 'Repair your Computer' option and follow Option 2 in the guide on the link below to run Start-up Repair – you may need to run this 2 or 3 times.
    http://www.sevenforums.com/tutorials/668-system-recovery-options.html
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Intallation is being rolled back post deploying the SP1

    Trying to deploy SP1 across all win 7 systems. It's being successfully installed when PCs are not in domain but for Domain joined system it's being rolled back post initial installation and reboot. Please help me do get rid of this issue.

    Hello Tech Olive,
    What do you mean of the sentence ‘for Domain joined system it's being rolled back post initial installation and reboot’? the domain-joined systems keep roll back to install the Windows 7 service package 1?
    How do you deploy the Windows 7 service package 1?
    Do you receive any error messages in the domain-joined Windows 7?
    Please take the following steps for troubleshooting:
    1. Check if we can install the Service Package manually.
    2. As you mentioned that only domain-joined computer can't normally install the Windows 7 service package 1. I think it is related to domain setting. Please confirm with the domain administrator to check if there are group policy or setting to block the
    installation
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Difference between roll back and undo segment.

    Hi ,
    Oracle 10.2.0.1.0
    whats the difference between roll back and undo segemnt ? are they one and same as per changing version of oracle ? please help

    Hi,
    Both will do the same functionality,but in oracle 9i they made it simplify ,because if u are using rollback segments ,u need to put them online in init.ora and u need to take care space management etc.
    so in oracle 9i they introduced undo tablespaces on that u can creage undo segments and space management will be take care by oracle managed files ,so its reduces the burden of dba
    Regards,
    Simma....

  • How can i copy and referencing the value of a sub-total of a category into another cell?

    How can i copy and referencing the value of a sub-total of a category into another cell?

    Cells in Category  rows 'exist' only when those categories are inserted using the Reorganize table. Those cells cannot be referenced from other cells.
    If you want a category summed, you will need to do that in a cell that is still visible when the table is not sorted into categorie using the Reorganize pane. The function to use is SUMIF. You can find information regarding SUMIF (and SUMIFS) in the iWork Formulas and Functions User Gude. The guide may be downloaded using the link in the Help menu in Numbers '09.
    Regards,
    Barry

  • ** Is it possible to move back and generate the target node in Message Map

    Hi,
    We are doing EDI to IDoc scenario. In our scenario the source XML comes like
    XML Instance
    G_SPOC       (Node) 0..unbounded
       D_670       (Field)
       S_SDQ      (Node)
         D_67
         D_380
         D_67_2
         D_380_2
    G_SPOC
       D_670
       S_CTP
         D_212
    G_SPOC
       D_670
       S_SDQ
         D_67
         D_380
         D_67_2
         D_380_2
    Target Strcutre
    E1EDP01    0..unbounded
      For this instance we have to create E1EDP01 node for how much times D_67,D_67_2..... will come.
    By using 'CreateIf' function we check the existance of D_67,D_67_2 ... and create the target structure E1EDP01. This is working fine if S_SDQ node will come in source XML. Basically D_67,D_67_2 represents Store Nos and D_380,D_380_2 represents Qty.
    In the customer given EDI file, Price change also comes for Line items. It may comes in the file middle also. When Price Change come, the node S_SDQ will not come in G_SPOC but where as S_CTP will come. This contains Price Change in the field D_212.
    The indicator whether QD (Qty Discount), QI (Qty Increase), PC (Price change), AI (Additonal Increase) is stored in the fild D_670.
    In our logic in mapping, we create E1EDP01 based on the existance of D_67,D_67_2... . But, for PC (Price Change) we created special node E1EDP01 at the end (after all D_67,D_67_2 ) by checking the condition whether D_670 = 'PC'. This is also working fine when 'PC' comes in last G_POC of source XML. But, when it will come in middle of G_SPOC, mapping is only executed  for first 3 GPOC (for Example, QD,QI,PC) and it ignored the last one AI. (Because this is generated based on D_67 under S_SDQ again).
    The problem is we think that the system does not go back and execute the mapping for AI based on D_67.
    It executes mapping only in order.
    So, How will we solve this problem, friends? The requirements is  we have to do this thru Graphical Mapping only.
    We tried sever possibilites, but not worked out.
    Kindly help me friends to solve this issue.
    Thanking you.
    Kind Regards,
    Jeg P

    Friends,
    Any help to solve the above issue ?

  • Mutator to compute set and return the value

    Hi
    I am having trouble working out how to do a mutator that does all three
    compute a value set the value and then return it this is what i have so far
    this example calculates and returns the value but does it set the value of totalSlices ???? this is the best option so far
    public int totalSlices (){
    int total = meatSlices + vegSlices;
    return (int) total;
    this one seems more likely to me but unsure is this a set method as well
    public insert (int fiveC)
    fiveCentCoin += fiveC;
    returne fiveCentCoin;
    this is the final example i have come up with but dont know if it sets the value as well
    public int calculateCost () {
    double cost;
    if (age==0) {
    age = 0.1;
    if (neutered) {
    cost = (100/age) + (stay * 3) + SHOTS + TAGS;
    } else {
    cost = (100/age) + (stay * 3) + SHOTS + TAGS + NEUTER;
    return (int) Math.round (cost);
    the problem i face i am not sure of how to combine a mutator calculation, set method and return it all in one i havnt done that before and cannot find an example
    thanks

    I think you're trying to take a hollistic approach to programming. That won't work.
    You need to go back and get a good understanding of exactly what each element of Java does.
    Sylvia.

  • HT201413 install rolls back and cancels

    I cannot get Itunes to install. It tries to install but rolls back and cancels. I have deleted ny old version of i-tunes but still cannot install any version.

    When I install itunes on my XP sp3 system I get a network error while reading from itunes.msi.
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • I can't reload photoshop elements 7 everything seems to go ok installing but then suddenly it says rolling back and try installing later ???

    I can't reload photoshop elements 7 everything seems to go ok installing but then suddenly it says rolling back and try installing later ???

    try resetting your phone by turning it off and back on again. Also, the server may still be slammed from all the activity, so it may take a little with to connect.

  • Proving the Input values in a table with a dropdown and save the values

    Hi Experts,
    I have  a requirement to create a table which is empty (in BSP)and I want to enter the values in a table, for eg: Unit , RegNo, Regvalidity date, item categories. are the coulum names.But I have to display the values in the categories column  in dropdown.
    Finally I enter the values in a table and select the values in a categorie column and save the values in a ztable.
    Please provide me solution how to proceed with this requirement?.
    Thanks ,
    Regards,
    Kiran

    Hi Kiran,
    For creating blank tabel in BSP use the iterator. See the beolow  link for information on creating balnk lines using iterator,
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/31b98a35a111d5992100508b6b8b11/frameset.htm
    the code in render_cell_start method of iterator class should be something like,
    initially you render all cells as blank so that the blank table is created in page.
    when a row is selected you render unit, reg no., reg validity date as inputfield and categories as dropdown listbox.
    Dropdown in Tableview
    link might help you for DDLB in tableview.
    Search the forum and blogs for more code samples.
    Regards,
    Anubhav

  • My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    The amount of storage that is shown on the box and in Settings are calculated differently - the package uses 1 billion bytes as a gig (i.e. decimal), whereas in Settings it's shown as the binary definition : http://support.apple.com/kb/TS2419
    Also some space has been used for iOS, the built-in app and some space is lost due to formatting.

  • I am trying to build a basic TCL skeleton script that reads a remote SNMP OID and displays the value on the screen.

    I am trying to build a basic TCL skeleton script that reads a remote SNMP OID and displays the value on the screen.
    I don't want it to be an EEM Event, I just want to run it from the (tcl)# prompt.
    So I guess I'm asking if you can use cli_exec and other commands in the "namespace import ::cisco::eem::*" in a normal non-EEM script - can I do that?
    This is the error I get:
    OTN.159(tcl)#source flash:TCL_SNMP_Remote_Read.tcl
    invalid command name "::cisco::eem::event_register_none"             ^
    % Invalid input detected at '^' marker.
    What am I missing?
    =================  TCL_SNMP_Remote_Read.tcl  ==============================
    ::cisco::eem::event_register_none
    namespace import ::cisco::eem::*
    namespace import ::cisco::lib::*
    if [catch {cli_open} RESULT]
        { error $RESULT $errorInfo }
        else { array set cli1 $RESULT }
    if [catch {cli_exec $cli1(fd) "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0" } RESULT]
           { error $RESULT $errorInfo  }
           else { set SnmpSysDesc $RESULT }
    if [catch {cli_close $cli1(fd) $cli1(tty_id)} RESULT] {
                error $RESULT $errorInfo
    puts $SnmpSysDesc
    =========================================================================
    In the sho-run config I have:
    event manager directory user policy "flash:/"
    event manager session cli username "cisco"
    Any help to get me started would be greatly appreciated!
    Tim

    If you don't want an EEM policy, then don't use any of the EEM constructs.  Instead, all you need is this:
    set output [exec "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0"]puts $output

Maybe you are looking for

  • Automatic Clearing of Vendor Line's (MIRO-MR8M)

    Hi All, My Clients wants automatc clearing of vendor line items which has resulted from from a single PO. Ex. When ever we do MiRO system will Dr       GR/IR         100 Cr        Vendor    -100 when we reverse the MIRO through MR8M system will pass

  • Unable to sending a mail using odisend mail

    Hi, i have a need to send a mail using odi send mail, i am using gmail server getting to send a mail, but it getting error like this com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. d19sm1563829ibh.8      at c

  • #MultiValue

    Hi, I want to create a graph in web intelligence by using two dimensions month and state name and one measures, we have multiple state name, when state name have different measure values on same month then i got the #MultiValue error on x-axis agains

  • Jdeveloper bug.. 2x add return in AppModuleImpl.java

    i use jdeveloper 10.1.2.1.0 (project is entirely made in this version) prologue... few days ago we decided to remove 2 database tables from the project, so we had to remove enitity objects, associations, viewobjects and viewlinks associated with thos

  • BT stack file TosBTMng.Exe hungs up on shutdown

    Hi I'm running a FSC-Notebook which came with the Toshiba BT-Stack. The notebook is in W-XP, SP2, MCE, kept up to date with patches from M$. I've installed the 5.10.12 BT-Stack. At Shut-Down the PC stops with a window that TosBTMng.exe isn't respondi