Only for Material if Contract Exist - Create PO Automatic (ME59N)

Dear Gurus,
When the inventory planned converts a planned order (which comes from MRP output) to PR,  a validation should take place, whether a contract exist for the Material? If contract exist. Purchase order creation should be automated.
How to achieve this requirement in Configuration settings, only for materials with contract existing?
Please advice, we are not maintaining any Source list or Info record.
In order to achieve the above business needs, how to start and how to complete this.
Regards
RS

Dear gurus,
I have made a contract and maintain source list in ME32K, then maintain Vendor & Material master as Auto PO.
Now when i try to create PO through ME59N, the system is generating PO automatically. BUt the PO has a Free indicator ticked, which means PO with ZERO value.
How to Untick the Free indicator, when a PO is generated in background through ME59N or ME59
Regards
RS
Edited by: RS on Dec 30, 2009 10:43 AM

Similar Messages

  • Userexits/BADI in ME31K for getting the contract number created.

    Dear Experts,
    Is there any userexits/BADI available in ME31K , for getting the contract number once it is created.
    Thanks&Regards,
    Anversha

    Hi
    find the BADI:
    1. Goto SE24
    2. Open the class "CL_EXITHANDLER"
    3. Open the Metnod "GET_INSTANCE"
    4. Put a Break point in the "  CASE sy-subrc."
    CALL METHOD cl_exithandler=>get_class_name_by_interface
        EXPORTING
          instance                      = instance
        IMPORTING
          class_name                    = class_name
        CHANGING
          exit_name                     = exit_name
        EXCEPTIONS
          no_reference                  = 1
          no_interface_reference        = 2
          no_exit_interface             = 3
          data_incons_in_exit_managem   = 4
          class_not_implement_interface = 5
          OTHERS                        = 6.
      CASE sy-subrc.
        WHEN 1.
          RAISE no_reference.
        WHEN 2.
          RAISE no_interface_reference.
        WHEN 3.
          RAISE no_exit_interface.
        WHEN 4.
          RAISE data_incons_in_exit_managem.
        WHEN 5.
          RAISE class_not_implement_interface.
      ENDCASE.
    5. Come Back and Execute the Transaction Code
    6. In the Debugging screen "exit_name" having the BADI Name for that Tcode.

  • Custom Infotype : Only for Disply Mode Change and Create Should be disable

    Dear Experts,
                        I Created a custom infotype in PM01 for Exit process , my client requirement is this infotype  only shows the details .
    Could you please tell me how to disable the Create and change button in PA30 Screen ?
    Regards,
    Sivakumar.A

    hi siva
    In PM01 itself you have option module pool, select that option go to screen program.
    there select field->dbl clk-> screen attributes pop up will come.
    there you have to change the input/output option
    Regards
    Deva

  • Hi everyone, I've got a question about Itunes. I've noticed that Itunes says to me how many time I've played a specific song since when I've put it on the library. I was wondering if there is a specific shuffle only for the new songs without creating a pl

    Hi everyone, I've got a question. I've noticed that Itunes says me exactly the number of times that I've listened a song since I've put it on the library. Well, I've just put on some new music and I was wondering if there is a way to reproduce only the songs that Itunes nerver played without creating a new playlist.
    Thank you
    Simone

    Welcome to the Apple Support Communities
    This isn't possible, but this is a great idea > http://www.apple.com/feedback

  • How to restrict a vendor to be used only for purchasing selected materials?

    A source list and purchasing info records allow us to restrict the source of supply (vendors) for the selected material masters / material groups. However, my task is the opposite: I need to restrict the material masters / material groups that can be procured from a particular vendor. E.g. Vendor 12345 can only be used for raising purchase orders for Material A and Material B. No other materials should be allowed in POs for that vendor. Is there a way in standard SAP to do this?

    Sorry for not properly understanding your requirement. Now one option comes to mind which you may explore. Create an Outline Agreement for a material group with Item category W and here enter the materials group from some materials which you do not want to be purchased from this vendor .But these materials must belong to the material group for which the contract is created .Than creat Source list on these items of the contract through the Item Overview screen of the contract & check the exclusion Indicator  . This will block these materials from being procured refering this contract . Also go through the documentation on "Maintaining a Source List for an Outline Agreement Item with a Material Group" .
    Dhruba
    Edited by: Dhruba Charan Behera on Jul 13, 2011 3:07 PM

  • Source list mandatory only for scheduling Agreement

    Hi Gurus,
    My client wants to make source list mandatory only for scheduling agreement. While creating scheduling agreement for a particular type and saving it should be mandatory. But for Purchase orders and contracts this is not required. If i do it through OME5 then it becomes mandatory for PO and SA both. Also if i set in material master it becomes mandatory for both.
    Please let me know if there is way to do it.
    Thanks and Regards,
    Yuvaraj

    It doesn't make too much sense, but... do you want to be sure (garantee) that the source list has been created and it is relevant to MRP when you have a schedule agreement? perhaps you can use a user exit when you save the schedule agreement to create the source list.
    There is no standard functinality that's allow you to requirer the source list according the po type.
    regards.

  • Why do we need to define RFC destination and user for material replication

    Dear Experts,
    why do we need to define RFC destination and user for material replication? Here we use crm middleware only for material replication. Could you please help me to understand it?
    regards,
    Ranjan

    Hello,
    As far as I know, you can use the same RFC destination already available in ECC to SRM to replicate materials.
    You can refer to note 720819.
    Regards,
    Ricardo

  • HELP HELP. My iCal opens only for 5 seconds an then it closes....

    Since yesterday May 27, my iCal opens only for 5 seconds and then it closes automatically.... I also have hte Missing Sync for Windows Mobile that is a software that sync my pocketpc to my computer.. it was working very well until yesterday.... it's strange... it started saying me that there were a conflict between the information in my pocket pc and my iCal, but it was usual to have this conflict but i have ersed that information but it still have problems.... i tried erasing the file com.apple.iCal.plist but it still with problems....

    See the not-charging topic of:
    iPod touch: Hardware troubleshooting
    Have you tried another cable?
    Another charging source? Does iTunes see the iPod when you connect to your computer?
    Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, foreign material and cracked or broken plastic.

  • IDOC for material upload

    hi friends,
    if we use idoc or bapi for material upload.will it create internal material number by itself has it does in bdc
    and also plz suggest me which is best method for data upload.
    regards
    raj

    its beteer to go uploading with LSMW
    for uploading
    and in LSME with direct input pethod its the easiest way to upload the data

  • STO for contract exists material

    Hi friends
    I have maintained the settings for the contract exist material should not allow to create PO for the other vendor
    i create STO for the material the system giving  error message Contract rel. order not allowed in case of intra-co.-code stock transfer

    yes... it will not allow.. Perhaps if you change the error to warning, it will allow..

  • SRM and MDM for material master in SRM contracts for multiple R/3

    Dear all,
    my question is:
    We are implementing SRM 4.0 in classic scenario with multiple R/3 back-end and we want to set-up Global Outline Agreements in SRM in a multi-backend environment where the Material Master are not harmonized.
    We heard that MDM and COntent Integraton can be a solution.
    Then detailled question is:
    Can we have 2 material numbers (e.g. ABC and XYZ) in 2 different R/3 systems refering the same product.
    Have the mapping done in MDM (Content Integrator?) to a third material number:123
    Replicating the material master 123 to SRM from MDM(?)
    Create global Outline Agreements in SRM for Material Master 123.
    Distribute the GOA as Outline Agreement to R/3 system 1 with the translation to ABC and to R/3 system 2 with the translation XYZ, all of that during the distribution step (or another).
    Have the call-offs quantities correct on 123 in SRM and BW?
    IF yes, how is it working, do you have some documentation discribing the scenario and the config steps to do?
    Thanks in avance

    Hello RD,
    That's a good question.
    You are on the right way. MDM is the tool for you.
    But..
    Content Integrator (CI) was first developped for Shell, to address the need of cross-referencing of material/supplier/category IDs, for:
    - reporting purpose (actual Spend Analysis)
    - mapping purpose (send of XML PO)
    CI was later "fusionned" into the new MDM (1.0) solution.
    So now, you can not order CI without MDM (even if some SRM slides still present CI).
    But mapping API where developped for all inboud/outbound interfaces in SRM, for materials only (good luck for you).
    You will find everywhere this piece of code:
      Call ECI
        CALL FUNCTION 'BBP_PRODUCT_MAP'
          TABLES
            it_input          = lt_mapping_in
            et_output         = lt_mapping_out
          EXCEPTIONS
            logsys_not_found  = 1
            driver_not_found  = 2
            product_not_found = 3
            internal_error    = 4
            OTHERS            = 5.
    So it is ok, you have the mapping call, but I don't know if all the rest of the process was really "finalized" (call of API mapping in CI, via XI). I personnaly never used it, but I assume it should work.
    I my opinion your process is supported by SAP:
    - Extract materials from both R/3 and consolidate them as a single product in MDM.
    - Distribute this product into SRM.
    - Maintain contracts on those products.
    - Distribute them to R/3 (The ECI call is also used during contract distribution).
    - Call offs corrects in SRM and BW
    For MDM documentation, look at netweaver area of service.sap.com.
    For MDM/SRM integration, look at SRM 4.0 spend analysis:
    https://websmp206.sap-ag.de/~sapdownload/011000358700004424262004E/GlobalSpendOverview.ppt
    For SRM contract distribution, call-offs, BW, look at SRM in details in service.sap.com/srm/SRM4.0:
    https://websmp206.sap-ag.de/~sapdownload/011000358700001966382004E/contracten.ppt
    For SRM5.0, see online help on help.sap.com.
    Rgds
    Christophe

  • PO Release Strategy - Only for non material based

    Experts,
    I have a requirement to implement a release strategy for a single plant for POs for NON material based purchases ( only for using account assignments, cost centers etc).
    The release strategy I configured is working only for the specific plant I want... However, it works whether its a material based PO or a non material based PO.
    How do i get the strategy to work for only the service based purchases, and not the material ones?

    Thanks for the replies but I'm not sure if they are applicable...
    I did create a characterstic for item categories and added the one's I wanted to have... I did NOT include a blank because i thought that would make the difference between the material based PO and non PO. When we I create Po with material (even with no account assignment) it still goes through release.
    Any reason why that is?
    I dont believe the material group solution will not work either because we require material group for material and non material based POs..
    Side note - when i try to use CEKKO with KTTNP, i get a "KTTNP does not exist error." So i used EKPO - KTTNP... hopefully thats ok, but please let me know if its not.
    Edited by: farmerj3 on Jan 30, 2012 3:36 PM
    Edited by: farmerj3 on Jan 30, 2012 3:39 PM
    Edited by: farmerj3 on Jan 30, 2012 3:48 PM

  • BOM IN CRM Only for Service  Contract

    Hello
    We want have a BOM explosion working in CRM for service contracts
    Here are the details :
    We have replicated the materials from ECC to CRM. We are not maintaining any BOMu2019s in ECC.
    The idea is that we maintain the BOM Structure in CRM only, as we donu2019t want to have the Items as a billable item in a position, only for information purposes (or later on for metering)
    We have maintained the product category for the header product in CRM so we are able to maintain depended components
    (Relationship type SCDEC  S Dependent Components (DC) )
    Not we are able to assign dependent component to the header material
    Item category groups:
    We understand that the standard item category groups that should be used are ERLA for the header product and LUMF for the Item product.
    In order to support the same functionality for the given item category group , maintained at the product level in ECC we copied the same setting for the item category group from the standard to
    our settings.
    Standart
    Tx type     Item Cat Group          item category     structure scope
    TA             ERLA                TAQ           A single level Explosion of Structured Product     
    TA         LUMF                TAP                   A single level Explosion of Structured Product     
    So we have copied TAQ to ZTAQ and TAP to ZTAP.
    ZS01 is a copy of SC (service contract)
    Tx type     Item Cat Group          item category     structure scope
    ZS01     ZLEI                       ZTAQ          A single level Explosion of Structured Product     
    ZS01     LEIS                       ZTAP          A single level Explosion of Structured Product     
    But when we use a header product in the service contract, we cannot see the BOM is exploding.
    We have also created some products in CRM with exactly the same Item Category groups as the standard and when we create a standard order (TA) in CRM, the BOM is NOT exploding.
    Questions:
    Is it possible to have the BOM setup only in CRM, like we try to do it?
    Is it possible to use our own item category groups in CRM more is the functionality only working with ERLA and LUMF?
    Is it possible to use the BOM Explosion in Service contracts as well ?
    What steps are we missing to get the BOM explosion in CRM ?
    Thank you for your help
    Frank
    Edited by: Frank Foerstner Foerstner on Dec 9, 2011 12:34 PM

    Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
    method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
    break-point.
    *DATA : i_ce_goodsmovement TYPE REFERENCE
              ALM_ME_CUSTOMER_ENHANCEMENT.
    DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
    DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
    *DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
    CALL METHOD lr_badi_goods_movement->create
      EXPORTING
           ce_goodsmovement = ce_goodsmovement
      IMPORTING
           user_data        = ls_user_data
           custom_user_data = ls_ce_user_data
           goods_movement   = goods_movement
      changing
           return           = return[].
    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
           TABLES
                return = return.
    endmethod.
    Please help me to get the data in this method. How do I call this.

  • Service Contract Determination for material product

    Hello,
    I am trying to implement service contract determination for a complaint and I observe that the service contract gets determined at the complaint item level only when I add a service type product at the item level and not when I add a product of material type. Is this a system limitation that a service contract can be determined only for a service product or am I missing some configuration? Has anyone else faced a similiar issue?
    Thanks,
    Divya.

    hi divya
    the contract get determined even after adding product of type material
    1.create a srv contract (sc)
    2.add product of type material
    3. release the contract and save it (note the no.)
    4.create a trnx complaint(crmc) maintain the setting fr contract determinition(F)
    5.put the product in trnx and ur contract will get determined
    see if it suffice ur requirement
    "reward points if u find useful"

  • PO/ Invoice created for supplier does not exist for particular company code

    Hi Gurus,
    We have a case where PO created w.r.t supplier X does not exist for any company code A. Also Invoice is generated.
    As per my analysis:
    1. Purchasing organization is assigned to the particular plant and Plant does assigned to company code. This purchasing organization does not assigned to any company code and kind of centrally allowed to any company code based on above link.
    2. Supplier X does exist for the purchasing organization. And in Partner function-For PI (Invoice presented) partner function, it is defined for another supplier Y. This Y supplier does exist for company code A and might be the reason, it is allowing creating PO and Invoice.
    Please correct me, if I am wrong or If there will be any other reason for the same. Just for your information, there is no Info record exist for this PO as it is created for service without any material number.
    Thanks for your response.
    Best regards,
    Karun Kumar

    You can create vendor only with reference to purchase organization and withoout company code.
    for this vendor, you can create PO and MIGO and system will allow but when you try to post the invoice system will prompt you to enter different invoice party. if you dont enter different invoice party, system will throw an error message "vendor is not defined in XXXX.
    So in your case, your analysis is correct.

Maybe you are looking for

  • Upload Flatfile to application server

    Hi All, I am uploading Flatfile to Application server using FM ARCHIVFILE_CLIENT_TO_SERVER. I am entering right path for src file and dest folder but I am getting an error that Error in Opening file d:\ab\sap cd for writting (Permissions denied). I s

  • To find that one user has done how many Transaction during the year

    Guru, Could u suggest which table to check to find transaction done during the year by a user. I have to develop report with some changes now o/p is needed as one user in whole year how many TC done and list those. regards, Vibhuti

  • Bad video on Android phone,but good on iPhone

    I use video on Sony xperia Z2 and Samsung Galaxy S and video quality its not the same as on iPhone. Video quality on Z2 and Galaxy S its the same,but much lower than iPhone.I think its a skype software problem.Any oppinion ?

  • (Brazil) equivalent of badi MRM_WT_SPLIT_UPDATE for FB60

    Hi, in MM documents by means of badi MRM_WT_SPLIT_UPDATE we calculate ISS tax. is there an equivalent for FI documents (that is for FB60 transaction)? Best regards.

  • Runinstall libstdc++-libc6.1-1.so.2 no such file

    Hi all, im triying to install oracle 9i(9.2.0.1.0) in Linux red hat 8.0. When i launch runinstall i obtain the follow error; error while loading shared libraries:libstdc++-libc6.1-1.so.2:cannot open shared object no such file. I had installed with RP