ABAP HR - Pension infotype
Hi Experts,
How can I get pension data for a given pernr. Where is this data stored. Is it in cluster B2 or in any infotype. I should create a report to get pension remuneration for given pernr.
Thank you.
Best Regards,
Admir.
Points will be rewarded.
These are all the infotypes with pension word in them.
|IType|Infotype text |
|0046 |Company Pension Fund CH |
|0053 |Company Pension |
|0071 |Pension Funds GB |
|0073 |Private Pension DK |
|0075 |ATP Pension DK |
|0110 |Pensions NL |
|0120 |Company pension fund transaction CH|
|0126 |Supplem. Pension D |
|0201 |Basic Pension Payments CPS |
|0203 |Pension/Valuation Status BAV |
|0274 |Pension Insurances - SE |
|0278 |Basic Data Pension Fund |
|0279 |Individual Values Pension Fund |
|0322 |Pension Payments |
|0326 |Imputation of Pension |
|0361 |Pensions Ireland |
|0406 |Pension Information |
|0503 |Pensioner Definition |
|0504 |Pension Advantage |
|0510 |Tax-Sheltered Pension (US) |
|0548 |Supplementary pension funds (IT) |
|0566 |US Pension Plan QDRO Information |
|0569 |Additional Pension Payments |
|0665 |External Pension Rights |
|0699 |Pension Provision Act |
|0751 |Company Pension Plan AT |
|0780 |HR Pension Administration (PADM) |
|0781 |HR Pension Administration (PADM) |
|0782 |HR Pension Administration (PADM) |
|0784 |HR Pension Administration (PADM) |
|0785 |HR Pension Administration (PADM) |
|0786 |HR Pension Administration (PADM) |
|0787 |HR Pension Administration (PADM) |
|0788 |HR Pension Administration (PADM) |
|0789 |HR Pension Administration (PADM) |
|0790 |HR Pension Administration (PADM) |
Similar Messages
-
ABAP program using infotypes and FM
Hi all,
I have to work on abap -HR module, which is using infotypes, BDC, FM, internal tables.. As I am new in this and no more idea. So can you please share some document and some simple program, so that I can understand the HR modules with respective to ABAP and can work.
Your help will be appreciated.
Thankshi ram,
check these links...
http://www.sap-basis-abap.com/saphr.htm
http://www.sap-basis-abap.com/books.htm
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html
http://www.sapdevelopment.co.uk/hr/hrhome.htm
http://planetsap.com/index.htm
http://www.atomhr.com/library_full.htm
http://www.sap-basis-abap.com/saphr.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/60/d8d8c7576311d189270000e8322f96/frameset.htm
http://www.sapfriends.com/sapstuff.html
http://www.sap-basis-abap.com/saphr.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?track=NL-142&ad=500911#Transactions
http://help.sap.com/saphelp_47x200/helpdata/en/4f/d5275f575e11d189270000e8322f96/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/4f/d5275f575e11d189270000e8322f96/content.htm
http://www.saptips.com/Previews/SAPtipsAugust-September2004TableOfContents.pdf
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?track=NL-142&ad=500911#Transactions
http://help.sap.com/saphelp_46c/helpdata/en/4f/d528be575e11d189270000e8322f96/frameset.htm.
http://www.sap-basis-abap.com/saphr.htm.
http://www.sapgenie.com/faq/hr.htm
http://www.sapgenie.com/workflow/scenarios.htm
http://www.sap-img.com/human/hr-faq.htm
http://www.sapdevelopment.co.uk/hr/hrhome.htm
http://www.sapgenie.com/mysap/mysap_hr.htm
Re: remunaration statement -
HR ABAP Query - Simulated infotypes 2501 and 2502
Dear all,
I am developing a report based on Simulated infotypes 2502 (Quota Statuses) and 2501 (Employee Time and Labor).
Since my report provides an overview of all the reporting quota types and reporting time type to the end-user, I need to extract data from both the infotypes ( 2501 & 2502 ) simultaneously.
I created a report with (Logical Data Base) LDB PNP and the HR report category is also set as required. In other words the attributes is set as same as in standard report (RPTBAL00).
In the declaration part of the program I mentioned the source code as.
INFOTYPES:
*-----Infotypen
INFOTYPES:
0001, "Org. Zuordnung
2001, "Absence type.
2002, "Attendance
2500, "Personal Work Schedule (Simulated Infotype 2500)
2501, "Employee Time and Labor (Simulated Infotype 2501)
2502. "Quota Statuses (Simulated Infotype 2502)
In the START-OF-SELECTION.
GET PERNR *
GET pernr. (break point set at statement)
Here my problem is when I execute the report for multiple employees data from simulated Infotype 2501 is deriving wrongly. The data for the first employee will always correct. From the second employee onwards date fields BEGDA and ENDDA will be 00000000. After a detailed debugging (setting break point at GET PERNR statement) I found that the problem is occurring only with Infotype 2501 values and not with Infotype data 2502.
I also note that this will happen only when I use both 2501 and 2502 at same time in the declaration part
INFOTYPES:
2501, "Employee Time and Labor (Simulated Infotype 2501),
2502. "Quota Statuses (Simulated Infotype 2502)
Question is How to correct this date field values obtained through GET PERNR for Infotype 2501 when using both infotypes 2501 and 2502 simultaneously.
Per requests for testing this is:
I. Your system should be configured for reporting time types.
II. Time evaluation should be run for at least one time to transfer data to simulated infotypes.
III. Persons with less understanding of SAP HCM may have to take help of a functional consultant.
Please help me in with your valuable suggestions:Thanks a lot for all your suggestions,
I have tested with this still the same problem persists.
From the second employee onwards the value of P2501-begda and P2501-endda is 00000000.
Step 1: create a new program zhr_test.
Step 2: Assign PNP as the logical data base in the report attributes.
Step 3: Use XXXX2001 as report category.
Code for TEST 1: normal test case
REPORT zhr_test.
TABLES :pernr.
INFOTYPES:
2501, "Employee Time and Labor (Simulated Infotype 2501),
2502. "Quota Statuses (Simulated Infotype 2502)
START-OF-SELECTION.
GET pernr.
BREAK-POINT.
Code for TEST 2: suggeated by Venkat.O
REPORT zhr_test.
TABLES :pernr.
INFOTYPES:
2501 MODE n, "Employee Time and Labor (Simulated Infotype 2501),
2502 MODE n. "Quota Statuses (Simulated Infotype 2502)
START-OF-SELECTION.
GET pernr.
rp_read_all_time_ity pn-begda pn-endda.
BREAK-POINT.
In Both the cases, infotype 2501 records begda and endda values will be 00000000 from second employee.
You can test only if you have simulated infotypes configured in your system, atleast one time the time evaluation would have been run.
Thanks
Cibin -
ABAP: Modify PA infotype without authorization check
Hello everyone,
Short version:
I know two FM that can modify PA infotype data: HR_MAINTAIN_MASTERDATA and HR_INFOTYPE_OPERATION. However, neither of those includes a parameter that allows using them without them automatically checking authorizations (like you can do with, say, FM RH_INSERT_INFTY which has parameter AUTHY to disable authorization checks but only works with OM infotypes, but not PA infotypes).
Does anybody know a solution?
Long version:
We want the travel department to be able to maintain infotype 17, and only infotype 17. In fact, there are only two fields there that need to be maintained in our company. That department should not have access to any other infotypes, and we are not going to give them PA30. On the other hand, they shall be able to do so for any employee, no matter from which personnel area, subarea, and organizational unit.
So I have created a small program with a mask specifically tailored to their needs. But we do not want to give them any PA authorizations. Giving them P_ORGIN to infotype 17 might not be a big deal, but then we would also need to give them structural authorization to all companies (= org units and personnel areas). Unlimited structural authorization is a big deal, and I would rather avoid granting that to someone who is not supposed to be doing anything but this tiny bit in HR. The only authorization that I would like to see in place is transaction authorization for my program. Anyone who has that should be allowed to maintain these IT 17 fields for any employee, but nothing else.
The problem is that upon writing the data, FM HR_INFOTYPE_OPERATION auto-checks the authorization required for maintaining the infotype, including structural authorization, and so does FM HR_MAINTAIN_MASTERDATA, as far as I understand. Is there an alternative I could go for?ECM stands for Employee Compensation management and is one of the SAP HR module.
But I doubt you can use ECM specific function module to modify/insert infotype 17 values as below are the main infotypes for ECM module.
Employee Infotype
Description
0758
Compensation Program
0759
Compensation Process
0760
Compensation Eligibility Override
0761
LTI Granting
0762
LTI Exercising
0763
LTI Participant Data -
Hi All,
I am creating a OM infotype. where in ppci i am getting some error like when i am clicking on create button it shaowing that
the table was not created. but i created a table in se11 and also i activated it.here se11 its showing the is active but in ppci/ppcj it showing ''infotype can not be created''. plzzz thanks in advance.
shafiHRP1000 : Stores all the OM object types for eg, O - Org Unit, S- Position, C- Jobs, K- Cost Centers etc
HRP1001 : Relationship between the object For eg, S (Position) Belongs to O (Org. Unit) etc
HRP1002 : Description for all the objects
HRP1003 : Department or Staff of the respective object, particularly O, S and P
Additional Data in SAP's HRP1001 tells you how to retrieve the u2018additional datau2019 for org management relationships (ADATANR in HRP1000, ADATA in P1001, tables T77AD and T77AR).
Reward if helpful -
ABAP-HR Creating infotype Problem
Dear All ,
I have created one infotype 9090 . It is working fine . Now I want to add three buttons only in display mode apart from next , previous and overview . I want to standard functionality as it is . How should I go about . Please it is very urgent .Hi,
An an altrnative create a new Custom Menu and pass the existing three as it is from standard menu and add your new requirements there and call this in your program.
Regards,
Amit -
Hi,
I created a custom infotype. After creation, I added my custom code to the system generated infotype code.
Due to some reason, I need to regenerate all the infotype objects again from TCode PM01. May I know, how can I prevent my custom written code from being overwritten by system generated code?Hi Amit,
What you can do is you can write include for your code.
So whenever you will be regenerating the infotype, your code without include will over right include your other screens will remain as it it.
It can be working solution, which I use. so atleast efforts of writing again will be avoided atleast.
Thanks & Regards,
GauravPa -
hi friends,
could u plz send me some objects for abap-hr, ie, infotypes, reports,dynamic action, interfaces, etc....
my mail id : [email protected]
thanks in advance.
regards,
priyaHi this will be of some help 4 u:
Few notes are below:
InfoSets in the HR Application
You can use SAP Query in HR to report on HR data. Queries are maintained as described in Creating Queries. The special features of queries created for HR are described in Maintaining Queries in the Human Resources Application. The maintenance procedure for HR InfoSets differs from the described procedure inasmuch as HR data fields are grouped together in infotypes.
InfoSet management in SAP Query is also used for InfoSet Query. For further information, see Functions for Managing InfoSets.
If you want to create InfoSets for HR, you can use logical databases PNP, PNPCE, PAP, and PCH (see HR Logical Databases). The database you must use to create your InfoSet depends on the component in which the data you want to report on is stored.
The reports you can execute using InfoSets based on logical databases PNP (or PNPCE) or PCH are similar, but differ in that they can select different objects. The following table describes the connection between the logical database, and the infotypes you can include in an InfoSet. It also provides you with one or two examples of reports that you can execute using the appropriate InfoSets.
Logical database PNP/PNPCE* PCH PAP
Selection of Persons Objects from Personnel Planning Applicants
Infotypes that can be included in the InfoSet Infotypes for· Personnel Administration (0000-0999) · Time Management (2000-2999) · Payroll infotypes · Infotypes for Personnel Planning objects that can be related to persons If the object type is specified:· Infotypes for the object type · Infotypes for objects that can be related to the specified object typeIf the object type is not specified:· All infotypes · Infotypes for Recruitment (4000-4999)· Some infotypes for Personnel Administration (such as 0001 and 0002)
· Customer infotypes
Reporting examples · Selection of all persons who participated in a specific business event, output of prices for reserved business events · Selection of all persons assigned to a specific personnel area, output of qualifications held by these persons · Selection of all business events held in London in March, output of all persons who participated in these business events · Selection of all positions assigned to a specific organizational unit, output of all persons assigned to the positions · Selection of all applicants hired last year to work on special projects, output of addresses for the applicants selected
Logical database PNPCE (PNP Concurrent Employment) functions just like logical database PNP. The procedure for creating InfoSets is also the same. It only becomes significant if you work with Concurrent Employment.
Creating InfoSets
The maintenance procedure for HR InfoSets differs from the procedure described so far in this section inasmuch as HR data fields are grouped together in infotypes. To set up an InfoSet for the HR application, proceed as follows:
1. On the initial screen for maintaining InfoSets, enter a name for the InfoSet and choose Create.
2. On the next screen, enter a name for the InfoSet and select one of the HR logical databases in accordance with your reporting requirements.
Customer infotypes can be created on all HR logical databases. In each individual case, therefore, you must decide which database to select so that you can report on customer infotypes.
This screen enables you to enter an authorization group. All of the queries that are subsequently created using this InfoSet can only be executed by persons who have this authorization group.
3. Choose .
This takes you to the Infotype Selection for InfoSet create'
4. Choose as business object 'PREL' and as document type 'HRICOLFOTO'
5. Push the create button
6. Fill in the appropriate personnel number
Steps for uploading Logo to an Z progrAM :-:
1. Goto the transaction OAER
2. Enter the class name as 'PICTURES'
3. Enter the class type as 'OT'
4. Enter the object key as the name of the logo you wish to give
5. Execute
6. Then in the new screen select Standard doc. types in bottom window
Click on the Screen icon
Now, it will ask for the file path where you have to upload the logo
7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
Here you go !!
*& Form TOP_OF_PAGE
text
FORM F_TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
i_logo = Logo name
I_END_OF_LIST_GRID = .
ENDFORM. "TOP_OF_PAGE
Also forms:
HR FORMS
http://help.sap.com/saphelp_erp2004/helpdata/en/3d/a458c7a4ab2a4382c5b6bfe988edcd/frameset.htm
Go through these pdf docs....
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_FORMS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYXXFORM/PYINT_FORMBUILDER.pdf
with regards,
Hema Sundara.
pls reward points if u find it helpful. -
E-Recruitment Infotype creation
Good Day friends,
Can u please exaplin me clearly how do u create e-rec infotype . how will u link to portal ( ESS ) through Webdynpro ABAP
to maintain infotype in ESS.
i have created HRI structre .
i have crete infotype in PPCI ,
then afterwards i don't know what needs to do, please help to resolve this issue.
i appreciate your prompt responce.Hi,
You can just to that with the infotype table log. Support team is stored in table HRP5131.
Regards,
Nicole -
Hi Masters,
Can you please let me know the perfect reason for infotypes concept in HR-ABAP.
1 Why we are using infotypes and exactly what is purpose?
2.Why we are using LDB's why cannot we extract data directly from database tables?
3.Can you please give me clear explanations about these infotypes.Hi
Infotype(s) are used in the Personnel Management (PA) module primarily. This is where personnel master data is stored. Data is grouped according to subject matter. The Human Resources component aims to enable the user to process employee data in an effective structure in accordance with business requirements. The data structure of infotypes mirrors a logical set of data records. Infotypes can be identified by their four-digit keys, for example, the Addresses infotype (0006). To facilitate reporting on past employee data, infotypes can be saved for specific periods.
Some people use the term HR ABAP to describe the method of managing the infotype data. Typically HR logical databases are used which offers more secure methods of accessing the infotype data. Once the infotypes are declared, you can use standard macros to access the data. Table TRMAC holds the macro name and the code behind it. This makes developing HR programs much quicker and easy to turn around.
HR uses INFOTYPES instead of tables.
There are different sub modules exist in HR.
For Personal Admn the Infotypes start with PA0000 to PA1999
Time Related Infotypes start with PA2000 to PA2999.
Orgn related Infotypes start with HRP1000 to HRP1999.
All custom developed infotypes stsrat with PA9000 onwards.
In payroll processing we use Clusters like PCL1,2,3 and 4.
Instead of Select query we use PROVIDE and ENDPROVIDE..
You have to assign a Logical Database in the attributes PNP.
Go through the SAp doc for HR programming and start doing.
http://www.sapdevelopment.co.uk/hr/hrhome.htm
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/bb/bdb041575911d189240000e8323d3a/frameset.htm
see this link you would get information about types of infotypes
Logical databases are special ABAP programs that retrieve data and make it available toapplication programs. The most common use of logical databases is still to read data fromdatabase tables by linkin them to executable ABAP programs.
Logical databases contain Open SQL statements that read data from the database.You do not therefore need to use SQL in your own programs. The logical database reads theprogram, stores them in the program if necessary, and then passes them line by line to theapplication program or the function module LDB_PROCESS using an interface work area .
For further info
check link http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
1. A logical database is in fact
a program only.
2. This LDB provides two main things :
a) a pre-defined selection screen
which handles all user inputs and validations
b) pre defined set of data
based upon the user selection.
3. So we dont have to worry about from
which tables to fetch data.
4. Moreover, this LDB Program,
handles all user-authorisations
and is efficient in all respects.
5. tcode is SLDB.
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
<b>REward fi suefull</b> -
HR abap : how to declare internal table to fetch data from 0585 infotype
Hi all ,
I am able to fetch the data from pa0585 infotype for set of employee no , but the problem is as the fields in pa0585 (like Contr to ULIP , NSC , Medical Treatment,Contribution to Certain Pension Funds so on ..) will be changed dynamically and will be displayed based on the amount value in descending order iam not able to store the values of the fileds into internal table . I dont understand how to declare the internal table ..Please help in if u have solved this kind of problem.
I shld get the output in this way ...
Emp No Name Medical treatment Contr to ULIP ....... so on
101 abc 10000 150000 .......so on
102 xyz 12000 150000 .......so on
My header shld be fixed and I shld display values in this way .... I can use write statement to display directly .
Thanks ....Hi
Decalre INFOTYPE
Goto SE37 - Find FM -
READINFOTYPE* -
How to create the sub type field in hr abap infotype
hi ,
how to create the sub type field in hr abap infotype.
regards,
venkat.Try like this also
creating of infotype please follow these steps ...
Step 1: Create Infotypes
i. Goto Transaction PM01 To create Infotypes:
ii. Enter the Infotype Number and say create all.
iii. The following message would display:
i. PSnnnn Does not exist. How do you want to proceed?
iv. Click
v. A maintain Structure screen appears.
Fill in the short text description and the PS structure of the Infotype.
Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
vi. Once the PS Structure is created, save and activate the structure.
vii. In the initial screen of PM01, now click on .
Create a new entry for the infotype.
Fill in the values as mentioned below and save.
Infotype Characteristics:
Infotype Name of the infotype_ Short Text: __Short Description________
*General Attributes :
Time constraint = 1
Check Subtype Obligatory
Display and Selection:
Select w/ start = 3 Valid record for entered data
Select w/ end = 5 Records with valid dates within the period entered
Select w/o date = 6 Read all records
Screen header = 02 Header ID
Create w/o end = 1 Default value is 31.12.9999
Technical Data:
Single screen = 2000
List screen = 3000; List Entry Checked.
viii. In the initial screen of PM01, now click on .
Choose the infotype entry in the list.
Fill in the values as mentioned below and save.
Technical Attributes:
In tab section,
The following attribute values are given:
Applicant DB Tab = PAnnnn Infotype Name
Subtype field = SUBTY
Subtype table = T591A
Subty.text tab. = T591S
Time cnstr.tab. = T591A
Prim. /Sec. = I Infotype
Period/key date = I Interval
and .
ix. Infotype Screen Modification:
Edit Screen 2000 from PM01 for the Infotype.
ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
Click . Flow Logic will be displayed. There string coding of your own logic.
Regards
Pavan -
Hr abap custom infotype updatation
hiii frnds,
i creatred custom inotype 9910 and i enterded some data for this infotype in pa30 when i click on the save it is noty saving in the pa9910 table...... can any one send sample code to save the data into tableDid you read [Developing an Infotype in Personnel Administration|http://help.sap.com/printdocu/core/print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf] (or more recent documentation) and a guide like [Steps to Customize infotypes|http://wiki.sdn.sap.com/wiki/display/ABAP/StepstoCustomize+infotypes]
Regards,
Raymond -
HR ABAP: table/infotype relationships
Hi.
I'm experienced in doing ABAP programming for all the rest of the modules, but with ABAP HR, I am new and doing one for the first time. I need your help regarding how to find tables/infotypes and relationships to each other.
Specific work example/scenario:
From selection criteria of requisition information, I am supposed to have an output report with application and candidacy information.
1.) How can I relate Infotype 5125 with info type 5132 and 5102?
I am more comfortable with select statements hence I prefer explanation using the transparent tables HRP5125, HRP5132, etc.
2.) How can I make use of the table HRP1001 to establish relationships between different tables/infotypes of HR?
Also, kindly send any links and documents that can give an at-a-glance summary of what I can use when doing ABAP for HR for the first time.
Thanks for your help and expertise and may God bless us all!
CelesteMore exactly look at tables
- [HRP1000 |https://www.sdn.sap.com/irj/sdn/advancedsearch?query=hrp1000+&cat=sdn_all]: org. units, positions, etc.
- [HRP1001|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrp1001&adv=false&sortby=cm_rnd_rankvalue] : links between org. units, positions, etc.
Look at this thread Tables for ORG model and FM [RH_STRUC_GET|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rh_struc_get&cat=sdn_all]
Regards -
HR ABAP : Custom Infotype updations
Hi All,
I am new to HR ABAP. Actually, I want to update the custom infotype 3 fields as per my user inputs. I am fetching the data from the PA table acoording to sy-datum falling in the begda, enda limitations. now I am changing the field with new values in the work area. And pass with the following data to the FM.
But I am getting the error 'No data stored for 9008 in the selected period'. I had seen prvious therads, but could not get how they solved the issue.
Please provide the inpus for the following code. I had also passed the validity start and end.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9008'
number = pernr
SUBTYPE =
OBJECTID =
LOCKINDICATOR =
VALIDITYEND =
VALIDITYBEGIN =
RECORDNUMBER =
record = wa_pa9008
operation = 'MOD'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT =
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = l_bapireturn
key = bapipakey_tab
Regards,
Brijesh PatelHi Remi,
I have done the same thing. Please see the code. data is also available in the database. But the output is the error message. Please give some inputs on this.
***Updation of the PA9003 Infoty pe with the LTA amount and Medical Amount
SELECT SINGLE endda
begda
FROM pa0001
INTO (endda, begda)
WHERE pernr EQ pernr
AND endda GE sy-datum
AND begda LE sy-datum.
SELECT SINGLE *
FROM pa9003
INTO lwa_pa9003
WHERE pernr EQ pernr
AND endda >= sy-datum
AND begda <= sy-datum.
wa_pa9003 = lwa_pa9003.
wa_pa9003-zzallw = zzallw.
wa_pa9003-zzlta = zzlta.
wa_pa9003-zzmed = zzmed.
ADD 1 TO wa_pa9003-seqnr.
***Locking the object
CALL FUNCTION 'ENQUEUE_EPPRELE'
EXPORTING
pernr = pernr
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9003'
number = pernr
subtype = wa_pa9003-subty
objectid = wa_pa9003-objps
lockindicator = wa_pa9003-sprps
validityend = wa_pa9003-endda
validitybegin = wa_pa9003-begda
recordnumber = wa_pa9003-seqnr
record = wa_pa9003
operation = 'MOD'
TCLAS = 'A'
DIALOG_MODE = '0'
nocommit = space
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = l_bapireturn
key = bapipakey_tab
***Unlocking the object
CALL FUNCTION 'DEQUEUE_EPPRELE'
EXPORTING
pernr = pernr.
Regards,
Brijesh Patel
Maybe you are looking for
-
How to connect firewire drive to MB Air?
Please advise on best approach to connect my external firewire drives to my new MacBook Air.
-
Transfer disks from 2008 MBP to 2011 MBP?
My early 2008 MBP died (Apple Genius said logic board), so I took the opportunity to purchase a refurbished early 2011 MBP from the Apple Store. On the original MBP, I had replaced the HDD with an SSD and replaced the optical drive with a 7200 HDD.
-
OK Here goes.. I upgraded my macbook a few months ago from a 250gb to 500gb drive.. I used Carbon Copy and everything worked fine.. Yesterday i got a new wireless keyboard and magic mouse and installed new drivers.. Later that night the system locked
-
Need Help with Directory Services?
Hello I am a student taking Email Server Admin and we are working with setting up a server for a fake company so as you see I have everything installed the problem I am facing is I can't go to the /certsrv website and we I do I get the message below
-
Yosemite disaster: time machine deletes my data
Hi there, my transition to Yosemite is nothing else but disastrous: The Upgrade left my iMac with unwanted logouts during work, no ability to restart or login, endless spinning beachballs, massive problems sending E-Mails and so on and so forth. So I