Article creation through BAPI_MATERIAL_MAINTAINDATA_RT

Hi,
How can I create article throug bapi BAPI_MATERIAL_MAINTAINDATA_RT.
What all inputs are required?
Is it neccesarry to give material number, can't it generate automatically?
Reagrds,
Divya

Hi Divya,
In BAPI BAPI_MATERIAL_MAINTAINDATA_RT does not contain any field to select purchasing view.
For purchasin view:
After material creation you have to write BDC
or you have to use any FM or you can use IDOC INFREC to create purchase info record for that material
I used INFREC IDOC to create purchse view.
Regards,
Narendra Goyal

Similar Messages

  • BAPI for ARTICLE creation in IS-Retail

    I am creating an Article using BAPI_MATERIAL_MAINTAINDATA_RT by passing below parameters for Basic view.
    1.material type
    2.merchandise category
    3.material category
    4.description
    5.uom
    6.transportation grp
    7.loading grp.
    8.valuation class
    9.tax class
    Also marked X in respective places in structures clientdatax,plantdatax,headdatax etc.
    Anyhow still it showing errors like "key field of table MARA missing"
    I am able to create article from MM41 using above 9 fields.
    What fields shd be passed to this BAPI to create an ARTICLE?
    OR ANY OTHER BAPI/RFC FM EXIST TO CREATE ARTICLE?
    Please help me in this regard.
    Regards,
    Kiran

    Hi Bjorn,
    I have to call BAPI for Article creation from Portal front end.
    so I cant use BAPI_RETAILMATERIAL_CREATE as it goes to MM41 when we execute.
    So I am using BAPI_MATERIAL_MAINTAINDATA_RT to create article.
    I passed all mandatory data which is required to create a article with basic view.
    Using MM41, I am able to create but with this BAPI iam unable to create article.
    Could you please tell me what are the required parameters to be passed in addition to my fields which I  specified below:
    I passed
    HEADDATA--material type,merch.category, material category,basic view marked x.
    MATERIAL DESC--material description
    CLIENT DATA--uom,transportation grp, tax class
    CLIENTDATAX---marked X in above fields
    PLANTDATA-loading grp
    PLANTDATAX-marked x for above field
    ADDL CLIENTDATA--valuation class
    ADDLCLIENTDATAX--marked X for v class
    Please help me in this regard.
    Regards,
    Kiran.

  • ARTICLE CREATION-CLARIFICATION

    Hi to all,
       I need a small clarification on following information.
      When we use T.code MM41 for article creation system will show the following things like,article,article type,mc category,article category. 
               +
      Area's of validity
    purchasing org
    vendor
    vendor subrange
    sales org
    dis,, channel
    dis,,center
    store
       what is the need for this data i.e Area's of validity.

    use of Area's of validity
    purchasing org: An organizational unit in Logistics, subdividing an enterprise according to the requirements of Purchasing.
    A purchasing organization procures materials and services, negotiates conditions of purchase with vendors, and is responsible for such transactions.
    You specify the form of procurement by assigning purchasing organizations to company codes and plants.
    vendor: A business partner from whom article can be procured.
    vendor subrange
    sales org: A organizational unit in Logistics that structures the company according to its sales requirements.
    A sales organization is responsible for selling materials and services.
    dis,, channel: channel through which saleable materials or services reach customers
    dis,,center: Type of plant in which goods are stored for other plants or customers
    store: Type of plant in which goods are presented and sold to consumers

  • Automatic Asset creation through Project settlement

    Dear All,
    We have one issues where in AS02 AUC Asset quantity is in display mode still we can find the quantity there.
    Can any body help me about the Process of Auto Asset creation through Project settlement.
    I need to know how system calculate the Quantity from the Project settlement. if such type of Process exist in SAP
    Thanks
    Abhijeet
    Edited by: Abhijeet  Patil on Oct 5, 2011 3:05 PM
    Edited by: Abhijeet  Patil on Oct 5, 2011 3:05 PM

    Hi,
    There is process in SAP where we can create AuC from Projects. We need to have an investement profile set up and the same needs to be used in the project. You will have the details in SAP Help documnetation for this.
    Regards
    Sreekanth

  • Idoc Generation after Purchase Order Creation through trading contract.

    Hi All,
    When a Purchase Order is created via trading contract, I need to generate an Idoc and pass details of the Purchase Order created to the Partner System.
    Can anyone suggest any Function module or user exit which gets called while Purchase Order creation through trading contract, so that I can fill the Idoc with necessary details of the Purchase Order and send that to the Partner System?
    Thanks in advance.

    Hi Tejas,
    I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
    Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
    Regards
    Shital

  • Function module for Article creation (transaction MM41)

    Hello,
    I have been trying to create an article which is normally done using transaction MM41.
    I am trying to use BAPI_MATERIAL_SAVEDATA to do this, but since article creation is different  from regular material creation, there are fields that are not available, for example article category (MARA-ATTYP).
    Another problem encountered with the BAPI is that the industry section is a required input.  For MM41 it is not a required field.
    Therefore, is there an available function module aside from the BAPI mentioned above that can perform article creation?
    If the BAPI above is sufficient, how can I properly populate the necessary fields?
    Additional information:  requirement is developed in 4.6c.
    provide the code I've been working on if asked.
    Thanks in advance!

    Hello Harsh
    To extend the article to another distribution channel you need to populate the salesdata/salesdatax structures of the BAPI.  For example:
      CLEAR wa_salesdata.
      wa_salesdata-material            = material.
      wa_salesdata-sales_org           = salesorg.
      wa_salesdata-distr_chan          = dstchan.
      wa_salesdata-item_cat            = itemcat.
      wa_salesdata-matl_stats          = '1'.
      APPEND wa_salesdata TO i_salesdata.
      CLEAR wa_salesdatax.
      wa_salesdata-material            = material.
      wa_salesdata-sales_org           = salesorg.
      wa_salesdata-distr_chan          = dstchan.
      wa_salesdatax-item_cat            = 'X'.
      wa_salesdatax-matl_stats          = 'X'.
      APPEND wa_salesdatax TO i_salesdatax.
    I believe the important data you need to have are material, sales org, and distribution channel.
    Hope this helps.

  • Quotation creation through DP81 Error related to Material maintain Inquiry

    Dear All,
    This is related to Quotation creation through DP81.I have maintain A DIP profile and as per my Easy Cost Planning (ECP) in Project System it is capturing in sales price in DP81.Please note that I have maintain three (3) line item in the sales Inquiry.Based on that 3 line item we have maintain three different WBS element in ECP and it is attached to corresponding material no in VA12.
    Now in DP81 system showing the three line item but if we go for Quotation creation one material no is coming for the three line item with different price value.
    I have also maintain these three material in DIP profile in ODP1.Please note that the first material no maintained in DIP profile that is coming not the other material no.
    Please through some light as in our case there are several line item is maintained in quotation.So is it possible to make Quotation with different item and where I have to maintain these material no.
    Thanks
    Suman Sardar

    i checked the characteristic for cost element & Material for CR, MD & Str, i created sets for cost element & the material & i determined the material which i required in the quotation. I am getting an error "no expenditure item found" , can you suggest me now.

  • Problem while SO creation through BDC

    Hi Experts,
    The follow problem  came in log file of SM35 ,while SO creation through BDC for some sales org.
      Runtime error COMPUTE_BCD_OVERFLOW has occurred.
    could you please tell me what is problem.
    Thanks
    jai

    Hi
    It could be the following reasons,
    1. Too many orders
    2. Mismatch in the field, like fields skip a line so data not matching.
    Check these
    <b>Reward if it helped!</b>
    Chandru

  • Mass vendor creation through LSMW

    Hi,
    Could you please let me know the mass vendor creation through LSMW also let me know the text file format?
    Regards
    Nama

    Hi Chandrashekar
    It is very easy to create the LSMW structure for the Vendor load, First thing you have to do is to get all the fields that the business wants to be inputed when you are XK01. Than create a LSMW recording and assign the recording to the structure.
    I can guide you with the creation. I do have a PDF for LSMW which will be very helpful for guidance, But how do i share?

  • Production Order creation through Tcode- CO10.

    Hi,
    Can I restrict new Production Order creation through Tcode- CO10 unless previous order is Techoed / closed.
    Issue : Users having authorisation for CO10, are creating multiple orders without taking them to logical closure. Since budget is getting allocated for the each & every order, in the year end reconcilation becomes difficult.
    Please suggest.
    Regards,
    Vivek S.

    Please post it in PP forum

  • Production Order creation through Tcode- CO10 unless previous order is Tech

    Hi,
    Can I restrict new Production Order creation through Tcode- CO10 unless previous order is Techoed / closed.
    Issue : Users having authorisation for CO10, are creating multiple orders without taking them to logical closure. Since budget is getting allocated for the each & every order, in the year end reconcilation becomes difficult.
    Without using an exit can we achieve it???
    Please suggest.
    Regards,
    Vivek S.

    Hi,
    You had to use the cusomter enhancement for the same
    Thanks
    SUMIT

  • Batch Number creation through DIAPI

    Dear all,
         i tried batch number creation through DIAPI.. but its shows error message [WTR1.Whscode][Line:1],'No matching Records found(ODBC-2028)' any body helpme  in this regard..
    thanks in advance.. here i have attached my coding..
    Dim objLines As SAPbobsCOM.StockTransfer_Lines
            objForm = objAddOn.objApplication.Forms.Item(FormUID)
            Dim objStockTransfer As SAPbobsCOM.StockTransfer
            objStockTransfer =    objAddOn.objCompany.GetBusinessObjectSAPbobsCOM.BoObjectTypes.oStockTransfer)    
            objStockTransfer.DocDate = System.DateTime.Today
            objStockTransfer.TaxDate = System.DateTime.Today
            objStockTransfer.FromWarehouse = "01"
            objStockTransfer.PriceList = 1
            objStockTransfer.Lines.ItemCode = "B000001"
            objStockTransfer.Lines.Quantity = "1"
            objStockTransfer.Lines.WarehouseCode = "BAP"
            objStockTransfer.Lines.BatchNumbers.BatchNumber = "B10"
            objStockTransfer.Lines.BatchNumbers.Quantity = "1"
                  objStockTransfer.Lines.BatchNumbers.Add()
                If objStockTransfer.Add <> 0 Then
                objAddOn.objApplication.SetStatusBarMessage(objAddOn.objCompany.GetLastErrorDescription, SAPbouiCOM.BoMessageTime.bmt_Short, True)
                objAddOn.objApplication.MessageBox(objAddOn.objCompany.GetLastErrorDescription)
            Else
                objAddOn.objApplication.SetStatusBarMessage("Inventory Transfered Successfully", SAPbouiCOM.BoMessageTime.bmt_Short, False)
            End If
    With Regards
    G.shankar Ganesh

    Shankar,
    your code looks fine. just ensure that the warehouse code and batch you are specifying , do exist in owhs and oibt tables respectively, with the specified quantity. ( and the best way to check it is, try stock transfer from UI with the same parameters.)
    also, may be off topic, but, before specifying batch lines, you need to ensure that items are managed by batch or not )
    regards,
    Binita

  • Article creation and listing can be done together in one z program

    Hi Experts,
    Can article creation and Listing be done together in one z program . If yes , then please confirm for the Bapi
    Regards,
    Richa
    Moderator message: please search for available information/documentation before asking.
    Edited by: Thomas Zloch on Nov 24, 2010 1:46 PM

    Please check below thread will be helpful:
    Re: Article creation using BAPI
    Thanks and Regards,
    Chandra

  • Validation while Article Creation Request through Solution Manager

    We are about to implement Solution Manager. We want to automate the process of registering some of the MDM requests through SolMan.
    We want to upload the standard formats which user needs to fill and also want to keep the validation for the minimum requirement in those templates.
    Any help will be appreciated.

    Thanks Ragu;
    This is what I am looking for.
    When a change request is created, we use the e-mail function in Solution Manager. For the Recipient we a valid "email address" . The recipient type is "Via internet.
    Using this sends the e-mail via excjhange server.
    What I am looking for is an "audit trail" of some sort (in Solution Manager) of what e-mails were sent. These do not show up in the "sent" items of outlook.
    Hope this make some sense.
    Regards
    Don Newton

  • PO creation through third system

    Hi Friends,
    We have one process wherein PO is created in thirdparty system & that is being created in SAP through RFC call. Middleware used is Biztalk.
    Now we have new third party system ( BOL) which need to do same job of PO creation. I want to know how process flows while integrating third party system to SAP .What are the details I will require from tool BOL etc. Is there any standard process which I can follow to get this done.
    Thanks,
    Kiran

    Kiran,
    For a PO to be created you need to have the following data
    Document type,Comp code, Purch Org, Purch Grp, Material code, Qty, UOM, Net price, Additional charges if any, delivery date.
    Please create a Custom Table with the above fields in your SAP system. you need to obtain the above data from your third party system through your middle ware system Biz Talk, and store the data in respective fields Please include date and time in the Custom table as fields.
    Create a separate program in SAP system with Date and Time as selection fields.
    The program should call PO creation BAPI and create a PO in SAP system.
    You need to discuss and decide on the timings of the Interface and run the program as a Background Job to create PO in SAP system.
    Hope this helps you.
    Raghavan

Maybe you are looking for

  • Transparent Animated Gif in Keynote 9

    Hello, I have been trying to insert some of my transparent animated gif in Keynote 9 with zero success. I have checked that the background of the file was actually transparent - it is - and I have attempted to use the Alpha tool - not working with gi

  • How to create a user account by mirroring another account in PowerShell (Trying to learn to use Powshell for some daily AD tasks intead of the GUI)

    Hi, I am trying to create user accounts via PowerShell instead of the Gui in server 2008 R2 (PowerShell 2.0). I know how to create a user account with the following Power Shell command below is one from a dummy domain I created to practice. PS C:\Use

  • Gnome3 keyboard layout icon disappeared [SOLVED]

    Hello guys. I'm using Gnome3 and have no idea how to edit applets in the panel of gnome-shell. The problem is that I don't have keyboard layout icon in panel(With or without useFlags option set in gconf-editor). How can i fix it? And BTW does anyone

  • Can't replace wrong Artwork

    I am using The latest version of i Tunes 8 on a Dell with Windows XP. I added a bunch of audio books and used Google to find the artwork. On disk one of one of the audio books it shows the correct artwork for the first track, and then it shows the ar

  • SNMP Get router bandwidth utilisation

    I've got some problems trying to locate a particular counter using the Mib explorer. My Cisco router is 2801 Software (C2801-IPBASE-M), IOS Version 12.4(1a) I'm trying in vain to locate the input/output rate (in bits/sec) for two of my interfaces. I'