ABAP - Create Infotype
How do everyone,
I have searched the site but can't find any appropiate answers to my question.
I want to write some ABAP code to replicate the creation of infotype 0015 subtype 3988
mobile adjustments. I can write the code to directly insert the records into the database
but I was wondering if there are any rules that I should know about. Also, are there any
standard FM's that I might be able to use.
Many thanks
Andy
Hi
I've created several infotypes with a Table Control and it is always the same story. You have to create a custom Z table to store the Table Control data (if you can have unlimited records), so in the PSXXXX structure you need to add a TABNR field to link the PAXXXX table and the Z one, just like the type table OM infotypes.
Then in your code you have to control every possible operation, INS, MOD, DEL... and update the Z table accordingly (the standard code won't do that)
If your TC fields appear in display mode, take a look at the Groups 1 and 3 in your fields, the must be set with the usual values for a PA infotype.
If you have more questions, just ask,
Regards
Similar Messages
-
ABAP HR How to create infotype with table control in it like Infotype 0008
Hi Experts.
I need help from u guys. My client requirement is to create custom infotype just like 0008 infotype which contain table control to save amount and wage types. I try to create infotype with table control using PM01, but that table control is in display mode only, i almost search every where to create custom infotype with table control but what ever threads in forum all are they unanswered and most of the threads for creating infotype. But i already done with infotype , but my main problem is table control.
If any one have some suggestion for this please share with me.
<removed by moderator> i am looking for positive reply.
Edited by: Thomas Zloch on Aug 30, 2011 12:54 PMHi
I've created several infotypes with a Table Control and it is always the same story. You have to create a custom Z table to store the Table Control data (if you can have unlimited records), so in the PSXXXX structure you need to add a TABNR field to link the PAXXXX table and the Z one, just like the type table OM infotypes.
Then in your code you have to control every possible operation, INS, MOD, DEL... and update the Z table accordingly (the standard code won't do that)
If your TC fields appear in display mode, take a look at the Groups 1 and 3 in your fields, the must be set with the usual values for a PA infotype.
If you have more questions, just ask,
Regards -
Error while creating infotype message no. pg293
Hi guys,
I am creating a new infotype after creating the PS structure when i click on generate objects i get an error saying "An internal error has occurred" message no. PG293.
kindly provide a solution.
points will be rewarded.
thanksINFOTYPE CREATION WILL BE TAKEN CARE OF THE ABAPER AS RAO SAID
AS THE OUT PUT WILL HAVE TO SEEN IN ALL THE SERVERS THIS IS A LITTLE BIT TECHNICAL WORK
Start transaction PM01, Create Infotype, by entering the transaction code.
You access the Create Infotype screen:
2. In the Infotype no. field, enter the four-digit number of the infotype you want to create.
When you specify the infotype number, please remember to enter any leading zeros.
3. Choose IT characteristics.
This accesses the Display View Infotypes: Overview screen.
4. Choose Table view Display Change.
This accesses the Change View Infotypes: Overview screen.
5. Create a new entry for your infotype.
You can create new entries by
choosing Edit New entries or
copying an infotype entry with similar characteristics.
If you want to copy an existing entry, select the entry you want to copy and choose
Edit Copy as.
6. Check the entries in the individual fields.
Result: You have maintained the characteristics of your infotype.
Please check the above config for maintaining your infotype in PA30 and also check your entries in T582A & S.
Edited by: Sikindar on Mar 9, 2008 8:23 PM -
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 -
How to set authorization for only Create infotype record
How can I set the authorization so that the user can only create Infotype 14,15,2010,2001,2006 but cannot change and delete the record for these infotypes.
But user has the authorization to create,change and delete other infotypes.Hi irene,
1. For this we have to use the
authorisation object
P_ORGIN
2. It has got the following fields, on which authorisations can be controlled.
AUTHC Authorization level
INFTY Infotype
PERSA Personnel Area
PERSG Employee Group
PERSK Employee Subgroup
SUBTY Subtype
VDSK1 Organizational Key
regards,
amit m. -
How to create infotype while creating another infotype
Hi All,
I have below requirement...
Whenever user create infotype 0008, infotype 0014 should be created for the wages available in a Z table.
I created a dynamic action and call function HR_INFOTYPE_OPERATION. When i debug the routine function successfully executed with sy-subrc eq 0. But when i check the database table, there will be no data for infotype 0014. I am writing the below piece of code, i put the hard code value for testing purpose...if you have any idea please let me know
IT_P0014-PERNR = '1000005'.
IT_P0014-ENDDA = '99991231'.
IT_P0014-BEGDA = '20071111'.
IT_P0014-LGART = '1003'.
IT_P0014-BETRG = 1003.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = '1000005'
IMPORTING
RETURN = RETURN.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0014'
NUMBER = '1000005'
VALIDITYEND = '99991231'
VALIDITYBEGIN = '20071111'
RECORD = IT_P0014
OPERATION = 'INS'
TCLAS = 'A'
IMPORTING
RETURN = RETURN
EXCEPTIONS
OTHERS = 0.
COMMIT WORK AND WAIT.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = '1000005'.
Please let me know if i am missing any thing.Use INSERT command instead of HR_INFOTYPE_OPERATION.It has some issues while calling from Dynamic Actions.
-
How to Create infotype views through pm01
I need to create a view for infotype 21. There is a tab for creating infotype views in pm01 transaction. but not sure how to use it. There are fields such as 'additional IT' and 'View'. Not sure what needs to be filled in these fields. I have created the structure for my view(PS0955). Can somebody help me out with this?
Well what I meant by view was to create a new infotype but it won't be maintained in standard way through pa30. It is basically a view (infotype with some subscreen) that will be called on existing infotype screen (in my case IT0021). So instead of modifying the standard infotype 21 screen I can append my desired fields to this through view.
Well my issue now has been resolved. But now I have yet another issue.
I want to create my own screen for existing infotype. For that I know that I have to copy the existing standard screen 2000 and rename it to some other number. However, i want to know what is the exact procedure. What are the other steps involved with it. Any body can help? -
Hi experts,
I am doing some configuration in accouting and an error pops up indicating infotype 1001 is not maintained. As I know very little about HR module so I just try to create infotype 1001 in PA30 but turn out it can not be maintained there. Could any body tell me how to maintain this infotype.
Thanks,
TonyHi Tony,
You can go to PP01, select the otype, type in the objid and create 'Relationships' infotype which is infotype 1001.
Through transaction OOVK, you can find out what all relationships have to be created for an object. Some of these can be maintained through PP01, some cannot be (selecting the relationship subtype and then allowed relationships -> not maintainable flag).
Basically, you need to find out that for which relationship (subtype of infotype 1001) it is sayin that 1001 is not maintained. Then you can go and create only that relation in PP01.
Regards,
Neha -
Hi,
I am working with ABAP-HR.
In Personal Administration, while defining Infotypes , they say 'each infotype requirs at least 2 structures and atleast 1 internal table'.
Will any body please help me to get the idea.
Thanks in advance.
Anirban Bhattacharjeehi
Each infotype has two structures and One associated table.
PSnnnn - this structure contains all of the infotype data fields.
Pnnnn - this structure contains infotype key fields and all the data fields from the structure PSnnnn.
Here nnnn is the infotype number.
PAnnnn PBnnnn etc are actual database tables hoilding the data.
In ABAP-HR Infotype are grouped in INfoGroups. They have Screens associated with it. And a user has to fill those screens and it is possible that user might chane a value many times before actually saving it.
So these structures acts as a temporary storage for thise values.
Hope this wil help.
Reward if useful.
Sumit Agarwal -
Idoc hrmd_a doesn't create infotype 0003 automatically
Hello !
When a new Person is created in One R3 system -
we send It's infotypes to another R3 system
with idoc hrmd_a.
We send only these infotypes :
0000,0001,0002,0006,0105,0041,0900.
We expect infotype 0003 to be created automatically in the new system ,
but it does not happen and for that reason
The Person is not created fully in the target system.
only 0000,0001,0002 are created and for each of the other infotypes we got a message like this :
"You have tried to create infotype XXXX for the following object: plan version 01, object type P, object ID 00XXXXXX. However, the object does not exist.
PA objects exist if infotypes 0000, 0001, 0002, and 0003 have been created. "
How can we make 0003 infotype to be created automatically
without sending it by the Idoc ?
Is there a flag in the idoc declarations or
a customization we can fill to make this happen ?
Thanks ,
Nitzan S.Hi Nitzan,
I don't think there is any easy way to get 0003 infotype being created automatically on idoc input. At least I have none in Release 4.6 c.
Why not send it? IMHO there is no sensitive data in it? Besides there are ways to manipulate that data when replicated via ALE.
If you really need that infotype to be created, you could check EXIT_SAPLRHA0_003 of RHALE001 via transaction CMOD. There you can code your requirements in ALE-user-exit.
Regards
Herbert
Message was edited by: Herbert B. -
Error when create Infotype 0007-Planned Working Time of Personnel data
Hi Experts,
I'm creating Infotype 0007-Planned Working Time for Personnel data then having a error below.( I created Work schedule rule and Gennerated it).
Feature structure cannot be recognized, please see documentation
Message no. P0568
Diagnosis
Cause 1:
The structure of the feature is not saved in the feature directory.
Cause 2:
The feature structure is not defined in the program that reads the feature.
Cause 3:
The feature that the program expects does not match the actual feature structure.
Procedure
Cause 1:
Please advise your system administrator that all features must be regenerated. Please note that this generation must take place in client 000 first, and then in all other clients (report RPUMKF00 or the Generation function in the feature maintenance transaction (transaction PE03)).
Cause 2:
The feature structure must always be defined in the program reading the feature (see documentation for program RPUMKC00).
Cause 3:
Please contact your system administrator
I did using T.Code PE03 in Client 000 but I don't know what is Features?
Please tell me how solves it ?
Thanks so much.
Dungnvinfotype 0007 reads two features
SCHKZ - Default value for Shift indicator
TMSTA DEFAULT VALUE FOR TIME MANAGEMENT STATUS
Please have a look at both these features -
Creating infotypes with multiple subtype
Please tell me
How to create infotype with multiple subtypeHi
Please check this like it has got step by step details
http://www.sapdevelopment.co.uk/hr/hr_infotypes2.htm
Regards,
Venkat -
How can i add newly create infotype in t.code po13
Can any one pl tel me how can i view newly created infotype in t.code PO13
Edited by: Utkarsh M parikh on Mar 10, 2010 5:29 PMSee:
Mac OS X Automation,
Automated Workflow Tips,
Introduction to Automator tutorial, and
a four-parter on Automation in Snow Leopard by Sal Saghoian:
Snow Leopard Services,
Services for iPhoto,
Safari and WebKit integration, and
Installing and using services.
Finally,
Developing AppleScript Applications and
Apple's Automator Developer Documentation -
Error while creating infotype 1764
Hi All,
When i am trying to give special booking authorization for a student to a module in student file, i am getting an error msg " error while creating infotype 1764". The same is working in EHP4 but not in EHP3.
Pls give your valuable inputs to resolve the issue.
Regards,
SravanDear Sravan,
Check whether module in question is included in appraisal or not. If not then maintain it.
Hope it will solve your issue.
Regards
Vinod Kumar -
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
Maybe you are looking for
-
Printer won't print from laptop
Here goes! I hope this is enough info. I have an old (but faithful) HP v40 All-In-One color printer that worked beautifully until August, 2014. I got malware on my laptop and when I got software to work on removing the malware, my printer would no
-
My facebook password was hacked .I have a pc and changed my facebook password and it works on my pc but not my iphone.I plugged the iphone into computer thinking it would sync. That didn't fix my phone.What to do? can't sign in on ipone as it says"pa
-
Log4j - issue in configuring the file name for daily rolling file adapter
We have configured the log4j properties. We want to create back-up of log file each hour. The file name of the log file is MyApp.log and as per the below configuration after each hour backup file is created as MyApp.log<<time>> but we want that file
-
Dash (-) problems in to param of cfmail tag
Does coldfusion 7 support having an email address with a dash in it. ie [email protected] I am getting this error in the log. Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 501 5.5.4 Invalid Address This is proving to b
-
Invoice as PDF to be sent to Customer
Hi, I have a requirement, wherein after the billing document is saved the output has to be generated and immediately sent to customer as PDF file. I know that this is not a standard functionality of SAP, but can be achieved thru custom developments.