WORFLOW PROBLEM FOR SC APPROVAL

Hello All,
    I am facing a wierd problem...Im  implementing the BADI  BBP_WFL_APPROV_BADI for header levell shopping cart approval based on the Cost centre  and Product Category.We have mainntained 3  tables  for the approvers  based on the  values for Cost center and Prod category values.
    These values  for the approvers  are passed through the BADI.Curently I have hardcoded the values for the approvers.
     I have activated the WF 14000133.  Initially the problem was that the Witem was goin to al the Users i.e. the Approver list from the BADI was not getting  copied to teh Actual agents container in the Workflow.
    So we applied the note 898768.after the application of  the note,the IWtem was  goin to the first approver for approval,but after he  apporves the  SC,the status is updated to "AWAITING APPROVAL" but the Witem again goes to the first approver for  second approval.i.e. the second  approver is not being taken by the WF..everytime the  actual approval index is 1.
  The coding is as  follows:
clear approval_table.
      refresh approval_table.
     case actual_approval_index.
        when 0.
         ls_approver-approval_index = 1.
          ls_approver-approval_agent = 'USDOLAM'.
          ls_approver-name = 'Dola Mukherjee'.
          ls_approver-approval_description = 'First approval step'.
          append ls_approver to approval_table.
          ls_approver-approval_index = 2.
          ls_approver-approval_agent = 'USNIRMALN'.
          ls_approver-name = 'Nirmal'.
          ls_approver-approval_description = 'Second approval step'.
          append ls_approver to approval_table.
*1st level approval
        when 1.
          ls_approver-approval_index = 1.
          ls_approver-approval_agent = 'USDOLAM'.
          ls_approver-name = 'Dola Mukherjee'.
          ls_approver-approval_description = 'First approval step'.
          append ls_approver to approval_table.
          ls_approver-approval_index = 2.
          ls_approver-approval_agent = 'USNIRMALN'.
          ls_approver-name = 'Nirmal'.
          ls_approver-approval_description = 'Second approval step'.
          append ls_approver to approval_table.
2 step approval
        when 2.
          ls_approver-approval_index = 2.
          ls_approver-approval_agent = 'USNIRMALN'.
          ls_approver-name = 'Nirmal'.
          ls_approver-approval_description = 'Second approval step'.
          append ls_approver to approval_table.
        when others .
          no_further_approval_needed = 'X'.
      endcase .
    Also i dont understand why do we also consider actual_approval_index  as 0?Please ca anyone tell me  whether I need to pass any additionla data through the BADI for teh Actual Approval Index????
  We are on support package SP08.
Regards,
Disha.

Hi Pierre,
  no program termination..in the step detremine  next approver ,actual agents im gettng 1 entry which is the same as  the first apporver,approval index is 2,approver list is 2 entries(whcih r set in the BADI),nofurther approval needed  variable is  blank.
what i can see is after the first approval,the actual approval index value is remaining 1.
I have found one  oss note 923463 but not sure whether this will solve the problem.
Regards,
Disha.

Similar Messages

  • Problem with Contrat for automatic approval

    Hi Folks,
    We are on SRM 7.0
    We have activated BC set for Automatioc Approval for contracts. When the contract is created and released to erp, the status is still shown as awaiting approval.
    Can someone help to guide in troubleshooting this issue
    Thanks, Yaten

    Hello,
    We have already turned on the "process controlled workflow" for contract and already have activated the BC set but still its going in Awaiting approval status. Please advise.
    Thanks,
    Yaten

  • Workflow for Document Approval

    Hi all,
    I'm a newbie to SolMan and is trying to figure out how to implement a workflow for document approval. A similar question has probably been posted in the past, but I can't find a definite solution, only some hints.
    Basically, what we're trying to achieve is the following:
    When a document is uploaded using SOLAR02, and the creator of the document changes the status to ready for sign-off, we would like to trigger a workflow which will send an email to a couple of persons who are responsible to approve the document. We already implement the digital signature, we just want to add an automatic email notification to be sent to the approvers.
    Based on my research, it seems that this is not supported by SolMan and hence we have to do a custom development.
    There's an object key called SOLMANDOC and we should raise an event (something like SIGNATURE_PROCESS_START) to send an email notification to the approvers. Can somebody confirm whether my understanding is right ? Does anybody know the name of the BADI that we can modify to achieve our goal ? 
    FYI, we're using SolMan Rel 7.01 SP 19.
    Thanks in advance
    Lara

    Hi Phil,
    I'm facing with problems with creating a simple 2 steps release strategy.
    the problem is I cant approve the last step of the release.
    This is what I did:
    In spro Digital Signature->Signature strategy:
    in "Define Authorization groups" I create this entries:
    1. EING
    2. VERIF
    in "Define Individual Signatures" I create this entries:
    1.  S1   EING
    2.  S2   VERIF
    in "Define Individual Strategies: I create this entries:
    SigStrat: ZSIGSTR
    Signature Method: R
    Display comment: X Required
    Display Remark: X
    Display document: X
    Verification: not checked
    in "Assign individual signatures"
    CtrIn  Indiv.SIG.      AGrpDIG
    1          S1               EING
    2          S2               VERIF
    Display Predecessor for Ctrln is 2 is 1
    for "Display release statuses"  an entry with one line with the value 1
    and in "Display individual signatures there 2 entries 1 and 2.
    in spro "Define Document status schemes"
    stat scheme "ZSIGSTR"
    4 status:
    Status                 init status      Sequence    Low     High       lock         Signature schma  End status         Cancel status
    COPY_EDITING       X                  10           10       20          -                    
    REVIEW                                     20           10        40        X                    ZSIGSTR         RELEASED    DECLINED
    RELEASED                                30           10        40        X                   
    DECLINED                                  40           10        20             
    I created two roles with object c_sign_bpr one with the value "EING"   and the other with the value "VERIF"
    I assign this status scheme to a document type in my project.
    I tried to release a document the first step was the author of the document move the status to "REVIEW" and I got a window that i need to enter my password and it worked ok.
    The problem is in the second step that I need to release the document (now is in a REVIEW status) When I press on the icon in order to release I didn't get the option to release only to cancel there is no "V" option in the small window.
    Can you please tell me if I did a correct customization? also can you tell me if my problem is maybe missing authorization? Can you direct me to reading material or to an example?
    Best regards
    Lior Grinberg
    Edited by: Lior Grinberg on Nov 28, 2011 6:22 PM

  • Query for PO Approval

    Dear Sir / Madam;
    Please Help, We try to made Query for PO Approval with condition if PO Type "ITEM" have to approve by Purchasing Manager, but for PO Type "SERVICE" have to approve by General Affair Manager.
    We Create Query for this condition " SELECT *  FROM OPOR  WHERE T0.[DOCTYPE]='I'
    We already create the stage, and this query is not work. But if try to set the total Doc greater than 1000000, it is work.
    Dear Sir / Madam, please help me to send me the right query ?
    Thanks for your help
    Regards
    Petrus

    Hi,
    I suggest to add select distinct 'true' or select 'true' for in your query like previous answer.
    Here are the solutions for your problem:
    A. for doc type is not as same as service :
    SELECT distinct 'true' FROM OPOR T0
    where $[OPOR.doctype] = N'S'
    B. For doctype is not as same as item:
    SELECT distinct 'true' FROM OPOR T0
    where $[OPOR.doctype] = N'I'
    Both have been tested and work well.
    Rgds,

  • Document Types Setup for Expense Approval and Payable Invoice

    Hi,
    Can anyone please suggest Document Types Setup for 'Expense Approval' and 'Invoice Approval' and its tables related to the same. Table storing its document_type_code and wf_approval_itemtype as we have for PO_DOCUMENT_TYPES_ALL table for Purchase Order.
    Thank You.
    Regards,
    Meghana

    Hi
    It could be because of main memory problem... so Restrict your selections and do the statistical setup
    by the way how many comp codes you have? restrict with comp codes or doc ranges
    Thanks,

  • Creating wf  within MSS for the approval OT

    Hi every one,
    Overtime can be entered by the non-exempt salaried employees in ESS. Once entered, it is being sent to the immediate manager for approval/refusal. The problem is, if the manager goes on vacation or is out of the office for a long period of days, the manager can not delegate to someone the task to approve the OT sent by the employees. In creating a workflow within MSS for the approval of the OT, it will ensure that it is being treated in due time and will be paid on the proper pay period. In doing so, we will assure to the employees that they will receive the monies for their hours worked. It will also assure the continuity and flexibility of the OT process when a manager is not there to approve the OT submitted by the employees.
    Any one have an idea if exist a standard wf or tasks ?
    Thanks in advance
    Soufiene

    I' m searching wich wf   is using for this TS20000459 .
    I  used SWU0  for event  COMPLETED  and i found several tasks.
    I know that business use a wf or task to approve or reject OT , how i can found a wf  that they use ?
    Thanks in advance
    Soufiene

  • Decision Buttons for SC Approval without functionality

    Dear Experts,
    in SRM 7.0 Classic, we are facing the following problem:
    When an approver logs on to the SRM Portal, he sees a work list with the shopping carts that are open for approval.
    At the bottom of the list there are so called decision buttons where it should be possible to approve or reject a shopping cart without entering it.
    Unfortunately these buttons are not working in our system. When the approver klicks on such a button, e.g. the button Approve or Reject, the following error is shown on the screen:
    "Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException
    Message:Wed Aug 11 10:42:17 CEST 2010
    (Connector) :com.sap.netweaver.bc.uwl.connect.ConnectorException:Wed
    Aug 11 10:42:17 CEST 2010
    (Connector) :com.sap.mw.jco.JCO$Exception:Access via 'NULL' object
    reference not possible."
    Can you please help me understand the root cause for this failure?
    Thank you very much.

    Hi,
    You can handle it in the BADI BBP_SRC_DETERMINE. Approved SC goes to Sourcing Cockpit and PO is not generated.
    Regards,
    Masa

  • VERY COOL: the web app for review & approve

    I have downloaded the package at
    http://developer.apple.com/samplecode/FinalCutServerIntegrationSample/
    read the readme, which is actually a manual, and set up everything accordingly. And now I have a very cool web app for review & approve with the same look and feel as the client. This is such a great feature that I really have no clue why apple is hiding it. There are third party apps that are less cool and cost a lot and don't send comments and flag back to FCsvr as this web app does.
    And the best thing: it's very easy to install.
    willard

    Don't give up so soon..
    Delete all XML files in the xmlin folder. try it again and when you see in "search all jobs" go to the administrator/log panel en double click on the upmost row (the one that inform you that the script has run). If it says cannot read XML file, the go to the xmlin folder and check if there is a new XML file. There probably is but not with the title you gave to the asset. This means that the script had problems assigning the title to the name of the XML file.
    Try now uploading a new file. Don't change the filename and give a tite of something without spaces. See if it works then.
    Also be aware that you set the priority probably to medium. A normal device scan would probably stop this.
    willard
    Message was edited by: Willard Jansen

  • Removal of Buttons from Adobe form for PCR Approval

    Hi,
    I am using adobe forms for PCR approval using the Business object method EXTSRV-PROCESS. The binding parameters are as follows,
    <b>MODE = &Displaymode&
    REQUEST_NO = &Notification.Number&
    DESCRIPTION = &Notification.Description&
    IFV = A</b>
    The display mode passed as parameter is 'Change'.
    The problem is i am able to see all the 5 buttons (Approve/Reject/Return to Author/Compete/Exit) but I want only the Approve/Reject/Exit buttons to be seen. I found the following thread with more or less similiar requriement but unable to find a solution from it. Any suggestions on this?
    Buttons for ISR_APPROVE & ISR_PROCESS appearing in Workflow
    Thanks,
    Prasath N

    Hi Prasath,
    Long time before even we too had a similar requirement...But we were not able to solve the problem. Luckily, USER is convinced with going ahead with those 5 buttons.
    Will surely keep you updated in case if I get to know any solution.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
    In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
    After that is done reboot the machine and see if you can log in.
    If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
    Reboot and try again.
    If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
    Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
    Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
    Lots of work, but there is no Lion disks.
    https://discussions.apple.com/message/16276201#16276201

  • Hi team , I have some questions/Problem for my product apple (iPad,iPhone) , I want to employee speak and type thai language

    Hi team , I have some questions/Problem for my product apple (iPad,) , I want to employee that can  speak  or response me in thai language
    1. ผม อาคเนย์  พำนักอยู่ประเทศไทย กรุงเทพฯ  มีปัญหาสอบถาม ดังต่อไปนี้
       - กระผมได้ทำการตัดบัตร เครดิต เพื่อซื้อเกมส์ผ่าน itune store ผ่าน apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ในวันที่18 ก.ค. 56 เวลา 17.07น. ซึ่งทางบัตรเครดิตได้แจ้งเรียกเก็บเงินมายอดเงิน 39.99$ ซึ่งในระบบจริงๆ ทางกระผมต้องการตัดในยอด 99.99$ แต่พอได้ประสานงานไปยังธนาคาร ได้รับการแจ้งกลับมาว่า ได้ทำการตัดบัตรในยอดเงิน 39.99$ ซึ่งในความเป็นจริงนั้น กระผมไม่ได้สั่งซื้อเกมส์ในยอด 39.99$ ซึ่งในยอด 99.99$ นั้นพยายามตัดในระบบบัตรเครดิตอยู่ แต่ทางกระผมได้ยืนยันกลับไปว่าไม่ให้ระบบตัดนะครับ เพราะว่าเนื่องจากมีปัญหาในการชำระเงินระหว่าง Apple itune store อยู่
       - ทั้งนี้ขอให้ทางเจ้าหน้าที่ประสานงานตรวจสอบ apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ตามที่ได้ให้รายละเอียดโดยด่วนว่าเป็นเพราะว่าระบบมีปัญหาหรือว่ามีอะไรเกิดขึ้นในข ั้นตอนการชำระเงินครับ
    รบกวนประสานงานกลับมายังกระผม อาคเนย์ ที่หมายเลขโทรศัพท์มือถือ +**** / reply feedback  email : lekod1@*** โดยด่วน ในวันศุกร์ที่ 19 ก.ค. 2556 ครับ
    ขอบคุณครับ
    อาคเนย์  อุดปิน
    กด
    <Edited By Host>

    Google translation:
    พนักงานของ iTunes Store จะไม่ได้อ่านข้อความในเว็บบอร์ดนี้ ถ้าคุณต้องการความช่วยเหลือสำหรับปัญหาที่มีใน iTunes Store, คุณจะต้องติดต่อกับพวกเขาผ่านทางแบบฟอร์มเว็บนี้:
    http://www.apple.com/emea/support/itunes/contact.html

  • Report for pending approval absences

    Dear all Gents ,
    I want to create report for all types of employees absences which are pending approval and approved and every thing , any one has a select statement for this please ?
    thank you

    You have to query : per_absence_attendances table for applied leave
    and HR_API_TRANSACTION Table for pending approval leave.
    Thanks

  • Problem for releasing  blocked sales order on Creditlimit

    Hi Gurus,
            I a   hve a problem for releasing blocked sales orders
             what i have done: 1)i have blocked sales order based on exceeded creditlimit
             (i have change SDType in 'OVAK' is 'C')
                      2)now i have to release for furthur processing so i have done following steps
                      3)Goto VKM3/VKM1 T.Code and then release what order that is blocked.
                      4) order will appear in the list.
                      5)Select that one.
                      6)Click on the green flag that appears on the left hand side.
                      7)Click on save.
                      8)click on back it will ask for "Leave list".
                      9)Click on yes.
                      10)It said that Sales orer has been released
    Still what my problem is:
    Problem: 1)So i'm trying to create deliver for Sales order but it shows an error
             2)"Sales order is blocked for delivery: Credit limits" Even it was released    
    Plz kindly help  me what i do....
    Thanks In Advance
    sivakumar

    sorry   i was  unfotunately put this thread here  over in SD

  • I have been using Elements 12 without a problem for 9 months.  Now when I try to open the program, I get an error message  "Adobe Photoshop Elements 12 quit unexpectedly" and it will not open at all.  What can I do to open the program?

    I have been using Elements 12 without a problem for 9 months.  Now when I try to open the program, I get an error message  "Adobe Photoshop Elements 12 quit unexpectedly" and it will not open at all.  What can I do to open the program?

    Thank you for responding.  Nothing actually worked!  After reading the posts online, I called Apple.  They indicated they have seen problems with some software after their upgrades.  The technician was able to fix the problem on my computer remotely, but I have no clue what he did!  But, it was definitely related to their recent upgrade to my computer.

  • Email Notifications through workflow for all Approved and Rejected Orders

    hi,
    i have to send Email Notifications through workflow for all Approved and Rejected Orders to the user who have submitted the order for approval.how could it be done.please send ur solutions.
    regards
    yesukannan

    Hi,
    An option would be use Oracle Alert. Create an event based alert on the table where you have order approvals or rejections. This alert will be raised after inserting or updating this table. Create an action linked to this alert, and choose message as action type.
    This setup can be done under Alert Manager Responsibility.
    Regards,
    Ketter Ohnes

Maybe you are looking for

  • Ipad to Macbook Pro to LCD projector

    I have a MacBook Pro and IPad 2. Doing a PPT with the MacBook Pro using the mini display port to VGA adapter connected to the LCD projector. I would like to display an app from the IPad to the LCD to the screen. I realize I can connect it directly to

  • Split and join

    I have a split - join circuit. I have three seperate activities in three seperate roles inside the split-join. Since I am using the same presentation form, the changes made in the presentation form for one activity are not reflected back into the oth

  • Contact Sheets into jpegs

    Hi, I managed to create the contact sheets in the print output section in LR, but I cannot find any way, or help topics on how to turn them into jpegs for outsource printing? I have CS4, bridge lightroom etc, any help is very much appreciated. Kevin

  • RTP payload(RFC 2833) DTMF handler in JMF

    hi all, anybody tell how I receive RTP payload format vai JMF .I am able to receive DTMF through SIP INFO. [email protected]

  • I accidentally sync both IPhones and IPad to my Mac, so all of my pictures keep saying on all of devices.  Is there a way to take them off all of my devices?

    I sync all my devices, both IPhone and IPad not realizing all of my photo's would keep saving everywhere.  I have resolved that issue, I just needed to find out if, there is a way to delete all of the photo's off both IPhones and IPad, but not from m