Tables of pa30
Hi, somebody knows which tables use the transaction pa30, I need getting email for number of person,but I didn't find some function for that.
Email is stored as subtype 0010 on Infotype 0105 & you can look up the db table PA0105.
~Suresh
Similar Messages
-
Dump when Inserting records in Info type Tables through PA30
Hi Experts,
I am facing a issue in the transaction PA30 where in any changes made and saved leads to Runtime error (Inserting records in Infotype tables ).
Error Line : insert (dbname) from <prel_db>
The Structure is the same but the data mismatch with the data types like
Field NUMC(4) is filled with 00 instead of 0000
Field DATE and TIME are Blank instead of 00000000 or 000000.
Similarly facing the same issue in few other fields.
The issue is same as the below thread and tried the solution given by Taher kanchwala by changing the data in the debugger and it worked.
DBIF_RSQL_INVALID_REQUEST error while inserting records in infotype tables
BUT i am not sure about the changes that needs to be done for fixing this issue permanently as it is mentioned to change at the configuration level.
Any suggestions or solutions to this issue??
Regards,
AyyamPerumalHi Nabheet,
Thanks for your time. No enhancements are done.
The issue is in the below statement where dbname is PA2001 and the field symbol <prel_db> has the structure of PA2001.
insert (dbname) from <prel_db>
But the data is not matching with the data types like NUMC, DATE, TIME..
Even the DOCSY and DOCNR which should been generated at this point is also not generated.
On correcting this and giving dummy doc values, records are inserted.
Attaching screen shots for your reference. Any solutions to this??
Thanks and regards,
Ayyamperumal -
Please do not enter data for payment method Cheque papel error in IT0009
Hi Experts,
Whenever i try to maintain bank details infotype for payment type C(Check Papel),the system is throwing error "Please do not enter data for payment method Cheque papel". As per SAP std, I had deleted the entries for bank key, bank account and bank control key and maintained IBAN field in IT0009.While saving i am getting the error""Please do not enter data for payment method Cheque papel" and I couldn't save the record.
Then i deleted the entries for bank key, bank account and bank control key and IBAN field also in IT0009. While saving i am getting the error "Fill in all required entry fields". System behaves as if Iban a required field in IT0009. Our bank details infotype is country specific.We made it country
specific through feature P0009 and setting in table T588M.As per our conf setting IBAN field is optional. Even though IBAN field is optional, this field behaves as that of a mandatory field in IT0009.Iam facing this issues only for a few countries like Spain,Italy etc.For other counties i am able to change of create Bank details record for payment type C.
I have checked in Payment Methods by Country in FBZP (Payment Method Classification is set to Check and BANK DETAILS box is unchecked) but still no solution. Do i need to check in any other setting.
Please shed some light on this issue.Thanks in Advance.Hi Jobish,
It's weird but I tried the below method and it works
Here's what you can try in case you do not want to enter the bank details for payment method 'C'..
Tcode FBZP - > payment methods by country - > select payment method as 'C' and make below changes (make a note of these changes as you will have to undo them after saving the table):
a. Payment method by classification - select bank transfer
b. Reqd master record specifications - check the bank details options and select the options which you want to be entered (a/c no required, IBAN rqd, SWIFT code rqd)
Save the table.
PA30- > Edit any record once again and save it.
Again go to FBZP and undo the above changes, i.e, revert to the original entries and again save the table.
Try editing the record now in PA30 and it allows to save. This is the second weird workaround that I have come across and still not sure why
After above workaround, I didn't get any error while maintaining the record, for this or any pernr.
See if it works.
Regards
Neha -
Getting Error While inserting a record in table PDSNR through Tcode PA30
Hi Experts,
Im doing a transaction in TCode PA30 by entering a pernr and infty as 14 and wage type.
My need is when im entering a particular wage type in PA30 with infotype 14 , for that particular wage type and infotype i need to assign a different cost centre. This requirement was doing now manually by changing the cost centre form EDIT - > Maintain Cost Assignment.
But my Client Needs to do it automatically. by comparing the wage type and infotype the cost centre needs to get automatically updated.
So i use the Enhancement EXIT_SAPFP50M_002 * INCLUDE ZXPADU02.* and wrote coding like below
CASE innnn-infty.
To check whether the record belong to pa0014
If so,check the wage type for the updation
If so update the values of cost center assignments in the table assob and asshe
when '0014'.
if innnn-subty eq '2211'.
Select the last updated sequence number in the table pdsnr
if sy-ucomm eq 'UPD' or sy-ucomm eq 'INS'.
select single * from pa0001 into wa_0001 where pernr eq INNNN-pernr and
endda eq '99991231'.
if sy-subrc = 0.
call function 'ENQUEUE_EPPRELE'
EXPORTING
MODE_PREL = 'E'
MANDT = SY-MANDT
PERNR = INNNN-pernr
INFTY = INNNN-INFTY
SUBTY = INNNN-SUBTY
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
CLEAR : lv_pdsnr.
select MAX( pdsnr ) from pdsnr into lv_pdsnr.
lv_pdsnr = lv_pdsnr + 1.
ls_assob-pdsnr = lv_pdsnr.
ls_assob-pernr = INNNN-pernr.
ls_assob-bukrs = wa_0001-bukrs. "'1001'.
ls_assob-gsber = wa_0001-gsber. "'0001'.
ls_assob-kokrs = wa_0001-kokrs. "'1000'.
ls_assob-kostl = '1-1361'.
ls_asshr-pdsnr = lv_pdsnr.
ls_asshr-pernr = INNNN-pernr.
ls_asshr-infty = innnn-infty.
ls_asshr-subty = innnn-subty.
ls_asshr-begda = sy-datum.
ls_asshr-endda = '99991231'.
ls_PDSNR-pdsnr = lv_pdsnr.
ls_PDSNR-PDGRP = '5B'.
insert into pdsnr values ls_pdsnr.
insert into asshr values ls_asshr.
insert into assob VALUES ls_assob.
call function 'DEQUEUE_EPPRELE'
EXPORTING
MODE_PREL = 'E'
MANDT = SY-MANDT
PERNR = INNNN-pernr
INFTY = INNNN-INFTY
SUBTY = INNNN-SUBTY.
ENDIF.
ENDIF.
ENDIF.
COMMIT WORK.
ENDCASE.
This is to update the three tables PDSNR, ASSOB,ASSHR.
Its getting Updated correctly, But when i goto EDIT - > Maintain Cost Assignment to do some changes and while saving the data i get the following Error Message :
You Cannot insert data in table : PDSNR.
Message no. P2715
Can Anyone please suggest me how to solve this issue.
Thanks,
Vijayan.RHi. Were you able to fix the error?
-
Header data is not cmg in PA30 when updating from backend tables
Hi Friends
Am creating record for an employee in table pa0000, pa00001, pa0002 and some other infotype but when i go to PA30
tcode it shows me green tick for all these three infotype even in 0000 action i can click display and see second screen but
the header data is not coming on pa30 screen though pa0001 table has updated with all information except changedate and username .
Any idea how i can get that header data ?
Regards
MeetaTry to create data for one employee directly in PA30 and check the header data. If still the data is not pulling though check the screen header configuration settings.
SPRO-> Personnel Management -> Personnel Administration -> Customizing User Interfaces -> Change Screen Header
I hope this will resove your issue.
all the best.... -
Z field added in std table not reflected in PA30
Hi experts,
I m trying to enhance IT 0021 with some additional fields.. I have added a field in IT0021 through PM01. Also i have assigned the custom program generated for IT0021 to the standard program in "Assign Enhancement" in PM01.
The problem is getting , the Z field is getting reflected in PA0021 (Under CI_0021 structure). But it is Not getting reflected in PA30..
Can anyone tell me the reason for this problem?
Regards,
ShanthiHi,
You will have to define where this new field needs to be added.
go to SE51
give Program Name - ZP002100
Standard screen - 0200
The new field which you have created might be a radio button, text input, check box etc
depending upon the type of field you have added, create that on this screen , double click and give reference to the new field that you have created.
hope this helps
Ajay -
Ways to find tables related to PA30
Hi all,
Hi,
I am having the list of transactions.I want to find the list of tables updated by the transaction.
I need the various ways to find the same and let me know the best method for that.
Any pointers will be highly appreciated.Hi ,
Here are the ways I follow . From the transaction find the program name and goto transaction SE80 . Give the program and you will see a tree like where the first one is Dictionary Structures . Expand that and you will see all the tables used for that program . They will have the actual tables that get updated as well as the configuration tables used in that transaction .
The other method is to use the SQL trace .
Please let me know if there are any other methods .
Thanks . -
System unable to read table in Adhoc Query
Hi Experts,
I am trying to extract a report based on Infotype 0022 through Adhoc query. Even after maintaining data for IT0022 for a few employees the system is unable to read the educational details of those employees.
I am unable to trace the defect . can anybody please tell me what could be the reason. I have checked the table PA0022, there the data is been stored.
Thanks & Regards,
SmithaHi paul and experts
actuall im reading data from 0022 infotype . im using macro
rp_provide_from_last p0022 '11' pn-begda pn-endda.
no data found for this.
but in pa30 for that particular employee data is there.
please help me out of this.
thanks a lot -
Not saving the data in two tables
Hello,
its my production problem, i have an update form where you can update the records and these
records will sit in the temp tables until the final approval from the supervisor.
In this update form i have two table where i am saving the data one is dup_emp to save the
officer data and another is the dup_address to save the officer where he worked data.
in this form address form is pop up screen where you can update and gets back to the original
form where you can see all the other fields. my problem is if a user hit the cancel button on
address form example the user doesnt want to update any information on that screen so user
cancel that screen, and comes to the other screen where the user makes the changes to the
appropriate fields and hits the SAVE button. in this case its saving only to the dup_emp table
data not the address data from the address form to dup_address table for the same record.
if the user cancels in both the screens cancel button it should delete the record from both the
tables but cancel in form and saves in another form it should save the record in both the
tables.
here is my code from both cancel buttons from both the forms.
this is code is from address form cancel button.
delete from dup_address
where address_id=:address_id
and parent_table_name='emp';
commit;
CLEAR_BLOCK;
go_block('DUP_EMP');
This code is from dup form of the cancel button
declare
temp_address_id varchar2 (12);
begin
delete from dup_emp
where secondemp_id =:dup_emp.secondemp_id;
delete from dup_address
where parent_t_id=:global.secondemp
and parent_table_name='emp';
commit;
clear_block;
go_block('secondaryemp');
END;Hi,
As Aravind mentioned, it's nothing related to workflow. You have to find a BADI in tcode PA30 that could be used after the infotype is updated. So, you can use FM SAVE_TEXT.
Regards, -
DBIF_RSQL_INVALID_CURSOR error when using PA20/PA30 transactions
Has anyone encountered ABAP error DBIF_RSQL_INVALID_CURSOR while trying to use transaction PA20 or PA30. We started seeing this error this morning and we currently cannot figured why.
Please see the information below and from ST22 and SM21.
<b>----
//ST22
</b>
ABAP runtime errors DBIF_RSQL_INVALID_CURSOR
Occurred on 27.02.2007 at 15:45:31
Invalid interruption of a database selection.
<b>What happened?
</b>
The current ABAP/4 program "SAPFP50P " had to be terminated because
one of the statements could not be executed.
This is probably due to an error in the ABAP/4 program.
Unable to perform database selection fully.
<b>Source code extract
</b>
004540 dbname = t777d-dbtab. "QNOK019092
004550 * IF t582a-dbidn CA pspar-tclas. "QNOK019092
004560 psinfo-dbidn = pspar-tclas.
004570 ELSE.
004580 MESSAGE i016 WITH 'Infotyp '(inf) fps_infty 'nicht erlaubt '(not).
004590 APPEND psinfo.
004600 EXIT.
004610 ENDIF.
004620 CLEAR prel_db.
004630
004640 * Herausfinden ob irgendwelche Erweiterungs-FBs verfuegbar sind.
004650 * CALL FUNCTION 'HR_INFOTYPE_EXTENSION_GET' "XYVAHRK039990
004660 * EXPORTING "XYVAHRK039990
004670 * INFTY = FPS_INFTY "XYVAHRK039990
004680 * IMPORTING "XYVAHRK039990
004690 * SELECT_MODULE = SELECT_MODULE "XYVAHRK039990
004700 ** UPDATE_MODULE = "XYVAHRK039990
004710 * HAS_EXTENSION = HAS_EXTENSION "XYVAHRK039990
004720 * EXCEPTIONS "XYVAHRK039990
004730 * EXTENSION_DOES_NOT_EXIST = 1 "XYVAHRK039990
004740 * INTERNAL_ERROR = 2 "XYVAHRK039990
004750 * OTHERS = 3. "XYVAHRK039990
004760 * IF NOT SY-SUBRC IS INITIAL. "XYVAHRK039990
004770 * CLEAR HAS_EXTENSION. "XYVAHRK039990
004780 * ENDIF. " NOT SY-SUBRC IS INITIAL. "XYVAHRK039990
004790
<u><b>004800 SELECT * FROM (dbname) INTO prel_db
004810 WHERE pernr EQ fps_pernr
004820 AND begda LE fps_endda
004830 AND endda GE fps_begda
> ORDER BY PRIMARY KEY. </b> </u>
004850
004860 * IF HAS_EXTENSION = 'X'. "XYVAHRK039990
004870 * CALL FUNCTION SELECT_MODULE "XYVAHRK039990
004880 * CHANGING "XYVAHRK039990
004890 * PREL_DB = PREL_DB. "XYVAHRK039990
004900 * ENDIF. " HAS_EXTENSION = 'X'. "XYVAHRK039990
004910
004920 MOVE-CORRESPONDING prel_db TO prelp.
004930 CLEAR prel_db.
004940 MOVE fps_infty TO prelp-infty.
004950
004960 MOVE prelp TO fps_pskey.
004970 READ TABLE ps WITH KEY fps_pskey BINARY SEARCH.
004980 IF sy-subrc NE 0.
004990 MOVE sy-tabix TO fps_tabix.
<b>----
//SM21
</b>
DIA 00 002 PA30 BY7 Database selection with invalid cursor 1
DIA 00 002 PA30 R68 Perform rollback
DIA 00 002 PA30 AB0 Run-time error "DBIF_RSQL_INVALID_CURSOR" occurred
DIA 00 002 PA30 AB1 > Short dump "070227 122859 daladg45 RIYER " generated
DIA 03 600 PA30 BY7 Database selection with invalid cursor 1
DIA 03 600 PA30 R68 Perform rollback
DIA 03 600 PA30 AB0 Run-time error "DBIF_RSQL_INVALID_CURSOR" occurred
DIA 03 600 PA30 AB1 > Short dump "070227 123001 daladg45 RIYER " generated
<b>----
//ADDITIONAL SYSTEM INFORMATION
</b>
SAP Release: 4.6C
Database: DB2
SP Level: Basis 53, ABAP 53, APPL 53, HR B8
Kernel Level: 4.6D patch level 2265
Thank you in advance.The issue has been resolved and turned out to be as a programming error. The developer had corrected the issue. Unfortunately I don't have the details as far as which part of the code was fixed.
-
Table ctrl - no screen-name - hav groupid but not visible in Loop at screen
Hi...
In pa30, for a pernr, of infotype 0008, we have a table control.
In that table control, i hav to hide a field. ex: bet01
it has value..by default it will appear on the screen...
Now I want this value not to appear on the screen.
in loop at screen, i am not able to find the sceen-name(Q0008-bet01 or no Q fields...)
It loops for all the p fields..and exits the loop.
How can I hide the q fields..
I have tried with groupids...but, in loop at screen unable to find the groupids...so no use..
screen name and groupid are there for this field...
Any solution???????????Hi...thanks for ur reply...
Not that helpful...
I hav the groupID..screen-name...
But the problem is, the loop at screen is not going through this groupid or screen-name...
And if u have any sample code, plz share it..
I cant modify the data coming to table control...access problem...
If u have anyother solution, please give it..Anyways thanks once again for ur reply!
Experts, no solution??? No alternative???
Edited by: Veeranji Reddy on Nov 13, 2008 3:22 PM
Edited by: Veeranji Reddy on Nov 14, 2008 5:49 AM -
How to add a field in standard tcode pa30 with info type 21.
Hi Experts
I need to add a field Child Allowance Entitlement in PA30 transaction where infotype is 21, this field is available in table P0021 but which is not active in standard transaction.
I just check in SPRO Settings - > Personnel Management - > Personnel Administration -> Customizing user Interface -> Change screen modificaion -> in that i gave the module pool number as mp002100 and screen number as 2000. the field is not shown there. but in alternative screen 2005 that field is available how can i display that field in the standard transaction pa30 with infotype 21.
Can anyone please suggest me to display the field in the standard transaction.
Regards,
Vijayan.RHi Vijayan,
to modify the infotype screen for your purposes, you have to maintain feature P0021 as mentioned above, in order to obtain your screen modifier.
Usually this modifier is equal to your corresponding MOLGA.
This modifier is then used in V_T588M, when you can assign alternate screen modification to your modifier.
Let`s say :
Modifier 06 - France - Screen 2000
Modifier 01 - Germany - Screen 2000 with some hidden fields.
I hope it helps
Best regards
Ondrej
Edited by: Ondrej Smutny on Aug 15, 2011 10:38 PM -
Problem with PA20, PA30, and PA40
Hi!
I cannot use transactions PA20, PA30, or PA40 in our development system. When I try, I crash and get a dump. It fails here:
IF NOT pernr_tab[] IS INITIAL.
SELECT pernr ename AS name begda endda FROM pa0001
INTO CORRESPONDING FIELDS OF TABLE l_pernr_date_tab
FOR ALL ENTRIES IN pernr_tab
WHERE pernr = pernr_tab-pernr AND
sprps EQ space.
This is the error:
Error analysis
An entry was to be entered into the table
"\FUNCTION=HR_GET_TEXT_FOR_OBJECTS\DATA=L_PERNR_DATE_TAB" (which should have
had a unique table key (UNIQUE KEY)).
However, there already existed a line with an identical key.
The insert-operation could have ocurred as a result of an INSERT- or
MOVE command, or in conjunction with a SELECT ... INTO.
The statement "INSERT INITIAL LINE ..." cannot be used to insert several
initial lines into a table with a unique key.
Nobody else has this problem. My guess is that I had done a search of EE's at one time, and something or someone in the list is causing the crash.
Is there a way for me to clear something out so that I can run PA20, PA30, or PA40without this list?
Or - If you now of another reason why I may be having this issue and nobody else is, can you suggest a fix?
Thanks!
JoI was able to find a solution to this problem through OSS note 416695.
There is an SAP program named RH_DELETE_COL_USER_SETTINGS. I ran it, entered my Logon ID, and had it delete "last object selection" and "search variants."
Once I did that, I was able to get into pa20, pa30, and pa40 again. (I.e., my hit list with the "bad employee" was gone.) -
Error "No entry in table T589A for P" while creating new Infotype
HI,
I've created a new infotype (9605). All the tables, structures, screens etc. have been created using transaction PM01 successfully. But upon execution of Infotype from PA30, the infotype screen is displayed with the following error:
"No entry in table T589A for P"
Any input will be highly appreciated.
Thank you,
Farooq.Hi Farooq,
Untill and unless the the field PSYST-IOPER is cleared explicitly in the program MP960500 (in PBO modules), this error should not occur.
Also is this error is coming only for 9605 infotype ? Also is any other info availaible in the error message such as entry in table t589a is not available for which value of OPERA (INS, MOD, DEL, LIS etc) ?
Regards,
Shrinivas -
HR-ABAP using Table Control Wizard
My requirements is to customize an infotype which is customer specific.
After creating the infotype in PM01, I also create the screen(2000) for the
infotype. The issue is in the table control. I create a table control
using table control wizard, getting the information that i need to output in the
screen, using another infotype which is PA0007 planned working time.
The expected result is that the data will diplay on the screen when i execute PA30.
Do you have any idea or any recommendation to resolve the issue? thanks.
And here are my codes.
in PBO
LOOP AT g_table5_itab
INTO g_table5_wa
WITH CONTROL table5
CURSOR table5-current_line.
MODULE table5_move.
MODULE table5_get_lines.
ENDLOOP.
Inside the module pool.
MODULE TABLE5_INIT OUTPUT.
IF G_TABLE5_COPIED IS INITIAL.
*&SPWIZARD: COPY DDIC-TABLE 'PA0007'
*&SPWIZARD: INTO INTERNAL TABLE 'g_TABLE5_itab'
SELECT * FROM PA0007
INTO CORRESPONDING FIELDS
OF TABLE G_TABLE5_ITAB
*Start of Insert
WHERE pernr = pskey-pernr.
*End of Insert .
G_TABLE5_COPIED = 'X'.
REFRESH CONTROL 'TABLE5' FROM SCREEN '2000'.
ENDIF.
ENDMODULE.
MODULE TABLE5_MOVE OUTPUT.
*Start of Delete
MOVE-CORRESPONDING G_TABLE5_WA TO PA0007.
MOVE-CORRESPONDING G_TABLE5_WA TO PA9201.
*End of Delete
*Start of Change
MOVE G_TABLE5_WA-begda TO PA9201-zzpensda.
MOVE G_TABLE5_WA-endda TO PA9201-zzpendda.
MOVE G_TABLE5_WA-empct TO PA9201-zzempct.
*End of Change
ENDMODULE.
MODULE TABLE5_GET_LINES OUTPUT.
G_TABLE5_LINES = SY-LOOPC.
ENDMODULE.Hi,
Create a table control in layout and place your fields in table control.
Press F6 and give the table name and click on get from dictionary and select the 5 fields which you required and palce those fields in table control.
Double click on table control and give table control name .
In Top include create a stmt as
CONTROLS : TABlecontrolname TYPE TABLEVIEW USING SCREEN '1000'.
In PBO under a module write your logic that means select query and place it in an internal table. Place that select query under IF condition.
Module Read.
If SY-UCOMM = 'ENTER'.
Process query.
endif.
endmodule.
LOOP AT ITAB INTO WA WITH CONTROL TAB.
MODULE DISP.
ENDLOOP.
In PAI.
LOOP AT ITAB.
ENDLOOP.
Here ITAB is internal table name.TAB is table control name.In display module write the code
MODULE DISP OUTPUT.
MOVE-CORRESPONDING WA TO database tablename.
ENDMODULE.
And in 1000 screen create SET PF status in the function keys assign a keyword to Enter Icon as 'ENTER'.
Hope this is helpful.
Regards,
G.Aditya
Maybe you are looking for
-
Assigning a SAP Query to Transport Request
Hi Friends I have a SAP Query, now I want it to transport to the other system, while saving the query it is not prompting for transport request. Is there any possibility to assign that SAP Query to a transport request, if yes, please let me know the
-
Issue with Pro Res sources when encoding in Media Encoder.
There seems to be a big issue with Pro Res sources in Media Encoder. I've noticed that when exporting using the 'software only' mode my graphics and titles look horrible, they are pixelated around the edges and the compression looks bad. This issue o
-
I recently had my Mac OS X serviced and they took everything off of it and put it on a remote hard drive. I can't figure out how to install it back onto my Mac. I tried dragging and dropping. Didn't work. Any advice would be greatly appreciated.
-
Can I use ddr3 memory in a macbook runing ddr2 memory
I have a macbook pro running 1067 Mhz DDR3 4GB and just updated to 8GB. Can I use the old DDR3 4GB in my old macbook which runns DDR2 memmory? Any advise would be great. Thanks
-
Test vectors for digital signatures
Hi, I am familiar now with signatures provided by java.security.Signature. What I would like to have now is to proove my examples against some publicly available test vectors. I found some from NIST at http://csrc.nist.gov/cryptval/dss/RSAExample.zip