User Exit For PA30
Hello Experts,
I am very new to user exit and enhancement topic.
I have to perform cryptographic operations (Encryption and Decryption) on some of the fields of transaction PA30. Ex. -Wage type amount, Date of Birth and Address.
For that i have figured out user exit to do the the custom operations. Name of the user exit is "EXIT_SAPFP50M_002" I also checked the above enhancement by changing or modifying the fields. Control is successfully coming into the relevant INCLUDE program of the user exit FM EXIT_SAPFP50M_002.
My problem is if user enters or modifies basic salary as 1234.00 (User may modify other specified fields also) and saves the transaction, how to access these value in include program so that i can able to perform encryption on the value entered by user.
Any help??
Thanks in Advance,
Prashant
Edited by: Prashant Jagdale (Genius) on Dec 31, 2008 4:26 PM
HI,
In this you have ZXPADU02 include na, so go into that and write your validation
TABLES prelp.
IF tclas EQ 'A' .
*Code for checking for infotype 8 when there is a change
*in the basic pay
CASE innnn-infty.
WHEN '0008'.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = I0008.
if i0008-lga01 eq '1000'. " Basic wage type in IT0008
move amount to I0008-bet01.
endif.
WHEN OTHERS.
ENDCASE.
ENDIF.
Regards,
Arjun.
Similar Messages
-
HR-ABAP-want user exit for pa30 for creation 2001 infotype for sick leave
Hi ALL,
My requirement like, whenever I try to create a sick leave through PA30 Tcode for infotype 2001 then the has to be trigger like, if the personnel joing date will be from Feb-Dec any date of the year then, the SL will be valid for next year Jan.
Ex; Todya I am creating SL on 2001 infotype. then the condition will
If joining date not Jan 2007 then,
Leave will be valid for next year Jan 2008.
So, let me know is there any user exit for this.
Thanks In advance.
J.PFind myself
-
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 -
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 -
Hi all,
Pls kindly help me to find out the user exit for infotype 0185. I want to check the value when saving a record.
Thanks,
QuanglvHi,
1. Go to transaction CMOD
2. Selct project PBAS0001
3. View components
4. Choose an exit
5. Click EXIT_SAPFP50M_002
6. This exit contains one include. Double click "ZXPADU02". The program ZXPADU02 runs executed every time PA30 or PA20 is executed.
7. Add in ZXPADU02 this code for example:
IF innnn-infty = '0105'.
add sone useful code specifically for it0105here
ENDIF.
good luck -
Is there a User exit for fast entry transaction PA42
I am trying to find a user exit for transaction PA42 Fast entry.
We currently have custom table that we check before allowing maintenance on employee data. I have found user exits for transaction PA30 and PA40 but am struggling to find one for PA42 Fast Entry.
Any assistance would be greatly appreciated.
ShamshudinYou can check the following...
Determined from program DevClass HRPBAS01 User Exit for HR Master Data
Determined from program DevClass HRPC0001 HR: PC download authorization
Determined from program DevClass HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
Determined from program DevClass PARA0001 Enhancement for Determining the Number of Periods
Determined from program DevClass PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
Determined from program DevClass PBASRP01 PA: User exit distributed reporting
EXIT_SAPFP50M_001 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPFP50M_002 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPMP50A_001 PBAS0002 PA: Enhancements for Personnel Administration - Menu -
User Exit for Special Personnel Actions
Hello,
I would like to figure out a way to generate an email when HR does a termination action. Can you help?
Can this be done by enhancing the user exit - Please help with the steps!
Here's the - User Exit for Special Personnel Actions:
This step enables you to implement the following user exit for the Customer Enhancement for Special Personnel Actions:
EXIT_SAPLHRBAS00ACTIONS_001
Thanks!
PSYou need follow the below steps to activate the user exit.
1. Goto Transaction CMOD.
2. Create a new project or select an existing 'Z' project.
3. Click on the Enhacement tab on the application tool bar. Add "HRBAS001" as the enhancement.
4. Save it and click on the componet tab. You will see the exit EXIT_SAPLHRBAS00ACTIONS_001. Double click on this. It will take you the fuction module interface and you see the include zxhrbas00actionsu01 in it. You need to double click and add your custom code there.
5. Activate the code. Come back and active the enhancement and the project.You see the active button on the application tool bar.
Then this gets triggerd from PA40/PA30 and sends the notification as coded in the include program. -
Hello Experts,
Please can anybody advise about the available user exits or includes for Infotype 8?
Many thanks,
Regards,
Anjali.Hi Anjali,
User exits in PA30-
More relevant for IT0008:
PARA0001
PARA0002
PBAS0001
PBAS0002
HRPBAS0001
Less relevant:
HRPC0001
HRRPAI01
PBASRP01
Regards,
Dilek -
GL Account User Exit for all FI transactions
Hi Experts,
We have to create a Ztable and it stores GL bank account principal amount.
Ex: 130121 (SCB Bank) - Rs.10,00,000.00
In SAP , for the same GL account closing balances will available in FS10N of each month.
Ex: 130121 (SCB Bank) for Sep'09 - Rs.8,50,000.00
Now, the requirement is..
I want to put an User Exit for this Bank GL Account . It has to perform a check operation whenever this GL accounts comes for posting on any FI transactions, and
it'll check each time to the GL account principal balances(from Ztable) with the posting amounts and give a popup message regarding about the bank limits exceeded, remainaing amounts and then only they can able to post the transactions.
Ex: If they are posting in F-02 (general ledger posting) the amount showing in GL account which go for my user exit calculations everytime and the same will be for all other FI GL transactions.
Hope u understood else pls let me know by your replies.
Pls advise.
thanks & regards
sankar.Hi..
In the tcode where u want to put the user exit, In the menu select System--> Status and double click on the program.
Then click on search and give the search term as "call-customer function".. and see if there are any available user exits..
Select one, and double click on the 3 number..if '003' ,double click on it,it will take u to the Fm..where u will find an include starting with Z.
Here u can write the code u want.
Regards,
Vishwa. -
User Exit For Transaction F150 (Dunning)
Hi All,
Can any one help me in finding a User Exit for Transaction <b>F150</b> (Dunning).Hello,
Try this one
F150D001
Bye
gabriel -
Hi,
I am Mohan. I faced on Problem with the User Exit. I write the user exit for the ME21n for PO Creation. While Creation of the PO the Purchase Requition is mandatory. it is working for the ME21n. But PO creation is another two ways is there. Those are ME22N (Purchase order---> Create) and ME23N
(Purchase order---> Create) for this case also my condition applicable but it is not working for this case. How to write the Code for this. by using Sy-ucomm also. but it is not working.
Please help me.
Regards,
MohanFollowing the user exit's related to ME22N transaction.
AMPL0001 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 Customer-Specific 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.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
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
Regards. -
Hi Experts,
My req, is I have to check billing date with order date/ delivery date while creating the invoice in VF01.
For that I have done codig in user exit RV60AFZZ, so it gives error ,but the billing date field get disable.
& this invoice no. alsp get created.
So can anybody plz tell me in which user exit i have to put my code ???
I have tried with RV60AFZC.But it is not working.
My code is
FORM userexit_pricing_prepare_tkomp.
* TKOMP-zzfield = xxxx-zzfield2.
* structure for vbak
TYPES:BEGIN OF ty_vbak,
vbeln TYPE vbak-vbeln,
audat TYPE vbak-audat,
END OF ty_vbak.
*likp structure
TYPES:BEGIN OF ty_likp,
vbeln TYPE likp-vbeln,
lfdat TYPE likp-lfdat,
END OF ty_likp.
*vbrp structure
TYPES:BEGIN OF ty_vbrp,
vgbel TYPE vbrp-vgbel,
vgpos TYPE vbrp-vgpos,
aubel TYPE vbrp-aubel,
aupos TYPE vbrp-aupos,
END OF ty_vbrp.
DATA:it_vbak TYPE STANDARD TABLE OF ty_vbak,
it_likp TYPE STANDARD TABLE OF ty_likp,
it_vbrp TYPE STANDARD TABLE OF ty_vbrp.
DATA:wa_vbak TYPE ty_vbak,
wa_likp TYPE ty_likp,
wa_vbrp TYPE ty_vbrp.
***** take reference document no & delivery no. *****
LOOP AT xvbrp.
wa_vbrp-vgbel = xvbrp-vgbel.
wa_vbrp-vgpos = xvbrp-vgpos.
wa_vbrp-aubel = xvbrp-aubel.
wa_vbrp-aupos = xvbrp-aupos.
APPEND wa_vbrp TO it_vbrp.
ENDLOOP.
IF it_vbrp IS NOT INITIAL.
SELECT vbeln audat FROM vbak
INTO TABLE it_vbak
FOR ALL ENTRIES IN it_vbrp
WHERE vbeln = it_vbrp-aubel.
SELECT vbeln lfdat from likp
INTO TABLE it_likp
FOR ALL ENTRIES IN it_vbrp
WHERE vbeln = it_vbrp-vgbel.
ENDIF.
**** check for invoice date with order date *****
LOOP AT it_vbak INTO wa_vbak.
IF xvbrk-fkdat IS NOT INITIAL AND xvbrk-fkdat < wa_vbak-audat.
MESSAGE 'Invoice Date is less than Order Date' TYPE 'E'.
ENDIF.
ENDLOOP.
**** check for invoice date with delievery date *****
LOOP AT it_likp INTO wa_likp.
IF xvbrk-fkdat IS NOT INITIAL AND xvbrk-fkdat < wa_likp-lfdat.
MESSAGE 'Invoice Date is less than Delivery Date' TYPE 'E'.
ENDIF.
ENDLOOP.
ENDFORM. "USEREXIT_PRICING_PREPARE_TKOMP
Thanks & Regards,
Anagha DeshmukhHello,
These are the user exits for the tcode.
J_3RSINV Export sales
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
Keep the break point and try in the debugging in each and every exit and see which user exit is triggred. -
HOW TO CREATE A USER-EXIT FOR MB31 GOODS RECEIPT
Hy,
<b>HOW TO CREATE A USER-EXIT FOR MB31</b>
TO COMPARE ORDER QTY CONFIRMED AND GOODS RECEIPT QTY
( IF GR QTY GREATER THAN CONFIRMED QTY ERROR MESSAGE SHOULD COME AND NOT ALLOW TRANSCATION TO PROCEED).
POINTS CONFIRMED.
REGARDS,
KARTIKEY.Hi Rawat,
You Don't need to create User Exits,but you need to find user Exits.Below are list of user Exits for MB31.
Use proper exit as per your requirement.
Exit Name Description
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
award points if ans is useful.
Regards,
Albert -
How to find the exact user exit for our requirement?
Dear Mr. keerthi,
can you please explain me how to find the exact user exit for our requirement?Hi sandip
There is more than one method in which you can check for user-exits.The following method is used very often.
<b>How to find the exact user-exit for your requirement.</b>
1. You can check the user exists using transaction SE85.
2. Repository Information System -> Enhancements -> Customer exits
3. You can search the user-exits by package name.
4. Double click on each exit name to check the function module exits.
<b>The procedure to find the package name.</b>
Execute transaction SE93
Enter the tcode of the transaction for which you want to check the user exit.
Example: if you want to find the user-exit for purchase orders while changing, enter ME22n and press display.
You will get to see the package name
But you need to confirm that the user exit will get triggered at the appropriate event.
( example: you might want some validations to be done ON SAVE of a purchase order)
<b>Checking if the user-exit is getting triggered or not.</b>
1. Open the user exit function module (that you have got in step 4) in Tcode SE37.
2. Click on where used button. In the pop up that immediately appears choose only programs .
3. You will get a list of programs. Double click on the program name.
4. You will get the list of location where this function module user exit is used.
5. Place session break points at each of these location ( at each CALL FUNCTION statement)
6. Now go to your transaction ( say change purchase order tcode:Me22n) and check if the user exit is getting triggered on appropriate event.
regards,
Prasad -
How to find the appropriate user exit for invoic02 idoc in idoc_output_invo
Hi all,
I am new to this community p
i have issue regarding the How to find the appropriate user exit for invoic02 idoc in idoc_output_invoic function module.........
thanks,Hi ,
welcome to SDN.
You can select the appropriate Customer exit accrding to the available parameters .
The list of exits available are
EXIT_SAPLVEDF_001
EXIT_SAPLVEDF_002
EXIT_SAPLVEDF_003
EXIT_SAPLVEDF_004
For Example , if you want to modify the Idoc data(EDIDD) you have to use the EXIT_SAPLVEDF_002. accodingly you can select the user exit according to the avaialable parametres.Use Table MODSAP fto get the Enhancement name.
Hope this Helps
Rgds
Sree
Edited by: Sree on Jul 23, 2010 12:11 PM
Maybe you are looking for
-
TS1717 When I plug in my ipod touch all it does is beep. What is wrong?
I have an ipod touch. I can access itunes remotely but when I plug it into my computer all it does is beep. I have uninstalled and reinstalled itunes already and that doesn't help. When I plug in my iphone 4s this doesn't happen. What is wrong?
-
Read/Write 2d numeric array or string array into bin file
Can anyone pls help me to resolve this problem Attachments: bin file.vi 9 KB
-
Willl there be any issue with spool after moving to unicode
Hi , We are moving from non-unicode to unicode. My doubt is that will there be any issues related to the spools that are generated in the non-unicode environment ? WIll the fuction module CONVERT_OTFSPOOLJOB_2_PDF will have any issues with the non-un
-
Weird Spry Submenu Effect in Internet Explorer
It looks like the first category item of a Spry submenu is stretching vertically to the same length of the Spry sub sub menu to the right. It works fine in Safari and Firefox. It is only doing this in IE 8 on a pc Any idea why this might be happening
-
PT880----Possible cold boot issue-----What are YOUR boot times??
I may have an issue with this board that I hadn't really noticed since I've been so heavy into the max overclock I could get. My post and then boot time is strange and annoying-----and sometimes I have to just shut off and turn on-----to actually com