Badi or User Exit to close PR in ME59n
Dear All,
I have implemented a enhancement for ME59n(EXIT_SAPLME59_001). Here we club the PR which has same material, vendor, date..... And add the quantity to first PR quantity and create a single PO against all the PR.
PR No Material vendor date Quantity
1 ABC XYZ 26.05.2011 100
2 ABC XYZ 26.05.2011 200
3 ABC XYZ 26.05.2011 300
Assume the above example and here it will sum up the quantity i.e. 600 total and put against PR 1 and will remove the PR 2 and 3 from the internal table. Now PO will create for PR 1 with 600 as quantity and standard SAP will mark the PR 1 as closed.
Now we have removed PR 2 and 3 from the internal table during run time after adding the Quantity. But I need to mark PR 2 and 3 as closed.
Please let me know if there is any right Exit or Badi to achieve it or other way.
Thanks in advance.
Arun Kumaram.
Here are the user exits you can look to http://www.sap-img.com/ab038.htm to and
AMPL0001 Subscreen usu.p.dat.adicionales p.lista piezas fabr.autoriz.
LMEDR001 Ampliaciones programa de impresión
LMEKO001 Ampliar estructura comunicación KOMK para determinar precios
LMEKO002 Ampliar estructura comunicación KOMP para determinar precios
LMELA002 Transfer.núm.lote de aviso entrega al contabilizar una EM
LMELA010 Entrada aviso de entrega: toma de datos posición de IDOC
LMEQR001 Exit de usuario p.determinación fuente aprovision.
LMEXF001 Condiciones en documentos de compra sin recepción d.factura
LWSUS001 Determinación fuente aprov.específica cliente en el comercio
M06B0001 Determinación de funciones p.liberación solicitud de pedido
M06B0002 Modific.estructura de comunicación p.liberación solic.pedido
M06B0003 rango de números y número de documento
M06B0004 rango de números y número de documento
M06B0005 Modif.estruct.comunicación p.liberación general solic.pedido
M06E0004 Modif.estructura comunicación p.liberación docs.compras
M06E0005 Determinación funciones p.liberación doc.compras
ME590001 Agrupación solicitudes de ped.p.partición de pedidos en ME59
MEETA001 Determinar clase de reparto (atrasos, nec.inmed., previsión)
MEFLD004 Determ.fe.entrega más temprana p.verif.seg.EM (sólo pedido)
MELAB001 Crear orden entrega p.suministro: Realiz.plan de transmisión
MEQUERY1 Ampliación para resumen de documentos ME21N/ME51N
MEVME001 Cálculo ctd.prop.entr.mercanc.y tolerancia exc./faltas sum.
MM06E001 Exit de usuario para EDI: entrada/salida documentos ventas
MM06E003 rango de números y número de documento
MM06E004 Control pantallas datos import. en el pedido
MM06E005 Campos cliente en documento compras
MM06E007 Doc.modif.p.solicitudes pedido durante conversión a pedido
MM06E008 Control del valor previsto p.pedidos p.orden de entrega
MM06E009 Textos relevantes p.indicador "Existen textos"
MM06E010 Selección de campos para la dirección del proveedor
MM06E011 Activación bloqueo de solicitud pedido
MMAL0001 ALE distribución libro de pedidos: tratamiento salidas
MMAL0002 ALE distribución libro de pedidos: tratamiento entradas
MMAL0003 ALE distribución registro info compras: tratamiento salidas
MMAL0004 ALE distribución registro info compras: tratamiento entradas
MMDA0001 Propuesta de direcciones suministro
MMFAB001 Exit usuario para creación orden entrega
MRFLB001 Controlar posiciones p.creación orden entrega
Similar Messages
-
BAdI: or User Exit for Campaign Creation IN CRM 5.0
Hi all,
we are working in CRM 5.0,
we have a Requirement like :
when we create the campaign it should check higher level project ID (marketing Plan ID)
if it is there it should permit for create campaign else it ll show error...
Any BAdI: or User Exit for Campaign Creation?
I ll geive reward points....
Rhanks & Regards,
GaneshIN WHICH TRANSACTION U R CREATING CAMPAIGN ??
-
BADI or USER EXIT for MIGO when changing order number
Hi experts, I'm looking for a BADI or USER EXIT in Tx. MIGO that is triggered after pushing ENTER when you change the order number. What I need to do is to propose the movement type depending on the order data. Thanks.
Not sure but you can try in BADi MB_DOCUMENT_BADI menthod:
MB_DOCUMENT_UPDATE -
Badi or user-exit for QA32 after save
I need a badi or user exit to execute exactly after save in QA32 ..I tried belows but they are not that i want
QPL1_SUBSCREEN_ADDON
INSPECTIONLOT_UPDATE
Check these Exits:
QEVA0004 Exit for changing information line in usage decision he
QEVA0005 User subscreen for displaying add. data for usage decis
QEVA0006 Entry to usage decision transactions
QEVA0007 UD: Control of compulsory comment or long text presetti
QEVA0008 Usage decision: Customer function key (e.g. to cancel U
QEVA0009 UD: Predefinition of quantity to be posted to sample st
QEVA0010 UD: Usage decision check
QLCO0001 QM: Call alternative costs report from UD
QSS10001 Possibility of calling a different print reportHello Tuncer,
have you checked the BADI QE_SAVE? This is the last possible chance of changing data on saving a QM transaction and should be active in QA32.
The only other solution I can come up with is a follow-up action i.e. for the UD-code
Hope this information proves usefull.
Regards
Isabelle -
BADI or User exit for FB50 to update custom field in table COEP
Hi all,
i have added one custom field in table COEP through include CI_COBL .
when i do posting through sales order(VA02) or purchase order(ME22n) that custom fields in COEP get updated with controlling document
and through BADI AC_DOCUMENT i m updating that custom field in COEP.
but when i do manual posting through FB50 controlling document is generated in COEP but i m not able to update that custom field
because in this case BADI AC_DOCUMENT is not get triggered.
is there any BADI or User exit or enhancement spot for FB50 through which i can update that custom field in table COEPHi Sandy,
Thanks for u r reply,
RFAVIS01 is not getting triggered through FB50
and F180A001 ( EXIT_SAPLF048_001) is getting triggered but it doesnt contain COEP field in its parameter
import - F180A_DOC_HEAD_TAB
F180A_DOC_ITEM_TAB
changing - RELATION_TAB -
Badi or user exit for FTR_CREATE for modifying the Payment Details
Hi,
I need a Badi or user exit that will modify the internal table for the "Payment Details" in transaction FTR_CREATE. Basically, instead of using the default entries in the "Payment Details", data from a Z custom table will overwrite the "Payment details" or the internal table containing the "Payment details". This should create entries in the Transparent Table VTBZV with the values fron the Z custom table.
I'm trying to implement the BADI FTR_TR_GENERIC but I cannot find where and how to modify the original "Payment Details" entries. Or if its even possible to do this.Hi Ravi,
I was trying to do that but I am not sure were to start. I tried to modify the contents of PI_PROXY_TRANSACTION->A_TAB_CASHFLOW using MODIFY <itab> but an error occured when I tried to activate it saying that the Class/Interdace Attribute is read-only and cannot be modified. Is there a Method that I need to do in order to modify the Attribute? (I'm not that familiar yet with Classes and Methods though)
Also, just to test, I manually changed the contents of two internal tables containing the "Payment Details" data during debug mode. But after the program has ended its run and finally saved the data, the Table VTBZV was not updated with the manual data I introduced. So I'm not sure if the Badi FTR_TR_GENERIC (which is I'm implementing) really allows the "Payment Details" to be modified or if I'm modifying the correct internal table(s). -
BADI or User Exit validation of operations tab and displaying an error mess
Hello,
Could you please let me know the BADI or User Exit validation of operations tab and displaying an error message in iw32
Thanks,
Suresh MglHi ..
I tried that user-exit...but i need to block the changes for purchase requisition which is in released stutus..
.i hope i need to do implicite enchancement spot.....could you please help me to do that..
Thanks,
Suresh Mgl -
Badi or user exit for changing currency INR to EUR
hi friends,
in po header there is one tab called status.
in this tab there is one field called delivery payment
which has curr INR but i want to change that INR CuRR
to EUR.Can any one tell me how do this is there any badi or user exit
for this req.
thanks.Hi Sonu,
Use the following program to find out the appropriate user exist for ur transaction:
REPORT ZGURU_USER_EXIT_FIND .
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Then u can use the function CONVERT_TO_LOCAL_CURRENCY to change the amount from INR to EUR.
Regards,
Himanshu -
Differences between BADIS and User-exits
Hi everybody,
I am new to ABAP and wonder what are the differences between BADIS and User-Exits. I read paper but did not find a SAP documentation yet.
Does anybody know where to find a sap document which explains both technologies?
Greetings, ADHi,
User-Exit is a specific place in a transaction-process where SAP offers
third parties to include there own business functionality. Actually
User-Exit is the namespace used for Exits programmed by SAP specifically
for SD. For the other modules it's called Customer-Exit.=20
>Business Add-Ins (BADI) =20
The use of object orientated code within SAP has lead to new method of
enhancing standard SAP code called Business Add-Ins or BADI's for short.
Although the implementation concept is based on classes, methods and
inheritance you do not really have to understand this fully to implement
a BADI.
For better understanding visit.
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/779183#
Hope it was useful.
Thansk,
Sandeep. -
BAdi or User exit to use in MB26 to avoid posting before saving of mat doc?
Hello Experts,
Can anyone tell me which BAdi or User exit to use in MB26 to avoid posting before saving of material document?
I have requirement to stop posting incase of negative invetory in issuing storag location.
ThanksHello,
The issue is currently we alllowing the negetaive stock at storage location level.At this movement , we want to avoid the negetive stock creation while posting the Mat doc with MB26.Before saving the material document I want check the stock levels in MARD , if the stock levels goes negative from this posting, then I want to stop the document posting.
Thanks -
Need BADI or USER EXIT for VT02n
HI Friends,
I'm writing a driver program for a ouptput type ZET1 (interface) the tcode is VT02N .
In menu bar: goto--> output here i've give the output type and save.
My Problem is, if there is any error on the driver program, it should be displayed the error msg while pressing the save button.
is there any BADI or User Exit.
Thanks & Regards,
Vallamuthu.MHi,
Check the below BADI's
BADI_LE_SHIPMENT BadI: Shipment Processing
BADI_V56N User Exit Transport - Message Determination
Regards,
Srini. -
BADI or User Exit for Txn : CRMD_ORDER
Hi Experts,
Is there any badi or user-exits for the transaction crmd_order.
regrads,
arul jtohi aDear Arul Jothi,
BAPI_ACTIVITYCRM_CREATEMULTI
BAPI_BUSPROCESSND_CREATEMULTI
CRM_BUSPROCESSND_BAPI
CRM_LEADCRM_BAPI
BAPI_LEAD_CREATEMULTI
CRM_OPPORTUNITYCRM_BAPI
BAPI_OPPORTUNITY_CREATEMULTI
CRM_SLSTRANSACTCRM_BAPI
BAPI_SLSTRANSACT_CREATEMULTI
Also, visit the following thread:
Change status for sales order in crmd_order
BAdi/Enhancement:
/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
Regards,
Naveen. -
BADI or User Exit for Transaction CK 24
Hi Experts ,
I need to do some customization as per my client requirement , once CK 24 transaction get executed .
For that i am searching for a BADI or User exit that is being triggered after execution of the transaction CK 24 .
Can any body please help me on this to find a BADI or User exit on the same . Ihave tried all the basic methods for fidning the same .
Good points will be rewarded on the solution .
Regards
SarmisthaSD,
Am afraid to say there is no exit or BADi for same.just ask access key for program than change where you want.
Amit. -
Hi,
I'm looking for a BADI or User-Exit to modify a field in MSEG. This field is an IS-Oil component, but, I must modify this field when I make an outbound delivery.
I have tried the BADI MB_DOCUMENT_BADI but the system short-dumb when I modify the field. "The program tried to assign a new value to a field even though it is protected against changes.".
If you have any user-exit or BADI or any solution for this BADI please tell me.
Regards
FrédéricHi
You can use exit ZXMBCU02 ( Function EXIT_SAPMM07M_001
in SAP enhancement MBCF0002 ). Here also whtever changes you make to I_MSEG will be lost as MSEG is an importing parameter. You can do something like this.
FIELD-SYMBOLS <F1> TYPE MSEG.
DATA NAME(50) VALUE '(SAPMM07M)MSEG'.
ASSIGN (NAME) TO <F1>.
<F1>-KOSTL = 'XXXX'.
( In above example MSEG-KOSTL will be set as XXXX, you can change any of MSEG fields in above way. ).
Cheers -
Badi or user exit for allocation run (J3AT)
hi friends,
we r using the SAP AFS in that i need to put the sales order value check for F status material while saving the allocation run. for that i need the badi or user exit where i will get the values of all the F status mateial before i save the allocation run. so that i can perform the check on sales order values.
regards,
vicky.Hello vicky
can you please tell me the note number that solved this problem, thanks.
Maybe you are looking for
-
Pay on Receipt AutoInvoice Program
Hi, I am running the Pay on Receipt AutoInvoice Request and the Payables Open Interface Import Request after creating a standard PO and receipt (direct delivery). The Invoices created post this have Approval status mentioned as "Required". Is this ok
-
Update STXH text while creating a PO using IDOC's PORDCR103
Hi, Can we upload the shipping instructions while creating a STO using Inbound IDOC - PORDCR103 Regards, Shariq.
-
u there
-
Report query XML schema error - Apex Listener 2
I built a simple query: select * from emp in (Shared components > Report Query) When I try to download XML schema for this query (Source Query section) resulting xsd file contains this text: String index out of range: -1 Shared Apex hosting: 4.2.2.0.
-
Will MPEG-2 convert a video with sound?
I've converted my videos to MPEG-4 using Quicktime Pro, and they play fine but with no sound. Is this the application I need to convert them with sound? http://www.apple.com/quicktime/mpeg2/