Number of Condition Records in Pur. Info Record

I am trying to get the number of condition records in a purchase info record.
using ME_GET_INFORECORD_CONDITIONS and also ME_GET_INFORECORD_CONDITIONS_1.
ME_GET_INFORECORD_CONDITIONS_1 gives me the correct values when I try to test the FM.
What is the diff between these 2 FMs.
But when I use ME_GET_INFORECORD_CONDITIONS_1 in a report, it is not giving a correct value.
Following is the code:
DATA: IT_KONP TYPE KONP OCCURS 0 WITH HEADER LINE,
      WA_KONP TYPE KONP.
DATA: coun TYPE i VALUE 0.
"Get the number of condition record - should be useful in BDC call.
CALL FUNCTION 'ME_GET_INFORECORD_CONDITIONS_1'
EXPORTING
I_EKORG       = 'U001'
I_ESOKZ       = '0'
I_INFNR       = '5300000320'
I_LIFNR       = '200524'
I_MATKL       = '001'
I_MATNR       = '80141300'
I_WERKS       = 'L001'
*     I_VABME       =
*     I_BSTME       =
TABLES
TKONP         = IT_KONP.
LOOP AT IT_KONP.
ADD 1 to coun.
ENDLOOP.
WRITE: / coun.
The variable coun is always Zero.
Reg

The LIFNR in the input parameters should be L-Padded with zeros. In SE37 it does it by itself.
reg

Similar Messages

  • Condition Groups in Purchase info record

    Hi SAP Folks
    Can you please in undertsanding the usage of the Field : Condition Groups in Purchase info record .
    How can this be used and what are the required set up to be done  in the system.
    We are SAP ECC 6.0
    Thanks for the help.
    Achu

    Hi,
    Click F1 on field Cond. Grp which gives the infomation about the Condition groups.
    Check  links : http://help.sap.com/saphelp_47x200/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    Condition group comes under strategic sourcing and it is used to group together vendor  & mass changes for vendor masters.
    e.g to change tax condition for certain group. Check the T-code MEKG.
    Hope it will help U...
    Regards
    Vikrant

  • Sync P info records with Q info records

    Hi Gurus,
    Can any suggest how we can sync P info record with Q info record?
    We have data maintained correctly for all vendor information and not
    maintained properly in P info record but maintained correctly in Q info record.
    Please suggest
    Thanks & Regards,
    Rajesh

    Hi Jurgen,
    Yes i agree. We wanted to have Purchase info record created when we have Q info record.
    Is there a way where we can do it?
    Please let us know.
    Thanks in Advance
    Thanks & Regards,
    Rajesh.

  • Condition types for a info record

    hi can someone pls tell me how do i config the following scenario :
    my client has 10 condition types
    out of which 5 condition types should compulsorily appear in my Po
    and remaining 5 should default from inforecord...however even in info record , no other condition types apaty from this 5 condition types should be allowed .....that is in all my info records only these 5 condition records are allowed for a client

    Hi Joyti,
    For this u have to ---
    1.COpy condtion type PB00 and make new condition type sap ZB00
    2.Copy pricing procedure RM0002  to  say ZRM002.
    3.Delete PB00 contion type from ZRM002 and replace it by ZB00.
    4.Maintain only 5 contion types in this pricing procedure which u want in inforecord.
    Thats it. Now when u will try to created inforecord - only these 5 contions type which r entered in pricing procedure ZRM002 will be seen .And when u will Create Po the Pricing procedure which u have created will be triggered based on Vendor and pur. Org .
    Thank you
    Reards
    Amar Zarkar

  • Pricing Condition not picking from Info record

    Dear Sapians
    We have made all the Changes for Higher Education Cess. Now while creating PO some conditions are not picking from info record(only for some materials). In Dev. server Everything working fine.
    What could be the problem?
    Warm Regards
    Sukumaran.E

    Hi Sukumaran,
    You need to go to PO -> item conditions -> press analysis button.
    double click on the pricing condition on left hand side screen. You will get proper analysis. Like "PBXX     111 Condition ignored (requirement 005 not fulfilled)"
    These descriptions will give clear hint on the reason of price not being picked up.
    - Sanjeev

  • Validity date of condition records (creation of info records using LSMW)

    Hello gurus,
    we would like to create info records using LSMW with one condition record (PB00). This works fine, we just are not able to influence the validity of the condition record, it's always "creation date until 31.12.9999".
    We tried to maintain the fields BKONP-DATAB and BKONP-DATBI, but that did not change anything.
    Any ideas on this?
    Thanks
    Alicia

    Hello Jürgen
    and thank you!
    One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
    Thanks again
    Alicia

  • FM for creating / maintaining condition types of  PIR ( info record)

    Hi Exparts,
    I required mass creation / updation of condition types of PIR or info records ( in ME11/ ME12 transaction). I tried BDC but it is getting very complex. Is there any FM / BAPI that could be used for this purpose.
    Thanks in advance.
    Regards,
    abhishek

    Purchase Info records data are updated in EINA & EINE Tables and even it updates in A017 (Plant Specific) or A018 (Without Plant Specific) which is called as Material Info record.
    To identify the Condition Types in info records, below are the steps.
    Step 1: Record all the u201Cconditions Records Nou201D from A017 (Plant Specific) or A018 (Without Plant Specific) for the given Info Records.
    Step 2: Based on this u201CStep 1 - condition record nou201D, Search the required u201CCondition Typeu201D in KONP Table by inserting the Cond. Record No and Cond. Type.
    If it is helpful, reward points.
    Regards,
    Muralidharan

  • Condition text in purchase info record

    Hi,
    How to maintain text for condition in purchase info record.
    Business users would like to maintain the reason/details for price change of condition record in info record.
    I am refering to the in the PIR condition screen, there is a Text check box besides scales check box.
    Please let me know the steps to maintain condition text in PIR.
    Thanks in advance
    Raj.

    Hello Raj,
    I may have faced the same problem.
    -Go to VOTXN.
    -Select Radio B : pricing cond --> condition  / change
    Choose application M
    -Design a text procedure: in standard you may have some
    Go to Text procedure assignement
    You need to affect the:
    Text determination procedure  (standard example 01) T685A-TXTGR and
    Text ID for text edit control (standard example 0001) T685A-TDID_TEC
    to the Basic price off you info record (standard PB00)
    If your basic price is no longer PB00 you may identify with this:
    T685A-KNTYP = H and T685A-KALSM = pricing procedure for additionnal condition type present in you FIR.
    If you affect the text procedure to a additionnal condition instead off the Basic price, this will not work.
    Regards
    Théophane
    Edited by: TWM_TDU on Nov 30, 2010 3:09 PM

  • Inco Terms in Vendor Master &Pur info Record

    Hi all
    I am maintaining the Incoterms in Vendor Master. But if i give the code (Inco term - Part1, again the system is asking to enter the Description Incoterm - Part2).
    Aslo if i am maintaining the Purchase info record, for the same vendor and Material combination , the Inco terms maintained in the Vendor master is not flowing. Please suggest.
    Regards
    Madhesh Kumar

    Then it means that the incoterm is set as required then u need to maintain the desciption, if you wan to make it optional entry, For vendor :you can go to OMFK, For Purc.info recod :
    got to SPRO-Materials ManagementPurchasingPurchasing Info Record--Define Screen Layout.

  • Price from Pur Info record not picking up

    Hi All,
    We have a requirement to pick Price from Purchasing Info record for Standard Cost estimate (CK11N/CK40N).
    The purchase info record has been created and price maintained in both u201CNet Priceu201D and u201CEffective Priceu201D fields in info record.
    I have selected Strategy L Price from Purchasing Info record and maintained sub-strategies 3, 4 and 5 in Valuation variant:
    Strategy 3 u2013 Net Quotation Price
    Strategy 4 u2013 Gross Quotation Price
    Strategy 5 u2013 Effective Price from Quotation
    Though I maintained the above, system is not picking up price from info record in CK11N.
    Am I missing anything on this?
    Any help is appreciated.
    Thanks.
    Regards,
    Sree

    Sreechakravarty,
    Per your description, system picked up the price other than the Purchase Info Record price, right? If so, you can try to remove other pricing priorities while only leave the pricing priority "L", and then run CK11N again to see whether system can find the info record, otherwise system will give error message such like "can not find material price in plant code &1/batch &2".
    If the system do can not find the purchase info record, you should check anything wrongly maintained to the info record such like valid period. Make sure the valuation date you entered during CK11N should be within the valid period of the info record.

  • Pur info record

    The system has 250 vendors for procuring 1 product. Have 250 info records, in which vendors keep updating their prices regularly. While creating a PO, is there a funtionality/user exit which can grab the lowest price out of the 250 prices on the day of creating the PO?
    Thanks!!

    Hi,
    Check user exit ME590001 to influence the source selection in ME59
    Thanks
    Diwakar

  • Purchasing Info Record and Source list

    Hi all,
          I am using purchasing info record along with a price for the vendor and material.  This would get the net price into the Purchase order.  Do i really need to create source list ?  What will source list do for me ?   Wouldn't having info record be sufficient ?
         Looking forward to hear your suggestions.
    Thank you.
    Joyce

    Hi Joyce,
    If you have not maintained valid conditions in your Pur info record then price is picked from last purchase order through purchase order price history if customizing settings allow so (In your case if customizing settings allow and the net price 100 in the info record is not from valid conditions, price picked will be 250).
    In the price determination process in PO system always first looks for pur info records with valid conditions if not found then it looks for last PO price.
    There is also a parameter for default values for buyers called EVO. If you make settings in customizing for this parameter and tick the Chkbox for picking the last purchase order price in it and you attach this parameter to your user ID in the user-own data with PI value, then last PO price is picked as default value in the net price.
    You can refer the following link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/75/ee130655c811d189900000e8322d00/frameset.htm
    Source List -
    The source list is used in the administration of sources of supply. It specifies the allowed (and disallowed) sources of a material for a certain plant within a predefined period. Each source is defined by means of a source list record.
    The source list serves:
    To define a source of supply as "fixed". Such sources count as preferred sources over a certain period of time.(For example, the fixed vendor for material 1 is X for the first quarter and Yfor the second quarter of the year.)
    To define a source of supply as "blocked".(This means, for example, that contract 123 may not be used for a certain period of time.)
    As an aid in selecting the preferred source during the source determination process.(For example, the vendor A is determined as the source for an item of a requisition dated 15th June relating to material 1.)
    To block the external procurement of a material
    Regards,
    Rahul.

  • Net price in Info record

    Dear All,
    I enter Net price when i create the Info record.
    When i want to display that info record,the given net price is not there and found to be zero.
    What is the reason?
    How do i get the price there?
    Regards

    Hi,
    If you have not maintained valid conditions in your Pur info record then price is picked from last purchase order through purchase order price history if customizing settings allow so (In your case if customizing settings allow and the net price 100 in the info record is not from valid conditions, price picked will be 250).
    In the price determination process in PO system always first looks for pur info records with valid conditions if not found then it looks for last PO price.
    There is also a parameter for default values for buyers called EVO. If you make settings in customizing for this parameter and tick the Chkbox for picking the last purchase order price in it and you attach this parameter to your user ID in the user-own data with PI value, then last PO price is picked as default value in the net price.
    You can refer the following link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/75/ee130655c811d189900000e8322d00/frameset.htm
    Regards,
    Prithviraj

  • Conditions in Calculation Schema not reflecting in Purch Info Record

    Hi,
    We are using calculation procedure TAXIN.
    We have maintained Calculation Schema & maintained required conditions.
    When we checked for maintaining these conditions in Purchasing Info Record, (Transaction Code - ME11 / ME12), these conditions are not appearing in the info record. But, the conditions appearing in the info record are not same as those in the Calculation Schema.
    Also, the conditions maintained in Info Record are not getting copied to Purchase Order (except Base Price P000).
    What could be the reason behind this? How to correct the same?
    Regards,
    Prashant Kolhatkar

    Tax procedure condtions will not appear in the info record. for the conditon which is not reflecting in the PO, you may check in inforecord whether there is a check mark in condition record saved for approval; if so it is deleted

  • Price conditions from Info Record to PO

    Hi,
    While creating PO, Price conditions flow from Purch.info record.
    My requirement is => In the Item detail Conditions Tab, the price should not be available for editing (i.e.it should be in display mode) at end user level. If we need to modify the Amount against any condition it should be done only in info record only.
    How to address this requirement.
    Regards,
    Baskar

    Hi,
    1. Go to SPRO > MM > Purchasing > Authorization Management > Define Function Authorizations for Buyers > Function Authorizations: Purchase Order > Here "New Entries" and define Function Authorization Key as "01" and give description.
    OR use T. Code - OMET
    Here under "General parameters" subscreen,
    Activate "Display conditions" indicator and assign Field selection as "$DE1", do not select "Enter conditions"
    In "Possible ref. objects", select "W/o reference" otherwise reference documents (for e.g. PR, RFQ, etc...) for PO creation will become mandatory.
    2. Now go to SU01 > Enter User ID > Parameters Tab > Here for Parameter ID EFB i.e. Function Authorization: Purchase Order, maintain value "01" and check in PO field selection will get applied for that user.
    Now check in PO, Conditions will become in display mode.

  • Purchase Info record price conditions

    Hello Gurus,
    My client wants to extract their Purchase Info Record in R/3 to the BW Environment. This I have already done.
    The problem now is that my client wants to see the price conditions associated to the Info Record. To see the conditions you have to select validity time period first and only after that you have the prices associated.
    Do you know if there is a way to transfer this kind of data to BW without creating a custom DataSource?
    Best regards

    hi,
    Yeah, I just checked it..
    Its not possible in Std. SAP system...
    There is no field provided for the same...
    the other way, but doesn't applies to you...as you are doing massive job...
    still if req. then check..
    The other way is:
    Maintain Quotation and ref. it in inforecord...price gets updated easily from it...
    Regards
    Priyanka.P

Maybe you are looking for

  • O.K.  My computer is now scaring me.

    As you may or may not know, my computer has been having display problems. First it would have a glitched display, then it began freezing occasionally. Soon after, it began freezing consistantly with only the smallest amount of graphic stress. Now, it

  • Service Request - Transaction type not appearing in IC Webclient Pop-Up

    Hi, The service request transaction types SMRQ and YMRQ do not appear in the webclient pop up when i click on Create Service Request. All the other transaction types are working fine. I have checked the entries in --> SPRO--> Solution Manager --> Cap

  • Outputting for web

    So I am somewhat famailar with Final Cut Pro and Compressor, but there is one problem I am having. I need my videos to be output in MPEG format to be displayed on the internet. Problem is, the only one I know that properly outputs the file to MPEG is

  • ME22N - Make MEPO1211-EEIND non editable

    Hello Experts! I have the requirement to make non editable the field EEIND in ME22N. The Screen is 1211 in program SALMEGUI, I've seen others thread but didnt work for me ( becouse other thread was about addin fields ) Any idea of an Enhacement or Ex

  • Maintaining Fonts in PDF

    When I am converting a Word doc to a PDF, the original fonts are not maintained.  What can I do to ensure that the fonts I want remain in the final PDF?