USER EXIT WHEN PO SAVED
I need to update ztable with PO Quanity for respective vendor material when purchase order is saved. Kindly let me know the user exit to be used.
Thanks
Seshu
When i double click on the include INCLUDE ZXM06U44 in the FM EXIT_SAPMM06E_013 to write my code i am getting the followin error. Where should i incorporate my logic in this FM ?
Program names ZX... are reserved for includes of exit function groups
You attempted to create a program name beginning with ZX but this name
range is reserved only for includes of exit function groups (function
groups containing only function exits).
Thanks
Similar Messages
-
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 -
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 -
What are the User Exit Available after saving a Billing Documents
Hi,
What are the User Exit Available after saving a Billing Documents
Regrds,
BinayakHi
Check the following Exits for VF01 Tcode
V61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
V60A0001 Customer functions in the billing document
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
SDVFX006 User exit tax line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX001 User exit header line in delivery to accounting
Business Add-in
SD_CIN_LV60AU02 BADI for billing
VOR_WA_FAKTURA Billing before Goods Issue
Reward points if useful
Regards
Anji -
Updating custom field in table EKKO within user exit when PO is saved
I am trying to update a custom field in table EKKO when a PO is saved. I am using FM EXIT_SAPMM06E_013, within enhancement MM06E005. Since EKKO is not a table that can be updated with this user exit, I am using a technic that I read about on SDN where I assign a field symbol to the calling program variable and then am able to access data within EKKO table. But when I pass this data back into the field symbol, for some reason this field is not getting saved when the PO is saved. In debug mode, it looks like this field is getting updated, but when I look in the table after the PO is saved, it is not there. My code sample is below. What I am doing wrong?
data:
CHAR(50) VALUE '(SAPLMEPO)EKKO-ZHDRCSTCENTER',
g_zhdrcstcenter like ekko-zhdrcstcenter,
FIELD-SYMBOLS <F1> type any.
if i_ekko-ekorg = '5401'.
ASSIGN (char) to <F1>.
g_zhdrcstcenter = <F1>.
move '0000113322' to g_zhdrcstcenter.
<F1> = g_zhdrcstcenter.
endif.
Thanks!
Sarah Smyth.Firstly, have you investigated using EXIT_SAPMM06E_008 to set any custom fields you have added in the EKKO_CI / CI_EKKODB structure?.. that might work more easily.
In terms of doing an assign back into a calling program's memory, it can work but it's probably worth setting a break point in your code then stepping through watching the values in EKKO - sometimes you can find subsequent code that re-writes an earlier copy of values back into the structure, thereby preventing you doing your change... SAP does warn this method is for "internal use". Also check in your debugger that it's SAPLMEPO and not SAPMM06E you need. -
User exit when saving the financial document (VX11N)
Hi,
We are creating financial document as a letter of credit using transaction code VX11N. User would like to have some checking on the fields based on some user defined logic. Is there any user exit that can be used to serve this purpose. I am looking to usre exit similar to when saving sales order (i.e: USEREXIT_SAVE_DOCUMENT in MV45AFZZ).
RegardsHi,
Check below link for all SD user Exits.
https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
Best regards,
Anupa -
User exit when saving the user profile
Hi All,
Is there any user exit exist which get triggered whenever any SAP user profile is saved.
Thanks in advance,
HarkamalHi harkamal,
<b>I dont think that any user exit is present for the code :SU01.</b>
If you want to check the user exit. please find the below code and execute in SE38 you will get the Userexit related to the TCode.
*& Report Z7CC_USEREXIT_TRANSACTION_CODE
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
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 eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
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.
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. -
User Exit when save Purchase Requisition (ME51N and ME52N)
Hy Everyboby,
I want to know an enhancement point/user exit activated when saving a Purchase requisition to control all item amount for a budget check.
So anyone can help me ?
Thanks in advance.Hi All,
i am working on an enhancement where in i need to enhance the transactions ME41,42 , ME51n, 52n and ME21n and ME22n.
the requirement is whenever a PR is created/modified (ME51/52) and a business document is attached to it, then the same business document should be available in the RFQ created for this PR as an attachment. and the same flow should happen while creating the PO using the RFQ. I am unable to find a correct user exit for this requirement. kindlyreply me if you have any solutions for it.
your help is very much appreciated.
thanks,
Mohan -
Hi!
Can anyone please tell me, which user exit is running during the
VL02N delivery saving?
I can check the user exits, but I don't know which one is executed when I save the document.
I'll reward only the useful answers, please read the thread carefully.
Thank you
Tamátry these include programs
FORM-Routinen für Userexits
include mv50afzz.
include mv50afz1.
include mv50afz2.
include mv50afz3. "Userexit neu zu Release 3.0A
include mv50afzk. "Userexit 4.6A (KOMKG/KOMPG)
include mv50afzl. "Userexit 4.6A Liefergruppen
Regards
Prabhu -
Suggest the user exit when process order released then save
Need to update batch value from component's batch field to FG batch field. Need at the time of process order released and saved. Can you please tell me which user exit to use?
Hi,
The following enhancements are available for process order management:
For order maintenance:
o PPCO0006 to predefine entries for order header fields when creating
an order
o PPCO0001 to provide information at the time of saving (for
production orders and process orders)
o PPCO0007 to check or change header data when saving
o PPCO0002 to add additional checks that are to take place when
setting the deletion flag or deletion indicator
o PPCO0003 to prevent changes in sales order items that would cause
changes in the process order for static assembly processing
o STATTEXT to format the status line
o PPCO0008 to check components that have been changed or added
o PPCO0005 to change the storage location and the 'backflush'
indicator in the reservation
o PPCO0013 to change the priority of the selection criteria for batch
determination in production orders or process orders
o PPCO0014 to restrict the selection of process orders that are
offered when creating external relationships
o PPCO0020 to display additional information for another tab page in
the process order header
Regards,
Dhaval -
Triggerring user exit when Total shelf life in MARA is changed
I want to trigger some code only when the Total Shelf life in MARA-MHDHB is changed in MM02. Is there a way to do this. I have a program that I use to find out all the user exits and BADIs for a transaction code but could not find a point where I could use the change of total shelf life as a condition to trigger some code.
Enhancement/ Business Add-in Description
Enhancement
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Displ
Business Add-in
MG_MASS_NEWSEG User-Specific Fields & Segments in Mass Maintenance
MATGRP_SKU_UPD BAdI for the Article Hierarchy Connection
CDT_CHECK_MATERIAL Checks for Existence of a Material in a CDT
BADI_MM_MATNR
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
BADI_MATNR_CHECK_PVS
BADI_MATERIAL_REF Addition of customer-defined default data for mater
BADI_MATERIAL_OD
BADI_MATERIAL_CHECK Enhanced checks for material master table
BADI_GTIN_VARIANT
BADI_EAN_SYSTEMATICHi
I think you can try MGA00001 and i hope this should work only for MM02.
Inside the ZXMG0U02 basically you can try the below code.
data : w_mhdhb type mara-mhdhb.
select single mhdhb into w_mhdhb from mara where matnr = mara-matnr.
if sy-subrc = 0.
if w_mhdhb ne mara-mhdbh
You can write your code
endif.
endif.
Regards
Madhan D -
FB70: User exit when the save button (for posting) has been click
Hi ABAP Gurus,
With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked?
Thanks!
<b>
Best Regards.
Brando</b>Hello Brando,
With FB70 I recommend you implement the user-exit via the Business Add-In (BADI) way and avoid SMOD exits if possible.
The list below are the BADIs that are called by the <b>ECC6.0</b> system after you click the <b>Save</b> button to post a document. <u>They are listed in the order which they are called before the actual post</u>. You'll have to find the right one as per your requirement - you can view their definition via transaction SE18 then after you find the right one you need to use that definition to create an implementation via SE19. Here again, you'll have to choose the right method that suits your requirement. You'll find the method and class documentation in some cases with examples on how to implement, you need to write the code between the Method..EndMethod statement using the parameters provided by the Method.
1. PPA_CUST_BADI
2. FI_RES_ITEM_CURRENCY
3. AC_QUANTITY_GET
4. BADI_PRKNG_NO_UPDATE
5. FM_POP_CORE
6. FMRI
7. FMRE_BUS_PROCESS
8. FAGL_SET_SEGMENT
9. EXIT_XFMPR1_001
10. BUAVC_CHECK_RESTRICT
11. UKM_R3_ACTIVATE
12. CO_DOCUMENT_INFO
I spent a bit of time debugging FB70 to find this info for you, please appreciate by rewarding points (or else
Good luck.
Cheers,
Sougata. -
User exits when posting purchase document and goods movement (GR)
I want to update some custom tables when posting PO and goods movement (GR) .
Please suggest user exits for both posting.Check the below exists
FOR PO
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
For Goods Movement
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 -
VF02 user exit just after saving
Hi,
Please tell the user exit or BADI which will work in VF02 alone. Requirement is, whatever changes have been made for quantity in the document, has to be reflected in the Z table in the background.
Please clarify.
Regards,
Tom Jerry.Hi,
Below are the list of user exit available for billing:-
USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
Printing the item line of a billing document can be supplemented or changed.
USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
Printing the header line of a billing document can be supplemented or changed.
User exits in program RV60AFZD
Short descriptions of the user exits are contained in the program:
USEREXIT_RELI_XVBPAK_AVBPAK
USEREXIT_NEWROLE_XVBPAK_AVBPAK
USEREXIT_NEWROLE_XVBPAP_AVBPAK
The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
EXIT_SAPLV60B_001: Change the header data in the structure acchd
You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
EXIT_SAPLV60B_002: Change the customer line ACCIT
You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
EXIT_SAPLV60B_003: Change the customer line in costing
The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
EXIT_SAPLV60B_005: User exit for accruals
Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
EXIT_SAPLV60B_006: Change the control line ACCIT
You can use exit 006 to add information to the control line.
EXIT_SAPLV60B_007: Change the installment plan
You can use exit 007 to add information to the installment plan
parameters in the GL account item.
EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
After the accounting document is filled in with data, you can use exit 008 to change the document once again.
EXIT_SAPLV60B_010: Item table for customer lines
You can use exit 10 to influence the contents of customer lines before they are created.
EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
You can use this exit to change inbound parameters in order to influence account determination.
with regards
Vivek. -
User exit when save production order
Hello,
I have to fill the OVERHEAD KEY field value in production order header at runtime based on some calculation. So I need a user exit which can be used to save the value of overhead key.
I already tried the exits PPCO0001, PPCO0007, PPCO0006, PPCO0012, and PPCO0018 but these all are not working for me as I am trying to insert or change the value of Overhead key(ZSCHL) but at the last value is not changing at all .
Please suggest me if you have any solution.
Thank you in advance!!!
Rock,My question was:
I need a user exit, using which I can change the value of overhead key at runtime.
suppose I am creating a production order with a sales order (CO08), and overhead key value is NULL currently.....but at the time when I save that production order based on sales order type I have to enter the value of overhead key.....for that I need a user exit where I can change the value of overhead key
at runtime.
I already tried the exits PPCO0001, PPCO0007, PPCO0006, PPCO0012, and PPCO0018 but these all are not working for me as I am trying to insert or change the value of Overhead key(ZSCHL) but at the last value is not changing at all .
Please suggest me if you have any solution.
Thank you in advance!!!
Rock,
Maybe you are looking for
-
I can no longer send photos via email on my iPhone 5, any suggestions how to fix this?
sending photos via email on my iPhone 5 was so easy once upon a time, now it is impossible, any advice?
-
I cannot access my itunes store due to upgrading to 10.5 so I could download my contacts and notes to my new 4s
-
I just upgraded my 2008 macbook pro to OS X Maverick from Snow Leopard but my computer is running a bit buggy and slow. How do I downgrade back down to snow leopard?
-
Photo Gallery freezing up on Samsung Galaxy SIII
When I open my photo gallery, the pictures show up but I can't scroll through them. If I open the pics thru the camera, I can scroll half way through before it freezes. Any answers?
-
HeadPhones for Apple TV?
I am wondering if anyone knows how I can use Headphones with Apple TV. I currently have a headphone set for my Sony HDTV. However, it does not work with Apple TV. Is there any waya round this?