Skip to Content
avatar image
Former Member

Information on work flow

Dear experts,

I am working on a Work flow which should get triggered upon creation of sales order.

In the work flow I need to display material available quantity and the ordered quantity( Done as an activity in the work flow ). After seeing the available quantity the user will decide whether to go for delivery or not. (Through the user decision step of the work flow).

Can any body please tell me how to make this possible.

Regards,

Murthy

Edited by: pr murthy on Sep 8, 2008 2:06 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 08, 2008 at 12:11 PM

    Create a workflow based on Start Event as Sales Order create (Business Object BUS2032 - Event - CREATED ). So your workflow will trigger whenever a sales order is created. using mappings you can get the QTy into workflow container (hope u know the workflow basics. otherwise check http://saptechnical.com/Tutorials/Workflow/Workflow.htm). In user decision step you can give the USER an option to CREATE DELIVERY OR NOT (give 2 options CREATE DELIVERY, REJECT DELIVERY ). on create delivery you do the thing like create delivery wth ref to sales order or wht ever functionality you want to.. on REJECT dont give anything so that you can come out of workflow and thus ends the workflow.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Jyothi,

      You understood my requirement very well thank you for that, I did not find quantity field in the attributes of the container. I have extended the object BUS2032 as ZBUS2032 with an added method to display the available material quantity which is done using a BAPI BAPI_MATERIAL_AVAILABILITY_CHECK. ( DONE IN THE ADDED METHOD) But the problem is How to pass the input parameters required for this step in the work flow.

      Ram.

  • avatar image
    Former Member
    Nov 25, 2008 at 12:13 PM

    Answered

    Add comment
    10|10000 characters needed characters exceeded