Custom infotype in SAPHRActiveSync - supervisor field
Has anyone been successful in adding a custom infotype in the SAP HR ActiveSync adapter to get the values? I added it to the schema and did the mappings in the wofkflow, but its always returning null value. I need to add supervisor field and work address fields which are custom attributes that are being looked up in another table in SAP, thus no specific infotype for them. I read in the documentation that there are 6 infotypes supported (0000, 0001, 0002, 0006, 0105) but no mention of custom infotypes...anyone faced similar issue and what was the workaround? Should we just use a BAPI call to get the values? We're using IDM v8.0.
Any help is appreciated.. Thanks!
Hi,
When you take a drop down from the infotype column, you will see a window with infotypes. By default, it is restricted to 500 entries. To change that, click on the narrow bar under u201Crestrictionsu201D (has a downward arrow) and change the maximum number of hits to 999. You will then get all the infotypes including the custom ones.
Hope this helps.
Donnie
Similar Messages
-
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 -
Adding new fields in Custom Infotype
Hi,
I need to change some fields of Custom Infotype. But project is already gone live for 1 country. will making changes to infotype affect for existing live country?
Safe side....We are thinking Adding new fields in Custom Infotype. & displaying corresponding fields for countries in another tab
& hiding the old tab.
Please let me know procedure for Adding new fields in Custom Infotype for displaying in new tab.
Edited by: Sachin Thigale on Aug 23, 2010 7:04 PM
Edited by: Sachin Thigale on Aug 23, 2010 7:05 PMPlease search. Lot of Threads on this.
Follow these steps.
Go 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
The above details are from the following link
Re: How to add fields in custom infotype and update its screens -
Search Help for Position in Custom infotype
Dear All,
I had created one Custom Infotype in which one field is Position which is same as position in Infotype 0001. The search help should be same. How can i achieve this? Here i had attached search help in PS structure of the custom infotype but it soesnt look similar. Please provide me guidance.
Thanks & Regards,
Radha.Hi,
there is no search help maintained in data elament level in that info type, but there is explicitly mainatained as H_T528B in ENTRY HELP tab in the table . so try to mainatain as is in the standard infotype.
Regards,
Naveen -
Customer Infotype modifiction problem
Hi all,
I have created a Customer Infotype using TCode PM01. It works fine.I am able to enter data using transaction PA30 and choosing my customer infotype and clicking create. Everything is fine till here.
Now I modified its structure and added some fields, and put those fields in the screen, and declared them in my module pool of the infotype as well. I activated the infotype. its fine.
Now when I try to make some entries in my customer infotype using PA30, the fields which were present before are ok - I am abl;e to enter data in them.But the fields I added later in my infotype are all GREYED and I am not able to put data in those fields. Please suggest what to do.
Thanks
RibhuHi Ribhu,
Please try the below suggestion.
If you had added 3 new fields,
<b> zzamount.
zzyear.
zzinterest.</b>
You will have to write similiar code in the PAI module
of the screen you modified.
process function code: ALL fields that appear on the
screen HAVE TO BE listed here (including output-only fields)
*-Customer specific fields in Infotype "9123"
<b> CHAIN.
FIELD p9123-zzamount.
FIELD p9123-zzyear.
FIELD p9123-zzinterest.
MODULE input_status ON CHAIN-REQUEST.
ENDCHAIN.</b>
Thanks,
AbyJacob
======== -
Issue while modifying entries in custom infotype after enhancement.
Hi All ,
I have enhanced custom Infotype (Added 2 new fields).
After enhancement, I am facing one issue while updating infotype through FM HR_INFOTYPE_OPERATION.
Issue is that I am not able to update/modify records through FM HR_INFOTYPE_OPERATION.
RETURN parameter of FM comes empty indicating no errors but actual records in database table are not updated. I debugged FM and found that SAVE button on PA30 screen is disabled.
Anyone knows reason for above proble and also please help me in solving issue.
Regards,
Jigar Thakkar.Thanks for your response.
Yes i am able to update IT9201 through PA30 but not with FM HR_INFOTYPE_OPERATION. Also I have activated PXXXX structure through PM01.
While debugging FM HR_INFOTYPE_OPERATION i saw that SAVE button is disabled and processing stops there.
Regards,
Jigar. -
Hi,
I want to create a custom infotype with the following fields.
Molga (country grouping)
Personnel Number
Subtype
Language Key
Comment Line 1
Comment Line 2
Comment Line 3
in this first 4 fields are keys. The user should be able to edit only the rest of the fields.
Subtypes similar to the infotypes values 0168,0169,0014,0015,0009,0006,0002 should be created.
While updating and saving the infotypes 0168,0169,0014,0015,0009,0006,0002 the system should prompt this infotype through dynamic action to enable the user to enter comments.
can anyone give me a step by step approach for creating this infotype?
Thanks in advance...
VijayHi
Steps to create a HR Infotype:
1) Go 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 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
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 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
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 Infotype's 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 requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level)
Subtype Creation :
Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
Subty.text tab is T591S and time const tab is T591A.
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
HR related site:
http://www.sapdevelopment.co.uk/hr/hrhome.htm
Enhancement of Infotype
Check the following
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
Infotype Enhancement overview screen
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
Regards
Anji -
Hiding table fields in custom infotype
HI guyz,
i have created a custom infotype which has 2 subtypes . certain fields should not be displayed when we select the subtypes. i have used the code below. the screen contains a table.
MODULE hide_FIELDS OUTPUT.
IF p9555-subty = '1'.
LOOP AT SCREEN.
IF screen-group2 = 'ABC'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
IF p9555-subty = '2'.
LOOP AT SCREEN.
IF screen-group2 = 'XYZ'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE. " hide_FIELDS OUTPUT
the fields which are not in the table are not getting displayed as required but the fields in the table still appear on the screen(they are grayed out). i do not want them to appear on the screen. can anyone help me with this. Thanks in advance.Hi Madhu Reddy , instead of using screen-invisible = '1' , u can try this .
MODULE sereen_modify OUTPUT.
DATA: COL TYPE CXTAB_COLUMN.
LOOP AT TC-COLS into COL. " TC is ur Table Control
IF col-screen-group1 EQ '007'. " Modification group1 is say 007.Also u can add other checks like pnnnn-subty = 1 here .
col-invisible = '1'.
col-screen-output = '0'.
modify TC-COLS from COL index COL-INDEX.
ENDIF.
ENDLOOP.
ENDMODULE. " Call this module in ur Flow Loic PBO.
*Reward Points If Helpful -
Module pool F4-Help problem for a field in custom Infotype(HR).
Dear Gurus,
I have created a custom Infotype and fields are like
P9015-NAM01.
P9015-NAM02.
P9015-NAM03.
all are fields for name.
I want F4 help for these fields with values same as Family Members-First name given in 21 Infotype .
for all 3 fields same f4 help values.
But when i see in the screen for first field the values are populating as selected but for second field the selected value is not picking..
DATA: BEGIN OF it_val1 OCCURS 7,
nam01 LIKE p9015-nam01,
rel01 LIKE p9015-rel01,
END OF it_val1.
SELECT * FROM t591s INTO TABLE it_t591s WHERE
sprsl = 'EN' AND
infty = '0021'.
*SUBTY
*STEXT
SELECT * FROM pa0021 INTO wa_21 WHERE pernr = p9015-pernr .
READ TABLE it_t591s WITH KEY subty = wa_21-famsa.
it_val1-rel01 = it_t591s-stext.
CONCATENATE wa_21-favor wa_21-fanam INTO it_val-nname SEPARATED BY space.
it_val1-nam01 = wa_21-favor.
APPEND it_val1.
CLEAR : it_val1, it_t591s.
ENDSELECT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'NAM01'
PVALKEY = ' '
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'P9015-NAM01'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
value_org = 'S'
multiple_choice = ' '
display = 'F'
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
value_tab = it_val1[]
field_tab = t_fields[]
return_tab = t_return[]
DYNPFLD_MAPPING = t_DYNPFLD_MAPPING
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
In the same way i am calling for P9015-NAM02. & P9015-NAM03.
Is there any wrong in calling this FM...kindly help.....Write the FM inside,
at selection-screen on value-request for <nam1>.
It seems that you are calling the funtion module for only first field. Repeat it for other two fields also-
at selection-screen on value-request for <nam2>
call FM.
at selection-screen on value-request for <nam3>
call FM.
Sumit -
Adding a text field in a custom infotype
Hi,
I have a custom infotype which deals with sickness data of the employee
My requirement is that the user will enter an explaianation for his sickness...etc. Thus I need to incorporate a text field in my infotype.
What I am planning is to give a button on the screen of infotype, so when user clicks it a text editor will open and and he can insert or update his sickness text data.
Please tell me how do i do that and also if there is any alternate better approach.
Regards,
Nehayou need to make a custom container on which you have to put editor
use class cl_gui_custom_container, cl_gui_text_editor, first define instances in top include then create objects. if you want this to be done when you click on any button then put this coding in the function code of that button.
aditya -
Adding field from Custom Infotype in Screen Header-PA30
Hi all,
Can we add the fields from custom infotype to the screen header in PA30? When I tried through Change Screen Modifications, I could not see the custom infotype in the Infotype column, so I could not select the required field.
Please guide.
Thanks in advance.Hi,
When you take a drop down from the infotype column, you will see a window with infotypes. By default, it is restricted to 500 entries. To change that, click on the narrow bar under u201Crestrictionsu201D (has a downward arrow) and change the maximum number of hits to 999. You will then get all the infotypes including the custom ones.
Hope this helps.
Donnie -
Adding Fields to Custom Infotype Using Custom Infoset in SAP QUERY
Hi All,
We have a requirement to add fileds to a custom infotype for querying Custom Infoset in SAP Query.
We are facing problem as the added field is not getting displayed in the Query set so that we can select and display it in the Basic List along with the other filds.
Kindly suggest a solution.
Full points will be rewarded.
Thanks in Advance
KumarHi Salman,
Thank you for your valuable information. I haven't Configured Dynamic Actions yet. Is it simple to write the Logic for Dynamic Actions. Is this the only way to solve this Issue?
I tried by adding the standard fields, but they are not populating the values; but just appearing as Input Fields with Input help option.
Please let me know if you have any suggestion in this direction?
Regards,
Hems. -
Custom infotype - issues with conversion class - making fields display only
Hi,
I created the custom infotype 9008 using t-code PM01, created conversion class ZCL_HRPA_UI_CONVERT_9008_XX and assigned it to screen structure ZHCMT_BSP_PA_XX_R9008 in the view V_T588UICONVCLAS. Coded the methods IF_HRPA_UI_CONVERT_STANDARDOUTPUT_CONVERSION and IF_HRPA_UI_CONVERT_STANDARDINPUT_CONVERSION. I'm trying to make some fields display only within the method OUTPUT_CONVERSION dynamically. Coded the check class ZCL_HRPA_INFOTYPE_9008 with business logic.
Everything seems to be working fine when I test using the test tool through t-code PUIT_UI.
When I try to create/modify 9008 record through PA30, the code in the methods OUTPUT_CONVERSION and INPUT_CONVERSION is never getting executed. The control is not coming there at all. The fields are allowing input. Any idea why this is happening.
We are on ECC 6.0 and at service pack level SAPKE60035. Couldn't find any relevant SAP notes as well. Appreciate your help in this regard.
Thanks,
Kumar.Hi Venkata,
Check this document.
This explains about custom infotype creation.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1?overridelayout=true
regards,
Brinda L -
Custom Infotype with multiple long text fields
Hi,
We have a need to create a custom Infotype (in PA or PD) that will contain more than one long-text area.
I've searched this forum and found that there are generally two approaches :
1. use the HR clusters for long-text and setting the ITXEX field in PA
2. using SAP standard text area (SO10) and functions such as READ_TEXT, SAVE_TEXT, etc.
The problem with (1) is that it can only store one long-text. We need to have many. Please correct me if we can hold more than one long text in the cluster...?
With regard to (2), I'm just not sure that this is the correct place to store the long text...?
If I was to adopt option (2), could I just use the key of PA9nnn (ie: PAKEY) as the key/TDNAME for STXH?
Are there any other methods to store long text?
As well, is it possible to create a custom Infotype in PD? Can we use PM01 to create PD infotypes?
Thanks,
RajRaj
Sorry I'm not much help on the two questions you have raised...you have probably already got answers by now anyway..however FYI check out link below for enhancing PD infotypes (use transaction PPCI).
enhance infotypes -
Add new loop field in custom infotype - error field .. not assigned to loop
Hi,
I have a task of adding a new loop field in a custom infotype screen 3000. Here, in the past there have only been the fields begin date and end date. I need to add a new field, so this is how I proceeeded:
1) I modified the screen 3000 in SE38, adding the field where I wanted and defining a loop.
Now, I get the syntax error : Field P9500-field is not assigned to a LOOP. LOOP...ENDLOOP must appear in PBO and PAI.
There must be something wrong in what I'm doing, can you please let me know a quick fix on this or how I can accomplish this in PM01? Please keep in mind that this is a custom infotype for SAP TEM, I can't see it in PA.
Best regards,
GeorgeNot a nice solution but I had to do this quick and I'll correct it in the next days:
The old flow logic PBO code was:
LOOP.
MODULE FILL_DYNPRO.
ENDLOOP.
If I wanted to insert here something like:
FIELD whatever
MODULE dummy.
, I'd get stupid error messages like this other field is not in loop, endloop, then if I put that other field I'd get the error that the fields are in the same loop...
Wanting just to get this over with, I added the following code (after the initial loop):
LOOP.
FIELD whatever
MODULE FILL_DYNPRO."same module as above
ENDLOOP.
This was repeated in PAI.
This pretty much works out fine for the moment, I'll look for finer solutions in the week to come.
Thanks for the help, guys.
Best regards,
George
Maybe you are looking for
-
How do I find outlook email on an Seagate external hard drive?
Hi - I have a Seagate external hard drive that I used to back up an old mac book pro. I have found all my documents and was able to transfer them all to a mac mini. However I can not find the email files. I had outlook and am trying to find the e
-
Unable to install 6.0.2 on Windows XP
Hi, During installation of TimesTen 6.0.2 on Windows XP I got the following error: "Unable to create the registry key ,SOFTWARE\TimesTen" I did a "Typical" installation and just clicked Next in every dialog. I tryed to install the Oracle Times Ten In
-
I get disconnected when I try to read my mail. I didn't sign on from another computer or device. I need to keep chat open and I don't know how to do it.
-
I have a video with extension .m4v which does not sync with my iphone. These are the properties of the video MPEG-4 video file 128kbps Low Complexity Stereo 1572 kbps 480x360 H.264 I also have the same file in quicktime movie format. Even that file d
-
[iPhone] UIPickerView - possibly caching
Hi all, I am doing a bit of prototype testing and have coded a small iPhone app that browses Bonjour services. On the interface I have currently just added a UIPickerView which dynamically at runtime gets items added to it as and when my NSNetService