Custom Material Master

Hi
I need to upload Material master data through LSMW, for this am using Object               0020   Material master
Method               0000
Program Name         RMDATIND
Program Type         D   Direct Input
<b>Problem is</b>
We created one customised View for Material master and we have some custom fields in that view.
Please can you tell me the procedure of appending the custom fields and view in the Direct input method program.
I am able to pass the custom fields in LSMW direct input program using
SAP NOTE 38299, But the customized view is not reflecting in LSMW Direct input program.
Can you please help me how can i get Customized view in LSMW direct input program.
Regards,
Uma

hi,  In my opinion,  you can check the direct input program, if it support some enhancement,  if so, you can add you logic into it.
If not,  I think you have some enhance logic for the customize screen to update your material information.  Copy RMDATIND to a  Z program, and move these logic into this program.  E.G. update these customize part data yourself, as a additional logic in Direct Input program.
Help it will be helpful

Similar Messages

  • Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)

    Hello everyone,
    I was writing a functional specs. Basically, I want to update the material master MM02 using an IDOC (MATMAS_BAPI01 - Basic Type & MATMAS_BAPI - Message Type). This is currently working.
    To my understanding, this currently uses function module - BAPI_IDOC_INPUT1 to update the material master after the IDOC is posted to SAP ECC from XI system.
    Now I want to add one small validation logic before it actually updates the material master (MM02).
    I looked around and found one exit - EXIT_SAPLMV02_002 in enhancement MGV00001. I was almost sure that this EXIT can be used to write the custom validation code before, actual MM02 updation.
    However while trying to establish a link between this EXIT and BAPI_IDOC_INPUT1, I found that EXIT_SAPLMV02_002 is actually a part of another function module - IDOC_INPUT_MATMAS01 and not BAPI_IDOC_INPUT1. I am stuck here if adding the custom logic in the exit really going to work.
    a bit of googling and I found from WE30 that the purpose of both these function modules are actually different. While BAPI_IDOC_INPUT1  actually create & updates the material master (also plant specific master data which is my need), IDOC_INPUT_MATMAS01 is just for maintenence of few fields in MM02 (may be custom fields).
    Can anyone point out if my thing is in right direction?
    Also please offer any solution where shall I put the Custom Logic in the EXIT or the some variants of
    BAPI_IDOC_INPUT1.
    A less technical explanation would be appreciated as I come from a functional background and invloved in this for writing the func specs. I want to make it sure that what I write is not useless and makes some sense.
    Thanks in advance,
    Arunesh

    Hi Lalit,
    Did some head breaking with the function module - BAPI_IDOC_INPUT1 to check whether it is calling the EXIT_SAPLMV02_002 internally. Couldn't get anywhere.
    On question of another EXIT in BAPI_IDOC_INPUT1, I don't see any. I am not very proficient in ABAP code, I must say though.
    I found the list of exits from google, almost same list everywhere.
    http://www.sapfans.com/forums/viewtopic.php?f=21&t=296637
    here I got the EXIT, I am talking about.
    Any other way to find either the EXIT or link the above?
    -- Arunesh

  • Customer & Material Master data is not saved in SAP 4.7

    Hi All,
    We created a customer in T code XD01 and saved it. system threw a message that "customer 500001 has been saved" but when I tried to check the customer ID 500001 in XD02 and XD03, it says custoemr 500001 has not been created.
    I have checked in table KNA1, KNB1 & KNVV. No data is available in these tables.
    Same case with material master data even.
    Can anyone please tell me what could be the reason for this problem & how to fix it.
    Thanks in advance.
    JM

    Dear JM,
    Goto SNRO- Enter the number range object & click on "Change " icon.
    NR Object: DEBITOR
    Check whether any value maintained in "No. of numbers in buffer",  make it blank & re-create customer.
    It may not be exact route cause of the problem, but could be the reason .
    Test & update the forum.
    Regards,
    Reazuddin MD

  • R/3 To APO , customized material master data Transfer

    Hello All,
    i am having an issue , that we need to add two customized fields (PUP price and Std Price) in /SAPAPO/MAT1, Extra Tab.
    i have added these fields on screen and the output structure for them is assigned as /SAPAPO/MATIO-zverpr, and /SAPAPO/MATIO-zstprs.
    in R/3 Side -I have added these two fields as in CIFMTLCCUS structure, with Include CI_MTLCCUS (custom structure to transfer data).
    also i have fteched these filds from table MBEW and have mapped to Table ot_cif_matloccus of Include ZXCIFU01 of Enhancement CIFMAT01.
    In APO side -but the thing left is that i am not able to find the Mapping Structure in APO side for these fields.
    i have added these fields to Structure /SAPAPO/CIF_MATLOCCUS (Customer Enhancement Structure for /SAPAPO/CIF_MATLOC), but i didnt find any custimzed place to retrieve and Map to /SAPAPO/MATIO.
    please suggest the necessary/missing steps.
    Thanks in Advance.
    Nitin
    Edited by: wisetak on Jun 24, 2011 2:54 PM

    Check these three thigns
    /n/sapapo/CCR
    /n/sapapo/CQ
    Check what type of stock has active IM, and what type of stock went in after you created the GR.
    Still if you have any problem let us know.
    My

  • Sales order does not extract plant information from material master data

    Hi experts,
    I have created a sales order. However, the plant in the shipping tab can only be manually entered.
    I have made the check:
    the customer material master data does not have the plant info.
    the customer master data does not have it either.
    It is defined in the material master data: sales:general/plant
    But the sales order did not extract this information. Why does this happen?
    Thank you in advance.
    Best regards,
    Fan

    Hello Friend,
    As right stated by you,
    The Plant will be copied from the master data to the sales order, if not it should be manually entered
    The Sequence System will search for the Plant is as follow..
    1. Customer material infor record, If it was not maintained then it will search in
    2. Customer master, if the entre was not maintained in the SHIPPING TAB
    3. Finally it will search in the Material master in the Sales organisation data 1 in the field DELVERING PLANT field.
    So please search whether the entry was maintained in that field at the sales:sales organisation data 1.
    This might be the issue.
    Please revert if you want further details
    regards,
    santosh

  • Unable to update MARA table custom field in Material master

    Hi all,
    I have added one custom field in MM01,Basic View 2.
    For that i have apended that field in MARA table and created one subscreen for that.
    This field is visible in MM02/MM01/MM03 in basic data view 2 .
    The issue is that we are not able to save values in MARA table which we entered in this field.
    I cheked earliar in SDN but couldn't get the proper solution.
    i cheked the below available forum discussion link but couldn't get th proper solution.
    In material master How to add a new field on Basic data 1 view
    Regards,
    Amit

    Hi,
    please trye this :
    Please make sure u implemented: methods PUT_DATA_TO_SCREEN and GET_DATA_FROM_SCREEN as they are  required for data transport. These methods are called from within the program of the application at PBO or PAI .
    See below example code:
    PBO:
    MODULE initialize OUTPUT.
    CLEAR: sflight, ok_code.
    IF exit IS INITIAL.
    CALL METHOD cl_exithandler=>get_instance
    CHANGING
    instance = exit.
    ENDIF.
    CALL METHOD cl_exithandler=>set_instance_for_subscreen
    EXPORTING
    instance = exit.
    ENDMODULE.
    The factory method is used to create an instance of the adapter class. You then declare the instance using the public static method SET_INSTANCE_FOR_SUBSCREEN to allow the data for display on the screen to be used in the function group of the user or in the module pool.
    MODULE data_for_subscreen OUTPUT.
    program = sy-repid.
    dynpro = sy-dynnr.
    CALL METHOD cl_exithandler=>get_prog_and_dynp_for_subscr
    EXPORTING
    exit_name = 'BADI_SCREEN'
    calling_program = program
    calling_dynpro = dynpro
    subscreen_area = 'SUB'
    IMPORTING
    called_program = program
    called_dynpro = dynpro.
    CALL METHOD exit->put_data_to_screen
    EXPORTING
    flight = sflight
    EXCEPTIONS
    reserved = 01.
    ENDMODULE.
    PAI:
    MODULE user_command_0200 INPUT.
    CASE save_ok.
    WHEN 'BACK'.
    SET SCREEN 100.
    WHEN 'SAVE'.
    PERFORM save_flights.
    WHEN '+EXT'.
    CALL METHOD exit->get_data_from_screen
    IMPORTING
    flight = sflight
    EXCEPTIONS
    reserved = 01.
    ENDCASE.
    ENDMODULE.
    The method GET_PROG_AND_DYNP_FOR_SUBSCR and the input/output parameters specified above are used to determine the name of the customer program and the name of the subscreen. The method PUT_DATA_TO_SCREEN which is called at PBO as well as the method GET_DATA_FROM_SCREEN which is called at PAI are used to transport the data to be displayed.
    These methods are implemented by the user:
    When you define a screen enhancement, you are strongly recommended to provide sample code for the methods PUT_DATA_TO_SCREEN and GET_DATA_FROM_SCREEN. This code is automatically copied when you create an implementation and can be added to if required. The user of the BAdI definition should not be responsible for the data transport.
    regards,
    ..Pradeep

  • Replication of Customer and Material master from R/3 to CRM

    Hi
    Recently in our quality server basis administrator has made a client copy from production server after that customer master and material master are not flowing from R/3 to CRM, even sales orders were not getting copied from CRM to R/3 , i went through C71 BB config document and fixed the sales orders updation from CRM to R/3 but not able to resolve the problem of customer master and material master from ECC to CRM.
    I went to B09 BB document and all settings are fine.
    Using R3AS I have loaded following objects DNL_CUST_PROD0, PROD1, PROD3, SPROD , DNL_PLANT. and Material.
    I went to R3AM1 and checked the status as running or wait for each object.
    There are no filters in R3AC1 .
    Queue name withR3AD_MATERIA0000000001 has status SYSFAIL in SMQ2  .
    What can i do to resolve this problem.
    Please advice.
    Thanks,
    Vaishnavi

    Hello Vaishnavi,
    After the client copy , have you run txn:BDLS in order to change the LOGSYS in all relevant tables?
    You can run this txn in test mode as well to see the affected tables.
    Are you getting any dump on these load ?Check it in txn:ST22.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Two customer material number assignment for 1 Master material.

    Hi Experts,
    In customer material info records its a one on one mapping, ie for every master material there can be only one cutsomer material number.
    Is it possible to assign two different customer material numbers for one sap material.
    The requirement is for 1 material users wants to keep two customer material info records which can be used in diff scarios as per the requirement.

    Hi,
    Mapping is one to one between material and customer.
    >Is it possible to assign two different customer material numbers for one sap material.
    Yes possible, provided that's for 2 different customers.
    You can have 2 customer material numbers for same customer / same material.
    Same material can have more than 1 customer material numbers, for different customer.
    Best regards,
    Anupa

  • LSMW Method for VD51 Customer-Material Info master data conversion

    Hi,
    I am using LSMW for VD51 Customer-Material Info master data creation but can't able to find any standard BAPI, IDOC or Direct input program.
    Can anybody tell me any standard way to do it or only the recording method possible for this.
    Thanks
    Dhirendra

    Hi,
    I have done this once and used recording method in LSMW. Do the recording from LSMW itself.
    Thanks,
    Jyothi

  • Material Master Upload though LSMW - How to add new custom segments to LSMW

    Hi,
    I have an existing LSMW to create material master idocs (ZMATMAS) from legacy file. Now I need to add new custom segment under E1MARCM, for example say ZMARC1 which will have 2 new custom fields.
    1. I created the segment through WE31 and released it.
    2. I created an extension to ZMATMAS using WE30 and released it.
    Now Im trying to change the LSMW so that I will have the new segment ZMARC1 under E1MARCM so that I can do the field mappings. But I am not able to get it done. i.e. I dont know what should I do so that I can get the new segment in LSMW.
    I tried giving the extension in the first step of LSMW. i.e. Maintain Object Attributes but its not allowing me to give an extension. Do I need to add to the basic type ZMATMAS05 and release it to get it reflected in LSMW.
    Please give your suggestions.
    Thanks a lot in advance.

    Hi
    U can not add u r 'Z' program in Maintian attributes of LSMW.
    But U can create the BAPI and assign Business object, Then u can use u r Business Object in Lsmw.
    Regards,
    Raghu.

  • Add custom field in MRP area-MRP 2 in material master(MM01/MM02/MM03)

    Hi
    As per my requirementn we have to add one field in the Material master(MM01/MM02/Mm03). Mentioned path below.
    MM01/MM02)--> MRP1 tab --> in the MRP areas > click on MRP AREAS button>Pop will come with MRP AREA --> double click on entry > MRP area screen will appear> In MRP2 data tab> i've to add a new custom field. Program Name> SAPLMD_MGD1
    Screen --> 0040
    Is there any exit/customization which can be used to do this?
    i was unable to find a exit for the same.
    Thanks,
    Gauri

    Hi Gauri,
    See Note 44410 - Integrating cust.-specific fields in matl master, I think that it will help you
    Regards
    Eduardo

  • Material master data connect to custom data

    Hi Experts,
         I have transfer material master data from ECC to GTS,I also have created tariff code in GTS system,
    but I just know to connect them by manual, Can anybode tell me ,How to connect them by mass ?

    Hi Billy,
    If you want to classify materials in mass, you can use the classification worklist (there are each for compliance/customs tariff/commodity codes) or upload the material classification from a file.
    There you can select several in an ALV and classify them in once..
    Hope this helps a bit,
    Cheers,
    Branio

  • LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA -Adding Custom Fields

    Hi Gurus,
    I'm developing LSMW for Material Master Upload using BAPI method.
    Object:BUS1001006
    BAPI:BAPI_MATERIAL_SAVEDATA
    MESSAGE TYPE: MATMAS_BAPI
    BASIC TYPE : MATMAS_BAPI03.
    There is a requirement to use/map a custom field. Upon research custom field can be added to the parameter EXTENSIONIN and EXTENSIONINX, but I have no Idea on how to do it with LSMW. Please advise what approach is needed.
    Thanks and Regards,
    Jay

    Hi Gurus,
    I got the following code below.
    The custom field won't get updated.... Please advise on what should I do... I've checked different forums and still can't come up with the solution... Please advise..
    REPORT ztest_extend_matmas1.
    STRUCTURE
    TABLES:
    bapimathead, "Headerdata
    bapi_mara, "Clientdata
    bapi_marax, "Clientdatax
    bapi_marc, "Plantdata
    bapi_marcx, "Plantdatax
    bapi_makt, "Material description
    bapiparex, "Extensionstruktur
    bapiparexx,
    bapiret2. "Return messages
    DATA:
    bapi_te_mara LIKE bapi_te_mara,
    bapi_te_marax LIKE bapi_te_marax,
    v_file TYPE string.
    INTERNAL TABLE
    *to store the output data
    DATA:BEGIN OF it_material_number OCCURS 0.
            INCLUDE STRUCTURE bapimatinr.
    DATA:END OF it_material_number.
    *for materialtext
    DATA:BEGIN OF it_materialdesc OCCURS 0.
            INCLUDE STRUCTURE bapi_makt .
    DATA:END OF it_materialdesc.
    *für z-feld
    DATA:BEGIN OF it_bapiparex OCCURS 0.
            INCLUDE STRUCTURE bapiparex.
    DATA:END OF it_bapiparex.
    *für z-feldx
    DATA:BEGIN OF it_bapiparexx OCCURS 0.
            INCLUDE STRUCTURE bapiparexx.
    DATA:END OF it_bapiparexx.
    *to return messages
    DATA:BEGIN OF it_return2 OCCURS 0.
            INCLUDE STRUCTURE bapiret2.
    DATA:END OF it_return2.
    DATA:BEGIN OF it_return OCCURS 0.
            INCLUDE STRUCTURE bapiret1.
    DATA:END OF it_return.
    DATA
    lt_messages      TYPE bapiret2_t.
    PROCESSING
    *bapimathead-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    bapimathead-ind_sector = 'P'.
    bapimathead-matl_type = 'AEM'.
    bapimathead-basic_view = 'X'.
    bapimathead-purchase_view = 'X'.
    bapimathead-inp_fld_check = 'I'.
    *bapimathead-BASIC_VIEW = 'X'.
    *bapimathead-SALES_VIEW = 'X'.
    *bapimathead-PURCHASE_VIEW = 'X'.
    *bapimathead-MRP_VIEW = 'X'.
    *bapimathead-FORECAST_VIEW = 'X'.
    *bapimathead-WORK_SCHED_VIEW = 'X'.
    *bapimathead-PRT_VIEW = 'X'.
    *bapimathead-STORAGE_VIEW = 'X'.
    *bapimathead-WAREHOUSE_VIEW = 'X'.
    bapi_mara-matl_group = '0001'.
    bapi_mara-old_mat_no = '100-251'.
    bapi_mara-base_uom = 'ST'.
    bapi_marax-matl_group = 'X'.
    bapi_marax-old_mat_no = 'X'.
    bapi_marax-base_uom = 'X'.
    bapi_marc-plant = '1000'.
    bapi_marcx-plant = '1000'.
    it_materialdesc-langu = 'EN'.
    it_materialdesc-matl_desc = 'DESC'.
    APPEND it_materialdesc.
    *bapi_te_mara-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    *bapi_te_mara-zzforst = '4148'.
    bapi_te_mara-material = '100-2520'.
    bapi_te_mara-zzmar_field1 = '4148'.
    *bapi_te_marax-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    *bapi_te_marax-zzforst = 'X'.
    bapi_te_marax-material  = '100-2520'.
    bapi_te_marax-zzmar_field1 = 'X'.
    it_bapiparex-structure = 'BAPI_TE_MARA'.
    it_bapiparex-valuepart1 = bapi_te_mara.
    APPEND it_bapiparex.
    it_bapiparexx-structure = 'BAPI_TE_MARAX'.
    it_bapiparexx-valuepart1 = bapi_te_marax.
    APPEND it_bapiparexx.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        headdata            = bapimathead
        clientdata          = bapi_mara
        clientdatax         = bapi_marax
        plantdata           = bapi_marc
        plantdatax          = bapi_marcx
      IMPORTING
        return              = it_return2
      TABLES
        materialdescription = it_materialdesc
        extensionin         = it_bapiparex
        extensioninx        = it_bapiparexx
        returnmessages      = lt_messages.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    THanks and Regards,
    Jay
    Edited by: jhayyy on May 17, 2011 6:54 AM

  • Customer master/Material Master modification

    Hi,
    We need to modify our customer/material masters with a new field in basic data screen. The field value will be copied to sales order for  necessary processing.
    Although it needs to be done by abapers but I need to give inputs on the exits to be used  and other things which will help them to  code.
    Pls advice on what exits to be used abd how to find them and how to copy the new field value from master data to sales order
    regards

    The field value will be copied to sales order for necessary processing
    My recommendation is not to use any field in Basic Data1 and Basic Data2 which are common across a Company Code and it is not Plant specific or customer specific.  Since your requirement is to fetch to sale order, better try to use any fields in sales view of that material master.
    thanks
    G. Lakshmipathi

  • Enhance Material Master with custom tables

    Hi MM Gurus,
    I would like to enhance the material master data (transactions MM01/2/3) with a new tab (screen) containing some customer fields and Z tables?
    I’ve been looking the follow <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ff/516a6749d811d182b80000e829fbfe/frameset.htm">SAP Help link</a>, “Integration of New Tables in the Material Master”, and SAP Note 44410, but still is not very clear to me how to achieve my goal.
    Can anybody tell me all the steps that I’ve to perform to do that?
    Do you know any other documentation about this issue, like a how-to guide for instance, that I can use?
    Thanks a lot for any help!
    Alexandre

    Hi,
    Firstly I would suggest that you do not do this unless you ABSOLUTELY have to.
    It is not a major modification but there is another more standard way to add fields to material masters and no modification or user exit is required.
    Simply classify the materials and use a characteristic for each additional field you want to add.
    The classification system is very flexible and very powerful and so it can easily handle complex data and interactions with other data. You can add multiple classes and so use whole groups of data. There is also a lot of standard validation as to field contents etc. (Including tables of possible entries etc.)
    So please do consider using classification first (even if you already use classification of your materials). You can also then use the standard search functions on any of the new "fields" .
    No ABAP, No modification and available now !
    Worth considering?
    Steve B

Maybe you are looking for

  • Calling a procedure from a portel report

    I have a report which is returning rows from a dblink, this works fine. I want to select an individual row from the report and write a new record to a diffent table using some of the columns from the row selected. The table I am writting to will be h

  • How can I reset/undo a movement stabilized clip?

    Hello everybody, My question is regarding the dominant movement stabilization that Final Cut Pro X can do. It's very clever, but sometimes does more harm than good, the clips turn into funhouse funhouse mirrors. I believe it's doing its best with my

  • So I converted NTSC to PAL using nattress, but DVD issue now. Please read

    So with Shanes help last night I managed to make the .mov PAL formatted. Now I went into DVD Studio Pro made my menus made sure it was PAL ready and started the burn process. Yet it failed and the reason that DVD said is " Final PAL (Video):Invalid V

  • Removing Flex Stack Configuration from a removed member

    Hi all I'm pretty new to Felx Stack.I tried to stack 4 C2960-48TDL switches.All four switches were configured seperatley with different Managment IPs(192.168.172.11/12/13/14) before stacking.And The highest Up time switch became the master as expecte

  • Storing data in arrays and using Stirng methods

    Hi There! Could any one help me in developing a kind of "PhoneBook" in java? Coding for the following program is required in java(jdk1.2). The problem is to program a PhoneBook in the following way when the program executes A list of following option