When there is a requirement for approving the mass approvals for the leave request workflow , then use the below function module PT_ARQ_REQUEST_EXECUTE to approve it.
Before running the functional module check the record status in the table PTREQ_HEADER with field status. It has the status 'SENT' .
data : EX_MESSAGES TYPE PTARQ_UIA_MESSAGES_TAB,
EX_COMMANDS TYPE PTARQ_UIA_COMMAND_TAB.
CALL FUNCTION 'PT_ARQ_REQUEST_EXECUTE'
EXPORTING
im_request_id = 'E079F211C65FEFF188150050569A609B' "PTREQ_HEADER-REQUEST_ID
IM_COMMAND = 'EXECUTE_APPROVE'
im_pernr = '00000001'
im_modus = 'R'
* IM_DEBUG =
* IMPORTING
* EX_REQUEST =
* EX_HAS_ERRORS =
* EX_SHOW_CHANGE =
tables
ex_messages = EX_MESSAGES
ex_commands = EX_COMMANDS
.
After running this function module the status become 'APPROVED' in the table PTREQ_HEADER , and if u check in the workflow the workflow would be completed. for detailed data run the report RPTARQDBVIEW.
Before running the functional module check the record status in the table PTREQ_HEADER with field status. It has the status 'SENT' .
data : EX_MESSAGES TYPE PTARQ_UIA_MESSAGES_TAB,
EX_COMMANDS TYPE PTARQ_UIA_COMMAND_TAB.
CALL FUNCTION 'PT_ARQ_REQUEST_EXECUTE'
EXPORTING
im_request_id = 'E079F211C65FEFF188150050569A609B' "PTREQ_HEADER-REQUEST_ID
IM_COMMAND = 'EXECUTE_APPROVE'
im_pernr = '00000001'
im_modus = 'R'
* IM_DEBUG =
* IMPORTING
* EX_REQUEST =
* EX_HAS_ERRORS =
* EX_SHOW_CHANGE =
tables
ex_messages = EX_MESSAGES
ex_commands = EX_COMMANDS
.
After running this function module the status become 'APPROVED' in the table PTREQ_HEADER , and if u check in the workflow the workflow would be completed. for detailed data run the report RPTARQDBVIEW.
Good day! I just want to give a huge thumbs up for the good info
ReplyDeleteyou have got here on this post. I will likely be coming again to your weblog for extra soon.
Also visit my homepage :: travel insurance hong kong blue cross
I’m uncertain exactly why but this internet site is loading extremely slow
ReplyDeletefor me. Is other people having this issue or can it be an issue on my end?
I’ll check back down the road and see if the problem still exists.
My weblog government articles
You actually make it seem really easy along with your presentation
ReplyDeletehowever I to find this matter to be really one thing which I think I would never understand.
It seems too complicated and extremely huge for me. I'm having a look ahead in your next post, I will try to get the cling of it!
my homepage http://catering.mazenod.wa.edu.au/
Whats up! I just wish to give a huge thumbs
ReplyDeleteup for the nice data you have got here on this post. I
shall be coming back to your blog for more soon.
Here is my website ... ap music theory syllabus benward
This is my first time pay a visit at here and i am in
ReplyDeletefact happy to read all at alone place.
Also visit my webpage: forgot Windows 7 password
Good day! I simply want to give an enormous thumbs up for the great info
ReplyDeleteyou have got right here on this post. I will probably be coming
again to your blog for extra soon.
Look into my weblog :: show off cars
Wonderful beat ! I wish to apprentice while you amend your site, how can i subscribe for a
ReplyDeleteblog web site? The account helped me a acceptable deal.
I had been tiny bit acquainted of this your
broadcast provided bright clear concept
Feel free to visit my webpage Muscle Gain Supplements (leanmuscleformulablog.com)
I am regular reader, how are you everybody? This piece of writing posted at this web site is genuinely good.
ReplyDeleteFeel free to surf to my blog post; homepage - pornharvest.com
Having read this I thought it was really enlightening.
ReplyDeleteI appreciate you finding the time and effort to put this informative article
together. I once again find myself personally spending a lot of
time both reading and commenting. But so what, it was still worthwhile!
corexin reviews
We're a group of volunteers and starting a new scheme in our community. Your website provided us with valuable information to work on. You have done an impressive job and our whole community will be thankful to you.
ReplyDeleteMy page ... Slim Helper Weight Loss Patch
I leave a response whenever I like a post on a blog or I have something to add to the discussion.
ReplyDeleteIt's triggered by the sincerness communicated in the post I read. And after this post "Mass Approval For The Leave Workflow Data - PT_ARQ_REQUEST_EXECUTE". I was moved enough to drop a thought :) I actually do have a couple of questions for you if it's okay.
Could it be simply me or do some of the remarks come across like
they are coming from brain dead individuals?
:-P And, if you are posting at other social sites, I would like to
keep up with anything fresh you have to post.
Could you make a list all of your public sites like your twitter
feed, Facebook page or linkedin profile?
My blog post dj headphones (http://www.gojini.com/profile/cierra5063)
I was suggested this website by means of my cousin.
ReplyDeleteI am not certain whether or not this put up is written through him as nobody
else recognise such precise about my problem. You're wonderful! Thanks!
My web page Coffee Pure Cleanse Review :: ::
Great post. I'm experiencing many of these issues as well..
ReplyDeleteFeel free to visit my website - Satiereal saffron extract
I know this web page gives quality dependent articles and other material, is there any other web page which gives these things in quality?
ReplyDeleteReverge reviews