Need user exit when deleting an invoice using MIR6 transaction
Hi all,
I m trying to delete an Invoice using MIR6 transaction. And I need a user exit to be triggered on deletion of an Invoice.
Can anybody help me and let me know if any user exit is available there?
Points will be rewarded.
thanks
Ashish
Hi
Business Add-Ins
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.
In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.
A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects
DEFINING THE BADI
1) execute Tcode SE18.
2) Specify a definition Name : ZBADI_SPFLI
3) Press create
4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
multiple use.
5) Choose the interface tab
6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
7) Dbl clk on interface name to start class builder . specify a method name (name,
level, desc).
Method level desc
Linese;ection instance methos some desc
8) place the cursor on the method name desc its parameters to define the interface.
Parameter type refe field desc
I_carrid import spfli-carrid some
I_connid import spefi-connid some
9) save , check and activate
adapter class proposed by system is
ZCL_IM_IM_LINESEL is genereated.
IMPLEMENTATION OF BADI DEFINITION
1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
2) Specify aname for implementation ZIM_LINESEL
3) Specify short desc.
4) Choose interface tab. System proposes a name fo the implementation class.
ZCL_IM_IMLINESEL which is already generarted.
5) Specify short desc for method
6) Dbl clk on method to insert code..(check the code in AAA).
7) Save , check and activate the code.
Some useful URL
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
Now write a sample program to use this badi method..
Look for BBB sample program.
AAA
data : wa_flights type sflight,
it_flights type table of sflight.
format color col_heading.
write:/ 'Flight info of:', i_carrid, i_connid.
format color col_normal.
select * from sflight
into corresponding fields of table it_flights
where carrid = i_carrid
and connid = i_connid.
loop at it_flights into wa_flights.
write:/ wa_flights-fldate,
wa_flights-planetype,
wa_flights-price currency wa_flights-currency,
wa_flights-seatsmax,
wa_flights-seatsocc.
endloop.
BBB
*& Report ZBADI_TEST *
REPORT ZBADI_TEST .
tables: spfli.
data: wa_spfli type spfli,
it_spfli type table of spfli with key carrid connid.
*Initialise the object of the interface.
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
selection-screen begin of block b1.
select-options: s_carr for spfli-carrid.
selection-screen end of block b1.
start-of-selection.
select * from spfli into corresponding fields of table it_spfli
where carrid in s_carr.
end-of-selection.
loop at it_spfli into wa_spfli.
write:/ wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-cityfrom,
wa_spfli-deptime,
wa_spfli-arrtime.
hide: wa_spfli-carrid, wa_spfli-connid.
endloop.
at line-selection.
check not wa_spfli-carrid is initial.
create object exit_ref.
exit_ref1 = exit_ref.
call method exit_ref1->lineselection
EXPORTING
i_carrid = wa_spfli-carrid
i_connid = wa_spfli-connid.
clear wa_spfli.
check the following user exits for MIR6
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
Regards
Anji
Message was edited by:
Anji Reddy Vangala
Similar Messages
-
User exit when deleting a shipment (VT02N)
Hi all,
Can someone tell me which user exit is performed when I delete a shipment (trans. VT02N).
Thanks,
HenkHI
these are the exists available
Exit Name Description
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
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routine
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning st
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
MV56AINI Initialization of transaction control for transportation -
Need user exit lists and corresponding Program name for Transaction F110
Hi all,
I have a requirement to update trading partner field based on payment method using Exits or BADI during payment posting (which is carried out in F110). Please give me the exact user exit/program for this requirement.
Thanks in advance
Moderator message: please do more research before asking, show what you have done yourself when asking.
Edited by: Thomas Zloch on Jun 22, 2011 9:19 AMHi all,
I have a requirement to update trading partner field based on payment method using Exits or BADI during payment posting (which is carried out in F110). Please give me the exact user exit/program for this requirement.
Thanks in advance
Moderator message: please do more research before asking, show what you have done yourself when asking.
Edited by: Thomas Zloch on Jun 22, 2011 9:19 AM -
Need user-exit or BTE on save of a FI-document in 4.6D
Hi,
I need a Business Transaction Event or user-exit on save of a FI-document (transaction FB01, or any other possible posting - for example as a follow-on document after SD purchase or sales invouce). The trick is, that I must have an internal FI-document number (field BKPF-BELNR) already assigned to the document and to use this number for my purposes.
I tried to use some of the BTE-s (1110, 1120, 1130, 1050 and 1060) without success - the belnr is not yet assigned when the system passes to this customer exits.
Could someone help me with this please? The important thing is - I need BELNR already assigned to the document. All these in 4.6D enterprise environment.
Thanks in advance.
Regards,
Ivaylo Mutafchiev
Senior SAP BC/Abap Consultant
VBS-Varna
Bulgaria
P.S. Sorry for cross-posting this question here and in the 'Enhancements and Modifications' forum - IMHO this forum is checked much often than the other one.
Message was edited by:
Ivaylo MutafchievWell,
today my colleagues from SD tested both inbound and outbound processes (Order/Delivery/Invoce with consequent FI document), and we found that the program execution doesn't pass trought function modue for BTE 1030 when the FI document, which follows the SD invoice, is automaticaly created.
Any suggestions? Once again - the initial requirement is - I need to pass trought the BTE on (manual or automatic) creation of a FI-document and to have BELNR of the FI document populated.
Thankst in advance.
Regards,
Ivaylo -
User Exit for Enter / post invoice against the order without goods receipt
Hi,
My requirement is to enter or post the invoice against the Purchase order without goods receipt.
Need to an User Exit for this.
Thanks in Advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!User exits available are:
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
user exit when PGI is done
Reward if useful. -
Need user exit to put filter on field ( customer item due by ) in F110
i'm having the requirement to put filter on the transation f110 on the paramater tab of customer item due date that shoud consider only 10 days back date form the sy-datum . so i need user exit to pace the logic in automatic payment transaction.
Thanks
sarfrazHi used the BET for process 1820 copied the function module and configure it and i have put the break point but when i have process the transaction f110 its not triggering.
i have done as the below config
In FIBF Tcode, Products -> of Customer for BTE 1820 : created a ZZ<Product> and made Active
In Process Modules-> of Customer for BTE 00001820 : added ZZ<Function Module> and ZZ<Product> -
User Exit For Production Order Confirmation Using CO15 or COGI
Hi all,
I need user exit for the production order confirmation so that i can set
AFPO-ELIKZ and AUFM-ELIKZ (delivery completedu2019 status flag) to Blank......
Thankshi,
check these exits.
CONFPP01 PP order conf.: Determine customer specific default values
CONFPP02 PP order conf.: Customer specific input checks 1
CONFPP03 PP order conf.: Cust. specific check after op. selection
CONFPP04 PP order conf.: Customer specific input checks 2
CONFPP05 PP order conf.: Customer specific enhancements when saving
CONFPP06 PP Order Confirmations: Actual Data Transfer
CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
CONFPS01 PS confirmation: Determine customer specific default values
CONFPS02 PS confirmation: Customer specific input checks 1
CONFPS03 PS confirmation: Customer specific check after op. selection
CONFPS04 PS confirmation: Customer specific input checks 2
CONFPS05 PS confirmation: Customer specific enhancements when saving
CONF0001 Enhancements in order confirmation
CONFPI01 Process order conf.: Calculate cust.specific default values
CONFPI02 Process order confirmation: Customer spec. input checks 1
CONFPI03 Process order conf.: Cust. spec. check after op. selection
CONFPI04 Process order conf.: Customer specific input checks 2
CONFPI05 Process order conf.: Cust. spec. enhancements when saving
CONFPI06 Process order confirmation: Actual data transfer
CONFPM01 PM/SM order conf.: Determine cust. specific default values
CONFPM02 PM/SM order confirmation: Customer specific input checks 1
CONFPM03 PM/SM order conf.: Cust. spec. check after op. selection
CONFPM04 PM/SM order conf.: Customer specific input check 2
CONFPM05 PM/SM order conf.: Cust. specific enhancements when saving
use the exit which contains both structures AFPO,AUFM. -
How to find the ME29N 'USER EXIT' when our save the release PO after.
How to find the ME29N 'USER EXIT' when our save the release PO after.
which user exit will be used?
thanks.
alex.Hi,
process :
go to tranx code : ME29N ,
System---->Status , here copy the program name (SAPLMEGUI),
go to abap editor and specify the program name SAPLMEGUI and find the package "ME".
tranx code : CMOD , Utilites--->Sap Enanchement,
specify the package name : ME
and execute, displays a list of exits ,
and find out our suitable exit based on requirement.
check these : EXIT_SAPMM06E_021
reg
Siva -
Need User Exits for Creation of Delivery and for Posting Goods Issue
Hi,
I need User Exits for
Creation of Delivery
Posting Goods Issue
I need to make some checks regarding customer license expiration and if checks fail, I need to stop Creation of Delivery and Posting Goods Issue.
Thanks in advance,
Will reward,
MindaugasIn the delivery you can use userexit USEREXIT_SAVE_DOCUMENT_PREPARE to make your checks and send an error message to the user in case they fail.
You can find this user exit (form routine) in include MV50AFZ1.
Hope that helps,
Michael -
Need User exit/BADI or BTE for FF_5
Hi,
My requirement is to enhance the automatic clearing rules for tcode ff_5.
Program RFEBKA00 will upload bank statement items based on the external transaction codes provided by the banks .
The standard posting rules will clear a GL bank account using a set of algorithms for further interpretation
set of standard algorithms do not meet the clearing criteria .hence i need user exit / badi/bte to enhance the automatic clearing rules.
EXIT ZXF01U01& or FEB_BADI are triggering before posting the document.hence i think we can not use these.
Please suggest me the alternate solution.Hi,
We are facing a similar requirement. We are trying to enhance the interpretation logarithm using search string. The requirement is to update the text field with a Constant Prefix + a number from the Notes to Payee field. For e.g.:
The BAI file transaction data is like:
16,169,94906,V,120108,0000,6008ABS43400024460,783517/
88,TBS EUROPE LTD 203647 10293164
88,/ENTRY-06 FEB
88,TRF/REF 6008ABS43400024475
88,783517 BANK GIRO CREDIT
We defined a search string to find the text 'TBS EUROPE LTD' and if it is found, the search string fetches the number '783517' from the Notes to Payee field and thereafter, at the time of posting, the text field has to be updated with '120108 TBS EUROPE LTD 783517', where 120108 is the validity date of the incoming money through this transaction and which does not form part of the Notes to Payee field.
Also, if just the number '783517' has to be updated in the text field.
Please suggest how to achieve this functionality.
Thanks in advance.
Regards
Sourabh -
Need User exit or BAdi for VF01
Hi.
I need User exit or Badi for VF01.
Condtion: After Successful Save of document number in database.
Please help me.
To be reward all helpfull answers.
Regards.
JayHi
The follwing user exits and badis available:
Enhancement
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
V61A0001
Customer enhancement: Pricing
V60P0001
Data provision for additional fields for display in lists
V60A0001
Customer functions in the billing document
Business Add-in SD_CIN_LV60AU02
BADI for billing
VOR_WA_FAKTURA
Billing before Goods Issue
If it is helpful rewards points.
Regards
Pratap.M -
Why do we need user exit number
Hi,
why do we need user exit number?/
what is the purpose of this user exit number??
example (U22....)
thanks
RamaHi Rama,
Under a user exit number you can have multiple Exits/FMs. If you add this single number in CMOD for any project then you can make use of all the exits under this User Exit number.
Hope i have answered your question.
THnaks,
Anil. -
CJ20N BADI or user-exit when back without saving
Dear all,
I am looking for a BADI or a user-exit when the user press the back button in transaction CJ20N.
Please note that the user don't want to ave in this case.
Thank you for your help.
Regards,
Kevin MICHEL
Moderator message: please (re)search yourself before asking, make use of available information/documentation.
Edited by: Thomas Zloch on Oct 22, 2010 11:23 AMHi venkatesh,
put a breakpoint into method GET_INSTANCE of class cl_exithandler.
Then do what you want to supervise. The method is called for all BADIs triggered. You will find out which one can be used.
Please excuse the generic nature of my answer. I didn't know what you already tried.
Regards,
Clemens -
BTE,USER-EXIT OR BADI to be used in T-code GCU1
Hi Experts,
I need to identify the BTE,USER-EXIT OR BADI to be used in T-code GCU1 to populate correct entries for field Reference Item (REFDOCLN) and Quantity (MSL) which are populated with wrong entries while correcting out-of-balance .
OUT-OF BALANCES OCCURS DUE TO missing or multiple line item postings .These are identified and corrected using RGUREP03 and reposted using transaction GCU1.
can anyone help me with this?
How should i proceed on this?Hi Susmitha,
You can try with these BADI's and User Exits.
BADI's for the transaction GCU1
FI_SL_BADI_DOCSELEC
FI_SL_BADI_POPER
FI_SL_BADI_RGUREC10
FISLIS_AUTHORITY
User Exits for the transaction GCU1
GDX3AUTH
GSL1021A
GVTRS001
Best Regards,
Mohan. -
need user exit name
which allow me to process my logic
when exactly the sales order is generated for VA01.
I want to process my logic at that time only.
points will be awarded for good answers.
Thanks
RajhI,
Check out this documentation.....
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
Under user exits>user exits in sales>user exits in sales document processing
Have a look at the following exits
For Header fields: Modify user exit in include MV45AFZZ(USEREXIT_MOVE_FIELD_TO_VBAK) to populate the new fields.
For Item level fields: Modify user exit in include MV45AFZZ(USEREXIT_MOVE_FIELD_TO_VBAP) to populate the new fields.
USEREXIT_SAVE_DOCUMENT_PREPARE
<b>Reward points</b>
Regards
Maybe you are looking for
-
How to find out the table from the field.
Hi Friends, I want to know the table name from the field. I mean i know the field with which i want to know the table. I tried but could find the structure only but how can i find the table. Please guide me. siva.
-
Hello i need the metal case where mij microsim is in i cant find it anyware
I need te outside case where you put the simcard in do anyone know where i can buy it im from the netherlands so maby in a shop there ?
-
Need API Name for PIck Release and Ship Confirm for WMS Module
Hi All, One if my requirement is that Initially I will create Internal Sales Order and send to the other system (legacy) there they do the shipping then they provide the flat file which contains shipping information. Based on the incoming file I will
-
Value zero in Intercompany Billing document
Hi, I am working on Intercomany Stock transfer with SD billing. Every thing is working fine, except the value in Billing document is zero. Billing document is generated with value zero. I do not find any pricing procedure details in billing document.
-
Pulse generation from an encoder on a PCI6601
qq