User Exit required for restricting 1 vauation type in ME51N
Hi Experts,
I want to restrict that during the creation of PR i can only create the PR for materials for same valuation type. If there are 10 material then that should be of same valuation type.
Please suggests.
Hello,
While creation of PR, System will check Material is split valued or not.... if yes then ask you enter split valution.
This is not possible in Std SAP. this is only possible through enhancement. What is the business requirement?
Because if i want to create One PR for 5 Raw materials and 5 FINISHED goods, then here system will create PR for any of the 5 materials., so this is not feasible.
Regards
Mahesh Naik.
Similar Messages
-
BADI-User exit required for updating Purchase order header field -IHREZ
Hello All,
We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
Thanks in advance for your immediate response .
With regards,
Joseph Anand BTRY using the exist u2022 EXIT_SAPLME59_001
You can also later on add this field by BAPI_PO_CHANGE -
Hi All,
My requirement is, in IE02, Equipment->Functions->deletion flags ->set.
At this point we have some custom specific requirement.I think User Exit might help.
I tried putting the breakpoint on class CL_EXITHANDLER->get instance
CALL METHOD cl_exithandler=>get_class_name_by_interface, to get the exit name. But its not helping me. Please suggest.
Thanks,
Sana.Hi,
Thanks for the reply.
This Exit is called before eqipment is saved, so I was coding here. The issue is that I have to set the deletion flag according to some user input, the deletion flag is in table JEST. This Exit doesnt have this table, so I am not able to set the indicator.
There are twoo var, ind_lvm and ind_oav, which are being set according to the Set/Reset of the Deletion Flag. So, will it be fine if I make these as Constants, so that there value will get chane inside the Exit.
Can you suggest how to proceed.
Regards,
Sana.
Edited by: Swaliha Sana on May 18, 2010 11:32 AM -
Hello Experts,
In transaction VX22n, there is a warning message that needs to be converted to an Error Message:- This is to restrict the transactional changes of the license.
With help of this transaction license changes can be made for block sales document( due to invalid license) and
only warning message appears for the same. This adaption should restrict the transactional changes in the T-code.
Can you please help me with what user exit should i use or any other ideas and tips on how to go about it?Maybe you can use one of the following enhancements (transaction SMOD):
VIMPPROP - User Exit: Proposal dato for import simulation
MVEIPREF - User exits - Preference determination
FTGOVSEL - Declarations to the authorities: User exit f. selection runs
RVEXAKK1 - Document Transaction: Screen Exit for Additional Data
RVEXAKK2 - Additional Customer-specific Lists / Reports
V50EPROP - User Exit: Foreign Trade Data Proposal in MM and SD
V55ECTRL - User Exit: Print Control in Foreign Trade Documents -
BADI/User-Exit Required for VL01N (Only PGI)
Dear All,
I need a BADI or User-Exit which will be triggered in VL01N only during PGI just before the material document gets created (after all validations are done).
Thanks in Advance
SantoshHI Santosh,
Why do you want to Enhance just before the Material document creation. ?
Why Cannot you do all your validations in USEREXIT_SAVE_DOCUMENT_PREPARE. so that this data is passed when MM document is created?
any way The PGI push button, uses the FM MB_CREATE_GOODS_ISSUE_ITEM internall.This FM has some space provided for the Customer enhancements ( EXIT_SAPLMBWL_400) iNCLUDE name is ( LXOIAU07) . I have not used this exit. So figure out if this can help you..
But Try to analyze why do we need to modify just before MM document creation. if you can tell the problem thats forcing you, then some one in the forum has a solution for it...
Thanks, -
User Exit required for ASN EDI
Hi I need to populate a field in an Outbound IDoc
The name of the FM is IDOC_OUTPUT_DESADT
How do I find this exit perfectly, with minimum timeHi,
Have you looked user exits available in include program LVED2FZZ?
These user exits are called from FM IDOC_OUTPUT_DESADT.
In here you can code your own logic to populate ASN value.
You need to register the object in order to modify the program.
Regards,
Ferry Lianto -
User exit required for the ASN outbound IDoc
Hi All
Guys ive got a problem.
I need to populate a field that SAP does not populate by default in the outbound ASN(856).
I need to therefore find an exit, in the function module "IDOC_OUTPUT_DELVRY"
I went by the standard process of finding the exit(Cntrl F ) in the main program.
but the exit I came up with does not Kick in?!
I wonder whats going wrong.
Can any one please help me , along with proper explanations!
Thanks!
Im sure Ferry will have a crisp to the point answer!Implement this BADI IDOC_CREATION_CHECK....
-
To find out appropriate user exit/ badi for transaction VT01n
Hi,
I have the following requirement.
Cass shipment type (VTTK-ADD03) field needs to be required and should be automatically populated upon creation of the shipment document. The rules for populating the value (SO, ST, PO and RA) are as follows:
If any of the orders on the shipment are customer order types, then the CASS shipment type should be a SO,
If all of the orders are STO orders, then the Cass shipment type should be "ST",
If all of the orders are PO orders, then the Cass shipment type should be "PO" , and
If all of the orders are customer return orders, then the Cass shipment type should be "RA".
I have to find out proper user exit / badi to do this.I have tried with many userexit but it won't work.
Thanking in advance to give your suggestion in order to resolve it.
With regards,
Ajit.Hi this code will enable you to find the user exit for any transaction . Just give the transaction as input
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.
*---End of Program
Just for your information the User exits available for VT01n are
MV56AINI Initialization of transaction control for transportation
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 Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
Award points if helpful..
Thanks -
In ME21N,User Exit/BADI for Defaulting Vendor number at item level.
Hi Experts.
In ME21N, for every purchase order, we have condtion tab for each line item.
Many condition typesot taxes are listed based on the config for the materials.
My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
I need a user exit/BADI for defaulting the Vendor number.
Regards
Balaji RHi,
check with below link,
fo this one you will find both user exit and badis
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
Regards,
Madhu -
Can anyone give me user exit name for create/update purchase order partners
Hello guys
Can anyone gives me user exit name for create/update purchase order partners?
Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N) by using user exit.hi,
check these exits.
Transaction Code - ME21N Create Purchase Order
Enhancement/ Business Add-in Description
Enhancement
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
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
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
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number -
User Exit/BADI for Transaction CNR1 & CNR2
Hi All,
We have a requirement where we need to make use of the transaction CNR1 & CNR2 to validate the employee number, can anyone tell me is there any user exit/BADI available for this purpose, I have searched for the user exits using a small utility program which resulted in 'No Exits',
Your quick help would be highly appreciated,
Rgds,Hi Sailatha,
I am not very clear with the requirement. I would appreciate if you can explain me the scenario.
As I understand the requirement there is no user exit exists for this purpose but there is one BADI available for CNR2 which can only be used if we try to remove the HR assignment to work center and the assignment is to Object Type "US" (User HR object). Hope this helps.
Definition name: CRHRORG
Method: CHECK_DEASSIGN_HRORG
Kind Regards,
Sanjeev Munjal -
User exit to change an output type
Hi,
Is there any user exit to change the output type instead of another one when the user tries to print a sales order?
Thanks in advance.
Ricard.Hello,
for example you have 2 message types
1) ZOUT1 (Zprogram1 or Scirpt or Smartform what ever)
2) ZOUT2 (Zprogram2 or Scirpt or Smartform what ever).
For example based on Vendor Type you want to trigger ZOUT1 & ZOUT2.
what you have to do is.
Goto VOFM -> Requirements -> Output Control -> Create 2 routines for each output type. then go to Code part of each routine make subrc = 4 if you dont want to execute output type.
subrc = 0 implies output will execute else vise versa.
let me know if you dont understand my solution.
***********Poorna*********** -
User Exit/Badi for G/L account assignment in ME21n/ME22n
Hi All,
I need user exit/badi for account assignment in item details for following requirement.
If user changes G/L account of the first line item then I have to copy same G/L account to all line items.
Please suggest me suitable user exit for this.hello,
follow the steps.......
For User Exit's
goto to tcode->status->program name->double click on that,
then goto to-> attribute take the package name and
Goto SMOD tcode ->Utilities->give the package name and F8
then a list of exits will display for that tcode as well as that package.
u can check the table MODSAP
For BADI's,
1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
2)Goto to tcode->status->program name->double click on that program will display's
then press crtl+F then cl_exithandler
Thank u,
santhosh -
User exit/BADI for delivery creation in VL10B
Hi,
Is there any exits available for restricting the document type while the deliveries are selected/processed using VL10B/VL10G - delivery creation in background.
Scenario is when deliveries are created for STO's,thedelivery is to be created for a selected document types(EKKO - BSART).Other types of document types have to be ignored when the delivery is created in background.
Regards
DeepakCheck this exit.
BADI LE_SHP_DELIVERY_PROC
Method IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK -
User Exit & BADI for controling the END user in co06
Hi
I HAVE SOME 2 DOUBTS
1. I need a user exit / BADI for controlling the user to edit a specific document type in co06 (BACKORDER PROCESSING) .
the control should be actve for specfic order type for specfic users
2 DEPENDS ON ORDER TYPE I NEED TO CONTROL THE ALLOCATION , AND HOW TO CHECK THE SAFETY STOCKAnswer cannot be Provided properly , so has to Post more questions . i am jus closing my ques??
Maybe you are looking for
-
account.
-
Reminders crash in Mountain Lion 10.8.1
Reminders crashed every time I tried to start it. Read Console log from Genius Bar recommendation. 8/29/12 3:15:47.790 PM Reminders[282]: WARNING: moveItemAtPath:/Users/rreyes/Library/Calendars/Calendar Cache toPath:/Users/rreyes/Library/Calendars/C
-
When are you going to update LION about the audio bug since 10.6.8 update
I still lost the audio of my Mac Mini, when I finish to watch a movie via PLex, the only way is to reboot the mac and then start another film...
-
Require Salary packaging option in ESS portal for India
Dear All, We need Flexi Benefit Pay option in ESS portal for India. We tried a lot for the same but could not get any break through.... We found Salary Packaging option in R3 under the Tcode P16B_admin...this is wrking fine in R3 but we want this opt
-
keeps playing the same song over and over