Infotype problem
Hi Gurus,
I have created a zinfotype: 9010.
When i use T-Code : PA30 in cahnge mode to edit entries it is not changing in the table.
I am using the following code to get the values and update the values.
IMPORT it_text1 FROM DATABASE pcl3(an) ID p9010-zemphist. ' To get the value
EXPORT it_text1 TO DATABASE pcl3(an) ID p9010-zemphist. " To update the value
But it is not updating the table.
Best Regards,
Navin Fernandes.
Not sure but you can try to call FM HR_INITIALIZE_BUFFER right after Export Statement.
Similar Messages
-
HR Custom InfoTypes problem when added to custom Infoset Report for PA
Hi, I am having an issue with the adhoc query /SAPQUERY/HR_ADM. I added the custom infotypes 9* I created to this standard infoset by using SQ02 and adding these by going into the menu path Edit--> Change InfoType selection. I regenerated this object and attached to a transport. The query runs fine in the DEV system where I made the change...I can choose fields for output or selection from the standard infotypes and custom infotypes as expected. I migrated this transport to the test system and now when I try to do the same thing I get an error when I try to click on any object in my custom infotype and some of the standard infotype. I tried regenerating and resending to the test system and still have the same issue. This is the error in the dump:
79 * create work area
80 create data data_wa like line of data_table.
81 assign data_wa->* to <data_wa>.
82 assign component fcat_wa-fieldname OF STRUCTURE <data_wa>
83 to <field>.
84
85 loop at t_fcat into fcat_wa.
86 field_filled = 'X'.
87 assign component fcat_wa-fieldname OF STRUCTURE <data_wa>
88 to <field>.
89 if sy-subrc <> 0.
>>>>> raise internal_error.
It appears the TEXT488 is the value in the fcat_wa-fieldname and I do not see this in the data_wa.
Does anyone know how to fix this problem or what I might try or look at to see what the difference is between the DEV system (where it works ok) the the Test system where it is giving me an error?
Thanks in advance for any help you can provide.
LaurieAfter further investigation I found the problem to this was in the generation of the objects. Even though I generated before attaching to a transport and all looked ok, there is some sort of bug causing it to not generate properly so I had to sign on to each environment and generate the object in SQ02 including in Production. After I did this the custom infotypes were accessible in the Infoset.
-
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 -
Hello all,
We are using SAP HR activesync as the authorative source. Some time ago something happened and we began getting an error. This is actually a really serious error.
The error is java.lang.ArrayIndexOutOfBoundsException: 973.
Apparently for some reason the JCO library is trying to parse the incoming string but since the incoming string is 966 bytes long the exception occurs. (as i saw in the WSTrace.log file)
LONG_INFTY is set to X.
So anyone has any idea on this?
Best,Hello again,
We seem to have the latest versions. I think what is happening is, somewhere during the parsing process, JCO fails. It may stem from a connection loss or something else but I have searched deep and wide but couldn't find anything.
By the way, do you have any idea why JCO trace levels are reset to 0?
I see this in the last trace file generated..
Provisioner [10:40:47:431]: [JAV-LAYER] JCO.setProperty(jco.trace_level, 0) -
SAP HR Infotype with Customized layout from Z table
hi Expert,
I'm developing customized infotype, IT9906 and a customized Table ZFDET. some ZFDET field will be show on the IT9906 infotype screen. refer to this picture for clearer view: [Infotype problem|http://2.bp.blogspot.com/-Kcun_tRx1OI/TgMOds-4bNI/AAAAAAAABrk/06xcVZx1Z-Y/s1600/Problem+Infotype.bmp]
what i'm problem is:
1) How to control customized field , example ZFDET-NP1 .... for mode DISPLAY or EDIt. my customized field still in Edit mode (white color) even user select the DISPLAY mode.
2) also some of my IT9906 component as shown on screen, also face same problem.
i'm tried to set Group as 006, but still not success. Please Advice. tq.hi all, i managed solved the problem. i'm not realized there i'm not activated the this module:
module modify_subscreen at PBO on each screen.
once activated and made setting every Sub-screen Tab as group1 = 00f and group3=004, Text input as group1=006. then problem solved. tq. -
Problem while inserting a record to infotype 416
Iam facing a problem while inserting a record to the infotype 416 for a personnel no using the FM 'HR_INFOTYPE_OPERATION'.I have created a FM to insert a record to the infotype 416.In that FM iam using the FM 'HR_INFOTYPE_OPERATION' to create a record for infotype 416.while executing my FM the FM 'HR_INFOTYPE_OPERATION' is returning the return value 0.But when i check in PA30 for the infotype 416,there is no record created for that personnel no.Also in the table PA0416 the record is not get created.SO what might be the problem.can anyone please provide me help on this.
I have attached the code of my FM for ur reference.
FUNCTION Y_ESS_FL_ENCASH.
DATA: G_COMPENSATION_AMOUNT LIKE PA0416-AMONT,
G_RETURN TYPE BAPIRETURN1.
DATA T_PA0416 LIKE P0416 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
TCLAS = 'A'
PERNR = '00000014'
INFTY = '0416'
BEGDA = sy-datum
ENDDA = sy-datum
BYPASS_BUFFER = 'X'
LEGACY_MODE = ' '
IMPORTING
SUBRC =
TABLES
INFTY_TAB = T_PA0416
EXCEPTIONS
INFTY_NOT_FOUND = 1
OTHERS = 2
LOOP AT T_PA0416
WHERE SUBTY = '1002'.
ENDLOOP.
IF SY-SUBRC <> 0.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = '00000014'
IMPORTING
RETURN = G_RETURN.
IF SY-SUBRC <> 0.
MESSAGE I016(RP) WITH ' RECORD IS ALREADY LOCKED'.
ENDIF.
T_PA0416-PERNR = '00000014'.
T_PA0416-SUBTY = '1002'.
T_PA0416-INFTY = '0416'.
T_PA0416-OBJPS = ''.
T_PA0416-SPRPS = ''.
T_PA0416-SEQNR = ''.
T_PA0416-AEDTM = SY-DATUM.
T_PA0416-UNAME = SY-UNAME.
T_PA0416-ENDDA = SY-DATUM.
T_PA0416-BEGDA = SY-DATUM.
T_PA0416-NUMBR = '10'.
T_PA0416-WGTYP = '1530'.
T_PA0416-AMONT = '15000'.
T_PA0416-WAERS = 'INR'.
T_PA0416-QUONR = '1'.
APPEND T_PA0416.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0416'
NUMBER = '00000014'
SUBTYPE = '1002'
OBJECTID =
LOCKINDICATOR =
VALIDITYEND = '31129999'
VALIDITYBEGIN = SY-DATUM
RECORDNUMBER = ''
RECORD = T_PA0416
OPERATION = 'INS'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT = 'X'
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = G_RETURN.
KEY =
IF G_RETURN+0(1) EQ 'E'.
MESSAGE I086(ZHR) WITH 'Record is not inserted in IT416'.
ELSE.
COMMIT WORK.
ENDIF.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = '00000014'
IMPORTING
RETURN = G_RETURN.
ENDIF.
ENDFUNCTION.Hi Murthy
With a first glance, I think you have given a wrong parameter value to "validityend". It should be '99991231' not '31129999' .
If your problem still persists, try inserting the data online from PA30. If your input causes no errors, then please state what the return parameter contains.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a> -
Problem in updation of infotype 1 & 8
Hi all,
I m using funtion module 'HR_MAINTAIN_MASTERDATA' for updation of data in infotype 1 and 8, But basic pay does not updated through that. all other fields are getting updated. I also used HR_INFOTYPE_OPERATION FM, but problem remains same.
<< Moderator message - Everyone's problem is important. Please do not ask for help quickly. >>
Edited by: Rob Burbank on Dec 3, 2010 4:03 PMhi volker,
Manually am able to update that field UNPSI.
I have checked the table pa0584 manually updated value is found in the table.
But the value which i have inserted using the FM created an empty record with the field UNSPI having 0 value.
I have given all the fields into the record as same as when it is update dmanually.
I dnt knw why the value is not updating.
p0584_2-pernr = wd_comp_controller->gv_pernr.
p0584_2-infty = '0584'.
p0584_2-subty = '0002'.
p0584_2-begda = '20100401'.
p0584_2-endda = '20110331'.
p0584_2-OBJPS = '01'.
p0584_2-SPRPS = 'X'.
p0584_2-seqnr = '01'.
p0584_2-UNSPI = ls_actual_details-other_income.
p0584_2-INTYP = '0002'.
p0584_2-WAEHI = 'INR'.
p0584_2-AEDTM = sy-datum.
p0584_2-UNAME = sy-uname.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0584'
number = wd_comp_controller->gv_pernr
SUBTYPE = '0002'
OBJECTID = p0584_2-OBJPS
LOCKINDICATOR = p0584_2-SPRPS
VALIDITYEND = p0584_2-endda
VALIDITYBEGIN = p0584_2-begda
RECORDNUMBER = '01'
record = p0584_2
operation = 'INS' "lv_op_type
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT =
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = return_584_2
KEY = key.
Pls give some solutions
Thanks
Nalla B -
HR-abap problem in getting wage type in 0008 infotypes
i am creating sap scripts for appointment letters in that i am coolecting data from table pa0008,
for that i am using field bet01 , bet02, etc for the diff. allowances .
if the order of allowances are changed in 0008 infotype then field form which i am getting amount is also getting changed.
E.G :- i am using perticular order in 0008
then it gives me wage type in lga02 and corresponding amount in bet02 for first allowance
wage type in lga03 and corresponding amount in bet03 for second allowance
and now if i interchange order of allowances in pa008 then t gives me
wage type in lga02 and corresponding amount in bet02 for first allowance
wage type in lga03 and corresponding amount in bet03 for second allowance
i hope you understnad my problem .
Thanks in advanceHi,
please check thiscode
call function 'RP_FILL_WAGE_TYPE_TABLE_EXT'
exporting
appli = 'P'
pernr = p0467-pernr
infty = pinfty
SUBTY = PSUBTY
OBJPS = POBJPS
SEQNR = PSEQNR "QEAK100596
waers = sy-waers "XYMK097435
begda = datum
endda = datum
tables
pp0001 = p0001 "input
pp0007 = p0007 "input
pp0008 = p0008 "input
ppbwla = ppbwla "output
exceptions
error_at_indirect_evaluation = 1.
check sy-subrc eq 0.
loop at ppbwla.
if ppbwla-waers ne q0467-waer2.
perform convert_to_local_currency using
ppbwla-betrg ppbwla-waers
q0467-waer2 ppbwla-betrg
datum.
modify ppbwla.
endif.
endloop.
Ref program
MP046740
Thanks and regrds
Durga.K -
Problem in creating help input for custom infotype creation
Hi,
I had the task of creating a custom infotype for storing recruitment test result.
I created it using the following structure:
Component ______________Data Element
TEST_TYPE______________ZTEST_TYPE
TEST_DATE
LOCATION
PIC_____________________RFPER
EX_PIC
TEST_RESULT____________ZRESULT_TYPE
STATUS_________________ZSTATUS_TYPE
OTHER_POSITION_________PLANS
Now for the component other_position for the entry help i use is H_T528B with check table T528B. My objective is, when the infotype is accessed through pa30 and user is inputting the entry, when they press F4 on the inputbox for other_position, help search should show the list of all position within the system. But rather than that, the input help display such message:
No values selected
Maintain entries?
Yes No Cancel
When I choose yes, the input help suddenly prompt me to "Choose customizing project" which i believe is from SPRO.
How do I fix this problem so that when I press f4, the help will shows all position within the system.
Thanksnot answered, but found another work around
-
Problem with decimal fields using BADI For PD Infotypes
Hi,
I'm implementing BADI HRBAS00INFTY.
For reading the fields of infotype , I'm using the substring
of the field NEW_INNNN-VDATA .
I have a problem with fields of type DEC.
In field NEW_INNNN-VDATA it looks like this : '####'
I believe that the possible reason for this is conversion from DEC to CHAR
But I don't know how to fix it.
Thank you .
Message was edited by: Alon LozinskyHi Alon,
We had same issue. Use following code.
data: hri1011_str type hri1011.
move new_innnn-vdata to hri1011_str.
HRI1011_STR fields will have decimal values.
Let me know if you still have any issues. If solution works, kindly do Point Recognition.
-Bharat -
Display Problem in Custom Infotype
Hello Experts,
A problem is being encountered in the display of data using the overview icon for a custom infotype. When we enter data through transaction PA30, we are able to see data as per the date validities when the user clicks on display icon. But when the Overview button is clicked, the data is not being displayed properly.
The following comments were logged with the following dates.
02.12.2007 31.12.9999 - Comment 1
14.11.2006 30.11.2006 - Comment 2
01.01.2006 13.11.2006 - Comment 3.
when the same is observed using Overview icon, data is not being diaplyed properly.
Any help would be greatly appreciated.
Thanks
Srinivas.Hi Sankhadip,
Thanks for your reply. The problem is in my Custom IT9005. The time constraint of the infotype is 2. I am using LSMW to upload data. I am not having any problem with loading data as of now, but its only wit the overview icon, its not updating properly.. Please help me with this. Thanks again for your response.
Srinivas. -
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 .
-
Inbound IDoc(HRMD_A07) problem in delimiting the infotype records
Hi All,
I am using Inbound IDoc (HRMD_A07) approach to update infotypes. I found that I am able to create a record in an infotype, but there is a problem in delimiting the infotype.
Please help me out in case I am missing something.
Thanks,
ABAP_DEVHi,
Did you get this resolved. Even i'm facing this issue. Is it a config or do we have to do something in the IDOC.
Thanks,
Jilly -
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. -
Problem in saving the details of 0590 infotype...
Hi Experts,
When im trying to save the longterm reimbursement amount
in 590 infotype itis howing the error message that """Hard furnishing scheme is not available for the employee number ** on 01.04.2007"""
What could be the problem.Where should we change the details....
Please advice.
Regards,
V ram.Hai.
Pls check 40LTR feature.
The feature 40LTR is configured to default the end date for long term
reimbursements infotype (0590). The defaulted end date for the infotype
could be begin date dependent or a fixed end date. The validity period of
the reimbursement is the block of years specified in the feature. The
configuration can be done for the sub types of the infotype like HFS-
Hard furnishing scheme or SFS- Other reimbursements. The block of years
and fixed end date are separated by a forward slash in the respective
order.
I doubt u didnt configure this feature... for Hard furnishing scheme...
Edited by: Ram Manohar on Mar 25, 2008 5:20 PM
Maybe you are looking for
-
I have a license for Photoshop and Premier Elements 10, where can I download it from?
I am deploying a new PC to a user and need to transfer Premier Elements and Photoshop Elements 10 onto the new PC. Could you please provide me a location for older software? Thank you.
-
Rate Apple customer service for me
I'm a new user and finding Apple customer service very un-responsive to resolving a problem I had with an unrecognized charge to my account. Account has been disabled and I have no access while they "investigate." I have given new credit card but tha
-
Search very slow for one Mailbox
I am running GW 7.03 on NetWare 6.5 SP7 server. I have one mailbox that is about 1 GB in size and when I search the text in the message, it takes very long time (sometime longer than 5 minutes and still no result return). This only happen since last
-
Hi, I built this website; http://www.mobizen.com.mx When I open it, there's a message at the bottom left saying: "(1 item remaining) Opening page http://www.mobizen.com.mx/..." Looks like all the elements of the page are opened already. I wait. But t
-
Best way to create an editable datatable to interface with a db??
What is the best way to do this in JSP? The table should have some cells that are editable text fields and some cells that allow the user to change a drop-down list. The table should have many rows (~200), be scalable, and ease of programming/code si