BadIi / exits for PA20, PA30 and PA40
Can someone help me know BadIi / exits for PA20, PA30 and PA40 transaction.
Hi Megha..
Please refer this BADI ... HRPAD00INFTYDB this may fulfill your needs
Or try this..
Go to SE18 and search for the BADI names starting with HR*
There you'll see that HRBEN BADIs refer to benefits, HRHAP BADIs refer to appraisals, HRPAY BADIs refer to payroll.
For OM BADIs please search as RH*
For userexits there is a zprogram code I written below thru which u can find userexits for particular transaction codes..
*& Report ZFIND_USEREXIT
REPORT ZFIND_USEREXIT NO STANDARD PAGE HEADING.
TABLES : TSTC, TADIR, MODSAPT, MODACT, TRDIR, TFDIR, ENLFDIR.
TABLES : TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME =
TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT = 'SMOD'
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU AND
TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
22 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
LOOP AT JTAB.
SELECT SINGLE * FROM MODSAPT
WHERE SPRSL = SY-LANGU AND
NAME = JTAB-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 JTAB-OBJ_NAME HOTSPOT ON,
21 SY-VLINE ,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE JTAB.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , SY-TFILL.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
This will surely help u.
Edited by: Jhings on Jan 29, 2011 11:35 AM
Similar Messages
-
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.) -
Hello expert,
I am working on case where i need to calculate insurance coverage amount for IT168.I am using user exit PBEN0011 for that..but for doing some validation i need begin date to read IT0008..So my question that since BEGDA is not available in above user exit .i want to put the begda in memory in some user exit which is being called on display option of records..
if anybody knows it please help me..
user exit called on display option of pa20 or pa30.
Thanks in advance.
ShwetaHi,
Transaction Code - PA30 Maintain HR Master Data
Enhancement/ Business Add-in Description
Enhancement
PBASRP01 PA: User exit distributed reporting
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
PARA0001 Enhancement for Determining the Number of Periods
HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
HRPC0001 HR: PC download authorization
HRPBAS01 User Exit for HR Master Data -
User Exits for Transaction PA30
Hi Friends,
My Requirement:
The changes done to the emplyoee data in PA30, should be reflected in Vendor Master database tables, is there any user exit or any other way to do that.
Please help me
Regards
Kumar MHi,
These are the EXITS and BADIs avilable for the t-code PA30
now see which one full fill your requirment.
Enhancement
PBASRP01 PA: User exit distributed reporting
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
HRPBAS01 User exit for personnel number validation
HRPC0001 HR: PC download authorization
HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
PARA0001 Enhancement for Determining the Number of Periods
Business Add-in
HR_FAST_ACTION_CHECK Check fields on the fast entry screen
HR_INDVAL HR: Indirect wage type valuation
HR_SET_PKGAB
HR_F4_GET_SUBTYPE HR: Entry help for subtypes
HRPAD00_ADRS HR: Address formatting
HRPAD00INFTY Update / Infotype maintenance
HRPAD00AUTH_CHECK HR: Authorization Check
Regards
Bikas -
Exit for role determination via exit for scheduling agreement and contract?
Hi..
I have a requirement to fetch the agents in run-time for PO,PR,SCHEDULE AGREEMENT, CONTRACT..
For PO i am using EXIT : - M06E0005
For PR release i am using EXIT :- M06B0001
By using above 2 exits i am getting the agents at run-time...
Same way i need the EXIT for SCHEDULE AGREEMENT and CONTRACT..
if there is any EXIT for this please share with me..
Regards,
Imtiaz KhanHi Imtiaz,
Ideally you should have your agent determination logic in workflow itself instead of determinining them in EXIT.
Can you tell me why you are determining agents in exit and how you are making use of it ?
Also let us know how your workflows are getting trigger for all these documents.
Regards,
Ibrahim -
User Exit For PR Create and Change
Hi,
Please help me for finding User Exit while creating Purchase Requisiton(Me51/Me51n) and aslo changing Purchase Requisiton(Me52/Me52n).
Mainly i want to exit for validating Plant and material code while creating and changing PR.
Thanks,
Sunil sahooHi,
Use the exists
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
Regards,
Nandha -
User exit for tcode ME21N and ME22N
Hi everyone
Can anybody tell me the user exits found in the tcodes ME21N nad ME22N, when saving a PO?
Regards
AnjaliAMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Individual customer source determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MM06E011 Activate PReq Block
LMEKO001 Extend communications structure KOMK for pricing
LMEKO002 Extend communications structure KOMP for pricing
If useful reward.
Vasanth -
How to create customer exit for characteristic variables and for text vars.
hi friends,
can anybody tell me how to create customer exit for characteristic variables and for text variables in bw ides system.
thanks,
sreeHi,
Please have a look at:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
Krzys -
Help Needed: User exit for transaction IL01 and IL02
Hi,
First of all I would like to take you through my requirement. The
requirement is: When I try to instal an equipment(EQ) at a functional
location(FL) in SAP, I want to pass on the values of these two
technical objects(EQ,FL) to an external system through SAP XI.
I identified two user-exits for this purpose,
they are ILOM0001 and ILOM0002. I found the first exit (ILOM0001) more
relevant than the other as the exit ILOM0001 is responsible
for 'Additional checks before saving a functional location'. The
function exit for the exit ILOM0001 IS EXIT_SAPMILO0_001.
When I load the transaction IL02 and try to instal an equipment at a
functional location in debug mode nowhere did I notice this function exit.
Please clarify whether this exit is called with a different name
internally or I am looking at a different exit altogether.
Your early response is highly appreciated.
Thanks,
VijaySolved..........
-
Exits for Results recording and UD
Hi,
I added few Zfields in QA01 screen using exit QPL10004 and they are not mandatory in create mode.
now my requirement is when from QA32 user selects that lot and click on UD or Results recording.
system should throw error message if Zfields are not maintained in QA01.
What are the exits that trigger ???
Regards.Hi,
Check the below exits.
Enhancement
QLCO0001 QM: Call alternative costs report from UD
QEVA0010 UD: Usage decision check
QEVA0009 UD: Predefinition of quantity to be posted to sample stock
QEVA0008 Usage decision: Customer function key (e.g. to cancel UD)
QEVA0007 UD: Control of compulsory comment or long text presetting
QEVA0006 Entry to usage decision transactions
QEVA0005 User subscreen for displaying add. data for usage decision
QEVA0004 Exit for changing information line in usage decision header
Regards,
Srini. -
User exit for controling header and item division
Hi all,
Currently there is restriction in sales document for header division and item division i.e. if header division is 10 then it is not accepting the products of division 20, 30, 40, 50 at item level.
If the restriction is removed then it will allow products of all division in a sales document irrespective of header division (if the customer is extended for all the sales area).
But we would like to allow products of division 10, 20 and 30 in one sales document if header division is 10 or 20 or 30.
How can it possible? Can it be possible through user exit? Any standard user exit is available or we would have to develop one?
Please guide me how to go about.
Regards
Rajesh T.Thanks Navaneetha Krishnan,
1. Please give some more inputs on Cross Division,
2. To enable to incorporate other division than header at a item level is ok, but restriction on some division at item level is what i want to know, weather through user exit and which user exit? or I will have to create user define User Exit?
e.g. customer 1234 is created for all the sales area
Sales areas are : 1000 10 10
1000 10 20
1000 10 30
1000 10 40
1000 10 50
now in ZOR Sales document(where there is no restriction of item division) if I enter sales area 1000 10 10 at header it will allow the product of all division.
but i want if i put at header 1000 10 10 then it should allow the products of division 10 and 20 only and not to allow products of divsion 30,40,50 in one sales document
similar if i put sales area 1000 10 30 at header level it should allow me to enter products of division 30,40,50 and should not allow products 10, 20 in one sales docuemnt
I think this is more clear. request you all to provide details ASAP
regards
Rajesh T. -
BADI and User exit for MIGO item and header enhancement
We want to add three extra fields in MIGO screen for specific movement type 101 . Two fields at item level and one filed at header level .
Item level fields are independent fields it will store in separate z-table and z-field and dont't have any relation with other table .
but header field has some relation with quantity field in item level . All the item quantity has to add up in header , Is it possible to add up .
What are the BADI and user exit need to use for this enhacement and etc required detailsHi Raghavendra,
Use BAdI MB_MIGO_BADI.
It has all the methods that cater your requirement.
Try to have a design such that you can store the values within the document by enhancing the tables using Append Structures, they surely have a link with the document.
regards,
Aabhas K Vishnoi -
Extended Idoc - User exit for delivery VL01 and Invoice VF01
Hi Experts,
We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.HI
exits available for VL01.
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
For VF01..
Enhancement
V61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
V60A0001 Customer functions in the billing document
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V05I0001 User exits for billing index
SDVFX011 Userexit for the komkcv- and kompcv-structures
SDVFX010 User exit item table for the customer lines
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX001 User exit header line in delivery to accounting
J_3RSINV -
How to restrict the PA30 and PA40.
Dear Experts,
Need so help to resolve the below issue.
Through the ABAP-HR program we are sending an email to the particular mail ID.
FOR HIRING A NEW EMPLOYEE:
while performing PA40 it has give authorization to user to update 0000,0001 and 0002 and it has to block the user not to update further any info type and a mail has to be sent to the mail ID( EX: Superior) which is maintained.
FOR EXISTING EMPLOYEE:
When ever the user want's to update the master data thru PA30 an email has to be sent to the mail id which is maintained to get the approval.
Is it possible to do this with out workflow.
Thanks in Advance.
Regards,
PrasadHi,
Means when ever User want to change the Master data through PA30 mail has to send to his superior and after getting the approval user has to change. is your query ?
have you maintained any workflow ? how the system configuration has done can you explain the configuration. -
User-Exit for Checking Customer and Sale order type in Sales Order Creation
Hi Experts,
While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
Please suggest me if any user-exit or enhancement or BADI available for it.
Thanks & Regards,
-VMHi
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
mark if helpful
Regs,
Tushar Mundlik
Maybe you are looking for
-
Hi Folks, I am new in Java programming, have a .jar file that contains .java files that I want no access and use from another .java file. These files in the .jar file basically form a library thus have no main-method. However I can not declare an ins
-
I have a macbook which is about 5 years old now and is not yet running OS X Lion. I checked for software updates and it says my system is up to date. Unfortunately it still wont let me download the app store without updating my software but there i
-
Installing Windows 7 without CD/DVD?
So I downloaded the Windows 7 beta from Microsoft's website and tried to install it with Bootcamp. The problem is that it asks for Windows on a CD/DVD but I don't have any right now. After some googling I found out I could just mount the iso, but it
-
TS1424 How do I get a refund on an app download?
I just downloaded and paid $14.99 for PocketCloud Pro. I had NO IDEA that that was a MONTHLY FEE! I want my money back. Thanks
-
Oracle 11g OCP certification kit
I have completed Oracle 11g OCP. As I understand a hands-on training course is manadatory to get the certification kit. Can I do a Self-Study CD course or do I have to do Instructor led course? Thanks.