Custom workflow for Fiori Approve Timesheets

Hello All,
I am investigating complexity of adding custom workflow to Approve Timesheets.
There is BADI SRA010_BADI_TIMESHEET_APV.
Any experiences/advices  ?

Hi Lukasz,
How do you change approver using data from Ztable in the current system?
If you are talking about workflow approver determination logic, it is a job for Workflow Engine and not for Fiori.
Regards, Masa
SAP Customer Experience Group - CEG

Similar Messages

  • 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

  • Fiori Approve Timesheets - Activity Type not Displayed

    According to the BPD document for the Approve Timesheets App, the Activity Type should be displayed in the details area of the timesheet.
    However, when a user selects the details option, the following is displayed.
    Has anyone else experienced this issue?  I'm testing in Chrome and we're on the latest service pack that was just released last week.

    HI Pankaj,
    Thank you for supplying these notes. They look like exactly what I need. We have implemented Fiori App My Timesheet and Approve Timesheet, but during the approval process, the approving manager cannot see what kind of time (attendance type) is being approved. All of the days shown below were entered as 8hrs of sick time, but that doesn't show up anywhere.
    I was able to install the first OSS note 1994214 on the ECC back-end, but when I try to install 1994889 on the gateway, it won't because it can't find the right place to insert the new code in many objects.
    I could find no prerequisite notes that were not already installed. Incidentally, the code it was looking for in the first one was a copyright notice for 2013, but instead the code had a copyright notice going to 2014.
    We just installed UIX01HCM SP03. Was this OSS note included in that support pack? If so, it doesn't look like was effective because we are still not seeing any attendance types in the approval app.
    In case, its helpful here is a list of which components are installed on our gateway:
    SAP_ABA
    740
    0007
    SAPKA74007
    Cross-Application Component
    SAP_GWFND
    740
    0007
    SAPK-74007INSAPGWFND
    SAP Gateway Foundation 7.40
    SAP_UI
    740
    0009
    SAPK-74009INSAPUI
    User Interface Technology 7.40
    PI_BASIS
    740
    0007
    SAPK-74007INPIBASIS
    Basis Plug-In
    ST-PI
    2008_1_710
    0007
    SAPKITLRE7
    SAP Solution Tools Plug-In
    SAP_BW
    740
    0002
    SAPKW74002
    SAP Business Warehouse
    IW_PGW
    100
    0005
    SAPK-10005INIWPGW
    Process Gateway
    IW_SPI
    100
    0004
    SAPK-10004INIWSPI
    Service Provider Infrastructure
    IW_SCS
    200
    0008
    SAPK-20008INIWSCS
    Screen Scraping
    UIAPP001
    100
    0005
    SAPK-10005INUIAPP001
    UIAPP001 100: Add-On Installation
    UIAPP002
    100
    0004
    SAPK-10004INUIAPP002
    UIAPP002 100: Add-On Installation
    UISRA001
    100
    0003
    SAPK-10003INUISRA001
    HTML 5 Purchase contract approval
    UISRA002
    100
    0004
    SAPK-10004INUISRA002
    HTML5 Time Recording
    UISRA010
    100
    0004
    SAPK-10004INUISRA010
    HTML5 Staffing List
    UISRA012
    100
    0004
    SAPK-10004INUISRA012
    HTML5 My Department Spend
    UISRA020
    100
    0005
    SAPK-10005INUISRA020
    HTML5 Change Order (Address/Delivery Date)
    UIX01HCM
    100
    0003
    SAPK-10003INUIX01HCM
    UI for HCM Application
    Likewise, in case its helpful, here are our component versions on the ECC system in case that's helpful:
    GBAPP002
    600
    0005
    SAPK-60005INGBAPP002
    GBAPP002
    SRA001
    600
    0003
    SAPK-60003INSRA001
    Approve Purchasing Contracts OData Integration Component
    SRA002
    600
    0004
    SAPK-60004INSRA002
    Time Recording OData Integration Component
    SRA010
    600
    0004
    SAPK-60004INSRA010
    Staffing List OData Integration Component
    SRA012
    600
    0003
    SAPK-60003INSRA012
    My Department Spend
    SRA020
    600
    0005
    SAPK-60005INSRA020
    Purchase Order Status (In Process, Approved)
    thanks for any advice or suggestions you might have!
    -Rob Solomon

  • 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

  • Debug background task in custom workflow for PO change

    Hi,
    We are on ECC 6.0 EHP7.
    I have a custom workflow for PO object type(delegated to std object type BUS2012).
    There is a background task which has some custom code written and I need to debug this code.
    Can someone please let me know how to debug a background task?
    Thanks.

    As suggested by ronen we can debug through swo1 but we have to pass values manually for importing parameters, by using sm50 also we can do debug and there is one more way  to debug
    if its custom task change background  task to fore ground and change business object method also change it to fore ground and activate the work flow.
    now change any  po  then it will stop at that step now take that work item id in swi1 and go to swia and execute after putting break point in that method of business object.
    But best way to debug  through infinite loop i.e sm50.
    suri

  • Custom workflow for manual merch projects

    Hi,
    Having issues in configuring custom workflow.
    In ATG10.0.3 created a custom workflow(editCommerceAssets.wdl) & configured with catalog import job (importing thru spreadsheet & creating a Merch project).This works successfully.
    I am trying to configure this custom workflow for manually created projects in BCC.
    In the following files I tried replacing commonWorkflow.wdl to editCommerceAssets.wdl.
    <localconfig>\atg\commerce\web\assetmanager\taskConfiguration.xml
    <localconfig>\atg\commerce\web\workflowActivities.xml
    But getting this error in pub console:
    10:13:23,195 WARN [ActivityManager] The workflow activity with ID /Common/commonWorkflow.wdl has been registered multiple times for the same workflow. Please verify your workflow
    configuration as this is not allowed.
    10:14:40,453 ERROR [ApplicationManager] There is no application configured with ID '/Common/commonWorkflow.wdl'.
    Any recommendations?
    Thanks!
    Mani
    Edited by: user11263665 on Oct 17, 2012 9:38 AM

    It is possible that the workflow has already been registered in db before you modified workflowActivities.xml.Did you try cleaning up workflow tables and restart the server??
    epub_workflow_info, epub_coll_workflow, epub_ind_wf,epub_wf_server_id tables
    Make sure there is only one entry for each workflow in epub_workflow_info. If there are multiple entries, then it may be coming from 2 different places and you need to disable one of them. Whenever you create custom work flow, copy the existing workflow and modify it and give it a different name. If you are importing programmatically, you really dont need to configure it in taskConfiguraiton.xml ( as it corresponds to settings related to which item-descriptors, tabs, security in BCC gui).
    -karthik

  • S-note Failure for Fiori Approve Purchase Order application

    Is it mandatory to implement s-note 2035014 to implement Fiori - Approve Purchase Order Application . This particular snote fails repeatedly in our system.
    The system details are :
    ERP 6 EHP 6 with basis 7.31
    NWG- SP08 on embedded deployment
    .Attached is the screenshot of it:
    Regards
    Virinchy
    Tags edited by: Michael Appleby

    Hi Virinchy,
    It is program correction note for the issue described in the note 2035014.
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Custom Workflow for custom HCM form - reg

    Hi,
    We have a custom form designed and having a workflow for that. We have developed the workflow like any other workflow for appraisals for example or in SD. But here while test run of process we are getting error saying 'Work Item not found' though the work item is present in SWI1.
    We have below steps.
    Header
    Importing form container
    User Desicion (Approve/Reject)
    If approved update database.
    Can any one correct me if am wrong.
    Raj

    Hi,
    For workflows involving HCM forms, there some standard tasks which should be made use of:
    Task Group TG17900001: Components for HCM Processes & Forms
    Task Group TG17900002: Interactive Components
    Standard Task TS17900100: Edit Form
    Standard Task TS17900101: Approve Form
    Standard Task TS17900102: Form Is Edited Again by Author
    Standard Task TS04000018: Process PD Form
    Standard Task TS04000019: Approve PD Form
    Standard Task TS04000020: PD Form Is Edited Again by Author
    Workflow Template WS17900260: Save Form with Error Handling
    Workflow Template WS17900404: Draft for Process Start
    Workflow Template WS17900418: Forward: Process Start with Errors
    Task Group TG17900003: Background Components
    Standard Task TS17900106: Check Existence of PA Infotype
    Standard Task TS17900107: Check Form Data
    Standard Task TS17900108: Save Form Data
    Standard Task TS17900110: Import Field Value to WF Cont. Element
    You can use TS17900110, TS17900101/TS04000019 and TS17900107. Please make sure you read some documentation before you use these tasks.
    Let me know, whether this is helpful.
    Thanks,
    Sukumar.

  • Percentage in Fiori Approve timesheet

    Hi Friends,
    We have implemented the FIORI timesheet entry and approval app. In timesheet approval, when Manager logs in it shows the subordinates timesheets for approval.
    All 3 employees entered the time for the same week Sep 1 - Sep 07 2014. But, for 2 employees % shows 100 and for other it shows 50%, the only difference is they entered time to different projects.
    Just wanted to know, how this % works and shows in approve timesheet app.
    Regards,
    S.Srikanth
    Tags edited by: Michael Appleby

    Hi Pankaj,
    We went live today for Timesheet entry & Timesheet Approval. While checking in timesheet approval for an employee, it shows 53% even though employee has entered 43 hours for this week.
    Can you please let me know what could be the reason for this and the screenshot is before approval. There is no pending hours and we have week on week approval.
    Regards,
    Srikanth

  • Custom Workflow for User Requirment

    hi ,
    i am creating a workflow for which is custom .
    i have 1 module pool program where i have 7 fields.
    User can create the data and save it .
    once he save the Data the workflow should trigger.
    i have created a Z business object wherein i have created 4 key fields and 3 attributes according to data in the custom table
    the BO has no supertype. and created 1 event save
    now my question is where should i write the code for triggering the workflow on the save of the entries in the module pool program. and i am also i am responsible for showing the approver in the table after the decision is taken in workflow activtiy
    please suggest
    Thanks on advance
    Chitis

    Hi,
    Even i haven't worked on such requirement.
    I know how to trigger a workflow or start a workflow through customization.
    But i like to know in case of module pool programming where I am supposed to write the code?
    Whether in PAI or PBO or anywere else?
    Let us know.
    Thanks,
    Raj

  • Custom Workflow for Shipping Execution

    Hi All,
    We have a requirement to cater approval on issuance i.e. at the time of shipping execution. For this purpose we have used Oracle Workflow Builder to cater the requirement. The workflow is working fine for approval but not for rejection. If we approve the shipping execution, the transaction is working fine but if we rejects it, the shipping transaction got stuck with exception and if we resolve the exception manually, we are unable to re send it for approval or even shipping.
    I will be grateful if anyone can help me out and advise me on how to setup of workflow for rejection.
    Thanks in advance.
    Regards,
    Zulfiqar Ali Mughal

    It is possible that the workflow has already been registered in db before you modified workflowActivities.xml.Did you try cleaning up workflow tables and restart the server??
    epub_workflow_info, epub_coll_workflow, epub_ind_wf,epub_wf_server_id tables
    Make sure there is only one entry for each workflow in epub_workflow_info. If there are multiple entries, then it may be coming from 2 different places and you need to disable one of them. Whenever you create custom work flow, copy the existing workflow and modify it and give it a different name. If you are importing programmatically, you really dont need to configure it in taskConfiguraiton.xml ( as it corresponds to settings related to which item-descriptors, tabs, security in BCC gui).
    -karthik

  • How to create custom workflow for document library?

    Hi All,
    I have a document library with a custom  people picker column "assign to". Need to create approval workflow using designer, approval must send to person who is selected in "assign to" column. I tried with designer workflow,But finally
    facing "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient". How to fix and achieve my scenario? Thanks in advance!

    I would suggest you to firstly print the assign to value using "Log to history" action. Moslty it could be of three reasons,
    1. Assign to value is not getting populated correctly in your SPD workflow
    2. Email server is not configured properly, If alerts and other emails are workfing in your server then this would not be a reason for issue
    3. The user your trying to send an email does not have valid email
    do let us know if can get the user email in your workflow.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Custom Workflow for sending Remainder mail in MS CRM 2013/2015 online

    Hi All,
    We have a requirement to send a remainder email before 5 days,3 days and on the same day of the M/TC date in lead form. To achieve this we tried using Custom Workflow. Below is the logic tried but in the highlighted line
    not able to retrieve the "M/TC date" value, this results in no output.
    Kindly suggest where we are going wrong or a best approach to do this.
    Parameters:
            [RequiredArgument]
            [Input("InputEntity")]
            [ReferenceTarget("lead")]
    public
    InArgument<EntityReference>inputlead
    { get;
    set; }
            [Output("TaskCreated")]
            [ReferenceTarget("task")]
    public
    OutArgument<EntityReference>
    taskCreated { get;
    set; }
    code:
                try 
                Entity lead
    = (Entity)service.Retrieve("lead",
    context.PrimaryEntityId, new ColumnSet(newString[]
    { "new_mtcdate" })); //  (unable to
    retrieve the mtcdate)            
                      Guid leadId
    = this.inputlead.Get(executionContext).Id;
                    if(lead.Contains("new_mtcdate"))
                      {  DateTime date
    = DateTime.Now;
                          DateTime mtcdate
    = (DateTime)lead["new_mtcdate"];
                          TimeSpan elapsed
    = date.Subtract(mtcdate);
                          double days
    = elapsed.TotalDays;
                          Entity task
    = new Entity();
                          task.LogicalName = "task";
                          if (days
    == 5)
                          {task["subject"]
    = "Five days more for the Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));}
                          if (days
    == 3)
                          {task["subject"]
    = "Three days more for the Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));}
                          if (days
    == 0)
                          {task["subject"]
    = "Today you have Meeting";
                              task["regardingobjectid"]=new EntityReference("lead",leadId);
                               Guid taskId
    = service.Create(task);
                            this.taskCreated.Set(executionContext,new EntityReference("task",
    taskId));
    Regards, Rekha.J

    Hi,
    Try with replacing
    Entity lead = service.Retrieve("lead", context.PrimaryEntityId, new ColumnSet(new string[] { "new_mtcdate" }));
    also make it confirm, you are getting EntityId.
    Also check  Link

  • Standard workflow for SO approval process in CRM

    Hi all
    I would like to know if there is any standard workflow for Sales order approval process. I have tried my best and couldnt come across any.
    And also what is the commonly used approval process?
    Thanks & Regards
    Mui Kanva

    Hi
    check workflows: WS10000279 and WS10001068 (aut approval).
    But we created our own schema to implement two step approval.
    Regards
    Radek

  • Activate standard workflows for ECM Approval

    Hello,
    I have to activate these standard workflows for ECM. Can anyone help me with the steps I need to follow?
    WS04000022 ECM_SUBMIT
    WS04000023 ECM_APPROVE
    WS04000024 ECM_REJECT
    WS04000025 ECM_CREATE
    Regards,
    MAK.

    Hello,
    Have you tried to activate the workflows in the Workflow Builder:
    SWDD -> enter workflow -> Activate
    Cheers,
    Adalbert

Maybe you are looking for

  • Unable to generate the output for S_ALR_87012048

    Dear All, We are trying to execute the report  S_ALR_87012048 for the first period in 2015.  We have tried execute this report with report date 25.01.2015 (which is the last day in period 01), but it is giving no data was selected. Can anybody sugges

  • Read File Format Issue

    Hi, I have an input file as below: 12020090707000000000000000000000005|C320|FAI|20000140|FFS000425|10|0 12020090707000000000000000000000005|C320|FAI|20000140|FFS000425|40|0|1234567890 12020090707000000000000000000000006|C320|FAI|20000141|FFS000426|10

  • Explain plan for query

    HI all Please help to evaluate the explian plan for query suppose the following is the plan | Id  | Operation                        | Name             | Rows  | Bytes | Cost (%CPU)| Time     | |   0 | SELECT STATEMENT                 |              

  • EJB error after redeployment

    Dear experts, I have to make an adapter module for an FTP sender channel that converts .xls files to XML. I took the coding from: http://wiki.sdn.sap.com/wiki/display/ABAP/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns It works fine.

  • Why does my iphone 4s shut down by itself even with full charge? It comes back on only when I do a hard reset! Any solutions to this?

    My friend recently gifted me a brand new iPhone 4s bought in the the US. I live in India though. My phone keeps shutting off by itself even when there is full battery. And, it comes back on only with a hard reset. Why does this happen?