Rollback Payroll From Backend for few assignments
Hello Gurus,
can anyone help me out with the info , is there any standard api is to rollback the payroll for assignments or any procedure to rollback the payroll for few assignments from backend.
i know that there is a standard package "py_rollback_pkg" to rollback the payroll. but the problem with this package is it will rollback complete payroll actions for the all assignments for which payroll is assigned. but my requirement is , i have to rollback only for few assignments.
any inputs on this is highly appreciated.
Thanks
Not sure why you're not able to use - py_rollback_pkg.rollback_ass_action
If you have 20 assignments processed for a month - you will have a payroll_action_id and 20 asg_act_ids
rollback_ass_action takes one assignment action and deletes it.
So if you want to delete 10 employee pay runs, then you need to call the below API in a loop.
After the process is successful, you will still see the same Payroll_action_id and 10 asg_act_ids for the remaining 10 employees.
The procedure delte the data from pay_action_interlocks, pay_assignment_actions, pay_run_balances.. for each of the asg_act_id
/*------------------------ rollback_ass_action -----------------------------*/
NAME
rollback_ass_action - undo work for assignment action.
DESCRIPTION
performs rollback/mark for retry on assignment action.
NOTES
This procedure is the entry point to be called to rollback
or mark for retry an assignment action. On failure, a
message will be inserted in message lines, indicating that
the assignment action could not be processed.
The parameters are used as follows:
p_payroll_action_id :
identifies the row to be processed.
p_rollback_mode :
either 'ROLLBACK', 'RETRY' or 'BACKPAY'.
p_leave_base_table_row :
if this is true, the procedure does not attempt to update/delete the
assignment action row. It leaves this to the client. Normally, this
means a form. However, a message IS inserted by the procedure.
if false, the procedure update/deletes the assignment action before
exiting. Must set this to true if rollback mode is set to 'TRUE'.
p_all_or_nothing :
when TRUE, procedure fails immediately if error encountered, otherwise
processes up to assignment level error limit. Latter is required by
rollback by assignment set.
p_dml_mode :
one of the following:
'FULL' : all dml and commits.
'NO_COMMIT' : all dml, no commit.
'NONE' : no dml or commits.
This allows the user to specify a partial or full validation.
p_multi_thread :
this should only be set to true if being called from the
multi-threaded version of rollback code (i.e. from pyr.lpc).
p_grp_multi_thread:-
this is used to indicate which method to maintain the group
level run balances. This should be set to true when being
called from a multi-threaded process. Some multi threaded
processes use p_multi_thread set to false, hence
p_grp_multi_thread was created to ensure that all multi threaded
processes use the correct group run balance deletion.
procedure rollback_ass_action
p_assignment_action_id in number,
p_rollback_mode in varchar2 default 'ROLLBACK',
p_leave_base_table_row in boolean default false,
p_all_or_nothing in boolean default true,
p_dml_mode in varchar2 default 'NO_COMMIT',
p_multi_thread in boolean default false,
p_grp_multi_thread in boolean default false
--
Similar Messages
-
I am getting RPD0018 Error from IDS for few portal requests
Hi,
We are getting RPD0018 error from IDS for few portal requests. I thought this error was generating when the IDS max wait time sets 30 seconds for gendata to respond back. I have changed this IDS Wait time to 180 Seconds, but still i am getting the same error. I was not able to figure out the cause. Can some one help me out?
ThanksHi,
This error is likely being thrown by GenData due to some failure in the generation, not by the max wait time. According to the documentation:
"Category: Error: Bridge Configuration
Gendata failure in //ROWSET[@NAME="RPD0018"]//VAR[@NAME="LOCATION"].
Cause: Gendata failed.
Remedy: Fix Gendata errors and try again.
You should look at the transactions that are failing and debug the forms/sections being generated.
-DA -
Running Quickpay from Backend for each employee
Hi ,
We have a requirement to submit quickpay from backend for 100 employees.If any one has done same requirement , please send me any sample code please.
Thanks
Suhasini.We have a requirement to submit quickpay from backend for 100 employees.If any one has done same requirement , please send me any sample code please.I can see users can ask for different requirements. But you can suggest them the best approach for a solution. Why you can not create an assignment set and process hundred employees. Why do you want to schedule Only Quick Pay.
-
How to retrieve name4 data from backend for display on View Ship-to Address
Hi Everyone,
I need your advise / help:
I added name4 in shiptodetails1.jsp for new ship-to address when ordering. This name4 can be entered, saved to backend and display before submit rder. but when dispaly the created order, the name4 data is not shown on View Ship-to party Address page. Seems address.getName4() is not enough, I need to modify some method to retrieve the data from backend address object. Can anyone guide me what and how to enhance forretrieving name4 data from backend, so it can display on View Ship-to Address?
Any advises / suggestions?
Thanks, JinHi Jin,
I hope you already found the solution but here some more detail.
I am working on ISA with ECC so I do not have an access to CRM system.
As you are facing problem to retrieve data from back-end while displaying it on order status page you can debug code of class DetailStrategyR3.class.
There is a method fillDocument this method call RFC BAPI_ISAORDER_GETDETAILEDLIST. This RFC actually read Order related data from backend and fill the SalesDocument object. Method fillDocument also call other methods like fillShipTo.
During debug in NWDS you can see address data and check the values of Address object. If Name3 or Name4 and nickName contains no value then you can't get it on JSP page because it is not coming from the RFC.
So I suggest you should first check DetailStrategyR3.class as it is preparing Document for display purpose. When you open any order on orderstatusdetail page this class comes in Action and prepare SalesDocumet with all necessary information including Ship to Address of that order. So If here you do not get value in Name3, Name4 or Nickname then you have to do some custom development
Check Below code while debug in NWDS.
//fill ship-to information on header and item level
fillShipTo(document,
partnerTable,
getDetailedList.getTableParameterList().getTable(
"ORDER_ADDRESS_OUT"),
connection);
ShipToData shipTo = document.getHeaderData().getShipToData();
orderHeader.setShipToData(shipTo);
Check shipTo object in "Variable" window while debugging. Here you will get address object and can see all the variable value like FirstName, LastName, Name1, NAme2, Name3...NickName etc..... If no value in Name3, Name4 then you will not get on Page.
I hope this will help you to understand why Name3-Name4-Nickname does not have a Value though you have provided while creating an order.
Thanks and Regards.
eCommerce Developer -
I am using iphone 4 and planning to visit india for few months. can i buy local sim card from india and use in my iphone? i have alrady unlock my iphone.
Of course
-
Search Help for Company Code from Backend
Hi experts,
How can I make a SH for company code from backend system? I already made a SH for account assigments from backend with USAGE_SH_F4 functioanality, but i don't know whether I can use it for Company code or not? And how?
Best Regards,
Mikhail.I need functionality where I will manually maintain backend system, and then I need bind search help for this backend system with my input field for web dynpro. For Account Assignment I use this: http://scn.sap.com/community/srm/blog/2014/01/08/standard-account-assignment-search-helps-in-custom-srm-developments
But what should I use for company code? -
iTunes 12.1.050 - Rollback: Updated from 12.01, now I cant't change track numbers and add additional data fields. How can I roll back to the previous version? @Apple, I want a $100 gift card for the inconvenience.
- it's all said in the title. I can't understand why the developers turn things bad ... risking loosing Apples valuable customers.
More examples needed? (check out the communities and the reviews)
- OSX: Maverick to Yosemite = not recommended (check it out > http://roaringapps.com/apps)
- iPad: older versions as iPad2 should not upgrade to iOS7/8 (it's not supporting its hardware accordingly, it's designed for the latest hardware)
- iTunes (it's possible to rollback to 10.7 - 11.4, but you need to breech OSX system security framework)
- Pages (was a real alternative for many of us, each update reduced features and created incompatibility to older work files)
The list could easily extend to ...You can offer Apple feedback here: http://www.apple.com/feedback/
as for "
"@Apple, I want a $100 gift card for the inconvenience"
dream on. -
Limiting POs from backend system for Confirmations
We have activated the ALE model for Confirming Goods Receipt from backend POs. I know that I can use BADI BBP_WF_LIST to filter the POs displayed in the Create/Display Confirmation transaction. However I would like to limit the POs that are sent from the backend system to EBP by document number range. This should prevent cluttering the EBP system with junk POs. Is this possible?
Thanks,
NancyHi
<b>Please go through the links below, which deal with the same issue -></b>
BADI BBP_WF_LIST implementation
Re: Is it the right BADI
Get PO details from backend
Filtering content in the SRM confirmation worklist
Re: Worklist for confirm goods using BBPCF02
Problem in badi for sourcing worklist 'BBP_WF_LIST'
Re: Confirm Goods / Services Centrally - BBPCF03
Using BADi's BBP_PGRP_FIND and BBP_WF_LIST for Sourcing
Hope this will help.
Do let me know.
Regards
- Atul -
Consolidate Payments for different assignments
Dear Friends,
Our scenario:
We have a group of Employees with an high turnover, which are processed by a dedicated Payroll.
Sometimes these people are terminated and rehired several times within the pay period.
As a result of this, it's quite common for the same Employee to receive more than one payment for the same period - one for each assignment processed.
In most of the cases, the Payment Method is the same for different assignments related to the same person (we have a routine in place copying Pay Methods from an assignment to the other).
Business Case:
We would like to reduce the number of payments and related transfer fees.
Also in some cases the bank charges the Employee her-himself for receiving the honorarium.
The idea is then to consolidate, at Employee level - the payment - or the prepayment.
Meaning, generate one single Payment for different assignment using the same Payment Methods.
Do you have any suggestion?
We are on 12.1.3
Thanks
Regards
GiuseppeHi
Please check if this helpful to u
9. Check the Multiple Assignment check box if you want an employee to receive a single payment, for multiple assignments carried out within your organization. However, if a PrePayments process, which runs prior to your effective processing date, already exists you cannot go back and change the Multiple Assignment check box. This box is only visible if the functionality is enabled for your localization.
Note: If you check the Multiple Assignment check box, make sure it remains checked throughout your payroll processing. Oracle Payroll reports in error if some of your payroll processes support multiple assignment processing and others do not. -
Profile option update at responsibility level from backend
Hi,
I referred few online and oracle support document to update the profile option from backend. I was able to change the profile option at site level, but when I am trying to update the profile at responsibility ( or any level such as user etc), I am unable to do so. Though the script says that profile option has been updated, it doesn't show up when I check on frontend.
EBS 11.5.10.2
DB 11.2.0.1
The script which I use to change profile at site level is this:-
DECLARE
stat boolean;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
stat := FND_PROFILE.SAVE('SITENAME', 'ABDVLP', 'SITE');
IF stat THEN
dbms_output.put_line( 'Stat = TRUE - profile updated' );
ELSE
dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
END IF;
commit;
END;
I tweaked the above script to include the responsibility level change, but its not changing. Both the below scripts are not making any changes.
SCRIPT - 1
DECLARE
stat boolean;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
stat := FND_PROFILE.SAVE('ICX_DISCOVERER_LAUNCHER', 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]', 'RESP',51889,671);
IF stat THEN
dbms_output.put_line( 'Stat = TRUE - profile updated' );
ELSE
dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
END IF;
commit;
END;
Note: I found the responsibility id from the below query
SELECT responsibility_id ,application_id
FROM fnd_responsibility_tl
WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
===============================================================================
SCRIPT-2
DECLARE
stat BOOLEAN;
resp_id NUMBER;
appl_id NUMBER;
resp_appl_id NUMBER;
BEGIN
DBMS_OUTPUT.DISABLE;
DBMS_OUTPUT.ENABLE (100000);
-- Set the Profile Option value at responsibility level
SELECT responsibility_id, application_id
INTO resp_id, resp_appl_id
FROM fnd_responsibility_tl
WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
stat :=
fnd_profile.SAVE
(x_name => 'ICX_DISCOVERER_LAUNCHER', -- Profile name you are setting
x_value => 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]', -- Profile value you are setting
x_level_name => 'RESP', -- Level that you're setting at: 'SITE','APPL','RESP','USER', etc.
x_level_value => resp_id, -- Default NULL Level value that you are setting at, e.g. user id for 'USER' level. X_LEVEL_VALUE is not used at site level.
x_level_value_app_id => resp_appl_id, -- Default NULL. Used for 'RESP' and 'SERVRESP' level; Resp Application_Id.
x_level_value2 => NULL -- 2nd Level value that you are setting at. This is for the 'SERVRESP' hierarchy.
IF stat
THEN
DBMS_OUTPUT.put_line ('Stat = TRUE - profile updated');
ELSE
DBMS_OUTPUT.put_line ('Stat = FALSE - profile NOT updated');
END IF;
COMMIT;
END;I tried to change at SERV level and still the profile never gets updated. Kindly help.
-
Packagekit backend for pacman/libalpm?
planet.gnome.org had some posts about packagekit recently and various backends are in the work atm, such as yum, apt and conary. since i don't have the skills to write a backend for pacman, i'd like to know if anyone has started or plans on writing a pacman backend.
manudwarf wrote:
Hello,
I'm new to ArchLinux and I find this idea great, also let me present me :
I'm a french IT student and I've some projects to validate and the end of my studies. These projects may be personnal or with any enterprise or community.
If you agree, I could contribute to that kind of application. I don't really know how does packagekit works, but if someone does, we could work together. I know well C(++) and common tools ([auto]make, cmake, etc.), particularly Qt and KDE frameworks (KPackagekit ?).
Thus I could present this work as a project supervised by someone from the Arch community.
If my keyboard may help you, leave me a PM
salut manu et bienvenue a toi.
just a few advices as you are new here. please do not resurrect dead threads [ please see http://wiki.archlinux.org/index.php/For … Bumping.27 ], create a new one instead, I'm sure you'll find some archers interested in your project.
Last edited by bangkok_manouel (2009-09-01 16:19:38) -
Hi. I am using a time capsule for few PC s. I have made 5 different account to access time capsule. but in windows when I enter account name and password for one account, i cannot access other accounts, because windows saves username. how can i prevent this from happenning. I really need to access all my accounts and dont want it to save automaticlly.
Why have 5 accounts if you need to access all of them.. just have one account?
Sorry I cannot follow why you would even use the PC to control the Time Capsule. Apple have not kept the Windows version of the utility up to date.. so they keep making it harder and harder to run windows with apple routers. -
Payroll.xls file for Mid Year Go Live
Hi All,
I want to use the program the program HINUULK0 for uploading data into
tables t558b and t558c. The SAP help documentation says that it provides a
template payroll.xls for entering the data. I've not been able to spot this
file yet.
From where I can get the PAYROLL.XLS file?
Please help.
Thanks
AtinDear Atin,
For table T558B use format :-
Client
Personnel Number
Sequential number for payroll period
Payroll type
Payroll Identifier
Pay date for payroll result
Period Parameters
Payroll Year
Payroll Period
Start date of payroll period (FOR period)
End of payroll period (for-period)
Reason for Off-Cycle Payroll
Sequence Number
For Table T558C use format :
Client
Personnel Number
Sequence Number
Country grouping
Wage type
Key date
Rate
Number
Amount
Hope this helps.
Kindly reward if useful.
Regards & Thanks,
Darshan Mulmule -
Report takes long time for few records
hi frends,
I m facing one problem with my Web based erp application which is developed in .net , in my application when i open the report from my applicaiton , in my temp folder there one file gets created name is "rpt conmgr cache"
bcoz of this for few records also my report takes too much time and opens very slow and it takes long time, and it happens in some of the reports only , other reports are working cool and its not creating any file in temp folder,,, so can u guide me whats this file and what can be the solution for it,
Thanks
Mithunhi sabhajit,
i have already checked the sql query it is taking less then seconds.
any other steps u want me to check then pls let me know?
thanks mithun -
Firefox (latest and greatest) has been giving me synaptics scroll wheel errors. It has worked fine up until 3 days ago. I have the latest driver for the touch-pad, from synaptics, for my toshiba laptop L505D-S5986. Operating system is Windows 7 (32-Bit). Have tried it on other browsers, and works as it should. The last add-on i installed for Firefox was "Fox Filter" so my kids couldn't accidentally stumble onto sites of immoral tastes. I can't see why that would have any effect, but it was the last update/add-on i installed to the browser, but even then,.......it was working fine for a week and a half afterwards until now. Please help.
== This happened ==
A few times a week
== A week and a half after i installed Fox Filter. ==
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5Hello Steve.
You may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
If you detect a faulty add-on, you should contact its author for support. You can also search for alternatives. Site filters are relatively common in the add-ons gallery: [http://addons.mozilla.org addons.mozilla.org].
Maybe you are looking for
-
has nokia or other flash storage companies released this much awaited 2 gigabyte version of the microSD card? can the 3250 possibly use this larger capacity card if it becomes available ? just a question guys The world might be a better place if you
-
Hello All, I am downloading data from an Infocube into a flatfile. It downloads the negative amounts as 100.00- as the InfoSpoke downloads it in the internal format. I read note 856619 which is exactly for my case. But I can't get the code to work.
-
Hello Frn's I need to develop a abap Query using LDB , for this a Infoset is allready created , which uses PNPCE LDB . Below i am Descrbing the scenerio , for which we need to develop the query .... Dept/Div Transfer Employees who transferred dept or
-
SQL Developer 3.1.0.7 I created a new procedure with a package. Everything compiles ok, no errors. When I try to "run" the procedure, there is no capability to enter paraameters (in my case 2 parameters are needed). I checked this functionality in 1.
-
Hi, I created a hierarchy manually for Sales Rep and authorised it for a user with object S_RS_HIER...But it gives error "Your Master record is not sufficiently maintained for Object test Authorisation" When I check in /su53 it says authorisation suc