Get payroll to generate payroll
Hi All,
I am using pnp LDB and selection screen 900 for getting payroll using GET PAYROLL event.
Problem i m facing is that GET PAYROLL event fetch payroll for all the employees.
But i have to fetch according to personnel area and personnel subarea.
Layout of report should be like this:
Personnel area:
payroll of all the employees in that personnel area.
then another parsonnel area
payroll of all the employees and so on....
But in GET PAYROLL , we can't assign the outer loop, it gives the syntax error.
If i could assign the outer loop, then i could easily do that, i fetch the personnel area and employees lying in that area and run the payroll of them.But, i couldn't do like this as we can't assign outer loop to GET PAYROLL ...
Please help, it is urgent.
Points will be awarded.
HI,
You can also use GET PERNR.
AWARD POINTS IF USEFUL
Similar Messages
-
GET Payroll in logical data should be used or not?
Hi All,
Should we be using the GET payroll to fetch the payroll results using the logical database PNP?
As the GET PAYROLL is not supported by the logical data base PNPCE.
I know 2 ways of fetching the payroll data.
1) using the function modules
2) using the GET payroll.
Please suggest the best possible way along with the reasons.
Regards,
Umesh Chaudhari.Hi All,
any suggestions?
Regards,
Umesh Chaudhari. -
Hi!
I have a question regarding GET PAYROLL. I have a program that works and gathers data using the HR logical database (PNP), GET PERNR and GET PAYROLL codes in DEV. However, when it was transported to QAS for testing, it only goes as far as GET PERNR then goes to GET PAYROLL but doesn't do the checking. I have placed debug points in all the lines so that each step can be accounted for but the program in QAS does not pass GET PAYROLL. I have checked the profiles for the usernames I used in both DEV and QAS and they both have the same items in them.
A snippet of the code I used:
GET pernr.
READ TABLE itrgdir INTO watrgdir WITH KEY pernr = pernr-pernr.
IF sy-subrc NE 0.
REJECT.
ENDIF.
GET payroll.
IF p_offpr = 'X'.
CHECK payroll-evp-ipend = p_offpd.
CHECK payroll-evp-srtza = 'A'.
CHECK payroll-evp-payty = 'A'.
ELSE.
CHECK payroll-evp-srtza = 'A'.
ENDIF.
I want to ask for the possible reasons why this would happen. Thank you.Check selection screen attribute, should be 900. Did you use GET pernr LATE? Maybe there is unsufficient test data in your Q system.
Check this little thing:
report zpayrollevent.
tables: pernr, pyorgscreen, pytimescreen.
nodes: payroll type pay99_result.
data: g_result_counter type i.
start-of-selection.
get pernr.
write: / 'Currently working on:', pernr-pernr.
get pernr late.
write: / 'Found', g_result_counter,
'results for #', pernr-pernr.
uline.
get payroll.
g_result_counter = g_result_counter + 1.
write: / 'Seq No. = ', payroll-evp-seqnr,
'In period =', payroll-inter-versc-inper,
'For period =', payroll-inter-versc-fpper,
'Pay date =', payroll-inter-versc-paydt.
If this will not show any payroll results, there are no payroll results available. -
HR REPORT about GET PAYROLL ISSUE!
HI
i using LDB pnp to report about PY data!
i get PY data using GET PAYROLL!
one case occurs as follow:
search one person(99005500) using personid number i will get result ok!
all other condition not change! just in personid(pernr-pernr) condition, i put mass person id!
in these person, some id < 9900500, in this time, the person id 99005500 some period py data
can't display out!
i have to check period list using call method pay->read_result
IMPORTING
list = mylist. in GET PERNR !
i find mylist have different!
in first scene:
mylist data contain all data about this person: begin with 20060110
but in last scene:
mylist data contain data just begin with 20080804
so i think miss py data cause by mylist change !
i in SAP demo code:EXAMPLE_PNP_GET_PAYROLL i have saw:
You can use the methods of class "pay" to read and modify
the list of payroll result that is going to be processed at
the <get payroll> event. However, these method calls might
change with the next release.
CREATE OBJECT pay.
pay->LDB = 'SAPDB_MY_OWN_LDB'. "only if you copied the LDB PNP
CALL METHOD pay->read_result IMPORTING list = mylist.
"delete mylist index 2. "For example: Remove an unwanted payroll result
CALL METHOD pay->write_result EXPORTING list = mylist.
what happend in LDB PNP! how to get mylist i want?
because using CALL METHOD pay->read_result IMPORTING list = mylist. will cause error!
help!!!!!!!!!!!!!!
thank you advance!Hi,
Refer this link https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3180. [original link is broken] [original link is broken] [original link is broken]
Regards,
Flavya -
Reading result table using LDB and event get payroll
Hi Technical experts,
I need help regarding reading cluster RT using logical database pnp and event get payroll.
Please help me out.
Best Regards.
PriyaranjanSuresh, I also have one more question.
If I use GET pernr or GET payroll inside a subroutine after start of selection, it gives error saying "Before the statement "GET" , the structure introduced by FORm shuld be ended by END FORM, which is already ended correctly.
When I move the Get events outside the subroutines, i dont get this error.
Does that mean, these events cannot be used in the subroutines? -
GET PAYROLL And GET PERNR Events .. Query
Hi All
I have used Get Payroll Event to fetch data from Database for Payroll Reporting.
It work fine for me till now..
But i am not sure that ,it can be used indiviusally without GET PERNR Event.
And wht are the other conditions to be usedd in Get Payroll Event...
Regards
LakhanPernr Is the personnel numbers
for a particular Country
Country you can use MOLGA
GET PERNR
GETPAYROLL
You can loop and get the resuults for the Employee for that particulat Country
Ok
Take Care -
Funtion module to get payroll DT result
Hi Experts,
Please specify function module to get payroll DT table result,
Not RT table result.
Or else if there any adjustment payment of previous month is there,
where that result will go and sit.
Thanls & regards
S PaulHi,
You can get the results from FM "PYXX_READ_PAYROLL_RESULT" .
DATA : gs_result type pay99_result,
gs_dft like line of gs_result-inter-dft.
call function 'PYXX_READ_PAYROLL_RESULT'
exporting
clusterid = l_c_relid
employeenumber = pernr-pernr
sequencenumber = rgdir-seqnr
read_only_international = l_c_x
changing
payroll_result = gs_result.
loop at gs_result-inter-dft into gs_dft.
endloop.
Regards,
Srini. -
When I run multiple Microsoft powerpoint files at a time on my MacBook Air, it simply gets hotter and generates little noise (most probably fan noise). Will this make any effect on life span of MBAir??
Theoretically, yes.
Heat, and heat cycling certainly do take a toll on even solid state components. I have several "very old" Macintosh computers, and the logic boards exhibit the effects.
The fan too, running at higher speeds, does eventually cause wear. More than anything, the higher airflow leads to a higher propensity for dust accumulation on the fan, and the heat exchangers.
In practical terms though, maybe not so much. If you plan on having your computer exhibit a reasonable useful life before you retire it or upgrade, you may never experience any of the detrimental effects. I rarely use a computer longer than 3 years, before I sell, give it away, or just stop using it.
Personally, I wouldn't worry about it. Your computer is well designed to give you a long life, even in the manner in which you describe. Take care of it, but use it for what you bought it for. Nothing you mention is in any way, abuse. -
Why I cannot get payroll result value ?
Expert,
In EBS Payroll R12, I define two elements A and B. A has priority 1500, B has priority 3500. So A will be processed ahead of B. I write a pl/sql package to calculate B, and attach the package to B through formula result. In the package, I will use "Pay value" of A, the logic can be abstracted as " A-Pay value * 0.05". However, the result of B is not my expected. I track my package and find the program doesn't get the Pay Value. I am sure my sql statement is right. So my conclusion is for one assignment calculation, these elements payroll result will be written back to DB together rather than one by one, right?
For my case, it I want to use the pay value of elements which have been calculated, how to do? Please give me some advice.
Thanks in advance.Dear thierry,
Thanks for your kindly help. I follow your hints to modify my fast formula of B as below:
Cal_B:
dummy=A_BALANCE_ASG_RUN /* A_Balance will contain element A*/ /* a new line added here */
v_rtvl=CAL_B_external_F /* It is formula function, which will contain external PLSQL call. The plsql will use the Pay value of A */
return v_rtvl
Per my understanding, after calling statement "dummy=A_BALANCE_ASG_RUN", the relevant pay result of A should be flushed to DB.
unfortunately, when I process my payroll, the result still remains unchange. It seems that CAL_B_external_F cannot get the "Pay value" of A
If I modify fast formula as below:
Cal_B:
v_rtvl=A_BALANCE_ASG_RUN
return v_rtvl
I can get v_rtvl whose value is equal to A_BALANCE_ASG_RUN. It seems the value of A_BALANCE_ASG_RUN can be captured in the fast formula.
So, How do I understand your hints as below:
"A element_A_asg_run in your second fast formula, before calling the plsql, can do the trick, eventually."
I am eager to your help.
Regards,
Michael
Edited by: Gang2 on Mar 22, 2009 10:45 PM -
HR ABAP - to get payroll data after payroll run
Hi,
there is a Weekly payroll area, Now after the payroll run every week - I need to get all the wage types starting with '7' for the pernr s.
For this i first find out the date (current date - 7 days) and then pass it to FM : HRAR_GET_PAYROLL_PERIOD to get the payroll period - Is this step correct ?
then i read the RGDIR and then the payroll results using FMs. Is this the correct way to do.
Also if i need all the wagetypes starting with '7' is it fine if i read only the RT table.. is there any need to read any other ?
Any help with the correct flow logic ..This FM returns correct results, but to be 100% sure do a small test:
- go to se37 -> run this FM to test it
- as you have weekly payroll, there should be around 4 such periods within one month, so you should be getting 4 different BEGDA and ENDDA for different date
- enter dates like 01.07.2009 - BEGDA ENDDA should be 01.07.2009 - 08.07.2009
then 09.07.2009 - BEGA ENDDA should be 09-07.2009 - 16.07.2009
etc
- for all above results there should be same PABRJ PABRP, but these are of no interests
- if you get something like above, this means that FM works fine
Now when you get RGDIR, filter it to get only data where FPBEG = BEGDA and FPEND = ENDDA. This way you will work only with the period you want.
Also if i need all the wagetypes starting with '7' is it fine if i read only the RT table.. is there any need to read any other ?
I usually work with this one, also CRT (Cumulative RT) can store WT. My functional guy, however, says that sometimes they might appear in some other tables like BT, but this I am not sure about.
Regards
Marcin -
About the get payroll..
wt is the get pernr, getpayroll, get late payroll..... copytodata payroll......
Hello,
These are used in reports with LDB . Get pernr , payroll etc are the nodes which executes the program in LDB and fills the internal tables which are declared in LDB and the nodes that are under the GET node.
Regards,
Kiran I -
I am getting Payroll error in "Customizing Error in Work Schedule Rule"
Hi,
Iam using SAP HR ECC6.0. While running payroll i am facing an error saying "Customizing Error in Work Schedule Rule". I checked all my work schedule related configuration everything is correct. I have checked the Manual Work Schedule Creation. My Work Schedule is getting displayed for current year. Can anyone help me out in this.
LakshmiHi Naveen,
How are you? I created the work schedule again and checked both Infotypes 0007 and 0001. My grouping is there. But now i am getting error saying "Payroll not possible because data is missing. No entry in Table WPBP". But i checked in SM30 there is no such table in the directory. I really don't know what kind of error is this?
Lakshmi -
Function Module for getting Payroll start date and end date
Hi Gurus,
If I give one date then is there any function module to find the payroll period start date and enddate for that given date?
Points will be awarded
Thanks
RaviHi,
Try these FMs
HR_PAYROLL_PERIODS_GET
HR_BEN_PAY_GET_PAYROLL_PERIODS
HR_PAYROLL_PERIOD_GET
HR_P06I_GET_PAYROLL_PERIOD
Regards,
PRashant -
Getting error while generating report from Siebel (Siebel/BI Publisher)
Dear,
I have completed the integration of siebel and BIP according to the oracle document, I successfully upload the sample template from siebel application to BIP server.
But now I am facing two issues,
I am getting error "Unauthorized access, Please contact the administrator." when I open report on BIP which I have uploaded from siebel.
When I try to generate report from siebel=>application=>Tables=>S_Contact I am getting the below error when click on table report from Report button.
(httptransport.cpp (1635)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
(httptransport.cpp (983)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
(soapbinding.cpp (675)) SBL-EAI-04304: Unknown Part ':oracle.xdo.webservice.exception.InvalidParametersException' for operation 'runReport' exists in SOAP message.
(outdisp.cpp (247)) SBL-EAI-04308: Operation 'runReport' of Web Service 'http://xmlns.oracle.com/oxp/service/PublicReportService.PublicReportServiceService' at port 'PublicReportService' failed with the following explanation: "oracle.xdo.webservice.
Invalid User Name and Password for BIP Server
(xmlpadaptersvc.cpp (2287)) SBL-RPT-50529: Verify BI Publisher Server Userid and Password.
Error in generating Report Output file /siebel8/sea81/siebsrvr/siebel8/sea81/siebsrvr/xmlp/reports/Rept11-3U7M403.PDF in the XMLP Engine
(xmlpadaptersvc.cpp (2983)) SBL-RPT-50524: BI Publisher engine failed to generate report.
Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
( (0) err=2818155 sys=9815388) SBL-OMS-00107: Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
(bsvcmgr.cpp (1392) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
(bsvcmgr.cpp (1236) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
(smireq.cpp (425) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
Please help to resolve this issue.
Regards,
SoahilThis specifically means that the destinations have not been configured in the Crystal Job Server. If you're running 4.x, this may be part of the "Adaptive Job Server" instead of or in addition to a Crystal Job Server. If you're using 3.1 or earlier, you'll also have to set up the destination in the Destination Job Server.
You'll have to log in to the CMC, go to Servers, right-click on the correct job server and go to "Destinations". You'll then add something like "File" or "Unmanaged Disk" to the available destinations and save. Stop the job server, start it again, and your error should go away.
Please be aware that unless you're using specific credentials to schedule the report or you're saving to the server where BO is installed, you'll need to make sure that the BO services are running under a network "Services" account that has access to the folder you're scheduling the report to. By default during installation it's set to run under the "Local Services" account that doesn't have access to the network.
-Dell -
Weblogic 8.1 :: Getting error while generating Client java class from WSDL
Hi,
For SOAP webservice, I am using ant script to generate java client from WSDL but getting below error. Please inform if any suggestion to resolve this.
Also let me know if any other alternative to generate client java code.
Ant script:
===========
<project name="project" default="generateClientJar">
<property file="build.property">
</property>
<taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask">
<classpath>
<fileset dir="${build_lib.dir}" includes="*.jar" />
</classpath>
</taskdef>
<path id="compile_path">
<pathelement location="C:/jar/wls-api.jar" />
<pathelement location="${build_lib.dir}/weblogic.jar" />
<pathelement location="C:/jar/webserviceclient+ssl.jar" />
<pathelement location="D:/Java_Src_10.1.0/nextgen_arch/wlpatch/webservices.jar" />
</path>
<target name="generateClientJar" depends="generate.client">
<clientgen wsdl="${wsdl.file}" classpathref="compile_path"
serviceName="${service.name}"
packageName= "${client.pkg}"
clientJar="${ws.client.name}" />
</target>
<target name="generate.client" description="Generate web-services client">
<property name="wsdl.file" value="${sms.wsdl.file}"/>
<property name="client.pkg" value="${sms.client.pkg}"/>
<property name="ws.client.name" value="${ws.sms.name}"/>
<property name="service.name" value="${sms.service.name}"/>
</target>
</project>
build.property file
===========
base=C:/SMS
lib=E:/jar_path
sms.wsdl.file=${base}/SMS.wsdl
sms.client.pkg=com.db.dbdi.gtbportal.sms.client
ws.sms.name=${lib}/ws_SmsService_client.jar
sms.service.name=SMSService
build_lib.dir = E:/jar_path
Error log:
================
Buildfile: D:\Java_Src_10.1.0\ant\build_weblogic8.xml
generate.client:
generateClientJar:
[clientgen] Generating client jar for C:/SMS/SMS.wsdl ...
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:15: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
[clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
[clientgen] ^
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:21: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
[clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
[clientgen] ^
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:20: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
[clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
[clientgen] ^
[clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:39: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
[clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
[clientgen] ^
[clientgen] Note: C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSService.java uses or overrides a deprecated API.
[clientgen] Note: Recompile with -deprecation for details.
[clientgen] 4 errors
*[*clientgen] java.io.IOException: Compiler failed executable.exec**
[clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
[clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:409)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:340)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
[clientgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:364)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:341)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[clientgen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[clientgen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
D:\Java_Src_10.1.0\ant\build_weblogic8.xml:34: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
[java.io.IOException: Compiler failed executable.exec]
Total time: 1 minute 12 secondsHi,
Can u Please post the WSDL..here. I remember long back i resolved this kind of issue...when i was getting "*parameters is already defined in - - -*" while using ClientGen.
Once i will get the WSDL may be i can recall it...
If u have any problem in Posting the WSDL..in Forums .. then let me know I will send my E-Mail Address...
As far as i remember ..it usually happens when we Run ClientGen task of WLS81 ON the WebService/WSDL generated by WebLogic 9.x or Above. Please let me know if this is the Case with you as well... . I remember there is a Patch for it...for WLS8 ClientGen task...I dont remember the Patch Number Exactly.
Just For testing:
Just Use WLS9.x ClientGen task On the Same WSDL
<taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
I am sure you will not see this issue... because the issue is there only with WLS8 Clientgen...
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Edited by: Jay SenSharma on Jan 8, 2010 4:32 PM
Edited by: Jay SenSharma on Jan 8, 2010 4:34 PM
Maybe you are looking for
-
How to verify input field value at run time
Hi all, I have a input text field (username) on my jsf page and while entring username i have to verify that input provided by me is correct or not. For example- I started entering Test in username and error message occurs at the same time after vali
-
How to make the following settings in KM-Repositories?
Hello, in our Enterprise Portal, we use one KM-repository for several usergroups, that contains documents. One usergroup is the administrator group, which edits the files etc. and all other groups should only be able to read the documents. For both g
-
every time that i sync my iphone with a cord to my imac some large portion of my music is placed in the cloud so that i must down load it from the cloud. this includes music that i have purchased on itunes and other music. it seems random. why does t
-
My SD card isn't being detected by my MacBook Pro
My SD card isn't being detected by my mid 2012 MacBook Pro. It's detected fine by my camera and my iPad (using the Camera Connection Kit), but not my computer. I've tried it in both OS X Mavericks and Windows 8.1 using my Boot Camp partition, but it'
-
wiil my PC extermnal dvd player and external hard drive be compatible with iMac ore do I have to by all new stuff? Can data be recovered from Hard drive and transfered to new iMac simply? Thank you for your time and consioderation, depending on this