Urgent Help in User-Exit for MM!
Hi,
1. I am writing code in the Exit "EXIT_SAPLMGMU_001".
2. I have to pop-up error/warning messages for incorrect data entered in various fields/screens/views of MM01/MM02 transaction.
3. The Exit gets triggered when i press "SAVE" after modification.
4. When I create the Classification View, i enter the class type as "001" for material class.
5. Then i need to enter a value "Z_Product" in the class column(on the screen in classification view). This class is the "Product Class" (description).
My problem is to find this value that i enter on screen before "Save" i.e. when i am creating material for the first time in MM01, i dont want the error message to pop-up if i am entering any value in the class column and also entering values in the internal characteristics for that class.
Basically i want to read the values (before "SAVe") entered in the class column as well as want to know the values for the internal characteristics of the class.
For Class, the std. field is "RMCLF-Class" , but i have no buffer field available in my exit that contains the value for the Class. I have also tried using "Get parameter ID", but it doesnt work.
For Internal Characteristic values (of the class) that are entered in the tab(that appears on pressing "Enter" after filling the Class value) below the Class tab, i am fetching data from std. table AUSP to check for corresponding entries for that particular material number....but this table will get updated only after "SAVE" and so i would be able to read the values only in MM02.
Please help me in finding out a way for reading the class values & Characteristic values in my user-exit.
Thanks & Regards,
Tejas
Hi Ronak.
You can try with <b>'EXIT_SAPLCLFM_002' (CLFM0002)</b>. This is the exit for the classification view. You can get this for the transaction CL22N / CL24N.
This is also called in MM01 for classification values. This classification details are cross application components. So This is also called from other transaction.
Regards
Rusidar.
Similar Messages
-
Help Needed: User exit for transaction IL01 and IL02
Hi,
First of all I would like to take you through my requirement. The
requirement is: When I try to instal an equipment(EQ) at a functional
location(FL) in SAP, I want to pass on the values of these two
technical objects(EQ,FL) to an external system through SAP XI.
I identified two user-exits for this purpose,
they are ILOM0001 and ILOM0002. I found the first exit (ILOM0001) more
relevant than the other as the exit ILOM0001 is responsible
for 'Additional checks before saving a functional location'. The
function exit for the exit ILOM0001 IS EXIT_SAPMILO0_001.
When I load the transaction IL02 and try to instal an equipment at a
functional location in debug mode nowhere did I notice this function exit.
Please clarify whether this exit is called with a different name
internally or I am looking at a different exit altogether.
Your early response is highly appreciated.
Thanks,
VijaySolved..........
-
Hi friends,
Facing problem in USER EXIT for MIGO...
My requirement is...
I want to give a error message for good issue or it should not be posted in MIGO, if the Item OK check has not been made for all the available materials corresponding to Order no while posting goods issue.
the structure and field names are: GODYNPRO-DETAIL_TAKE
i.e., If the user omits to do the item-check for any materials while posting Good issue(after the Production order made),one popup(error) message will come/display b4 posting the document (by way to alert him).
If anyone have solution or worked on this previously...pls post ur example by reply or let me know which is the corresponding USER EXIT to include my coding part.
I've tried in MB_CF001 and MBCF0005 and its not working.
Pls do the needful at the earliest.
Thanks & regards
sankar.Hi
I hv same req. did u found correct exit?
thanks -
Help needed: user exit for CO02
I have a problem with user exit. I need to display an error message when the quantity of a specific component of a material is changed in CO02 and user hits save button.
I inserted my code in include program ZXCO1U01. Based on the material type if the user changes the quantity I will display a message. But the problem is the documentation shows that we cant insert a error message in this exit. Its giving a dump if I do that.
I am calling a new screen to display a message but if I try to execute CO02 again for the same order its displaying error messages as that component will remain locked.
Please help me regarding this.
ThanksHi Bobby,
We had similar issue and we have added a code to send an e-mail message to the user is any error occurs.
You can't insert an error meesage in this user exit.
Lanka -
Require help on User Exit for t-code VA31
Hi All,
I have a requirement of updating one of the fields in the Customer Master for selected Sold-to-party while creating or modifying a scheduling agreement.
Is there an user exit available for doing this?
Please help on this as early as possible.
Thanks,
HemaExits for the tcode VA31 are
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly
V45L0001 SD component supplier processing (customer enhancements
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
Regards
- Gopi -
Urgent- Help abt User Exit MV45AFZZ
very good morning to all the SAP Masters out there....
I had already posted a thread regarding the same but didnt get helpful answers...
Hope I will get some this time...
It is Interesting actually...
I need ur help for solving an issue...
when Sales Order is Being created...the Purchase Requisition and Requisition item is generated in the Schedule Line of Sales order's Line Items
If I am not worng we are able to make changes in MV45AFZZ program for SalesOrder..
So My requirement is..
When Sales order is being created the value of KDMAT field of VBAP table should also be saved in EBAN-BEDNR...the length for BEDNR is 10 so it'll b taken care to limit VBAP-KDMAT with in 10 Chars...
help me to Carry XVBAP-KDMAT into EBAN-BEDNR for VA01 Transaction....
Points Rewrded for Helpful answersHi,
Why don't you try the exit
V45E0001
where the description says "Update Purchase Order from Sales Order"
Please find below the documentation for the exit
Update Purchase Order from Sales Order
With this customer exit the standard system behavior regarding updating order data from the sales order can be expanded or restricted.
The module is called up when the sales order is changed, as long as the conditions for changing the order have been filled. It transfers the document number, the purchase requisition number and a table for the fields to be changed in the order (T_PURCHASE_DATA). This can be expanded or restricted in the existing Customizing.
The rule is: To change a field with the name FIELDNAME, a subprogram (form routine) with the name POSITION_CHANGE_FIELDNAME must exist in the program SAPMM06E.
OR..in MV45AFZZ in userexit_save_document we need to write the code to manually update the table EBAN field by using abap code like modify table or seeking a BAPI..consider this as the last resort pls.....
Reward if it helps
Regards
Byju -
Funtion Module for user exits for variables used in BEx Queries.
Hi,
This is for BW Query customer exit variable (zvar2) for include ZXRSRU01 and exit :EXIT_SAPLRRS0_001.
Can anyone please suggest the function modules that can be used to do the following.
1)Read value of zvar1 from selection screen whatever
user enters at run time.
2)How to define the zvar2 in the include. zvar2 is the
variable created in BEx to be populated from this
customer exit.
3)How to use case statment where once the value for zvar1
is determined then,
Case zvar1.
when zvar1 = 0 , then zvar2 = 10
when zvar1 = 1 , then zvar2 = 20
3) Assign zvar2 value as computed in the case statement.
Can anyone please help with the code to achieve this.
Any information regarding function modules that can help write user exits for variable reading and input will be greatly helpful.
Thanks
Sarah.Hi Sarah,
You don't need any FM for your issue.
Please try thie sample code :
DATA: VAR_INPIUT LIKE RRRANGEEXIT.
CASE I_VNAM.
WHEN 'ZVAR2'.
CLEAR L_S_RANGE.
IF I_STEP = 2."PROCESSED AFTER VARIABLE INPUT
*Reading value of ZVAR1
LOOP AT I_T_VAR_RANGE INTO VAR_INPIUT
WHERE VNAM = 'ZVAR1'.
CASE VAR_INPIUT-LOW.
*FILLING ZVAR2
WHEN 0.
L_S_RANGE-LOW = 10.
WHEN 1.
L_S_RANGE-LOW = 20.
ENDCASE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
ENDCASE.
Hope this helps
Joe -
EXIT_SAPLEBND_002 -- user exit for release strategy
Hi,
This is regarding help on user exit for release strategy, ref: note no. 365604, however after going through all the config part given in the given note we activate the fm in cmod.... but after activating the release tab goes off from me29n.
That is after you activate in cmod and then if u create po and go to me29n the relese tab is not there.
if u deactivate and create po and then relese the release tab in me29 would appear.
All we are trying is that the po in me29n should be open to release again if we change the delivery date. However what coding and how is still a second step , first is as soon as the exit is active the tab goes off.
New to user exit . plz help.Hi Again,
I guess I have solved the issue temporarily, however Am not sure if this is the best which cld be doen to the issue.
I didnt make any new characteristics in ct04, for the delivery dats since i didn't want to restrict the delivery date. All I did i yje coding below in the exit :
DATA wa_eket TYPE LINE OF mmpur_beket.
DATA wa_eket1 TYPE LINE OF mmpur_beket.
data: c type i.
data: p type i.
break1.
break2.
e_cekko = i_cekko.
loop at it_beket into wa_eket . " for comparing previous and the current del date
e_cekko-usrc1 = wa_eket-eindt.
SELECT SINGLE * FROM eket INTO wa_eket1 WHERE ebeln = wa_eket-ebeln
AND ebelp = wa_eket-ebelp.
if wa_eket1-eindt <> wa_eket-eindt.
import c from memory id 'CID'.
c = c + 1.
clear p.
p = c mod 2.
if p is not initial. " adding 0.01 to the characteristic value for p.o amt.
e_cekko-GNETW = e_cekko-GNETW + '0.01'.
else.
e_cekko-GNETW = e_cekko-GNETW - '0.01'.
export c to memory id 'CID'.
endif.
endif.
endloop.
The logic I tried using is since the relese gets reset incase of p.o amnt and hence indirectly po amnt so i changed the value of p.o value by 0.01 incase of change in delivery date. cekok-gnetw doesnt reflect anywhere in the p.o as amnt, I guess its for defing range for relese stragey's amont in ct04 characteristics.
However anything better incase u know plz let me know, or do u think this can cause any problems later....new to exits.
Rgds,
Anu. -
Urgent: USER exit for W2 Box 13 of Tax reporter 4.7
Hi,
I am working on tax reporter version 4.7 and while printing the W2 forms saw that the Box 13 (selection of Statutory employee or Retirment plan or third party sick pay ) is not ticked. I worked in one of the clients on ECC 6.0 last year whom had a custom user exit for this same box 13 of W2 which used to get ticked on W2 form depending on the logic in that user exit.
I suggested to this present client that an user exit needs to be written, they asked me to write functional specs for the user exit, can someone help me in writing the functional specs for this W2 form Box 13 selection of Tax reporter on 4.7. what do I need to specify and how do i need to write the functional specs reflecting the logic of this Box 13 of W2 form in tax reporter. Please help me guys, its very urgent.
I apprecite your answers.
Thank you so much
TonyHi Oscar Romero,
Sorry its an typo error. second range should be 001.2006 to 007.2006.
1. I want to know how to create Multiple Interval(Range) value variable? - I have used selection option and created variable. Is it correct?
2. Pls find my coding.
when 'ZFISCYAC'.
IF I_STEP = 2.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZFYPEROP'. ---> Value entered is 001.2005 - 012.2006
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
L_S_RANGE-LOW4(3) = LOC_VAR_RANGE-LOW4(3).
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZSCENAR'. -
> Value entered 20060804, 20060705.
*concatenate LOC_VAR_RANGE-LOW(4) '0' LOC_VAR_RANGE-LOW+4(2)
*into L_S_RANGE-high.
L_S_RANGE-high = LOC_VAR_RANGE-LOW(4).
L_S_RANGE-high+4(1) = '0'.
L_S_RANGE-high5(2) = LOC_VAR_RANGE-LOW4(2).
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDLOOP.
ENDLOOP.
ENDIF.
Final range should be for 20060804, "ZFISCAY" should be from 001.2005 to 008.2006
For 20060705 range should be 001.2005 to 007.2006.
*Coding for Filling variable "Fiscal year/Period Plan Multiple values
when 'ZFISCYPL'.
IF I_STEP = 2.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZSCENAR'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
L_S_RANGE-LOW+4(2) = '00'.
L_S_RANGE-LOW6(1) = LOC_VAR_RANGE-LOW4(2) + 01.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZFYPEROP'.
L_S_RANGE-HIGH = LOC_VAR_RANGE-high(4).
L_S_RANGE-HIGH4(3) = LOC_VAR_RANGE-high4(3).
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDLOOP.
ENDLOOP.
ENDIF.
With same variable values entered as above plan value for variable "ZFISCPL" should be of range 009.2006 to 012.2006 for 20060804
Range should be 008.2006 to 012.2006 for 20060705.
Hope this is clear.
Pls answer very urgent.
Thanks.
Bhuvana. -
User Exit for ML81N at the time of save -- urgent
hello all,
I need to fill the field reference field in ML81N transaction with some value for this i need to find user exit i was able to find so many user exits for this transaction but i couldn't find the perfect user exit at the tiem of save,
Any pointers wouls be of great help..............Hi,
check these 2 threads.
User exit in ML81N
Urgent. Badi or user exit for ML81N transaction
Regards,
Maha -
User Exit for ME21 PO Creation at the time of saving--Urgent
Hi,
Can some one help me out in finding the user exit for PO creation at the time of saving.
The Requirement is:
I need to create a custom field in EKKO table.
After appending the structure with the field to the EKKO table, i need to create a PO.
Now i need to update the field which has been created at the time of pressing the SAVE button.
I need to update the EKKO table it self.
I could find the user exits but none of them have the EKKO table either in Changing or in Tables.
Thanks,Hi,
You may want to check this user exits.
EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
Here is the list of available user exits for ME21.
EXIT_SAPMM06E_001 - Other Number Range or Own Document Number
EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen
EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document
EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)
EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract
<b>Reward points</b>
Regards -
Help required regarding user exit for STPSHH01 IDOC
Need help regarding user exit.
I append the structure of VTTP and add one field with the name of ZDELCST i.e Delivery cost so i want to update that table once the idoc will post.
I have to write the user exit for this but i have no idea how to do this so kindly requesting someone to please write the code for me and i will be very grateful to him/her.
The functional module is IDOC_INPUT_SHIPPL
and there is a CALL CUSTOMER-FUNCTION '012'
this will take us to function module EXIT_SAPLV56I_012
This includes ZXV56U08
Within this include in need to map the delivery cost from the idoc to the new append filed VTTP-ZDELCSTHi,
use this FM to update ur shipment
variables
DATA: lo_tp_g_tra TYPE v56e_shipment_activities, "Data to modify
lo_tp_g_shp TYPE v56e_shipment,
lo_tp_g_log TYPE v56e_logfile, " Errors function
call the function to modify shipments
CALL FUNCTION 'SD_SHIPMENT_PROCESS'
IMPORTING
e_logfile = lo_tp_g_log
CHANGING
c_activities = lo_tp_g_tra
c_shipment = lo_tp_g_shp
EXCEPTIONS
error = 1
OTHERS = 2.
Thanks,
Sendil. -
Help me to find user exit for MB1B
IN MB1B TRANSACTION I WANT ONE FIELD LIKE <b>REASON FOR TRANSFER</b> APPEAR IN THE FIRST SCREEN ONLY WHEN I AM ENTERING PARTICULAR MOVEMENT TYPE,PLANT AND STORAGE LOCATION.HELP ME TO FIND USER EXIT FOR THIS
Message was edited by:
neela renganathanTHIS FIELD ALREADY AVAILABLE IN THE NEXT SCREEN ,BUT WHILE AM ENTERING PARTICULAR MVEMNT TYPE ,PLANT,STORAGE LOCTN IT WILL APPEAR IN INITIAL SCREEN AND IT WONT ALLOW TO GO NEXT SCREEN WITHOUT GIVING THE REASON
Message was edited by:
neela renganathan
Message was edited by:
neela renganathan -
User-exit for delivery while assigning serial numbers(urgent)
hi all,
can u plz tell me the specific user exit for delivery (VL01n) while assigning serial numbers?
i am getting the serial numbers for material in database table OBJK .i am also getting these serial no.s in IQ01.
while doing delivery,i am going for extra-->serial number.at this time one screen for serial number is comming.those serial numbers which are stored in objk will transfer to this screen of delivery automatically.
for this , i want a specific user-exit for delivery so that i can transfer the serial nos from objk to that screen of delivery.plz suggest .(urgent )
any idea is highly appreaciated
Regards
pabitraYou can find from below list of user exists
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 for DELIVERY--very very urgent
Hi all,
can u plz tell me the user-exit for delivery i.e this exit should be called after the delivery order is created.
plz suggest some specific exit.it is very very urgent.
Regards
pabitraRout ,
u cannt find out user exits after the Creation.
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)
* 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
"n_693000
include mv50afzp. "Userexit for pricing screen input
Regards
Prabhu
Maybe you are looking for
-
How can my wife and I share music with different accounts
My wife is always downloading music. I would like to add her music to my ipod/iphone etc. We both have different itunes accounts but share one computer as different users. Can someone please help me to figure this out? I don't want to buy music m
-
Hello all, Lately I have been having problems syncing my ipod video to my computer. Because of this I restored the ipod and updated the to the latest software version. Now after restarting the ipod it will not get past the apple logo that you get wit
-
HI All, Can you please tell me in third party sales can we do MIRO with out MIGO, if so please tell the process, and wat are all positives and negatives that we will have if we do the same. Thanks in Advance.. Ramki
-
I have upgraded to Mountain Lion. Do I need to retain my OS X Lion Install Thumbdrive?
I've just upgraded to Mountain Lion. I prefer to have a backup of my Install Application so I made a Bootable Tumbdrive of the Application (using Lion Diskmaker). I ran the Application as an uprade to the Lion installation on my computer (which was a
-
Hi Techies, My requirement is to create a DBLink with SQL Server2000 (ofcourse from Oracle). I came to know about Oracle's Heterogeneous feature. Transaparent gateways, Agents are particulary interesting. But, in an implementation wise, I need a case