BAPI_MATERIAL_MAINTAINDATA_RT-Purchasing View

Hi all,
I have to upload the data for MM41 transaction.
In the 'BAPI_MATERIAL_MAINTAINDATA_RT' purchasing view is not available. i have to select all views how can i do? Plz help.
Regards
Priyaranjan

Hi all,
I have to upload the data for MM41 transaction.
In the 'BAPI_MATERIAL_MAINTAINDATA_RT' purchasing view is not available. i have to select all views how can i do? Plz help.
Regards
Priyaranjan

Similar Messages

  • BAPI_MATERIAL_MAINTAINDATA_RT ---Article with purchasing view

    Hi,
    I am using BAPI_MATERIAL_MAINTAINDATA_RT  to create Article. I am able to create article using Basic view, Log. DC view etc.
    There is no purchasing view in HEADDATA. Also  fields like Purchase organization, net price etc are not present in any structure.How to create an Article  with purchasing view using this BAPI.
    Please help me in this regard.
    Regards,
    Kiran.

    Hi,
    I had the same problem with this bapi. To activate the purchasing view
    I used WRF_MATERIAL_MAINTAINDATA_RT to create the materials.
    You must put attention how works the mm41 and fill the segments in this
    that you need.
    *& Report  ZTEST_BAPI_EXTENDEDUPDATE
    REPORT  ztest_bapi_extendedupdate.
    DATA: headdata TYPE bapie1mathead.
    DATA: return TYPE STANDARD TABLE OF bapireturn1.
    DATA: lwareturn TYPE bapireturn1.
    DATA: organizational_level TYPE wrfscreenvalues.
    DATA: clientdata  TYPE STANDARD TABLE OF bapie1marart WITH HEADER LINE.
    DATA: clientdatax TYPE STANDARD TABLE OF bapie1marartx WITH HEADER LINE.
    DATA: addnlclientdata TYPE STANDARD TABLE OF bapie1maw1rt  WITH HEADER LINE.
    DATA: addnlclientdatax  TYPE STANDARD TABLE OF bapie1maw1rtx WITH HEADER LINE.
    DATA: unitsofmeasure  TYPE STANDARD TABLE OF bapie1marmrt  WITH HEADER LINE.
    DATA: unitsofmeasurex TYPE STANDARD TABLE OF bapie1marmrtx WITH HEADER LINE.
    DATA: salesdata  TYPE STANDARD TABLE OF bapie1mvkert WITH HEADER LINE.
    DATA: salesdatax  TYPE STANDARD TABLE OF bapie1mvkertx WITH HEADER LINE.
    DATA: inforecordgeneral  TYPE STANDARD TABLE OF bapieina WITH HEADER LINE.
    DATA: inforecordpurchorg  TYPE STANDARD TABLE OF wrfbapieine WITH HEADER LINE.
    headdata-material = '000000000000400121'.
    headdata-matl_type = 'ZMES'.
    headdata-matl_group = '101210501'.
    headdata-matl_cat = '00'.
    headdata-ref_matl = '000000000000448590'.
    headdata-basic_view = 'X'.
    headdata-list_view  = 'X'.
    headdata-sales_view = 'X'.
    headdata-logdc_view = 'X'.
    headdata-pos_view = 'X'.
    organizational_level-material = headdata-material.
    organizational_level-matl_type = headdata-matl_type.
    organizational_level-matl_group = headdata-matl_group.
    organizational_level-matl_cat = headdata-matl_cat.
    organizational_level-ref_matl = headdata-ref_matl.
    organizational_level-purch_org = 'SPC1'.
    organizational_level-vendor = '20400353'.
    organizational_level-info_type = '0'.
    *organizational_level-plant = ''.
    *  Llena clientdata
    clientdata-material  = headdata-material.
    clientdata-base_uom  = 'ST'.
    APPEND clientdata.
    clientdatax-material  = headdata-material.
    clientdatax-base_uom  = 'X'.
    APPEND clientdatax.
    addnlclientdata-material    = headdata-material.
    addnlclientdata-sales_unit  = ''.
    addnlclientdata-li_proc_st  = 'B1'.
    addnlclientdata-li_proc_dc  = 'B1'.
    addnlclientdata-list_st_fr  = sy-datum.
    addnlclientdata-list_st_to  = '99991231'.
    addnlclientdata-list_dc_fr  = sy-datum.
    addnlclientdata-list_dc_to  = '99991231'.
    addnlclientdata-sell_st_fr  = sy-datum.
    addnlclientdata-sell_st_to  = '99991231'.
    addnlclientdata-sell_dc_fr  = sy-datum.
    addnlclientdata-sell_dc_to  = '99991231'.
    APPEND addnlclientdata.
    addnlclientdatax-material    = headdata-material.
    addnlclientdatax-sales_unit  = 'X'.
    addnlclientdatax-li_proc_st  = 'X'.
    addnlclientdatax-li_proc_dc  = 'X'.
    addnlclientdatax-list_st_fr  = 'X'.
    addnlclientdatax-list_st_to  = 'X'.
    addnlclientdatax-list_dc_fr  = 'X'.
    addnlclientdatax-list_dc_to  = 'X'.
    addnlclientdatax-sell_st_fr  = 'X'.
    addnlclientdatax-sell_st_to  = 'X'.
    addnlclientdatax-sell_dc_fr  = 'X'.
    addnlclientdatax-sell_dc_to  = 'X'.
    APPEND addnlclientdatax.
    unitsofmeasure-material   = headdata-material.
    unitsofmeasure-alt_unit   = 'ST'.
    unitsofmeasure-ean_upc    = '7702111342224'.
    APPEND unitsofmeasure.
    unitsofmeasurex-material   = headdata-material.
    unitsofmeasurex-alt_unit   = 'X'.
    unitsofmeasurex-ean_upc    = 'X'.
    APPEND unitsofmeasurex.
    "inforecordgeneral-info_rec ='5300002556'.
    inforecordgeneral-material = headdata-material.
    inforecordgeneral-mat_grp = headdata-matl_group.
    inforecordgeneral-vendor = organizational_level-vendor.
    inforecordgeneral-po_unit = 'ST'.
    *inforecordgeneral-base_uom = clientdata-base_uom.
    APPEND inforecordgeneral.
    inforecordpurchorg-material = headdata-material.
    inforecordpurchorg-vendor = organizational_level-vendor.
    "inforecordpurchorg-info_rec = '5300002556'.
    inforecordpurchorg-purch_org = organizational_level-purch_org.
    inforecordpurchorg-info_type = '0'.
    inforecordpurchorg-pur_group = 'GC1'.
    inforecordpurchorg-currency = 'MXN'.
    APPEND inforecordpurchorg.
    BREAK-POINT.
    CALL FUNCTION 'WRF_MATERIAL_MAINTAINDATA_RT'
      EXPORTING
        headdata             = headdata
        organizational_level = organizational_level
        badi_callmode        = '99'
      TABLES
        return               = return[]
        clientdata           = clientdata[]
        clientdatax          = clientdatax[]
        addnlclientdata      = addnlclientdata[]
        addnlclientdatax     = addnlclientdatax[]
        unitsofmeasure       = unitsofmeasure[]
        unitsofmeasurex      = unitsofmeasurex[]
    *    plantdata             = plantdata[]
    *    plantdatax            = plantdatax[]
    *    salesdata             = salesdata[]
    *    salesdatax            = salesdatax[]
        inforecord_general    = inforecordgeneral
        inforecord_purchorg   = inforecordpurchorg
    BREAK-POINT.
    READ TABLE return INTO lwareturn WITH KEY type = 'E'.
    IF sy-subrc NE 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    ENDIF.

  • Creation of Article with purchasing view.

    Hi,
    I am using BAPI_MATERIAL_MAINTAINDATA_RT  to create Article. I am able to create article using Basic view, Log. DC view etc.
    There is no purchasing view in HEADDATA. Also  fields like Purchase organization, net price etc are not present in any structure.How to create an Article  with purchasing view using this BAPI.
    Please help me in this regard.
    Regards,
    Kiran.

    Hi,
    I am using BAPI_MATERIAL_MAINTAINDATA_RT  to create Article. I am able to create article using Basic view, Log. DC view etc.
    There is no purchasing view in HEADDATA. Also  fields like Purchase organization, net price etc are not present in any structure.How to create an Article  with purchasing view using this BAPI.
    Please help me in this regard.
    Regards,
    Kiran.

  • Article creation--How to create purchase view

    Hi,
    I am using BAPI_MATERIAL_MAINTAINDATA_RT to create Article. I am able to create article using Basic view, Log. DC view etc.
    There is no purchasing view in HEADDATA. Also fields like Purchase organization, net price etc are not present in any structure.How to create an Article with purchasing view using this BAPI.
    Please help me in this regard.
    Regards,
    Kiran.

    Hi,
    I am using BAPI_MATERIAL_MAINTAINDATA_RT to create Article. I am able to create article using Basic view, Log. DC view etc.
    There is no purchasing view in HEADDATA. Also fields like Purchase organization, net price etc are not present in any structure.How to create an Article with purchasing view using this BAPI.
    Please help me in this regard.
    Regards,
    Kiran.

  • Fields are missing in Purchasing View

    Dear Experts,
    We have developed Work flow to create material.The work flow cycle follows like this
    <b>User1-Basic Data1&2,User2-Sales Views,User 3-Purchasing View,User4-MRP Views and User5- Finance and Accounting Views...</b>
    For this we made an option in Basic Data1 view.There is a field called <b>Lab/Office</b>,we customized this field for our purpose.
    1.If we give value as 1, system will trigger user to create a material through work flow.
    2.If we give value as 2,system will come out of work flow,and user can create a material as normal.
    Now we got an issue like this...when user has created a material through work flow,in Purchasing View some fields are missing...<b>Purchasing Group,Plant-sp.matl status,Tax ind. f. material,Qual.f.FreeGoodsDis,Autom.PO</b>....
    While creation of material this Purchasing Group field is appearing at the time of MRP1 and after creation of material,when we go for display material it is showing <b>Purchasing Group,Plant-sp.matl status,Tax ind. f. material,Qual.f.FreeGoodsDis</b> fields.....
    Why it is happening like this???Does this Lab/Office Field has got any affect on work flow???
    Please reply me...
    Regards
    MK

    Dear Ashish,
    We had given authorization to user.
    I would like to ask one more thing,with this particular user we tried to create a material through normal procedure with MM01.Then also in Purchasing View Screen,some fields are missing.
    <b>Purchasing Group,Plant-sp.matl status,Tax ind. f. material,Qual.f.FreeGoodsDis,Autom.PO....</b>...
    We tried to create with other user,then we can see all field Purchasing View....
    So is there any settings on user specific for these fields???
    Please Do Reply me....
    Regards
    MK

  • Missing fields in Purchasing View

    Dear all,
    We have got an issue like this.For our client we are using Workflow to
    create a material.For this we made a process like this .
    User1-Basic Data1&2
    User2-Sales Views
    User3 or User4-Purchasing Views.Both are having same roles in workflow.
    User5- MRP1,2,3&4 Views
    User6- Finance&Costing Views
    When we create a material,we are getting an issue in Purchasing View.
    In Purchasing View User 3 able to see all fields in Purchasing view.
    If User 4 tried to fill the data for this Purchasing View some fields
    are hidden,which we are not able to see.The missing fields are as
    follows.
    Purchasing Group,Plant-sp.matl status,Tax ind. f.
    material,Qual.f.FreeGoodsDis,Autom.PO,but both user3 and user4 share
    same roles in workflow.
    After that we had given SAP_ALL to User4 and tried to create a material
    using standard MM01,then also we are not able to see all fields in
    Purchasing View.But User 3 is able to see those fields through MM01 too.I have attached a document,please go through it.
    What would be the reason for this?Please suggest us possible
    solution,as soon as possible.
    Regards
    Ganesh.

    Hi,
    Option:1=>For user 3 and user 4 , problems in cretaion of material difference, Consult your Basis  Consultant.
    Option:2=>For hidden field,follow below steps( in user 3 , check and correct for user 4)
    1. Just click the tab ,(Which is hidden for user 4, in user 3 )and get the field name
    2.Go to T.Code: OMSR and enter that field name and get Selection Group in user 
    3.In USER 4,Go to T.code: OMS9 and select your material type and go to "overviews" .In the next screen, you can see your field selection Group, click that and you can make that field  required entry for User4 and save.
    Now try to create material in USER 4.
    Hope helpful to you and then reward.
    Regards,
    Biju K

  • Purchased items not showing in Purchased View

    So I have this view of an album in the iTunes store, clearly showing it was purchased.
    http://i.imgur.com/50nuXQm.png
    but the album is not visible in my 'Purchased' view via iTunes or any other device.
    What gives?
    I contacted support and a 20 minute chat session led to the representative regranting me the album. I was able to re-download it in iTunes but it's still missing from the Purchased view!

    Did you download the movie on a device?
    If you can't find the movie you downloaded on your iPad, iPhone or iPod Touch, check inside your Videos App

  • Activating auto PO Check Box in the purchasing view for plant level.

    Hi Techies,
    Right now i have an issue related to auto PO check box in the purchasing view for the plant level. There are three plants A,B,C.. For the plants A and B the automatic PO check box is visible and the user is able to provide input values. But when it comes to plant C the auto PO field is not available and hence the user is unable to provide input for auto PO.
    Is there any configuration to be done to activate the auto PO check box in the purchasing view in the material master with respect to plant C?
    If so could you please guide me with the settings?
    Thanking you in advance.
    Regards,
    Gopalakrishnan.S
    Edited by: krishu100 on Jul 13, 2011 2:25 AM

    Hi Techies thanks for you all info.
    Now today i just tried to created a new HALB Material in the plant C which i had issues yesterday. But when i created today a new material the Auto PO feild is available for entry. THen i tried to go to the material which i created yesterday for editing it. But i was unable to do it.
    I checked the transactions which most of you referred(Very Useful). I found that all the plant s had the same screen selction setting and set as Opt Entry. The field screen referrence for MM01, MM02 Transaction s are also set as opt entry. The screen reference for HALB is also set as Opt entry. Still i m not able to find the field auto PO in the purchasing field.
    So does it mean that a material once created without auto PO enabled or visible can never be updated after that? But i think its not the case and we should be able to edit it(correct me if im wrong).
    Really having my fingers crossed to find a solution for this issue.
    Regards,
    Gopalakrishnan.S

  • PO creation without Purchasing view in material master

    Hi
    i am using 4.6 version
    system is allowing to create PO without purchasing view in material master.
    how it would be possible ?
    Regards
    Rahul

    Hi,
    i have checked with MARA for that material PSTAT value it is showing there "KDALBPCGV"
    please suggest
    regards
    rahul

  • Significance of purchasing view in Material master

    Hi,
    What is the significance of purchasing view in Material master.
    What could be effect if this view is not maintained?
    Like for material type FERT there is no Purchasing view, but we can do procurement for FERT items.
    So what is the significance of purchasing view in Material master?
    Uts

    Hi,
    I cant Agree your statement,because for the Purchasing Activities it is mandatory that you Maintain the Purchasing view of the Material.
    it Gives a error ..material not maintained by Purchasing.
    Material XXXXXX not maintained by Purchasing
    Message no. ME046
    For Inhouse Production through Quota arrangement,it can be optional.
    but for the remaining cases ,it is Mandatory.
    and the Material type your are speaking is FERT.which is standard material type for Finished products.
    if you are having External Procuremnt 100% sure it would be having Purchasing Tab activated .
    if not so that,if it is a inhouse production.
    check it in OMS2 ..for clear information
    Regards
    Anjanna.

  • Material Group field is Missing in Material Master - Purchasing view ?

    Hai Experts,
                      I want to configure to bring back Material Group field is Missing in Material Master - Purchasing view.  It is mandatory to Create & save a master. I cant save a master in sandbox. Need Help..

    I make all field as Optional & Create master successfully.. Thanks.. I even verfied in J1ID Master for assesable value &  Chapter ID Combination.. But in Cenvat Determination Field,  How i can set Default Indicator for Modvat "tick" & how can i set Excise Intimation Date also.
    I checked Material Master in mm03 [ Display].
    I clicked More & Pre Vals. option in  Foreign Trade Import.
    For More, It shows this error.
    Record 21 MORE  does not exist in table T133E
    Message no. M3748
    For Pre vals., It shows this error.
    Record 21 J1PR  does not exist in table T133E
    Message no. M3748
    Kindly guide me..
    Thanks & Regards
    Swetha

  • BAPI_MATERIAL_SAVEREPLICA - Where to pass the Purchasing View data

    Dear Friends,
    We are using BAPI_MATERIAL_SAVEREPLICA to create a material. Please let us know in which structure should we pass the purchasing view data such as follows:
    Vendor No
    FOB cost
    Purchasing Org

    Hi u can refer this .
    This is for BAPI_MATERIAL_SAVEDATA purchase view.
    *Purchasing
          PERFORM conversion USING wa_data-BSTME CHANGING BAPI_MARA1-PO_UNIT.
          BAPI_MARA1-VAR_ORD_UN = wa_data-VABME.
          BAPI_MARC1-PUR_GROUP = wa_data-EKGRP.
          BAPI_MARA1-BATCH_MGMT = wa_data-XCHPF1.
          BAPI_MARC1-GR_PR_TIME = wa_data-WEBAZ.
          BAPI_MARA1-MANU_MAT = wa_data-MFRPN.
        Begin of changes +MR25092009
          BAPI_MARA1-PUR_VALKEY = wa_data-EKWSL.
        End of changes +MR25092009
          BAPI_MARAX-PO_UNIT = 'X'.
          BAPI_MARAX-VAR_ORD_UN = 'X'.
          BAPI_MARCX-PUR_GROUP = 'X'.
          BAPI_MARAX-BATCH_MGMT = 'X'.
          BAPI_MARCX-GR_PR_TIME = 'X'.
          BAPI_MARAX-MANU_MAT = 'X'.
        Begin of changes +MR25092009
          BAPI_MARAX-PUR_VALKEY = 'X'.
        End of changes +MR25092009

  • How to list material without having purchasing view ?

    hi, guru
    Is it possible to list all material without having purchasing view in material master ?
    Any recommend standard transaction to be useful except mm50?
    Is it possible to list in any table through transacation se16 ?

    Dear,
    There are 2 solutions for your query...
    1. Check table MARA , for the material maintenance status are present each alphabet depicts the views maintained
    A Work scheduling
    B Accounting
    C Classification
    D MRP
    E Purchasing
    F Production resources/tools
    G Costing
    K Basic data
    L Storage
    P Forecasting
    Q Quality management
    S Warehouse management
    V Sales
    X Plant stocks
    Z Storage location stocks
    2.Check table MSTA. There you will not only find the maintained views (PSTAT), but also the related org level (plant, storage loc, sales channel etc.)
    Regards,
    Syed Hussain.

  • CRM Product Masterial Purchasing View in CRM 2007

    I was told in CRM 2007 product master data there is purchasing view available and with plant information. My understanding is only Sales View of MM in ECC gets download into CRM. Am I missing something here? Anyone can give some input on this issue or clarification?
    Thanks

    Hi,
    sometimes solutions appear so fast :-).
    To fix this problem you just have to understand the help documentation. That was my problem to. What do sap mean by
    TYPE caller
    TYPENAME crmproductsimulation
    PARNAME scenario.xcm
    VALUE <b>my_crmproductsimulation (name of the customer's application configuration)</b>
    In the xcm configuration http://<WAS IP>:50100/ipc/admin/xcm/configTreeSelect.do you have to create a customer application. Thats it and then you have to link it over crm_ipc_prop.
    Howto: go to the xcm configuration. Go into EDIT mode.Select application configurations. Then select crmproductsimulation or crmordermaintain. Then add a name for the 'Create customer application configuration based on this SAP application configuration'. I suggest naming conventions e.g. ordermaintain for crmordermaintain and productsimulation for crmproductsimulation.
    Afterwards choose the right systemconnection for parameter jcodata.
    Then maintain comm_ipc_prop and use this name as value for the above mentioned parameter (scenario.xcm).
    Thats all.....
    I Think that will shurly solve you problem. By questions just contact [email protected]
    Wish a lot fun with configuration in CRM
    Yours Mark

  • Material Master Data purchasing view

    Hi, All,
    I have question on material master data purchasing view. There are 2 indicators.
    One is 'automatical purchase order', what effect if I tick this box? Another is 'Source List', what effect if I tick this box?
    Thanks for your answer in advance

    Defines that purchase orders are generated automatically when purchase requsisitions are converted into purchase orders.
    Use
    If this indicator is flagged, the system does not display the purchase orders on the screen before they are saved.
    Dependencies
    In the master record for the vendor with whom the material is ordered, the field "Automatic purchase order" must be flagged in the control data for the purchasing data.
    If the source list is ticked, system expects a source list for the material with a vendor and it will not allow to create PO giving a error message,source not included despite of source list requirement if it is not created.
    Regards,

Maybe you are looking for

  • Can't connect to wireless printer D110 Photosmart

    I've tried several times now to connect to this printer wirelessly - I'm in college and it is my roommate's printer, and she apparently didn't got through the whole process of inserting the cd and going through installation and so on, but is effectiv

  • Iweb photo page resizes photos

    It seems no matter what I do I cannot get an iweb photo page to NOT resize my photos. On a photo page I have gone to the inspector and selected none and original for the photo download size and iweb still resizes the photos when I publish to a folder

  • Dbghelp.pdb - file not found

    Hi - I recently installed Win SDK 8.1. I have setup my environment variable, However when reloading full symbols. I get the log below. I have un installed and re installed the SDK with the same issue prevailing. SYMSRV:  c:\symbol\dbghelp.pdb\B4CDB1D

  • Lumia 710 update to WP 7.8

    Dear Nokia,           I am Wessam Moffed from Egypt. I knew lately that there is an update available for my phone ( nokia lumia 710 ) to the new version of windows phone 7.8 . but my phone doesn't show any signs pf updates and when I connected to zun

  • Rented movie downloaded but will not play

    I have an USA Apple account. I am currently in the Philippines. I rented a movie thru Itunes. It is downloaded but will not play. Is there a fix for this?