MR22 Mass Material BAPI/BDC

Hi Guru!
Need some help.
My problem is to start MR22 with mass Materials and Amounts using also field KONGR-Revaluation Reasn.
1. I Was trying BDC, but it can be used maximum wtih 9 materials. When i try to put f.e. 13 materials, call transaction return me an error MSGID = 00, MSGNR = 349, MSGV1 = CKI_MR22_0250-MATNR, MSGV2 = (10)
2. Can't use  BAPI_M_REVAL_CREATEPRICECHANGE and export parameter KONGR-Revaluation Reasn.
Thank you!
Regards,
Artiyom.

Partially solved.
1. For BDC was helpful thread How can we scroll the table control in bdc. Is there any process.
    But in my case : The key is to use PageDown. It has its own code:  bdcdata_wa-fval = '=DOWN'.
2. But I still have no idea what BAPI to use for this procedure.

Similar Messages

  • Creation of Material using BDC Session method & global class

    Hi
    Creation of Material using BDC Session method & global class by using oops.
    can anyone plz help me out

    Hi,
    it looks like it's not possible to call this BAPI wihtout material number. Here is a quote from BAPI documentation.
    When creating material master data, you must transfer the material
    number, the material type, and the industry sector to the method. You
    must also enter a material description and its language.
    Cheers

  • Mass Material Master Records Extension

    Hi All,
    Mass Material Master Records Extension
    I have a list of 50 materials.
    I want to extend them to new sales areas and plants.
    Is there a t-code for mass extension of material master records,
    Please advice
    thanks in advance
    Rgds
    Priyanka

    The Options are:
    1. LSMW
    2. SCATT
    3. BDC
    It is not recommended through MM17 ot MASS.
    Abap help can be taken to develop the BDC / LSMW accordingly.
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Mass maintenance and BDC Recodring of custom fields added in PO header.

    Hello Experts,
    I have created a custom fields in PO header and used  Structure for BADI implementation to update the header with values enterd in custom table.
    My requirement is for some selected PO i want to fix the value of one of my custom field at header level.
    I have tried both the options Mass maintenance and BDC recording but the issue i'm facing is when i go for mass maintenance it is giving me the ERROR and it seems that we can only do the mass maintenance for sap-standard fields only.
    When i go for BDC recording i'm facing the issue that when i do SHDB and start recording  for ME22N my custom field is coming  grayed out and i'm not able to input the desired value in custom field and complete my recording.
    Let me know your valuable inputs .
    Thanks,
    Naveen

    Hello,
    Instead of BDC i'm doing it through the BAPI   "BAPI_PO_CHANGE" by populating the structure extensionin but here i'm facing the error as below:-
    W     ME     887     Error transferring ExtensionIn data for enhancement CI_EKKODB
    E     BAPI     003     Instance 4500001544 of object type PurchaseOrder could not be changed
    below is my code:-
    ls_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
        ls_extensionin-valuepart1+0(10) = wa_po-ebeln.
        ls_extensionin-valuepart1+14(3) = no.
        append ls_extensionin to lt_extensionin.
        clear:ls_bapi_te_bg,ls_extensionin.
        ls_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
        ls_extensionin-valuepart1+0(10) = wa_po-ebeln.
        ls_extensionin-valuepart1+10(1) = 'X'.
        append ls_extensionin to lt_extensionin.
        clear:ls_bapi_te_bg,ls_extensionin.
        call function 'BAPI_PO_CHANGE'
            exporting
              purchaseorder                = wa_po-ebeln
            tables
              return                       = it_bapireturn
              extensionin                  = lt_extensionin
        if it_bapireturn[] is initial.
          call function 'BAPI_TRANSACTION_COMMIT'
            exporting
              wait   = ' '
            importing
              return = it_bapireturn.
        endif.
        refresh lt_extensionin[].
      endloop.
    Please let me know if there is any way to achieve this.
    Thanks,
    naveen

  • Activation Inspection Type of Material through BDC

    Dear Experts,
    Can anyone tell me how to activate the inspection type of material by using bdc or is there any sample program to do so.
    I have written the program for uploading inspection type for material using bdc. But when i upload the data by default Accounting1VIEW  gets selected instead of QM. What can be the reason. Help me to track the error and resolve.
    Regards.
    Edited by: Govinder Singh on Jan 27, 2010 12:28 PM
    Edited by: Govinder Singh on Jan 27, 2010 12:29 PM

    Hi,
       In standard inspection type field is ' Art ' . Check QALS table where you can find this field & if 03 inspection type is maintained it will store in qals table.
    Regards,
    Himanshu

  • Custom Field is not updating using MM17 ( Mass Material Maintenance )

    Dear All,
          I have created 1 custom field in MRP1 view of MM01 tranction & that field saved into MARC table. It is working fine & I am able to change also that field using tranction code MM02. But Problem is that I want to change that custom field of material master using tranction code MM17 , which is for mass Material Maintenance. So to edit custom field of material master from MM17 what I need to do?  Please suggest...
    Regards
    Pradip Pawar

    Hi,
    Follow the below procedure,
    1. In table MARC  custom fields need to be add using append structure. For that need to create data elements & domain for      corrosponding fields.
    2.In SE51 need to copy standard program SAPLMGD1 & screen 2481( In your case screen would be different ) in to Z program.     
    3.Now in to the layout of  Z program need to add custom fieldu2019s which we defined using append structure in MARC table.
    4.Need to add Field statment for the new custom fieldu2019s into the PAI Flow logic of Z program inside CHAIN...ENDCHAIN statement.
    5.Need to run transaction OMT3B and then copy screen sequence no. 21 into our Z screen sequence say Z1.
    6.Once screen sequence is copied into screen sequence Z1. select sequence Z1 and double click on data screen folder.Select  screen sequence with description MRP1 and after selecting it double click on Folder 'Subscreen ' and change the program given for screen no 2481 with our Z program name and Save.
    Imp Note - Refer SAP Note no. 44410.
    Regards,
    Pradip Pawar

  • BAPI, BDC ,ALE

    Hi
    Can any one tell me the difficulties faced while working with BAPI BDC ALE .
    Bharathi

    HI Bharathi,
    U have wrongly posted the thread in BI area. If u need any answers then post it in ABAP area.
    Bhaskar

  • Mass Material Stock ckeck

    Hi All,
    I am having 150 material in dead stock, i want to wash up all the materials. But before wash up i want to check the stock of all materials , how we can check the stock of all the materials in one shot.
    what we have to do , which t-code we have to use for mass material stock check./

    dear avi
    t code : Display Stock List  MB52
    other usefull t codes
    Display Stock List MB52
    Display Stock in Transit Cc MB5T
    Display SLED/Date of Production MB5M
    Display Valuated Special Stock MBBS
    Display Stocks with Subcontractor MBLB
    Display Availability Overview CO09
    Display Stocks for Posting Date MB5B
    Display Material Items MR51
    Display Cancelled Material Documents MBSM
    Display Material Document for Reason for Movement MBGR
    Read/Display Material Document Archive MBAL
    Display Consignment Stocks MB54
    Display Customer Consignment Stock and Returnable Packaging with
    Customer
    MB58
    above tcode will display you all stock list within a number range.
    hope this will solve ur problem
    Reward points if helpful
    thanks and regards
    ravikant dewangan

  • BAPI & BDC ?

    what is the difference between BAPI & BDC ?

    Hi
    <b>BAPI</b>
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module
    ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access.
    Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects.
    You create business objects and those are then registered in your BOR (Business Object Repository)
    which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA.
    In this case u only specify the business object and its method from external system
    in BAPI there is no direct system call. while RFC are direct system call.
    Some BAPIs provide basic functions and can be used for most SAP business object types.
    These BAPIs should be implemented the same for all business object types.
    Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs.
    Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    Check these Links out
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html
    http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm
    http://www.sap-img.com/fu033.htm
    http://www.sap-img.com/abap/ale-bapi.htm
    Refer following SDN threads:
    Diff. Between BAPI and RFC
    Re: BAPI and RFC
    <b>
    BDC:</b>
    Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
    Features :
    BDC is an automatic procedure.
    This method is used to transfer large amount of data that is available in electronic medium.
    BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
    BDC uses normal transaction codes to transfer data.
    Types of BDC :
    CLASSICAL BATCH INPUT (Session Method)
    CALL TRANSACTION
    BATCH INPUT METHOD:
    This method is also called as ‘CLASSICAL METHOD’.
    Features:
    Asynchronous processing.
    Synchronous Processing in database update.
    Transfer data for more than one transaction.
    Batch input processing log will be generated.
    During processing, no transaction is started until the previous transaction has been written to the database.
    CALL TRANSACTION METHOD :
    This is another method to transfer data from the legacy system.
    Features:
    Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    Updating the database can be either synchronous or asynchronous. The program specifies the update type.
    Transfer data for a single transaction.
    Transfers data for a sequence of dialog screens.
    No batch input processing log is generated.
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sap-img.com/abap/learning-bdc-
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html

  • Diffenece B/n BAPI & BDC

    Hi Gurus,
    Could any body give me the Exact Diffenece B/n BAPI & BDC
    Regards
    Vijaya

    Hi Vijaya,
    A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to interact and integrate
    with each other at the Business Object / Process level.
    Check this link to know more about BAPI.
    http://www.sapgenie.com/abap/bapi/example.htm
    http://sappoint.com/abap/
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a
    typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form
    of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The
    transaction is then started using this internal table as the input and executed in the background.
    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.
    It can also be used for real-time interfaces and custom error handling & logging features. .
    To know more about BDC,
    check the link.
    http://sappoint.com/abap/
    Main differences are...
    In case of bdc data transfer takes place from flat file into sap system ie the file existing in sap system to sap sytem
    where is bapi's r remotly enabled function modules which are assigned to some business objects n used to transfer the data between different business partners who are using different systems other than sap.
    not only that...
    when you plan to upgrade your system version then bdc willnot support those upgradations where as bapi's will support.
    Reward points, if useful.
    Regards,
    Nitin.

  • BAPI/ BDC in program

    Hi All,
            I am using a 2 BAPI's and 3 BDC's in a program. I need all these BAPI and BDC's update the tanscations in a single bundled task?  that is if any of BAPI or BDC failed the sucessful BAPI/BDC should be rolled back. How can I make it happen?  Any sample code will be helpful
      All Suggestion will be rewarded.

    Hi,
    This requirement can make the program a complex one. But you can give a try.
    Use BDC session method. At end, check whether all the BAPI's and BDC's are successfull or not, if successful write some code to process all the sessions else don't process all the sessions.
    Hope this helps.
    Thanks,
    Srinivasa

  • To change the classification data for a material using BDC

    I have to update clssification data for material in MM02 using BDC so when i record the transaction MM02 using SHDB i am not able to see the value assignment window which i a able to see when i am changing using MM02 transaction directly. So can anyone have an idea regarding this ?
         I have even tried updating classification data using a BAPI BAPI_OBJCL_CHANGE but i am not getting desired results....can anyone suggest me what are the parameters need to be passed to the BAPI. Thanks in advance for your help....

    Hi Nagarjuna,
                       <b>BAPI_OBJCL_CHANGE</b>  :  This BAPI changes an existing classification, or creates the classification if it does not yet exist. The classification is defined by the required entry fields for the object key (ObjectKey), object table (ObjectTable), class name (AllocDetail-Class_Num), and class type (AllocDetail-Class_Type). The default value for the optional date field (KeyDate) is the system date, on which all classifications become valid. The new characteristics and/or values are transferred to different tables according to data type. Numeric, time, and date characteristics are transferred to table AllocValuesNumNew, character and boolean characteristics are transferred to table AllocValuesCharNew, and currency characteristics are transferred to AllocValuesCurrNew.
    The object key (OBJECTKEY) must be transferred in internal format. This means before conversion exits. For example, a material number must be transferred with leading zeros.
    If the BAPI runs without errors, table Return contains no messages of type "E".
    Assignment created:  message CL735
    Assignment changed:  message CL737
    Assignment not changed:  message CL738
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration.
    Reward points if helpful.
    Regards,
    Hemant

  • MM42 data (Article master) Mass change BAPI????????

    Hi All,
    Is there any BAPI exist which can be used to change MM42 data (Article master).
    Like requirement is to do mass change in article, but the MM42 BDC is taking too long to change in all Articles.
    Any help for BAPI name will be appreciated.
    Regards

    use this function MATERIAL_MAINTAIN_DARK_RETAIL

  • Mass Material Assignment to Cost Object Hierarchy

    Hi,
    I have to assign the materials to Cost Object Hierarchy. I know that it is done thorugh TC- KKPHIE.
    But if I have to assign more than 1000 materials at a time , I cannot do that in mass.
    I tried to do it thorugh LSMW. The system is not allowing it to create LSMW.
    I am stuck. Please let me know is there any other method of material assignment in mass.
    Or any other transaction code.
    Hoping to hear

    Hi Ravi,
    I have tried using LSMW and BDC. Its not working.
    Is there any other transcation of material Assignment to Cost Object Hierarchy.
    regards
    Kami

  • Mass Material Read

    Hi,
    I have a requirement to read all material master data(basic data, plant data.. & other views data) in mass scenario. Is there any specific function module already available for this?
    I have checked the existing BAPIs and most of them support just a single material.
    Thanks in advance for your help.
    Best Regards,
    Pramod

    Dear Pramod,
    You can create a query using SQVI or else through SQ02 and SQ01 to fetch the data from the tables like
    MARA,MARC,MBEW,MARD.
    Some of the Functional Module's available are
    MATERIAL_PRE_READ_MA00         Mass Access to Table MAKT                       
    MATERIAL_READ_MA00             Read material                                   
    MATERIAL_READ_MA03             Read material                                   
    MATERIAL_READ_MABW             Read material                                   
    MATERIAL_READ_ALL_SINGLE       Reading all material master data in the select single mode
    Check and revert back.
    Regards
    Mangalraj.S

Maybe you are looking for

  • Downloading an app on to my iPad mini takes 15 minutes or more. Is there a way to speed up the process?

    Downloading an app on to my iPad mini takes 15 minutes or more just for one app is there a way to speed up the process?

  • Error message in iPhoto concerning MobileMe

    "An error occurred with the publication of album "Screensaver Photos." Your MobileMe account information is not correct. The provided login or password is not valid." I checked my password in MobileMe, everything seems fine. Any ideas? Thanks very mu

  • Help needed in coding

    Hi Experts, I have put a select statement in a function module which takes a lot of time to pick the data as it has got some complex selections in it. Here is the code: SELECT DOCNUM STATUS CREDAT CRETIM UPDDAT UPDTIM DIRECT IDOCTP MESTYP           F

  • BdAqua, anyone.. I need some SERIOUS advise here..

    For many of you I have been on these forums for quite sometime and now I am in need of SERIOUS advice. With the acquisition of a Power Mac G5 Quad taking over most of my everyday activities which I do on my mac pro, I am in desperate need of trying t

  • .jar files Please help

    Good day all. I am very new to java and admittedly not a very technologically savvy person. However, I play the card game "Magic: The Gathering"? and wish to play online because not any of my friends play. I use a macintosh computer. I researched Mag