Workflow Objects and attachments

Hi!
I have a task type (Dialog), I need put one link to a some transaction. Some ona know what code can i use?
Thanks,
Alexandre

hi,
first post workflow questions in the SAP Business Workflow
Executing transactions is done by first finding the business object related to the transaction and then see if a method exists for changin in dialog
for instance, BUS1001 methods display, edit, delete
executing transactions who don't belong to a business object from workflow can be done with a task which uses method execute of business object TRDIR, you have to pass the progrm name .
kind regards, Rob dielemans

Similar Messages

  • Workflow Decision suppress "Objects and attachments "

    Hi all,
    Is there a way to suppress the "Objects and attachments " message or change the text that reads "No attachments or objects"?
    Thanks in advance,
    Scott

    hi,
    first post workflow questions in the SAP Business Workflow
    Executing transactions is done by first finding the business object related to the transaction and then see if a method exists for changin in dialog
    for instance, BUS1001 methods display, edit, delete
    executing transactions who don't belong to a business object from workflow can be done with a task which uses method execute of business object TRDIR, you have to pass the progrm name .
    kind regards, Rob dielemans

  • How do I set up the "Objects and Attachments"

    Hi .... I'm new at WorkFlow (and SAP for that matter) and have inherited a WF that is already built.  In several of the steps I can see "Objects and Attachments" on the work item screen where a User can click to be directed to a transaction. For example, on one screen the User can click on "Incoming Invoice: 5105601690" to be directed to the Invoice Display Screen that is populated with information for that particular invoice (5105601690).
    I am looking at the WF using TCode SWDD and cannot figure our how the original developer set this up.  So my question is ..... for a particular WF step, how do you set up the "Objects and Attachments: area so that the User will be directed to a particular transaction when he/she clicks on it.
    Thanks in advance, and sorry for such a "juvenile" question.
    Dan A

    Thanks for your reply Rajkumar,
    I am looking at the screen you have directed me to.  Business object is BUS2081 (actually it is ZMMWBS2081 which is a customized version BUS2081) Method is "Display" and Attribute is "InvoiceDocNumber".  How do I know by looking at this that "Display" means Display Invoice?  What if I wanted to display the PO instead?
    Thanks for the "spoon feeding".
    Dan A

  • 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'.

  • Objects and Attachments in User Decision Step not possible

    Hi all,
    I have designed a workflow where during the 1st step(Archivelink image display) I am able to display archived image, and in the inbox for the first workitem I can see the Objects and Attachments link related to the image.
    But my second workflow step(is userdecision dialog), I would like to see the same archived image link as the in the previous workitem under Objects and Attachments.(I dont want to create a new attachement)
    Can somebody tell me how can I accomplish this task.
    Thnks
    Yogi

    Hello,
    what you need todo is to use a container binding from the single step task from the 1st step where you bind the image object to the workflow container.
    Then in the user decision task you create a container element which refers to the image object. Then use a binding to 'send' the object from the workflow container to the task container.
    Kind regards,
    Peter

  • Create Objects and Attachments

    Hi All,
    I want to know how to create Objects and Attachments  in Workflow as in case of Customized WF . As for Purchase Order Release I can see the Click on the Link and Display the Document. How it get done?
    Help Me
    Thanks

    Hello Munish,
    First goto SWO1 to create objects.(custom).
    Second you can copy std. WF and enhance it for your requiremet.
    in custom BO you can write method and in that you can call your form59.
    from swel you can find which std. B.O. is used for PO Release.
    Hope magic works,
    Regards,
    Purvesh.

  • Why i cannot see 'Objects and attachments ' in decision step?

    Dears:
      i am doing some workflow in SO, but i cannot see the object link under 'Objects and attachments ' in INBOX. like 'Sales Order: 0500001005 '.
      i have do the binding from workflow to task.
      any advice?

    Hi
    This sounds like a binding issue.
    Make sure that:
    1. You have created the binding from the workflow container to the task container
    2. The object (Salesorder) is correctly instantiated when you're using it in your task
    3. Make sure that your not binding out any invalid object/ values to your salesorder workflow container object in any of the previous steps.
    Regards
    Morten Nielsen

  • Work Item Objects and attachments

    Hi,
    We are working for the travel expenses related workflow scenario where we are able to see the employee trip details under the objects and attachments. This happens with the method 'DISPLAY' which is a default method and which is used to display the trip details. We are seeing this under the User Decision. I am using the BO BUS2089.
    Now we want another link below this which on clicked will call a smartform.What i essentially imply is that when the link is clicked, a pop up will appear where the user will enter LOCL and when clicked on print preview, he will be able to see the smartform.
    What i want to know is that how can we have multiple links in objects and attachments in one work item itself.
    Thanks in advance for all the help.

    Hi,
    For every object instance in the work item container there will be a link in the preview pane in SBWP. If you want to have a link to a smartform then make sure the User Decision task has a container element which references the smartform object.
    Regards,
    Eddie

  • Adding Process Objects in Objects and Attachments

    Hi,
    For the PO Release workflows, the agent getting the workitem in his SAP inbox and Can display the PO by clicking on the Objects and attachments. I want to add some more Objects in that. Is it possible and if yes please tell me how?

    Yes you can add more than one attachments to the Objects & Attachments sections.
    all you have to do is you have to pass to entries to the &_ATTACH_OBJECTS& I think already you are making one entry into this element , try to enter one more entry into this element by default it will show you the two attachments.

  • WorkItem Objects and attachments

    In workitem objects and attachments. I want insert one attachment in runtime.
    I am using SAP_WAPI_ATTACHMENTS_ADD but i am unable to attach. I want to attach smartform pdf output kindly suggest me.

    You can check below code. It might help you.
    DATA: LV_HEADER TYPE SWR_ATT_HEADER,
            ATTID TYPE SWR_ATT_ID.
      DATA RET_CODE TYPE SY-SUBRC.
      LV_HEADER-FILE_TYPE = 'B'.
      LV_HEADER-FILE_NAME = FILE_NAME. * dynamic
      LV_HEADER-FILE_EXTENSION = FILE_EXN. * dynamic
      LV_HEADER-LANGUAGE = 'E'.
    CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
        EXPORTING
          WORKITEM_ID          = WORKITEM_ID
          ATT_HEADER           = LV_HEADER
         ATT_TXT              =
          ATT_BIN              = FILE_CONTENT
          DOCUMENT_OWNER       = SY-UNAME
         LANGUAGE             = 'EN'
        DO_COMMIT            = 'X'
      IMPORTING
        RETURN_CODE          = RET_CODE
        ATT_ID               = ATTID
    TABLES
       MESSAGE_LINES        = MESSAGE_LINES
       MESSAGE_STRUCT       = MESSAGE_STRUCT
    But the real problem is you need to store file data in variable ( here FILE_CONTENT ) before calling this FM.
    other wise attachment will be uploaded without data. As a result of that you can not open the attachment in workflow.
    Thanks
    Sanjay

  • WF: Objects and Attachments

    I have a requirement that I need to remove the Objects and attachments link from the workitem which come with the workitem description how can I achieve this.I need this because I have created my own screen for display, change ,approve and reject
    and I don't need a link in Objects and attachments for PR display.
    Thanks in Advance.......

    Go to SWDD and sleect that prticular activity which goes as a workitem
    click the Binding
    In second half of the binding, you will have bindings from step to workflow
    In that..you will be having an entry like below
    Example:
    &PURCHASEORDER&  <-- &WI_OBJECT_ID&
    Select the above entry and delete this line..
    save and activate your workflow.
    Thats it.

  • 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

  • Subject on objects and attachments

    Hi all,
    Does anyone know how to change the subject on an SOFM object I create on the fly and attach to a task?
    Under "Objects and attachments" the attachment shows up as "Office Document: SDM".  How do I change the "SDM" to something else.
    Thanks,
    Scott

    Thanks Mike,
    Here is how I am creating the docuemnt....
      DATA: FLOWITEM TYPE SWC_OBJECT,
            WF_ID    LIKE SWWWIHEAD-WI_ID.
      SWC_GET_ELEMENT CONTAINER 'WI_ID' WF_ID.
      SWC_GET_ELEMENT CONTAINER 'FLOWITEM' FLOWITEM .
    SWC_GET_PROPERTY FLOWITEM 'WorkitemId' WF_ID.
      SWC_SET_ELEMENT CONTAINER 'NOTEID' WF_ID.
    *wf_id = '000000415638'.
    CALL FUNCTION 'SWL_WI_NOTE_CREATE'
         EXPORTING
              WI_ID                         = WF_ID
            WORKITEM                      =
         EXCEPTIONS
              ERROR_SETTING_NOTE_EXIST_FLAG = 1
              ERROR_NOTE_CREATION           = 2
              ERROR_CONTAINER_UPDATE        = 3
              CONTAINER_DOES_NOT_EXIST      = 4
              ERROR_IN_WI_ENQUEUE           = 5
              ILLEGAL_WI_STATE              = 6
              OTHERS                        = 7.
    Where does the subject even come from?  Also, how do you change the subject or title field in FM's & methods?
    Thanks,
    Scott

  • Objects and attachments in workitems..

    Hi guys,
    I know that there are ways of creating and viewing attachments in workitems. I want to know whether there are ways of editing and deleting the attachments, already made to workitems.
    Thanks in advance.
    Regards,
    Sukumar.

    HI
    How we can attached object/Method while sendind workitems to user business workplace ?
    My project requirement is to send a method as a Object attachements ?
    Pls give me fruitful advice ?
    Thanks in advance.
    Regards
    Rajesh Sha

  • Task :  new objects and attachments

    Hi,
    in my task i would like to add an object that allows to go to a transaction SM30 for exemple.
    Thanks

    Hi,
    If you just want to go to a transaction, that is relatively easy.
    Just add a method in a BO which looks a bit like the following:
    Begin_method SM30 changing container.
       Call transaction 'SM30'.
    End_method.
    If you want to extend the functionality of this method 'call transaction' you can use parameter ID's or apply the statement CALL TRANSACTION USING BDCDATA... See for more info the ABAP-documentation (press F1 in your editor for that).
    Hope this helps you in creating your method.
    Kind regards,
    Joost van Poppel

Maybe you are looking for

  • Weblogic Domain not getting created in SOA Suite 11g R2

    I have installed the components of SOA Suite 11g R2 (11.1.1.3) on a single Windows XP SP3 machine (32 bit) following recommended procedures. I tried to configure Weblogic server using Domain Configuration utility. After navigating hrough the wizard,

  • Field Status Group influence when Purchase Requisition being created

    Hi! I have a requirement from a client regarding the influence of the Field Status Group on Purchasing Documents. A Filed Status Group has been created in which has the CO/PP order set as Required entry for the Account Assignment. This Group was then

  • Back to Mac after trying a high end PC laptop! What a joy to be back!!!

    I've been a Mac user since around 1990...a long time in computer years! Anyway, as I was about to start a government job - read: PC - I thought I better switch to PC/Windows and might as well get familiar with it by having one at home. So I go and bu

  • Where Can I find Linux for Oracle?

    Please tell me where I can find it. Pao. @}-->>-----

  • Ejb servlet application

    i am using orion. i have an ejb app running.. i can connect to it from an external client. however, as soon as i turn the client into another ejb app that is just a servlet, i get ClassCastException when getting the remote interface. any ideas?