cancel
Showing results for 
Search instead for 
Did you mean: 

Bid not submitted for approval

Former Member
0 Kudos

Hello all,

Greetings!

Business Scenario - Sourcing with Bid Invitation

We are configuring our sandbox.

System details-

SAP_ABA 700 0011 SAPKA70011 Cross-Application Component

SAP_BASIS 700 0011 SAPKB70011 SAP Basis Component

PI_BASIS 2005_1_700 0011 SAPKIPYJ7B PI_BASIS 2005_1_700

ST-PI 2005_1_700 0003 SAPKITLQI3 SAP Solution Tools Plug-In

SAP_BW 700 0010 SAPKW70010 SAP NetWeaver BI 7.0

SAP_AP 700 0007 SAPKNA7007 SAP Application Platform

SRM_PLUS 550 0007 SAPKIBK007 SRM_PLUS for mySAP SRM

SRM_SERVER 550 0007 SAPKIBKT07 SRM_SERVER

We have done all CG configs for above business scenario.

our strat purchaser can publish the Bid Invitation

The Bidders can see the BI and submit the bid

The strat purchaser can see the submitted bid and

can accept the bid.

<b>But the Bid is not submitted for the Pur manager approval.</b>

Here are our settings and trials:

The strat purchaser and the purchase manager are in the same pur org.

The pur mgr is the head of dept.

Pur Mgr has role SAP_BBP_STAL_PURCHASE_MANAGER.

We have activated

WS79000002 One-Step Approval of Bid

but the Bid is not submitted for WF

In BBP_PD we see

No Workflow Item Found

We even tried assigning role and user to WS79000002

The task TS 79007914 is a general task.

we tried activation of both the WF i.e.

WS79000010 Workflow Without Approval

and WS79000002 also.

In SWU0 system is showing

WS79000002 One-Step Approval of Bid - Successfully started

Result dependent on a check function module

(The actual execution of the task to be started is dependent

on a check function module running without errors. The executability

cannot be evaluated at the end)

Please help us.

BR

Dinesh

Don't worry about the points.

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Dinesh,

No Workflow Item Found means workflow was not started.

Is there any entry in SM58 ?

Also try event trace.

SWELS – Event Trace

SWEL – Display Event Trace

Regards,

Masa

Former Member
0 Kudos

Thanks, Masa.

there are no entries in SM58

SWEL shows me

No receiver entered

for both the events

MONITORINGEND

MONITORINGSTART

in both the situations

i.e.

both WS 79000002 & WS79000010 active

and only WS 79000002 active

If only WS 79000002 active bidder can not submit the bid also.

Pl. guide further.

BR

Dinesh

Ramki
Active Contributor
0 Kudos

Did you check the start conditions ?

Former Member
0 Kudos

Hello Ramki,

<b>You are right again</b>.

I also think start conditions should be culprit.

Sorry, I forgot to mention in my first post

Our delivered start conditions for

WS79000002- One-Step Approval of Bid &

WS79000010 - Workflow Without Approval for Bid

were

( "

&_EVT_OBJECT.PROCESSTYPE& =/ RFPS

and &_EVT_OBJECT.PROCESSTYPE& =/ RFPP

) "

and &_EVT_OBJECT.ACTUALDOCUMENTPROCESSOR.ACTIVITYGROUP& CE SAP_BBP_STAL_STRAT_PURCHASER

(originally role was for purchase manager which we changed for strat purchaser.)

Now we have introduced a simple strat condition as below:

&_EVT_OBJECT.PROCESSTYPE& = BID

for both WF , WS79000002 and WS79000010.

We want that after acceptance by strat purchaser our bid should go for

approval by the purchase manager.

We are trying various combinations for WS79000002 and WS79000010

activate event linking and assign agents.

But the bid is not going for approval to purchase manager.

In BBP_PD for Bid we are getting

No Workflow Item Found

that

shows that the bus object is not submitted to WF.

Pl. guide us.

(Hope by this project end will have hold on workflows

and won't trouble you ).

BR

Dinesh

Former Member
0 Kudos

Hi,

Pls check in transacn SWUD whether all the subworkflows are working fine.(Sometimes it happens that subworkflows are in error due to which the woprkfow is not completed).If any of the sub workflows are in error,then see the log and rectify the same.

Also check in SWIA for the Workflow log and error log.

HTH.

BR,

Disha.

Pls reward points for useful answers.

Former Member
0 Kudos

Hello Deepti,

Thanks.

You are correct.

In SWUD, for WS79000002, when I see "Determine instances for task"

status of my workitems is "Error".

If i see log of one of the WI it says,

start by, end by, latest end - not defined

Priority - Medium

Status - error

In SWIA also , I can see same log.

Pl. ellaborate the recification you have mentioned.

BR

Dinesh

Ramki
Active Contributor
0 Kudos

Hi Dinesh

This is just gut feeling...

You have few background jobs to be scheduled in 'workflow standard settings'(SWU3). These are automatically configured normally.

However check again

Best regards

Ramki

Former Member
0 Kudos

Hello Ramki,

One step ahead.

When I checked in SWU3 these background jobs were indeed inactive.

So I scheduled following:

Schedule Background Job for Work Items with Errors

Schedule Background Job for Condition Evaluation

Schedule Background Job for Event Queue

Schedule background job for clearing report

Schedule Background Job for Missed Deadlines

So all these background jobs are in green condition now for me.

But when I tried fresh cycles I still see

No Workflow Item Found in BBP_PD

and

WI status in ERROR in SWUD

Does the RFC user for the above mentioned background jobs has any special

requirements.

Ours one has profile of SAP_ALL and of type SYSTEM.

Why this WI corresponding to my BID is going in status of ERROR?

In the strat purchaser's log in when i see my BI for which the BID is submitted

under the approval preview applet I can see the approver is selected as the "PURMGR"

but there is no statement of WF started (which should have been)

Kindly guide further.

BR

Dinesh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Dinesh,

Have you checked this ?

Workflow error: E WD:401 Workflow definition '' not in version '' error

Please check the Note 962488 "Workflow definition '&' not in version '&'".

1. Run the function module SWD_WFD_REPLICATE_FROM_9999 and copy it.

2. Re-activate the WF definitions in the transaction SWDD

3. Check Consistency in the transaction SWUD

Please also check the sub workflows.

Regards,

Masa

Former Member
0 Kudos

Thanks, Masa.

I followed yr steps.

Run the function module SWD_WFD_REPLICATE_FROM_9999

(could not copy in absence of access key)

Re-activated the WF definitions in the transaction SWDD

Checked Consistency in the transaction SWUD

But the error you are suggesting is not in our WF

i.e. Workflow definition '' not in version '' error

From my earlier project i remember that this error is seen

under tab Result of syntax check for a particular WF in SWDD.

If i check my WF WS79000002 in SWDD I get a message :

The check produced '0' items of information '0' warnings '0' errors

So I hope "Workflow definition '' not in version '' error" may not

be the problem.

I tried a fresh cycle after the updations

but got the same result

In BBP_PD : No Workflow Item Found for BUS 2202

In SWUD : WI status ERROR and "no agent available".

Pl. guide us further.

BR

Dinesh

Former Member
0 Kudos

An update,

We tried with WS 79000010 no appval required for Bid

and the behaviour is same as that of WS 79000002.

We have found one note Note 832886 - WS79000002: Various errors at runtime

but release is upto 4.0

Any help?

BR

Dinesh

Ramki
Active Contributor
0 Kudos

Hi Dinesh

1) Are you using WF-BATCH as the user ? System user with sap_all & sap_new profiles is fine. Have some email id also in SU01 for this user.

2) It's a good practice to Run verification workflows (SWU3) and see if Workflow basic settings are fine. Pl check

Best regards

Ramki

Former Member
0 Kudos

Thanks, Ramki.

Under SWUD analysis we found that the sub task of WS79000002 which is WS79000003 is not active.

In SWDD we activated this subtask WS79000003.

And now the WI item is no more in error and in SWUD for a bid it's showing that the WI is proceded with no error and WF started.

But we see BBP_PD for that bid we still see

No WI found.

Confusing for us.

We are taking further trials with assigning agents to WS79000002 and TS79007914.

Will keep you posted.

Yr inputs are awaited.

BR

Dinesh

Former Member
0 Kudos

Further Observations,

In SWUD if we go for 'View WF Chronicle' , we see the statuses as below:

One step approval of Bid .... guid.... = Completed

Approve Bid Ws79000003 activated no.....=Logically deleted

subworkflow:update bid after approval = completed

set status of bid to released = completed

subworkflow to send mail with bid approval = completed

We have only accepted the Bid i.e. only the triggering event for WF

79000002 has been completed.

But the WF analysis is showing all the further activities are completed

automatically.

Is it because we activated the subworkflow WS79000003?

Logically for the step' approve bid" system should say something like

' waiting for action by agent' .

But in our case system is completing all the further steps automatically.

and in BBP_PD under worklfow we see 'No workflow item found.'

Pl. guide us.

BR

Dinesh

Former Member
0 Kudos

Hi,

Have you checked both of the BID workflows individually?IF not then please check whether the 2 Workflows are executing fine if run individually.

Also how are you doing the agent assignement for the 1 step approval of BID?

Also see if note 976752 helps.

BR,

Disha.

Pls reward points for useful answers.

Former Member
0 Kudos

Hello,

Ya, we have checked with individual workflows.

Only WS79000002 active -

SWUD shows the WF is started and all the steps are completed auto

maybe the reason is WS79000003 active

but there in NO entry in BBP_PD for BID

saying no WI found

Only WS79000010 active

SWUD same

ofcourse here no approval is required

But there is a entry in BBP_PD as WF started

shows WI ID

I am not clear - (how are you doing the agent assignement for the 1 step approval of BID)

The note seems to be much relevant, but when we try to apply system says could not get any corrections....

BR

Dinesh

Former Member
0 Kudos

Hello All,

An update,

I think we are close to the reason now.

The main WF 79000002 calls another WF WS79000003 for bus 2202 events.

which was earlier inactive.

we activated this ....03 but it remained "undefined" .

if you see this ...03 in SWDD, check will tell you no start events.

SAP has given notes which mention FM SWD_WFD_REPLICATE_FROM_9999

to retrive the definition from transport version.

will keep you all posted .

BR

Dinesh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Dinesh,

" no start events " is information message. The sub workflow is called from main workflow so start event is not required.

My system has same message but no problem in WF runtime.

I'm not clear your problem. Workflow runtime error ? or Agent not found ? someting else ?

Regards,

Masa

Former Member
0 Kudos

Hello Masa,

Thanks for your detailed reply.

I may not be able to talk in exact technical terms for WF.

But our issue is that the business document (the bid) is not correctly processed by WF.

I am not a WF expert.

It's only after analysis we realised that the main WF WS79000002 calls the subworkflow

WS 79000003 and so on.

The reason we are targetting WS 79000003 because this seems to relevant for the task of submiiitng

the bus object to work agnet which is not happening in our case.

The bid is not going to approver inbox.

When I compared my SWDD of my WS 79000003 to other implementations

I could see that mine was undefined whereas for others detailed steps can be seen.

we did SE37 for the given FM but it is not helping us.

in SE37 RFC target is asked

do we need to create an RFC to 000 client and give that RFC in SE37 for this Fm?

screens sent to yr ID for better understanding.

I think with some small corrections I should overcome issue.

Please guide us.

BR

Dinesh

Former Member
0 Kudos

Hello All,

We got a note 1046658 and 2 transport files from SAP which fixed the issue.

FYIP

Thanks to you all for yr time and efforts

BR

Dinesh

Former Member
0 Kudos

Dear Dinesh,

Do you remember the message number so I can point OSS in the right direction?

Thanks in advance,

Thomas

Answers (1)

Answers (1)

former_member195032
Active Contributor
0 Kudos

Hi Dinesh,

If the workflow is not running well, you can initiate a buffer synchronization in the organizational environment.

Execute transaction PPWFBUF or <b>SWU_OBUF</b>.

Choose Runtime Buffer &#8594; Synchronize from the menu bar.

Regards,Nishant