BADI/Exit which triggers while PR check : ME51n
Hi Experts,
I am stuck up with an critical issue which is like an show stopper.
Is there any BADI/Exit which triggers while Purchase Requistion check i.e. ME51N?
Cheers
VJ
Edited by: Vishal Jindal on Apr 7, 2011 12:33 PM
Moderator message: moved back to ABAP forums.
Edited by: Thomas Zloch on Apr 7, 2011 1:58 PM
Thanks a lot Vinod!! It's was helpful.
I have coded to retrieve the item data as well. Please see the below code .
METHOD IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
TYPES : BEGIN OF TY_EBAN_EBKN,
BANFN TYPE EBKN-BANFN,
BNFPO TYPE EBKN-BNFPO,
WBS_ELMNT TYPE ZPS_BOQ-WBS_ELMNT,
MAT_CODE TYPE EBAN-MATNR,
MENGE TYPE EBAN-MENGE,
END OF TY_EBAN_EBKN.
DATA:LT_ITEMS TYPE MMPUR_ACCOUNTING_LIST,
LS_ITEM TYPE MMPUR_ACCOUNTING_TYPE,
LS_ITEM_DATA_WBS TYPE EXKN,
LS_ITEM_DATA_WBS1 TYPE EXKN,
LT_ITEM_DATA_MAT TYPE TABLE OF MEREQ_ITEM,
LT_ITEM_DATA_WBS TYPE TABLE OF EXKN,
LT_ITEM_DATA_WBS1 TYPE TABLE OF EXKN.
LT_ITEMS = IM_ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ).
LOOP AT LT_ITEMS INTO LS_ITEM.
CLEAR LS_ITEM_DATA_WBS.
LS_ITEM_DATA_WBS = LS_ITEM-MODEL->GET_EXKN( ).
APPEND LS_ITEM_DATA_WBS TO LT_ITEM_DATA_WBS.
CLEAR LS_ITEM_DATA_WBS.
ENDLOOP.
ENDMETHOD.
I am facing one problem here. I am getting only one record in LT_ITEM_DATA_WBS internal table although there are 2 line items at item level. Actually what I want to exactly is, I want to combine the Material and WBS element in one internal table.
Can you please help me out how can i proceed with that and let me know if you need any further relevant info.
Cheers
VJ
Similar Messages
-
BADI which triggers while saving Marketing Attribute Set
Hi,
Could you please help me out with any BADI which triggers while saving Marketing Attribute Set.
Thanks,
SandeepHello Sandeep,
Can you trt this bad CACL_VALUE_CHANGE
thanks -
Want a UserExit or a BAdi that gets triggered while saving a PO
Hi Gurus,
Can anybody help me by telling which UserExit or BAdi gets triggered while saving a Purchase Order.
My requirement is:
While I create a PO using a Purchase Requisition that was created for a Process Order and save it, I want to update the Vendor Batch Number of the PO to the Vendor Batch Number that I created in the Customer screen of the Process Order.
Hence for this I want a UserExit or a BAdi that gets triggered while saving the PO....Hi
Use the BADI
ME_PROCESS_PO_CUST and the method
PROCESS_HEADER
for your requirement
Reward points if useful
Regards
Anji -
Exit which triggers after SO Save
Dear Experts,
I have a requirement to send auto mail to user on customer credit status when user create Sales Order and save.
I did all the necessary code in the form routine USEREXIT_SAVE_DOCUMENT of include program MV45AFZZ.
USEREXIT_SAVE_DOCUMENT will trigger before the document save but I need the condition value for that SO and that will be available only after the Order saved therefore my requirement will be completely fulfil if there is any exit which triggers after Order saved, please let me know if there is any exit triggers after SO saved.
Thanks in advance...
Regards
VenkatHi Venkat,
I think you can achieve through output. You can create an output condition similar to KRML (in which the credit data is send to credit rep) and modify the same as per your need.
How ever the desired credit data that you are looking for can be called from sales summary(t code-VC/2): Info block 018 Credit info.
Hope this will help you.
Please revert to forum if have further doubts
Cheers
Atul -
User exit that triggers while saving in transaction F-02
Can any one please tell which userexit trigers while saving The document in transaction F-02.
I have tried some exits but they are not triggered while saving.Hi Satya,
These are the User Exits for that T-Code.
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment).
Out of these, i am expecting one of the below is triggered while saving.
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
Regards, -
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 which changes po (item level) delievery date (eket-eindt)
Hi,
Can you please suggest EXIT which triggers while changing delivery date (LIKP-LFDAT) of outbound delivery through TCODE VL02N should reflect in its corresponding purchase order delivery date ( ME22N at item level field (EKET-EINDT)..
I tried in USEREXIT_SAVE_DOCUMENT_PREPARE include MV50AFZ1. but changes are not reflected in PO.
code:
XEKET-EINDT= LIKP-LFDAT.
but it is not working .there is no field as update indicator (updkz) in table xeket..Please let me know if I am doing something wrong.
Thanks in advance.Have you checked the BADI 'ME_PROCESS_PO_CUST' ? This has a method PROCESS_ITEM, this may solve your problem.
-
BADI ME_PROCESS_PO_CUST is not triggering while creating/changing PO
Hi,
I am new to BADIs,
I am trying to implement BADI ME_PROCESS_PO_CUST in ECC 6.0. I have done the implementation and activated. I kept a break point in PROCESS_ITEM method, but the BADI is not triggering while creating or changing the PO. Please advice me what could be the reason behind this?
I used the SQL trace but i couldn't get the BADI ME_PROCESS_PO_CUST in the list.
thanks in advance
Regards
Jagadishhello jagdish,
implement this user exit.....
MM06E005...
go to EXIT_SAPMM06E_017 in that then you can put a break point in the user defined function module.....
or use
BREAK 'C5133392' (use your user in place of C5133392)....it will stop here while creating PO or changing PO...
now you can do whatever you want to do in create or change PO using this function exit......
perform the validations on import parameters.....to create or change ....and activate the project....
hope this will give you some idea and help -
User exit for MIRO while saving
Hi
I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed
Is there any user-exit which gets triggered while saving the document in txn MIRO.
I know the following BADI INVOICE_UPDATE gets triggered while saving the documents, as i am new to the BADI functionality, i am unable to proceed further with the implementation of it in the system.
Can some one let me know how to implement a BADI.
CheersHi Sushis ,
check this link abt badi
http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
and u have to choose this method is useful
<b>CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update</b>
let me know if u required more info.
regards
Prabhu -
BADI/EXIT in Purchase Order
Hi ALL,
When i create a PO , payment terms displays automatically because In vendor master payment terms is maintained but in some case based on the material/vendor combination i have to select a different payment terms which i have maintained in a Z table. What i should know is, Is there any BADI/Exit which will be triggered
1) when a line item is entered where i should be able to change the payments terms value (OR)
2) when i check the Purchase order
3) When i save the purchase order.
Note : Both Header & Line item value should be available in the EXIT/BADI.
Thanks & Regards,
Rajanidhi Rajasekeran.Hi,
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.
Regs,
Venkat Ramanan -
User Exit that triggers for Change operation
Hi All..
I want a user exit which triggers when I enter into an infotype(2001) from tcode PA30.
My actual requirement is to show the field REFNR in display mode.
By using the exit PBAS0001 exit0001 I can make the field REFNR in displaymode for create operation.
But in change operation of the infotype the exit is not getting triggered.
Regards,
Anji.chk these
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
Business Add-in
HRPAD00_PREM Definition of User Exit for Collective Search Help PREM
HRPADUS_PBAS_0001 Customer Exit for Message handling
HRPAD_SUBTY_CHECK
HR_F4_GET_SUBTYPE HR: Entry help for subtypes
HR_FAST_ACTION_CHECK Check fields on the fast entry screen
HR_INDVAL HR: Indirect wage type valuation
HR_SET_PKGAB
HRPAD00_RECOG_SCREEN Employee - Recognition Screen
HRPAYXX_DELETE_PERNR BAdI for Reports Deleting Personnel Numbers
HRPAD00_PAPM Definition of User Exit for Collective Search Help PAPM
HRPAD00_GET_AF_0008 Additional Fields for Basic Pay Infotype (0008)
HRPAD00_ENTRY_LEAVE HR_ENTRY_DATE and HR_LEAVING_DATE
HRPAD00_ADRS HR: Address formatting
HRPAD00MGEACTIVATION Activation Action BAdI for Global Employees
HRPAD00INFTY Update / Infotype maintenance
HRPAD00AUTH_TIME Time Logic in the PA Authorization Check
HRPAD00AUTH_RECORD Spanish Data Privacy Law: Exit for Recording
HRPAD00AUTH_CHECK HR: Authorization Check
HRIV_REDUCE_AMOUNT Reduction within Indirect Valuation -
Badi/exit/Workflow called during execution of the BSP "SRMSUS_SELFREG"
Hi all,
We are running on SRM 5.0.(SP06) Strategic sourcing scenario.We are using enterprise Portal as the front end.My query is that at the end of Supplier registration process,when the Supplier admin creates the USER ID's for the Suppliers(through BSP SRMSUS_SELFREG),is there any way by which we can create the enterprise Portal users for those suppliers at the same time(Automation) ?My BASIS person told me that the automation is possible when the EP system is connected only to 1 backend but in our landscape we are having several systems connected to EP.
Other alternative would be to send a mail to the EP administrator stating that the Vendors User ID's have been created in SRM and the EP ID's need to be created.
For this ,i didnt get any BADi/exit which gets triggered during this USER ID creation process wherein i can write my logic for sending the mail to the EP admin.
There are some Std workflows (e.g. WS10000209)for USER creation but these dont seem to be useful in this scenario.
So the only method left is to modify the Std BSP which we dont want.Has anybody worked on this kind of scenario?
Any suggestions are welcome and will be rewarded as well.
BR,
Disha.Hi
I am still searching.. but no BADI/Exit is called in this case..
<u>Meanwhile, i found few SAP OSS notes, which you can go through -></u>
Note 1031896 Delimiting of Supplier Reg URL due to Special characters
Note 1031070 Supplier cannot be registered
Note 996030 Need to relogin to srmsus_selfreg service when using aliases
Note 1032573 FormofAddr field mandatory in userselfreg.htm page
Note 1003820 Supplier cannot be registered
Note 889451 Not Possible to register in Supplier self-registration
Note 807511 Error message after self registration of supplier admin user
Note 784883 Irrelevant warning message stops self registration
Do let me know.
Regards
- Atul -
BADI/EXIT for changing line items (F-02)
Hi All,
I want to know any BADIs/EXITs which allow changing of G/L line items in transaction f-02. I have tried substitution it does not work for my requirement.
My requirement is copying of PRCTR from offset line item to the Vendor/customer line item which always appears as line item 001.
Thanks,
Preetham SF050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment) -
Enhancement pt /badi/exit to restrict Creation/edition of Note txt (STXH)
Hi All,
I am trying to restrict creation/edition of Note(text) in PA30 for qualification(infotype 024) . The BADI(HRBAS00INFTY) which triggers when the qualification is changed , is NOT having any data in old_image and New_image when Notes are changed .
Any info on how to restrict enhancement point /badi/exit for this will be very helpful .
Thank you in advance
Brajesh .No user exits or badis are available to control the transactions or master data long texts. It is only available for SO10 texts (Standard Text). I have read this somewhere in the SAP Notes.
-
Hello Everyone,
How r u guys? I need some help in BADI/User Exit. I am working on FI - CFM. There is a transaction with TCode- TS01 (Create Securities) / TS04 (settle securities).
I need a BADI/Exit which gets activated when the user clicks on the save button. I tried to locate them but couldnt find anything suitable. I emailed sap and they told me that there is a BADI - FTR_CUSTOMER_EXTENT which I
could use to solve my problem. I did try that and wrote a code in that badi;s EVT_TRANSACTION_SAVE_CHECK method.
But unfortunately when i clicked on save button the badi didnt run. I am in a fix as to what do I do ? The system I am working on is a bit old its SAP R3 4.7C. In that I created a Z badi implementation and embeded the original
badi definition and wrote code and activated everything.
Either the badi I am using (which sap guys told) isnt correct or something. Can anyone guide me as to whats the next step.
Thanks,
JGHi,
To add a new custom tab in TM_XX transactions you have to follow these steps:
1. (SE80) Create a dynpro as SUBSCREEN, with the structure (fields, tablecontrols...) you want in the new tab, located in a modul-pool.
Example: Program: ZCFM001
Dynpro: 1010
2. (SE18) Create your custom implementation of BADI FTR_CUSTOMER_EXTENT. This will create a Z class where you can program the new tab management.
Example: Implementation: ZAMPLIACIOTM001
Class: ZCL_IM_AMPLIACIOTM001
3. (SE24) Implement method EVT_APPLICATION_START of your new class. This method is called when the transaction is going to be painted, and manages (among other things) which tabs need to be shown. In general terms, you will have to assign your dynpro to a function code.
This BADI offers you 2 custom function codes, and so, the ability to add two custom tabs. These function codes are OPEN_TRTM_CUST_01 and OPEN_TRTM_CUST_02.
To add your dynpro to a function code, you have to identify this relationship in the internal table (parameter) PC_TAB_BADI_TABS. This is the table that contains the custom tabs to be added.
To do this, you have to add the following piece of code:
DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.
4.1. Modify the tab structure.
LS_BADI_TABS-REPID = ZCFM001. "Report
LS_BADI_TABS-TEXT_TAB = 'New Tab'. "Text (max. 30 CHAR) to display
LS_BADI_TABS-DYNNR = '1010'. "Subscreen
4.2. Add the new tab.
MODIFY PC_TAB_BADI_TABS
FROM LS_BADI_TABS
TRANSPORTING REPID DYNNR TEXT_TAB
WHERE FCODE = 'OPEN_TRTM_CUST_01'.
And that's it! Now you will be able to see you new tab in these transactions.
I hope this helps you.
<b>Reward points</b>
Regards
Maybe you are looking for
-
HP Officejet Pro 8600 no possibility to configure Port
My OS is Win 8.1 (last release), last Printer Driver version, last Printer Install Wizard used. My first Printer "HP Officejet Pro 8600" folling down about Screen issue. I do an exchange with same model, i unsinstall and reinstall the full with wizar
-
Hi ALl We have a custom requirement from our client to have a duplicate check in ML81N tcode at the entry or before saving the document. The duplicate check to be set on the fields Reference no (XBLNR) & external sheet number (LBLNE) such that for th
-
Is there any iBooks Author developer out there for hire? I am planning to develop a children picture book ibooks-author ibook and I need someone to help create it. Please let me know if interested.....
-
HP ScanJet Scanner 5370C Series
I have just bought a new Desktop PC and find that my perfectly good ScanJet Scanner is not compatible with the OS [Windows 8 .1] is there anyone out there with better skills than myself who can advise on getting the scanner installed on my PC. Thanks
-
I recently saved my contacts in iCloud and now all of my contacts are on my daughters phone. I only wanted them saved to my PC. Why did this happen and how can I fix it? Is it because she downloaded the update to her phone?