USER EXIT to be added in IT2001
Hey Experts,
I have the following requirment and i havnt worked on HR ABAP.
Please provide me the solution and how to reach the user exit in the infotype.
User exit needs to be added to IT 2001 to include the logic mentioned below:
a. For every new record of subtype ANLE or ANLS in IT2001 for any employee, check the IT 0000 (infotype actions), table P0000 if any Action Type I2 (Termination of Contract) exists
b. If found, check the Quota balance for current year for Quota Type 30 (Accrued annual leave), 31 (Carried over annual leave), 32 (Accrued home leave)
c. Quota balance for each type can be found from IT2006 (Absence Quotas), Table P2006 by deducting P2006-KVERB from P2006-ANZHL
d. If leave applied is not within this quota, throw error message u2013 Leave exceeds available quota by #(actual no. exceeding)
thanks in advance.
Regards,
Ram
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Sep 28, 2011 2:20 PM
Hi Shilpa,
there is no hard code rule to use the specific user exit for substitutions, attached screen shots will help you to resolve the issue.
Step 1: Go to the t.code: OKC9, specify the controlling area and event 0001.
Step 2 : Create the substitution and select the step (attachment 1)
Step 3: below mentioned screen shot specify the any existing user exit (naming conversion starts with U) by F4 option and double click on the particular exit
Step 4: you can see the Report ZGGBS800, here you can create the user exit next free number starts with U naming conversion, once it's created the replace the existing user exit in the substitution rule.
Hope this will help you to understand the user exit process in substitution rule.
Note: Only substitution rules there is no hand code rule for user exit, for other transactions we need to check the SAP delivered exits.
Make sure that substitution rule must be activated once exit created
Thanks & Regards
Srinu
Similar Messages
-
User exit for PA61 - Validations to IT2001 & IT2002 upon save
Hi,
I got a requriement as follows:
User enters time thru PA61 and I need perform some calculations upon saving the weeks time in PA61.
I have to do two tasks:
1) I need to read the hrs entered by the user in PA61 for that week
2) Upon save, I need to calculations and save that to IT2001 & IT2002 based on Absence types.
PLease let me know any user exit, where i can write code & how to read the time for the particular week.
Thanks,
ShriniHI Shreenivas
As Omid said , PA61 is T-Code for maintain time data its like PA30. but if you need to put any validation or any business check, you can use the User Exit (enhancement) PBAS0001 via t-code SMOD.
here you can select the functional module EXIT_SAPFP50M_002 and write your customer logic (ABAP code) for IT2001 and IT2002 in the include ZXPADU02.
Thanks,
Dinesh -
User exit for transaction code MIGO (Goods Receipt)
Hi Team,
Please let me know the <b>name of the user exit</b> for adding a new field in transaction code <b>MIGO</b> (The field is Freight charges ) at header level.
Would be suitably rewarded.
Regards
Badarihi,
Transaction Code - MIGO Goods movement
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.
Cheers
Alfred -
User Exit - adding defualt WBS Element in addi.tab for IW31 - Servi.Order
I am facing a problem with adding WBS Element in Addit.Data tab for Service Order creation using IW31.
At the time of creating service order using TCODE IW31, I have to maintian default values like WBS ELEMENT, for this I am using a USER EXIT "IWO10010".
The problem is getting dump error. Becuase, it is NUMC type and I am passing the value with character + numeric. Like "EX/1232/22".
Field length is NUMC - 8.
"CAUFVD-PSPEL"
If I create manually without using user exist, the field WBS Element is accepting the value and service order is creating successfully with WBS Element.
This is also same as CAUFVD-PSPEL.
I Couldn't understand How the SAP system will works?
Any solution for this.
Note: Creating Service Order IW31, Passing WBS Element with user exist with same field (CAUFVD-PSPEL) giving dump error showing "Passing Character values". If I create manually, and enter character + numeric in the same field CAUFVD-PSPEL, system creating service order without any error.
Help me out
thanks
Sekharself answered
-
Adding Records In The User Exit
I have a requirement to modify the transactional data user exit 0CO_PC_PCP_01. Currently this datasource extracts cost estimate data and using some complex rules I need to determine the active cost estimate for each month and duplicate the records according.
ie if a cost estimate dated 01.01.2005 is valid for all of 2005 then I need to duplicate all corrsponding records 11 times ie one set of additional records per month.
I have created the ABAP code to do this and for small volumes of data it works perfectly. However if I increase the data volume the exit seems to run and run.
The code is as efficient as it can be and there are no database selects within it.
My questions are:
1)is it acceptable to add a high volume of new data in the user exit or should I be looking at an alternative.
2) Does the user exit get called multiple times during a dataload. ie once per datapackage. If so then am I correct in saying it is dangerous to add records this way because some of the records added could already exist and be processed within another datapackage and therefore records would then be duplicated.
3) One approach I have thought of but not yet tested is to use the function module(s) used by the SAP standard extractor to populate a table on R3 and then use a custome datasource to retrieve the data from this table.
Any thoughts/views/answers on the above would be appreciated.
Many thanksSimon,
1. Lets say that the datapacket size is 20000 and all of your records are active. Then when it exits the user exit, the size of the datapacket would be 20000 X 12. that is a very large packet. Probably not a good idea to do this.
2. The user exit will be called for each datapacket. That is correct and yes, it would be wrong to do this in a datapaket. If a record exists in two datapackets, then records are generated for this multiple times.
3. Why are you not considering applying the logic in BW rather than doing it in R/3. That should be relatively easy.
This is how you can do it. When loading the data into BW, load it into an ODS object. Add a new Infoobject to the ODS object (ZACTIVE) for example. In the update rules between infosource and ODS, apply the logic that you are using to determine if each record is active or not. Now from this ODS, load it to either INfoCube or ODS, wherver you want to. In the update rules between the two, you can use the "return table" to generate multiple records where ZACTIVE = true, or you can generate in the start routine instead.
By doing this you emilinate the case of generating duplicate records.
Hope that helps.
Gova -
Adding lines to segment of Idoc in User Exit ZXEDFU02
Hi!
do I need to maintain Idoc in WE30 if I need to add some lines to one segment in User Exit ZXEDFU02?
Here is my sample code placed in ZXEDFU02 for adding a line, but it is not making an effect:
WHEN 'E1EDP01'.
CLEAR E1EDP26.
E1EDP26-QUALF = '003'.
E1EDP26-BETRG = 777.
or maybe it depends on Idoc that I use in We19?
For example, if Idoc that I use in WE19 for testing my User Exit does not has qualifier 003 in segment E1EDP26... could it be a reason?
Will reward,
Mindaugas.Hi,
Saple Code:
INCLUDE ZXEDFU02 *
data: ls_ka1 like e1edka1,
ls_edidd like edidd,
l_lines type i.
describe table int_edidd lines l_lines.
check l_lines ne 0.
read table int_edidd into ls_edidd index l_lines.
check ls_edidd-segnam eq 'E1EDKA1' and
ls_edidd-sdata(2) eq 'RS'.
ls_ka1-parvw = 'ZC'.
case xvbdkr-bukrs.
when '1000'.
ls_ka1-lifnr = '41010005823845840'.
when others.
exit.
endcase.
ls_edidd-sdata = ls_ka1.
append ls_edidd to int_edidd.
Regards -
2LIS_02_ITM - Adding fields to communication structure - User exit
Hello,
I have read the weblog of Roberto Negro concerning the possibility of adding fields to the communication structure of an extractor.
In his article he talks about MCVBAK and so on and refers to enhancements MC10001, MC50001, MC60001.
I am trying to do the same with 2LIS_02_ITM.
The communication structures are MCEKKO and MCKPO.
Can someone explain how to proceed in order to locate the approporiate user exit ?
Claudio CiardelliAmit
How to Add payroll period fields(FAPER & IPERIN) to the structure HRMS_BIW_PY1.
These fields are coming from RT_person cluster table.
That will be great help.. -
User exit - VA01 - Adding new line items while Sales Order Creation
Hi All ,
I have a requirement where : in VA01 , i have to add new line items using USER EXIT or BADI.
The scenario is : we maintain Characteristics for Material. When we select a particular characteristics, Factor and length will be displayed in a Popup. we can specify the Factor and lenght.
Here , if i specify Factor as 10 and lenght as 1000. the Material has to be cut / split into 10 items of 1000 mts each. and the ITEMs table control should get 10 ITEMS .
How to add new items using User exit or Badi in VA01 while creating a sales order.
i have identified the user exit . What code should be used to add new line items.
kindly help me in solvng this.
Waiting for your replies.
Thanks in advance.
Suki.hi
wich user exit do you take for that ??? -
VT01N User exit for adding additional field to VTTP table and populate the
Hi,
Can any one sujjest what is the use exit/bapi when we add(append) a custom field to vttp table to populate the incremental number based on ship to address when we create a shipment..
need user exit in ...............to populate data to vttp table custom field when we append......hi,
check these exits for vt01n.
Transaction Code - VT01N Create Shipment
Enhancement/ Business Add-in Description
Enhancement
V56USVDP Preparation for updating new objects for transport?
V56USVDO Update new objects for transport
V56USTAT User-individual definition of transportation planning status
V56UNUMB Shipment number allocation
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UCHCO Check shipments are complete
V56UCHCH Shipment processing: Check whether changes were made
V56TDLIF Filter Delivery Items for Shipment
V56SLDET Shipment processing: Leg determination
V56MVT04 Extensions for Collective Processing of Shipments
V56LOCID Shipment Processing: Determine Location Identification
MV56AINI Initialization of transaction control for transportation
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI Read Delivery Data for Shipment Processing
Business Add-in
BADI_LE_SHIPMENT BadI: Shipment Processing
BADI_V56N User Exit for Message Determination: Shipment -
Please provide me with a solution
Q1. will it charge material price to work order automatically ?
No you have to go with user exit for this
Q2. Unless the business is so specific such that they would like to treat this activity via sales, there is no significance in capturing the activity via SD. Perhaps, I would say, MM route is more appropriate.
Q3. The above holds good. That you go with MM route.
G. Lakshmipathi -
MD11 Screen Exit/BADI/ User Exit For Adding Custom Field
Hi,
I have a requirement wherein i need to add one custom field on MD11 Screen.
I cheked but coudnt find any relevant Exit or BADi for doing this.
Doen Anybody knows how to add Custom Field on MD11 Screen.
Thanks in Advance.
NitinHi,
Check....
Exit Name Description
LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg
LMDZU001 User exits in additional planning
reward points if useful....
Regards
AK -
User exit for adding more date types into IT0041
Hi all,
I have a requirement where in HCM infotype IT0041 I need to add couple more custom date types besides standard date types in IT0041. So if I use user exit, what are the steps to do this? what enhancement name should be used?
Thanks,Ben - Unfortunately I haven't implemented a BAdI as I do more functional work. I found a few documents on line that may help (gotta love Google!). Maybe someone on SDN who is more technical can provide additional information.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702?quicklink=index&overridelayout=true
http://sapient.wordpress.com/2007/05/25/implementing-business-add-ins-badi/
http://it.toolbox.com/wiki/index.php/Document_on_BADI#BADI_Implementation
Good luck!
Thanks,
Danialle -
User Exit for IW22 for adding a TAB
Plz tell me the user exits if any,there ao add an additional TAB in IW22.
Vipinhi,
check this exits
IWO10026 User check on setting status 'Do not perform'
IWO10027 User exit: Generate user-defined settlement rule
IWOC0001 Create PM/SM notification: Determine reference object
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0003 PM/SM authorization check of ref. object and planner group
IWOC0004 Change single-level list editing PM/QM/SM ALV settings
screen exit
IW22 SAPLIQS0 IWOC0002 E EXIT_SAPLIQS0_001
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM1
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM2
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM3
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM4
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM5
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM5
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM5
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM5
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM5
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM5
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM1
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM2
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM3
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM4
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM5
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM6
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM7
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM8
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM9
QQMA0001 S SAPLIQS07790_USER0001_SAPZGEP_PCM0
QQMA0008 S SAPLIQS03030_USER0002_SAP 0
QQMA0008 S SAPLIQS03030_USER0002_SAP 0
QQMA0008 S SAPLIQS03030_USER0002_SAP 1
QQMA0008 S SAPLIQS03030_USER0002_SAP 2
QQMA0008 S SAPLIQS03030_USER0002_SAP 3
QQMA0008 S SAPLIQS03030_USER0002_SAP 4
QQMA0008 S SAPLIQS03030_USER0002_SAP 5
QQMA0008 S SAPLIQS03030_USER0002_SAP 0
QQMA0008 S SAPLIQS03030_USER0002_SAP 1
QQMA0008 S SAPLIQS03030_USER0002_SAP 2
QQMA0008 S SAPLIQS03030_USER0002_SAP 3
regards,
sandeep
Edited by: Sandeep patel on Jul 11, 2008 3:27 PM -
Adding entries to Custom table from IDOC User-Exit
Hi All,
I need to add an entry into a Ztable, based on the entries in the IDOC.. The user-exit available to me is EXIT_SAPLVEDF_002. But it is called a number of times... Is there any way to update the Ztable getting the data from different segments?..
Please help..
Regards.
AshaThe table INT_EDIDD type EDIDD conatined the interface tables of the FM contain all the segmanent data, you can read that and populate the Z table respectively ...
Thanks,
Adi. -
User exit MM06E005 - Customer fields in purchasing document
Hi,
I am using user exit MM06E005 - Customer fields in purchasing document to validate the line items in PO and display the value at header level.
My requirement is when the user enters the line items and press enter the validated value should get populated at header level.I had included a tab (customer tab) in that the value should get displayed.
likewise for each and every line items the value should keep on changing.
And
I the field that i had added at header shows the value during the save but once we come out and enter again,it is not displaying the same.
Regards
ManojHi,
Indeed the exit which you have specified MM06E005 comprises the enhancement for customizing fields and screens associated with it. may be you might not have activated the screen associated with the exit. the screen might have been created but missed while activating.
Regards,
Jagath
Maybe you are looking for
-
Questions on Iframes and PAR structures
Hi, I have a few questions on Iframes, JSP's and PAR structure for Portal Application Projects in NWDS. 1. Can I change the source of an iframe from one jsp to another instead of one html to another. 2. My Jsp's are in Portal-Inf/pagelet because when
-
Making a Dynamic, Query-able .swf
Hello, I'll direct your attention to ID software's homepage, http://idsoftware.com. You can see by looking at the source that each blog entry headline is a reference to an .swf file with a query. For example: http://www.idsoftware.com/ie-header.swf?p
-
Hi, I created universe in IDT and when I import it to WebI for report generation, I am getting error. Request you to check the attachment and let me know what exactly the problem is.
-
Imac 3.2GH core i3 and printing
Hi, I have a new iMac and I am having trouble printing. I have been on the Apple support but they are unable to help either. The trouble I have is printing photos. I have tried two different printers HP Photosmart all-in-one with a resolution of 4800
-
V$SORT_USAGEとV$SQLとV$SESSIONの連結SQLで.重複したデータを出力させないようにする方法
下記SQL文でV$SORT_USAGEとV$SQLとV$SESSIONをJOINした結果を表示させようと思いますが. SESSION_ADDRが重複して出力されてしまいます. 重複を排除したSQL文を出力させる方法をわかる方いましたら.教えてください. ※本来は.SELECTするカラムはもっと多いですが.ここでは省力しています. SELECT SORT.SESSION_ADDR FROM V$SESSION SES, V$SORT_USAGE SORT,