Creating Conditions for Purchase Info Records using IDoc COND_A01

Hi All,
we are using IDOC COND_A01 to update and add conditions in ME12 transactions.
But when we send a condition IDoc which contains 2 condition types (Segment KONP), the standard function call creates only one database entry in the table KONP. The entry in KONP is for  standard condition types PB00, but not  for company specific types (Say: ZABC) .But when we create them manually in ME12 maintaining an purchase info record  we get both the entries in the KONP database table.
Has anyone come accross such a problem? Is there any special field in the IDoc COND_A01 which controls the creation of the condition types?
Thanks for any answer!

U should use basic type INFREC01 instead of NFRECMASS01.
Within the FM there is a check for basic type like:
check idoc type
    if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
      raise wrong_function_called.
    endif.
Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

Similar Messages

  • IDoc status 51 - LSMW for Creating Purchasing Info Records using IDoc meth

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • Pricing not updated in Purchase Info Record using INFREC01. is it possible?

    Hi Gurus,
    I am using IDoc INFREC01 to create Purchase info record for material, but when I see in ME13 that PIR is created successfully but price is never updated, though I have populated field NETPR and EFFPR hence condition PB00 (basic pricing condition) not created.
    Is it possible to update only single pricing (basic price PB00) condition through INFREC01 ??? or should I use another BAPI or some standard report ...??.
    I am extending Pricing Conditions for Purchase inforec through seprate IDOC: COND_A01, but it could only do that if there is basic pricing condition i.e. PB00.
    Please advice.
    Thanks in advance.
    Robin

    HI,
    You can update pricing field for conditon type PB00, please use correct validity period.
    Even there are no basic Price condition PB00, you can add new condition types with existing types.
    Price vaue can depend on the pricing conditions that you have maintained.
    Thanks....

  • Create Purchase info record using LSMW idoc method

    Hello Friends,
    I am trying to update Purchase Info records using LSMW Standard program RM06IBI0.
    But it is not updating the condition price details and scale Quantity.
    For that the  form  suggessted LSMW IDOC method. with : Message Type         COND_A / COND_A02.
    But i dont know is the info record created earlier to this step or else we can create both using this method
    at a time ?  Does anybody please suggest.
    ( Actually Purchase Info record created using transaction  ME11 ).
    Regards,
    Phaneendra

    you first create the info record and subsequently you load the conditions.
    become familiar with the condition tables and its key first. Check How table A017 and A018 are maintained.
    Intresting is the field VAKEY which is actually the link to your info record.
    This is a combination of vendor, material, purchasing org, plant , and info record indicator.
    data:  begin of ZZVARKEYA,
            ZLIFNR like LFM1-LIFNR,
            ZMATNR like MARc-MATNR,
            ZEKORG like LFM1-EKORG,
            ZWERKS like MARC-WERKS,
            ZINFTYP like EINE-ESOKZ,
            end of zzvarkeyA.

  • How can we create info record using IDOC INFREC?

    Hi Friends,
    Can we create info record using IDOC INFREC. If Yes. How?
    Regards,
    Narendra

    Using IDOC INFREC & FM IDOC_INBOUND_SINGLE

  • Upload Purchase info Records using LSMW

    Hi,
      Im uploading purchase info records using LSMW - direct method
    Object               0060   Purchasing info rec.
    Method               0000
    Program Name         RM06IBI0
    i need step by step process for this. any one have done this using this program help me out.
    Regards,
    Vimal

    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

  • None approval process for Purchasing Info Record

    Hi,
    Are there some approval process in SAP for Purchasing Info Record?
    Now, we use ME11 to creat Purchasing Info Record. And use ME12 to modify Purchasing Info Record. I feel it is very dangerous. Becase if someone make a mistake. Nobody know.
    If the price is lower than actual price, vendor must ask us modify it. If the price is higher than actual price, I am not very sure what will happen.
    So, we are seeking for an approval process in SAP system.
    Dan Yang

    >
    DanYang!@# wrote:
    > Hi,
    >
    > Are there some approval process in SAP for Purchasing Info Record?
    > Now, we use ME11 to creat Purchasing Info Record.
    And use ME12 to modify Purchasing Info Record. I feel it is very dangerous.
    Becase if someone make a mistake. Nobody know.
    >
    > If the price is lower than actual price, vendor must ask us modify it.
    If the price is higher than actual price, I am not very sure what will happen.
    >
    > So, we are seeking for an approval process in SAP system.
    >
    > Dan Yang
    There is no approval process in standard,Since it serves as master.
    Better provide authorization for ME11 & ME12 to restrict it.
    Raise quotation to maintain vendor prices.

  • Number Ranges for Purchasing Info Record

    Dear Guru's
    Number range  interval for Purchase info record  can be  created and assign to group and there are two group for Stock and Non Stock materials.
    Now my query is how the system pick the number range ??? Since we don't have any assignment like PR,PO
      My requirement is we have 3 company code - I need to have different number ranges for purchase Info  record for each company . Guide me to achieve ...
    Thanks in advance
    Regards
    Anand

    SAP has provided only Two standard document Types for Pur. Info Records.
    IL for Stock Material ( with matl No.)
    IN For material Group (w/o MMR).
    By default, if you enter Matl No. in the initial screen, system automatically picks the doc. type IL and the no. range assigned to it.
    If you're not entered matl. no. in the initial screen, and proceed the Transaction further, system picks the doc. type IN and prompts you to enter Matl Group.
    In the second case, the system picks up the no. range as per assignment.
    Here in your case, you want create a new no. range and assign to your IL/ IN.
    For this, you go to the transaction Define No. Ranges in Inforecord, from menu bar, choose Group-> maintain. Here you maintain your new no. range with a name. Now your new group is created with your required no. range.
    Then select your new group ( Check box), select, IL, and click assign button and save.. Your IL is assigned to your new group and system picks the new No. Range when you are creating a Inforecord with Mat No. Similarly, you can change No. range for IN also.
    or one more option you have.
    In the first screen of No. Ranges Transaction, select change intervals tab button, you'll be goto intervals screen. There, from Menu bar, choose Interval-> change current No. Then you reset your current no. to Zero, save it. The again choose Change Interval, then in that screen, change the Interval with your new no. range.
    Here in the second case, u need not maintain new groups. Just changing the Interval for the existing group.
    You can adopt any one of these options.

  • Document type for Purchasing Info Records

    I want to know where do we define the document type( IL, IN ) for Purchasing Info Records in Customizing(SPRO).
    Are these standards or can we define new document types?

    Hi
    There are 4 categories of info records.
    Standard
    Subcontract
    Consignment
    Pipeline
    There are two types of Info records maintenance:
    1) Cross-plant (where you can maintain your info record at the purchasing organization level); or
    2) Plant specific (where the specific plant must be maintained).
    Besides, there are two document types of info records being <b>hardcoded</b> in SAP -
    1) Purchasing Info Record for stock materials (Document Type IL); and
    2) Purchasing Info Record for Material Group (Document Type IN).
    regards
    Srinivas

  • Creating Purchasing info records using transaction ME11

    Hello Friends,
    I am trying to post Purchase info records through ME11.
    Everything is fine but we are not able to record the Conditions tab - i.e, Condition Qty & scale Quantities,
    Can anybody Please help is there any BAPI or any Function module to Post Purchase Info records,
    i.e, alternative to ME11 transaction.
    Thanks in advance,
    Regards,
    Phaneendra

    Hello Rahul,
    Thanks for your reply, Here i am using the same.
    But i am not able to update data by konp & konm structures.
    Do you have any idea on this ?
    ie, in flat file only one line is read by the Program for KONM Structure .Please help.
    Regards,
    Phaneendra
    Edited by: phaneendra punukollu on Feb 8, 2010 4:36 PM

  • Decimal Places for Pricing conditions in Purchase info record

    Hi guys:
    In the material master, Moving average price/std price  2 decimal places, purchase info records -pricing conditions we have option of 2 decimal places.
    Is there any we can increase the number of decimal places .?
    Thanks
    sweth

    Hi,
    you can either have high prices or high accuracy, but not both together (because field length stays fixed).
    Don't think about a modification - to much changes would be necessary. I never have seen a situation, where you needed more than about 6 significant digits (= not '0'): high prices don't have decimals.
    So you usually change a factor: Maintain prices for higher or smaller units to get into the correct range. Or you might use different currencies in different situations. You can also maintain prices per 100 or 1000 units (in case of cheap products).
    If nothing else is possible, you might use two conditions: one without decimals, second one only decimals, the sum of both can be a very precise high price.
    Better to use the option price unit if you want exact value in place.
    Kuber

  • Conditions in purchase info records

    I need to migrate purchase info records including conditions in LSMW in one step via IDoc or BAPI.
    Message type INFREC does not seem to support conditions. I tried to migrate in two steps with INFREC and afterwards COND_A, but I get the error that the condition table (014) is not supported.
    Can anybody help ?
    Kind regards
    Alex

    Hello ,
    you can also use standard program RM06IBI0 if allowed for you.
    David

  • Pricing schema for purchase info records

    hi guys!
    does anyone knows either SAP standard got function to define pricing schema for PIR? if yes, can you please tell me how to set it up step by step?
    Thanks a lot,
    crystal.

    Hi,
    there is no separate pricing schema for reading info records.
    When creating PO, the system first searches for a purchasing                
    info record with the combination of vendor/material at purchasing           
    organization/plant level. If there is no such info record, the system       
    then search at purchasing organization level. If there is no such           
    info record here either, you must enter it manually.                                                                               
    If the purchasing info record exist, then valid conditions have             
    priority during price determination. If an info record does not             
    contain any conditions or invalid conditions, the system read from          
    last purchasing document in the info record and then suggest the price      
    from here. The price determined in this way are default values that         
    can be changed by the buyer if necessary.                                                                               
    You can save useful quotation data for a material in purchasing             
    info record. The info record can be created automatically by                
    setting the info update indicator during quotation maintenance              
    in the item detail.                                                                               
    Please first check is there any valid info record exist for this            
    material/vendor. You can always create/change/view it manually              
    via Ta ME11/ME12/Me13.                                                      
    Please read also the notes 392988, 456691.
    Regards,
    Edit

  • Error in CIF for Purchase Info Records

    Hi,
    I am trying to CIF Purchase Info record from R/3 to APO but its getting stuck during activation "generating delta Model".
    Can anyone please help in this regards, I have already read the link related to BD22 but which message type do we need to delete. Also what can be the other reason.
    I have CIFed Plant, material, vendor in the same sequence also I have extended material to vendor manually in APO.
    I have one more issue the vendor code 1000000 in R/3 is getting create as 0001000000 in APO can this cause a problem
    Thanks,
    sanjog

    Hi Sanjog ,
    Iam not sure why you are looking at tcode BD22. It is not relevant to PIR transfer .
    Also to CIF the PIR for a material from R/3 to APO, it is not necessary that the material should exist in the vendor location in APO. (You need to create the material at vendor location only if it is required specifically for your business scenario).
    Now , to identify what is causing the problem , you have to check the inbound queue in APO and outbound queue in R/3. The tcodes are SMQ2 and SMQ1. You can also use the queue manager /n/sapapo/cq in APO . Check what the error message is and correct the master data in R/3 accordingly. Then delete all blocked queue entries (/sapapo/cq can be used ) and then run the PIR CIF activation again.
    Thanks
    Saradha

  • Creation of purchase info records using me11 and me12

    are there any bapis for creation / update  of purchase info records with  pricing conditions using transaction me11 and me12 ?
    plz tell me ?
    Moderator message: please search for available information before asking.
    locked by: Thomas Zloch on Aug 10, 2010 2:52 PM

    looks like it accepted A017.
    Why did you choose basis type COND_A04 ?
    As this one is very special for long material numbers ( more than 18 digit material numbers) do you have such?
    E1VFSCAH is the Scale header in case of dimension specific scales. do you have such?
    Just try it with COND_A01

Maybe you are looking for

  • HP LaserJet 1200 with "undefined" error

    Hi - I have an HP LaserJet 1200 attached to my home network off an HP JetDirect 175 (I think). I can print fine - after the Leopard installation, the settings didn't transfer, but I was able to add a printer and it found the driver. I'm using an iMac

  • Need help on implementation of a circular queue with fixed size

    The constructor of the queue is as below: RingBufferNode[] element; RingBufferNode firstFree; RingBufferNode firstFilled; public RingBufferQueue (int n) {           element = new RingBufferNode[n];           for(int i=0; i<element.length-1; i++){    

  • Jet engine on start

    This week my G5 (PowerPC, Dual 1.8Ghz) began a new life as a jet. I shut down at the end of the work day, and have it auto-start a few minutes before my work day begins. The past couple of days I arrive to a roaring system, the grey screen with the a

  • Cache Memory Solaris 8

    Hi, When have installed Solaris8, can I reset system memory cache? How?

  • SharpDevelop and Crystal Reports V10 References

    Hi All, I'm new to C# and am writing a C# program to run Crystal Reports files developed using CR10 Professional. What references do I need to add to the project to allow me to use the CR10 Viewer or directly execute the CR reports files? I have CR10