PO release strategy user exit
Hi Experts,
This is regarding the PO Release strategy.
I have implemented user exit u2018EXIT_SAPLEBND_002u2019 for filling User defined field i_cekko-usrc1 based on PO line item net values for PO release strategy.
Our function consultant defined characteristic on this field and created at the release strategy.
My code in the user exit:
i_cekko-usrc1 = 'X'.
e_cekko = i_cekko.
It is triggering the user exit and setting the USRC1 to u2018Xu2019. But it is not triggering the release strategy.
Do I need fill any additional fields?
Thank you for your help in advance.
Regards,
Soujanya
Gentlemen,
Any Ideas....!!!
Similar Messages
-
PO Release strategy User Exit if value is Reduced
Hi,
I need to write a user exit to trigger the release strategy in Purchase order even if the value is "Reduced".
As you may be knowing releases will only be triggered if the value is increased according to standard SAP functionality.
So to trigger the release stratgey even if the value of PO is reduced some one suggested me user exit "M06E0004" Program :ZXM06U22.I guess we need to define a new characteristic called "URSC1".But cannot make out how really i can achieve this.
Can any one please guide,if you have worked on it earlier.
Thanks.Gentlemen,
Any Ideas....!!! -
Hi all,
My storage type putaway strategy user exit is active for storage type. Can anybody tell me which user exit it is?Hi
Can you please explain me whether we can create our own put away strategy based on the MRP(Maximum Retail Price) of a material.?
>it means same material having different MRP should not get merged into a single bin.
I cannot use it at batch level because my batch characters are on monthly basis.E.X. 200812,200901,200902.
>it always happens that different batches will quite often have same MRP.So if i use at batch level then i loose lot of space in my WH because it keeps booking the fresh GR into to next empty bin
>but i dont want to store them into separate bins as i loose space in my WH.
>Instead i want to store the materials having same MRP (belonging to either same batch or different batch) in a same bin and different MRP into different bins irrespective of batches.!!
>can i develop a put away strategy satisfying this requirement.??
thanks in advance for your response on this.
regards
Venkat
Edited by: VENKATARAJCK on Jun 26, 2009 10:29 AM -
Release strategy: User should release only with his highest release code
Hello,
Because of personel absences we want to configure the release strategy so that:
User A or user B releases in the normal case the first level of a PO (with release code 01).
User C (Manager) releases after release code 01 with release code 02.
User A is deputy of user C. In this case user B will release with code 01 and user A will release with code 02.
Because user A can use depending of the case release code 01 or 02 (C deputy) it must be avoided that user B sets release code 01 and 02 for the same purchase order.
Do you know about a solution for this issue
Br
ManuelDear W1N,
But the systems knows that A released with code 01 and when A tries to release with code 02 the system knows that the same person of release code 01 is trying with release code 02.
<b>The aim is to avoid the second release from the same person and not to automate the release strategy.</b>
In such a case A has to cancel the release for code 01 (ME28) and wait until B is reachable to do the release of code 01.
When C is absent A knows that his task is to release code 02.
Is this check really not possible?
Best regards
Manuel -
SAP Standard Workflow for PR Release (with user exit)
Hi SAP WF Gurus,
Good day!
I just wanted to check with you if you have ever used a user exit in the activation of the standard workflow for PR (overall ( release. What we have is a two0step approval process wherein each level has a proxy/alternate approver. We used the available user exit to accommodate this customer requirement since the standard release would only allow us to define 1 approver as a prerequisite for the next level. We were able to execute this on the first level approval; however, we observed that the workflow is not anymore triggered (i.e. does not send work items to agents) for the level 2 release. My questions therefore are:
1. How to set up SWEC? I already executed SWELS and SWEL to check if the events are being created and event linkage is automatically deactivated after running into an error regarding the binding...My initial SWEC setup is for BANF BUS2105 RELEASED On Change. I am assuming that since the workflow was released from the first level, this should be the starting point
2. How to rectify the binding error? I already executed automatic binding in the WF header for the start events but still face it
Your inputs/comments are most welcome
Regards,
DeLoJust to add:
The error that I am encountering in the second run/cycle for the PR approval workflow is Import container contains errors (are any obligatory elements missing?)
Basically, WS20000077 will be executed if an approval level is seen. Once the approval is made, then the workflow is also completed. However, for multiple approvers, I only get to execute successfully the first level approval. The succeeding levels are encountering errors as stated above -
WM Stock Removal Strategy User Exit
Hi Experts,
Requirement is to create TO from TR in multiples of MOQ
We need to pick the quantity from the Source Bin only in mulitples of MOQ and leave the quanity which doesnt conform the MOQ in the bin itself.
This process should continue for the next storage type /bin , until the full TR quantity is converted into TO
We tried using the exit EXIT_SAPLL05A_001, but it didnt help.
Please advise how we should proceed.Is this something we cannot do with User exit..?
Because in my User exit, I have made control not to pick the quantity from Source bin which doesnt conform MOQ. When it goes back to Standard program after exit, it is picking the quanity from the source bin which doent conform MOQ.
Note: MOQ - Minimum Order quantity... If MOQ is 3, I want the system to pick the quanity from the source bin in multiples of 3. (I.E...3,6,9,12,15,18......,)
Please advise.. -
Chek budget in PO with release strategy
Hi
When i created a PO with a release strategy and the comand need it, the budget are not checking at the save, only when i release the PO.
Is it possible to check the budget (on a PM order or on WBS element) at the PO save.
Thank's
sergeNormally checks like those happen once the PO is released ( example - output is not allowed etc)...
You may need to add something in the PO release strategy user exit to do the check before release (after save), Look into the below to see if this works.
Name of the Enhancement: - M06E0004
Name of the function module: - EXIT_SAPLEBND_002
Hope this helps -
User exit (To change the PO Release Strategy): M06E0004
Dear Experts,
I am trying to implement the enhancement for changing the PO release strategy, using exit M06E0004 for following situation.
If PO is already released and then if any changes made to it affects the net amount which makes it less than previous net amount. We have to change the PO Release indicator to 'Blocked'.
We have tried to change the value of USRC1 USRC2 USRN1 USRN2 of structure E_CEKKO but it is not workingu2026
Please help me *how / what to change in the E_CEKKO structure*.
I am new to User Exit.Hi Nagarajun,
I am able to solve this problem.!
All u have to do is follwoing two step.
1.maintained a flag in ur enhacement part (FM to Z_FIND_PO_RELEASE_STRATEGY)
inorder to know whether the current PO is without PR or not then export its value to memory.
2.Do enhancement in standard FM ME_REL_STRATEGIE_EKKO
(which is used to reset release strategy and indicator).
Inside this fm u can find below code
if xchange ne space.
*- Strategie geändert --------------------------------------------------
if e_frgst ne i_frgst or
e_frggr ne i_frggr.
perform reset
using e_frgst e_frggr
e_frgzu e_frgkz e_frgrl.
e_reset = 'X'.
*- Wertänderung prüfen -------------------------------------------------
else.
if t16fb-kzfae eq '4' or
t16fb-kzfae eq '6' .
perform currency_conversion using *cekko-waers
bwkurs_old
hwaers
fwaers
bwkurs
changing *cekko-gnetw.
f1 = *cekko-gnetw * t16fb-tlfae / 1000.
f1 = f1 + *cekko-gnetw.
if cekko-gnetw gt f1.
perform reset
using e_frgst e_frggr
e_frgzu e_frgkz e_frgrl.
e_reset = 'X'.
endif.
endif.
endif.
else.
perform reset
using e_frgst e_frggr
e_frgzu e_frgkz e_frgrl.
endif.....
above code is use to check the PO amount and with old net amount,Since normally code is done to reset indicator only when amount is greater than old one, u can copy above code and modify with ur condition(i.e flag) and paste in last line.
Please check & reward is useful. -
Hello Experts
I am using release starategy for contract and using communication structure CEKKO in characteristics. I want to use other parameter such as material master number (MATNR) for characteristics. I see that CEKKO has component .INCLUDE (Communication Structure: PO release for User Exit). Does any one know how to use it in characteristics and if I use it can I design release strategy for particular materials?
Thanks
Ankitthis has been discussed multiple times on this forum - "Release strategy at item level for purchasing docs - PO/SA/Contract" not possible...
refer below threads
Why release strategies for PO at header level only
PO Release Strategy
Release strategy - item level
yogesh -
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 -
PO user exit for payment terms release strategy
Hi friends,
My requirement is to any changes to Payement terms in PO should trigger the re-release of the po....
Plz. explain... How to proceed...
which user exit i have to use........
Thanks in advance,
Navin.....My requirement is after changing of payment terms my release strategy is not changing for released po... i want to reset it for re-release after changes made to po changes....... which user exit i should should......or any other alternative....
Rgds,
Navin -
User exit for release strategy
Dear Sappers
I want to reset the release strategy after change in price field for PO or Scheduling agreement .( When the price less than the ex-price then PO never goes to release )
For this, We have to required the user exit can u please tell me which user exit is suitable for this.
Or
Any other solution .
Thanks
PrashantHi
User exits avialbale are
M06E0004
Changes to communication structure for release of purchasing document
M06E0005
Role determination for release of purchasing documents
You can use the user exits & change your RS determination & role determination
Thanks & Regards
Kishore -
User Exit for Requisition Release Strategy
Hi All,
Is anyone able to provide any guidance on determining the release strategy of a purchase requisition via a user exit? It has become neccessary to do this due to certain shortcomings of the classes and characteristic functionality.
I believe it's possible, I just don't know how.
Thanks.
Richardgo SMOD and enter enhancement M06E0004 it is exit LXM06U13
-
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. -
User Exit for getting Purchase Requisition Release Strategy
Hi Experts,
When a user creates a PR I need to know the user exit I need to implement so that the First Approver (Processor) text in the Release Strategy is populated from a custom table. I have seen that the field is MEREL_S_GRID1-STEXT. I also need to know if I can implement a user exit so that it pulls the release strategy for a PR for assets (Acct Category A) since it is pulling for Acct Category K (Cost Centre) and the Release Strategy tab is appearing in this case.
Kind Regards,
DarlingtonHi Meenakshi,
Thanks for the very useful answer. It has given clues on how to resolve this issue. I have resolved this issue for the Asset item category using the following thread: user exit for requisition release strategy, and also SAP Note 365604.
However, I have another issue, the release strategy for Stock Items, (item category blank) is not pulling through. I need to use the same method above but would like to know how it determines the funds centre for a specific stock item. I couldn't find where that is implemented in the material master and I need info on how to determine the account assignment for stock items based on the funds centre.
Regards and Thanks.
Maybe you are looking for
-
How do I get my headings across the top of my screen back to the way they were?
I like it better when I had all the headings like: "file" "view" "bookmarks" etc. instead of the orange box that says firefox and having to go into that to get all this. My husband does not know about computers and is not on enough to remember how to
-
Bluetooth radio disables itself
My wife has a BlackBerry Pearl and since she is not on an enterprise server, I have it set up to connect to our home PC using Bluetooth. It works beautifully and will perform a wireless sync of her calendar and contacts whenever she is within range
-
How to get space after a letter section in the Index
Hi I've created an index successfully from multiple InDesign documents and brought it into the document. Struggling to work out how to get a space to appear between the end of one letter section (eg 'A' entries) and next section (eg 'B' entries). Try
-
XPath result while evaluating with XPathConstants.BOOLEAN
I am trying to get the value of a boolean attribute but I am getting the wrong result when I try using XPathConstants.BOOLEAN. When I use XPathConstants.STRING I do get the correct value. The following code: public static void main(String[] args) thr
-
Hi, I am using a custom FM that accepts Delevry02 idoc which is just being used as a place holder. I am updating me22 and va02 transaction after certain logic. When i checked the status of idoc, it is set to 50(idoc added). As it is a test idoc, do i