cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow for Import PO

Former Member
0 Kudos

Hi,

I am working with two level PO release process.

I want to restrict the workflow only for PO type Import .

Please can u give me hint how to achieve this .

Regards

manju

Accepted Solutions (1)

Accepted Solutions (1)

KKilhavn
Active Contributor
0 Kudos

I would suggest using the release procedure customizing for this. (Assuming you are using the SAP standard functionality for PO release to start the workflow.)

Answers (3)

Answers (3)

Former Member
0 Kudos

hai manjunatha goudra

first creat an database attribute ( ekko-bsart ) in business object.then in workflow start condition (trans -SWB_COND) in that u can specify the conditon as per your requirment.

hope it will solve your problem.

regards

rose.

tony_bramhill2
Participant
0 Kudos

It would be better to check for your condition <i>before</i> you start the workflow, otherwise you create a new workflow instance for every PO, even though one is not necessary.

If you are triggering the workflow by an event coming out of message control (output control/condition technique), then add an ABAP requirement to the condition type which checks the PO for type. Only if the requirement is satisfied, will the event be triggered.

Use VOFM to create an ABAP requirement. Add the requirement to the condition type (NACO) which is configured for your PO. If you are not triggering using message control, you could consider configuring this way so that an event is triggered when the PO is created. Use NACT to create a condition type for triggering an event - medium 9.

Former Member
0 Kudos

Can we use check condition here. in this case?You can use start condtion but not sure there you have po type or not. just give it a try.

Create a check function module and assign it in t-code swetypv. In that check funcion module fetch po type based on po. For example of check function module refer SGOSSUB_CHECK_FB

Former Member
0 Kudos

Make first sep of workflow as a condition :

po type = import then proceed further otherwise terminate workflow.

Former Member
0 Kudos

Hi swetha,

I am using the BOR BUS2012 . if i use the step type condition here i am getting the PO group , PO organization as parameters to compare.I am not getting the PO type in BUS2012.

can u please brief me the solution in detail

ragards

manju