Changing PO in the approval step

Hi,
I need to change a PO object when the aprover is aproving it. For that I have implemented the BBP_DOC_CHANGE_BADI to change the PO. This BADI it's called not only when the object is approved but also every time the object is changed.
I need to clearly identify the moment when the object is being approved. We are using SRM 7.0 and Classic extended scenario. Does anyone have ideas about this?
Thanks
Paulo Paixão
Edited by: Paulo Paixão on Sep 11, 2009 7:27 PM

Hi Masa,
Thanks for the answer.
The IV_MODE is set do 'X' when you are approving but when you are changing it´s also set to 'X'. So I can not use de IV_MODE.
Thanks
PP

Similar Messages

  • Page not found or displayed in the approve step

    Hi all
    when i am performing the approve step then i am able to do the mark as approved step. but there is no stop button is displayed for me when the approver wants to stop the task after marking as approved.
    how to gets displayed the stop button in the UWL task. is there anything required to assign permissions??
    Thanks
    Regards
    Sunil

    Hi Sunil,
    when i am performing the approve step then i am able to do the mark as approved step. but there is no stop button is displayed for me when the approver wants to stop the task after marking as approved.
    how to gets displayed the stop button in the UWL task. is there anything required to assign permissions??
    According to me,
    You need to click on the Next Step. The Workflow will automatically reach the Stop step. It will not show as a button to be clicked. Go to the UWL and check the status of the Workflow. Hopefully you will find it as Stopped.
    Hope it helps.
    *Please reward points if helpful.
    Thanks and Regards
    Nitin Jain

  • For one Urgent Change during performing the Approval(chnging the status to 'To be Tested') system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.

    For one Urgent Change while performing the one of the Approval before changing the status to 'To Be Tested'
    We are getting below error.
    The system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.
    COuld anyone please help us to know, How it can be resolved?
    We also have this below error.
    System Response
    If the PPF action is a condition check, the condition is initially considered as not met, and leads to another warning, an error message, or status reset, depending on the configuration.
    If the PPF action is the execution of a task in the task list, and the exception is critical, there is another error message in the document.
    Procedure
    The condition cannot be met until the cause is removed. Analyze all messages in the transaction application log.
    Procedure for System Administration
    Analyze any other messages in the task list application log, and the entries for the object /TMWFLOW/CMSCV
    Additional Information:
    System cancel RFC destination SM_UK4CLNT005_TRUSTED, Call TR_READ_COMM:
    No authorization to log on as a trusted system (Tr usted RC=0).
    /TMWFLOW/TU_GET_REQUEST_REMOTE:E:/TMWFLOW/TRACK_N:107
    For above error Table /TMWFLOW/REP_DATA_FLOWwas refreshed as well but still the same error.

    If you are in Test System, you can use function module AA_AFABER_DELETE to totally delete the depreciation area (tcode SE37, specify chart of depreciation and depreciation area), After that recreate your depreciation area and run AFBN. But before you do that, have you created a retirement transaction type that limits the posting on your new depreciation area? If not create one.
    Hope this helps.
    Thanks!
    Jhero

  • HFM Security Issue - User can submit a journal by by-passing the approval step even though they are not an admin.

    Hi All,
    I was wondering if anyone could help me with a HFM security issue on HFM 11.1.2.3 we are facing please?
    The problem is that a user can by-pass the journal approval stage and post directly after submitting if Custom4 access control=All is selected.
    If any of the other access controls (None, Read, Promote) for custom 4 are selected, the first two steps of the process are possible -
    input and approval of the journal are possible but final posting of the journal is not and returns an error that says:
    "User does not have the access right to perform this journal task"
    The options I have thought for a workaround are as follows:
    1.       1. Set up a 3rd user called data poster and remove submit journal role from user 1 (data inputter)
    2.       2. Put in place process control and use the various review levels (could be quite time consuming given there is no time left for development)
    Have anyone experienced this before and come up with a quick way of resolving this please? It would be very much appreciated.
    We have two types of users who are associated with groups in HFM and have the appropriate roles assigned to them to complete their tasks,
    they are:
    1. A data Inputter (who inputs base data and journals, who has access to create and submit journals)
    2.   2. A data reviewer (who approves journals)
    The process is as follows:
    1.       1. Logon as Data inputter to submit the journals
    2.       2. Logon as Data reviewer to approve the journals
    3.       3. Logon as Data inputter to post the Journals
    We are using the custom 4 member to identify different adjustment types. At the moment we are able to set it up in such a way whereby Steps 1 and 2 can be completed
    but once it comes back to step 3, we get an error as follows:
    "User does not have the access right to perform this journal task"
    (This error comes about when the access control on custom 4 is set to None, Read, Promote)
    Custom 4 Access Rights looks as follows:
    C4_ADJ01
    C4_ADJ02
    C4_ADJ03
    C4_ADJ04
    HFMDefault
    Read
    Read
    Read
    Read
    HFMLoad
    All
    Promote
    None
    Read
    HFMReview
    Read
    All
    All
    All
    When Custom 4=C4_ADJ01 all 3 steps can be completed but it by-passes step 2 (journal approval).
    For all other Custom 4 we complete steps 1 and 2 successfully but not step 3 due to access issues.
    Roles for the groups that users assigned look like the following:
    Test User Name
    Test User Name
    Access Rights
    1
    Base Data input/Journal Data input
    test_HFMLoad
    Reviewer 1
    Review Supervisor
    Create Journals
    Read Journals
    Database Management
    Enable write back in Web Grid
    Load Excel Data
    Generate Recurring
    Post Journals
    Create Unbalanced Journals
    Manage Templates
    Data Form Write Back from Excel
    Consolidate
    2
    Data Reviewer
    test_HFMReview
    Reviewer 1
    Review Supervisor
    Create Journals
    Read Journals
    Database Management
    Approve Journals
    Consolidate
    Reviewer 2
    Generate Recurring
    Manage Templates
    Create Unbalanced Journals
    Any help or advice would be much appreciated.
    Thanks in advance,
    M.

    Hi All,
    I was wondering if anyone could help me with a HFM security issue on HFM 11.1.2.3 we are facing please?
    The problem is that a user can by-pass the journal approval stage and post directly after submitting if Custom4 access control=All is selected.
    If any of the other access controls (None, Read, Promote) for custom 4 are selected, the first two steps of the process are possible -
    input and approval of the journal are possible but final posting of the journal is not and returns an error that says:
    "User does not have the access right to perform this journal task"
    The options I have thought for a workaround are as follows:
    1.       1. Set up a 3rd user called data poster and remove submit journal role from user 1 (data inputter)
    2.       2. Put in place process control and use the various review levels (could be quite time consuming given there is no time left for development)
    Have anyone experienced this before and come up with a quick way of resolving this please? It would be very much appreciated.
    We have two types of users who are associated with groups in HFM and have the appropriate roles assigned to them to complete their tasks,
    they are:
    1. A data Inputter (who inputs base data and journals, who has access to create and submit journals)
    2.   2. A data reviewer (who approves journals)
    The process is as follows:
    1.       1. Logon as Data inputter to submit the journals
    2.       2. Logon as Data reviewer to approve the journals
    3.       3. Logon as Data inputter to post the Journals
    We are using the custom 4 member to identify different adjustment types. At the moment we are able to set it up in such a way whereby Steps 1 and 2 can be completed
    but once it comes back to step 3, we get an error as follows:
    "User does not have the access right to perform this journal task"
    (This error comes about when the access control on custom 4 is set to None, Read, Promote)
    Custom 4 Access Rights looks as follows:
    C4_ADJ01
    C4_ADJ02
    C4_ADJ03
    C4_ADJ04
    HFMDefault
    Read
    Read
    Read
    Read
    HFMLoad
    All
    Promote
    None
    Read
    HFMReview
    Read
    All
    All
    All
    When Custom 4=C4_ADJ01 all 3 steps can be completed but it by-passes step 2 (journal approval).
    For all other Custom 4 we complete steps 1 and 2 successfully but not step 3 due to access issues.
    Roles for the groups that users assigned look like the following:
    Test User Name
    Test User Name
    Access Rights
    1
    Base Data input/Journal Data input
    test_HFMLoad
    Reviewer 1
    Review Supervisor
    Create Journals
    Read Journals
    Database Management
    Enable write back in Web Grid
    Load Excel Data
    Generate Recurring
    Post Journals
    Create Unbalanced Journals
    Manage Templates
    Data Form Write Back from Excel
    Consolidate
    2
    Data Reviewer
    test_HFMReview
    Reviewer 1
    Review Supervisor
    Create Journals
    Read Journals
    Database Management
    Approve Journals
    Consolidate
    Reviewer 2
    Generate Recurring
    Manage Templates
    Create Unbalanced Journals
    Any help or advice would be much appreciated.
    Thanks in advance,
    M.

  • CUP: Change request fields while Approval Step

    Hello all,
    We are using GRC AC 5.3 and want to allow approver to change some request attribute while approving request. E.g. Email, Employee personal number, ...
    Does CUP allow to do this and where could it be configured?
    Thanks,
    Anton.

    Hi,
      As Ankur mentioned, you can not change any filed values once request enters in that particular stage.
    For example, once request enters Manager stage, you can not go back and change parameters in manager stage so that manager can make changes to the request.
    Regards,
    Alpesh

  • Empty fields in the approval step - process an forms

    Hi experts
    Am developing process for add address infotype to employee , if i didn't use workflow its working fine, but if i use workflow , when i fill the form and send it , the next agent get empty data, i mean what i entered not appear to him
    even i try to run the workitem from design time , i get the same
    please any one have idea what is the problem
    Regards
    Ghadeer

    You can also check if the note 1882770 - Form fields not getting populated in FPM forms is implemented.

  • Approval Steps Deactivate after 'SAVE'

    Hi,
    I am working on Approval procedures, it's working fine, the procedure is determined along with the steps and their Approvers.
    Problem is on saving the transaction, the approval steps deactivate and no action (Approve/Reject/Not relevant) can be selected by the Approvers - I've logged in as the approver but still unable to change any approval status.
    Please let me have your responses, thank you.
    BR.
    P.S. I have removed Action Profile, Status profile and the problem persists.

    I have found a flag needs to be activated  (After the flag has been activated the 'Process Mode' type field populates a value 'B') and the other to be deactivated after which the relevant action (Approve/Reject) can be taken.
    What remains to be found is how these flags are controlled by the system ?
    Need your responses please. Thnx.
    BR.
    (seems like everyones' enjoying new year, this thread has been on top of the list since 30 hours)

  • Defining Approval Steps in STMS

    Hi,
    I've defined the STMS QA Approval Procedure, and today I'm using the approval step "Approved by system administrator", where such users need special authorization values to approve requests in QA (S_CTS_ADMI with TADM and TQAS). Someone can help me to identify the difference between the approval steps "Approved by user department" and "Approved by system administrator"? Is the difference only related to required authorization values?
    Regards
    Alex

    Activating the "approved by department" means that it is "sufficient" to perform the QA approval step with authorization value QTEA.
    TADM also still works for system admins (e.g. basis guys in client 000, etc...) so you will need to take away this stronger authorization for the more granular control to be available for the users who are to be limited to it.
    Typically, this is the QA department, who typically do procedural type of checks, and typically don´t have anything to do with tp...
    What was wrong with the "request owner"? Too complicated? User´s changing the owner?
    If I remember correctly, you cannot remove the system admin check - you need to remove the access.
    Cheers,
    Julius

  • How to skip approving steps for users who are also approvers?

    We have a business need to be able to skip the approving steps for the users who are also approvers.
    For this following steps were followed :-
    1) Open .task file and go into the Assignment tab. Double click on the performer box within the routing slip, this should open the "Edit Participant Type" editor. Expand the "Advanced" section and place a check next to "specify skip rule", then click the edit icon to the right. Now enter an XPath expression that will test whether the current user is equal to the task creator.
    2) We used - isUserInRole XPath function in the "Identify Service Functions" dropdown - first param to function is the userID, the 2nd is the role name.
    We tried with hardcoded userID as well as by using
    ids:isUserInRole(/task:task/task:systemAttributes/task:updatedBy/task:id,'California')
    where 'California' is the group name (as one of the forum threads told this function works with groups).
    We also tried with swimlane roles(using bpm.getPerformer() function) but it does not work either.
    Please let me know if any one has any solution to this problem.

    session as DirectorySession = DirectorySession.currentEngineSession
    dirHum as Fuego.Fdi.DirHumanParticipant = DirHumanParticipant.fetch(session : session, id : "myUserId")
    result = hasRoleAssigned(dirHum, role : "Approver")Give that a try...
    HTH,
    -Kevin

  • Workflow table for approval step description

    Hi Experts
    I'me looking for the table where i can find the approval step description for a node_id.
    I'm searching for NODE_DESC, in the table.
    I can find it by module fonction, but i really need the table.
    Thank you for your help.
    Peggy.

    Hi,
    How the table entries are maintained how can i maintain the text for different languages for the nodes available.
    Regards,
    Siva chalasani.

  • Messages displayed in the Approval and message tab in SRM approval is same

    Hi,
    We are having an issue with the message displayed in the approval step.When we click on the approval option in SRM, we get two tabs displayed Approval and Messages. The content displayed in both the tab is same for one user. Generally the content displayed in approval tab is "Here you can approve/reject shopping carts, confirmations of goods receipts, and so on.Select 'Edit' to display details" and the details in Messages tab is "Here you can see e-mails on the purchase transaction." But for this particular user the content displayed is "Here you can see e-mails on the purchase transaction." in both the approval and message tab.
    We checked the roles and profiles and its same as the other users. Can some one please suggest what would be the reason for this functionality with this user.
    Regards
    GGL

    OK, so you only have this problem in PROD, all other systems (DEV, QA) are fine... I assume you checked your BAdI transports in PROD as well... If all OK, that leads me to think there's nothing wrong with your custom code or transports.
    SRM 5.0 is notorious for these kinds of issues where workflow templates work in one environment, but are erroneous in another (most times this is due to inactive status). That is why I asked you to check the workflow for consistency in SWUD.
    From your answer, I did not understand whether you'd checked all the subworkflows separately in SWUD (not as part of the main workflow check). If you didn't do that, find all the subworkflows (and the subworkflows of the subworkflows where applicable) in SWDD by stepping through the main workflow, and then run the SWUD check on each of them separately.
    Also, please check the Review workflow WS10000265. This particular workflow may not show in SWDD as a subworkflow, but actually is part of the process. If it's broken, you may encounter issues like you're describing.
    Cheers,
    Serguei

  • GRC AC 5.3: Skipping Approval step if there are no SoD conflists

    Hello all,
    Could you please explain how to skip some approval step in case of no SoD risks exist in CUP request?
    Thanks,
    Anton.

    Hello Anton,
    it's not so much skipping as doing it only when needed.
    In your approval workflow, you create one of the approval steps with mandatory (or automatic) risk analysis.
    On that stage, you then define a Detour on SoD conflicts which you point to your risk approval path.
    Frank.

  • Approve step in workflow

    Hi Folks,
    Can someone explain how the Approve step is used in case a record is not approved ?
    example.
    Start->Process->Approve -> syndicate
                            -> reject-> send notification.
    -Vinay

    Hi Vinay,
    The MDM workflow step is used for providing an Approval on the already craeted/Enriched records in MDM.The approver in MDM is allowed to approve or disapprove the records.
    The disapproved records go back to the previous step and teh process step team ahs to correct teh records and send it again for approval.
    The workflow steps will be as follows
    Start->Process->Approve->Notify ->Stop
    The notify step can be used ater nay atep if you want to users of the workflow to be notified of the staus of the completed task and the stataus of teh task to be completed.
    You can folow some of these helpful links on how to use MDM wf effectively
    Workflow:Disapproved records
    Re: How to use the Validate step for Approve step
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/001d22fb-622d-2b10-22ac-998acecf68a8
    Hope It Helped,
    Thanks & Regards
    Simona Pinto

  • Approve step in UWL

    Hi,
    I am trying to integrate MDM Workflows with UWL. I got it working but have a question regarding the Approve MDM step. Is there any way we can get the Approve step also displayed on the Portal? Has some on done this earlier? Is there any documentation on configuring MDM Approve workflow step in UWL?
    any information in the right direction is highly appreciated.
    Thanks.

    refer to [Integrating Universal Worklist in SAP Master Data Management|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/771f1a61-0e01-0010-daa9-93a52905da09]
    Hope this helps.
    Rgds

  • Dynamic agent rule changement during approval steps

    Hi gurus,
    my question is based on a customer requirement.
    they want a n-step approval with dynamic agent determination: fine.
    then they want to maintain the substitutes: fine as well.
    But what they want to do is to change the workflow path based on the substitute.
    I mean: if the first aprover has set a substitute the first task goes to the substitute, but the following tasks have to follow the substitute hierarchy and not the original workflow path.
    So we don't think the standard system way to use the substitute is not enough, but we need to determinate in the beginning if a substitute was set for some approvers.
    The thing is that the substitute record is dynamic and has a validity end, and could be set after the workflow is started.
    Is it possible at every step recalculate the workflow path and the next approvers (so to discover if a substitute rule has be changed or created or deleted)?
    PS: we are using SRM 7.0 and the process controlled workflow.
    Thank you very much in advance!
    Regards,
    Maria

    Hi Maria
    I mean today the workflow starts and the system calculates the path based on the substitute rules active.
    OK with that.
    But what if the substitute rule change tomorrow?
        How you are saying the substitute rule change tomorrow?.  You should not assume it. You should confirm it.  You cannot implement a work flow for tomorrow's requirement. Always there will be a change even if you implement for tomorrows change. Never do that. Do only for today's requirement.  
    My question is if it's possible to every step of the work flow change the agents.
        I feel that this approach is wrong. simple view i will give u to thing. take only 2 steps
    loop.
    1) for determining the approver based on business logic in one method.
    2) use the expression in the user decision step and send the work item for approval
    endloop.
    This i have explained for simple logic, create you own logic and apply on loop and endloop. It will work.
    Regards
    vijay

Maybe you are looking for