Skip to Content
author's profile photo Former Member
Former Member

BUS2000120 as an attachment in Workflow

I have a requirement to attach the business object BUS2000120 as an attachment to the workflow task so that the user approving can view the details of the object.

I tried assigning the instance of the business object to ATTACHOBJECTS table but it does not work.

Appreciate any help in accomplishing this.

Thanks,

Jagathi

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 08:06 PM

    Hi Jagathi ,

    we had the similar challenge but only with Activity (BUS2000126), but I believe it should be working with Complain (BUS2000120). We implemented the following scenario: when the status of activity was changed to "Rejected", all employees are assigned to the fixed organizational unit should receive express SAPoffice e-mail with the attached link to the activity. Our simple workflow scenario has the following structure:

    Event: Transaction was created persistently (start event status = rejected) --> Step1: Container operation -->Step2: Send Mail -->Workflow completed

    Prerequisite

    The workflow header had been created:

    a) Start event was defined (for example, Category = BO, Object type = BUS2000120, Event of the object = CREATED. The workflow is being triggered when complaint is created)

    b) Event linkage was activated.

    Implementation

    1) First of all you should add new element BUS2000120 to your workflow container.

    a) Open workflow builder (SWDD).

    b) On the workflow container area add new element BUS2000120

    Name = BUS2000120

    Short Descript = <your description>

    Object type = BUS2000120

    Parameter settings

    Select Import & Export checkbox.

    c) Save

    2) After the event "Transaction was create persistently" insert step "Container operator"

    Result Element = WiGroup_ID

    Expression = &BUS2000120&

    Operator = Assignment

    3) Create new standard task for sending e-mail

    a) Open trx. PFTC in new window

    Object type SELFITEM

    Method SENDTASKDESCRIPTION

    Select background processing in Execution section.

    b) Go to Container tab and create new element BUS2000120 as described in the first step.

    c) Save task

    d) Exit transaction

    4) Go to workflow builder and add "Send Mail" workflow step after the "Container operation" step.

    a) Define recipients for receiving e-mail.

    b) Select "Send express" checkbox

    c) Go to Control tab and insert the number of task created in the previous step.

    d) Click on the "Binding" button

    Task container <-- Workflow container section

    Attachments = &_WI_GROUP_ID&

    BUS2000120 = &BUS2000120&

    Task container --> Workflow container section

    BUS2000120 = &BUS2000120&

    5) Save and activate your workflow

    Note: make sure that the event linkage is still active.

    Best regards,

    Alexey

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Alexey,

      Thank you very much for your detailed response. The link I get in the email is not working. Any idea where it gets the server, port name to form the URL?

      Also one more requirement I have is to send the link to the UWL in email. Any help in this area will be appreciated.

      Thanks,

      Jagathi

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.