FM or include that triggers Workflow in sap SRM 5.0.

Hi All,
Can anyone tell me the FM, for triggering a workflow in SAP SRM 5.0. I mean the name of the program or Include or an FM which finally triggers workflow while saving?
Thanks,
Edited by: Manoj Singh on Oct 6, 2011 6:51 PM

Hi Gaurav,
Thanks for responding. Yes, all the backend config are in place since I am able to successfully run an equivalent RFC (BBP_PD_SC_GETLIST) and another RFC named BBP_PD_SC_GETDETAIL from SE37. The problem seems to be something very specific to the ES. May I request you to run this ES at your end (if possible) and let me know the result possibly with the input and output message similar to the one I pasted in the origincal question.
Thanks in advance,
Nilay

Similar Messages

  • Approver not determined process controlled workflow in SAP SRM 7.0

    Hello all,
    I have setup process controlled workflow in SAP SRM 7.0 EHP3 for shopping cart approval.
    I have 4 approval levels.
    I have used item-based Decision for entire document because for some items i want system approval.
    In implementation of BADI /SAPSRM/BD_WF_RESP_RESOLVER, in the method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP, i am skipping the items for which i want system approval.
    Also in method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID of BADI implementation class, i am keeping the approver table empty for the step which i want system approval.
    For example i have 1 item in shopping cart and for 1st step, based on some accouting criteria, i want system approval for 1st level and the workitem should go directly to 2 approval step when shopping cart is ordered. This is not happening.
    But if i have multiple items, and one item should have system approval based on some criteria and the 1st approval level should be system approval and other item should go to the 1st approver. This is happening and showing 'system' approver for item1 and 'appr_xyz' for item 2.
    For shopping cart having only 1 item, If i approve the shopping cart in this state only, it doesn't go to any approver and is not usable.
    am i missing anything in BADI /SAPSRM/BD_WF_RESP_RESOLVER??
    Please let me know.
    Regards,
    Yayati Ekbote

    Hi Adrian,
    Yes it is possible to display custom workflows in the Universal Worklist,  However, I am not sure what you are trying to do with a routing table.  If the workitems are of type decision, you can use UserDecisionHandler (action handler) configured in the XML file to use the Approve/Reject functionality - we are talking about webflow connector here correct?  R/3 connector?
    Regards,
    Beth Maben
    EP - Senior Support Consultant II
    SAP Active Global Support
    Global Support Centre Ireland
    **SDN Forum Moderator:
    SAP Enterprise Portal: Application Integration
    **SDN Universal Worklist Wiki:
    http://wiki.sdn.sap.com/wiki/x/ehU

  • Sap srm important tcodes, tables and functions

    hi!
    can any one say me important tcodes , tables , functions that are used in sap srm ?
    thanks in advance

    what's your email address?  try this link:
    http://wiki.sdn.sap.com/wiki/display/SRM/SRM+Tables

  • BTE 1030 - we use for AP documents, create an event that triggers a workflow

    Hello all,
    We use SAP's program RFBIBL00 to post AP documents.  We coded a function module that is called when BTE 1030 is reached.  Our FM creates an event that triggers a workflow.
    We are now doing some testing with an external vendor who is creating AP documents by doing an RFC  using function module BAPI_ACC_DOCUMENT_POST.
    It seems that this BTE, 1030, is not being triggered when the IDOC created by this function module posts the AP document.
    Has anybody else seen this issue and found a way to deal with it?
    Thanks
    Bruce

    AFAIK BAPI_ACC_DOCUMENT_POST and FI posting should trigger BTE 00001030 but BAPI_INCOMINGINVOICE_CREATE and AC interfacewould trigger BTE 00001050. (or is BAPI_ACC_DOCUMENT_POST also using AC interface, I will let you check it)
    Nevertheless call your FM triggered thru BTE 1030 also in a FM triggered thru BTE 1050. Also in the call check for update task
    function z_fi_00001050.
    call function 'TH_IN_UPDATE_TASK'
         importing
           in_update_task = in_update_task.
       if in_update_task eq 0 and i_xvbup eq 'X'.
         call function 'Z_FI_00001030' in update task
           exporting
             i_xvbup = ' '
           tables
             t_bkpf  = t_bkpf
             t_bseg  = t_bseg..
       else.
         call function 'Z_FI_00001030'
           exporting
             i_xvbup = ' '
           tables
             t_bkpf = t_bkpf
             t_bseg = t_bseg...
       endif.
    Regards,
    Raymond

  • How to update agent list after triggering workflow?

    Hi Guys,
               Is there any function module to update the agent list after triggering the workflow? i mean after triggering workflow, the user is maintaining some approving officers in their table and they are expecting the workflow should route the workitem to  those newly maintained approving officers. So can any one help me to solve this issue.
    Regards,
    Safiq

    if any agent maintained in the customized table, how can I update
    those agent with existing available agent list.
    It sounds like updating the existing workitem container with the new updated values. right? You mean to say initially workflow is triggered and the agent list is populated in the workflow container. But after the workflow is triggered if the table is updated with some new entries, then these new entries must alos be included in the agent list container element in the workflow container.
    If this is the case the you have to modify the multiline container element of the workitem container. You can make use of the standard function module SAP_WAPI_WRITE_CONTAINER but this function module needs to be called each time when evenr a new entry is created and you have to check what are all the workitems that you want to update ,
    I think its a bit difficult to update all the workitems which are with reagrd to this scenario.. so you have to check out some other simple way. But on a whole what I can say is you can update an existing workitem container by using the FM mentioned above...

  • How can I write a code that triggers when clicking on Save button

    I want to hide certain fields inside my tracking list, if the login user is not part of the “Managers” group.
    To do so I want to add the following Page-load code inside a web part :-
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    {SPGroup group = site.Groups["Managers"];
    bool isUser = site.IsCurrentUserMemberOfGroup(group.ID);
    if (isUser)
    {textbox.Visible=false;}}
    And the following custom code that triggers when saving the form :-
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["ListName"];web.AllowUnsafeUpdates = true;
    SPListItem item = list.Items[SPContext.Current.ListItem.UniqueId];
    txtTitle.Text = item["Title"] as string;item.Update();web.AllowUnsafeUpdates = false;
    But I am not sure where exactly I should add the custom code for the save button ? I tried writing it inside the Oninit method , but I got many errors as shown below:-
    So can anyone advice how i should write the web part to include the Page load & the custom save button code?
    second question in general is my above approach considered valid , i mean to hide/show list columns using web parts ?

    Hi,
    According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
    Here is a solution from CodePlex for your reference:
    SharePoint 2013 Column & View Permission
    https://sp2013columnpermission.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Diffrences Between SAP HR workflow and SAP Logistics workflow

    Hello All,
                     Do we need to do any specific configuration settings to be done in the system to work on SAP HR workflow in ECC 6.0?
    I am using SWU3 for automatic workflow customizing?  But I am getting error indicator for u201CCheck Entries from HR Control Tablesu201D in the Maintain Definition Environment Node. 
    Are there any major differences between SAP HR workflow and SAP Logistics Workflow?
    Regards
    Venkat

    Hi Mike,
          what can be the impact if Check Entries from HR Control Tables setting are not maintain in the System. caz my workflow is going in waiting status and when i have chacked the container for that element then there in _Workitem.ExecuteByUser-ID is coming as <NOT SET>.
    So can you please put some light on this.. that what can be the resion behind this ...?
    Is this a Check Entries from HR Control Tables Problem or any other reason..
    Thanks & regards
    Dev

  • Workflow in SAP HR

    Hi All,
    I need help to create a simple workflow in SAP HR.
    Can anyone guide me .
    Thanks and Regards
    Swati

    I guess Padmini point is currect , you cud use dynamic action but not sure How it will check this condition.
    One more thing it will only populate to HR admin or payroll admin whichever stored in IT1 or you cud use IT105 .
    You cud write for email at the point of time it triggers the check and before coming to IT8.
    There are little difficult scenario cud be expected here.
    You could raise your questions why not to use dynamic action.
    If you are not intended to use dynamic action then ask workflow team or a peson to create it is very very simple logic and they could develop it, even if u have access you cud do it.
    If you want more information for creation then let me  know.
    Regards,
    Manoj Shakya

  • Triggering Workflow from Adobe Form in ERP

    Hello,
    With SAP ERP 2005 version, Adobe Interactive forms can be created within SAP environment. Is there a way to link the SAP Adobe forms to a SAP Workflow instead of using the Adobe Workflow Designer?
    Can we trigger the approval process using SAP WOrkflow from Interactive Adobe form?
    Thanks.

    Hi Anjali,
      Interactive Forms is integrated in other environments that use workflow and make it easier to set it up:
    Guided Procedures (in NetWeaver 2004s): Fully Java-based, GP is the process component of the Composite Application Framework (CAF), and thus largely model- and not development-based. You can use an interactive PDF form in a GP for offline steps.
    Refer the link for more info on  CAF
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/devguide2004s -> Fundamentals -> Creating Composite Applications">CAF</a>
    The general integration into Web Dynpro, which allows you to build a workflow from scratch (requiring full workflow knowledge) and integrate the forms as steps in the workflow. Using this method, you could also integrate PDF forms into lower-release backends.
    Hope this helps
    Regards,
    Sharadha

  • Details for triggering workflow on changing material

    Hi Experts ,
    I am triggering workflow BUS1001006 for creating/changing material .
    Is it possible to get the details that has been changed in the material using this ?
    Is there any other way to get the fields changed in MM02 for a material through
    workflow ?

    Hi
    Check the business object all the attributes in the log. If you get its fine if not create an attribute write your logic in that for changed material.
    Regards
    vijay

  • Triggers workflow from badi

    In crm 2007 two installed bases are there. one is customer ibase  and the other is company ibase   when the customer wants to transfer the component from company ibase to customer ibase(he simply drags  the component from company ibase to his ibase) that needs to go for approval process. no event is triggering at this point. after he press save button 3 badis are triggering, i found one badi which suits me  the problem is i will trigger workflow from badi if  that approver approves that component should be saved in companys ibase if approver rejects that should not save   anyone please guide me how to handle  this ....

    Hi Sunil,
    To achieve this functionality, in t-code SE18 create a BADI implementation and add a function module call to SAP_WAPI_CREATE_EVENT. Trigger any BO event and associate the same event as the triggering event  of your workflow.
    Please note that direct workflow call is not an optimum approach so use BO events.
    Create a workflow using t-code SWDD. Add a 'User Decision' step to send workflow task to the approver.
    Add two branches in it one for 'Approve' other for 'Reject'. In the approve branch add the logic for saving the component in company ibase.
    Hope this helps!
    Regards,
    Saumya

  • SAP SRM Workflow Options: Winshuttle or ABAP WebDynpro

    We are implementing SRM. Our considerations for SAP Workflow are Winshuttle with an MS Sharepoint Site,or,ABAP WebDynpro. Does anyone have any experiences or suggestions that they could share that could help us to make a desicion. Or, another method that is cost efficient and easily supportable?
    Thank-You.

    Hi Tom,
    Workflow component is in built in SRM. You donu2019t need any external component for it.
    There are 2 types of workflow supported by SAP SRM.
    1.     Application Controlled Workflow
    2.     Process Controlled Workflow (BRF)
    You can use BRF if you are implementing SRM 5.0 & above.
    I think you should explore more on SRM workflows; it will certainly give you insight on workflow implementation.
    Regards,
    yaniVy
    reward if helps

  • Need solution fro JV Parking Doc Workflow in SAP

    Dear Expert
    My User going to use JV Parking doc workflow in sap. I tested in quality its working fine. I done one live posting production as well. In my system no problem.
    the process, once user park the doc the mail will go for approval. Once approver release the doc, again mail will go to initiator. And then initiator can post. Here initiator park the doc, approver release the doc, again mail generated to initiator for parking the doc. At the time, clicking on post the doc, doc not posted. In workflow out box sbwp, opened workflow log showing "no agent assignment".
    In user system itself, I checked with my user id (have authorization) , checking in workflow builder swdd agent assignment showing red color icon
    But if I am checking in my system, in swdd not showing red color icon its yellow color (same user id).
    But i dont why its happening in user system
    If it is system based, any GUI problem. Please tell about this clearly how to get rid off this.
    Regards
    Mani.S

    Hi
    In Production
    In my system, same client and user id i checked swdd, All Agent Assignment its in yellow color(Task Properties general Task only).
    Andy User system, same client and user id i checked swdd, All Agent Assignment its in red color(Task Properties general Task only).
    I dont know what is the difference. Workflow working upto click on post (i mean parked, released by approver and at the time initiator clicking post), its not posting.
    I checked in SBWP, In Outbox - Log - showing No Agent Assignment in flow chart
    I m not getting what is the exact problem.
    Please give solution, how to get rid off that
    Regards
    Mani.S

  • What triggers workflows execution from IDocs

    I have set up a process that triggrs workflows from IDocs by setting the Process code to 'Process by task'.
    In some cases, when the workflow falls over, it would be easier to create a new workflow rather than fix the old (the workflow has checks in so that it will not create duplicate documents at any point).
    I would like to write a restart report that allows an IDoc to be reprocessed using a new workflow, but I don't see how it is triggered; it is not via an event because the workflow does not have a triggereing event.
    Can somebody tell me what the function module is that triggers the workflow, or if it is a report program?
    Kind regards,
    Tony.

    Found it: it is IDOC_START_INBOUND.
    Bit of a giveaway really.
    - Tony.

  • Triggering workflow using user-exits

    Hi all,
    can anyone tel me how a workflow can be triggered using user-exits??
    thanks in advance

    Call function module SAP_WAPI_CREATE_EVENT (with COMMIT_WORK = space) to create an event, and use the event to start your workflow (triggering event). Alternatively, you can start the workflow directly using the corresponding SAP_WAPI function module for that purpose. My recommendation is that you normally don't start workflows directly as it is a less flexible solution (or you have to build that flexibility yourself instead of using what you get for free with triggering events).
    However, why are you asking this question? I started wondering after seeing you ask an almost identical question in [another thread|Triggering Workflow Using BADI; here.

Maybe you are looking for

  • I cant load a CD on to my Ipod classic via itunes?

    I used to be able to download a CD on to itunes and it automatically updated my ipod classic when connected. It doesnt now!

  • Image Hosting Problem

    Beware! When attempting to upload some images to post a report concerning a BIOS flash, this is what I got at Photobucket's Website; There is a problem with this website's security certificate. The security certificate presented by this website was n

  • How to change SMTP port in exchange send connector

    Exchange 2013 SP1 I use Comcast as a smart host. It needs to work on port 587. How do I change the default port to 587? John Lenz

  • Why is my keyboard only working in Finder?

    I was typing in Pages and then I randomly typed a bunch of keys. Something happened and now I can only type things in in Finder. The Brighntess keys ect. All work fine. Thanks.

  • Test connection to repository error?

    I have create master repository success use repcreate.sh on linux. but i want to test connection use topology.sh, driver list "oracle jdbc driver". jdbc connection error : java.sql.SQLException: No suitable driver      at java.sql.DriverManager.getDr