Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

RPTARQAPP workflow remains in status started

$
0
0

Hi

 

We are using SAP program RPTARQAPP for user to bulk approve leave requests within SAP backend.  We have found that we have an issue in that when a new leave request is approved or rejected the workflow remains in status started.  The document data base is changed to approved and is posted via RPTARQPOST and therefore booked on SAP.  However the worklfow remains in status started and does not complete.

 

We have found that for old leave requests it works fine our investigations found:

 

IF_SWF_CNT_ELEMENT_ACCESS_1~ELEMENT_GET_VALUE

 

For old leave requests ( pre upgrade ) The read_mt_elements macro below

returns the value 0002 for the two result options of the task.

 

IF name IS INITIAL.

read_by_qname qname .

ELSE.

read_mt_elements name .

ENDIF.

 

But for new leave requests ( post upgrade ) nothing is found in

read_mt_elements so the program goes on and uses the method

 

CALL METHOD me->find_element

EXPORTING

name = name

qname = qname

search_locally = ' '

search_definition = 'X'

search_parent = 'X'

search_included_containers = 'X'

prepare_write_access = 'X'

IMPORTING

element_ref = l_element_ref

CHANGING

extension_history = l_extensions.

 

This finds the element ref but the value returned is 0000.

 

Has anyone found this issue, if so what is the fix.

 

Many thanks

Julie


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>