LSMW Infotype 0 and 1
Dear all,
I am new in SAP HR. I apologize if the question is oversimplified.
I am trying to upload master data for infotype 0 and 1 using LSMW. I have successful foreground and background uploads, however the uploaded information could not be shown in PA30 when I crosschecked my uploads.
At first I thought there was problem with my recording. But I could not find any errors on that. Could anyone kindly help me with this matter?
Many thanks in advance.
Foong Ming
I used external number range for the ease of upload.
I tried both foreground and background upload with 3 employees. Both uploaded successfully, but I cant find the number range in PA30.
Then I checked saving records, and redo for 3 times new recording with upload trials. All successfully uploaded, but no record found in PA30. Upload log recorded successful upload.
I wonder if there is other method to check the log report besides SM35, and why the uploads are successful yet no records in the system.
Thanks
Foong Ming
Edited by: Foongming on Mar 16, 2010 2:33 AM
Similar Messages
-
Create Custom Infotype and handle Modification/Updation
Hi All,
I need to create a custom infotype and handle few checks while creating/updating the existing one.
I have gone through the existing threads and have figured out the creation part.
Could anyone tell me where i need to code the checks while creating/updating.
I tried editing the PBO/PAI of the Module pool program, but as its standard, is asking for access key. Do we need to code this in any userexit or implement BADI.
For example,
a) i need to check that only one instance of the infotype should be valid for an
employee at a time
b) This infotype should be created for only Employees and not contingent workers.
c) Few fields on the body section needs to be updated/modified.
Thanks and Regards
Manish.You can use the IN_UPDATE or AFTER_INPUT Methods of the BAdI HRPAD00INFTY to perform your validations.
Arya -
How to add fields in custom infotype and update its screens
Hi Experts
I want to enhance a custom infotype ( Add some new fields, and add special function on its screen). This custom infotype is created in previous release. is there any way to add fields in infotype? and let system automatcailly modify corresponding screens to add new fieldsGo to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the u2018Employee Infotypeu2019 radio button.
4) Select the u2018PS Structure Infotypeu2019.
5) Click on Createu2026 A separate table maintenance window appearsu2026
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on u2018Allu2019 push button. It takes a few moments.
10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
11) Click on u2018Changeu2019(pencil) button
12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
13) Give u2018T591Au2019 as subtype table
14) Give u2018T591Su2019 as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
18) Click on u2018Changeu2019 (pencil) button
19) Click on u2018New Entriesu2019
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirementu2026
25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Donu2019t forget to u2018Activate at every level
i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype -
In LSMW, what is diff between LSMW-BAPI and LSMW-IDOC
hello all
In LSMW, what is diff between LSMW-BAPI and LSMW-IDOCHi Swamy,
The differences between IDoc and BAPI are as follows:
IDOC
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system.
Idocs are processed asynchronously and no information whatsoever is returned to the client.
The target system need not be always online. The IDOC would be created and would send the IDOC once the target system is available (tRFC concept). Hence supports guaranteed delivery.
With asynchronous links the sub-process on the client can be finished even if the communication line or the server is not available. In this case the message is stored in the database and the communication can be done later.
The disadvantage of asynchronous links is that the sub-process on the server cannot return information to the calling sub-process on the client. A special way for sending information back to the client is required. In addition, a special error handling mechanism is required to handle errors on the receiving side.
IDOCs may be more changeable from release to release.
IDOCs are poorly documented.
BAPI
BAPIs are a subset of the RFC-enabled function modules, especially designed as Application Programming Interface (API) to the SAP business object, or in other words: are function modules officially released by SAP to be called from external programs.
BAPIs are called synchronously and (usually) return information.
For BAPIs the client code needs to do the appropriate error handling.
Problems with synchronous links occur if the communication line or the server is temporarily not available. If this happens, the sub-process on the client cannot be finished (otherwise there would be data inconsistencies).
Synchronous links have the advantage that the sub-process on the server can return values to the sub-process on the client that has started the link.
BAPIs are not totally immune to upgrades.
BAPIs are reasonably well documented.
Reward points if useful.
Best Regards,
Sekhar -
Function Module to get Company code and Plant on the basis of infotype and pernr
Hi Experts,
I need to know the function module which will return company code and plant based on infotype and pernr(employee Number).
Thanks,
Salil BagchiI think thats the only way
CALL FUNCTION 'CU_READ_RGDIR'
EXPORTING
persnr = p0001-pernr
TABLES
in_rgdir = it_rgdir
EXCEPTIONS
no_record_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
check whether "Pay date for payroll result" with in Start Date and
End date, and "Reason for Off-Cycle Payroll" is initial
LOOP AT it_rgdir WHERE paydt >= v_begda
AND paydt <= v_endda AND
void IS INITIAL
AND ocrsn IS INITIAL
AND srtza = 'A'.
v_seqnr = it_rgdir-seqnr.
ENDLOOP.
Hope this helps.
Thanks
Kiran -
Infotypes and its subtypes. ( urgent )
Hi all ,
Please provide me some information regarding basic standard infotypes along with its subtypes , purpose of the subtypes, its fields and its purpose also how the data flows within the data types.
In short i want all the functional details of infotypes and its subtypes.
Thanx,
Amruta.Hi
Address (IT0006): Sub type may be Permanent, Communication, etc
Family / Dependent Members (IT0021): Sub type Spouse, Family, Dependent etc
Obects on Loans (IT0040): Sub type Laptops, Projector etc
Comminucations (IT0105) : Sub type Mail, Telephone etc
These are some std IT for ur eg., The IT sub types are created based on the req. If you want to know clearly abt the sub types for the available infotype Goto SPRO>Personnel Management> Personnel Administration--..... Infotypes ..... -
How to add one more field in infotype and PA 30 screen
Hi to all
My requirement is to add a new field in infotype and that should be reflected in PA30 screen.
Actually in my company one field require from which date the car allowance is started.
For that one date field is require on PA30 screen ..
Also suggest me which screen is suggestable for that. and also give me any othe way is possible.
Thanks & Regards
AnubhavYes .. I added the field in the structure but that field is not reflecting in PA30 screen.
please advice me .. what to do...
Thanks..
Anubhav -
Hi experts!!
Is possible to do queries and get information from Infotypes and RT table in the same time.
We would like to do a query with information from infotypes an RT table, we don't want do a query for the data from infotypes and another one to get data from de rt table (PC00_M99_CWTR).
How is possible to do this kind os queries?
Kind regards,
JulianTo check on how to use cl_hr_pay_access class, I would first try google and then the where used list button while reviewing said class in se24 tcode - example of use: RPCGR1K0
DATA: pay_access TYPE REF TO cl_hr_pay_access. "access of payroll result
CREATE OBJECT pay_access.
CALL METHOD pay_access->read_cluster_dir
EXPORTING
pernr = pernr
IMPORTING
cluster_dir = rgdir[]
EXCEPTIONS
OTHERS = 4.
CALL METHOD pay_access->read_pa_result
EXPORTING
pernr = p_pernr
period = p_rgdir
molga = '07'
IMPORTING
payroll_result = pay_result
EXCEPTIONS
no_authorization = 1
read_error = 2
country_version_not_available = 3
OTHERS = 4.
CALL METHOD pay_access->read_pe_result
EXPORTING
pernr = p_pernr
period = p_rgdir
molga = '07'
IMPORTING
payroll_result = pay_result_person
EXCEPTIONS
no_authorization = 1
read_error = 2
country_version_not_available = 3
no_person_data = 4
OTHERS = 5.
result will be held in pay_result_person->inter deep structure
RT is inter-rt
BT is inter-bt
Or you can use function PYXX_READ_PAYROLL_RESULT - again - google or where used in se37 tcode. standard use in RPCDCI00
* FORM GET_PAYRESULT *
* read the internationl part of the payroll result from sequential *
* number I_SEQNR. *
form get_payresult using i_seqnr like pc261-seqnr
changing cs_payxx_result type pay99_international.
field-symbols: <payxx_result> type pay99_international.
call function 'PYXX_READ_PAYROLL_RESULT'
exporting
employeenumber = pernr-pernr
sequencenumber = i_seqnr
changing
payroll_result = <pay_result>
exceptions
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
error_reading_archive = 8
error_reading_relid = 9
others = 10.
if sy-subrc <> 0.
case sy-subrc.
when 5.
perform error using c_er_payauth i_seqnr space
space space c_yes.
when others.
perform error using c_er_readpay i_seqnr sy-subrc
space space c_yes.
endcase.
endif.
assign component 'INTER' of structure <pay_result>
to <payxx_result>.
cs_payxx_result = <payxx_result>.
endform. " GET_PAYRESULT
Good luck. -
How we create custom infotype and how to configure with its subtypes.
hai abap-hr gurus,
how to create custom infotype and how to configure with its subtypes. when i am creating infotypes i am not getting how to configure subtypes.
plz help me for this with an example code.
thanks..
kiran kumarHi Kiran,
Please fallow the below steps to create the custom infotype. If you have any quires let me know.
For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.
then select the `Employee Infotype' radio button
after that select the `PS Structure Infotype'
then click on Create A separate table maintenance window appears
then Create a PS structure with all the fields you want on the infotype
Save and Activate the PS structure
now Go back to the initial screen of PM01
Click on `All' push button. It takes a few moments
Click on `Technical Characteristics. Infotype list screen appears
Click on `Change'(pencil) button
Now select your Infotype and click on `Detail' (magnifying glass) button
Give `T591A' as subtype table & also Give `T591S' as subtype txt tab
Give your subtype field as subtype field & Save and come back to PM01 initial screen
Click on `Infotype Characteristics' Infotype list screen appears
Click on `Change' (pencil) button & on New Entries
and then Enter your Infotype number and short text Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference
to fill yours). Now save ur entries
Now the Infotype is created and ready to use.
If you want to change the layout of the Infotype as per your
requirement
In the PM01 initial screen Select `Screen' radio button and give
2000 as the screen name, then click on edit.
In the next screen.. Select `Layout Editor' and click `Change'.
Screen default layout appears here you can design/modify the
screen..change the attributes of the fields..etc.
Save and activate. (Don't forget to `Activate at every level)
Regards,
Ramakrishna kotha. -
Infotypes and subtypes ESS WebDynpro
Hi,
How to find which infotype(and subtype) the specific ESS WebDynpro is storing(retrieving) information from?? There is not much information on ESS Business package or help.sap.com. There is not much on Service market place also....
I am also looking for information on all the WebDynpros of ESS Business Package.
ThanksHi Santhosh,
If you haven't already looked at it, there is some info available in <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/6a/5bc8a009d54fcaa8e06c826a57253b/content.htm">SAP Help</a>
probably not exactly what you wanted..
Regards,
Suresh Datti -
Custom Infotypes and Change History
HR Gurus,
I am being told that with custom infotypes, we can not track change history.
THe scenario I have is that I need to be ableto capture Address Changes (Address Line 1, Address Line 2, City, State and Zip) and send a Delta for the changed address.
In my unique situation, I have been told that if Address Line 2 is deleted, than the change histiry can not capture the fact that it was deleted and all change history regarding its prior existnace will be deleted if the Address Line2 is removed.
I am not entirely sure=, but I wanted to ask you guys anyway if I woukd be able to track Change history.
-FerozHi Feroz,
Do not believe everything you hear. You can view changed and deleted information from custom infotypes and fields.
First, I am not sure why you need a custom infotype for addresses when IT0006 is available to you. You can more easily create a custom subtype if the supplied ones do not meet your needs.
But for any PA infotype including custom infotypes, you can use the Logged Changes to infotype Data report (RPUAUD00). You have to set up the infotype to be logged in the IMG: Personnel Management --> Personnel Administration --> Tools --> Revision --> Set Up Change Document. In the first section, you list the infotypes you want to track changes for including your custom infotype. In the second step you list the fields you want to track. "*" means any change to any field. And in the third step you indicate whether the information is kept as a long term or short term document.
When you run the report, you can enter the infotype and period you want and the first list will be all changes to that infotype. Select one to view the details and you will see each field listed with the original data and the new data. If a field is deleted, it will appear blank in the new area, but you can still see the old entry in the previous data column.
Also, if an individual deletes a entry in an infotype by using Copy and enters in a new start date, the old record will be delimited, but still be available for viewing. Also, every infotype records who made changes and the date of the change.
Paul -
Authorization for Infotypes and Actions
Hi Experts,
In my project i have a requirement to give authorization to individual infotype level and also give authorization for each and every PA40 actions .
Please give me a solution if any.
thanks..
AvikHello:
For authorization to individual infotype, use object P_ORGIN, authorization field INFTY. In here you can specify individual infotypes, and also authorization level on field AUTHC:
R - Read access
W - Write access
M - Matchcode access
E, D - Enqueue, dequeue access (Asymmetrical double verification principle)
S - Symmetrical (Symm. double verification principle)
For authorization for each and every action, use:
INFTY: 0000 (Actions infotype)
SUBTY: ## (Specific actions)
This is done with basis team cooperation in transaction PFCG.
Hope this helps
Regards. -
Transport of infotype and data table to other client
Hi all,
I have made a custom infotype - 9002 and a data base table zpa9002. I put some entries in this table. By mistake I saved both the infotype and table in local objects - $tmp. I have changed the package of database table and created the request for it.
I am not able to change the attributes of infotype(9002) i.e. am not able to change its package from $temp to something else. Can anyone please let me know how to change that and what else to do to transport the complete infotype to other client.
Anothet thing I want to ask is - if I transport the database table to the other client, all the contents or data will also be transported or I have to do it manually?
Thanks to all,
RibhuHi,
If you transport a table, by default, the data <b>will not be</b> transported. you will have to do it manually.
You can include the entry R3TR TABU <table name> in the piecelist.
Regards,
Anand Mandalika. -
LSMW : INFOTYPE 0066 and 0067
Hi All,
I am working on LSMW for following Infotype
0066 - Garnishments/Cession Order and
0067 - Garnishment Debt.
In PA30 when i update the infotype 0066 it automatically goes to Infotype 0067 (i.e to next screen) , but while recording in LSMW after updating infotype 0066 it dosent go to infotype 0067. As per PA30 process it should go to next screen i.e infotype 0067. but in case of recording it directly comes out of recording of infotype 0066 and save it and doesn't go to infotype 0067.
can anyone answer this?
Regards,
Archana.Hi Archana,
Some times it occurs thorugh LSMW.
I think it not a issue. First you can upload the data 0066.
Then again second recording you can upload the data 0067.
Thanks and Regards,
Revathi. -
Problem with LSMW infotype 1950 recording
Hi !
When I use The LSMW recording facility to play in a PO10 Properties (HR infotype 1950) I get error in the process step when the pgm action to the =UPD command is to clear all the screens fields (pgm MP195000 screen 2000).
I see that when LSMW process step is running sets sy-datar to "X" when MP195000 screen 2000 is executing and then a clear step executes
....but it do not be the same with manually infotyp input by the same screens.
Can some one help me with this problem?Can I import it from the QA Client....there are lot of recording in this project , in which I just want to export/import only one project , how can I do that .
Maybe you are looking for
-
Balls don't move in bouncing balls game.Please Help !?
I want to repaint the canvas panel in this bouncing balls game, but i do something wrong i don't know what, and the JPanel doesn't repaint? The first class defines a BALL as a THREAD If anyone knows how to correct the code please to write.... package
-
Help! I can no longer import photos from iPhoto to Aperture 3 or iPhone
Please help, I have a fully updated Aperture 3, iTunes 9 and iPhone 3G. I arrange my pic's in events in iPhoto and they are all accessible there, at my last iphone sync I noticed that my phone was deleting all my pictures of my iPhone, so I stopped t
-
Drawing smooth circles in labview
Hi I am using the 'Draw Circle by Radius' VI to draw a pie chart inside a picture box. Its all fine, except that the circle edges are not exactly smooth (see the attached pic). I tried looking for it on the net, but couldn't find anything of much u
-
Multiple programs recording from same sou
Hi, I have a audigy and I cant use the record function in multiple programs. Like, when im using the teamspeak and try to open skype, just the teamspeak can record from microphone and skype dont work. Any help, thank you.
-
Can I upgrade and download Photoshop elements 13 using windows vista?
I have just purchased the PE 13 upgrade, but when I want to download it, the versions only mention windows 7 or 8 and not windows vista which I am on? Does this mean I can't download it?