BADI n-step SC approval - Approval Index and Data Change Problems

Dear forum gurus,
We are implementing SRM 5.0 (SRM SERVER 5.5 SP 9) in Extended classic. I am developing the BADI's to use the n-step SC approval workflow WS14000133.
Our approval process is as follows:
1. Cost Centre approver (based on CC with the largest value in the SC)
2. Financial approver (based on the total value of the SC)
I have done this now and it works as long as every step is approved!
I have implemented the BADI 'BBP_WFL_EMPL_WI_BADI' - method 'CHECK_REQUESTER_WI' to send back any changes to the cost centre to the shopper to review. The standard also sends back total value changes to the shopper in the same way.
My problem is that if the main CC or the total value of the SC are changed, the logic goes back to the shopper and then if the shopper 'Accepts changes', the logic skips the first apporver again and goes directly to the second (financial approver).
I think there are 2 options:
1. After the shopper accepts chnages, to restart the WF so a new WF template is generated. Then my logic will show the new CC and FI approvers again.
2. I change my logic in the 'GET_REMAING_APPROVERS' method so the apporval index is not assumed to be 1 or 2 only. I guess I will have to work with logic to read the history and apporval index, but this seems very complex.
Option 1 - I can't get this to work. After the shopper accepts changes I can't get the WF to restart in the 'BBP_WFL_SECUR_BADI'.
Has anyone fixed this?
Option 2 - The logic for checking apporval index and apporval history tables seems to me very complex. Has anyone done this and can they explain the logic to me if so? The problem here is that the sample code for this BADI assumes the approval indexis always 1 for the first step and 2 for the second step, but this is not the case!
Thanks in advance,
Best regards,
Nick

Hi,
I feel setting the parameter BBP_WFL_SECURITY  for the Approver should do the trick.i.e. Restart the workflow adn the same approval process should be followed again.So plese adjust the value of this parameter for the Approver role in trascn PFCG.Also if you want to overwrite the settings of this paramtere(as maintained in PFCG),you can implement the BADI "BBP_WFL_SECUR_BADI".
For  more info,refer  the foll links:
http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
BR,
Disha.
<b>Pls reward points for useful answers.</b>

Similar Messages

  • Is there a place to see the "Marker Text" for the entire index and make changes?

    I know how to make individual changes in "marker text" for the Index.
    Is there a place to see the "Marker Text" for the entire index and make changes there?
    I am indexing a book that uses quotes from scripture.
    As an example, I want to change listings from
    Colossians 3:10-11
    to
    Colossians 3 verses 10-11
    I would appreciate any help.
    If this is not the correct venue for this question, please disregard.

    You didn't mention which version of FM that you're using. In FM9, this can now be done in the Marker Pod.
    There are third-party utilities that also let you see all marker content.
    In the freebie category is MarkerWorker from Cudspan at: http://www.cudspan.net/plugins/
    In the paid plug-in category are:
    IXgen: http://www.fsatools.com/ixmid.html
    MarkerTools : http://www.leximation.com/tools/info/markertools.php
    emDex: http://www.emdex.ca/
    Indexing add-ons:
    IndexTools (helpful for formatting and other Index layout tricks): http://www.siliconprairiesoftware.com/Products.html
    In the DIY category, you can create a List of Markers for the Index (with hypertext enabled), open the Marker window (Special > Marker...) and then use ctrl+alt click on the entry to make a hypertext link to the location and see it in the marker window for editing. [Note: you can also do the same thing from the Index itself]

  • 575 LRE and data transfer problems

    575 LRE and data transfer problems
    Hello,
    I have a connection from my provider using the Cisco 575 LRE, configured for 10 Mbit/s. I don't know the make and model of the switch but I assume it is likely a Cisco device also.
    I'm experiencing problems with the LRE connection whenever big files are being transfered simultaneously in both down- and upstream directions to/from a PC. The data transfer may slow down to a stall and all WAN connectivity may become momentarily blocked. Transfer speeds and reliability always seem good as long as big files don't get transferred in both directions at the same time.
    What could cause this problem? My service provider says that they see no problems in their end and they are unable to help me. I don't know how extensively they have looked into any possibility of problems though.
    I've tried different 100Mbit network cards, replacing ethernet and phone cabling and changing duplex settings and MTU, but nothing has completely solved the problem so far. Forcing network cards to full-duplex does prevent the worst slowdown and hanging described above, but limits upload speed to around half of the maximum available.
    Not sure if this is meaningful here, but my service provider claims they have the switch my CPE is connected to configured for full-duplex, but when I have a PC network card set to autonegotiation, it will always result in a 100baseTX half-duplex link with the 575 - this is the case where I get maximum speed in either one direction but also the mentioned problems with bi-directional transfer.
    I don't know what more I can do to the PCs here to solve this problem and I don't have access to configuring the CPE device, because I don't own the switch it is connected to. I can only think of trying to ask my ISP to read this thread if someone has a possible solution that requires actions on their behalf.
    Any help would be much appreciated.

    The problem, as you describe it, is most likely cabling ...it could be the cable between your PC(s) and the 575 (most likely), or between the 575 and the switch.
    What you are seeing are the effects of crosstalk (signal from one pair interfereing with the other pair), that's why you see it in full-duplex mode and not (so much) in half-duplex (with half-duplex, only one side talks at a time).
    The only part you would be likely be able to change would be the connections on your side of the 575 ... so, try another cable; preferably a store-bought cable and in good shape (twisted, crushed, kinked, stretched, and poorly constructed cables are a Very Bad Thing).
    LRE was designed to handle voice-grade cabling, but if you're at near the extreme length, you may see some degradation.
    Good Luck
    Scott

  • Random Clock Time and Date Changes

    My clock time and date changes randomly. I have reset the iPhone and updated its software but it still changes. Can anyone help?

    That just happened to me too! It started yesterday April 27 and did it today too. I think it changes around like 1pm-1:15pm. In order to get it to change back to the right time, I just turn off my phone then turn it back on. But that doesn't fix the problem. I don't know why its doing this! :[

  • How to or Step by step to connect SAP ECC and Data Integrator

    Hi,
    I need a document How to or Step by step to configure and connect SAP ECC 6.0 and Data Integrator or Data Services.
    someone help me?
    thanks!!

    Antonio,
    Please find the detail guide step-by-step document for different connectivity types at this following link on SDN under business Object section.
    [http://wiki.sdn.sap.com/wiki/display/BOBJ/ConnectingtoSAP]
    Thanks,
    Ashok

  • RE: Time and Date Changed by itself

    The date and time will change to the wrong one automatically especially after the batt died. This repeated itself regardless on how many times i readjust the time and date to the right one. Someone please help me.

    I had the same problem today. I also have the iPod 4g, no problems up until today. First make sure you calender is set to "Gregorian, you can do this by going to Settings --> General --> International, and you will see the calender options, mark Gregorian. Still didn't work? Try this: I experimented a little, and what i did was: First, I went to Settings --> General --> Date and Time --> Set Date & Time (before doing this make sure you're in the correct time zone) and here you can change the time and date. But, if it changes automatically, go to the date, and you may have the same problem here, but here's what i did. I couldn't change the month, or day, but i could change the year. Change the year to 2011, and then all the other options should come up. Hope this helped!

  • Create a new OSB domain and data source problems

    Hello,
    I noticed a problem while create a new OSB domain with Oracle Service Bus 10gR3 on Solaris 10 (intel-based).
    This domain is composed of two managed servers deployed on a cluster.
    I have configured the JMS reporting data sources to use an Oracle 10g (XE) database (driver Oracle Thin (non XA)) installed on a remote server.
    While trying to start my managed servers, the startup process of these managed servers failed due to a data source problem on "wlsbjmsrpDataSource" or "cgDataSource-nonXA".
    The workaround I found is to delete and recreate (through the WLS console) the data sources "wlsbjmsrpDataSource", "cgDataSource-nonXA" and "cgDataSource".
    In this situation, my managed servers can be started properly.
    Is it a known problem located on the configuration wizard?
    Thanks for your help.

    Hi
    For the answer.
    I fully understand that those datasources are default ones and are mainly related to JMS reporting.
    But my question was probably not well expressed.
    The problem I had is when the domain is created, the managed servers won't start due to problems related to theses datasources.
    The workaround I found is to delete and to create those datasources from the WLS console.
    In this situation, the managed servers are able to be started.
    I want to know if this is a known problem/limitation of OSB 10gR3 with Solaris 10 and Oracle 10g?
    Thanks for your help.

  • Apple Time and Date Servers - Problems?

    Running OS X 10.5.6 --and today is 1/5/09. Just noticed the date is showing yesterday 01/04/09. I have setting to update using Apple Time & Date Servers. I have rebooted and date is still incorrect ..time is correct. Any ideas? thanks

    Hi,
    Errmmmm - It is still Sunday the 4th here! Tomorrow will be Monday the 5th
    Cheers.
    Ian.

  • Approval process for Personal Data Change in ESS

    Hi Experts,
    We need to implement approval process from Manager whenever the employee changes his Personal Data through EP in ESS.
    Is there any standard method or process for doing that. Or any way of doing it without customization.
    Thanks
    Ash

    Hi,
    Do the Admin Personalizations in Portal, follow the note
    1234273 and do the Personalization accordingly.
    Hope this helps.
    Cheers-
    Pramod

  • Viewset - active view and data validation problem

    Hey there,
    I've a problem while using a viewset (1 col, 2 rows) and the data-validation in the wdDoBeforeAction() method.
    My application works basically like this:
    The first view is displayed with 2 mandatory input fields. Upon the evaluation result of the entered data in these fields, a corresponding second view will be displayed. The input fields in the first view are set to read only and a button named "Change" appears. This button triggers an action which fires and outbound-plug to an empty view, so that the second view disappears and resets the "read only" properties of the input fields in the first view, so that the user can enter new data.
    The problem is, that the second view contains input fields itself, which are validated in the wdDoBeforeAction() method of this view. The navigation is cancelled if an error occurs. Well, this is fine if i want to submit (pressing the button "Approve" in the second view) this data and proceed, but if i want to go back to the first view (by hitting the "Change" button), i want to discard all information entered in the second view and i dont want this data to be validated. It's quite annoying if u just want to correct the first views data but have to enter correct values for the second view in order to get through the second views checks..
    I hope that's clear enough, otherwise i will upload a screenshot to clarify.
    Thx in advance
    Regards
    Pascal

    Hi Pascal,
    although I wont prefer to do so for reasons of readability, you could use wdDoProcessbeforeAction to control your view-flow.
    Take a look at the example, I have two Buttons with two actions, one is set on "Validate", the other is not (guess which on is the validating ).
    You can get the action triggered inside the doBefore ... method and determine whether or not the checkbox is set.
    So put your code to validate the input in the i(isValidting) branch and your problems are solved.
    Keep in Mind: I would delegate the Validation from the view to the controller, handle the validation myself with custom coding and then check in the view controller if any errors occured.
    hope that helped,
    Jan
      //@@end
      public void wdDoBeforeAction(com.sap.tc.webdynpro.progmodel.api.IWDBeforeAction validation)
        //@@begin wdDoBeforeAction
           IWDAction currentAction = validation.getCurrentAction();
           if (currentAction == null) return;
           String action = currentAction.getText();
           boolean isValidating = currentAction.isValidating();
           if (isValidating) {
                wdComponentAPI.getMessageManager().reportException(action);
           } else {
                wdComponentAPI.getMessageManager().reportSuccess(action);
        //@@end
    Edited by: Jan Galinski (Holisticon) on Sep 8, 2009 3:15 PM

  • Data element and domain change problem

    Hi Gurus!
    I changed a Key figure's domain in our system.
    The users would like the Key figure with 5 decimal places, but there was only 3 decimal places.
    I did the changes based on this document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/209b2916-1cca-2d10-b39e-90df259764ef?quicklink=index&overridelayout=true
    Everything is fine in our develop system.
    But when I transport the changes to our test system, there are some error messages after the transport.
    The transport's return code is 8.
    The error messages are:
    InfoObject ZIND (or ref.) used in InfoProvider with data managmnt.-> Error:
    InfoObject ZIND: Decimal places was changed from 000003 to 000005
    InfoObject ZIND being used in InfoCube ZPCA_R01 (contains data)
    I don't want to delete any datas from the cube (this will be critical in our productive system).
    I tried to activate the Key figure and the cube, I tried "Activate and adjust database" option in trn. SE14, but nothing helped.
    Do you have any alternate ideas?
    Thanks a lot.
    Gergely

    Thank you for your response.
    I will create a new key figure.
    Best Regards,
    Gergely
    Edited by: Gergely Gombos on Nov 24, 2010 10:59 AM

  • Printed Adobe Form - pagination and data content problem

    I have been making changes to HR Appraisal Forms and all goes well except when I want to paginate a section. 
    The text is in a value string.
    I define a flowed subform with direction Top to Bottom.  binding None
    Subform Pagination Place > Following Previous    After > Continue Filling Parent If Dataset Paginated > Goto content area (there is only one content arrea defined in this form
    Allow Page breaks within content.
    I have a table object within the Subform. Place > Following Previous    After > Continue Filling Parent If Dataset
    The table has a Header row Place > Top of Next Page (this works fine) checked Include Header Row Initial Page and Subsequent Page
    the Table row (body) Pagination Place > Following Previous    After > Continue Filling Parent If Dataset
    When I test with more data than fits on page I get overflow and pagination with the Header on both pages.
    The bad the data that overflows to the new page is the same from the start of the first page, it repeats.  aso the second page has the content the length of what the overflow data would have been.
    How do I get the data NOT to repeat from the beginning on the second page?   This should have been easy but I have tried almost everything to correct the problem EXCEPT define all the objects as subforms and use Acessibility to make them work as table or row.  Please remember that I am NOT trying to make an interactive form and just want printed overflow.

    Hi,
    It allows the save as from a process point of view there speaks nothing against having long notes. And in the smartform print and in any other online UI in PM (R/3, BSP, WD) the notes are displayed correctly.
    The PDF is just another UI component, and the only one with the issue. To be honest, I think the SAP note is a rubbish answer, and an easy way out. Yes, in general it is better to have short notes on element level and longer pieces of text in an attachment.
    But logically speaking, the PDF thing is just plainly a bug.
    But we can talk short or long about it, in the end SAP is the one with the final answer
    Regards and Groetjes,
    Maurice Hagen

  • UserExit/BADI in 4.6C for Purcahse Order Import data change at Item Level

    Hello ,
    When we create a PO from Sales Order (I mean Simple Direct Delivery PO ) SAP allows the region of Destination always based on Plant leven , Now in my reuirement the same shuold be updated based onthe Customer in the sales order .
    Anybody please provide if there is any chance to enhance to PO .
    Hello Anybody please advise on this isssue ...
    Regards,
    Edited by: shishupalreddy ramreddy on Dec 15, 2008 7:29 AM

    Hello ,
    Thanks for the Reply ..
    I tried the way you mentioned , But the Problem is after passingthe required value to C_HERKR ,
    program is having a statement as below .
    MOVE CORRESPONDING EIPO TO save_eipo LIKE STRUcture ...
    In which HERKR field is not provided .
    Pleae advise , anyhow I will try it again and seee
    Thanks ,

  • Wi-fi and data signal problems after upgrade to ios 8.0.2

    Hi all,
    I have an iphone 6 and updated to ios 8.0.2 two days ago (skipping the ill-fated ios 8.0.1). However, since the update my wi-fi signal is even worse and keeps dropping out, as does me 3G/4G signal.
    Is anyone else having this problem? Should I (can I?) roll back to ios 8?
    Thanks!

    You are not alone.
    As stated by gdgmacguy you may need to do a full reset/restore, but this may be overkill. Before putting your iPhone back to factory defaults, you should try doing a full power down cycle (press and hold the power button, slide the off switch on screen). Wait a few seconds before powering back up. Put your password in to unlock the iPhone and wait to see if your wifi/cellular signal improves. If this does not work, then you need to see if there is something else messing with the handset. The way to do this is to backup all your stuff first and then do a full factory reset. DO NOT RESTORE your iPhone yet. Let it start up as a new handset. If your wifi/cellular signal does not improve, then there is likely to be a hardware issue and you should take the handset back to your point of purchase. If your signal does improve without any apps etc, then it could well be that you have some apps using background services. Turn off background services and switch off cellular data and see if this helps with the wifi stuff. If so, then you need to go through the list of apps trying out which combination works.
    iOS 8 is - in this shark's opinion - a bit of a bugfest and still has a number of issues for Apple and Developers alike. I expect to see 8.0.3 and 8.0.4 or maybe even 8.1 before too long.
    Hope this helps.

  • Backup jobs and password changing problem

    Hi
    I have created few rman job in my db (11.2) to backup database.
    I my company i have to change all system passwords (os - oracle, system, syman, etc...) every 90 days.
    When i changing password for user who created backup jobs, this jobs stop working.
    I,ve got "Invalid username and/or passworderror writing input to command" error.
    Of course after changing passords i always setup "Preferred Credentials" but that dosn't help.
    What am i doing wrog? What am i missing ?
    Please advice.

    If you use Preferred Credentials to authorize a Job, it will use the current credentials on the moment it is dispatched for execution.
    This means that in case passwords changes, you just need to modify you preferred credentials
    This is something you can do using EMCLI (command line interface) in a script for instance (or just use the GUI to modify)
    checkout:
    Oracle® Enterprise Manager Command Line Interface
    11g Release 1 (11.1)
    http://download.oracle.com/docs/cd/E11857_01/em.111/e16185/toc.htm
    regards
    Rob
    http://oemgc.wordpress.com

Maybe you are looking for

  • If I'm not prompted to save a password, how can I create an exception URL? Library card numbers are confidential by law and are being displayed on our machines

    The autofill/password function is allowing library card account nuumbers to display for every previous user on our library computers and probably other computers on campus. Since the box asking "do you want to save" does not appear, we aren't able to

  • I'm sorry, but I can't remember it for the life of me...

    Hello, everyone! Nice to meet you all. I do apologize, but I've been re-reading some old documents of mine and I came across something I did that I can't remember how I did it. This marker ... ... allows me to mention anything at anywhere else in my

  • Earphones not working z1

    i hve sony xperia z1 nd my left ear phones not working i hd checked lots of handfrees but problems still same left earphones not working  i m da sony fan plzz help me  how to resolve ds problme Solved! Go to Solution.

  • Downloading infoobject properties

    Hi,   Is there any way I can download the properties of all my active characteristics from the system.  Things like attribute only flag, master data table (/bic/p...), text table, time dependant or not.... I need to design process chains so I need to

  • Problem with video calling

    Dear Skype community, Last few days I have a weird problem with my Skype. I want to use the option video calling but my video is all messed up. I have included a screenshot so you can see what my problem is. In the screenshot its my webcam that messe