How to hold save operation till the workflow approvals are completed ?

Hello,
The requirement is that on change of certain fields in customer master , an approval workflow should trigger and only after the chain of approvals is completed the change in customer master should be saved.
If standard provides the field eg in SWEC then its fine but otherwise is the following approach correct ?
1. Find a suitable user exit on save action
2. Determine whether the required field is changed or not using the std change history tables
3. if yes, trigger a custom event for the business object which wud be already linked to workflow.
that way the workflow will be triggered
4. now trigger another custom event in the workflow after all the approvals are completed
5. induce a wait for event for this approval-completed event in the user exit. so that till the time this event is generated, user exit processing is not completed (find if there is function module for wait event OR keep infinite loop)
Is this approach correct because its complete 'home-made' design and doesnt look very good to keep the user exit waiting for entire workflow which mite extend to even several days.
what should be the solution for this ?
thank you
B

Hi:
1. Find a suitable exit or BAdI on save action (even Enhancement point)
2. Check whether the required fields are changed or not, if yes- then display an information message saying, "Approval WF process started for the customer: XXXXX". Then after displaying the information message, system needs to behave like as an error mesaage was showned.
I mean, you need to come out of the current standard screen and the whole std. program (little bit tricky but it is possible to do), so we are not saving the data to database table.
3. Then after all approvals in WF, use std. FM or BAPI to update database tables for the changed data.
Vinoth

Similar Messages

  • I have created another iTunes library (so I have 1 for an ipod touch and 1 for an iPad), but the apps from the iPad appear in both libraries. How can I stop this so teh 2 libraries are completely separate please?

    I have created another iTunes library (so I have 1 for an ipod touch and a separate 1 for an iPad), but the apps from the iPad appear in both libraries. How can I stop this so the 2 libraries are completely separate? Thanks

    You don't need two separate libraries to manage two devices.
    I suspect the reason that the apps are appearing in both libraries is that you have enabled automatic downloads in iTunes and automatic syncing of apps so that all your purchases end up in both libraries, defeating your original aim.
    Why not use a single library and make playlists for the media content you want on each device? Disable Settings > Store > Automatic Downloads > Apps on each device, then connect each device in turn and turn off Automatically Sync Apps on the Apps page.
    You can now manage your devices independently, while only having to manage the content of one iTunes library, instead of two.
    tt2

  • How to create business operation for starting workflows

    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java class everything
    works fine(wlpi-ejb.jar is required), but when I call business operation from
    Studio I can't use classes from wlpi-ejb.jar.

    Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
    Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
    methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
    "Andrew Pitonyak" <[email protected]> wrote:
    >
    When studio starts, what is your classpath? If you use the included batch
    file to start it, then your class path may not include this :-)
    Andrew
    "Raul" <[email protected]> wrote in message
    news:[email protected]..
    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java classeverything
    works fine(wlpi-ejb.jar is required), but when I call business operationfrom
    Studio I can't use classes from wlpi-ejb.jar.

  • HELP - how do you save pictures through the recovery mode?

    How do you save pictures through the recovery mode.  I have the black screen with cursor and despite trying all the tips noted here nothing seems to fix the issue.  These have included using Utility disk to re-install OS-X, repairing the disks.  Also tried the holding shift on start up and entering username and password.  Also tried internet recovery and then repair and re-install.  Nothing works!
    Happy to restore from a back up, but I have been rubbish and not backed up for a long time.  Also happy to delete and re-install completely but don't want to loose pics.
    Please let me know any suggestions!!

    bemsley wrote:
    Is it possible to attach an external drive and copy across files through the utility function?
    That requires that you can boot the MBP. 
    Or to boot the mac using the time machine back up?
    You can try using startup manager:
    http://support.apple.com/kb/ht1310
    But you still need a working volume where you can install the backed up data.
    The good news is that since you have a Time machine backup, you can transfer that data to another Mac or clone:
    http://pondini.org/OSX/Setup.html
    Ciao.

  • How to make a restart of the workflow in a process controlled workflow?

    Hi Experts,
    How to make a restart of the workflow in case of process controlled workflow? Scenario is like this:
    The user has created a shopping cart with 1000 USD. The process schema has three process level with the first level being approval with completion.
    The first level being executed by the responsible purchaser. Here, the purchaser adds the source of supply and changes the price of the shopping cart 2000 USD and approve the shopping cart.
    Now, I want the approval task to start from beginning so that the requestor can know the changes and accept/reject the changes.
    Thanks and regards,
    Ranjan

    Hi,
    Restarting workflow goes to 1st level approval step. It is not requester.
    I think you need to set condition for "Acceptance by Contact Person" in Define Process Level.
    Regards,
    Masa

  • How do I save songs in the Automatically Add to iTunes folder

    How do I save songs in the Automatically Add to iTunes folder?  Is this done via settings somehow?
    Stated another way......songs recently added to my music folders in the iTunes libary are not updated in the media library automatically.  How do I save songs in the Automatically Add to iTunes folder?
    Still another way......I'm trying to backup songs in my iTunes library by dragging them into a flash drive.  But I noticed that not all songs are included in the iTunes Media folder from which I am making my backup file.  Is there a better way to do a backup?  If not, how do I get the iTunes Media file updated to include all songs in my iTunes library?

    See this Apple support document.
    http://support.apple.com/kb/ht1751
    B-rock

  • How do I save documents from the new Pages into a Word Document

    How do I save documents from the new Pages into a Word Document?

    Thank you so much - so simple!  I had been using the 'share' option (worked in old Pages) and only had icloud or email as options.  I have to attach word documents to emails to send to work. I don't want to use icloud because it's too public and I don't trust it.  Also, you have to be able to access the internet and I need word documents on my USB stick for work where there's no internet.
    I love my Mac but I do wish Apple would remember those of us living in less-than-perfect computer-land.
    Thanks again
    Lindsay

  • How to block the 'save' function when the required fields are not filled?

    Hello, Everyone
    I am new for this scripting. My question is:
    How to block the 'save' function when the required fields are not filled?
    I designed a PDF file with some required fields and I do not want the user to save the document until all required fields are filled. My idea is to write some scripts in Willsave method like:
    if (this.getField("Family Name").value == ""){
    app.alert('You should fill the Family Name field firstly!');
    But I do not think it works as finally the document is saved after all.
    Please help me on that!
    So much thanks.

    Dear Randybearwang,
    I am a Rocky myself and I know how though it is to establish some good codes. Since I created some forms with validation options myself I might have a code for you. The code also creates an alert box (Yes/no option) if the user chooses yes the form will be validatet, if he chooses "no" the alert window will be closed.If  everything is filled out correctly the form will be saved otherwise the textbox will be higlighted and gets focus.
    If you need further assistance , please let me know
    Have fun with the code.
    P.s I don´t know how to upload the "PDF" document. I wrote you an email, please get back to me if you still need the file.

  • How do I get to see the procedures that are running?

    Good afternoon. How do I get to see the procedures that are running?
    Thanks.
    Daniel Sousa

    I agree with Billy: never use undocumented procedures, they can change anytime.
    The link you were referring to is probably this one: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:767025833873 and the post was not from Tom Kyte but from a reviewer.
    The comment from Tom was:
    sorry -- x$ tables are magical and I give no help in that area at all.
    The same user that posted the query added in a following post:
    Tom, I agree 101% - X$ are "magical", they CAN and WILL change anytime, without warning, and worse, NO READ-CONSISTENCY here - so, in a very busy db, chances are of X$ being "late", not refreshed, or alike.
    Regards.
    Al

  • HT4847 my backup file is too big?  how can i change some of the items that are being backed up to decrease size?

    my backup file is too big?  how can i change some of the items that are being backed up to decrease size?

    In iPhoto, Select All the Photos you want to move... Then goto  > File > Export >
    Choose the settings as seen here
    Click Export and select your External Drive
    Best to create a Folder to put them in... and away you go...

  • Can anyone tell me how to post videos taken on the iPhone that are now stored on the Air on Facebook?

    Can anyone tell me how to post videos taken on the iPhone that are now stored on the Air on Facebook?

    Hi
    Yeah got onto that but it won't load up anything readable. It just produces a little annimation of 35mm film strip and when you click on it - nothing. All you end up doing is clicking on the X in the top right hand corner of the annimation and deleting it. Really frustrating because uploading from the iPhone is simple, but I've deleted it off that and can't get it back from the Mac to the iPone either. Seem to be trapped no matter what i do.
    Thanks for your help though

  • How do I find out what the price thresholds are before royalties are paid to the author?

    How do I find out what the price thresholds are before royalties are paid to the author?

    If you sign in to iTunesConnect and look through the Contact Us questions, one of them says:
    "Payments are made within 45 days of calendar month end if both of the following conditions are met:
    All documentation is complete, including any required banking and tax information.
    The payment threshold of USD $150 has been exceeded.
    If you have not received a payment for a given month within 45 days after the end of the month, please confirm that all documentation has been completed and provided. Also, please confirm that the cumulative amount owed exceeds USD $150 by converting reported amounts using current exchange rates."
    I should say though I seem to get paid without reaching this threshold.

  • I am updating my iPhone4s with the most recent OS7.3software update and its been almost 3 hrs now and it has not completed its update. It is still " verifying updated iPhone software. How long does it take for the update to be completed. Thanks

    i am updating my iPhone4s with the most recent OS software update and its been almost 3 hrs now and it has not completed its update. It is still " verifying updated iPhone software. How long does it take for the update to be completed. Thanks

    Well the term "hotlined" I have never heard before. In any case many states (like NY) just passed regulatory powers to the State Public Service Commission of which it may be called something different in your state. You could file a complaint with them. Or file a complaint with your state attorney generals office, they also take on wireless providers.
    The problem here is the staff you speak to are poorly trained, in days gone by it took one call to them and they pulled up your account and see the error and had the authority to remove any errors. They did not remove legitimate account actions, but used their heads instead of putting a customer off or worse lying to the customer.
    Its a shame you have to go through what you going through.
    Good Luck

  • I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    Try upgrading your Mac to the newest version of OS X Mavericks, and try upgrading your iPhone and iPad to the newest version of iOS 7.
    OS X Mavericks may not be in the Mac App Store by now, but you can find the newest version of Mavericks here at download.com: http://download.cnet.com/Apple-Mac-OS-X-Mavericks/3000-18513_4-76018588.html. Note: Download.com it a safe website to download free software.

  • I have Pages for the iPad and desktop, how can I save it besides the iCloud on my computer and not the iPad?

    I have purchased Pages for my desktop iMac and Macbook Air.  I also have it on my iPad, iPhone and iPod Touch.  They are all synced through the icloud, but the space is now starting to fill up.  (I am the guy asking trivia questions and it fills up with A LOT of questions).  BUT, after each week, I can get rid of 3 documents (16 questions per document).  So, I have roughly 80 games worth of trivia and half of which I would like to save on my computer.  I can pull it up on my computer and it shows that I have that from the icloud, but not on the desktop.  I have lots of space on my desktop to save these, but the iPad is not as large for space.
    How can I transfer roughly 40 documents (from pages) from the icloud to the desktop, (for permanent storage)?  do I have to do each one individually, or is there a select documents you want to move?  Then I can delete from ipad as it seems to take up space on both the ipad and the icloud.
    Thank you in advance.

    Just ignore that post above. I tried to edit it but was too late. Deleting a document from iPad does delete it from iCloud.
    Ignore the line 'There is no data limit on iCloud.com so you could keep all your documents on there' because of course then they will sync to your devices and that's not what you want.
    Sorry, for the confusion.
    Removing documents from iCloud:
    iCloud: Remove documents from iCloud
    You can also move documents to your computer by opening Pages, select iCloud and all the documents you want to move, and drag them onto your desktop (or folder).
    iCloud: iCloud storage and backup overview
    Here is a discussion about 'other':
    Re: What is "other" memory on my iPad

Maybe you are looking for

  • Starting OEM in Linux

    As part of starting the Oracle Enterprise Manager, while trying to create the repository using the command emca -repos create, We are getting the following error. STARTED EMCA at Jun 4, 2012 2:56:15 PM EM Configuration Assistant, Version 11.2.0.3.0 P

  • How can I create a full wave rectified signal tia sal22

    How can I create a full wave rectified signal.  I figured out how to create a half wave signal using upper limits and lower limits just having trouble with the next part. tia sal22 Message Edited by sal22 on 08-06-2009 05:49 PM Solved! Go to Solution

  • Remove Data Guard Broker configuration file

    Hi, We have a data guard configuration running on Oracle 10g RAC (2 nodes) ASM. After failover, we rebuild the old primary as physical standby. But every time when enable the data guard broker, it created problems. So the best solution for us seems t

  • Macbook air 13 connecting to ethernet?

    I am moving to University in a few weeks and my halls has no WiFi, just ethernet connection. I have recently bought a macbook air and I know I need an USB to Ethernet adapter, but Ive read bad reviews about apples one, saying that after a few months

  • Create hierarchy datasoure at R/3

    Hi all. I want to create datasource for Hierarchy at R/3 I created it at T-code BW07. But I don't know how to maintain ROOHIECAT table and BW10. When I create InfoPackage with this datasource I cannot find any Hierarchy in the list. Please help ! Mes