Used of BAdI MD_PIR_FLEX_CONS

Hello
Does any boby now this BAdI ?
We want that planned independent requirements with consumption indicator  '4' were be consume against
1. all of the consumable SD document types
2. release order requirements from stock transfer
For that, we created a implementation attach to the definition MD_PIR_FLEX_CONS                   
Normaly MM transfert documents (MRP element U1, U2, U3, U4) must consum the BIP with this BAdI.
In the imput parameter, we never see im_delkz equal to Ux (MM documents) but just Vx (SD documents)
Thank for your help
Brigitte Malherbe
Thales Electron Devices
In charge of SOP, MPS, MRP in SAP R/3 and APO-DP

You can use Business Add-In (BAdI) MD_PIR_FLEX_CONS to make the consumption and reduction processes for planned independent requirements more flexible.
You can use Business Add-In MD_PIR_FLEX_CONS to realize consumption processes in which there are controls to define for each MRP element whether consumption or reduction should occur.
To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation

Similar Messages

  • BADI MD_PIR_FLEX_CONS not working

    Hi,
    We want the Stock transfport order to consume the PIRs. For this purpose we implemented the BADI MD_PIR_FLEX_CONS. But its just working for all SD docuements and not MM documents like Purchase req rel, Planned order rel and Stock transport orders.
    We are using 4.7 which has that BADI
    Please advise. Your help will be appreciated
    Regards,
    Shirish

    Hi Rajendran/Shirish/Prem
        Unfortunately the BADI md_pir_flex_cons cannot be used for the STO scenario in strategy 63/60 (planning wa planning material). A modification is necessary. I recently developed this for one customer under remote consulting from SAP labs india in 46C.
    Let us say you have a planning plant A and a distribution plant B. Sales orders are received in Plant B. MRP run creates an STO in plant B and the STO Release is created in plant A. This STO release would consume the PIR of the planning material.
    The development which i did assumes that there will not be any sales orders in Plant A. The other intricacy here is in the development of MD73 to show this consumption. My customer did not want MD73, however MD73 is important and perhaps a new report will have to be created.
    Regards
    Pragnesh
    SAP PP-Development support

  • About BADI MD_PIR_FLEX_CONS

    Hi Guys
    I have impelemented the badi BADI MD_PIR_FLEX CONS, I sat a break point in the function CHECKPIR_CONS_REDUC, but to be honest I forgot which Tcode to use in order to call the function
    CHECK_PIR_CONS_REDUC of the BADI , and stop there.
    any help on which Tcode to use for the MD_PIR_FLEX_CONS.
    Thanks

    Hi
    Thanks for the replay but I meant which Tcode to use in order to get this badi MD_PIR_FLEX_CONS
    to work.
    let us say that if we use MD04 then this badi is called .
    thanks.

  • How can we trigger the BAdI MD_PIR_FLEX_CONS  in a MTS strategy

    Hi All!
    We have 5 Plants: 4 commercial plants and 1 production plant.
    The sales orders are created in the commercial plants with a Make-to-order with consumption Requirements type; (Individual customer stock is an issue of the client).
    Planned independent requirements are entered at finished product level with Consumption indicator for planning requirements 4 - Flexible Consumption for Different MRP Elements (BAdI); we create the purchase order (L - Subcontracting) for the finished product based on the PIR.
    We need to do the consumption and reduction of planned independent requirements based on the purchase orders creation or in the Goods Receipt for the Outbound Delivery.
    We implemented the BAdI MD_PIR_FLEX_CONS but the BAdI isnu2019t trigger for Planning strategy 10 or 40 but. The BAdi is trigger only when Requirements class of the Requirements type of independent requirements as value 2 (Consume planning w/o assembly) in the Consumption indicator and value 3 (Single-item planning) in the Planning Indicator.
    How can we trigger the BAdI in a MTS strategy u2013 The BAdI documentation doesnu2019t mention that can only be used in MTO strategy?
    Thanks.
    Regards.
    Adelino

    Hello Adelino
    Strategy 10 is a special business case without consumption and only with the PIR reduction during the delivery (goods issue). You can see in customizing OPPS that both requirements KSL and LFS are set with "No consumption with customer requirements". In this case, BAdI MD_PIR_FLEX_CONS is not called.
    The BAdI can be used with strategy 40, so please make sure that the consumption indicator of the PIR is set to '4 - Flexible Consumption for Different MRP Elements (BAdI)'.
    BR
    Caetano

  • To activate BADI MD_PIR_FLEX_CONS

    Hi,
    I need help regarding a BADI.
    I have implemented a BADI MD_PIR_FLEX_CONS and activated it.
    I have also set PIR's having a consumption indicator = 4.
    But still when I run the MRP i.e. MD04 BADI Active is still unchecked.
    Please provide me a solution to make it active.
    I have already deactived there is no other existing avtivated BADI except mine which I have Implemented
    "MD_PIR_FLEX_CONS".
    Thanks.
    Arbind.

    Hi
    Pleaae check the followings.
    1. Please set the consumption indicatore as 4 in MD61/MD62
    2. Please go to OPPS to check the strategy you used, the BADI need a strategy can consume the requirement.
        Some strategies only reduce witout consumption.
    3. Please check if the status of BADI is 'Active' in SE19 and SE18. After implementing the source code, you need to push the 'Activate' button.
    Best Regards.

  • Use of BAdi UC_CTR_XRPROC in Currency Translation

    Hi All,
    Has anyone experience of the BAdi for determining Exchange Rate in BCS?
    In BCS you have the option of customising the Procedure for Exchange Rate Determination by using a Badi, my current client has configured a custom one but I can't view the configuration (due to authorisation frustrations), so I can see that something has been selected but can't see what it is.
    Selected Info from SAP BCS help:
    You can create additional procedures for exchange rate determination in the customer namespace. The custom procedures, along with the standard procedures, are offered for selection in Customizing of currency translation methods.
    If you specify a parameter when creating a procedure for exchange rate determination, this parameter is also offered for selection when the procedure is listed.
    At the time of execution, whenever a custom procedure for exchange rate determination is encountered, the system calls the Business Add-In for exchange rate determination ( UC_CTR_XRPROC). There you can freely determine the exchange rate for each data record being translated.
    Also:
    The E/R determination procedure is the second-last step for determining the value in target currency. (The last step is the currency translation procedure, for which there is also another Business Add-In, UC_CTR_CTPROC.) At this point, the data records to be translated are accessible, and the date of exchange rate determination is known.
    All help will be much appreciated

    Thanks Eugene,
    it appears to have been implemented at one of my current clients but I can't work out what it's doing.
    An old, incomplete configuration document indicates that they were trying to stop the GC figure being updated unless Currency Translation Indicator <> 0 (ie RFD record is not updated by Currency Translation task, GC values are only posted to new records with CT Indicator >0)

  • How can I use a bad IMEI AT&T iphone 5 with straight talk ?

    Someone sold me a bad IMEI AT&amp;T iphone 5. I had an AT&amp;T iphone 4 with straight talk prior to buying this phone. I didn't know the IMEI was bad so I bought the iphone 5 hoping to switch. I cut my SIM card and put it into the iphone 5. Everything worked perfectly fine so I went ahead and gave the dude the money. I went to sleep and wake up the next day and try to make a call and I get a message saying my phone has been blocked from the network. I contacted straight talk and they thought it was a problem of theirs so somehow they got my phone to work again. Everything was good , calls, texts , and data. 2 hours later, the same problem happens. So I call straight talk again , tell them the problem. They fix It again, 2 hours later , THE SAME PROBLEM. I gave up this time and began looking for answers. Is there any way I can use this iphone 5 with straight talk ? There was a comment I saw through my search for answers where if I get another straight talk sim everything would work again. Is this true? How can I use a bad IMEI AT&amp;T iphone 5 with straight talk ?

    If that IMEI has been blacklisted by AT&T, then it is blacklisted by all USA carriers, as well as several participating Canadian and Mexican carriers.
    As of 31 October 2012, USA Cellular Providers are sharing a common IMEI/ESN database to ensure that phones blacklisted on one carrier can't be activated on another carrier.  AT&T and T-Mobile are also participating members of the GSM-networks global shared blacklists.

  • How to use the BADI  WORKORDER_GOODSMVT to meet my requirement?

    Hello Abapers,
    My requirement is I need to display Batch Number in confirmation of production order(co15) which is entered in creation of production order(co01).While debugging the CO15,i got badi as WORKORDER_GOODSMVT.
    I am new to BAdi,HOW to use this badi to meet my requirement.
    Please help for me to solve my problem.
    If any one implemented batch mangement in PP.Please tell the procedure how u achieved?
    waiitng for your favourable replies
    Regards
    Maruthi.

    Hai,
    IN my reuqiremnt,i used GOODS_RECEIPT method to meet my requirement.
    Regards
    Maruthi.K

  • How to use MAM30_011_CREATE BADI - IF_EX_ALM_ME_010_NOTIF~MAM30_CREATE ?

    Hi,
    I have an customer field "ZZEXT_XY" in the table "QMEL".
    When the user creates a new notification on mobile device the information for that customer field is saved in the notification syncBo as enhancement field for CE_NOTIF_HEADER (MAM30_010Item030).
    During sync the functional modul "MAM30_011_CREATE" is called by the middleware.
    Now I want to use the BADI "IF_EX_ALM_ME_010_NOTIF~MAM30_CREATE" to save this information in the table field "ZZEXT_XY" in table "QMEL" (wich includes "CI_QMEL" with the enhanced table fields, like "ZZEXT_XY").
    Is this possible?
    And if yes, how can I implement this?
    Because I don't see any type in the BADI which contains the customer field "ZZEXT_XY".
    I thought I can use a reference type for the structure ALM_ME_CUSTOM_NOTIF_HEADER.
    But this is not working.
    I'm getting a "OBJECTS_MOVE_NOT_SUPPORTED" runtime error during executing the functional modul "MAM30_011_CREATE".
    Thanks for your help.

    Hi Frank!
    I hope I can help you a little bit.
    You must extend the Customer Include CI_ALM_ME_NOTIF_HEADER with your own field ZZEXT_XY. When you have done this, you have to implement the BADI Method in order to get your customer field into the database. The Customer BADI is called after the standard creation of the notification.
    I have extend the task list and it works fine.
    best regards
    Matthias

  • Use of BAdi 'WorkOrder_update'(method in_update)

    Hi,
    I am using the badi 'WorkOrder_update' for an enhancement to iw32.I need to check whether new material has been added to order.How will i check that new material has been added to order. There are parameters in this badi which gives us the components list.Will these tables be returning the components which are already existing in the order or the components which the user has entered or changed.
    Please help.

    Hai anu,
    in that badi defination there is a moethod IN_UPDATE in which u have
    IT_HEADER
    IT_HEADER_OLD
    IT_ITEM
    IT_ITEM_OLD
    IT_SEQUENCE
    IT_SEQUENCE_OLD
    IT_OPERATION
    IT_OPERATION_OLD
    IT_COMPONENT
    IT_COMPONENT_OLD
    IT_DOCLINK
    IT_DOCLINK_OLD
    as importing parameters with this u can compare the old and new items for the order.
    If usefull Reward points
    Regards,
    Sree

  • Use of BADI's in enhancement

    Hi
    Can some one help me in undestanding
    what is BADI, how it can be used in enchancements?
    how it is different from userexit?

    The key to using a BADI is that SAP would have had to place a BADI definition in the correct location within the Application you want to modify.  Certainly not every single application has a BADI definition within it.  You need to study the particual application you need to modify to see if a BADI definition is present.
    If there is BADI, there is quite a bit of processing that can be done within the BADI.  Basicually you inherit from an SAP class for your BADI implementation.  You have the ability to add more methods to your class, so you can built quite a bit of logic there.
    Off the top of my head, I don't know if any of SAP's delivered BSP applications have BADI definitions within them.  There is nothing technically stopping an application class, controller, or model class from having a BADI definition.
    If you are on Netweaver 04S, you might also consider looking at the enhancement framework. This allows safe modifications to be made directly to certain enhancement points within standard SAP applications.

  • Use of BADI /SAPAPO/SDP_RELDATA METHOD CHANGE_PROD_LOC

    We have a requirement for a small number of product/locations to re-direct them onto a customer location when releasing the forecasts to SNP.
    We have been pointed in the direction of the BADI /SAPAPO/SDP_RELDATA method CHANGE_PROD_LOC.
    Unfortunately we can not find any documentation on the use of this BADI/Method, we've tried to change the location using the parameter CT_MATID_LOCID, also setting the parameter CV_CHANGE_PROD_LOC where a change has been made, but it doesn't seem to work.
    Has anyone used this BADI/Method and has advice on it's usage?
    Regards, Mark

    Hi Mark - Changing the CT_MATID_LOCID table alone will not associate the change with a plobj or CV. I am surprised you do not get an error. You will also need to update the CT_MATLOC_PLOBJ table - find the entry for the old matid/locid then update that with the new matid/locid. Also the CT_PLOBJ_CHAR table needs to be updated as well - find the same plobj and update matid/locid accordingly.
    Regards
    Andy

  • HAP_DOCUMENT BSP redirect using the BADI HRHAP00_BSP_TMPL

    Hi all,
    Below is my issue:
    Last year, We have modified the BSP HAP_DOCUMENT by copying it to Y_HAP_DOCUMENT. Now we had to make further changes to the BSP which had to be template specific.
    So we used the BADI HRHAP00_BSP_TMPL to redirect the document to a new BSP Y_HAP_DOCUMENT_V1.
    The iviews are pointing to the BSP Y_HAP_DOCUMENT, but when the BADI is hit its getting redirected to the V1 BSP.
    But the issue is that whenever the redirect BSP is used, the error messages are getting killed.
    Please let me know if anyone had a similar issue and if they were able to solve the issue.
    Thanks,
    Manasa
    I am using the

    Hi Luk!
    Sorry that i got back to you this late. Have you solved the issue?
    whenever we redirect using the badi for hap_document the control starts from layout_alternative.htm  view instead of the layout_sap_standard.htm. So if you copy paste the code from the sap standard view you will be able to redirect it.
    Hope this helps. Plesae reward hlpfull answers.
    Thanks,
    manasa

  • Use of BADI's instead of in-line modifications

    Hi!
    In using SAP packages, we do some customizations to cope with the requirements right? I was asked to do some modifications, and they asked me to use BADIs instead of in-line modification. Can we put evrything under BADIs? The changes were quite big and additonal data needs to be retrieved and processed which is not part of the standard code. Also, we do not have BADI's under the BSP right? Can somebody give me an idea on this?
    Thanks!

    The key to using a BADI is that SAP would have had to place a BADI definition in the correct location within the Application you want to modify.  Certainly not every single application has a BADI definition within it.  You need to study the particual application you need to modify to see if a BADI definition is present.
    If there is BADI, there is quite a bit of processing that can be done within the BADI.  Basicually you inherit from an SAP class for your BADI implementation.  You have the ability to add more methods to your class, so you can built quite a bit of logic there.
    Off the top of my head, I don't know if any of SAP's delivered BSP applications have BADI definitions within them.  There is nothing technically stopping an application class, controller, or model class from having a BADI definition.
    If you are on Netweaver 04S, you might also consider looking at the enhancement framework. This allows safe modifications to be made directly to certain enhancement points within standard SAP applications.

  • I can't modify the field MARC-LOSGR using the badi BADI_MATERIAL_REF

    Hello!
    I have to force a value in the field "lot size" (MARC-LOSGR) when the system extends automatically a material with the transaction CK40N.
    I tried to use the badi BADI_MATERIAL_REF, wich seems to be perfect for this purpose, but it doesn't work: after the badi the system resets the field to its initial value.
    What can I do?
    Thank you

    Dear Sauro
    I've found this thread in the forum, and because I've the same problem (I need to set 1000 as default for marc-losgr) during creation/extension of a material, I'd like know how you solved your issue.
    The BADI is called during CK11N and CK40N transaction, but even if I set the value in the right mode it's not saved on table MARC. Of course If I create manually the cost view by using MM01 the BADI works fine and the value is saved.
    Thank-you in advance for cooperation.
    Claudio
    Ps: se vuoi puoi anche rispondere direttamente in italiano al mio indirizzo che trovi nei miei riferimenti. Grazie

Maybe you are looking for

  • How to put flash in webpage

    I have trial for flash, and I just made my first thing! Yea, it's pretty good...I'm almost a pro... How do I put it on a webpage so it looks exactly like when I press play on Flash8?

  • Ipod nano 5th gen.

    so i found an ipod nano 5th gen. on the side of the road and the screen will not turn on. about how much would it cost to replace the screen?

  • PSE 6 crashes after restore

    I recently had to do a restore from Backup of my PSE 6.0. The restore went fine, but when i restarted PSE, it said it was regenerating thumbnails. It would regenerate for a ocuple hours, then crash. When I restart the PSE organizer, it crashes almost

  • I thing my ipod touch 4G software is lost and it doesn't open now. what shall i do?

    my brand new ipod-touch doesn't open and i think i have deleted somehow the operating system.what shall i do?

  • [Congreso] Para luisete y gente de Valencia

    Todavía no tengo los billetes pero ya me he inscrito. Iré en el tren de las 15:50, si hay billetes, o cualquiera de los siguientes del viernes. Nos vemos en el tren, mejor dicho, en la cafetería del tren con unas birras. xd