cancel
Showing results for 
Search instead for 
Did you mean: 

N level-Approval for contract workflow (WS14000148) in SRM

Former Member
0 Kudos

Hi SDN'rs

I want to activate N level-Approval for contract workflow (WS14000148) in SRM

When I am creating the contract in SRM I can see the approvers in the approval preview.

But when I release the contract and look at the approval privew there are no approvers

and the status of the contract is released.

We are on SRM Server 5.5 and SP 07.

Here what I did

1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.

2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.

3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.

4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.

( User who is creating contract has this role)

5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD

6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.

I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?

If any one know what are the steps I am missing please let me know.

Thanks

A S

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

The problem you are experiencing is that you are able to see the approval preview during workflow but after the approval is finished you cannot see the approver list in the approval preview.

I am also experiencing the same problem for WS14000148 and found no solution. As a result we have opened an OSS message to SAP and i will let you know when we have the solution.

Best Regards

Former Member
0 Kudos

Hi Gaia

My problem is while creating the contract we can see the approvers but the workflow is not starting at all.

When the contract is released Workflow is not stated but I can see the approvers to approve the contract in the approval preview until the contract is distributed ( Status 'In Distribution' in the Basic data tab).

Once it is distributed the approvers in the approval preview are gone and it says 'No Approval Required'.

Did you have this problem before? Please let me know

Points will be rewarded.

Thanks

A S

Former Member
0 Kudos

Hi

Nishnat: I check the BADI in the debug mode and it is not going in endless loop.

Atul: Thanks for the Notes

Mahesh: purchaser and approvers has those roles.

When check the workflow WS14000148 in Transaction SWDD, the Sub workflow for task WS14000147 in Task properties, Task complete is green, Agent assignment is green (The link to agent assignment in ball in red color).

is there any this I need to check?

Here are some I noticed:

1. Once the user creates the contract it suppose to me waiting for approval instead it is released when I check the approval preview of the contract, There are no approvers and It says 'No Approval Required' (When I check Display as Table).

2. There is no Event trace for contracts in transaction SWEL.

3. When test the workflow in transaction SWUS, I see the contract in the Approvers que.

This is the first workflow we activated in the system, Is there any configuration or batch jobs or any activation I missed!

Please let me know.

Thanks

A S

Former Member
0 Kudos

Hi A S,

Try to Change the User role to Strategic Purchaser for creation of contract.

Try to maintain the approver users role as purchase manager.

It seems to me you have maintained all the setting that are required.

Check the workflow WS14000148 in TRX SWDD and the Sub workflows also.

I hope with the above setting your work can be done.

With regards,

mahesh

Former Member
0 Kudos

Hi

Please refer to these OSS notes which might help.

<u>Refer to following OSS Notes -></u>

Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
879528 WS14000148: Send mail to initiator incorrect 
901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
879873 BUS2000113: The Object_ID attribute may be empty
903015 BAdI Workflows: Events and parallel steps 
901068 BAdI Workflows: Enhancement of Note 896556
769458 Dynamic workflows: No adjustment after document change 
972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
864473 Deactivating the shared memory when searching by prefix
928642 Container factory: Shared memory dump update

Refer to these links.

<b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm

</b>

<u>Also raise an OSS message with SAP as well.</u>

Regards

- Atul

former_member195032
Active Contributor
0 Kudos

Hi ,

I feel that you have implemented the BADI and which is going into some endless loop.

Just debug the BADI code and see that if you have created any endless loop.

Regards,Nishant