Material validation in Workflow

Dear Friends,
We have use material work flow for creating material master,Now we required validation like,
when we released material at last stage of workflow required condition to check material batch managment (MARA-XCHPF) active or not.after depended on material type we decided to active it or not.
Please give me your answer  ASAP.
Regards,
Dishant Mistry

make the batch management screen i.e purchase view or MRP view mandatory at the last stage approval process

Similar Messages

  • Material validation

    Hi,
    I have written a user exit prgram for material validation. I.e we maniatin a seprate "z" table, where the 'z' table contains filed like material code, wbs element & material price. when i create a P.O then it should check whether that material exit in table. if that material exits then P.O should be saved or else it should display a message that material not mainatined in table.
    Our Scenerio as follows
      "z" is will be like
    WBS element                  MAterial                           Price
    cbb.009                               ABC                                11
    cbb.009                               DEF                                  12
    Now if i create a P.O with material ABC And WBS element cbb.009 P.O should be saved. And when i create a P.O with WBS cbb.009 with material GHI (which is not in table for WBS cbb.009) an error msg a 'material not mainatined' should come.
    For this i have used a user exit MM06E005 and Function exit EXIT_SAPMM06E_017.
    And now the issue is when i create a P.O with material whcih exist in the table  it is allowing me to Save the P.O. And when i delete the material code and enter a material code which is not in the 'z' table it's not displaying the error msg but when i change any other field than material code its showing the error message. When i set the break point in pgm and check the material field is not getting changed when i change the material in P.O but when i chnage either Qty,plant or price it getting updated.
    But for me when i change the material code itself it should be changed in the material code field.
    EVEN I TREID WITH CLEAR,REFERESH COMMANDS. BUT STILL ITS NOT SOLVEING MY PROBLEM
    And Regarding this issue i have posted many threads in SDN but i have not got any correct solution.
    Pls guide me to this issue and help
    Thanks
    Regards
    Dinesh

    Hello Dinesh,
    It seems you are in wrong forum. Try to post in Technical forums to get the appropriate solution
    Umakanth

  • 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

  • Validations and workflows

    hi.....can any one tell me wat is meant by validations and workflows  and the difference between them. And plz explain me the functions and there syntax .....

    Hi,
    Validations are used in MDM data manager for the data compliance i.e to check the structure of data if it is according to the business standards or not.Validations are written in data manager and applied and the result(True /False) are used for further actions.
    Ex like a record Emailid is there.A validation is written to check if there is @,.com,.in etc are there or not.If not then email-id is not proper so we will make that email-id value blank by calling a assignments on the basis of the result of validations .
    Have a look at the following links.They will help you to understand them better.
    Validations:
    MDM Validations
    New Webinar About Validations with MDM 5.5
    Workflow as the word suggest ,is to make the business solution to be in working format by including all the process of data add/update/import/ Validating/De-duplication/merging etc(as per business req.)
    Workflow is used to automate the whole process.
    Workflow links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b70eb612-0b01-0010-70b4-a01122d3fd17
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60559952-ff62-2910-49a5-b4fb8e94f167
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90990743-91c0-2a10-fd8f-fad371c7ee40
    Rgds
    Ankit

  • BOM material validity

    Hi,
    If in equipment BOM material validity is 3, then system should not allow to raise PR or reservation of 4 or more qty, only allow to 3 or less than 3 quantity from the maintenance order. System should give the error message when qty. exceeds.
    Is it possible ? how , please guide me........
    Because end users are increasing the qty. of the material while creating PR or reservation, i have to avoide this.

    Dear Shahanawaz,
    I think we have one option that is you can select in equipment BOM Fixed quantity or you can also select in general tab of order component tab,if you fixed there is no withdran more quantity
    but here one back drop is you canot change quantity in PREQ and also you have restrict to do PREQ to Purchase Order other wise possiblity to change in PO.
    I described what i know if it is useful ok, otherwise......dont mind
    Hope this may helps you
    Prem.

  • Required material to learn workflow from begining?

    hi,
           anyone can provide material to learn workflow from the begining with example.
           Please if u can..
    Thanks,
    Saurin Shah..

    Hi,
    there are many articles / tutorials available in sdn, you just have to search...
    here are some threads / tutorials on the same
    workflow tutorials
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6ce9d51d-0b01-0010-00ba-b7934da764de
    http://help.sap.com/saphelp_nw04/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
    WorkFlow Tutorials with Screen Shot
    http://help.sap.com/saphelp_nw04/helpdata/en/fb/135983457311d189440000e829fbbd/frameset.htm
    http://www.****************/Tutorials/Workflow/Workflow.htm
    PradeeP

  • Refresh materialized view using workflow

    Hi forum,
    I want to refresh some materialized views using oracle workflow.
    The dbms_mview.refresh is not in de list of public transformations when using the transformation activity.
    Does anybody have any suggestion / solution?
    Thanks in advance,
    Eric

    Hello, Eric
    Try to import dbms_mview package into OWB repository and use them directly.
    The second, easy way - just wrap dbms_mview.refresh into private transformation and use it within your process. I use it in my projects - it works ok.

  • Blocking Material Master for Workflow

    Dear colleagues,
    We are customizing creating and changing of material master workflow, i.e., screens will be generated by various people and supervisors of the initiators will be approved. For this purpose, I use Business Object BUS1001006 to serve it. But my problem is when a material master is created or changed in one of the views; I want to block that material in use of PO or whatsoever until confirmation is done by respected supervisor. Is there any field available, like in vendor master (LFA1 u2013 CONFS and LFB1 u2013 CONFS), in material master tables like MARA, MARD or etc?
    Best regards,

    Dear,
    You can very well acheive the functionality which you are expecting.
    You can block the material in MM06...here set the deletion flag....
    Now set the message as Error for Message number ME 051 in the below mentioned path:
    Spro-MM-Purchasing-Environment Data-Define Attributes of System Messages-System messages
    Now users can not create any PO with this material untill and unless you go and remove the deletion flag in MM06.
    Regards
    Utsav

  • Material Creation using Workflow

    This is my scenario .
    Initially when a new Material created it will have only the Basic 1 & 2 views alone .
    At the same time a workflow have to be triggered such that it have to send to a workitem to person who should define the MRP views only not other views of the material after it is finished another workitem to another person to define the account assignment views only not other views .Kindly help to proceed.
    - David Boon.

    Hi Martina,
    If you have done that then you are almost on the verge of completion!
    Follow this binding procedure between the task container and the method container and get the results.
    In the BO method, add an output parameter that would store the plant detail.
    Now create a data element in the method code of the same type as plant detail type.
    Then use swc_set_element to store the value of the plant detail in the output parameter.
    In the workflow task, create an output parameter of the same type as the BO method output parameter.
    In the binding between the task container and the method container fetch the value of plant details from method container to task container element.
    Now pass this parameter to the workflow container and use in the send mail step in the mail text.
    Make sure to save and generate the BO after doing all the changes.
    Regards,
    Saumya

  • How to create validation in workflow

    I create a simple workflow application, but how to do validation in this application? thanks in advance

    HI SharpLj,
    Activity validation enables activity authors and users to identify and report errors in an activity’s configuration prior to its execution. Windows Workflow Foundation (WF) provides the following three types of activity validation:
    RequiredArgument and OverloadGroup attributes.
    Imperative code-based validation.
    Declarative constraints.
    Further information:
    Configuring Activity Validation
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create Views in Material Master Through WOrkflow?

    Hello all,
            I have to trigger a WF(WOrkflow) once a Material is Created through MM01 and then have to send individual workitem to each user who ar eauthorized to create those views. I'm using BUS1001006 and here based on the Material type i need to create specific Views. Could anyone help me in fixing this issue and need to do dynamically.
            Helpfull answers will be rewarded.
    Thanks and Regards,
    Prashanth

    I solved by myself. Set PSTAT to whatever view you want.
    Thanks,
    Narayan

  • Material Master creation workflow

    Hi everyone....
    Last week I went on the BIT601 training course and I'm now tryinig to create my first workflow for material master creation, so please forgive my rather noobish questions. I think this must be a common workflow but I'm sure every company has a different process.
    My process is as follows:
    - User creates basic data view for material master in MM01.
    - Workflow is triggered when material is saved.
    - Work item arrives in inbox of master data enigneer who completes all material master views.
    - Mail is sent to workflow initiator to inform that material is complete.
    - End of workflow
    I have defined the start event CREATED from business object BUS1001006 in my workflow definition. I have defined a standard task for the first step in my workflow using bus object BUS1001006 with method Create. The workflow starts correctly however ...
    My question is how do I get the material number to pull through to my first step? I am assuming I need to setup some binding to pull the material number into the workflow container? 
    Can someone please point in the right direction.
    Many thanks,
    Neil

    wow, thanks for the super quick reply Rob!
    I figured it must be some binding I had not done.
    So ... I go to my Start events in my workflow header, I see I have only the "auto-generated" binding i.e. EVTCREATOR > WFINITIAOR ....
    now, I see EVTOBJECT as a possible container object from the event side of the window (left hand side) but what do I link it too? I was kinda expecting to see my business object as a possible container object in the workflow side of the screen (right hand side).
    I really hope that makes sense... If I understand correctly, the idea is to link the event object to the business object container element ... but if thats the case why can't I see my business object in the workflow side of the binding window?
    Many thanks for taking the time to help a noob
    [edit] ... I may have partially answered my own question ... I think I need to define the properties of my business object in my workflow container element such that its is an input field? ...
    I'm going home now... will carry on with this in the morning.
    Edited by: Neil Ward on Oct 4, 2010 6:17 PM

  • Validity of Workflow

    Hi All,
        Could anyone tell me as to where i can specify a validity period for a workflow?
    Regards,

    Well I am not aware of any such thing. You can create a dummy step and put it in one of the bracnhes of fork and rest of the process in other. You can have a latest end deadline active. Once the deadline reaches (after the validity period as u require) mark the workitem as complete. the branch will be complete and the workflow will end.
    Sounds like a very bad way to myself too! but might be able to do the trick!
    regards,
    Anuj Sethi

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

  • Different Campaign - Same keys / material / validity period is it possible?

    Hello All,
    We want to run two campaigns for different customers with same material / same validity and same discount condition.
    Web UI - Cannot create different campaigns for the same product with the same condition type in the same validity date.
    This is the error we are getting...
    Diagnosis
    The validity periods of records with the same semantic key (e.g. same price type, same organizational data, same product, and same customer) may not overlap. However, the system has found two records with overlapping validity periods.
    System Response
    Both records have a red status on the user interface, indicating that anerror exists. As these records are inactive, they will not be taken into account by any application (for example, sales order pricing).
    Procedure
    Change the validity periods of the records concerned such that they no longer overlap.
    Logically it makes business sense to have two different campaigns for same material and validity at the same time.
    We do not intend to introduce a customer key - as it becomes too cumbersome to maintain the records for n number of customers.
    Is there a setting in campaign management or somewhere else XCM etc etc to over-ride this some how.
    Please let me know if you need to see screen shots - I can provide them ... on request
    Good answers will be rewarded with points.....
    Thanks,

    Hello,
    Yes it will be possible, But you condition record should be based on customer/material.
    Regards
    Raja Pamireddy
    CRM Marketing forum Moderator

Maybe you are looking for

  • ITunes/iOS no longer syncs .PSD files?

    So I've recently updated my iPod Touch 4 and iTunes to their latest versions, on Windows 7.  I'm not sure which update caused the issue, but iTunes is no longer syncing my PSD files created in Photoshop Elements 7 to the iPod.  I tried to delete the

  • How do I find out how much memory is still available on my IPod?

    Hi! How do I find out how much memory is still available on my IPod? Thanks, Roland

  • Mapviwer 11 EA: Error in user_sdo_cached_map.definition

    Hi, I'm trying to deploy my map over the Early Adopter version of MapViewer and am getting the following error: java.sql.SQLException: ORA-13282: failure on init of co-ord transform ORA-06512: at &quot:MDSYS.SDO_CS&quot: line 75 There's more error me

  • Change in the AD Server (OAM)

    Hi All, I have successfully installed Identity and Access System and able to login to Access manager and policy domian. now the AD is moved to the other server i.e the IP of the AD which I was using is being changed. Now I am unable to login to the A

  • ADD JAR LIB TO CLASSPATH FOR TOMCAT

    Hello, I'am running a web application which also operates an automatic sending of mails. When I run my files on Jbuilder all things are OK. But when I test my application with Tomcat I have this error: Error: 500 Location: /ApplicationXTS/servlet/net