Creation of new material master

Hi friends,
I have development task which goes like this,lets say i have
material with no.ABCD, i need to create a sub material for this main material as an auto creation in back ground process at night which should have number like ABCD/SUB. and copy all th eplant and sales organization and all the details of ABCD in to ABCD/SUB.
Can u friends help me out to acheive this task?
I tried using MANTAIN MATERIAL DARL and BAPI_MATERIAL_SAVE DATA,,
but nothing is workign out. If i dont find any function moduled then i need to use BDC for this purpose..
Thanks in advance
Tina Wilson

Hi Hariprasad,
If restricting certain fields using field selection option is not suitable for you, you can go ahead with the option Screen Variend
Also refer the link
[https://wiki.sdn.sap.com/wiki/display/Snippets/Transaction%20Variant%20-%20A%20Step%20by%20Step%20Guide%20for%20Creation]

Similar Messages

  • Error when I create the New material Master (MM01) for New Plant.

    Dear experts,
    I got the error when I create the New material Master (MM01) for New Plant.
    Error:  Valuation Area 2800 Not yet productive with Material Ledger.
    So Pl send me the solution asap.
    Venkata Raju Khottari

    Hi,
    Have u assinged Plant to Company code?
    If u say no, use T.code OX18.
    Regards,
    Murali
    Assign points if it is useful.

  • How can I know the new Material Master has been created?

    Does anyone have been tried about how to trigger the new Material Master has been created at a time interaval(maybe an hour or a day)?
    I want to transfer the new Material Master within a given period from SAP R/3 4.6C to .NET Application through standard BAPI or RFC and .NET Connector 2.0. How can I do?
    Any suggestion is wellcome. Thank You.

    Thank you Jiri Ehrlich for answering my question..
    I choose the third way as you suggest..
    ".. 3) Create your own ABAP function to export whole Material Master, call this function from your .NET application and do synchronizing on .NET side (so your .NET application will be RFC client).."
    I've tried RFC that retrieve Material Detail by using BAPI_MATERIAL_GETLIST. It works fine but if I want to retrive the new Material or modified within a given period of time(for example 15 or 30 minutes). How I can do? Is there any standard BAPI or RFC to call from .NET or I have to write new RFC.
    I have little background of ABAP so help me please. If I have to create new RFC, is there any ABAP Function to call or which table I can retrive those information.
    Anyone can suggest?? Thanks in advance

  • MM01 Create New Material Master without Basic view

    Hi,
    The SAP system allow us to create a new material master Purchasing View only (without Basic views). We execute T-code MM01, select Purchasing view only, enter the purchasing view data and save. Material master created with only the Purchasing view.
    We want to control whereby Basic view must be created first before any plant/organisation material views (Sales, purchasing, Accouting etc) can be created. That means user cannot create Purchasing view ONLY if the Basic views is not created, can this be done??
    best regards,

    Hi,
        For most of the standard SAP material types the basic data 1 view is configured as mandatory, but that can be turned off in the configuration. The first place I would look would be in SPRO under 'Logistics - General -> Material Master -> Basic Settings -> Material Types -> Define Attributes of material types'. In this transaction, highlight the material type being used and click on the magnifying glass. The section 'User departments' shows what views can be created for a material. You need to check 'Basic Data' is selected here.
    If that isn't the problem, then I would suggest that you look at the screen sequence and also the field selection configuration for the material type, which you can find under 'Logistics - General -> Material Master -> Configuring the Material Master'. This configuration dictates what fields are shown on the material master and the status of each field, i.e. whether it is mandatory or not.

  • Update new material master weight and dimension in open sales orders and de

    Hi,
    Iu2019m maintaining gross weight, net weight, volume in material master. When the time of sales order entry in VA01 its calculating weight and dimensions based on material master and order quantity. And I create deliveries in VL01N.
    If I made a correction in the net and gross weight in material master after I created the sales order will the correct net and gross weight will pick up at the delivery creation.
    In other term is the VL01N net and gross weight is taking from which is available in SO or Material master.
    Is there any standard transaction to update already existing open sales order, delivery net and gross weight once it is corrected in material master?
    Please advice.
    Sam

    Is there any standard transaction to update
    No it is not possible to update the weight in existing sale order or delivery.  You have to change it manually or create a new sale order.   Weight in delivery will be fetched from sale order only and hence,  whatever delivery you create referencing a sale order, system will copy whatever is there.
    thanks
    G. Lakshmipathi

  • Prevent creation of duplicate material master record

    Hi Experts
    1)  Is there any control or validation to prevent creation of duplicate material? I mean, if the description of new material is 100% or 95% matching with an existing material, there should be a validation.
    2) Is there any feature of usage of catelogs for creation of material master description?
    warm regards
    ramSiva

    Hi,
    Have a try to use Enhancement: MGA00001, user exit: EXIT_SAPLMGMU_001 for control you need.
    You can also use BAdI for this:
    BADI_MATERIAL_CHECK -> method CHECK.
    In both enhacements there is a structure STEXT - here short text(s) of new created material should be found for validation.
    Here you can make some ABAP works necessary.
    Hope it helps,
    regards,
    w.
    Edited by: Wojciech Zalech on May 19, 2010 9:43 AM

  • Creation of new material with reference to other material

    Hi All,
    I have requirement where i have to create new selling unit material with reference to the given material.
    Now, can any buddy suggest which FM or BADI i have to use to read BOM and ROUTING  info of reference material and same to create BOM and ROUTING for new material.
    Doing this with BDC after reading data directally from tables is one option, But i am looking for any BADI or Fm which will serve the purpose.
    Thanks in Advance,
    Rahul

    Hi,
    ... but if you prefer FM, then you can use BAPI_MATERIAL_MAINTAINDATA_RT or BAPI_MATERIAL_SAVEDATA, depending if you are using Retail or not. BDC is usually not possible for all views - which you would need for complete creation.
    Regards,
    Christian

  • Reg: Creation of new Material type

    Hai Guys,
    Jino here,can anyone please tell me the procedure for creating my own "MATERIAL TYPE"
    while creating a new material.
    Regards
    Jino.

    Hi
    decide which material type in the standard availabilty closely resembles you New material Type  you are planning to create, It may be ROH/HALB/FERT/ERSA or any other. Use the TxN OMS2 for this, select the existing Std Material and do a Copy As and name the New material Type starting with Z . for example ZRAW , once saved select the material tyep and go to the details of the new material type , you can remove Certail views if you donot wish to have it during material creation, check out other parameters also lie external proc/internal proc, standard or Moving avg price indicator  and proceed as required for you.
    Regards

  • Creation of new Material Type - Asset

    Dear Friends,
    Here as per my client requirement, i have to define new material type for Asset Material.
    For this definition i need following info -
    1) Views to be selected.
    2) Which Price control indicator is to be set for the ASEET
        Material Type? (V or S)
    Thanks in Advance

    Hi
    Material type for asset - Copy ROH.
    Maintain the views Basic data, Purcahsing, Accounting, Storage views (only if  you have profit center accounting )
    Price Control give it as a Moving average.

  • Creation of a Material Master

    Hi guys,
        Can any one help me in creating a Material master
        pls do send me the steps that are involved in
        creating a Material master
    Thanku
    Jino

    Check the BAPI BAPI_MATERIAL_SAVEDATA
    Check the below sample code.
    REPORT YGECICI MESSAGE-ID 00
    No Standard Page Heading
    Line-Size 200
    Line-Count 65.
    *TO CREATE MATERIAL USING BAPI.
    STRUCTURE DECLARATIONS *
    TABLES: BAPIMATHEAD, “Headerdata
    BAPI_MARA, “Clientdata
    BAPI_MARAX, “Clientdatax
    BAPI_MARC, “Plantdata
    BAPI_MARCX, “Plantdatax
    BAPI_MAKT, “Material description
    BAPI_MBEW, “VALUATION DATA
    BAPI_MBEWX,
    BAPI_MARM,
    BAPI_MARMX,
    bapi_mean,
    BAPIRET2. “Return messages
    DATA:V_FILE TYPE STRING. “input data file
    DATA:
    BEGIN OF LSMW_MATERIAL_MASTER,
    MATNR(018) TYPE C, “Material number
    MTART(004) TYPE C, “Material type
    MBRSH(001) TYPE C, “Industry sector
    WERKS(004) TYPE C, “Plant
    MAKTX(040) TYPE C, “Material description
    DISMM(002) TYPE C, “Extra Field Added In the Program as itsrequired
    MEINS(003) TYPE C, “Base unit of measure
    MATKL(009) TYPE C, “Material group
    SPART(002) TYPE C, “Division
    LABOR(003) TYPE C, “Lab/office
    PRDHA(018) TYPE C, “Product hierarchy
    MSTAE(002) TYPE C, “X-plant matl status
    MTPOS_MARA(004) TYPE C, “Gen item cat group
    BRGEW(017) TYPE C, “Gross weight
    GEWEI(003) TYPE C, “Weight unit
    NTGEW(017) TYPE C, “Net weight
    GROES(032) TYPE C, “Size/Dimensions
    MAGRV(004) TYPE C, “Matl grp pack matls
    BISMT(018) TYPE C, “Old material number
    WRKST(048) TYPE C, “Basic material
    PROFL(003) TYPE C, “DG indicator profile
    KZUMW(001) TYPE C, “Environmentally rlvt
    BSTME(003) TYPE C, “Order unit
    VABME(001) TYPE C,
    EKGRP(003) TYPE C, “Purchasing group
    XCHPF(001) TYPE C, “Batch management
    EKWSL(004) TYPE C, “Purchasing key value
    WEBAZ(003) TYPE C, “GR processing time
    MFRPN(040) TYPE C, “Manufacturer part number
    MFRNR(010) TYPE C, “Manufacturer number
    VPRSV(001) TYPE C, “Price control indicator
    STPRS(015) TYPE C, “Standard price
    BWPRH(014) TYPE C, “Commercial price1
    BKLAS(004) TYPE C, “Valuation class
    bwkey(004) type c,
    END OF LSMW_MATERIAL_MASTER.
    INTERNAL TABLE DECLARATIONS *
    *to store the input data
    DATA:
    BEGIN OF it_matmaster OCCURS 0.
    INCLUDE STRUCTURE LSMW_MATERIAL_MASTER.
    DATA:
    END OF it_matmaster.
    *for material description
    DATA:BEGIN OF IT_MATERIALDESC OCCURS 0.
    INCLUDE STRUCTURE BAPI_MAKT .
    DATA:END OF IT_MATERIALDESC.
    *FOR gross wt
    data: begin of it_uom occurs 0.
    include structure BAPI_MARM.
    data:end of it_uom.
    DATA: BEGIN OF IT_UOMX OCCURS 0.
    INCLUDE STRUCTURE BAPI_MARMX.
    DATA:END OF IT_UOMX.
    data:begin of it_mean occurs 0.
    include structure bapi_mean.
    data:end of it_mean.
    DATA:BEGIN OF IT_MLTX OCCURS 0.
    INCLUDE STRUCTURE BAPI_MLTX.
    DATA:END OF IT_MLTX.
    *to return messages
    DATA:BEGIN OF IT_RETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA:END OF IT_RETURN.
    SELECTION SCREEN *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
    PARAMETERS:P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1 .
    AT SELECTION SCREEN *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    CALL FUNCTION ‘F4_FILENAME’
    EXPORTING
    PROGRAM_NAME = SYST-CPROG
    DYNPRO_NUMBER = SYST-DYNNR
    FIELD_NAME = ‘P_FILE’
    IMPORTING
    FILE_NAME = P_FILE.
    TO UPLOAD THE DATA *
    START-OF-SELECTION.
    V_FILE = P_FILE.
    CALL FUNCTION ‘GUI_UPLOAD’
    EXPORTING
    filename = V_FILE
    FILETYPE = ‘ASC’
    HAS_FIELD_SEPARATOR = ‘X’
    HEADER_LENGTH = 0
    READ_BY_LINE = ‘X’
    DAT_MODE = ‘ ‘
    IMPORTING
    FILELENGTH =
    HEADER =
    tables
    data_tab = IT_MATMASTER
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    OTHERS = 17
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ELSE.
    *DELETE IT_MATMASTER INDEX 1.
    ENDIF.
    DATA POPULATIONS *
    LOOP AT IT_MATMASTER.
    *HEADER DATA
    BAPIMATHEAD-MATERIAL = IT_MATMASTER-MATNR.
    BAPIMATHEAD-IND_SECTOR = IT_MATMASTER-Mbrsh.
    BAPIMATHEAD-MATL_TYPE = IT_MATMASTER-Mtart.
    BAPIMATHEAD-BASIC_VIEW = ‘X’.
    BAPIMATHEAD-PURCHASE_VIEW = ‘X’.
    BAPIMATHEAD-ACCOUNT_VIEW = ‘X’.
    *CLIENTDATA
    BAPI_MARA-MATL_GROUP = IT_MATMASTER-MATKL.
    BAPI_MARA-DIVISION = IT_MATMASTER-SPART.
    BAPI_MARA-DSN_OFFICE = IT_MATMASTER-LABOR.
    BAPI_MARA-PROD_HIER = IT_MATMASTER-PRDHA.
    BAPI_MARA-PUR_STATUS = IT_MATMASTER-MSTAE.
    BAPI_MARA-ITEM_CAT = IT_MATMASTER-MTPOS_MARA.
    BAPI_MARA-NET_WEIGHT = IT_MATMASTER-NTGEW.
    BAPI_MARA-PO_UNIT = ‘KG’.
    BAPI_MARA-UNIT_OF_WT_ISO = ‘KG’.
    BAPI_MARA-UNIT_OF_WT = ‘KG’.
    BAPI_MARA-PACK_VO_UN = ‘KG’.
    BAPI_MARA-BASE_UOM_ISO = ‘KG’.
    bapi_mara-size_dim = it_matmaster-groes.
    BAPI_MARA-MAT_GRP_SM = IT_MATMASTER-MAGRV.
    BAPI_MARA-OLD_MAT_NO = IT_MATMASTER-BISMT.
    BAPI_MARA-BASE_UOM = IT_MATMASTER-MEINS.
    BAPI_MARA-BASIC_MATL = IT_MATMASTER-WRKST.
    BAPI_MARA-HAZMATPROF = IT_MATMASTER-PROFL.
    BAPI_MARA-ENVT_RLVT = IT_MATMASTER-KZUMW.
    BAPI_MARA-PO_UNIT = IT_MATMASTER-BSTME.
    BAPI_MARA-VAR_ORD_UN = IT_MATMASTER-VABME.
    BAPI_MARA-PUR_VALKEY = IT_MATMASTER-EKWSL.
    BAPI_MARA-MANU_MAT = IT_MATMASTER-MFRPN.
    BAPI_MARA-MFR_NO = IT_MATMASTER-MFRNR.
    BAPI_MARAX-MATL_GROUP = ‘X’.
    BAPI_MARAX-DIVISION = ‘X’.
    BAPI_MARAX-DSN_OFFICE = ‘X’.
    BAPI_MARAX-PROD_HIER = ‘X’.
    BAPI_MARAX-PUR_STATUS = ‘X’.
    BAPI_MARAX-ITEM_CAT = ‘X’.
    BAPI_MARAX-NET_WEIGHT = ‘X’.
    BAPI_MARAX-UNIT_OF_WT = ‘X’.
    BAPI_MARAX-UNIT_OF_WT_ISO = ‘X’.
    bapi_maraX-size_dim = ‘X’.
    BAPI_MARAX-MAT_GRP_SM = ‘X’.
    BAPI_MARAX-OLD_MAT_NO = ‘X’.
    BAPI_MARAX-BASE_UOM = ‘X’.
    BAPI_MARAX-BASE_UOM_ISO = ‘X’.
    BAPI_MARAX-BASIC_MATL = ‘X’.
    BAPI_MARAX-MFR_NO = ‘X’.
    BAPI_MARAX-HAZMATPROF = ‘X’.
    BAPI_MARAX-ENVT_RLVT = ‘X’.
    BAPI_MARAX-PO_UNIT = ‘X’.
    BAPI_MARAX-PACK_VO_UN = ‘X’.
    BAPI_MARAX-VAR_ORD_UN = ‘X’.
    BAPI_MARAX-PUR_VALKEY = ‘X’.
    BAPI_MARAX-MANU_MAT = ‘X’.
    BAPI_MARAX-MFR_NO = ‘X’.
    *PLANT DATA
    BAPI_MARC-PLANT = IT_MATMASTER-WERKS.
    BAPI_MARC-PUR_GROUP = IT_MATMASTER-EKGRP.
    BAPI_MARC-BATCH_MGMT = IT_MATMASTER-XCHPF.
    BAPI_MARC-GR_PR_TIME = IT_MATMASTER-WEBAZ.
    BAPI_MARCX-PLANT = IT_MATMASTER-WERKS.
    BAPI_MARCX-PUR_GROUP = ‘X’.
    BAPI_MARCX-BATCH_MGMT = ‘X’.
    BAPI_MARCX-GR_PR_TIME = ‘X’.
    *VALUATION DATA
    BAPI_MBEW-PRICE_CTRL = IT_MATMASTER-VPRSV.
    BAPI_MBEW-STD_PRICE = IT_MATMASTER-STPRS.
    BAPI_MBEW-COMMPRICE1 = IT_MATMASTER-BWPRH.
    BAPI_MBEW-VAL_AREA = IT_MATMASTER-BWKEY.
    BAPI_MBEW-VAL_CLASS = IT_MATMASTER-BKLAS.
    BAPI_MBEWX-PRICE_CTRL = ‘X’.
    BAPI_MBEWX-STD_PRICE = ‘X’.
    BAPI_MBEWX-COMMPRICE1 = ‘X’.
    BAPI_MBEWX-VAL_AREA = IT_MATMASTER-BWKEY.
    BAPI_MBEWX-VAL_CLASS = ‘X’.
    IT_MATERIALDESC-LANGU = ‘EN’.
    IT_MATERIALDESC-MATL_DESC = IT_MATMASTER-MAKTX.
    append IT_materialdesc.
    IT_UOM-GROSS_WT = IT_MATMASTER-BRGEW.
    IT_UOM-ALT_UNIT = ‘KG’.
    IT_UOM-ALT_UNIT_ISO = ‘KG’.
    IT_UOM-UNIT_OF_WT = IT_MATMASTER-GEWEI.
    APPEND IT_UOM.
    IT_UOMX-GROSS_WT = ‘X’.
    IT_UOMX-ALT_UNIT = ‘KG’.
    IT_UOMX-ALT_UNIT_ISO = ‘KG’.
    IT_UOMX-UNIT_OF_WT = ‘X’.
    APPEND IT_UOMX.
    it_mean-unit = ‘KD3′.
    append it_mean.
    it_mltx-langu = ‘E’.
    it_mltx-text_name = it_matmaster-matnr.
    APPEND IT_MLTX.
    CALL FUNCTION ‘BAPI_MATERIAL_SAVEDATA’
    EXPORTING
    headdata = BAPIMATHEAD
    CLIENTDATA = BAPI_MARA
    CLIENTDATAX = BAPI_MARAx
    PLANTDATA = BAPI_MARc
    PLANTDATAX = BAPI_MARcx
    FORECASTPARAMETERS =
    FORECASTPARAMETERSX =
    PLANNINGDATA =
    PLANNINGDATAX =
    STORAGELOCATIONDATA =
    STORAGELOCATIONDATAX =
    VALUATIONDATA = BAPI_MBEW
    VALUATIONDATAX = BAPI_MBEWX
    WAREHOUSENUMBERDATA =
    WAREHOUSENUMBERDATAX =
    SALESDATA =
    SALESDATAX =
    STORAGETYPEDATA =
    STORAGETYPEDATAX =
    FLAG_ONLINE = ‘ ‘
    FLAG_CAD_CALL = ‘ ‘
    IMPORTING
    RETURN = IT_RETURN
    TABLES
    MATERIALDESCRIPTION = IT_MATERIALDESC
    UNITSOFMEASURE = IT_UOM
    UNITSOFMEASUREX = IT_UOMX
    INTERNATIONALARTNOS = it_mean
    MATERIALLONGTEXT = IT_MLTX
    TAXCLASSIFICATIONS =
    RETURNMESSAGES =
    PRTDATA =
    PRTDATAX =
    EXTENSIONIN =
    EXTENSIONINX =
    read table it_return with key TYPE = ‘S’.
    if sy-subrc = 0.
    CALL FUNCTION ‘BAPI_TRANSACTION_COMMIT’
    EXPORTING
    WAIT =
    IMPORTING
    RETURN =
    *else.
    *CALL FUNCTION ‘BAPI_TRANSACTION_ROLLBACK’
    IMPORTING
    RETURN =
    endif.
    WRITE:/ IT_RETURN-TYPE,
    2 IT_RETURN-ID,
    22 IT_RETURN-NUMBER,
    25 IT_RETURN-MESSAGE.
    IT_RETURN-LOG_NO,
    IT_RETURN-LOG_MSG_NO,
    IT_RETURN-MESSAGE_V1,
    IT_RETURN-MESSAGE_V2,
    IT_RETURN-MESSAGE_V3,
    IT_RETURN-MESSAGE_V4,
    IT_RETURN-PARAMETER,
    IT_RETURN-ROW,
    IT_RETURN-FIELD,
    IT_RETURN-SYSTEM.
    ENDLOOP.
    Reward points..

  • Creation of new vendor master record

    When I assign Account Group, getting following error "Acc. group uses internal no. assignments, leave blank".
    if leave blank; asking to enter account group. Can anyone suggest how to select external number assignment while creating a new account group?
    Edited by: Kushal Pal on Jun 11, 2011 5:46 PM

    Hi Atif,
    I have solved the problem myself. we assign external numbers in the customization through SPRO u2013 SAP reference IMG u2013 Finance Accounting u2013 Accounts Receivable and Accounts Payable u2013 Vendor Accounts u2013 Master Data u2013 Preparation for Creating Vendor Master Data u2013   Create Number Ranges for Vendor Accounts ans selecting Ext check box as first step.
    In the second step, by selecting "Assign Number Ranges to Vendor Account Groups" in the same customization.
    Your suggestion was helpful but I had already worked out. XKN1 is the correct Trans. to look into assigned ranges.
    Thanks.
    Edited by: Kushal Pal on Jun 13, 2011 4:55 AM

  • New material creation with workflow approval

    the scenario is when the new material master(mm01) is being created, the request will sent to manager for approval. so the manager can either approve or reject it. if it were rejected, is it possiable to resubmit this material master for approve after the amendement? any information on this config will be appreciated!

    You can put your approval in a loop and loop till it is approved. In rejection branch put a dialog step for creator of material and give to person who is responsible to changeing and call MM02 or something from that step and yes also give an option here where creator of approver can choose to abondone the material totaly which will bring it out of loop and completes teh workflow, which will other wise complete only on approval.
    Warm Regards,
    Anuj Nagpal.

  • What is Material master workflow

    Hi gurus ,
    Can anybody explain what is Material master workflow & Function Module ?what is its use?
    Dev
    Edited by: dev .. on Oct 15, 2008 8:21 AM

    Dear,
    You can find much info about workflows at: http://www.erpgenie.com/workflow/index.htm
    http://help.sap.com/saphelp_46c/helpdata/EN/04/926f8546f311d189470000e829fbbd/frameset.htm
    Workflow is a tool for automating the business process so that the process itself flows smoothly, without bottlenecks and without dead ends. Critical parts of the process can be streamlined with deadline monitoring and contingency options. Participants are informed of milestones in the process. The process definition itself is powerful enough to allow business re-engineering with re-training and to eliminate the impact of workforce changes on the basic business process.
    SAP Business Workflow is the R/3 tool for handling the process automation within R/3 or between R/3 systems and other systems involved in the business process. It is flexible enough to handle ad hoc processes such as the circulation of an electronic document. It is robust enough to handle mission critical process in the production system such as the creation of a material master.
    The different R/3 applications supply standard workflows for the commonly occurring processes. Once these workflow templates are activated, they are ready for immediate use. A complete set of workflow tools, including the workflow editor and workflow generation wizard, are provided to enhance these standard workflows or create new workflows. These tools are complemented with transactions for monitoring, tracking and the statistical analysis of the processes.
    Because the business process often does not step at the R/3 boundary, various interfaces and third party tools are available for extending the process across systems.
    Function module
    Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    The Function Builder  also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
    http://help.sap.com/saphelp_nw70/helpdata/EN/9f/db988735c111d1829f0000e829fbfe/content.htm
    Regards,
    Syed Hussain.

  • BAPI to create Material master record

    Hi All,
    I need to create a new material master record using a reference Mterial number. Please let me know, if there is any BAPI to achieve this.

    Hi,
    Check these links .You will get your answer in detail.
    Re: How to use BAPI BAPI_MATERIAL_SAVEDATA
    Re: Mass creation of Material Master Records
    Hope it will help you.
    Regards:
    Alok

  • Cretaion of new material type in sequence and defining No. range

    Dear Pal,
    Please enlighten with steps for creation of new material type and subsequent configuration and defining No. ranges for the same.
    thanks
    v balajee

    Hi,
    To configure new material type please follow the below process:
    In transation code OMS2 please select any standard material type and copy as for new material type.
    You can give the name of material type here and then save it.
    Now just double click on new material type and then select the necessary views as per your requirement.
    Then select your new material type and click on quantity\value updation and select the check box for required plants.
    For the Number ranges please follow the below path in SPRO:
    Logistics-General>Material master>Basic settings>Material types>Define number ranges for each material type
    Assign material type with Number range group
    Regards,
    Manish

Maybe you are looking for