Further changes to workflow to send mail while creating material.

Hi,
I have created a workflow which sends mail to users when a material is created.
Now, I want to send mails to specific users depending upon the Industry sector and Material type.
For eg:
1) user1 should receive mail if the new material belongs to 'Aerospace & Defense' Industry sector and 'Raw material' Material type.
2) user2 should receive mail if the new material belongs to 'Retail' Industry sector and 'Semifinished goods' Material type.
Is there a way where I can create a condition for a mail to be sent?
Thanks & Regards.

self answered

Similar Messages

  • Sending mail while creating a GR

    hi all,
      We have a requirement here that states that on the receipt of a GR against a PO, the buyer should be intimated only ONCE.
    Right now what happens is if the PO contains 10 items and the delivery (GR) has been done for 5 items, the buyer (the one who is raising a PO) receives a mail in his SAP inbox (SBWP) 5 times( if we select "collective list" or "individual list")
      For this, we need to create a new requirement (routine) for output control in the transaction OMFT which shall be assigned to the output type MLGR.
    This new requirement should contain a source code which indicates that only one mail be sent to the buyer per GRu2026.no matter how many items are received in that GR.
    so, please let me know if any one has come accross this issue.
    thanks,
    anupama.

    Hello Dear Kammula
    Can you tell me how you solved this problem?
    Thanks in advance Guru¡¡¡¡
    Paulo.

  • Workflow to send mail 20 day before the expiry date

    Dear All,
    I created a workflow to send mail when a calculated column date is equal to today as follows:-
    Step1
    add -20 days  to Current Item:Expiry Date (Output to Variable : date)
    then set variable : Notification1 to Variable : date
    Step2
    If variable:notification1 equals (ignoring time) Today
    email users
    Now when i add a new item to the list , the workflow status is set to In progress , and when i refresh the page the status is changed to Completed before the condition is met and!!
    Any help
    Regards

    If I Understood your question correctly, you need to send email to user 20 days before expiration date. 
    From above you workflow I can see, you are just checking your condition once a item is created. As your Step2 condition is not met your  workflow is completed without any error. I suggest you might want to try below workflow
    Step1
    add -20 days  to Current Item:Expiry Date (Output to Variable : date)
    then set variable : Notification1 to Variable : date
    then Pause until Variable:date
    Step2
    email users
    Above workflow design will pause you workflow till 20 days before expiry date. and then send email to user. 
    Please ignore syntax, I just tried to put logic.
    Below is explantion on how to use Pause Action(from MSDN) in Sharepoint workflow
    This action is initially displayed in a workflow step as Pause until this time.
    Use this action to pause the workflow until a particular date. You can add a current date, a specific date, or a lookup.
    Following are examples of what the action might look like in a workflow step,
    Pause until 1/1/2010 12:00:00 AM
    Pause until Variable: A week from Modified
    If this helps Please mark it answer or vote as helpful.
    Thanks
    Siddharth

  • HOW TO Send mail while saving VA02

    How can i send mail while saving VA02.
    The mail address i have to pick from custom table based on plant.
    Just for the trial we used : output type :KRML
    Application : V1
    Transaction medium :7.
    and the program RSNASTSO routine SAPOFFICE_AUFRUF_VX is attached in the nace.
    The same output type is attached in va02.If we use this output type with this medium , it is asking us mail partner
    address also in the VA02.
    but we have to get the mail partner from custom table.
    And with this output type , the program attched in the NACE (RSNASTSO) IS NOT GETTING triggered.
    But the mail is being sent to the mail partner which i mentioned in the VA02 Communication method.
    How can i solve this.
    Finally my requirement is i have to send a mail to exter id which is maintained in the custom table while saving VA02.
    Regards
    Ramakrishna L

    Hi,
    We had set a output type in NACE. and that output type we have in the VA02 transaction also.
    But While saving the transaction it is not going through the program mentioned in the NACE for that output type.
    But mail is sent to the SAP Inbox or official id .
    how that mail is gone i am not understanding.
    How can we do to go through the program mentioned in NACE while saving the VA02.
    The mail body coming with text " sales order is blocked" sopme thing like this.
    This same mail i have to sent to the mail id maintained in Custom table plant wise.
    Regards
    Ramakrishna L

  • Custome Workflow will send mail after 6 months from a document added

    Hi,
    I have created a custom sequential workflow in Visual studio. As per the requirement, the workflow will send mail to approvers after 6 months from the document added date. Is that possible? I don't want to use timer job, as there is some other issue. Can
    I do the same in workflow itself? Which event will work for the same?
    Thanks

    Hi,
    You can setup retention policy to start workflow after 6 months from created date:
    http://blogs.askcts.com/2013/05/14/creating-a-timed-workflow-in-sharepoint-2010/
    http://community.office365.com/en-us/f/154/t/252993.aspx
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • Saving of different Material code in the system while Creating material

    Hi,
    Anyone can help me in following .
    While creating material number, there should be some User exit which is going to change the logic for saving of material number in the system.
    Example:
    Division and material Group should be added into the predefined number range.  Number range defined for raw material is 100000 to 199999. If division is 1A, and Material group is M01. The first number generated by system is 100000 , where as during saving into the table NUMBER SHOULD BE saved as 1AM01100000 & we must be able to work on the new number.
    If any query pl .revert.
    MG.

    Hi manish,
    This is possible using enhancement.
    Use the User Exit MGA00001
    and code the below like :
    cmara-matnr = cmara-matnr+7(11).
    CONCATENATE cmara-matkl cmara-spart cmara-matnr into cmara-matnr.
    set PARAMETER ID 'MAT' field cmara-matnr.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = cmara-matnr
    IMPORTING
    OUTPUT = cmara-matnr
    Hope it will solve your problem.

  • Error while creating material

    I got an error while creating material "Material does not exist or not activated". Can anybody help me.
    BR//
    Irf

    hi
    I think you have posted your question in wrong place.
    Can you please make your question more clear.
    regards!
    ramesh
    Edited by: Ramesh kumar.p on Feb 22, 2010 12:48 PM
    Edited by: Ramesh kumar.p on Feb 22, 2010 12:50 PM

  • Error While Creating Materialized View

    Hello,
    I am getting error ORA-22818: subquery expressions not allowed here while creating materialized view. I am using Oracle9i Enterprise Edition Release 9.2.0.1.0. Below pasted is my SQL Script.
    Any help is highly appreciable.
    Thanks
    *********SQL************
    select distinct(id),NAME,(select count(GRADE) from employees where
    nationality like '%US%'and id=a.organization_id and grade=a.grade
    group by ID,GRADE) US,(select count(GRADE) from employees where
    nationality not like '%US%' and organization_id=a.organization_id and grade=a.grade
    group by ORGANIZATION_ID,GRADE) NON_US,grade from employees a
    where grade is not null
    group by GRADE,ID,name
    order by to_number(grade) desc

    Hi,
    This is a documented restriction on MVs. You cannot have a scalar express (i.e a select statement) in the select list.
    You can get round this by joining your select count(grade).. expression in as an inline view in your FROM clause. Or you can create a normal view without the scalar expression, create your MV as a select from this view, then re-define your view to contain the query you want.
    Hope that helps,
    Rod West

  • Hello Guru's  Error MSG while creating Material Type HERS

    Hello Guru's,
    While creating material type HERS the system is showing the following error *"The field orign acceptance is defined as a required field; it does't contain an entry'"* will any one give solution.
    even i have filled orign field in info record also still it is giving same error message,  will anyone give solution.
    full points for the answer.

    hers is for the mpn
    note the techincal name of that field and then go to oms9 and there make that filed for the filed selection key of hers as optional
    u can get the field selcton key of hers from the tcode oms2

  • 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

  • Screen sequence error while creating material.

    Respected Gurus,
    While creating material, i am getting the following error:
    The data screen descriptions are missing for screen sequence EH
    (Message no. MM329)
    Looks like screen set up issue.
    How do I solve this??
    Please help.
    Jaideep

    Jaideep,
    Check in other logon language like EN or DE.
    You might want to check with basis consultant if all text's are migrated into your logon language.
    If the screens are not standard, texts might only exist in developer logon language.
    Close message if solved.
    regards,
    Edgar

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

  • Error while creating Materialized View step 3 of 6 using wizard

    have oracle 9i Rel 1 on Windows 2000 server. Master Site has been setup. Database links are created at Materialized view site. But while creating Materialized View Group using wizard there is following error on step 3 of 6.
    Statement:----------------
    /*OracleOEM*/ SELECT 1 FROM SYS.dba_constraints@masterdbname WHERE OWNER='username' and table_name='tabname' AND constraint_type='P'
    Stack Trace:----------------
    ORA-00942: table or view does not exist.
    ORA-02063: preceding line from masterdbname.
    All parameters for replication are correct.
    Please help me early.
    Thanks

    Hello,
    In the masterdbname, logging as sys user, you must grant select permission on sys.dba_constraints view to mvadmin_dbname user (where dbname is the replicated database name).
    Regards,

  • Error while creating Materialized View step 3 of 6

    I have oracle 9i Rel 1 on Windows 2000 server. Master Site has been setup. Database links are created at Materialized view site. But while creating Materialized View Group there is following error on step 3 of 6.
    Statement:----------------
    /*OracleOEM*/ SELECT 1 FROM SYS.dba_constraints@masterdbname WHERE OWNER='username' and table_name='tabname' AND constraint_type='P'
    Stack Trace:----------------
    ORA-00942: table or view does not exist.
    ORA-02063: preceding line from masterdbname.
    All parameters for replication are correct.
    Please help me early.
    Thanks

    Hello,
    In the masterdbname, logging as sys user, you must grant select permission on sys.dba_constraints view to mvadmin_dbname user (where dbname is the replicated database name).
    Regards,

  • Duplication in part numbers should not accepted while creating  material ma

    Hi all,
    How can i set Duplication in part numbers should not accepted while creating  material master. How can do this requirment plz help me.
    thanks
    ramesh

    hi,
    please check is there any user exit or BADI available and make use of it.

Maybe you are looking for

  • How can I change the store (from Mexico to US)

    Hi. I moved to the US and have not been able to change the store and be able to use itunes store. I have a remaining balance of 2 pesos in my Mexico account (not enough to buy anything so I can't spend them)...

  • Zen Nano Plus Playb

    When I turn off my Zen Nano Plus, I want the player to resume from where I left off (usually in the middle of my audio book), but it goes back to the beginning of the file. It only started doing this recently... Is there a setting I can change so I c

  • Imac8 running slow

    My 2008 iMac 8 is running very slow these days.  I do have 4Gb of SDRAM and can upgrade to 6 I think.  Does anyone have any suggestions? Not sure if I can put a 2 and a 4 GB memeory module(s) in for a total of 6GB.  Thanks in advance.

  • How do i stop plug ins from updating

    Once or twice a week a box will pop up about updating plugins, then a completely different Firefox browser than I use pops up, there are no bookmarks in this browser, I close it, open my regular Firefox browser and all my bookmarks are gone. How do I

  • Can videos not recorded on the new ipad be edited with imovie?

    can videos not recorded on the new ipad be edited with imovie?