on 03-01-2012 12:06 PM
Hi Experts ,
I am designing the solution for HR payrole update from File to RFC scenario,
Employee master will be locked for one week , i need to hold the data in RFC queue untill employee record released from ECC,once the employee released then it should update the reocrds.
pelase provide the solution and possible other way of update in ECC.
Thanks and regards
Sukumar
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sukumar,
before to explain how to design such a flow, you have to know "by who", "how" and "when" an employee can be released.
for instance, is it your legacy which precises you that in its source file ? or does this employee is released because someone in SAP ECC releases this employee ?
So who or what triggers the fact that an "employee is released"... when you will know it, you will know how to define your flow in PI.
regards
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
According to my understanding, The RFC will first check all the employee is locked or not.
if employee is locked then store them in the application server creating a log at ECC.
need to run background job to run the log created in application server at ECC, the data need to run using the same functionality as RFC, check the employee and if employee is unlocked then insert, if not then store back in the same log.
background job need to be schedule for every 30min or 1hr.
no the programming model in RFC should capable of validating the employee lock status...
lock status will be automatically managed by your RFC (bapi) or your Idoc. so not a matter.
Anyway, maybe I read too quickly your post... You said that "Employee master will be locked for one week", so maybe the easiest way is just to stop your interface during one week, by stoping the your sender communication channel. And when business will be ready (after the frozen week), then you have just to restart your CC. is it ok with your business ?
Note: you can also trigger this start/stop with an external tool (to buy), and why not from an abap program (to develop and schedule).
Mickael
Dear Sukumar
Identify an IDoc which will carry the data
In the Partner profile the setting should be "Collect iDoc"
Create a Bapi which will select the IDocs based on the Employee Status(not sure how to do it)
You can then schedule the Job which will pick the list of IDcos from the Bapi and process them
Sourabh
Sukumar,
I said "stop the sender cc", so PI does not pick-up the file(s).
if you stop your receiver CC (RFC), then all your messages will be in error in SXMB_MONI, and stored in several PI queues (SMQ2). which could have a direct impact on other interfaces which use the same queues (except if your sending is EOIO, as you dedicate only queue to this interface). for me, it's not good to have that.
Mickael
Edited by: Mickael Huchet on Mar 1, 2012 1:20 PM
I know this post is closed... but just an advice, with this solution (which is also good), you have to be careful on one point: be sure that all your jobs on program RBDAPP01 will be never run with your Idoc messages/types during your frozen period !
So check all your job on this program, to be sure that in all variants you have the idoc message/type which are clealy defined and different to yours!
Be sure also, that nobody will use the transaction BD87 and process (by error) your idocs... So communicate with different businness... and with support team (help desk) !
regards.
mickael
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.