Decision step with attachment

hi
my issue is i have kept a decision step where , i need to send decision step with attachment , i have done binding in the control tab ,of decision step like this
& absence& --> &_ATTACH_OBJECTS&
my attachemnet should be absence object.
when i execute , i 'm getting the decision workitem but with
no attachment , would u help on this .

Hi,
Make sure you have &ABSENCE& object is instantiated in any one of the steps before to youe decision step.
In Workflow Log, check the container elements and see if Adhoc_Objects container element value getting filled or not on your user decision step? If it is not having any values and if your binding is correct, then i am sure &ABSENCE& object is not instantiated before. Check !!
Regards
Krishna Mohan

Similar Messages

  • Fill the 'Objects and Attachments ' in Decision step with milestone detils

    My requirement is to fill the 'Objects and Attachments ' in Decision step with a display milestone details as seen in cj20n transactiobn.
    I am using business object MLST_NETW but display method does not show detsils of milestone .
    is there any other way i could  possibly show th emilestone detsils as seen in cj20n transction.

    Yes th ebinding is correctly done when I chcek in SBWP for that item it displays the link with the milestone no and when i cleck on the link it asks me the milstone no also but it does not display any detils of milestone or does not navigate to th emilestone page.
    I tried testing the display method of the stnadard business object MLST_NETW independly but i see even here the milestone detils page not appearing .Is there some other bO which has to be used or some way through which i colud navigate to the milestone detsils page transaction is CJ20n

  • Workflow - User decision step with checkboxes

    Is it possible in standard steps to give the user step of decision, but with options with checkboxes, for example 3, so that he can check or uncheck any of them?

    Thanks, I started making on my own the method of custom business object with screen and so on.
    thanks

  • Decision step with method before workitem execution

    I have a decision step, which uses method before workitem execute uses BO Bus2094 - 'Display' method.
    When an agent receives a workitem, try to execute the workitem 'Getting an information message 'Error when starting submethod'.
    When i see the information of the error -
    "At least one submethod could not be processed.
    See the technical Workflow log to determine the error cause."
    When i check technical log of workitem, 2 steps are in error mode.
    1.  Dialog work item executed - Error when starting submethod
    2. EXECUTE_METHODS  - System error in asynchronous method start
    This is happening in Quality system, not in DEV system.
    Any inputs to resolve this.

    Hi,
    @Sivagami: I wonder, how a container element e.g. BUS2094 that was passed to a copy of the DECISION task is automatically executed just before the decision dialog? Good stuff, if it works like this, I'll try this at a later time.
    @Indira: Depending on the Release and such things I have expirienced several smaller bugs regarding the decision steps, especially when extending the data flow (from/to workitem), using the in-place-decision Workitem exit. So maybe you're already doing everything right, but just the inbox doesn't works as designed.
    To work around this problem, you could enter the object methods as a secondary method, which then will display the Sales document in a separate window,
    or you follow the proposal of Sivagami. If the Sales document doesn't seem to appear, you could enforce the display, by globally substitute the business object DECISION to one of your own, re-define the object's method Process that read the business object fromt the work item container and executes it's display method, which is basically the same result you'd like to have.
    Best wishes,
       Florin

  • How can i include  'Objects and Attachments' in the Decision Step ?

    i found some relevant threads for this particular topic but not able to solve my problem , so i thought of openeing new thread.
    My requirement is to fill the 'Objects and Attachments ' in Decision step with a  display method of purchase order number.
    From SAP Inbox , when i click on Objects and Attachments , it should navigate to Display method of my BOR object with the Purchase order number.

    Hi Sanju , i did exact the same way  ,
    &_EVT_OBJECT& --> &BUS2012&  ( This is done at the start of workflow )
    Now go to you task of the user decesion and make the following binding....
    &BUS2012& --->&_ATTACH_OBJECTS&  in the biding step between decession task and workflow container.
    I am getting this error message paul,
    The Object Types '[BO.ZIPARI]'  (source) and  '[BO.SOFM]' (target) are not compatible.
    i am trying to create a method in BOR and passing back the attachment back to task container but not succeeded yet .
    My requirement is , from SAP inbox before taking decision , approver wants to review for that i need to link the PO number clickble at 'Objects and Attachments'.

  • Need Help on User decision step in BPM

    Hi All,
    I have a requirement to design the user to to system interaction in a partiular scenario.  I am trying to use the User decision step in BPM available in PI 7.1 server. I have used the User decision step and filled all the parametes as given in the sap documentation. When I am trying to execute the scenario, The outbound process is succesful but stops at the BPM workflow at the User decision step with the message (No Agent ready) .
    Can anybody help me in solving this issue.
    Thanks in advance,
    Kalpana

    Hi Shabarish and Swarup,
    I have defined the relevant user in  the Integration directory , also made sure that the user entered is defined on the integration server and there are not restrictions on the defined user. The workflow log is as follows:
    Workflow              File2File_BPM1
    Workflow instance     File2File_BPM1 http://File2File_BPMdemo
    Instance number       000000001046
    Start date            30.12.2008     Started by            WF-BATCH
    Start time            11:33:36       Current status        In Process
    View: Workflow chronicle
    Error       St Task                                          Result                                   Date       Time     Processing time
    Error Agent                     Executed Action                          Date       Time     Object               Object Name                    Object 2             Object name 2                  User Context
    File2File_BPM1 http://File2File_BPMdemo       Workflow started                         30.12.2008 11:33:36               -1s
    WF-BATCH                  Start message received                   30.12.2008 11:33:36 MIAB_BPM_OB2 / http: C532A7AB4D284B9011C0B0C7F8AFB                                                      WF-BATCH
    WF-BATCH                  Workflow started                         30.12.2008 11:33:36                                                                                WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 11:45:36 MIAB_BPM_OB2 / http: 597B946347C148AD03988B5D8BE2C                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 11:45:37 MIAB_BPM_OB1 / http: 6E0E09EE977E4F333D02DDDAE9A52                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 13:48:07 MIAB_BPM_OB2 / http: 9F5491FD9BC642E50486A6FED89DA                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 13:48:07 MIAB_BPM_OB1 / http: 1AE5BB06D72341AD01F8C45E6AA7E                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 02.01.2009 05:34:58 MIAB_BPM_OB2 / http: CD698CDE5606436811BAB330011AF                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 02.01.2009 05:34:59 MIAB_BPM_OB1 / http: 2D82C00C16E0447F1DF3B133470AD                                                      WF-BATCH
    'Good'{TYPE=SWFXST_STRING}'BAD'{TYPE=SWFXST                                           30.12.2008 11:33:37                0s         1046
    WF-BATCH                  Dialog work item created                 30.12.2008 11:33:37                                                                                WF-BATCH
    WF-BATCH                    EVALUATE_AGENT_VIA_EXPESSION           30.12.2008 11:33:37                                                                                WF-BATCH
    I hope this can help you in identifying the error.
    Thank you,
    Kalpana

  • Smart form attachment in User decision step

    Hi,
    i have a requirement to display Smart form in user decision step along with Approce and reject buttons.
    Please guide how to attach a smart form in workflow.
    Thanks.
    Edited by: Sanjay_lnt on Jul 10, 2010 8:13 PM

    Here are some codelines may help you.
      CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
        EXPORTING
          region                = 'B'
        IMPORTING
          folder_id             = lv_folder
        EXCEPTIONS
          communication_failure = 1
          owner_not_exist       = 2
          system_failure        = 3
          x_error               = 4
          OTHERS                = 5.
      lv_object-objla    = 'EN'.
      lv_object-objnam   = 'MESSAGE'.
      lv_object-objdes   = p_name.
      lv_object-file_ext = 'PDF'.
      CALL FUNCTION 'SO_DOCUMENT_INSERT'
        EXPORTING
          parent_id                        = lv_folder
          object_hd_change                 = lv_object
          document_type                    = 'EXT'
       IMPORTING
          document_id                      = lv_doc
       TABLES
         objcont_bin                     = it_objcont_bin " Your binary file data
       EXCEPTIONS
         active_user_not_exist            = 1
         dl_name_exist                    = 2
         folder_not_exist                 = 3
         folder_no_authorization          = 4
         object_type_not_exist            = 5
         operation_no_authorization       = 6
         owner_not_exist                  = 7
         parameter_error                  = 8
         substitute_not_active            = 9
         substitute_not_defined           = 10
         x_error                          = 11
         OTHERS                           = 12     .
    Now pass the folder details to AttachObjects of BO type SOFM
    Edited by: Saurabh Thalpati on Jul 14, 2010 12:20 PM

  • Adobe form as attachment to user decision step

    Hi,
    i need to add adobe form as attachement to user decision step in workflow.
    1. i created activity step which call business object method with parameters workitem id
         i am using FM  SAP_WAPI_ATTACHMENT_ADD’  which will return attribute id
         i am passing that attribute with document id to 'ZSOFM'
            ZSOFM <-----------------------------------ZSOFM (Method to task)
          Bindings 'Attach_objects'  <------------- ZSOFM(Task to Workflow).
    2. i created user decision step
        Bindings  'Attach_objects' --------------------> 'Attach_Objects'( Workflow to user decision task).
    but when we execute first activity step in background i am not getting any PDF output .but when we  execute same method from class i can see pdf data is coming is it due to user name WF-Batch.
    when i execute activity step in back ground which will have sy-uname as WF-Batch i am not getting any PDF output data.
    please help how to solve .
    Thanks,
    Phani

    In transaction SWO1 create a z-object lets say zmyobjpdf (you might want to use it as a sub object of your standard object without delegation since they will probably have the same key).
    create a method in that object calling the adobe form.
    set it as the default method in the object header.
    now create an instance of the zmyobjpdf in the workflow for example as an attribute of the original object) and transfer it to the decision task.
    It will be displayed as an attached object pressing it will call the default method - your adobe form.
    If your question was about how to create a function module to display the form see SAP Library - PDF-Based Forms

  • Probelm with decision step type

    Hi,
    I am using the decision step type to display release and reject the options to the approver . i am using the latest end tab to escalate( forward) the workitem to next available approver .( deadline monitoring 30 min) .
    workitem is generating in the 2nd available approver inbox after 30 min  . but the same workitem is still available in the 1st approver  inbox ( of course it display the message the following deadline was missed and latest end reached) .
    But even after the 2nd approver gets the workitem in his inbox  ,the  1st approver is able to execute the same workitem by ignoring the message .
    Please can any one explain me what is reason behind this.
    Please can any one helping me how can i delete the workitem in the 1st approver  inbox once the workitem is created in the 2nd approver inbox  .

    Just follow the steps
    1)You can use Latest End Tab in a Step which is attached to a task. Use Modelled deadline. Using this another branch is created from the step.
    2)Activate the Outcome Processing obsolete for the Step that needs to be sent to the Manager.
    3) Now put a process control in the branch that has been created due to modelled deadline. Use "Set Workitem to Obsolete" in the Function and provide the Step number in which the deadline step is incorporated.
    4) Now create another step at the branch Processing obsolete of the step that has the deadline and copy the above step with deadline removing the deadline part. This step is only for 2nd approver.
    <b>Reward points if useful</b>
    Thanks
    Arghadip

  • Maint. Order as Attachment in workflow decision step!!!!

    Hi All,
    I am making a workflow in which i want to attach the Maintenance Order in the Decision Step , is it possible or not.
    How can i do attachment in Send Mail Step is there any provision.
    Basically my requirement is like:-
    When the User create the Maintenance Order a workflow should trigger which will go the SAP Inbox of the recipient now he has to see the maint. Order created and should approve if it can be Released or not .
    When he does the approval the application should go for the another approval and when he approves the application is sent back to the workflow initiator.
    Please suggest me what is the best way to do this scenerio. As i m very new to workflow so have only basic knowledge
    Please help me out!!!!!
    Thanks

    Hi Rachit,
    Have a look at std WF like WS20000014, WS20000021 etc..
    It will give idea about maintenace order processing
    Regarding your question about attaching objet to User decision, yes, its possible. Just Bind the Maintenance Order Object related container element to AdhocObjects elemnet of user decision.
    Your overall process can be there will be 2 user decision steps.
    Once these two steps approve, then you can use a third step with background task which will actually release the maintenace order. e.g. For this step you can use BAPI.
    Hope this helps.
    Regds,
    Akshay

  • Terminating Event with Decision Step

    Hi,
    In our purchase requisition approval workflow, I need to have a decision step in which to prompt approver to either approve the req. or reject the requisition.  In this decision step, I need for it to have terminating events for "SIGNIFICANTLYCHANGED", "RELEASE", "REJECT" and "RESET".
    First, I copy the generic decision task 8267 to my my own custom decision task.  Then I added a BUS2009 in the container, releasecode and other needed elements.  In this custom decision task, I was able to add these terminating events that has been defined in the BUS2009.  I was able to setup binding, except the one binding
    Terminating Event  ->   Task
    &_EVT_OBJECT&      ->   &_WI_OBJECT_ID&
    Since the &_EVT_OBJECT& for the terminating event is BUS2009.  And the custom decision task &_WI_OBJECT_ID& is DECISION business object. They're incompatable business object.  So I replaced that binding with
    Terminating Event     ->  Task
    &_EVT_OBJECT&    ->   &PURCHASE_REQ&
    After all the configuration has been setup.  I created a new purchase requisition.  Upon the RELEASESTEPCREATED event, it create a custom decision workitem in my agent's inbox.  When I triggered the "RELEASE" event, it is however not terminating my custom decision workitem.  The workitem still sits in the agent's inbox waiting to be execute.
    Is it possible to setup terminating events for decision step?  Any kind of suggestions or inputs would be greatly appreciated.
    Thank you.
    Jennifer Tran
    System Analyst

    I will suggest you to create a fork with 2 parallel branch and 1 necessary branch. Put the approval step in 1 branch and the wait for Release step event in another branch in this way you can suffice your requirment.
    Thanks
    Arghadip

  • How To Send Invoice List as attachment in User Decision Step?

    HI All,
    I have developed a workflow in which there is one ZMETHOD in which i will get the list of invoices.and that i want to send it as attachment to User Decision Step.
    How to do this?
    Regards,
    Arpita

    If your users will have access to MIR4, why not just bind the business object BUS2081 as an adhoc object into your decision step?  That would solve everything pretty nicely, I think. 
    Regards,
    Sue

  • Adding of RAW-attachement in decision step ?

    hi,
    i have an decision step in an workflow.
    there it is possible (as SAP Standard) to attach a attachement.
    but the only thing a user should do there is to enter an RAW document, just a text
    for the next user.
    BUT: when i push the 'attachement' button in the decision step i get
    a very user-unfriendly popup 'between'. there the user must enter
    a text BEFORE he can enter the text in the editor.
    is it possible to avoid that windows between and get DIRECTLY into
    the note-editor ???????
    reg, Martin

    Hi,
    Assign "Description as your default attribute in your BO basic data...
    this will work...
    Regards
    Gautam

  • Problem with Decision step execution

    Hi Friends,
    I have a problem with executing a decision step. When I execute the decision using SAP_WAPI_DECISION_COMPLETE the workitem goes to completed state and doesn't do anything after that. But when I execute the same step from SBWP the subsequent steps gets executed and rest all works fine. I am sure there is a problem with Decision step . The task I am using is TS00008267. Is there a replacement for this step or is there something to do with feature ADVANCE WITH DIALOG or agents .I have agents in place. Please help.
    -Rajesh

    when I write the decision using FM , the WI is set to completed but
    I am not sending any status to workflow container from the task container
    . Is this the issue for workflow not able to continue !
    There is no necessity of sending any result back to the workitem container. In the decision step container , it contains a standard container element WIResult it will populated based, on the decision you took on the workitem (IF it is a Decisionworkitem).
    when I execute the FM to write the decision, the task ( generic decision task)
    is not getting executed.
    Can you pelase  let us know what is the return code, th function module is retruning back, once you try to execute the workitem  by using the FM, if it is other than zero then can you please let us know what is the message.
    , Before trying to execute the workitem can you please check whether the workitem is stored in the standard workitem header table SWWWIHEAD. as the above function module will validate the workitem from the header table.....

  • Attachment in WORKFLOW user decision step

    Hi all,
    My requirement is to display a link in user decision step.
    When link is clicked, control should navigate to MM02 transaction.
    Also in following user decision step i need to provide link for smart form in user decision.
    Can anybody please guide in detail .
    Thanks.
    Edited by: Sanjay_lnt on Sep 26, 2010 1:14 PM
    Edited by: Sanjay_lnt on Sep 26, 2010 1:15 PM

    Closed.

Maybe you are looking for

  • Error: Makepkg was unable to build kdenlive package

    Another problem building kdenlive. Can anyone shed some light on the problem here, thanks ==> ==> kdenlive dependencies: - mlt++ (already installed) ==> Continue the building of 'kdenlive'? [Y/n] ==> ---------------------------------------------- ==>

  • Vaildating File name with the data in the file using sender file adapter

    Hi, Below is the scenario 1)       Pick up files from a FTP server, the file name is dynamic, how do I put dynamic name in sender file adapter? 2)       Determine if the user correctly named the file based on data in the file. a.       File naming st

  • Blurtooth in new iphone 3Gs

    I have just bought bought the new iphone and love it dearly except the fact that I can't get the Bluetooth to work. It will turn on but only says 'searching' continuously. Other phones can find it but, they aren't allowed to connect with it. It would

  • How to fix deleting issues in Mail program

    I have a MacBook Air (only a year old) and I like to use the mail program that came on the computer ( since it syncs with my phone ) However when I delelte messages they re-appear in the box I deleted them from. Does any one know how to fix this issu

  • How to rotate at any angle?

    So I see normally for the rotation it's based on X, Y, and Z, by choosing one of them.. I also saw somewhere where you can specify the angle for the cam, but that's about it.. I want to be able to manipulate a 3d object at any angle :)