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.P
Find myself
Similar Messages
-
Is there any retro effect for this changes we made in 2001 Infotype for
HI Experts...
Please advice me on the follwing absence issue.
In my clients company.... .... one of Personnel areas employees Earned leave records are not updating in 2001 Infotype from the begining.
Now they wish to have to update in 2001 Infotype.
What are the Retro effects after updating the EL s in 2001 IT for previous dates.
Is there any retro effect for this changes we made in 2001 Infotype for the past dates.
We dont need retro effected from those changes.
Please advice...
Sai.HI Vincent....
Thanks for the reply.
Last month professional tax rates were shown up correctly only.
For the employees slab rates are similar that is 200 per month.
Last month professional tax rates were correct only.
For the current month also the prof tax amount is showing up correctly only.
Please advice to get the professional tax amount in the payslip.
Regards,
V Sai. -
User exit to update extended segment in idoc for va01
Hi Experts,
I am working on Outbound IDOC interface for VA02 and VA01
I am using ORDERS05 IDOC type
i want to create one custom segment
and i want to fill that custom segment
but i am not able to find user exit to update this custom segment
please help.Akshay,
I think you want to send order response for the orders created via Va01 or edited by Va02
To do this steps are:-
1) Use FM IDOC_OUTPUT_ORDRSP to send order response (ORDERS05)
2) Find the function exits in this Fm using search string as " Call Customer-function".
3) Use include in the exits to write code to append new segments to the IDOC. Look for the Tables parameter in the Exits which are of structure type EDIDD. Insert new Segment details in this table and your IDOC will be generated with required values.
Hope this helps!!
Harry -
User-Exit in VA41/VA42 at ITEM level for output determination?
Hello Experts,
Am looking for user-exit/BADI/Enhancement Spot, my requireemnt is I need to populate the output (VA41/VA42 Tx>Menu>Extras>Output>ItemEdit goes to next screen, here we hv a column with lable of Output) output with my_z_output as soon as user inputs a line item and press ENTER (if its ONLY 1 item user may press SAVE button), pls. let me know whiich is the good spot for my req. in VA41/VA42
Thank youThank you. But, functional analyst is saying its 'not' or may be some other reason!
Pls. let me know wht is the good user-exit in VA41/VA42 to populate a value into a custom field (inserted via APPEND STRUCTURE) of a standard SAP communication structure? This is for output determination
Thak you -
User Exit/BADI while setting status as TECO for WBS in CJ20N
Hi all,
I need a BADI/User Exit which triggers when we try to set the status of WBS as 'TECO' in CJ20N transaction.
Please help.
Thanks in Advance,
SagarHi Sagar,
Go through this Badis.
AFABD_CHANGE
DOCUMENT_MAIN01
DOCUMENT_OBJ
DOCUMENT_STORAGE01
IHSA_LIST_EDITING
IWO1_ORDER_BADI
IWO1_ORDER_BADI
MRO_CONTRACT
MRO_CONTRACT
NETW_DIR_PROCUREMENT_REF
NETW_USER_FIELDS_F4
PLM_CATALOG_IF
PLM_CATALOG_IF
PROJECTDEF_UPDATE
PS_TRANSFER_DATES
WBS_FIELDS_FOR_ASSET
WBS_USER_FIELDS_F4
WORKBREAKDOWN_UPDATE
If Found Help Full Do Reward.
Regards.
Eshwar. -
ABAP: SD user-exits - custom fields using from KNVV or VBAK
Hi all,
I have a technical question.
I've created some custom fields in table KNVV. The values of these custom fields have to be used during Sales Order creation/modification for determining materials or princing, in sales order user-exits.
My question is:
During the Sales Order creation/modification, in the userexits:
Is it preferable to get directly the values of the custom fields from KNVV?
OR
Is it preferable to transfer values of the custom fields from KNVV to VBAK (which was extended with the same custom fields like KNVV...) with transfer data, and then use only VBAK?
Thanks in advance for your answers.
Have a nice day!Anderton,
I would prefer moving them to VBAK and then using it. Why?
1. Once you have queried KNVV and moved it to VBAK you do not have to perform the select again.
2. During SO change, you already have the data in VBAK so you do not have to fetch again from KNVV.
3. Lets say the Z field was changed on KNVV after creation of SO and if your requirement is to use the Z field content when the SO was created, you cannot go back to KNVV since the data is changed. But if the same was stored in VBAK, you do not have that problem.
Thanks,
Vikram.M -
Field data change-User exit in PA30 & PA40
Hi All,
I wants to execute an rfc with following data, whenever changes maid in following fields.
P9005/ZFIELD, PA0002/NACHN, PA0002/VORNA, PA0002/CNAME,
PA0000/STAT2, PA0041/DAR01, PA0041/DAR02, PA0041/DAR04,
PA0008/TRFGR, PA0008/TRFST, PA0001/WERKS, HRP9103/ZZORG, PA9008/WRKLO, PA0041/DAR01
Please guide me which user exit i can use?
Or any other idea by which i can send those changes to XI.
Thanks in advanceOk I found user exit PBAS0001 will solve all except one.
HRP9103/ZZORG field.(field of PP02)
null -
MIGO User Exit after Mat Doc creation
Hi Experts.
I would like to request for your help about an user exit that will be triggered after the material document has been created or posted. The requirement is that I need to extract the material document from SY data and create a textfile via download. Thanks a lot!
Best Regards,
RandyTransaction 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.
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal
No of Exits: 8 -
User Exit which triggers after creation of purchasing group
Hi all.
We are creating purchasing group by using the FOLLWOING PATH
SPRO->MATERIAL MANAGEMENT->PURCHASING->CREATING PURCHASING GROUP.
Our issue is whenever new purchasing group is created I need to track this and send this new purchasing group details only to other system. Can we have some user exit we can call one RFC.
Pls let me know. Thanks in advance.
cheers,
sami.Hi,
You can check which BADi is getting initiated on creating new purchase order and do your coding there..
You can search a BADi with SQl trace..
Go through this thread
Exit for Purchase Order ME21N
Regards
Mudit
Edited by: Mudit Batra on Jan 22, 2009 6:22 AM -
User Exit during Sales Order Creation - New Line Item needed
I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
I will definitely reward points for useful answers.
ClarkHello Mahendra
The requirement is as follows :
PART 1:
Sales Order Enter:
1. When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP. TANN are free goods that should not be considered for consolidation. TAPS & ZTAP are lower level materials as a result of product selection. They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
Do not check items where VRKME <> EA
2. If VRKME = EA, go to MARM for MATNR.
3. Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
4. Divide the order quantity (VBEP-WMENG) by UMREZ.
5. If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
6. Add a new line to VBAP for the same material with the case quantity. If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
PART 2:
Batch Job to run prior to the Delivery Due List:
1. Read VBUK for Delivery Status (LFSTK) = A (delivery not processed). Get all of the document numbers (VBELN).
2. Go to VBEP for those document numbers to get the goods issue date for the order. There will be many records in VBEP for the same sales order. Look at all orders with a goods issue date (WADAT) of next day.
3. Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
4. For customers who have more than one order in VBAK, search all line items (for all orders). If there are no duplicate materials across sales orders, do nothing.
Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP. TANN are free goods that should not be considered for consolidation. TAPS & ZTAP are lower level materials as a result of product selection. They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
5. If there are duplicate materials, go through the same logic as in part 1. If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order. If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, Line Item Consolidation. If there is no remainder, update the qty on this item directly.
Part 2 is relevant for order types ZOR, ZCA, ZSM
This batch job will have to be run manually for Day Pick orders. The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
Business Justification:
The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking. This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material. In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines. -
MIRO user exit at material document creation
I need to find out where or how material documents are created. Right now we have one material document per day per invoice so a single document can have many payments made against it (if they are made in the same day). What I need to do is change it so that each payment has its own material document. If you have 3 payments against invoice 001 in the same day then you have three material documents against that invoice instead of just one.
I am assuming this is done, or can be changed, in a user exit. If not is this a configuration issue?
Regards,
DavisHere is the list of User Exits and BADIs for MIRO.
Enhancement/ Business Add-in Description
Enhancement
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification -
User Exit and Error message creation at Delivery
Dear Friends,
I am capturing the penal rates and the amount received against the penal rates from the customer in the Z table.If the penal rates and the amount received from the customer is not matching the system should not allow to save the delivery and trigger an error message.
Can sombody let me know the user exit I need to use and how to define the error message.
Thanks
IsaacHi,
Check SAP Note 415716 - User exits in delivery processing. With this note you could know that you must be careful with the error messages in some userexits for delivery.
Regards,
Eduardo -
Problem while creation custom Infotype for HRP (Organization mgmt)
Hiii...
Newbie to HR-ABAP...
I have successfully created a custom infotype for HRP (Organization mgmt)....how can i see the infotype in t-code PP01.
Thanks
AHi
Perhaps MM11/12 can't update your custom field because you have use a data element where the flag Document change isn't setted.
Max -
User Exit to stop the creation of PO
Dear All,
I have a typical problem , we have 2 servers both running on ECC 6.0.
I tried creating a PO and I kept a break point in the exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) in server1 and the control stops here and I can check all the values from the table EKKO .
I implemented my user exit in server 2 in the same exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) , when I tried to debug , I was suprised to see that the control never comes in this FM EXIT_SAPMM06E_013 , but server 1 and server 2 are both ECC6.0
Is there any customization which I had to check from my end , so that the control can go through this user exit.
Even if I don't implement this user exit , shouldn't the flow be going the way it was in server 1 ( I mean control going through EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) Kindly advise..
Best Regards,
Srinivas Gummadi.Hi Srinivas,
You need to create a project in CMOD and assign the enhancement to the project.
The project should be activated otherwise the user exit will not be triggered.
Regards,
Vinod -
User exit to enhance PR creation from work order (WO)
Hi Experts,
When creating a work order, we can also automatically create PR (Purchase Requisition).
My client has a requirement to change the document type of the PR (BSART) based on the order type of the WO.
I have searched through some exits haven't found any that can be used to manipulate the PR creation process.
Does any one have any knowledge of user exit or BADI that can be used to achieve this? Your help is greatly appreciated.
Best Regards,
FandiHi Fandi,
Try to use exit COZF0001 or COZF0002.
Regards,
Ari
Maybe you are looking for
-
Hi Gurus, i am trying to activate a business content query (related to infocube 0IC_C03) but i get this error: "navigation attribute 0material_0division does not (actively) exist " how can i solve this ? and what's the impact (on existing infocube, q
-
Cisco ISE - expired demo license alarm
Hi, We are implementing Cisco ISE 1.2.0.899 and have an alarm reporting expired license. This alarm refers to the Advanced License demo and is therefore a false positive. This issue is that we cannot remove the demo icense and stop the root cause of
-
My Ipad 2 has suddenly started losing wifi connection.
My ipad 2 (3 months old) has suddenly developed a problem that it loses wifi connection in my house. Laptop works fine from same location. Happened since installing latest apple software upgrade 1.51. Network reset and factory restore not helped. W
-
hello, i want to ask u that where we assign gl a/c for the posting of that material which is wastage material or scrap material in production after confirming in co11n and by using movement type 531. plz reply.
-
Swiching off design mode in numbers
How do i swich off design mode in numbers to use tick boxes?