BAPI_RESERVATION_CREATE1 - Workflow related

Hi,
We have created a program that uses BAPI BAPI_RESERVATION_CREATE1, which successfully creates the reservation.  However, the workflow that gets triggered when a reservation is created via transaction MB21 is not triggered when the BAPI is called ... Any ideas on how to resolve this will be appreciated.
Many Thanks

Hey,
You need to check the event trace after transaction MB21 and after executing the program which implements the BAPI call.
Switch on the trace using transaction SWELS. Execute transaction MB21 and then SWEL to check the trace. Note down the events triggered.
Execute the program and check the event trace. If the trace does not display any events it means that the BAPI is not generating any events. If you want the workflow to be triggered after the BAPI's successful run then you need to create this event in your program using the function SWE_EVENT_CREATE.
-Kiran
*Please reward useful answers

Similar Messages

  • Workflow related to personnel administration.

    Hi Everyone,
                         I m in sap-hr and wanted to know that is there  any workflow related to personnel administration.Also how can I create a workflow for filling the personnel data of employees.I had created workflow for leave.
                           I want the detailed steps.
                                                             Regards,
                                                             Pratighya Jain.

    Check this documentaion on SAP Business Workflow, which is built in HR:
    http://help.sap.com/saphelp_46c/helpdata/en/a1/172437130e0d09e10000009b38f839/frameset.htm
    Things that can be done are eg:
    Application forms and everything for handling them
    Absence approvals, travel requests, expenses
    Time
    Pls don't forget to reward points and close the question if you find the answers useful.

  • How to get standard workflows related to the class .

    Hi all,
    I want to search for the workflows related the class CL_UKM_EVENT_MANAGER  (method HANDLE_USAGE_OVER_100) .
    I tried in workflow explorer  .
    Please suggest me the way to search the workflow .
    Regards,
    Naval bhatt

    run transaction SWUS, then input help for field "Workflow", then click on tab "Object Type and Method", then select "ABAP Class" instead of "BOR Object Type". You can also search upon a class method.
    That's it!
    Tiberiu

  • WOrkflow related table and zfunction modules used in a particular workflow

    hi gurus,
                  we need to develop a tool to findout the custom WF, custom BOR and workflow related Zfunction modules used in a particular workflows in the client system.
    Eg-
          I have a custom workflow i need to find the list of all zfunction modules , z includes used in that Workflow.
    please suggest us  the table names which stores ZFunction module or z includes used in particular workflow
    Regards,
    Hari

    The only way to do this is to read through the source code of all the objects accessed within workflow and look for the relevant ABAP statements that access Z tables or function modules.
    [This wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/utilitytosearchABAPsourcecodeandTextelementsfora+string] should get you started on that part.
    As far as the objects are concerned, this is another story altogether. Something as simple as using an SAP standard object attribute in work item text could actually be a delegated subtypes with a redefined virtual attribute.
    So you need to scan everything: all tasks in a workflow and methods, as well as all container elements of each step. You will also need to navigate the object hierarchy to deal with delegation and subtypes. Then you need to consider propagation, what about Zfunction modules called by Zfunction modules in workflow? What if the method submits a report - you would need to scan that report and everything else that it calls and so on.
    This could be a fiendish challenge but sounds like a fun project. Good luck!

  • Workflow related

    Workflow related  
    Posted: Jul 26, 2007 4:27 PM         Reply      E-mail this post 
    Hi all,
    I need to display an object link in adecision work item
    so in the W/F binding i will bind this attachment object of task- TS0008267
    I have created an attribute which attribute is of object type 'SOFM'
    How should i populate attribute value ( Key fields of SOFM) how to ppulate.
    thanks in advance

    Hmm, maybe i need to ask you first what you exactly want.
    If you have a BO that you want to attach in the user decision, bind it to the Attachobjects of the user decision.
    It you want to attach a SOFM BO, create one as described above. Bind the SOFM BO to the Attachobjects.
    Regards,
    Jasper
    Message was edited by:
            Jasper Blok

  • Workflow related transactions in HR-PD

    Could anyone please provide the Workflow related transactions in HR-PD? 
    Thanks in advance.
    Paul

    Hi Paul,
    Transactions
    •     AWUV    Wizard for event creation    Definition tools -> Event creation -> Set up with wizard
    •     MCA1    Workflow Information System    Reporting -> Workflow Information System (WIS)
    •     OOAW    Evaluation paths
    •     PFAC    Maintain standard roles
    •     PFAC_CHG    Change roles    Definition tools -> Standard roles -> Change
    •     PFAC_DEL    Delete roles    Definition tools -> Standard roles -> Delete
    •     PFAC_DIS    Display roles    Definition tools -> Standard roles -> Display
    •     PFAC_INS    Create roles    Definition tools -> Standard roles -> Create
    •     PFOM    Maintain assignment to SAP organizational objects    Definition tools -> SAP org. objects -> Create assignments
    •     PFOS    Display assignment to SAP organizational objects    Definition tools -> SAP org. objects -> Display assignments
    •     PFSO    Organizational environment of a user
    •     PFT    Maintain customer task
    •     PFTC    General task maintenance
    •     PFTC_CHG    Change tasks    Definition tools -> Task/Task groups -> Change
    •     PFTC_COP    Copy tasks    Definition tools -> Task/Task groups -> Copy
    •     PFTC_DEL    Delete tasks    Definition tools -> Task/Task groups -> Delete
    •     PFTC_DIS    Display tasks    Definition tools -> Task/Task groups -> Display
    •     PFTC_INS    Create tasks    Definition tools -> Task/Task groups -> Create
    •     PFTR    Standard task for transaction
    •     PFTS    Standard task
    •     PFWF    Maintain workflow task (customer)
    •     PFWS    Maintain workflow template
    •     PPOC    Create organizational plan    Definition tools -> Organizational plan -> Create
    •     PPOM    Maintain organizational plan    Definition tools -> Organizational plan -> Change
    •     PPOS    Display organizational plan    Definition tools -> Organizational plan -> Display
    •     SWDA    Ongoing Settings    Administration -> Settings
    •     SWDC    Workflow editor administration data
    •     SWDM    Business Workflow Explorer    Definition tools -> Business Workflow Explorer
    •     SWE2    Display and maintain event type linkage    Utilities -> Events -> Type linkages
    •     SWE3    Display instance linkages    Utilities -> Events -> Instance linkages
    •     SWE4    Switch event log on/off    Utilities -> Events -> Event/log -> On/Off
    •     SWEC    Link change documents to events    Definition tools -> Event creation -> Change documents -> Linkage
    •     SWED    Assignment of change document objects to object types    Definition tools -> Event creation -> Change documents -> Define workflow properties
    •     SWEL    Display event log    Utilities -> Events -> Event log -> Display
    •     SWF3    Workflow Wizard Explorer    Definition tools -> Wizards -> Workflow Wizard Explorer
    •     SWF4    Workflow Wizard Repository    Definition tools -> Wizards -> Workflow Wizard Repository
    •     SWI1    Selection report for workflows    Utilities -> Work item selection
    •     SWI2    Work item analysis    Reporting -> Work item analysis
    •     SWI3    Workflow outbox    Runtime tools -> Workflow outbox
    •     SWI4    Task analysis    Reporting -> Task analysis
    •     SWI5    Workload analysis    Reporting -> Workload analysis
    •     SWI6    Object links    Runtime tools -> Object links
    •     SWI7    Workflow resubmission folder    From Integrated Inbox or Workflow Outbox
    •     SWI8    Error overview    Part of administration of workflow runtime system (transaction SWUF)
    •     SWL1    Settings for dynamic columns    Customizing, part of ongoing settings
    •     SWLC    Check tasks for agents    Utilities -> Consistency check -> Organizational assignment
    •     SWLD    Workbench for Workflow 4.0
    •     SWLP    Copy plan version
    •     SWLV    Maintain work item views    Customizing, part of ongoing settingS
    •     SWLW    Workbench for Workflow 3.0
    •     SW01    Business Object Builder    Definition tools -> Business Object Builder
    •     SW06    Customizing object types    From Business Object Builder, choose Settings -> Delegate -> System-wide
    •     SWU0    Event simulation    Utilities -> Events -> Simulate event
    •     SWU2    RFC monitor    Utilities -> Workflow RFC monitor
    •     SWU3    Customizing consistency check    Utilities -> Customizing
    •     SWU4    Consistency check for standard tasks    Utilities -> Consistency check -> Task -> Standard task
    •     SWU5    Consistency check for customer tasks    Utilities -> Consistency check -> Task -> Customer task
    •     SWU6    Consistency check for workflow tasks    Utilities -> Consistency check -> Task -> Workflow task
    •     SWU7    Consistency check for workflow templates    Utilities -> Consistency check -> Task -> Workflow template
    •     SWU8    Switch technical trace on/off    Utilities -> Technical trace -> On/off   
    •     SWU9    Display technical trace    Utilities -> Technical trace -> Display
    •     SWUD    Diagnostic tools    Utilities -> Diagnosis
    •     SWUE    Trigger event    Utilities -> Events -> Generate event
    •     SWUF    Runtime system administration    Administration -> Runtime system
    •     SWUG    Workflow start transactions    Definition tools -> Workflow start transactions
    •     SWUI    Start workflows    From the R/3 initial screen, choose Office -> Start Workflow
    •     SWUS    Start tasks    Runtime tools -> Start workflow
    •     SWUY    Wizard for message linkage to workflow    Definition tools -> Wizards -> Create "Call workflow from message"
    •     SWX1    Create notification of absence
    •     SWX2    Change notification of absence
    •     SWX3    Display notification of absence
    •     SWX4    Approve notification of absence
    •     SWXF    Form applications:    Access point Environment -> Demo examples -> Fill out form
    •     Revise
    Reports
    •     RSWWWIDE – Delete work items
    •     RHSOBJCH to fix PD Control Tables
    Tables
    •     SWW_OUTBOX     -Lists Workflows in outbox together with status
    •     SWW_CONT     -Container Contents for Work Item Data Container
    •     SWW_CONTOB     -Container Cont. for Work Item Data Container (Only Objects)
    •     SWWLOGHIST     -History of a work item
    •     SWWORGTASK     -Assignment of WIs to Org.Units and Tasks
    •     SWWUSERWI     -Current Work Items Assigned to a User
    •     SWWWIHEAD     -Header Table for all Work Item Types
    Regards
    Vijay

  • Workflow related tables. Urgent. Please help.

    Hi all,
        Could anybody please give me the list of workflow related tables ? I need to retrieve the following details.
               Type,
               Workflow Item ID,
               Workflow Item Unique ID, Text
               Creator, Created Date and Time,
               User created WI,
               Technical Status,
               Agent,
               Task ID, Task ID text,
               Element, Element Value.
    Please let me know at the earliest. Thanks in advance.

    <i>I don't think this is the right place for this, but I will give one reply.</i>
    <i>>What you think when a person is facing some issue will first read guidelines and then post.</i>
    Here is the <a href="https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement">link</a> to the guidelines. It is expected somebody first reads the guidelines and then starts posting, it is the first line in the guidelines. So I expect it also. I don't see why I should expect it from someone who has at least 30 points, and not from someone who has never posted.
    About your analogy, it doesn't work because most of the time the functional consultant needs me to create the workflow, or he is part of the same project so we need each other. In this forum I spend my own precious time answering questions, and not for the points but because I want to contribute and help others. But I expect them to have tried to 'help' themselves first.
    And as long as there is no moderator for the forum I will try to point people at the guidelines so this forum will not end up generating a lot of 'noise' and running of those who can help maybe the most (to name two: Kjetil Kilhavn and Mike Pokraka). I know they are thinking about skipping this forum because of the noise.
    <i>> Try to be a bit pragmatic. Will you do this to your peers or your junior.</i>
    Depending on the situation I will do this to my peers and juniors, mostly because they will learn more from finding things out by themselves than from pre cooked answers. And learning is one of the main objectives here.
    And my remark about the points is because you keep asking for them.
    I hope this clarifies a little why I post answers like the one I gave to this somewhat lazy question (not the first one today).
    Martin

  • Urg : Workflow related

    Hi ,
    I new to workflow related activities . Am basically ABAP developer i want to know how to constructed workflow activites .what are the necessary skills required to develop work flow activites . how its worked in realtime scenario  what are the transaction can used here . how i can go further
    if u have links and doc forward me ,.
    with best regards,
    Suresh

    Hmm, maybe i need to ask you first what you exactly want.
    If you have a BO that you want to attach in the user decision, bind it to the Attachobjects of the user decision.
    It you want to attach a SOFM BO, create one as described above. Bind the SOFM BO to the Attachobjects.
    Regards,
    Jasper
    Message was edited by:
            Jasper Blok

  • Reg : To maintain subustution approver for all the workflow related mails

    Hi
    I what to know how to maintain a substution for some days for the following req.
    As our CTO kyle whitehill is our present approver is going on a christmas & new year leave would like to Delegate his PO approval authority to R Unnikrishnan . new approver for some days  AVP u2013 Network Commercial
    So i want to configure that all the workflow related mail should go to the new person.
    Pls help me on this,
    Regards
    Suresh.

    Hi,
    You can create substitution using the function module SAP_WAPI_SUBSTITUTE_MAINTAIN or using the transaction RMPS_SET_SUBSTITUTE.
    Here you have to enter the username of the person for whom you want to maintain substitute, username of the substitute start date and end date of substitution.
    This will do the job.
    Note : Substitution allows only workitem sharing and not mail sharing.
    Regards,
    Raj

  • Can I post workflow related ques here???

    Can I post workflow related ques here???
    If not can anyone plzz tell me where I can.
    Regards,
    Arpit

    Hi Arpit,
    Workflow related Questions can be posted in the Business Process Management SAP Business Workflow
    Regards,
    Suresh Datti

  • Is SAP workflow  related with SAP XI? how?

    Hi all, I'm new to ccBPM.. and am pretty much familiar with XI 3.0.... and functionality of the XI 3.0 versions..I am looking for some guide... espeically on the USAGE OF SAP BUSINESS WOFKFLOW.....pls cud u post the details on the forum. I am not sure how the points sytem works... but wud assign for all the help provided... and one more thing is like there was a guy asked about this question in the interview, so i didn't know how to answer? send me couple of easy links where i can make this topic more femilier...thank in adv.

    Hi Romano,
    >><i>I am looking for some guide... espeically on the USAGE OF SAP BUSINESS WOFKFLOW...</i>
    here's the link for the official documentation on this topic:-
    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    I think you are in the wrong forum, check out the forum "Business Process Management" - you will find a lot of postings on workflow.
    If you have any specific questions related to XI..shoot away and this forum will respond back..:)
    >><i>I am not sure how the points sytem works... but wud assign for all the help provided...</i>
    rewarding points is pretty simple...since you have posted this question, you will be able to see the option to reward points on the left hand side of the reply to the question. Depending upon how helpful the reply was for you, you can reward accordingly.
    >><i>asked about this question in the interview, so i didn't know how to answer? send me couple of easy links where i can make this topic more femilier...thank in adv.</i>
    Well here's a blog by Mike Pokraka about "SAP Business Workflow FAQ":-
    /people/mike.pokraka/blog/2005/07/17/sap-business-workflow-faq
    Regards,
    Sushumna
    P.S: Do reward points for helpful answers!:)

  • Workflow related Material

    Hi ,
    Can any body send me cookbook related to Workflow..
    That should give the maximum knowledge on Workflow.
    Points will be rewarded...
    Regards,
    Reddy.

    Hi Venu,
    Please have a look at the following links :
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://www.sapgenie.com/workflow/index.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Check the below PDF file on Workflow:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    <b>Reward points if it helps.</b>

  • Issue in workflow related to PO

    Hi,
    A monthly job is scheduled to create PO's in SAP by using an Unix file in the application server which has the required details. Workflow would be triggered for all the error PO's after the job run. The workitem recieved displays all the error PO's on a screen and the user is given the option to reprocess the error PO's from the screen itself once the errors are rectified. This whole requirement is done using the files in the application server.
    The main problem which i'm facing is that the file into which the error PO's are written into the file for this month run would be overwritten with the other records for the next month run. User may take months to reprocess the PO's. so my requirement is that when the user clicks the workitem of this month run then the screen should display the relevant records and when he clicks the next months workitem he sh'd be able to view the error PO's of the next month. As of now, the old workitem displays the new error PO's as the contents of the file are overwritten for the next month run. Also i don't think the creation of a new file for every month is not a better option. suppose if i do that then how would i link the workitem to the file when the execution is done with the same program.
    Please help me out as the issue is a bit urgent
    Regards,
    Sam

    In order to do that you have to explain how your solution works.
    How is the workflow started? The date should be passed in the workflow container, and you should thus add a new importing container element for it. Alternatively, if the previous is not feasible, can you assume that the workflow is started the same date (or with a fixed offset) as the file is created. If so you can set the date in the workflow instead of passing it as a parameter.
    The date will of course have to be passed on to your step, and from your step to the BOR method you execute. This however, is just a matter of binding and importing elements, and I assume you are able to solve that on your own.
    What is this report you have mentioned? SAP standard? I assumed it wasn't. If it is a customer report, you will of course need a new selection screen parameter, and when your BOR method submits the report (or alternatively calls the transaction) the date must be passed as one of the parameters.
    Hope that helps, but if it doesn't you have to be MUCH more specific in your questions. You have to explain what you are trying to do and what your starting point (current solution) is.

  • Creation of Workflow related to Invoice Posting

    Hello,
      I need to create a Workflow which gets triggered whenever an Invoice is posted and should be sending a mail to a specific agent two days before the clearing date, intimating him that the clearing date is nearing.
      I have used the Event IncomingInvoice.Posted to trigger the Workflow, but I am confused as to how to send a mail two days prior to Clearing date. I thought I would create a Condition in which I will be using Posting date and Clearing Date and check when Posting date will be two days less than Clearing Date and send a mail. But I dont understand how exactly to write that.
    Can someone Please give their suggestion as to what can be done or if it is even possible. Will be very grateful to you. Would REWARD heavily.
             Thanks in Advance.
    Edited by: Dagny on Jul 23, 2008 2:36 PM
    Edited by: Dagny on Jul 23, 2008 2:38 PM

    Hi,
    There is already some of tables which keeps record of the t-codes executed by the user
    by giving the login id you can fetch all the data, currently I don't remamber the table name but there is table, this will solve your problem.
    Regards
    Bikas

  • Query  Of workflow Related to SE38

    I  have one Query ,
    If User   Excecuted   any report through SE38  ,   mail automatically goes to ABAP user , so that he can view whcih report is excuted by which User ,
    Is it  Possible  , If   Yes  how can  I   do this  using Workflow .?
    ASAP

    Hi,
    There is already some of tables which keeps record of the t-codes executed by the user
    by giving the login id you can fetch all the data, currently I don't remamber the table name but there is table, this will solve your problem.
    Regards
    Bikas

Maybe you are looking for