Service Limits in Purchase Requisitions: Where to Insert Custom Code?
The issue is related to finding a place in SAP logic where a BADI, or, an
enhancement can be implemented when inside transaction ME52N for a
Service Limits type Purchase Requisition where K is the Account
Assignment and B is the Item Category for a Service Limit Purchase
requisition. Especially. or initially, at the point of navigation when
going from (within the Limit Tab) and selecting the Account Assignment
Icon to the right.
By finding a good place to insert custom code in between these two tabs
during navigation I am referring to (1)the actuality of the transaction
breaking into this location, and,(2)a place where the global fields can
be read and changed ie. GL Account Number, Material Group, etc.
I have read, and reviewed several SAP Notes: 496082, 627072 and 551863.
Failed Attempts:
1)I have tried finding BADIs via breakpoints inside of
CL_EXITHANDLER~GET_INSTANCE. None that are found are used and are not ofany help.
2)I have attempted to use various user exits within the following SMODs,to name a few:
MEREQ001 |Customers' Own Data in Purchase Requisition
SAPLF0PR |Requests: Account Determination and Checks
SAPMF02H |Function exit: G/L account master data
V45E0002 |Data transfer in procurement elements (PRreq., assembly)
WDFE0001 |Customer-Specific Determination of Requirements Data
COZF0001 |Change purchase req. for externally processed operation
COZF0002 |Change purchase req. for externally procured component
3)I have implemented various custom enhancements inside of SAP Main
Program SAPLMEREQ inside include LMEREQF09, and a few other LMEREQFXX.
4) We previously used BADI 'ME_PROCESS_REQ_CUST' to satisfy a similar
requirement, but is of no help for this request.
Thank-You,
Custom tags are different than udfs. Let's stick with udfs. Your location choices are:
1. If only one template is going to use it, you can put it in that template. Otherwise,
2. You can put it in a .cfm file and cfinclude that file whenever you want to call the function, or
3. You can put it into a .cfc.
A little while back, someone ran some tests and posted the results on one of these forums. The gist of it was that Option 2 would run faster than Option 3.
Similar Messages
-
Tolerance Limits in Purchase requisitions
Hello all,
I have the following requirement to set up Tolerance Limits for Purchase requisitions for our client
1. if PR value < 5000
>> Maximum Tolerance is EUR 50
eg. PR value 4000 = EUR 50 tolerance limit allowed (>1%)
2. If PR value is 5000 - 50 000
>> Maximum Tolerance limit is 1% of the PR value
e.g.: PR Value 40,000 = EUR 400 tolerance limit allowed (1% OR EUR 500 which ever lowest applicable)
3. If PR value is > 50 000
>> Maximum Tolerance limit is EUR 500
e.g. PR value 60 000 = EUR 500 tolerance limit allowed (1% OR EUR 500 which ever lowest applicable)
I understand i can have either point 1 and 2. Or point 2 and 3.
Is it possible to take care of all the 3 points. If so how do i do it.
Also I have a question
Provision for Tolerance Limit for Purchase is there in SAP R/3 4.7
But I could not find the same node in ECC5.0 and Ecc 6.0
Any reason why it isnt there
My client uses 4.7 and is planning to update to Ecc 6.0 soon.
Wil the Tol limit for PRs be helpfult hen
Kindly advise
Regards,
SantoshHi
PE - Price variance: purchasing
SE - Max. cash disc. deduction (purchasing)
cheers -
Service text in Purchase requisition
Hi.
I'm trying to copy the service master text (LTXT from object ASMD) into a Purchase requisition. Can you tell how to do this? I'm tring with transaction TEBP...Dear,
thanks a lot.
but if u can find out any way out please let me know.
Amit -
Tolerance limits in Purchase Requisition and Purchase Order
Hi there
I see there is some new functionality in ERP6 to control the price difference between the requisition and the order. According to the documentation one needs to set up a tolerance key and then set the tolerance limits for price price variance. Thereafter one needs to set the tolerance key on the document type. I have looked in the document type and I can't seem to find any place in the config to set up or assign the tolerance key to it. Has anyone tried this and how would I assign the tolerance key to the document type?
Thanks
VineshAroop thanks for your reply.
My scenario is not the same as in 3rd party processing. In fact my scenario is make to order and even repairs of other companies machinery. Now what we are trying to achieve is lets say in the repair or in production of the customers machinery or service, MM needs to make a purchase for a part or tool etc. That in itself has a price. Meaning our purchase mm dept has to pay the vendor for the purchase made and in return we need to charge our customer for that purchase. So we would like for the price of the purchase order come in our sales order condition type as a surcharge.
We were able to fetch the price of the production order automatically thru condition type EK02.
We would like to do the same from purchase order. -
How to insert custom code in HTM
Hello, I need to insert some custom Javascript in the head, start, and end of my HTML files. Unfortunately, RoboHelp does not appear to offer this feature. It is really a big surprise since I can get this code in there using a number of other, much less expensive tools. In fact, Framemaker itself offers this capability in a simple save as the HTM. I have tried using custom markers in Framemaker, editing the HTML Mapping table in the reference page of the Framemaker file, nothing causes RoboHelp to pick up this code. In fact, RoboHelp reproducibly hangs when it encounters the code in a marker.
If anyone has any ideas about this, I would really appreciate it.
Thanks,
Z.Bill
If you would like to create a FM doc that has one such marker I'm happy to poke around to see if I can find an answer. Although I have it installed, I'm not a FM user so please include any FM information you think I might need. Hopefully my knowledge of RH will help.
See my contact page to send the file.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Service Number is not getting updated in the Purchase Requisition
Hi All,
When i create a Service PR using bapi BAPI_REQUISITION_CREATE FM , service details ( Service number, Qty, Gross price, ) are not getting updated in Service tab of Purchase requisition transaction. I am passing all the services related parameters in the FM.
Please clarify this.
Thanks for the help.
VinothHi Vinoth,
Are you getting any error in the return table?Can you show your coding?
Regards,
ravi -
Purchase requisition generated before service order release
Dear Experts,
We're testing the Logistics Integration Scenario for the Procurement of materials.
When we enter a spare parts item(which is configured to create a purchase requisition in ERP)
and just save the service order,
the purchase requisition is created in ERP as soon as the order is saved even though the order is not Released.
Is this a standard behavior?
We expect that the purchase requisition should not be created until the service order is released.
This symptom happens not only with purchase requisition scenario but also with the purchase order, reservation, too.
Does anyone have an information on this? Any information would be highly appreciated.
Thanks in advance for your help.
F.T.As far as I know the standard behaviour is that the PR is created upon order save and not upon the status of the order or items changing to released.
To get around this you can set user status and use status management to prevent the PR getting created or use the BADI CRM_SRV_FIND_LOG_SC to supress creation of the PR.
Hope this helps. -
Link between Purchase requisition & service master
Dear Group members
Is their any link between Purchase requisition T code ME51N & service master T code (AC03)
Can i create service order in Purchase requisition
Regards
Shamul heqYou can use the Service master created using T code AC03 while creation of Purchase Requisition.
You cannot create service master using T code ME51n
Regards
Bhavesh Mistry -
User Exit/BADI for Purchase Order and Purchase Requisitions
HI,
I have a requireent where i have to check the the user does not enter both Subitems and Over a Limit for a Service Purchase Requisition.
Is there a User Exit or Badi that i can use where this information is availaible.
also i have to check that release strategy is assigned to every purchase order where the version has been completed.
Is there a User Exit or Badi where Information of EREV table is availaible.
Regards,
Tarun BahalFor Purchachase requisition , the BADIs and USER EXITS are
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
try with the above BADI's
MEREQ001 Customers' Own Data in Purchase Requisition
for Purchase order , the BADIs and USER EXITS are
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_BAPI_PO_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PR_CREATE_02
ME_BSART_DET Change document type for automatically generated POs
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHECK_OA Check BAdI for Contracts
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_COMMITMENT_RETURN Commitment for return item
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PURCHDOC_POSTED Purchasing Document Posted
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_REQ_POSTED Purchase Requisition Posted
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
SMOD_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
LMELA010 Inbound shipping notification: Transfer item data from
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Rece
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition rel
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requi
M06E0004 Changes to communication structure for release purch. d
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., previe
MEFLD004 Determine earliest delivery date f. check w. GR (only P
MELAB001 Gen. forecast delivery schedules: Transfer schedule imp
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery toler
MM06E001 User exits for EDI inbound and outbound purchasing docu
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 P
MM06E008 Monitoring of contr. target value in case of release or
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 proces
MMAL0004 ALE purchasing info record distribution: Inbound proces
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001
Regards,
Anirban -
IW31-Create Purchase Requisition automatically from PM order - Release 5.0
Dear Experts,
Currently we are working in the 4.6C Release but we are doing the migration for 5.0. In PM, in the 4.6C release when we
create a PM Order in tcode IW31 we select a component and the system shows us the screen to inform the quantity and
automatically the system shows us a screen to Create Purchase Requisition where we can fill or select some fields.
However, when we create a PM order in the 5.0 using the same tcode, the same material type, the system creates
automatically the Purchase Requisition without to show us the screen to fill or select the fieds. I´ve checked the customizing
comparing the systems but I couldn´t find something.
I was wondering If you could help me with this issue?
If my comments are not enough to understand me, please let me know...
BR
ValdevairDear friend,
Do check configuration node at
plantmaintenance and custonmer service - maintenance and service processing -maintenance and service orders - functions and settings for order types - define change documents,collective pur.requisitionsindicator,operation no.interval
here for your order type and plant , check whether generation of PURCGHASE REQUISITION from maintenance order settings.
there will be three options
1) never
2) from release
3) immediatly.
hipe this will help you.
Regards,
pardhu -
Purchase requisitions with item category "consigment" in transaction MD04.
Hi,
I need to configure the system in order to create purchase requisitions where every item category should be "consignment" when executing transaction MD04. What should I do?
Thanks in advance,
Luis.hi Might
hope this may help u in some regard
in MD04 go to collective acess and choose special procurement as consignment and then excute and remove the setting from set up lists in background -
Problem with services hierarchy and purchase order
Hi I'm in Srm 7 EHP8(classic scenario) and i have a problem with services hierarchies:
I create a Purchase requisition in ECC with the next structure:
1.Hier
1.1 Serv1
1.2 Serv2
1.3 Serv3
Then I upload this PR to SRM(I activated the BBP_EXTLOCALPO_BADI to change to the Extended-classic scenario to upload correctly the hierarchy)
and in the SOCO I only choose the position 1.1 Serv1 and create a purchase order.
The problem is the purchase order created in ECC contain all the services of the purchase requisition, not only the service I choose(1.1 Serv1) to create the purchase order, in SRM the purchase order is correct with only one position(1.1 Serv1)
Any Idea?.
Thanks for the help.Hi,
I have the same problem, any new about that?
Rgs,
Pedro -
How to find delivery note in purchase requisition form
Hello gurus,
i have one problem in doing purchase requistion form.
I need to find delivery note(field name is lfsnr) from purchase requisition.
where can i get it.
waiting from ur favourable replies.
regards
MaruthiHi
Try in LIKP table field XABLN
Max -
Hi,
Could anybody help me out with the configuration settings of purchase requisition Release.
Client want to set release status for Purchase Requisition , where two persons will be responsible to release the requisition . when the first person releases the requisition , it will come to the second or final person for release ,when he releases then the requisition is released for purchase orders.
Could anybody help me out with the configuration settings.
Thanks N Regards,
SiddharthaUse this steps. below is for PO same do it with PR. that is in place of PO take it as PR.
Releasing Procedure for Purchase Documents
Use
This setting is incorporated to just give demonstration of how SAP Release procedure works. The aim of this procedure is to replace manual written authorization procedures using signatures by an electronic one, while maintaining the dual Ctrl principle. The person responsible processes the purchasing document in the system, thereby marking it with an "electronic signature" which can give the document legal force.
3.4.24.1 Creation of Characteristics
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Materials Management Purchasing Purchase Order Release Procedure for Purchase Orders Edit Characteristic
Transaction Code CT04
2. On the Characteristic screen, make the following entries.
3. In put POVAL in filed Characteristic and choose Create (White paper) icon or Ctrl + F3 to begin creation of characteristic.
Field name Description User action and values Note
Select Addnl Data tab
Table Name Table Name CEKKO
Field Name Field Name GNETW
Choose Enter to continue, system will give an information message saying Format Data taken from ABAP dictionary, Choose Enter again to continue.
Select Basic Data tab
Description Description Total net order value
Status Status Released
Data Type Data type Currency format Selected by system
Number of characters Number of characters 15
Decimal places Decimal places 2
Currency Currency INR
Interval vals allowed Interval values allowed Check this tick box
Multiple Values Multiple values allowed Select this radio button
4. Choose Enter to complete the entries
5. Choose Save icon or Ctrl + S to save the characteristic.
3.4.24.2 Creation of Class
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Materials Management Purchasing Purchase Order Release Procedure for Purchase Orders Edit Class
Transaction Code CL02
2. On the Class screen, make the following entries:
Field name Description User action and values Note
Class Class PORELPROC
Class Type Class Type 032
Choose Create icon or white paper icon to create new class.
Description Description Purchase Order Release Procedure
Status Status Released
Choose Char. Tab to input characteristic name.
Characteristic Characteristic POVAL Created in above step
3. Choose Enter to complete the entries
4. Choose Save icon or Ctrl + S to save the characteristic.
Result
Class type 032: Class PORELPROC created.
3.4.24.3 Configuration of Release Procedure
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Materials Management Purchasing Purchase Order Release Procedure for Purchase Orders Define Release Procedure for Purchase Orders
Transaction Code SPRO
2. On executing the transaction system will give a popup screen choose Release Groups, system will display Change View u201CRelease Groups: External Purchasing Documentu201D: Overview.
3. Choose New Entries icon and make the following entries:
Field name Description User action and values Note
Rel. Group Release Group 02
Class Class Name PORELPROC Created in above step
Description Description PO Release Procedure
4. Choose Enter to complete the entries
5. Choose Save icon or Ctrl + S to save the entries.
6. Choose yellow arrow to go back to popup screen.
7. Choose Release Codes to select.
8. Choose New Entries icon and make the following entries:
Field name Description User action and values Note
Grp Release group 02 Created in above step
Code Release Code 01
Workflow Workflow Leave it blank
Description Description Purchase Officer
Grp Release group 02 Created in above step
Code Release Code 02
Workflow Workflow Leave it blank
Description Description Materials Manager
9. Choose Enter to complete the entries
10. Choose Save icon or Ctrl + S to save the entries.
11. Choose yellow arrow to go back to popup screen.
12. Choose Release indicator to select.
13. Choose New Entries icon and make the following entries:
Field name Description User action and values Note
Release ind. Release Indicator 1
Released Released Leave it blank
Chgable Changeability 4
Value change % Change of value 10%
Description Description Purchase Order Blocked
Go to 2nd line and input the following values:
Release ind. Release Indicator 2
Released Released Select Check box
Changeable Changeability 6
Description Description Purchase Order Released
14. Choose Enter to complete the entries
15. Choose Save icon or Ctrl + S to save the entries.
16. Choose yellow arrow to go back to popup screen.
17. Choose Release Strategies to select.
18. Choose New Entries icon and make the following entries:
19. System will give new screen New Entries: Details of Added Entries
Field name Description User action and values Note
Release Group Release group 02
Rel. Stategy Release Strategy S1
Capital Items Release
Release Code Release Code 1 01
Release Code Release Code 2 02
20. Choose Enter to complete the entries.
21. Choose Release prerequisites icon and select check box 02 at the bottom and choose Enter.
22. Choose Release statuses icon, system will give a popup screen system will default 1, 1 and 2 entries one by one as a default. Choose Continue.
23. Choose Classification icon, here you can see Total net order value is displayed, please input >= 1.00 INR value in the white placed and choose Enter.
24. Choose Next Screen icon or choose F8 to continue.
25. If you want to simulate the release procedure you can choose Release Simulation icon.
26. Choose Enter to complete the entries.
27. To save the settings choose Save icon or Ctrl + S.
Result
Release procedure is saved.
3.4.24.4 Assignment of Values to Release Procedure
As a default all the purchase documents >= Rs. 1000000.00 is suggested in the following step of release procedure, if you want to have different one you need to change the value in the following step. If you do not want release procedure you may change the value to Zero.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Cross-Application Components Classification System Assignments Assign Object to Classes
Transaction Code CL20N
2. On the Class screen, make the following entries:
Field name Description User action and values Note
Class Type Class Type 032
Choose Enter to Assign values.
Release group Release Group 02
Rel. Strategy Release strategy S1
Choose Enter.
System will give Class name in Assignments, Double choose Class Name.
System will display Characteristic name Total net order value. Assign the value >= 1000000.00 INR against filed Value.
3. Choose Enter to complete the entries
4. Choose Save icon or Ctrl + S to save the characteristic.
Regards
S -
Purchase Requisition Release Strategy - multiple account assignments
Hello,
We would like to be able to create a purchase requisition where each line item can have 1of 3 account assignments (KNTTP). These 3 account assignments all have the same Release Strategy. Our expectation was that the purchase requisition would have a release strategy but it doesn't. If we use 1 account assignment withmultiple line items we get a Release Strategy but if we mix them we get nothing.
Does anyone know how to make the Release Strategy show up for multiple account assignments that share the same Release Strategy?
Regards,
Corinne TaylorDear Corinne Taylor,
You may assign a BLANK value in the characteristic:
You can add also as " " and named it as BLANK so you can have your release strategy get trigger
for all MRP account assignment or multiple account assignment.
Example setup
Account assignment A
Account assignment K
Release group X1 strategy 01 classfication has blank in values.
Classification:
Value Description
A Account assignment A
K Account assignment K
BLANK
Test this and it will work.
Best Regards,
Ian Wong
Maybe you are looking for
-
Upgrade one line at a time?
We have a family plan in which both lines are available to upgrade. Good thing, too... as the phones are almost dead. However, the gf wants the iPhone 4s, I would like the Droid Prime (when/if it comes out). Her phone is worse off than mine, so I'd l
-
Forward to voicemail prompts to sign in
I apologize for the trivial issue, but I am a Unity Connection newbie trying to fix an issue. After a call is ignored and forwarded to voicemail, Unity prompts the caller to enter a PIN rather than leave a message for the called user. When the PIN is
-
What's the best way to backup all of my music and pictures?
I have a Mac Mini with the Super Drive and i was woundering which is the best way to back all of the music that i have bought from iTunes and pictures i have in iPhoto, that way in case my Hard Drive crashes or i buy a new Mac Mini i can just transfe
-
What's with the hard drives customers buy from the apple stores? I have had this hard drive for a few weeks now and after reformatting the drive 5 times and coped a few items to the drive a few days latter it says read only you cant copy to this driv
-
Is it possible to place a stringItem like.....
hi guys is it possible to manipulate the stringItem layout of the screen (j2me ) like the manipulation of imageItem????