Regarding Material creation workflow

hi freinds,
i have requirement to develop workflow on materila change........maens....
first manger will enter basic data of particular material.......then it needs to sends sales persons and they need to enter sales data...
i am not able find where we need to trigger events,,,,,,,,,,,
advance thanks,
Regards,
bhaskar

Hi Bhaskar
u can use change documents to trigger your workflow.
t-code  SWEC .
or u acn manually trigger it by writting  the following codes in se38
DATA: KEY LIKE SWEINSTCOU-OBJKEY.
KEY = '1163'.
Material Number (hard-coded)
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'BUS1001006'
objkey = KEY
event = 'CREATED'
CREATOR = ' '
TAKE_WORKITEM_REQUESTER = ' '
START_WITH_DELAY = ' '
START_RECFB_SYNCHRON = ' '
NO_COMMIT_FOR_QUEUE = ' '
DEBUG_FLAG = ' '
NO_LOGGING = ' '
IDENT =
IMPORTING
EVENT_ID =
TABLES
EVENT_CONTAINER =
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
WRITE 'Event Triggered'.
ENDIF.
COMMIT WORK.
Regards
rose

Similar Messages

  • Regarding Material creation

    Hi friends........
    I have requirement to create Material through workflow.......
    menas we need to pass different views to different person..in his business workplace....
    Thanks in Advance.......
    Regards,
    Charan

    Hi twinkle..........
    I did same requiment object.......i will brief u....
    1) first create Delagate business object of BUS1001006 with method MATERIAL_MAINTAIN_DAILOGUE function........Using this function module u should create Method for that object.........
    Create parameters As T.CODe and status view.....
    2)Create Ztable with fields which are need to mandetary for diaplaying particular screen........
    3)now u configure u r workflow with this delagate business object and method which was create by your self.......
    4)While binding you should pass T.code and status value which view you need.......
    IF u doubts , please feel free to send mail........
    If useful plz Rewards.......
    Thanks In advance,
    Regards,
    Bhaksar Rao Javvaji

  • Material Creation Workflow

    Hi Friends ,
                         When a material is created (MM01) , using user exit i want to create an event which triggers the workflow.
                         I'm confused of  function module to be used for creating event.
    SWE_EVENT_CREATE or   SWE_EVENT_CREATE_IN_UPD_TASK or
    SWE_EVENT_CREATE_FOR_UPD_TASK
    Can any one let me know which function is very opt for creating the event.
    Regards,
    Vijay

    Hi Vijay,
    I <b>seriously</b> suggest you rethink your design here. Either a workflow is the wrong tool for the job or you're going about this the wrong way. The whole POINT of an event is that the transaction is complete. Even receivers are called asynchronously and rely on this. What will happen in your scenario is that you trigger a workflow before the material is saved. It cannot instantiate the object and falls over to die a horrible death.
    Or in case of a change, your WF will read the old data. Or what if something goes wrong and there is an error after the userexit? Your event is triggered and you have no way of knowing in the WF that there was no save.
    Use the standard event and start conditions.
    Hope that helps, 
    Mike

  • Workflow Help regarding Material master workflow

    Hi,
    I have a requirement as follows...anyone can help me or tell me the possibility of doing this..
    1. Basis material will be created with mandatory fields.
    2.Once the above material is stored it has to trigger workflow to inimate 10 members to fillup the fields(appropriate) for this material based on the material type and the fields to which they are attached or responsible.
    3. In the sameway the plant data needs to be maintained by 5 persons in addition to the above based on the plant.
    Help me to setting up this in ECC 6.0.
    Regards

    Hi,
    this sounds like a great iteration on the MM02 transaction. If the users can live with the standard screens, you can call transaction with a view corresponding to the selection in the beginning of the screen. The real chalange in this workflow is how to controle and maintain all the agents to do which enrichment of the material. This can be done with a small workflow, where you construct a large controle table, in which you can maintain, who will (or what roles) will maintain which views. When the agents have been found, create a subworkflow to run in parallel, for each agent.
    Hope it makes sence.
    Kind regards
    Mikkel

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

  • Key performance indicators (KPI) for material creation

    Dear all,
    I need to define some Key Performance Indicators (KPI’s) to measure the data quality during the material creation (MM01) process. The objective is to get concrete statistics about data quality/accuracy for fields related to material from all views created with MM01 (basic data, classification, unit of measure...).
    I would like to get your expertise on how to measure these KPI’s : which transactions, table (...) to use ?
    I have already few ideas :
    -Table CDHDR
    -Transaction MM04
    -Create “checkpoints“ into the workflow for material creation (ZWF01)
    Do you have any other idea in mind?
    I am open for all advices: transaction, table, process, approach…
    Thanks in advance for your help !

    I have a few ideas, but the accuracy of the master data is based on your system config.
    Some things that are helpful in most of the cases:
    - If material type is HAWA (trading goods) your procurement indicator should always be External procurement (check those for other material types if you have it uniformed). You can also check purchasing group based on material type if you have it distinct by material type.
    - Check if sales views are opened in all org.levels
    - Check if storage loc.views are opened for all SLoc
    All in all, you need to have a link of two or more data in material master to be able to check it in some way automatically, otherwise you won't be able to determine if the data is correct or not.
    E.g. How would you every know if lot size of 120.000 PCS is OK or not for a specific material or if you need to assign a specific purchasing group to your material.
    You know the logic behind your material master data best so you can create the best rules to check for your KPI.
    Regards.

  • Material Creation Using BDCs.

    Hi all,
    I have developed a program for Material Creation using BDC.
    Material is Being created and that is working well and good.Here i have a Requirement to update the Newly creted material in Ztable.So when i use call transaction mathod,i have written code for updation under the line CALL TRANSACTION.where in iam getting newly creatde material from MARA table,and so it is working perfectly fine..
    But our requirement should be sessions method,so when i use sessions method and exeute the program..we face the problem of updation.
    the piece of code for updation is updating previously created material.
    Literally speaking only the sessions are created ,when the program is executed,material is not created when program is run.Material is only created when the sessions are processed using SM35,
    So how should i do here,where should be the updation code written and where will we get the newly created material in sessions method..
    Pls Help me in solving this problem

    hai priyanaka it might be due to configuration problem
    bcos manulay also ur gettign this , so just consult ur MM consultant for soem setting
    regards
    afzal

  • Material Creation Date and Time

    Hi,
    Is there any place which stores the material creation date and time. We have checked table MARA, but that only has the creation date of the material, but does not give the material creation time. We have checked table CDHDR, but that only seems to have the material change date and time.
    From where can we retrieve the material creation date and time.
    Thanks and Regards,
    John

    Actually, CDHDR and CDPOS will have the value.  The CDHDR record will be marked as a 'U" record but look at the corresponding CDPOS record for MARA and it will be marked as an 'I' record.

  • Error in pipeline material creation

    hi,
    we want to create one pipeline material as per our new requirement for showing gas consumption.during material creation with mat type PIPE, it's showing an error:The field Profit Center is defined as a required field; it does not contain
    an entry.
    Procedure
        If the field is the material group or unit of weight, and the field is not ready for input, check whether the material is locked. If it is locked, you cannot extend the Purchasing view or the Sales view. If either of these views needs to be extended, the material must first be unlocked. This can be done only by a user with special authorization.
    thanx,
    sheetal

    Hi
    In your client if Profit center accounting(PCA) is activated ,then you need to maintain the Profit center for the material.
    Option 1: goto OMS2, got details of pipleine material & select the Costing View of the material.
    Now goto MM01 in creation of pipeline material & maintain the profit center in Cotsing 1 View.
    Deactivating the field from mandatory to optional will not serve your purpose as PCA will get affected.
    Thanks & Regards
    Kishore

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

  • Material creation date for perticular plant

    Hello Experts,
    I have four plant have a same material,so i want to see the material creation date by plantwise.Please suggest me where can i see the material creation date by plantwise? Bcz. I want to develop report for this.
    Thanks & Regards,
    Vinay

    Hi,
    Go to T.Code: MM60,Then enter your required plant and execute.
    Now you can see the material with created date or last change date  and who created.
    If helpful then reward.
    Regards,
    Biju K
    Message was edited by:
            Bijay Kumar Barik

  • What is 'Material Aging Workflow'?

    When I am going through the 'Release Content Document' of R12 Inventory, I came across a functionality called 'Material Aging Workflow'.
    I searched for this in R12 Inventory User Guide and metalink. But I am not able to find any details about this.
    Can anybody explain me about this?
    Regards
    Merlin Rajesh
    Message was edited by:
    Merlin Rajesh

    When I am going through the 'Release Content Document' of R12 Inventory, I came across a functionality called 'Material Aging Workflow'.
    I searched for this in R12 Inventory User Guide and metalink. But I am not able to find any details about this.
    Can anybody explain me about this?
    Regards
    Merlin Rajesh
    Message was edited by:
    Merlin Rajesh

  • 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

  • Adobe interactive form for material creation

    Hi experts,
    I f an adobe interactive form for material creation was created using JAVA... what part is involved in the ABAP pgm.
    Thanks in advance

    Hi,
    Pleaes find the sample codes for WD Java...
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Regards,
    <i><b>Raja Sekhar</b></i>

  • 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

Maybe you are looking for

  • Issue Regarding Payment recived by cheque

    Dear all Business Process: Sales team pass the Invoice Entry & Billing Entry. Collection of Cheque from Customer is also done by the Sales Team. After that they maintain an Excel Sheet containing Bill Number & Cheque details and send it to the Financ

  • AwesomeWM progressbar widget issue

    Hi, I'm moving from KDE to Awesome and configuring awesome has been easy enough. I'm running into an issue with the progressbar widget though. As you can see in the screenshot below, there is some space in between the volume textarea ("69%") and the

  • Arch is installed but grubs seems to not be

    So i got a new pc today, it came with windows 7. I partitioned and took half of the hdd for arch and made its partitions there. All seemed to install well, but at the end, after i closed the last file you edit(that one about the boot), several errors

  • IOS 8 Bluetooth Connectivity - iPhone 5 and iPhone 6

    Moved my iPhone 5 to iOS 8 and Bluetooth will no longer work correctly in my Honda 2010 Accord.  Phone connects to the car but when you try to initiate a call it doesn't come through the car speakers.  The call is transferred back to the phone and wi

  • Netscape 4.78 seems to be very picky about mime multipart/alternative?

    (This may be sort of OT for this forum, but I figured I'd give it a shot.) I'm experimenting with the javamail API and am having undesired results with mime multipart/alternative. The message I'm constructing looks like it's correct on inspection (se