cancel
Showing results for 
Search instead for 
Did you mean: 

workflow not initiating, SRM 7.0

Former Member
0 Kudos

hi experts,

we are using SRM70 SP3, and we found that in some of the SC's, workflow is not getting initiated, mainly after logging in to the system

process based workflow is active

once the user creates the first request, no workflow is initiated and it goes to 'in process' status.

next time onwards user is able to create SC's successfully with status as 'Awaiting Approval'.

kindly help.

Thanks

Hitesh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

It might be an issue with number ranges. Please check once.

Thanks,

Venkatesh.

Former Member
0 Kudos

thanks for the reply.

But which number ranges do you refer? We have implemented the approval process for external SC generated by the MRP. This error occurs only for them.

Regards,

Pablo

Former Member
0 Kudos

Hi Hitesh,

did you solved this issue? We have the same dumps and entries in SM13.

thank you in advance

Rgds

Pablo

Former Member
0 Kudos

Hi, Hitesh

Did you use COMMIT WORK statement in a BADI ? For example BBP_DOC_SAVE_BADI.etc

We do not recommend to use the COMMIT WORK statement in a BADI since it

has an impact on the update process.

Regards

Lauren

Former Member
0 Kudos

Hi Lauren,

we are not using commit work in doc check / change / save BADI

and wherever we are using commit we have changed it to commit work & wait.

rgds

Hitesh

Former Member
0 Kudos

hi,

please find below the error:

The exception 'CX_OS_DB_INSERT' was raised, but it was not caught anywhere

along the call hierarchy.

Since exceptions represent error situations and this error was not adequately responded to, the running ABAP program

'/SAPSRM/CB_WF_PROCESS=========CP' has to be terminated.

source code is:

  • * DB Inserts

insert /SAPSRM/D_WF_000 from table DB_ITB_/SAPSRM/D_WF_000

accepting duplicate keys.

if sy-subrc <> 0.

raise exception type CX_OS_DB_INSERT

exporting

table = '/SAPSRM/D_WF_000'.

endif.

  • * DB Updates

update /SAPSRM/D_WF_000 from table DB_UTB_/SAPSRM/D_WF_000.

if sy-subrc <> 0.

raise exception type CX_OS_DB_UPDATE

exporting

table = '/SAPSRM/D_WF_000'.

endif.

*>

"MAP_SAVE_TO_DATABASE>

endmethod.

in SM13 also its makin an entry