Create Material master workflow

Hi I need to create a workflow that firstly creates a material with the basic data views (in the background) using passed in data, and the next step will then trigger some tasks to create material views.  But I can't find a business object to do this.  I have found BUS1001 but the create method is now obsolete, and I am not sure how I am meant to populate the attributes of BUS1001006?

I am not sure how I am meant to populate the attributes of BUS1001006
No worries, you are on the right path. The BOR which you found is  the right one , now what you have to do is in order to pass the values when the material is created , you need to first give the START EVENTS in the workflow basic data and actiavte the binding. And before this you need to create a container element in the workflow I hope it is MATNR , for more information regarding the parameters check the event parameters of the BOR BUS1001006 and the event CREATED then you can get a idea  on what all the elements that are required to create in the WF, after declaring the container elements in the workflow. the simple thig you have to do is BINDING.
Now create a material, by default the parameters are passed to the workflow that you designed.

Similar Messages

  • How to Create material master workflow

    Hi All,
    Can anybody tell me how to create material master workflow?
    i need to customize the workitem  for creating data in different views in MM01 transaction with restriction to particular user.
    Regards,
    Priti

    Hi,
    This link is to  display a material.My requirement is to create a workflow which will allow a responsible person to enter data for specific department data e.g Purchase,Accounting etc.Initially anyone can create data using basic data1 and basic data2 views.After this my workflow will be triggered and it will go to next person who is responsible to enter Purchase data and then Accounting data.
    Plz help me to create different views with respect to person.
    Thanks in advance.

  • Re : Material Master Workflow

    Hi Friends,
               I'm in the process of creating Material Master Workflow (i.e) Basic data will be created by one person (initiator) and the workflow gets started and various views will be created by different people.
              Usine BUS1001006 methods Getmissedviews and createviews i'm sending workitems to the respective persons for creating views.  The method CreateView is an asynchronous task hence the terminating event is required.
              The problem i'm facing is even if one view is created , the workitems in other's inbox is removed.
    Can any one help me onthis regard.....
    Regards,
    Vijay

    Hai Vijayasekar
    Check the following
    Check the below PDF file on Workflow:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    There is a good book from SAP Press that I would
    recommend as a starting point.It's called Practical Workflow for SAP and it is by Alan Rickayzen.
    http://www.sap-press.com/product.cfm?account=&product=H950
    I am giving you links for Workflow....
    /people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
    http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://www.sapgenie.com/workflow/index.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Go through the following:
    1) Goto Tcode PFTC : Standard Task > Create Button>Workflow Templete
    For Create Container
    Element : ZBUS1001006
    Name : ANy Name
    Description
    Data Type & Properties
    Data Type:
    select Object Type : BOR Object Type for BUS1001006
    Properties:
    Parameter Settingd : check all Import, Export & Mandatory Checkboxes
    Basic Data :
    Abbr : Create_View
    Name : Some Name
    Work Item Text : Create View Material & -
    Click on DELE Button & Select Material From The List
    Object Catagory : BOR Object Type
    Object Type : BUS1001006
    Method : View
    Triggering Events
    Obj Catagory Object Type Event
    BOR Object BUS1001006 View
    activate it
    Enter on BUS1001006 Object Type you will get Quadratel<> Button after that
    double click on Quadratel<> button you get green button
    after that the system will generate the task No.
    check in the Event linkage Tcode : SWETYPV
    if you find an entry with your Workflow and linkage active
    goto Tcode : SWEC click on New Entries
    Change Doc Obje Obj Cat Obj Type Event on create
    Material BOJ Obje BUS1001006 View Option Button(Checked)
    save this
    goto Tcode : SWEC
    Change Doc Object : Material
    Obj Catagoty : BOR Type
    Obj Type : BUS1001006
    Event : View
    Check with On Create Button
    Goto SWETYPV
    Obj Catagoty : BOR Type
    Obj Type : BUS1001006
    Event : View
    Receiver Type : Some Work Flow No: WS80000431 like this
    Click on Work flow Builder
    Regards
    Sreeni

  • Create Material Master using workflow (urgent)

    Hello all,
    We have an urgent client requirement to create material master using workflow.
    Different views for the material master will be created by the relevant departments.
    ex: Accouting 1, 2 will go to accounts deptt.
    I have studied the workflow tutorial  (20 units) on <b>SAP help</b> for leave of absence and have some understanding of objects, methods, bindings etc
    I am however finding it very difficult to define the steps to create a workflow for material master. Are there any standard steps already defined that i can use.
    Any help/inputs will be greatly appreciated.
    Regards
    S. Datar

    Hi,
    You need to speak to a workflow consultant.
    You can get workflow to do many things (including creating a material master) but it takes a lot of coding and design.
    For those of you who think that workflow is just used for the standard SAP workflow tasks, you have to realise that workflow is far more powerful and far more useful than many people think.
    It is always referred to as "Event triggered messaging" but it is more accurate to call it "Event triggered events".
    Within workflow you can chain together many different transactions and or ABAPS and so you can get it to do virtually anything you want (as long as you know how).
    In this case you need the workflow to trigger an ABAP or BTCI session etc. that works through the MM01 transaction. It is relatively easy to get it to do this, but I am not technical enough to be able to help with the steps involved (sorry)
    Steve B

  • 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.

  • Material Master Workflow

    Hi,
    We are planning to implement the same thing. <as described in [this thread|Re : Material Master Workflow;>
    Can u please provide me the valuable inputs for the same?
    I have just started the preparing initial document,
    so if anyone can provide me the details about this, I would be very grateful.
    Initially i was planning to create one module pool program. Anyone who wants to create a material will go to that transaction and will create the basic data. Once he saves that data a chain of e-mails can be sent to other concerned persons. These people will enter the respective data and then they will send this to sap-core team. I was planning to introduce SAP-Workflow here only. We have thress level approval process.
    But idea of creating / maintaining different views via sap-workflow is very appealing , so now thinking
    of giving a try to this!
    Waiting for any inputs and your experiences on working this.
    Regards,
    Vinod.
    <Moved from [this thread|Re : Material Master Workflow;. As per the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], please ask new questions in a new thread. Post links to other question if necessary.>
    Edited by: Mike Pokraka on Feb 9, 2009 10:45 PM

    Hi Parag,
    Is BUS1001 still the right object for material (I see in 46C its event ViewCreated has been flagged obsolte.
    You should otherwise be able to base your next step on this event. In my system 46C, BUS1001006 would be the right object to use.
    hope this helps,
    cheers,
    Ajay

  • Material Master workflow - how to use a BAPI?

    Hi,
    I need some help with a material master workflow.
    My requirement is to automate some changes to the material master as steps in the workflow, they are:
    Set the Cross plant material status
    Set the material deletion flag
    I see that the BAPI SAVEDATA is available as a method of BOR BUS1001006. I have created a task with this method but I cannot work out how to automate the changes to the material in the workflow using it?
    Has anyone used this BAPI method in a workflow before, how do I automate the changes to the material using it? or is there another way to make changes to the material as a background step in my workflow?
    Many thanks,
    Neil

    All,
    thanks ever so much for all your input... I have fixed the problem and it was obscure!
    Firstly my binding was wrong... I should not have bound the clientdata and the clientdatax
    since the settings I was trying to default (material status an del flag) from the master task were actually being overwritten with this binding. bit of a schoolboy error that one.
    Secondly I created 1 brand new task and reused 1 old task for the purposes of setting the material status and the deletion flag respectively.
    I managed to get the first one working this morning by removing the binding, the second one still errored with the message about source and target structures being different... which got me thinking, so I created a brand new task for setting the deletion flag and ... it worked!
    So why? ... then I realised.
    We just upgraded to EHP7 and this workflow existed prior to EHP7. I copied the workflow and edited it for my new business requirements. Reading some of the release notes it turns out the structures have changed and there were conversion routines for fixing them.
    All sorted now!

  • Material Master workflow views

    I have a material master workflow which determines the views of material number. Configuration is there for several warehouses and getting warehouse view extension for all warehouses. My question is how do I avoid workflow for certain warehouses? Please note I don't want to remove/change configuration, it is needed in near future.
    Thank you,
    Nagarajan

    Hi,
    My question is how do I avoid workflow for certain warehouses?
    Please note I don't want to remove/change configuration, it is needed in near future.
    So I hope you are trying to start the workflow by making use of events, if this is true then there will be an entry maintained in the txn SWE2.I think the best way to handle is to make use of the Check Function module, This is beacuse I am not sure whether you would be able to get the warehouse information in a BOR Business object,
    So try to create a check function module and map this function module against the entry in the SWE2 txn. There you would be having the flexibility write your own validations, and later in future if you want to either include or exclude the validation you can do it easily...
    The main purpose of the check function module is to do this kind of validations and validate the event.... IF you feel that the workflow should not receive the event then raise a exception in the check function module this makes sure that the workflow wont trigger for that specific warehouses.
    Regards
    Pavan

  • ISR For Approve Create Material Master

    I have requirement apply ISR for Control Create Master.Example User1 input information about purchasing group and send to User2. And then User2 input information about Plant and send to next user for approve.If already send to last user and submit,ISR will be create material master.
    But i don't know could be apply ISR for this case, Because i find for Costing and Banking.
    Please help me. Thank you very much

    Hi,
    You need to speak to a workflow consultant.
    You can get workflow to do many things (including creating a material master) but it takes a lot of coding and design.
    For those of you who think that workflow is just used for the standard SAP workflow tasks, you have to realise that workflow is far more powerful and far more useful than many people think.
    It is always referred to as "Event triggered messaging" but it is more accurate to call it "Event triggered events".
    Within workflow you can chain together many different transactions and or ABAPS and so you can get it to do virtually anything you want (as long as you know how).
    In this case you need the workflow to trigger an ABAP or BTCI session etc. that works through the MM01 transaction. It is relatively easy to get it to do this, but I am not technical enough to be able to help with the steps involved (sorry)
    Steve B

  • MG144 Error  Messages while creating Material Master

    Hi,
    When creating Material Master getting Error for structure field is required. Message Number MG144.
    Pls suggest.
    Regards,
    VR

    Go through this note 45998
    Or check, which field is required field and try to maintain or just make the optional entry in customizing

  • Error Message no. MM214 while creating material master

    Hi folks!!
    While creating material master, when i fill the MRP controller field and press enter, I get the message...
    The MRP controller 391 does not exist for plant
    Message no. MM214
    I have checked, the MRP controller is availble in Master Data for MRP Controller. And we have already created many material master with this MRP Controller.
    What could be the possible cause for this error. Please help.
    Best regards

    Hi Qamar,
    Please go thru the bellow threads,
    Assignement of MRP controller to Plant
    MRP CONTROLLER
    MRP Controller
    Re: MRP controller extension from plant 1 to plant 2
    Thanks,
    Swamy H P

  • Runtime error while creating material master data

    hello sir,
    i am facing one prolem while creating MATERIAL MASTER DATA.
    AFTER GIVING ALL REQUIRED INFORMATION WHEN I AM GOING TO SAVE THE DOCUMENT ITS SHOWING ABAP RUNTIME ERROR.
    MESSAGE TYPE: - MDS_KEYMAP.
    MESSAGE CLASS: 001.
    PLEASE TELL ME WHAT TO DO?
    REGARDS..

    SIR THANK YOU FOR YOUR REPLY.
    I ALREADY DONE THAT DUMP ANALYSIS.
    SO PLEASE KINDLY GIVE ME IN DETAILS ABOUT THAT SOLUTION...

  • Create Material Master Record with Text

    Hi, I am looking to create material Master Data via ABAP.  I currently have some code that creates the Master Data Characteristic value I want, but I need the text as well.  Can someone tell me what I need to do to add the text for the Master Data Characteristic value?
    Here's what I have using CL_RSDMD_UPDATE_MASTER_DATA=>UPDATE_ATTRIBUTES_STATIC
    TYPE-POOLS: RS, RSSM.
      DATA: T_ZFREETEXT   LIKE STANDARD TABLE OF ZFREETEXT.
      DATA: T_INFO        TYPE RSSM_S_MINFO.
      DATA: RETURN_STATUS TYPE RSARR_T_IDOCSTATE.
      DATA: RETURN_SUBRC  LIKE SY-SUBRC.
      DATA: MSG TYPE RS_T_MSG.
      DATA: L_R_ACTIVATE_MASTER_DATA TYPE REF TO CL_RSDMD_ACTIVATE_MASTER_DATA.
      INSERT ZFREETEXT INTO TABLE T_ZFREETEXT.
      CALL METHOD CL_RSDMD_UPDATE_MASTER_DATA=>UPDATE_ATTRIBUTES_STATIC
        EXPORTING
          I_IOBJNM        = '0MATERIAL'     " Technical name of InfoObject
          I_CHAVL_ENQUEUE = RS_C_FALSE
          I_T_DATA        = T_ZFREETEXT
          I_S_MINFO       = T_INFO
          I_MONITORING    = RS_C_FALSE
        CHANGING
          C_T_IDOCSTATE   = RETURN_STATUS.
      IF SY-SUBRC <> 0.
        RETURN_SUBRC = 'Error happened'.
      ELSE.
        RETURN_MSG = 'Process Completed Successfully'.
        CREATE OBJECT L_R_ACTIVATE_MASTER_DATA
          EXPORTING
            I_IOBJNM            = '0MATERIAL'
            I_P_Q_HAVE_TO_EXIST = RS_C_FALSE.
        IF SY-SUBRC = 0.
          L_R_ACTIVATE_MASTER_DATA->ACTIVATE(
          IMPORTING
          E_SUBRC = RETURN_SUBRC
          CHANGING
          C_T_MSG = MSG ).
        ENDIF.
      ENDIF.

    Dear Kenneth,
    do you need to add master data during load of transaction data in planning scenario? If yes, you can do this with a planning function of type exit in the INIT function module.
    I think you've to use the table ETO_CHAS (table for char. combinations) and all kind of char. combinations has to be transfered.
    data:
    l_s_chas type /1SEM/_YS_CHAS_"YOURCLIENT"YOURPLANNINGAREA",
    l_r_co_area type range of /bi0/oico_area,
    l_s_costcenter type /bi0/pcostcenter.
    field-symbols:
    <f_coar> type /bi0/oico_area,
    <f_cctr> type /bi0/oicostcenter.
    select * from /bi0/pcostcenter into l_s_costcenter
                 where co_area IN l_r_co_area
                 and objvers = 'A'.
    <f_coar> = l_s_costcenter-co_area.
    <f_cctr> = l_s_costcenter-costcenter.
    INSERT l_s_chas INTO TABLE eto_chas.
    endselect.
    Regards, Clemens

  • Create material master get error message

    Hello Guys,
    I get the error message as below when i create material master .  can you help me? 
    error message
    nternal error in FORM/FUNCTION ckms_buffer_write in position 19 with RC 0
    Message no. C+099
    Procedure
    Please inform your system administrator.
    Thanks and best regards,
    Alengao

    Debug the program with help of ABAPer and check it.
    Also pls check these NOTES,
    414204, 933809, 390655,0001096890
    0001126497
    0001164684
    0001230454
    Edited by: Afshad Irani on Aug 12, 2010 3:12 PM

  • LSMW--Create Material master data

    Hi,
    When I use LSMW to create material master data, I set up all step, but when I go to last step "13 Run Batch Input Session", there is error message like "Select at least one view" in moudle SAPLMGMM, screen 0070, anybody can tell me what is problem, thanks a lot.

    Hi,
    This is due to error while recording for MM01,
    Please do a Repeat recording and ensure that once the material number, industry sector and material type is entered, on the next screen you need to select all or at least a single view to create the MMR.
    Regards
    Merwyn

Maybe you are looking for