Is it possible to assign custom infotype to Logical database ?
Hi All ,
Is it possible to assgin a custom infotype to the logical database ?
I mean if we use GET PERNR in the pgm it has to bring the data for this custom infotype also .... is it possible ? If yes, Please explain me clearly ....
Thanks & Regards,
Anil Kumar.
Thanks for u r response.
U mean If we mention that infotype in INFOTYPES stmt and use GET PERNR that particular structure will have the data right ? and the rp-provide stmt also wroks for it.
am i correct ...... ?
Thanks & Regards,
Anil Kumar.
<b>Points are Awarded.</b>
Similar Messages
-
Is it possible to assign custom ringtones to text messages?
I just need to know if its possible to assign custom ringtones to texts because as of now I cant.
It is not possible - at the present time anyway.
-
Read last period of infotype without logical database
Hi,
I'm looking for a FM that retrieves last period of one infotype without using logical database pnp, so rp-provide-from-last isn't a solution
Now, I'm using a home made solucion:
First I use HR_READ_INFOTYPE function to read all periods of infotype, then I sort the table by endda (descending) and get first register of table.
But I really prefer using a SAP function module.
Thanks in advanceHi,
You can use the same FM "HR_READ_INFOTYPE" & pass begda = sy-datum and endda = '12/31/9999'.
You will get only one record i.e. latest one.
Hope this helps.
Thanks,
Sarika. -
Is it possible to change selection screen of logical database structure?
I have to create a z report for a standard transaction FBL01N which is extracting data according to the vendor account number(LIFNR) at the selection screen. Now as per the requirement the system should extract details according to 'vendor name' keeping the same functionality.
But the standard program is using some logical database structure KDB and the include for the selection screen is DBKDFSEL.So can I modify the selection screen of this transaction replacing Vendor No with Vendor Name.Hi..
Refer this links
http://help.sap.com/saphelp_46c/helpdata/en/9f/db9b8535c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b8535c111d1829f0000e829fbfe/content.htm
Hope this may b very helpful to u
Sravani
Plz reward points -
Dear friends,
Is it possible to generate SAP Query on Custom Infotypes.
As I am trying them and while creating Infogroup on my custom Infotype fields, It is not getting generated.
Could you please suggest how to proceed.
Thanks in Advance,
Regards,
Satya.hi,
I think its not possible to fetch custom infotype fields using SAP Query....ask your abap consultant to write a simple report...that wil do.... -
Sap hr - deleting custom infotype
Hi,
Is it possible to delete custom infotype ?
If I delete a custom infotype, will I be able to use the same code to create a different custom infotype.
Rgds,
SantoshHi Remi,
Thanks for your reply.
Sorry, I have taken long time to reply.
I will provide the details :
I have created custom infotype having two fields. The data is selected from the master tables. We have created few records for the period 01.04.2012 to 31.03.2013. Now, the functional team wants to add new data to the Master Tables and remove some of the existing fields from the Master. I can add new fields to the master and it will get added as f4 field help. However, if I remove the data from the Masters, there will not be entries in master for the said records.
I am referring to PRD System.
Hope I have clarified the things.
Rgds,
Santosh -
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 -
Assign custom tag output to variable. Is it possible?
I form the code of page like this:
<body onLoad="... #myArray[XXX]# ...">
<cfoutput>#printTable(...)#</cfoutput>
</body>
function printTable is something like iterate process of
creating tree-menu structure:
<cffunction name="printTable" ...>
<cfloop....>
ArrayAppend(myArray, ....)
<cfoutput><CF_treeItem....></cfoutput>
printTable(....)
</cfloop>
</cffunction>
SO - the problem is that I need myArray elements, but they're
created inside printTable function.
I could save everything into the variable and output later,
like <cfset printTableVar = printTable(....)>, but I use
custom tags
What should I do not to change the things too much?
It would be good if I could assign custom tag result to
variable:
<cfset blablabla = "<....>" &
<CF_treeitem...> ....
Ok, i will do it via external variable
(Caller.blablabla)Obviously the correct solution is to re-write it properly,
but for your question of putting the CT results into a variable,
you just need to use
cfsavecontent. -
Custom infotype for submodule 'RE'
I am new to SAP HR module . i have created a custom infotype through PM01 for sub module RE. but when iam going to create master data for this custom infotype using PB30 , system creates dump with following error message " Access via 'NULL' object reference not possible."
Thanks
SarathHi,
Thanks a lot Divya.
We indeed created the infotype using PPCI.
For checking purpose we assigned it to a OM object & using Transaction PP01 entered a few records just to check if it is working.
But the real test would be if we can successfully bind it to the webdynpro ABAP screen.
Regards,
Sowmya -
Query Related to Custom InfoType Modification on Screen ?
Hi There,
We had created a custom infotype 9003, for entering service related details of the govt.employees. Here in the req had a field regarding for Physically Handicap with only possible anwers as yes or no. so i went on creating two different field in the structure PS9003 two fields ZPHYC_Y & ZPHYC_N each having 1 character as input. after this i converted these two input fields to Radio button & combined them in group using Screen Painter also assigned a single function code to these two radio button. Now my other requirement is upon selecting Yes radio button a second field displaying a dropdown box of possible Phy.Category should be displayed. & upon selecting No the Box should remain greyed out. This is a typicall HR Requirement Please provide your suggestions
Edited by: priyeshosi on Apr 6, 2011 8:01 PMI have resolved this ticket by creating a subscreen inside the original Infotype screen & calling the custom visibility function module & at there doing LOOP AT SCREEN in PBO event of the subscreen.
Edited by: priyeshosi on May 10, 2011 10:19 PM -
Creating / Updating Custom Infotype Records
Hello everbody,
We implement alot of custom HR infotypes in our system, both PA & HRP.
For the past several we have been using BDC (Batch-Input) recorded functions in order to update / create the records in our infotypes.
We're currently facing an upcoming ECC upgrade , and I would like to lead a change that will eventually lead to us using generic SAP supplied functions.
I've researched a few functions that might do the trick:
RH_INSERT_INFTY:
This one is giving me an SY-SUBRC 2 error code - Insert error, I tried to select a current record and insert it as different objid but this doesnt work.
HR_INFOTYPE_OPERATION:
I've read of several people that recommended using this function, but it is not released by SAP and I couldnt get it to work as well.
BAPI_HRMASTER_SAVE_REPL_MULT:
This one seems to work for sap infotypes but I dont think it suits custom infotypes.
What is the "official" way of doing such operations?
thanks in advance,
Eli.Hello Dilak,
Im currently trying to insert a new infotype record of infotype HRP9226.
First I call function RH_GET_NEXT_NUMBER to get an objid.
then I fill an HRP9226 line.
after this i call the function:
call function 'RH_INSERT_INFTY'
exporting
FCODE = 'INSE'
vtask = 'S'
ORDER_FLG = 'X'
COMMIT_FLG = 'X'
AUTHY = ' '
PPPAR_IMP =
OLD_TABNR = ' '
REPID = ' '
FORM = ' '
KEEP_LUPD =
WORKF_ACTV = 'X'
tables
innnn = hrp9226_line
ILFCODE =
EXCEPTIONS
NO_AUTHORIZATION = 1
ERROR_DURING_INSERT = 2
REPID_FORM_INITIAL = 3
CORR_EXIT = 4
BEGDA_GREATER_ENDDA = 5
OTHERS = 6
I'm getting an "Error_During_Insert" and Im out of options regarding what I can possibly do. -
HR ABAP : Custom Infotype updations through FM HR_INFOTYPE_OPERATION
Hi All,
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', eventhough it is already having a data in the database table. 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 from the database entry. at this moment it gets dumped at the statement
assign record to <record> casting type (tabname). "XDP UniCode
where tabname is proposed from t777d-ppnnn. which is a structure and having a value as P9008. If i change the value at debug point to PA9008. it works fine. is there anything extra i need to do to solve this issue? )
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,
Check this code once
Read Infotype9004 Record for the personnel No
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
tclas = A
pernr = pernr
infty = 9004
IMPORTING
subrc = v_subrc
TABLES
infty_tab = it_pa9004
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
Read it_pa9004 into wa_pa9004 with some condition.
if sy-subrc eq 0.
Lock the employee for processing infotype 9004
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = wa_pa9004-pernr.
v_begda = wa_9004-begda.
v_endda = wa_9004-endda.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = c_9004
number = wa_9004-pernr
subtype = c_0001
validityend = v_endda
validitybegin = v_begda
record = wa_9004
operation = c_mod
tclas = c_a
dialog_mode = c_0
dialog_mode = '2'
IMPORTING
return = wa_return.
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = wa_pa9004-pernr.
endif.
reward the points if it is helpful.
Regards,
Srilatha -
How to push custom infotype details to Standard Log Report
Hi Experts,
i am using S_AHR_61016380 SAP Standard Report for Log Change Data in
the report development. However, the standard report for logged changes
does not capture the long term documents run for the custom infotype.
it is only giving the logged changes for the standard SAP infotypes
and it doesnot capture any details for the custom infotype.
We are looking a possibility on how to push custom infotype details to S_AHR_61016380.
Pls suggest in case you have any inputs for the same.
Thanks & Regards,
Kishore.Hello Amith,
As u said i have created a Z program, and also i have used the following FMs.
1. 'HR_INFOTYPE_LOG_GET_LIST'
2. 'HR_INFOTYPE_LOG_GET_DETAIL'
Using these FMs i am able to get log records from the standard infotypes but i am unable to fetch data from the custom infotype tables.
Please give me any solution to read the log records from the custom infotype tables.
Thanks,
Kishore -
IDOC :: how to send data from Custom Infotype in SAP HR to third party
Hi,
I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
Please help me in doing it.
I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
ZTALENT Talent Management
5 E1PLOGI Header for an HR Object (Master Data or Organizational Data)
5 E1PITYP HR: Transported Infotypes and Subtypes for an Object
ZPUSER User base Data File
ZPERSON Personal Information File Segment
ZPOST Position File
ZOPE Overall Performance
ZPWORK Outside Work Experience
ZPEDUC Education Details of Employee
E1P0000 HR: HR Master Record Infotype 0000 (Actions)
E1P0001 HR: HR Master Record Infotype 0001 (Org. Assignment)
E1P0002 HR: HR Master Record Infotype 0002 (Personal Data)
E1P0016 HR Master Record: Infotype 0016 (Contract Elements)
E1P0022 HR Master Record: Infotype 0022 (Education)
E1P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)
E1P0041 HR Master Record: Infotype 0041 (Date Specifications)
E1P0105 HR: HR Master Record Infotype 0105 (Communications)
ZE1P9020
ZPLANG Language Details
ZACTION Actions Changes
Regards,
KrishnaHello Shankar,
Technically TEMSE files are read by calling the following 3 function modules in sequence,
1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
2) RSTS_READ : read the object
3) RSTS_CLOSE: close the object
Regards,
Rajesh -
Problem in custom infotype module pool
Hi experts,
I have created custom infotype using PM01 where i am showing fields Basic and HRA. When I enter the value for Basic, automatically the calculation for HRa should be done depending on formula. Also, the HRA fields should be only output field. When I do the changes in the module pool PBO and regenerate the object , the changes I made get disappered. Do I have to create Z of the includes. If so, how to assign it to the infotype? Please help me to solve this problem since its urgent.
Thanks in advance.
Proper solution would be rewarded.
UjjwalaC
This is the flavour of Infotype.
When you regenerate the Infotype, you are again reassigning the Chanrecterstcis of your Infotype. so the Existing will get regenerated with the Standard Code.
To avoid this what I suggest you is.
After finishing the Regeneration then edit the Module pool of the Infotype basically Screen 200 then add your code and Activate it there itself. Hope you got it.
If you again Regenerate it you loose your Code.
If you have further Questions please let me know.
Maybe you are looking for
-
I don't want to listen to EVERY podcast in my library
It seems that to download new podcast episodes. I have to listen to the oldest one on my computer/ipod so it can download the latest episode. Sometimes I go weeks without listening to podcasts on my itunes or ipod because I listen to them straight fr
-
on my IMac the internal speakers have ceased working - in the sound preferences area only digital out sound is there no internal speakers to choose so unless I connect external speakers I have no sound
-
What is this icon notification?
I had a new icon notification pop up today. It's at the top where email notifications (or others) would appear. It's a orange/blue globe with a "1" next to it. Looks like an email notification or something of the such? But I haven't added any new ema
-
Can't restore iPod and the music I had has disappeared
My iPod 20 Go wasn't functioning very well, it often played fragments of songs and often skipped songs. And now all the music I had on my iPod has disappeared, iTunes doesn't reconise the iPod and I can't restore it. The iPod seems to be working corr
-
DPM 2012 R2 All backups fail with recovery point volume not available after resizing OS disk
I resized the C drive partition of my DPM server (the data is on a separate dedicated array) and everything failed. I put it back but everything is still failing with the same problem as here: DPM 2007: The recovery point volume is not available? I'v