User exit in ME22N to change standard fields
Dear all,
I'm trying to change the delivery date from exit EXIT_SAPMM06E_013 but the system doesn't keep my changes. I'm able to change the delivery date in exit EXIT_SAPMM06E_017 but I need to make it from exit 013 because I need know the confirmations from tables XEKES/YEKES.
I'm on release 4.6C and I don't have the chance to use the BADI ME_PROCESS_PO_CUST.
Is there a way to make this from exit 013?
Here is the code I'm trying to use:
DATA : wa_table(100) TYPE c,
t_ett TYPE STANDARD TABLE OF beket,
wa_ett TYPE beket.
FIELD-SYMBOLS: <fs_ett> TYPE ANY TABLE.
IF sy-tcode = 'ME22N'.
wa_table = '(SAPLMEPO)ETT[]'.
ELSEIF sy-tcode = 'ME22'.
wa_table = '(SAPMM06E)ETT[]'.
ELSE.
EXIT.
ENDIF.
ASSIGN (wa_table) TO <fs_ett>.
t_ett[] = <fs_ett>[].
LOOP AT t_ett INTO wa_ett.
IF sy-tcode(4) = 'ME21'.
wa_ett-eindt = sy-datum.
ELSEIF sy-tcode(4) = 'ME22'.
wa_ett-eindt = sy-datum.
wa_ett-updkz = 'U'.
ENDIF.
MODIFY t_ett FROM wa_ett.
ENDLOOP.
<fs_ett>[] = t_ett[].
UNASSIGN <fs_ett>.
Thanks for your help.
Elio
Hi,
I am facing the same pbm.
I am trying to change PO Order Qty (Menge) based on a formula.
I have tried writting the code at the exits :
EXIT_SAPMM06E_016 and EXIT_SAPMM06E_013
I am also working on REL 4.6c. facing the same pbm. The value does not stay...!!
By now, you must have resolved the pbm.
How did you?
Regards,
remi
Similar Messages
-
User-exit or BADI For ME31L Standard Fields Change
Hi all,
Any one knows user-exit or BADI to change the standard fields when using ME31L (Create SA)? Like Currency, Tax code.... Many Thanks.It seems I have to modify the standard program....In ECC 6.0, there is a BADI : Processing Options for Enjoy Outline Agreement, but it seems not work for ME31L...
-
Urgent!!!!User exit or BADI to change INSMK field in ME27 transaction
Hi ,
Can anybody help me to find the user exit or badi for ME27 transaction. I need to change the field INSMK to BLOCKED.
I tried EXIT_SAPMM06E_012 ,
EXIT_SAPMM06E_016
EXIT_SAPMM06E_017
by adding my code but nothing worked. Please help me in this.
Points will be rewarded if helpful.
Thanks in Advance.hai Leela,
Just Go To SE84
Give The PRogram Name Or PAckage name In Which ME22N is present.
Then Click On Display
Then Click On Enhancements
Then U will Get USer Exits Aswell As BAdis.
Ok IF helpful Reward.
And Then Use Suitable One.
Regards
Eshwar -
BADI/user exit for me22n - disable/grey out field quantity (MEPO1211-MENGE)
Dear all SAP gurus,
When changing PO (ME22N), I need to disable (grey out) the quantity field on item (MEPO1211-MENGE), when all scheduled quantity is already received (EKET-MENGE = EKET-WEMNG).
Have tried using LMEIGICJI and Handle_event method in CL_SCREEN_VIEW_MM. But still doesn't go to the screen that wants to be disabled.
Tried using BADI ME_PROCESS_PO_CUST, but couldn't find how to disable the quantity field.
(IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM only works for custom field).
Please kindly advise
thanks in advanceHi Ahmad,
No need of ABAP, follow this IMG Path.
Material Management -> Purchasing - Purchase Order -> Define Screen Layout at Document Level
After Executing it . Choose ME22 from list and then choose display icon.
than double click Quantity and Price here uncheck opt. Entry and check display.
save your work.
Hope this works.
Regards
Ahsan -
Hi,
I am looking for an user-exit in ME22N transaction. My actual requirement is when I change account assignment category ( EKPO-KNTTP), the confirmation control (EKPO-BSTAE) should be defaulted with some value say 002.
I have noticed user-exit Function modules EXIT_SAPMM06E_007 and EXIT_SAPMM06E_017. There is a table TEKPO in the tables parmater of this FM's. I can see the values in fields TEKPO-KNTTP and TEKPO-BSTAE also. But when I change the values, suppose I set TEKPO_BSTAE = 002, It is not getting reflected in the transaction ME22N.
Can you please guide me, if the user-exits I have chosen are right ones to achieve the functionality or any other values in the user-exits need to be updated. Are there any BADI's for this kind of requirement.
Thanks in advance.
Vishnu PriyaHi Vishnu Priya,
Inside the implementation for method 'IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM', use the method im_item->get_header to get the header details, then use method im_item->get_data to get item details. Now, you can pass the new value to the required fields and finally use im_item->set_data to set the values to PO.
You can see the methods available for the associated type of parameter IM_ITEM by double clicking on IF_PURCHASE_ORDER_ITEM_MM.
Make use of available methods to get the required details and proceed accordingly.
Best Regards,
Kumar. -
How to know where the user exits or enhancement used in standard sap code?
Hi
I m pretty new to abap.
How can I know where the user exits or enhancement used in standard sap code?
As i have to add some functionality to the standard sap code. I m looking to search the enhancement or user exits used in this standard code wher i can add my functionality.
thanks in advance.
Moderator message : Search for available information, thread locked.
Edited by: Vinod Kumar on Oct 19, 2011 2:38 PMHi Henry,
I don't think this is the easiest way to look at the code around a particular field on the screen. Debugging standard programs also can be very tedious, if not impossbile. So, instead of this question, I would like to find out exactly what you want to do if you know the code.
If you are in a transaction and you want to know where the code of a particular field is, the fastest way to get to it is by pressing the F1 key on the field and then press the Technical info button on the help screen. In here you will typically see the same kind of information but it is very specific to the field you selected.
PROGRAM(SCREEN) tells you which program is manipulating the main screen, in which your field is embedded. Remember your field may be included in a sub-screen and that subscreen may be the one included in the main screen.
PROGRAM(SUB SCREEN) tells you which program is directly responsible for the field on the subscreen it is included in. This is where you should find the code most appropriate for the field, but not necessarily.
PROGRAM(GUI) controls how your push buttons and the menu options in the screen behave and controlled.
Srinivas -
Hi Friends,
I want to create an User Exit to create a Change pointer.
When a change is made to TCode ME22N.
The Change pointer is used to Update EKES Table.
It would be helpfull. If any one can suggest an User Exit Specific to this issue.Hi Sudhir,
I will suggest you check with this badi ME_PO_PROCESS_CUST .
Regards,
Madhu. -
User Exit for ME22N while saving of PO
Hi all,
i want a USER EXIT for ME22N while saving. i want EKET data.
After checking EKET data, i want to chage EKPO data.
Thanks
pabiHi,
Below Exit you can have access to EKET and EKPO data in the tables paramters before the SAVE
EXIT_SAPMM06E_012
TEKPO: EKPO data
TEKET: EKET data
Enhancement:MM06E005 (Check in SMOD transaction)
Check for one Paramter: I_TRTYP (This is for Create/Change/Display Modes) or You can check on Sy-Tcode = ME22N
Hope this helps
Regards
Shiva -
Can I use User Exit u2013 IWOC0004 u2013 Change Single-Level List for TCODE IW37N?
Hi All,
Can I use User Exit u2013 IWOC0004 u2013 Change Single-Level List for TCODE IW37N?
In documentation of the User Exit I can see that I can use this user Exit for IW37(Program - RIAFVC20) , but I want to use this for IW37N (RIH_ORDER_OPERATION_LIST).
Please tell me is it possible.
With best regards,
NarendraHi Pete Sir,
I am on 4.7 , how to work with it. I am going to use screen exit IW0110018 and I want to add User fields in the IW37N.
Thanks with best regards,
Narendra -
COR2 user exit for saving item changes
Hi,
i need to change item contents with user exit while saving in COR2 transaction.I found several user exits with debugging.But could not accomplish to change fields.
Please give me a user-exit name which can change the item contents while saving.
Thanks.Hi burc,
what about enhancement CONFPI05 Process Ord. Conf.: Cust.-Specific Enhancements when Saving, EXIT_SAPLCORF_405.
Or tell in more detail what is it you want to change.
Regards,
Clemens -
User exit or BAdI name for Netprice field in PO
Hi All,
Can you please give me the name of the BADI or user exit to update the net price field in automatic creation of PO ME59N.
In this case I am creating the PO based on a PR the net price field has to pick the price from the Sales Order.
Please help me out in this.
Thanks,
Praveen<b>User-Exits</b>
MM06E010
MM06E009
MM06E008
MM06E007
MM06E005
MM06E004
MM06E003
MM06E001
MEVME001
MM06E011
MEQUERY1
MRFLB001
MMFAB001
MMDA0001
MMAL0004
MMAL0003
MMAL0002
MMAL0001
M06B0002
M06B0001
LWSUS001
LMEXF001
LMEQR001
LMELA010
LMELA002
LMEDR001
AMPL0001
MELAB001
LMELA002
LMEDR001
AMPL0001
MELAB001
MEFLD004
MEETA001
ME590001
M06E0005
M06B0003
M06B0004
M06B0005
M06E0004
<b>BADIs</b>
ME_HOLD_PO
ME_CIN_MM06EFKO
ME_CIN_LEINRF2V
ME_CIN_LEINRF2R
Greetings,
Blag. -
User Exit in APO to change Planning version defaults
Hi,
Is there any user exit/BADI I can use to User Exit in APO to change Planning version defaults.
Regards,
TarunHi Emmanuel,
I am searching for this exit in APO-DP.I have a requirement where we CIF master data (location) from SAP R/3 to SAP APO.However the location are saved in default planning version/model ( ie 000) I need to save these locations in another planning version and I am looking for an appopriate user exit/BADI which can accomplish this.
Regards,
Tarun -
User Exit in VA02 for Warranty Status field change
Hi Gurus,
Can any one pls suggest the user exit that gets trigerred when there is a Warranty Status Field change in the Repair Order of Order type ZRAS and when the change occurs it has to update the work center of the Corresponding Service Order.
Pls help me with this issue.
Regards,
VIJAYB.Transaction Code - VA02 Change Sales Order
Enhancement/ Business Add-in Description
Enhancement
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
V46H0001 SD Customer functions for resource-related billing
V45W0001 SD Service Management: Forward Contract Data to Item
V45S0004 Effectivity type in sales order
V45S0003 MRP-relevance for incomplete configuration
V45S0001 Update sales document from configuration
V45P0001 SD customer function for cross-company code sales
V45L0001 SD component supplier processing (customer enhancements)
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45E0001 Update the purchase order from the sales order
V45A0004 Copy packing proposal
V45A0003 Collector for customer function modulpool MV45A
V45A0002 Predefine sold-to party in sales document
V45A0001 Determine alternative materials for product selection
SDTRM001 Reschedule schedule lines without a new ATP check
Business Add-in
BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
BADI_SD_V46H0001 SD Customer functions for resource-related billing
No.of Exits: 15
No.of BADis: 2 -
In user exit i wants to change EKPO-LOEKZ field
Dear All,
I want change the ekkpo-LOEKZ field at the time of saving.
I'm using EXIT_SAPMM06E_012 Exit to do the changes but it s not geting update.
Can any one Help me on this issues?.
Thanks in Advance.
Regards,Thanks for your quick reply Ravi.
My requirement is I want block the line item(s) based on some conditions.
Its possible to block the line item(s) at the time of saving
Regards, -
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
Maybe you are looking for
-
Dual boot Windows 7 on Mac Mini Server
I have a Mac Mini server (2012) with two 1tb harddrives. One has osx Mavericks installed and I have been using it for the past 5 months. The other is completely empty. I was wondering if i could partition the empty drive and install Windows 7 on it f
-
Services for object button in change purchase order-ME22n
Dear experts, In ECC6.0, me22n transaction in the change me22n screen, top left side "services for object" button is provided. It is provided to the left of the standard material po 480000009878 text line. I think it is useful for attaching the Files
-
IPod touch won't stay connected
I just recieved my uncle's old iPod touch wich is in perfectly good condition. I try to sync it to my computer but it only stays connected for about a second. I tried resetting the whole system, but it did not help at all. I hear the little noist and
-
Settings So I Can Leave Headet w/ Mic plugged
Hey all, just installed Blaster Li've 24bit and see that it has three audio outs and one mic input, but when I plug my main speakers into the main audio output line , I am unable to use my headet w/ mic for teamspeak while playing. How can I have my
-
Hi Guys, See I want round off HECess in PO and J1IEX. So I have maintained Rounding Rule for that Condition type and also I maintained item level excise duty round off Indicator for Procurement in Company code settings in Basic Settings.Even after