Purchase Info Records ( ME11)

Hi all,
I am trying post Data for Purchase Info Records with Conditions data.
I am using a standard Batch Input Method ( LSMW).
Object               0060  
Method               0000
Program Name         RM06IBI0
Program Type         B   Batch Input
I am able to post data only for the condition type PB00. for other condition types FRC1 & FRA1 not able to post the data ( also session is not giving any error).
Therefore I am trying out witH BAPI option  ( BAPI_PRICES_CONDITIONS),
when i try to test the BAPI i am getting an error "Record KNUMH = 0000668598,
VARNUMH = 000000000000000000000000000000: det. data missing  ( Structue BAPICONDIT) .
i am passing below mentioned values to the structue BAPICONDIT
OPERATION                      009
SD_DOC
ITM_NUMBER                     000000
COND_NO                        0000668598
COND_COUNT                     02
APPLICATIO                     M
COND_TYPE                      FRC1
SCALETYPE                      F
SCALE_QTY                                   0.000
SCALE_VAL                                             1.000000000
CURRENCKEY                     USD
CURREN_ISO                     USD
CALCTYPCON                     C
COND_VALUE                                            2.000000000
CONDCURR                       USD
COND_ISO                       USD
COND_P_UNT                         1
COND_UNIT                      KG
CONUNITISO                     KG
NUMCONVERT                         1
DENOMINATO                         1
BASE_UOM                       KG
BASEQTYISO                     KG
CONDITIDX                      01
Please Suggest what else needs to be passed to get the BAPI working.
Regards,
Sriram

first cretae the info records only.
cretae one more program with strctures like below
and pass the info record conditions.
if you use one program its cretae the only PB00,  here the loop is one time.
you have to pass more than one its read the multiple records
YPUR_INFO_CONDITIONS      Convert Conditions for Info Records
    LIFNR                          C(010)    Vendor
    MATNR                          C(018)    Material
    EKORG                          C(004)    Purch. Organization
    WERKS                          C(004)    Plant
    YPUR_INFO_CONDITION_ITEM  Convert Conditions  Item records
        MATNR                          C(018)    Material
        LIFNR                          C(010)    Vendor
        EKORG                          C(004)    Purch. Organization
        WERKS                          C(004)    Plant
        INFNR                          C(010)    Purchasing Info Rec.
        ESOKZ                          C(001)    Info record category
        KDATB                          C(008)    Validity Per. Start
        KDATE                          C(008)    Validity Period End
        KSCHL                          C(004)    Condition Type
        KBETR                          C(011)    Condition rate
        KONWA                          C(005)    Condition currency
        KPEIN                          C(005)    Pricing unit
        KMEIN                          C(003)    Unit of measure

Similar Messages

  • "Purchase group" filed in Purchase info record(ME11) is mandatory

    Dear expert,
    I find the filed "purchase group" in  T-Code ME11 is mandatory when I maintain purchase info record in spite of the IMG setting, may i change it into "optional entry" in T-code ME11?
    THX
    David

    hi
    Folow the path
    Spro -- MM -- purchasing -- Purchasing info record -- define screen layout
    Select your t-code
    now click on Reference data
    here you can set Purchasing group as optional
    Regards
    Vishal

  • Creation of purchase info record

    Hi any body pls let me know how we can create purchase info record(me11)
    i am an abaper i want to know the functionality in that
    let me know the mandatory fields because i have an requirement to create it using
    lsmw
    thanks in advance

    hi,
    try abap RM06IBI0
    A.

  • SAP MM:Purchase info record

    Hi experts,
                      Can anyone tell me the complete process of purchase info record (ME11).Complete screen steps what are the tabs are there in ME11.I want screenshots of ME11
    Hope for good answer from experts
    Regards
    sandhya

    Hi Sandya,
    If you want to create it manually you can do so by using the SAP transaction code ME11. At the initials screen the following are the input values:
    Vendor Number
    Material Number
    Purchasing Organization
    Plant
    Info Category
    After key in these values at the initial screen you can maintain rest of the information related to material and vendor in the subsequent screen. These information can be group as follows:
    Purchasing Organization Data
    Conditions
    Texts
    As per the business requirement you can make some of the fields (information) as mandatory by customizing. You can also restrict the end user from modifying these information once saved in the system.
    In the standard SAP purchasing info record is maintained as a source of information for Purchasing.
    It contains some of the information from material master and some of the information related to its supplier/vendor.
    Hence Material and Vendor Master is pre-requisite for a purchasing info record. You can also maintain the
    purchasing information record without material master record if your material is for direct consumption.
    Here you can use material group instead of material master. You can have more than one purchasing information
    record for a single material if it is being supplied by more suppliers, one for each supplier. Information maintained
    in purchasing information records is used as default data in documents such as purchase orders.
    In standard SAP Info record stands for information record which contains concise information about a vendor and a material that Purchasing already procures from that vendor. An info record thus represents a material-vendor relationship. Following are some of the information maintained in Info record:
    Units of measure in which materials are ordered from the vendor
    The applicable reminder levels
    Prices and Conditions with validity period (Present and Future)
    Applicable Tax Code
    Planned Delivery Time
    Standard & Maximum Quantity
    Tolerance limits for over-deliveries and under-deliveries
    Number of Last Purchase Order or Quotation
    Text
    Vendor evaluation data
    An indicator for showing vendor as regular vendor for the material
    The vendor sub-range to which the material belongs
    The availability period during which the vendor can supply the material
    Thanks,
    Swamy H P
    Edited by: swamy kumar on Feb 8, 2010 3:00 PM

  • Purchase Info Records fields

    Hello,
    I am uploading Purchasing Info Records (ME11) master data. I have the following  three fields in the source file which I could not figure out. Can anybody please tell the corresponding SAP fields? Thank you.
    old_mat_ref
    infr_desc
    cond_uom

    Hello Yala,
    old_mat_ref -  If this is vendor material number then (EINA-IDNLF),
    infr_desc - EINA-TXZ01
    cond_uom - (if this is purchase UoM) then EINA-MEINS
    Alternatively, you can explore EINA table which is for inforecord data and find which are the most relevent field for your requirement.
    Hope this helps.
    Regards
    Arif Mansuri

  • BAPI  for create/change purchase info record

    Hi All,
    Could any one suggest me the BAPI for the create/change purchase info record(ME11/ME12).
    Earliest can be appriciable.
    Regards
    Anil

    Hi,
         I did not get any bapi related to create/change purchase info. But i can give u list of purchase info . if u got revert back to me
    Reward if it is usefull..
    Bye.
    BAPI_INFORECORD_GETLIST

  • Creating Purchase Info Record in SAP using JCO

    I am trying to create a Purchase Info Record (ME11) in SAP using the below JCo code:
    It executes without fail and throws no error, but i am not able to get the newly created info record in SAP. In ME13 it says info record not found. Can i know what am i missing?
    I am using these FMs :
    1. ME_INITIALIZE_INFORECORD
    2. ME_DIRECT_INPUT_INFORECORD
    3. ME_POST_INFORECORD
    IFunctionTemplate ft1 = mRepository.getFunctionTemplate("ME_INITIALIZE_INFORECORD");
        JCO.Function function1 = ft1.getFunction();
        mConnection.execute(function1);
        IFunctionTemplate ft = mRepository.getFunctionTemplate("ME_DIRECT_INPUT_INFORECORD");
        JCO.Function function = ft.getFunction();
        JCO.ParameterList importparams =function.getImportParameterList();
        //  Setting HeadData Structure Information
        JCO.Structure headStructure = importparams.getStructure("I_EINA");
        //headStructure.setValue("105","MANDT");
        //headStructure.setValue("5300259768", "INFNR");
        headStructure.setValue("MYPART0006", "MATNR");     
        //headStructure.setValue("MYPART0006", "IDNLF");
        headStructure.setValue("100002","LIFNR");
        headStructure.setValue("10000","MATKL");
        headStructure.setValue("KGS","MEINS");
        headStructure.setValue("1","UMREZ");
        headStructure.setValue("1","UMREN");
        headStructure.setValue("SG","URZLA");
        headStructure.setValue("KGS","LMEIN");
        //headStructure.setValue("0000005300259768","URZZT");
        JCO.Structure headStructure1 = importparams.getStructure("O_EINA");
        //headStructure1.setValue("105","MANDT");
        //headStructure1.setValue("5300259768", "INFNR");
        headStructure1.setValue("MYPART0006", "MATNR");    
        //headStructure1.setValue("MYPART0006", "IDNLF");
        headStructure1.setValue("100002","LIFNR");
        headStructure1.setValue("10000","MATKL");
        headStructure1.setValue("KGS","MEINS");
        headStructure1.setValue("1","UMREZ");
        headStructure1.setValue("1","UMREN");
        headStructure1.setValue("SG","URZLA");
        headStructure1.setValue("KGS","LMEIN");
        //headStructure1.setValue("0000005300259768","URZZT");
        System.out.println("General Data Set");
        JCO.Structure purchaseDataStructure = importparams.getStructure("I_EINE");
        //purchaseDataStructure.setValue("105","MANDT");
        //purchaseDataStructure.setValue("5300259768", "INFNR");
        purchaseDataStructure.setValue("1000","EKORG");
        purchaseDataStructure.setValue("1000", "WERKS");
        purchaseDataStructure.setValue("003","EKGRP");
        purchaseDataStructure.setValue("USD","WAERS");
        purchaseDataStructure.setValue("3","APLFZ");
        purchaseDataStructure.setValue("1","PEINH");
        purchaseDataStructure.setValue("1","BPUMZ");
        purchaseDataStructure.setValue("1","BPUMN");
        purchaseDataStructure.setValue("1000","EFFPR");    
        purchaseDataStructure.setValue("0001","BSTAE");    
        purchaseDataStructure.setValue("100000","NETPR");
        purchaseDataStructure.setValue("X","KZABS");
        JCO.Structure purchaseDataStructure1 = importparams.getStructure("O_EINE");
        //purchaseDataStructure1.setValue("105","MANDT");
        //purchaseDataStructure1.setValue("5300259768", "INFNR");
        purchaseDataStructure1.setValue("1000","EKORG");
        purchaseDataStructure1.setValue("1000", "WERKS");
        purchaseDataStructure1.setValue("003","EKGRP");
        purchaseDataStructure1.setValue("USD","WAERS");
        purchaseDataStructure1.setValue("3","APLFZ");
        purchaseDataStructure1.setValue("1","PEINH");
        purchaseDataStructure1.setValue("1","BPUMZ");
        purchaseDataStructure1.setValue("1","BPUMN");
        purchaseDataStructure1.setValue("1000","EFFPR");       
        purchaseDataStructure1.setValue("0001","BSTAE");       
        purchaseDataStructure1.setValue("100000","NETPR");
        purchaseDataStructure1.setValue("X","KZABS");
        mConnection.execute(function);
        IFunctionTemplate ft2 = mRepository.getFunctionTemplate("ME_POST_INFORECORD");
        JCO.Function function2 = ft2.getFunction();
        JCO.ParameterList importparams2 =function2.getImportParameterList();
        importparams2.setValue("MYPART0006", "I_MATNR");
        importparams2.setValue("MYPART0006", "O_MATNR");
        mConnection.execute(function2);
    Edited by: rs_d123 on Dec 17, 2011 10:46 AM
    Edited by: rs_d123 on Dec 17, 2011 10:46 AM

    If i give this much code then it throws an error
    Exception in thread "main" com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Enter Purch. group :
    I have already set the purchase group in the code: EKGRP as 003. Dont know why its still asking for purchase group.
                JCO.Repository mRepository;
             mRepository = new JCO.Repository("SAPConnection", mConnection);
             System.out.println(" Repository Created ");
             IFunctionTemplate ft1 = mRepository.getFunctionTemplate("ZME_INITIALIZE_INFORECORD");
             JCO.Function function1 = ft1.getFunction();
             mConnection.execute(function1);
             IFunctionTemplate ft = mRepository.getFunctionTemplate("ZME_DIRECT_INPUT_INFORECORD");
             JCO.Function function = ft.getFunction();
              JCO.ParameterList importparams =function.getImportParameterList();
              //  Setting HeadData Structure Information
              JCO.Structure headStructure = importparams.getStructure("I_EINA");
              headStructure.setValue("MYPART0006", "MATNR");          
              headStructure.setValue("0000100002","LIFNR");
              headStructure.setValue("000010000","MATKL");
              headStructure.setValue("KGS","MEINS");
              headStructure.setValue("1","UMREZ");
              headStructure.setValue("1","UMREN");
              headStructure.setValue("SG","URZLA");
              headStructure.setValue("KGS","LMEIN");
              System.out.println("General Data Set");
              JCO.Structure purchaseDataStructure = importparams.getStructure("I_EINE");
              purchaseDataStructure.setValue("1000","EKORG");
              purchaseDataStructure.setValue("1000", "WERKS");
              purchaseDataStructure.setValue("003","EKGRP");
              purchaseDataStructure.setValue("USD","WAERS");
              purchaseDataStructure.setValue("1","APLFZ");
              purchaseDataStructure.setValue("1","PEINH");
              purchaseDataStructure.setValue("1","BPUMZ");
              purchaseDataStructure.setValue("1","BPUMN");
              purchaseDataStructure.setValue("1000","EFFPR");          
              purchaseDataStructure.setValue("0001","BSTAE");          
              purchaseDataStructure.setValue("1000","NETPR");
              purchaseDataStructure.setValue("X","KZABS");
              mConnection.execute(function);
             IFunctionTemplate ft2 = mRepository.getFunctionTemplate("ZME_POST_INFORECORD");
             JCO.Function function2 = ft2.getFunction();
              JCO.ParameterList importparams2 =function2.getImportParameterList();
              importparams2.setValue("MYPART0006", "I_MATNR");     
              mConnection.execute(function2);
              System.out.println("Execution Completed");
    Edited by: rs_d123 on Dec 19, 2011 9:04 AM

  • BAPI for creation of Purchasing info record

    Hi SAPians,
    Greetings......
    Can you help me out in giving the BAPI for the creation of Purchasing Info record (ME11) .
    Thanks in advance,
    Lekha.

    Hi ,
    You people have suggested me to use RM06IBI0 this program.
    I want to know in what way it can help me.
    Thankyou in advance,
    Lekha.

  • 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

  • BAPI for Purchase Info record creation - ME11 transaction

    Hi,
      Is there any bapi or function modules which will create the Purchase info record in Me11 transaction and also bapi for change Purchase info record in Me12 transaction?
    Points will be awarded.
    Regards,
    vinoth.

    Hi,
    ME_MAINTAIN_INFORECORD
    ME_UPDATE_INFORECORD
    ME_GET_INFORECORD_CONDITIONS
    ME_PRICING_INFORECORD.
    ME_DIRECT_INPUT_INFORECORD
    ME_POST_INFORECORD.

  • 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

  • Custom fields in Purchase Info Record transactions(ME11/ME12/ME13)

    Hi,
    How to add custom fields to the screens of Purchase Info Record transactions(ME11/ME12/ME13)?
    The custom fields are already appended to table EINE(Purchasing Info Record: Purchasing Organization Data) and users want to maintain those fields via transaction ME11/ME12.
    All the relevant threads in SDN are without solution, anyone with such experience please help.
    PS: any enhancement method is fine.
    Thanks.

    Hi Jeff,
    Could you please help me with the solution you got for adding a new field in ME11 transaction
    My requirement is to add 2 new fields in Control tab of ME11.
    Thanks
    Renu Gusain

  • Purchasing Info record screen layout not working for ME11

    Dear All Experts,
    I got requirement where GR Based IV and GR should be required for one vendor. So htought to create PIR from where I can make these two fields DEFAULT. So I went to table T162 from where I can make these two fields mandatory for ME11.
    I followed the path : SPRO - Materials Management - Purchasing - Prcahsing Info Record - Define Screen Layout for making fields mandatory for ME11.
    It is not working at all, as well I can see rest irrelevant fields which are not of my use are required. Have I missed any piece of configuration somewhere in MM ?
    Experts guidance from forum will be very much appreciable.
    Regards,
    Revati Joshi.

    HI,
    as you know we can create purchasing info record manually as well as automatic at time of Po creation
    If you mark it in ME11 manually it will be helpful to you
    or you can mark its required field in Vendor master record as well for your vendor account group in following path.
    Logistic general - Bunisess partner -vendors > control > define accont groups and field selection > select your account goups and click on details and double click on purchase data and check for "GR based invoice verification" and mark required field
    Regards
    kailas ugale

  • Problem with Purchase Info Record Condition Data ( ME11)

    Hi all,
    I am trying post Data for Purchase Info Records with Conditions data.
    I am using a standard Batch Input Method ( LSMW).
    Object 0060
    Method 0000
    Program Name RM06IBI0
    Program Type B Batch Input
    I am able to post data only for the condition type PB00. for other condition types FRC1 & FRA1 not able to post the data ( also session is not giving any error).
    Therefore I am trying out witH BAPI option ( BAPI_PRICES_CONDITIONS),
    when i try to test the BAPI i am getting an error "Record KNUMH = 0000668598,
    VARNUMH = 000000000000000000000000000000: det. data missing ( Structue BAPICONDIT) .
    i am passing below mentioned values to the structue BAPICONDIT
    OPERATION 009
    SD_DOC
    ITM_NUMBER 000000
    COND_NO 0000668598
    COND_COUNT 02
    APPLICATIO M
    COND_TYPE FRC1
    SCALETYPE F
    SCALE_QTY 0.000
    SCALE_VAL 1.000000000
    CURRENCKEY USD
    CURREN_ISO USD
    CALCTYPCON C
    COND_VALUE 2.000000000
    CONDCURR USD
    COND_ISO USD
    COND_P_UNT 1
    COND_UNIT KG
    CONUNITISO KG
    NUMCONVERT 1
    DENOMINATO 1
    BASE_UOM KG
    BASEQTYISO KG
    CONDITIDX 01
    Please Suggest what else needs to be passed to get the BAPI working.
    Regards,
    Sriram

    Hi Phemmy,
    it is possible to create  PO before info record .info record establishes the relationship between vendor and your particular material.
    to answer your 2nd question:
    it is possible to create inforecord automatically during PO creation. in the ME2N screen, in the material tab, put the material code. then go to item details.in the materail data tab, you will get infoupdate  check it.and then inforecord will be created automatically.
    Thanks
    Nisha
    Edited by: nishaprasad on Jan 14, 2010 11:29 AM

  • Mass Creation of Purchasing Info Records

    Hi all,
    we want to change the vendor for a certain amount of articles (old vendor e.g. 102, new vendor e.g. 768).
    To order the articles (maybe approx. 1000) by the new vendor, we need to create new Purchasing Info Record (for vendor 768) for every article bought by vendor 102.
    Is there a standard transaction to handle this? MASS_EINE doesn't seem to fit to my problem.
    Regards,
    Tobias

    Hi Tobias,
    You need to go for creating new Inforecord for Article, Vendor, Porg and Site Combination .
    You should not go for Mass Maintanace for changing vendor.
    Go for Uploading by  LSMW or BDC for ME11 tcode.
    Regards,
    Selvakumar. M

Maybe you are looking for

  • Is there a way to work on two papers on the one screen.  In windows you drag to the edge and they automatic allow this

    Was wondering if there is a way to work on two papers at the same time.  I'm new to apple and pages.  Windows allows you to drag the paper to the left or right and it automatic makes the necessary room.  Is there a way to do the same thing?

  • Ipod won't sync with itunes, wiped itself, won't leave apple logo screen

    I think the problem showed up after I plugged my ipod classic into a Belkin (I think) ipod speaker dock. The next time I plugged it into my computer, it wouldn't sync with itunes. When there's no ipod plugged into the computer, itunes opens fine, but

  • Error under "manage process"

    Hello, when i try to see all instances of a bpm process under "manage process" in the administration workbench i get following error message: Error occured while processing the request. Log entries are created with ID: (No log entries created due to

  • Using SNMP to monitor DMVPN NHRP

    Are there any SNMP OIDs for monitoring dynamic DMVPN NHRP entries? I'd like to poll my hub router for a list of active DMVPN spokes, and NHRP seems like the best thing to check, but I can't find any MIBs for NHRP outside of the Frame Relay context. T

  • VC 7.3 error during deploy

    Hi, all. We have upgraded our BI dual stack server to 7.3. First time I started the VC 7.3 and created a simple composite application. When I deploy, it keeps returning "a server error has occurred ...." on the storyboard. I have turned on VC tracing