Validation Issue in Custom Infotype
I have Copied an Infotype from 0582 . so it created an custom database table PA9***. After final completion during testing the user are creating the records and saved and it is working fine till now. The Problem is when users try to change the same Record that is just created , the information is not getting updated , the system also gives an information message 'No Changes Found' inspite of obvious changes. I Verified the information from both data base table and end user screen, it is not getting updated in neither of the Places. Please Help. any Further Information needed ask Me.
Hi Shanthi,
I am having the same problem.
I had created a custom infotype ,But when I try to view it through PA30 in Display mode.
the fields are still enabled.
Whereas , in create mode, its working fine.
Please guide me the steps to disable the fields in Display mode in PA30.
Thanks
Kanupriya.
Similar Messages
-
Custom infotype creation issue
Hi Experts,
I have a requirement to create a custom infotype based on certain conditions. But there is a problem while saving data in the infotype. The infotype is populated from another infotype automatically through dynamic actions.
But while saving the data for the first time it happens as per the requirements and data gets saved properly.
But when the data is saved for the second time for the same pernr , the previous data is over written even though the new record starts with a different begin data.Also i have created the infotype with time constraint '1'.
can you please let me know if i am missing anything while creating or is this a logic issue .? all the logic has been coded in the flow logic part of the screen.
also if i dont save the data in the infotype it does not pop up any message like 'data not saved' which usually happens with every infotype. Please clarify me on this as well...
Thanks,
Raj Thilak.Hi,
Check the logic how it is updating the custom infotype . I think it is nothing to do with creation of custom info type
Regards
Krishna -
Issue in custom subscreen added in infotype 0021
Hi experts,
Im doing the enhancement in infotype 0021. I have added some custom fields (custom subscreen) in IT0021. Those fields (text boxes) are grouped inside a group (Box) in SE51.
Now my issue is that when i see the custom subscreen in Change mode in PA30 transaction, it is getting displayed in enable mode. But when i see in Disable mode, still those text boxes are shown in enable mode. Actually those need to be shown in Disable mode , when i see in Display mode in PA30.
pls tell me how to achieve the same.
Regards,
ShanthiHi Shanthi,
I am having the same problem.
I had created a custom infotype ,But when I try to view it through PA30 in Display mode.
the fields are still enabled.
Whereas , in create mode, its working fine.
Please guide me the steps to disable the fields in Display mode in PA30.
Thanks
Kanupriya. -
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. -
Custom infotype pqah report issue...
Dear Friends,
For custom infotype In PQAH report generation we are getting message as u201CError when generating the report (see long text)u201D.Is there any restriction for field lengths & characters in report generation. Please give me a solution about this issue.
Thanks in advance,
SatyaDear Friends,
We have total 27 output fields in this custom infotype. If I will select some output fields in that custom infotype pqah report is generating. But if I will select all out put fields that specific infotype then system is showing that error message in report generation.
Thanks in advance,
Satya -
Custom infotype - field length issue
Hi experts,
We have a requirement of keeping so much free text fields in the custom infotype. However, the system doesnu2019t allow having these many fields in the PS structure. We got the information from the error description as- The maximum length of PS structures for infotypes is 1000; this is the length of the general infotype header in bytes. Could you please suggest some way to solve this issue?
Thanks,
RahulGive a field and try to enter some decription for large text in that field .
Create a table for that field and give F4 for that .
Maintain the text in SO10 and call that text using read_text fn module .
Try this way -
About to use HR_INFOTYPE_OPERATION to create customer infotype issue:
hi
i want to create infotype use function(HR_INFOTYPE_OPERATION).
this infotype is customer infotype.
the first scenario is:
i'm be sure no data about one employee in this infotype(9004).
to call with data upload function and put data into internal table IT_PA9004.
and the table data as follow:
one line: it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080201' , it_pa9004-endda = '20080930'
it_pa9004-zzvalue = 50 (customer field).
two line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080201' , it_pa9004-endda = '20080930'
it_pa9004-zzvalue = 60 (customer field).
three line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080101' , it_pa9004-endda = '20081031'
it_pa9004-zzvalue = 70 (customer field).
four line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080101' , it_pa9004-endda = '20081031'
it_pa9004-zzvalue = 80 (customer field).
i run the programme and get information is:
11022887 insert ok.
11022887 insert ok.
11022887 insert ok.
11022887 insert ok.
but i use the transation PA30 to view all data:
in database just exist one row:
four line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080101' , it_pa9004-endda = '20081031'
it_pa9004-zzvalue = 80 (customer field).
the second scenario is:
in database the infotype have exist one row:
pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ02',
pa9004-begda = '20080318' , pa9004-endda = '20080318'
pa9004-zzvalue = X (customer field).
and i create another row:
line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ02',
it_pa9004-begda = '20080318' , it_pa9004-endda = '99991231'
it_pa9004-zzvalue = 80 (customer field)
i run the programme and get information is:
11022887 insert ok.
the three scenario is:
set HR_INFOTYPE_OPERATION of import parameter operation = 'MOD'
in any scenario will get error :not exist subtype .
what heppend about HR_INFOTYPE_OPERATION working,i had to use this function to
create other infotype of SAP owner.
and will create successfully.
so i thank it may be config Constraints about customer infotype.
is time Constraints effect?
so i want to how to check it?
and if i want to create one infotype for customer using PM01 what some thing
must be taken into account.
think you advance.
partial source code as follow:
FORM ACTION_INSERT .
DATA: P_FLAG TYPE C.
DATA: WA_LOG LIKE LINE OF DATA_LOG.
DATA: PP_ACTION TYPE PSPAR-ACTIO.
LOOP AT IT_PA9004.
CLEAR P_FLAG.
CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'.
PERFORM lock_employee USING IT_PA9004-pernr CHANGING P_FLAG.
PP_ACTION = IT_PA9004-ACTION.
PERFORM HR_INFOTYPE_OPERATION USING IT_PA9004 PP_ACTION CHANGING P_FLAG.
IF P_FLAG IS INITIAL.
if test_run = space.
COMMIT WORK.
else.
ROLLBACK WORK.
endif.
write:/ it_pa9004-pernr,'insert ok'.
ELSE.
ROLLBACK WORK.
write:/ it_pa9004-pernr,'error'.
ENDIF.
PERFORM unlock_employee USING IT_PA9004-pernr .
ENDLOOP.
ENDFORM. " ACTION_INSERT
FORM LOCK_EMPLOYEE USING P_PERNR
CHANGING PP_FLAG.
CHECK PP_FLAG IS INITIAL.
CLEAR P_RETURN.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = P_PERNR
IMPORTING
return = P_RETURN
EXCEPTIONS
OTHERS = 01.
CALL FUNCTION 'HR_INITIALIZE_BUFFER'
EXPORTING
pernr = P_PERNR.
IF P_RETURN IS NOT INITIAL.
PP_FLAG = '1'.
ENDIF.
ENDFORM. " LOCK_EMPLOYEE
FORM HR_INFOTYPE_OPERATION USING P_PA9004 LIKE IT_PA9004
P_ACTION type PSPAR-ACTIO
CHANGING PP_FLAG.
CHECK PP_FLAG IS INITIAL.
DATA: bapipakey type bapipakey,
P_SUBTY TYPE P9004-SUBTY,
PP_9004 TYPE TABLE OF P9004 WITH HEADER LINE.
CLEAR P_RETURN.
REFRESH PP_9004.
MOVE-CORRESPONDING P_PA9004 TO PP_9004.
IF P_ACTION = 'INS'.
PP_9004-AEDTM = SY-DATUM.
PP_9004-UNAME = SY-UNAME.
ENDIF.
IF P_ACTION = 'MOD'.
PP_9004-AEDTM = SY-DATUM.
PP_9004-UNAME = SY-UNAME.
ENDIF.
APPEND PP_9004.
P_SUBTY = P_LGART.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9004'
subtype = 'FQ03'
subtype = P_SUBTY
number = PP_9004-pernr
validityend = PP_9004-ENDDA
validitybegin = PP_9004-begda
RECORDNUMBER = pp_9004-seqnr
record = PP_9004
operation = 'INS'
operation = P_ACTION
nocommit = 'X'
IMPORTING
return = P_RETURN
key = bapipakey
EXCEPTIONS
OTHERS = 0.
IF P_RETURN IS NOT INITIAL.
PP_FLAG = '9'.
ENDIF.
ENDFORM. " HR_INFOTYPE_OPERATION
FORM UNLOCK_EMPLOYEE USING P_PERNR.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
number = p_pernr
IMPORTING
return = P_RETURN
EXCEPTIONS
OTHERS = 01.
ENDFORM. " UNLOCK_EMPLOYEEhi
i want to create infotype use function(HR_INFOTYPE_OPERATION).
this infotype is customer infotype.
the first scenario is:
i'm be sure no data about one employee in this infotype(9004).
to call with data upload function and put data into internal table IT_PA9004.
and the table data as follow:
one line: it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080201' , it_pa9004-endda = '20080930'
it_pa9004-zzvalue = 50 (customer field).
two line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080201' , it_pa9004-endda = '20080930'
it_pa9004-zzvalue = 60 (customer field).
three line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080101' , it_pa9004-endda = '20081031'
it_pa9004-zzvalue = 70 (customer field).
four line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080101' , it_pa9004-endda = '20081031'
it_pa9004-zzvalue = 80 (customer field).
i run the programme and get information is:
11022887 insert ok.
11022887 insert ok.
11022887 insert ok.
11022887 insert ok.
but i use the transation PA30 to view all data:
in database just exist one row:
four line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ03',
it_pa9004-begda = '20080101' , it_pa9004-endda = '20081031'
it_pa9004-zzvalue = 80 (customer field).
the second scenario is:
in database the infotype have exist one row:
pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ02',
pa9004-begda = '20080318' , pa9004-endda = '20080318'
pa9004-zzvalue = X (customer field).
and i create another row:
line:it_pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ02',
it_pa9004-begda = '20080318' , it_pa9004-endda = '99991231'
it_pa9004-zzvalue = 80 (customer field)
i run the programme and get information is:
11022887 insert ok.
but in database just exist the first data
pa9004-pernr = '11022887' ,it_pa9004-subty = 'FQ02',
pa9004-begda = '20080318' , pa9004-endda = '20080318'
pa9004-zzvalue = X (customer field).
the three scenario is:
set HR_INFOTYPE_OPERATION of import parameter operation = 'MOD'
in any scenario will get error :not exist subtype .
what heppend about HR_INFOTYPE_OPERATION working,i had to use this function to
create other infotype of SAP owner.
and will create successfully.
so i thank it may be config Constraints about customer infotype.
is time Constraints effect?
so i want to how to check it?
and if i want to create one infotype for customer using PM01 what some thing
must be taken into account.
think you advance.
partial source code as follow:
FORM ACTION_INSERT .
DATA: P_FLAG TYPE C.
DATA: WA_LOG LIKE LINE OF DATA_LOG.
DATA: PP_ACTION TYPE PSPAR-ACTIO.
LOOP AT IT_PA9004.
CLEAR P_FLAG.
CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'.
PERFORM lock_employee USING IT_PA9004-pernr CHANGING P_FLAG.
PP_ACTION = IT_PA9004-ACTION.
PERFORM HR_INFOTYPE_OPERATION USING IT_PA9004 PP_ACTION CHANGING P_FLAG.
IF P_FLAG IS INITIAL.
if test_run = space.
COMMIT WORK.
else.
ROLLBACK WORK.
endif.
write:/ it_pa9004-pernr,'insert ok'.
ELSE.
ROLLBACK WORK.
write:/ it_pa9004-pernr,'error'.
ENDIF.
PERFORM unlock_employee USING IT_PA9004-pernr .
ENDLOOP.
ENDFORM. " ACTION_INSERT
FORM LOCK_EMPLOYEE USING P_PERNR
CHANGING PP_FLAG.
CHECK PP_FLAG IS INITIAL.
CLEAR P_RETURN.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = P_PERNR
IMPORTING
return = P_RETURN
EXCEPTIONS
OTHERS = 01.
CALL FUNCTION 'HR_INITIALIZE_BUFFER'
EXPORTING
pernr = P_PERNR.
IF P_RETURN IS NOT INITIAL.
PP_FLAG = '1'.
ENDIF.
ENDFORM. " LOCK_EMPLOYEE
FORM HR_INFOTYPE_OPERATION USING P_PA9004 LIKE IT_PA9004
P_ACTION type PSPAR-ACTIO
CHANGING PP_FLAG.
CHECK PP_FLAG IS INITIAL.
DATA: bapipakey type bapipakey,
P_SUBTY TYPE P9004-SUBTY,
PP_9004 TYPE TABLE OF P9004 WITH HEADER LINE.
CLEAR P_RETURN.
REFRESH PP_9004.
MOVE-CORRESPONDING P_PA9004 TO PP_9004.
IF P_ACTION = 'INS'.
PP_9004-AEDTM = SY-DATUM.
PP_9004-UNAME = SY-UNAME.
ENDIF.
IF P_ACTION = 'MOD'.
PP_9004-AEDTM = SY-DATUM.
PP_9004-UNAME = SY-UNAME.
ENDIF.
APPEND PP_9004.
P_SUBTY = P_LGART.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9004'
subtype = 'FQ03'
subtype = P_SUBTY
number = PP_9004-pernr
validityend = PP_9004-ENDDA
validitybegin = PP_9004-begda
RECORDNUMBER = pp_9004-seqnr
record = PP_9004
operation = 'INS'
operation = P_ACTION
nocommit = 'X'
IMPORTING
return = P_RETURN
key = bapipakey
EXCEPTIONS
OTHERS = 0.
IF P_RETURN IS NOT INITIAL.
PP_FLAG = '9'.
ENDIF.
ENDFORM. " HR_INFOTYPE_OPERATION
FORM UNLOCK_EMPLOYEE USING P_PERNR.
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
number = p_pernr
IMPORTING
return = P_RETURN
EXCEPTIONS
OTHERS = 01.
ENDFORM. " UNLOCK_EMPLOYEE -
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 and validations
Hello All,
I am maintaining a custom infotype 9990 for my client, the infotype stores information about stock options and equity plans. Now I have added a field. The requirement is that when user enters the field or even when tries to change it , either using direct entries in SE11 or even through PA30, then I need to make sure that the value is greater than another field in another table. Doubts raised are
1. Do i need a badi or user exit.
2. Whatever I need where do i need to implement it, i mean in particular function module and at wat fcode and wat program?
Spare me if the requirement is too vague. Please ask for specifications if needed.
thanks and regards,
Reena1) go to SE80 and ur module poolprogram for Infotype 9990 say it is - MP999000.
2) go to ur screen of infotype say 2000
3) in the PAI of the screen u will find the below code just below the" Module Exit at Exit command" -
CHAIN.
FIELD P9343-BEGDA.
FIELD P9343-ENDDA.
FIELD P9343-SALARY.
FIELD P9343-DNAME.
FIELD P9343-HDATE.
FIELD P9343-PLANS Module Check_field.
FIELD P9343-ORG.
FIELD P9343-DOB.
FIELD P9343-NAME.
MODULE INPUT_STATUS ON CHAIN-REQUEST.
ENDCHAIN.
4) in above code say for field PLANS i need to check that it shud be greater than field ORG.so i have written a module for field PLans named as 'Check_field'.
5) code of that module -
*& Module Check_field INPUT
text
module Check_field input.
if P9343-PLANS LT P9343-ORG.
MESSAGE E000(000) WITH 'Position can not be smaller than org unit number'.
endif.
endmodule. " Check_field INPUT -
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 -
HR ABAP : Custom Infotype updations
Hi All,
I am new to HR ABAP. 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'. 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.
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 Remi,
I have done the same thing. Please see the code. data is also available in the database. But the output is the error message. Please give some inputs on this.
***Updation of the PA9003 Infoty pe with the LTA amount and Medical Amount
SELECT SINGLE endda
begda
FROM pa0001
INTO (endda, begda)
WHERE pernr EQ pernr
AND endda GE sy-datum
AND begda LE sy-datum.
SELECT SINGLE *
FROM pa9003
INTO lwa_pa9003
WHERE pernr EQ pernr
AND endda >= sy-datum
AND begda <= sy-datum.
wa_pa9003 = lwa_pa9003.
wa_pa9003-zzallw = zzallw.
wa_pa9003-zzlta = zzlta.
wa_pa9003-zzmed = zzmed.
ADD 1 TO wa_pa9003-seqnr.
***Locking the object
CALL FUNCTION 'ENQUEUE_EPPRELE'
EXPORTING
pernr = pernr
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9003'
number = pernr
subtype = wa_pa9003-subty
objectid = wa_pa9003-objps
lockindicator = wa_pa9003-sprps
validityend = wa_pa9003-endda
validitybegin = wa_pa9003-begda
recordnumber = wa_pa9003-seqnr
record = wa_pa9003
operation = 'MOD'
TCLAS = 'A'
DIALOG_MODE = '0'
nocommit = space
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = l_bapireturn
key = bapipakey_tab
***Unlocking the object
CALL FUNCTION 'DEQUEUE_EPPRELE'
EXPORTING
pernr = pernr.
Regards,
Brijesh Patel -
Record not appearing in custom infotype without selecting the period.
Hi All,
I have created a HR Custom Infotype for Medical Examination. Whenever i create a record for a particular employee and again i click on the Display button for the same employee, a message is diplayed "No data stored for Medical Examination details in the selected period". And when i select the ALL radio-button in the period selection area,only then the record is displayed. Why is it so that manually i need to select the ALL radiobutton to display the record? It is not so for other infotypes. Is there any solution for this, i mean can we change some settings to resolve this issue?
Thanks in advance,
Arpita Raizada.In PA20/30 we have period from and to dates on screen. If any date is entered on these screens then data from infotype is displayed based on these dates.
If your record doesn't overlap/falls with these entered dates then system displays the message. Changes the period dates accordingly and system will display the records valid as of entered date.
Regards,
Ramnivas -
Error while editing an automaticlly populated record of a custom infotype
hi,
a query in HR ABAP.
i have created a custom Infotype to store the CTC details of an employee. this custom IT needs to get the records auto populated, when they are created in Infotype 0008.
i have used the exit. EXIT_SAPFP50M_002 inside which an include program is written :ZXPADU02
using this, the records made to get create automatically in the custom IT.
but when we try to modify or delete those records thru the tcode PA30,
it does not allow to do so and throws a standard error message. as below.
Specified subtype is invalid
Message no. PG088
please help me out to fix this issue.the exact point of the std error is,
i do the folowing steps.
1)_ for auto creating a record in custom IT Pa**** , i goto transaction, PA30, create record in IT 0008 with a basic Pay., click on save.
on saving , the EXIT_SAPFP50M_002 is called where i ve written a Z inlcude Program, which inserts the record in custom IT PA****. this is successful.
2) when i try to change or delete the same record which i ve created as above, through the Tcode PA30 for custom IT, PA
****, i get the error.
hope the problem is clearly mentioned -
Custom Infotype length limitation
Hi,
I have a requirement to create a custom infotype in ECC 6.0 with a table control which can have a maximum of 50 line items. Something similar to basic pay infotype and PA0008. While going through the SAP documentation I found the below statement .
"A new infotype is limited to a maximum of 1000 positions. This restriction is due of the length of structure PRELP, which is used as a container during infotype processing."
This is available at
http://help.sap.com/saphelp_erp60/helpdata/en/60/d8d8c7576311d189270000e8322f96/frameset.htm
In our implementation, each record of standard table PA0008 could go upto 1200 characters with a maximum of 40 line items in the table control. We never used more than 5 line items and never had any problem.
Since the custom table control can have upto 50 line items, each record of my custom table pa9xxxx could go upto 4000 characters and I'm concerned that if this is going to be an issue. Any suggestions in this regard please ?
Thanks for your time,
Kumar.Hi Venkata
Please see notes 563145 and 1168062 for help
Please also be aware that custom infotypes and the effects of changing structures are the customers responsibility
Best wishes
Stuart -
Change Pointers not being created for HR-PA Custom Infotype
Problem Description:
We have a custom Infotype in SAP to store the data for contingent employee - Infotype 9001. Change pointers is
turned on. We are running the program RBDMIDOC to send changes to Oracle IDM using message HRMD_A. The change
detected for all infotypes except 9001. For 9001, the change pointer is not created.
The following are the current configuration details:
IDOC Extension Created to Idoc type HRMD_A07 (ZHR_EXT)
custom segment zhr_seg
Change pointers are switched on.
Change pointers switched on for message Type HRMD_A.
IDOC configuration created for Port / Process code etc.
Maintenance of view T777D - Added ZHR_SEG.
If I add the segment ZHR_SEG as a 2nd segment to Infotype 0000, I dont get a syntax error. But the changes for Infotype 9001 are not picked up.
If I add the segment ZHR_SEG as a segment to Infotype 9001, I get a syntax error - check EDI: Syntax error in IDoc (mandatory segment missing) below.
EDI: Syntax error in IDoc (mandatory segment missing)
Message no. E0072
Diagnosis
The segment ZHR9001 has the attribute 'Mandatory' in the syntax description of the basic type HRMD_A07 (customer enhancement ZHR_EXT). However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
This error may have been triggered by an unidentifiable segment before the expected mandatory segment.
Procedure
Please check the IDoc or the syntax description of the basic type HRMD_A07 (customer enhancement ZHR_EXT).Were you able to resolve the issue?
If yes, could you please share what was done to resolve it.
Your help will be greatly appreciated.
Maybe you are looking for
-
Is there a disk limit for SXDE 9/07 VMWare ISO
I just downloaded SXDE VMWare ISO and run it as a visual machine from my windows, but I'm wondering if there's any disk space limitation for this visual machine. coz i noticed the VM folder size is only about 6G. is there anyone know about this? than
-
How to pass username/password to BPEL web service from java proxy?
Hi all, Environment : SOA Suite 11g I am using basic http authentication in my SOA services using "oracle/wss_http_token_client_policy" policy. Now i need to invoke these SOA web services from a java proxy. Please let me know how this can be done. Th
-
IE launch failure: "Could not load file/URL specified"
My user is receiving this failure : "An error occurred while launching/running the application. Category: Invalid Argument error Could not load file/URL specified: C:\Documents and Settings\XXX\Local Settings\Temporary Internet Files\Content.IE5\GDMV
-
Recording SAPGUI and Windows file dialogs
Has anybody been successful in recording some Windows dialogs that can popup in the flow of a particular SAPGUI scenario, as uploading a local file into SAP or downloading data to the PC. There is a windows file selection dialog which is used to sele
-
New HP Support Forum Twitter Handle
Follow Us You can Follow the Twitter handle @HPSupport to stay abreast of the HP Support Forum latest happenings. For example, we will tweet out: Experts Day Events New Solutions on the Forum The Post of the Week New Forum Capabilities Upcoming Event