User Exit for Purchase Requisition Number Range
Dear Experts,
I searched on sdn, i got M06B0003 &M06B0004 this 2 user exit for PR Number range.
I have activated both User exits but while creating PR is not getting effect of that user exit.
I have checked by putting Break-point in respective user exit but while saving the PR it should go to that break-point but it not going there aslo.
And also i have checked user exit MM06E003 but it is for Purchase Order number range.And for PO it is working.
Please help me to solve this issue.Solution will be appreciated.
Regards,
Sanket.
Hi,
Sorry that badi will not help try this one ...EXIT_SAPLMEREQ_009 in MEREQ001 where the export parameters is purchase requisition number....
Thanks,
Shailaja Ainala.
Similar Messages
-
User exit for Purchase requisition
Hello team
At the time of creating the purchase requisition we want to know how much qty in order unit with their UOM .
How to get this functions , Any user exit , Any sort of input will be highly appreciated
Thanks
JJBAdI: Customer BAdI for Enjoy Purchase Requisition BAPIs
Use
This Business Add-In is used in the component MM-PUR.
It makes available the two methods INBOUND and OUTBOUND.
The INBOUND method (method for changing the import data of the Enjoy PR BAPIs) is invoked when the BAPIs PurchaseRequisition.CreateFromData1 and PurchaseRequisition.Change1 are invoked, before the data is passed on to mapping. Call up transaction code SWO1 and choose the business object BUS2105 (inbound delivery).
The Inbound method (method for changing the export data of the Enjoy PR BAPIs) makes available the parameters passed on to the function modules BAPI_PR_CREATE and BAPI_PR_CHANGE.
The Outbound method offers the parameters that can be returned to the function modules BAPI_PR_CREATE, BAPI_PR_CHANGE, and BAPI_PR_GETDETAIL.
For more information, refer to the interface documentation: IF_EX_ME_BAPI_PR_CREATE_02
Standard settings
The BAdI can be used multiple times.
There is no default implementation.
Information about the implementation of BAdIs in the context of the Enhancement Concept is available in the SAP Library for SAP NetWeaver under BAdIs - Implementation.
Example
The class CL_EXM_IM_ME_BAPI_PR_CUST is available for an example implementation. -
User Exit For Purchase Requisition *** FM
Hi all,
We have Funds management activate system.
While creating purchase requisition currently system displays the msg if available balance is exausted.
My requirement is :
During PR creation, each time it should pop up a message of the available fund in the fund center selected by the user no matter it is exausted or it is available.
Is there any user exit available for this while PR creation.I searched enhancements for PR but they are of no use.May in Funds Management some exit will be there.
Please help.
Regards,
SunnyHi,
Please check the the FM EXIT_SAPLMEREQ_010 of user exit MEREQ001.
Thanks and Regards,
Jayakrishnan R -
BADI/User exit for Purchase Requisition from MRP
I am looking for a BADI or any enhancement when a purchase requisition is created or modified from MRP .ie. MD50 transaction. Can anyone help ?
THanks in advance.Hello Shareen
Have you had a look at package <b>MD03 </b>(contains transaction MD50). It contains lots of BAdIs. Perhaps the following ones may be useful:
MD_PLDORD_CHANGE (BAdI for Changing Planned Orders)
MD_PURREQ_CHANGE (BADI for changing purchase requisitions)
However, I should mention that I have not found anything when I checked the <i>Where-Used-List</i> for these BAdIs (on ECC 5.0).
Regards
Uwe -
User Exit for Purchase Order Release Strategy
Hi,
I am a little new to this, how do I search for a user exit for purchase order release strategy (TCode ME29N).
Thanks in advance.
MickHi
Check the following Exits and BADI for Pur Requisition
Enhancement
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
MM06E011 Activate PReq Block
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
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
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
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
Business Add-in
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_PURCHDOC_POSTED Purchasing Document Posted
SMOD_MRFLB001 Control Items for Contract Release Order
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
Reward points if useful
Rgds,
Naren -
Program/User exit to maintain the number ranges at plant level
Hi Everybody,
Could u please tell me program/user exit to maintain the number ranges at plant level.
Thanks & Regards,
PiyushHi
Do you want to maintain all the number range Objects
For Material Master you can use the enhancement MGA00002
For PO Nu,ber ranges you can use the enhancement MM06E003
Thanks & Regards
Kishore -
BADI / User exit for Purchase order(ME21N) after saving the document
Hi expert,
I need the BADI / User exit for Purchase order(ME21N) after saving the document
This is for email sending after create the purchase order so PO document number will be the import parameter
pls help me
point will be reward
Regards,
GaneshHi Ganesh,
Could you please share your solution?
Thanks.
Hoops
Edited by: Hoops on Jun 13, 2011 10:51 PM -
User Exit for Purchase Order Line Items.
I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything. I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document. Any direction you can point me into would be greatly appreciated. Thanks.
Thanks for pointing me in the right direction. I was able to create my first BADI using the PROCESS_ITEM method. The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM
-
Purchase requisition number Range in MRP Run (MD02)
Hi Experts ,
When I run the MRP through T-Code MD02 even in test mode the Purchase requisition number getting consumed with out saving the entries.
for eg:- number range = 100 to 200.
when I execute the MD02 by selecting the indicator "Display results before they are saved " system showed a Purchase requisition number 100 and exit with out saving the entries.Next time when I execute the same MD02 system is displaying the purchase requisation number as 101, where as i have not used PR number 100 at all.
Please guide me....
Regards,
Sri.Sri,
Nothing is missing. This is standard behavior. It appears to me that SAP makes no effort to ensure that all Purchase request numbers are contiguous.
You can try turning off number range buffering. This will reduce the number of gaps in your purchase req number sequences. However, I don't know if it will eliminate all gaps. Be aware that there is a performance tradeoff when you deactivate buffering. Making this change is considered to be a system modification, and is not supported by SAP.
https://service.sap.com/sap/support/notes/62077
Rgds,
DB49 -
User Exit for Purchase Req. ME51N
Hi,
In ME51N, I would like to default some value for the field BPUEB.
Is there any user exit for such purpose?
Many thanks.
Regards,
ChrisHi Chris,
These are the available exits and badis.
Enhancement/ Business Add-in Description
Enhancement
MEREQ001 Customers' Own Data in Purchase Requisition
Business Add-in
ME_COMMITMNT_PARKING BAdI for Redefining Commitment Interface When Parking
ME_MEREQ_PARKING BAdI Purchase Requisition: "Hold"
ME_REQ_HEADER_TEXT Copy Header Text: Enjoy Purchase Requisition
o.of Exits: 1
o.of BADis: 3
Impliment the coding and put the break points.
********Rewards some points.
Rgds,
P.Naganjana Reddy -
User Exit for Purchase Requistion / Purchase Order Release Strategy
Hi
Can any one please tell me the List of User Exit / Enchancement Package for Purchase Requisition / Purchase Order Release Strategy .
ThanksM06B0001
Role determination for release of requisitions
M06B0001
Changes to communication structure for release of requisitions
M06B0005
Changes to communication structure for overall release of purchase
requisitions
M06E0004
Changes to communication structure for release of purchasing document
M06E0005
Role determination for release of purchasing documents -
Restriction for purchase Requisition Number in ME21N
Hi All,
I want to raise an error message in ME21N, if the user creating PO without perchase rechase requisition number. For this i choosed one BADI.
Definition Name: ME_PROCESS_PO_CUST
Interface Name : IF_EX_ME_PROCESS_PO_CUST
i have implemented the BADI ZCHECK_PR
Method : IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
I have written code like this in PROCESS_ITEM method
DATA: ls_mepoitem TYPE mepoitem,
ls_customer TYPE mepo_badi_exampl,
ls_tbsg TYPE tbsg.
INCLUDE mm_messages_mac. "useful macros for message handling
* here we check customers data
ls_mepoitem = im_item->get_data( ).
BREAK-POINT.
if ls_mepoitem-bstyp = 'ZV01'.
if ls_mepoitem-banfn is INITIAL.
message 'Enter Purchase Requisition Number' type 'E'.
endif.
endif.
Saved & Activated this.
But while testing this in ME21N, it is not at all going to debug mode( I have created PO for ZV01 order type only).
Is there any thing not finished for BADI?
Can any one help me.
Thank You.Vishnu,
Very strange, just try deactivating and deleting your implementation and create a fresh one in the same client where you are testing and assign it to a transport request and check.
Actually this BADI is already migrated to an Enhance spot in ECC 6 with same name 'ME_PROCESS_PO_CUST' but I still believe that SIMPLE badi implementation is still supported. OR Better do it with the latest way.
Create an enhancement implementation of Enh spot ME_PROCESS_PO_CUST in SE19 and then for that Enh implementation, create a BADI implementation and an implementing class. Code the required thing in the implementing class methods and then check if it works. It's actually almost same way as implementing a simple BADI. If you need any help, search Forums or get back here.
Pls note that Enh framework implementations are much faster than conventional BADIs and should always be used.
BR,
Diwakar -
User exit for Purchase order to change RESB-SOBKZ
Hai,
The requirment is to change the purchase order's RESB-SOBKZ.
The purchase orders will be created in r/3 from APO & the same PO would be published back to APO.
I have to change the above metioned field at the time of PO save in R/3.
The RESB-SOBKZ actually changes the purchase orders Individual & collective indicator based on its value.
Can any one know what is the user exit for this?
I have checked 'EXIT_SAPLCPUR_001' but it dosn't have the RESB related structure.
Thanks,
BhaskarHi,
I know this is very late reply to your query but i think this is the correct answer for which you are looking for.
you were searching in a right direction...just try to see the User Exit EXIT_SAPLMEPI_006 on R/3 side in which you will find the RESB-SOBKZ field in CP_POSITION parameter in Changing Tab,Assoicated Type = MEPI_PO in which SOBKZ field is there on 16th position.
Regards,
Saurabh -
BAPI_PO_CHANGE me22n add profit center for purchase requisition number
Hello all,
I have to add an item line for a specific sales order( p_vbeln ).
for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
for this i use BAPI_PO_CHANGE.
i colect the folowing data:
from table VBFA( vbelv = sales order number vbeln = l_ebeln)
PO Number = p_ebeln.
from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
Purchase Requisition Number = l_banfn
Purchase Requisition Item = l_bnfpo
from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
Profit Center = l_prctr
from table EKKN
select max( ebelp )
from ekkn
into l_ebelp
where ebeln = l_ebeln.
add 10 to l_ebelp
Purchase Order Item = l_ebelp .
and i move the data:
i_t_poitem-po_item = l_ebelp.
i_t_poitem-preq_no = l_banfn.
i_t_poitem-preq_item = l_bnfpo.
i_t_poitem-acctasscat = cc_x.
APPEND i_t_poitem.
i_t_poitemx-po_item = l_ebelp.
i_t_poitemx-po_itemx = cc_x.
i_t_poitemx-preq_no = cc_x.
i_t_poitemx-preq_item = cc_x.
i_t_poitemx-acctasscat = cc_x.
APPEND i_t_poitemx.
i_t_poaccount-po_item = l_ebelp.
i_t_poaccount-itm_number = p_posnr.
i_t_poaccount-SCHED_LINE = ln_etnr.
i_t_poaccount-profit_ctr = l_prctr.
APPEND i_t_poaccount.
i_t_poaccountx-po_item = l_ebelp.
i_t_poaccountx-profit_ctr = cc_x.
APPEND i_t_poaccountx.
then i use the function BAPI_PO_CHANGE:
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
testrun = l_test
TABLES
return = i_t_return_po
poitem = i_t_poitem
poitemx = i_t_poitemx
poaccount = i_t_poaccount
poaccountx = i_t_poaccountx.
BUT i get the folowing result ( messages in return table)
Insert item for PO-order
Message: Changing of PO using Enjoy BAPI unsuccessful ;
Message: Purchase order item 00120 still contains faulty account assignments ;
Message: Enter Profit Center ;
what should i do?
best regards,
emiliahello,
i debugged the function.
first the data from poaccount is copied in lt_account.
then this happens:
PERFORM get_current_data
TABLES poitem poschedule poaccount
pocondheader pocond
extensionout
poexpimpitem allversions popartner
potextheader potextitem return
USING
l_po lf_header_currency
CHANGING
expheader exppoexpimpheader.
exppoexpimpheader = poexpimpheader. "foreign trade export workaround
after this form is executed poaccount-profit_ctr is empty.
lt_account-profit_ctr in not empty but then it is not anymore.
in the form this happens:
item data
CALL METHOD im_po->get_items
IMPORTING
ex_items = lt_items.
LOOP AT lt_items INTO an_item.
l_item ?= an_item-model.
CALL METHOD l_item->get_data
IMPORTING
ex_data = ls_mepoitem.
ls_mepoitem-ebeln = ls_header-ebeln.
APPEND ls_mepoitem TO lt_item.
schedules
accountings*
CALL METHOD l_item->get_po_accountings
IMPORTING
ex_accountings = lt_accountings.
LOOP AT lt_accountings INTO an_item.
l_accounting ?= an_item-model.
CALL METHOD l_accounting->get_data
IMPORTING
ex_data = ls_mepoaccounting.
ls_mepoaccounting-ebeln = ls_header-ebeln.
APPEND ls_mepoaccounting TO lt_account.
ENDLOOP.
item conditions
foreign trade (item data; EIPO)
ENDLOOP.
so it acctualy copies every item from purchase number ebeln in lt_item.
for each one of them it copies the account data into lt_account.
so the last loop is for the item that i want to enhance.
here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
after this loop there is a form:
PERFORM move_account_out TABLES lt_account
ext_poaccount
USING header_currency.
where the ext_poaccount is the poaccount parameter.
this form:
clears ext_poaccount.
copies the data from lt_account into ext_poaccount.
and returns the ext_poaccount with the empty Profit center field
and so after performing get_current_data my parameter is deleted.
then it's almost the end of the function and nothing else related to the poaccount parameter.
so it's no use for me to insert the field Profit_Center?
is there another FM that i should use to be able to insert the profit center?
what should i do?
Best regards,
Emilia -
User Exits for Purchase order Header Text Validation
Hi Experts,
I need user exit for validate a Long text in Purchase order header data for a Particular Doc type.
We are using 4.6 B so badi is not available .
So pls tell me user exit for the same or any other method as i was unable to find user exit for this scenario.
Note : This valiadation should trigger whhile creating PO.
Warm Regards
Santosh Kumar
Edited by: Santosh L on Mar 19, 2010 9:58 AMi have used concept of global memory through call stack
Maybe you are looking for
-
Color difference in web gallery
I am having trouble matching color from my images in Bridge or PS (CS4) to the photos that appear when I make a web gallery using CS4. The photos have been converted to sRGB and look vivid in Bridge or Photoshop. However when they are converted in
-
How is actual coverage calculated in MD04?
Hi Experts, Can you please explain how is the actual coverage calculated in transaction MD04? What are the tables involved? From which tables the quantities are retrieved? Thanks, Vitz.
-
Using external reference png files
Hello everyone! I've been requested to create a flash project in which all images are external references. Images (mostly png) are created and can be modified anytime by artists, fla files and actionscript are created by developers. When opening a fl
-
WHY PGA IS REQUIRED FOR EVERY USER ?
Good Morning Everyone ; I have a question about PGA. WHY PGA IS REQUIRED FOR EVERY USER ? What i got from google .. Even though the parse information for SQL or PL/SQL may already be available in library cache of shared pool, the value upon which
-
Regarding fields...
where could i find the following fields.. GROSS SALES, CREDIT RETURNS, GROSS WEIGHT FOR CURRENT YEAR . with regards, Badrinath