Creation of PM Notification based on UD Code

Hi Seniors
I am new to PM/QM module and facing an issue while configuring UD code follow-up actions.
My requirement is once the Valution Code is set to "Rejected" in UD code then follow-up action should be generated and in this follow up action, couple of actions should take place :
1. Set the equipment status (QFOA_OBJECT_STATUS_SET). It is happening
2. Set the order status to TECO (QFOA_ORDER_TECHNICAL_COMPLETE). It is also happening
3. Creation of a Notification so that based on that notification, corresponding order followed with PR/PO to be created for procuring of the equipment.
I am not able to find out the way how to address Pt. No. 3. Kindly help
Thanks
Manmohan K Bajaj

Hi,
Thanks Seenu,
So i have to clasify based on Maintenance activity types. If there are activities like repair, shutdown, testing etc. then i will have to create work center based on that?
So i can create some activities like, Modification, Repair, standby, waiting etc and assign work center for each?
Here we are following 4 maintenance planning preventive, predictive, breakdown & shutdown so is it possible to make 4 work center according to those.
please correct me if i m wrong. i really have no much idea in this. any help or suggestions will be appreciated.
Thanks in advance
Ramya

Similar Messages

  • PM Notification creation based on UD Code

    Hi Seniors
    I am new to PM/QM module and facing an issue while configuring UD code follow-up actions.
    My requirement is once the Valution Code is set to "Rejected" in UD code then follow-up action should be generated and in this follow up action, couple of actions should take place :
    1. Set the equipment status (QFOA_OBJECT_STATUS_SET). It is happening
    2. Set the order status to TECO (QFOA_ORDER_TECHNICAL_COMPLETE). It is also happening
    3. Creation of a Notification so that based on that notification, corresponding order followed with PR/PO to be created for procuring of the equipment.
    I have also maintained PM notification type (which I want to auto create during inspection lot recording) in SPRO for respective  inspection type level then also notification is not getting generated automatically.
    I am not able to find out the way how to address Pt. No. 3. Kindly help
    Thanks
    Manmohan K Bajaj

    If ud code is Accept then system not allow to post stock in block stock and if ud code is reject then system not allow to post stock in unrestricted.
    Dear this can be achieved through UD code itself  please check the assigned stock proposal to the ud code in QS51.
    QS51 -> catalog 3, plant.
    Look at the ud codes -> Here you can find a posting proposal for the UD.
    Cheers
    KK

  • Automatic assignment of Partner Function (Dealer) based on Postal Code?

    Hi Experts,
    We are realizing a project in the Bathroom-Product Industry. Responsible for the service to the end-clients are authorized dealer. When creating a service ticket the responsible dealer has to be assigned automatically to the ticket on the basis of the postal code where the IBase (the product) is installed.
    The process is:
    1. The client is calling the Interaction Centre and first the IC Agent has to identify the account and the Installed Base (The     installed base contains the postal code where the product of the client is installed) of this account.
    2. An Interaction Record is created to record this inbound call.
    3. Afterwards a Service Ticket is created as a follow-up Document of the Interaction Record. In the moment of the creation of the Service Ticket the correct dealer has to be assigned automatically to the Service Ticket (as a Partner Function not as a Service Organization) on the basis of the postal code of the installed base.
    I have the following question! Which are the steps to assign automatically a Business Partner Function to a Service Ticket? We also need to create a Z-Table with the postal codes for which every dealer is responsible.
    Example:
    Dealer 1 is responsible for the postal codes: 08040 - 08045 and 08056 - 08059. If a client is calling and his product (Installed Base) is installed in Postal Code 08042 or 08054 the dealer 1 has to be assigned to the service ticket.
    I hope I could make myself clear ;-)? Anybody can give me a hint how to do that? What are the basic steps?

    Slightly similiar, originally being an R/3 customer before implementing CRM our dealer equated to sales office.
    In the CRM Org model (PPOMA_CRM) in the attributes of the sales office we entered the Regions & Postal codes for that dealer (pain in the arse to do) and in CRM the sales office in the org creates a BP.
    We used a org rule for the IR record based on country, region, postal code to determine the appropriate sales org, DC, div, and sales office based onthe zip code.  We created a custom partner function to represent the partner number of the  BP from the org model.  Then we configured a custom relationship "ZORG" "Is partner of sales office" and went into the BP master and assigned the actual dealer number as a partner to BP from the org model that = sales office.  From that we configured a custom access sequence to pull the actual dealer number from the org model office relationships.
    We looked at territory management, but our dealer is an "org BP" and territory management appeared to want to drive to a person BP number.

  • Auto Creation of new requisitions based on a list of items

    Auto Creation of new requisitions based on a list of items
    We are starting discussions to determine how we could auto-create requisitions based on a list of servers in order to perform periodic health checks. 
    One approach we thought about was creating one service request that could spawn multiple requests, again based on a list and using a set schedule (weekly, monthly, quarterly, yearly, etc.)
    Has anyone implemented this and can provide some guidance/tips?

    You can check this article for more references on how to use sp_helptext object_name stored procedure:
    http://blog.sqlauthority.com/2007/05/25/sql-server-stored-procedure-to-display-code-text-of-stored-procedure-trigger-view-or-object/
    I also suggest trying commercial tools to sync and compare the stored procedures between two databases. We used
    ApexSQL Diff, but I've also heard some good things about
    Devart's tools.

  • Send Email Notification based on UPDATE

    Hi,
    a simple issue : how can I send an automatic Email Notification based on whether or not a particular field/attribute has been updated ?
    Currently, in my User Form, I have "Checkboxes" to handle this task. The Checkbox code is as follows :
    <Field name='global.FirstNameUpdate'>
    <Display class='Checkbox'>
    <Property name='Title' value='Tick this box if the user's first name has been changed'/>
    </Display>
    </Field>
    In other words, if the First Name is changed at any time (or edited/updated), the Checkbox there will be ticked. When this happens, an automatic Email Notification is sent to whomever-it-concerns, saying : "Good morning. Your First Name has been changed/updated".....blah blah blah
    For now, this works fine.
    But, this system is not a good one. The reason is obvious : what if the First Name is changed more than ONCE?
    (Of course, a person's first name is never changed. But, this is just an example)
    What if the Field/Attribute in question, is something that is changed often? Like : the person's Address, or Age, or Marital Status, etc, etc
    Obviously, a Checkbox is useless, because it can be ticked only once.
    What I need is a way for my Update-User Workflow to detect any changes that are made in the User Form, and, based on this changes/updates, it can trigger an Email Notification.
    I know that this is a simple issue. I just don't know how to do it.
    What code/syntax should I use in my Update-User Workflow, to *"search for"* updates?

    Hi,
    a simple issue : how can I send an automatic Email Notification based on whether or not a particular field/attribute has been updated ?
    Currently, in my User Form, I have "*Checkboxes"* to handle this task. The Checkbox code is as follows :
    *<Field name='global.FirstNameUpdate'>*
    *<Display class='Checkbox'>*
    *<Property name='Title' value='Tick this box if the user's first name has been changed'/>*
    *</Display>*
    *</Field>*
    In other words, if the First Name is changed at any time (or edited/updated), the Checkbox there will be ticked. When this happens, an automatic Email Notification is sent to whomever-it-concerns, saying : "*Good morning. Your First Name has been changed/updated"*.....blah blah blah
    For now, this works fine.
    But, this system is not a good one. The reason is obvious : what if the First Name is changed more than ONCE / or, on a regular basis?
    (Of course, a person's first name is never changed. But, this is just an example)
    What if the Field/Attribute in question, is something that is changed often? Like : the person's Address, or Age, or Marital Status, etc, etc
    Obviously, a Checkbox is useless, because it can be ticked only once.
    What I need is a way for my Update-User Workflow to detect any changes that are made in the User Form, and, based on this changes/updates, it can trigger an Email Notification.
    I know that this is a simple issue. I just don't know how to do it.
    What code/syntax should I use in my Update-User Workflow, to *"search for"* updates?

  • Skip the Creation of Maintenance Notification

    I would like to know the effect if i will skip or remove the process of creation of Maintenance notification in SAP PM. The process will start with the creation of Order, if there's an external service required the Maintenance Order will be converted into PO if no external service or material will close the Order.
    Since the Creation of Maintenance Order will generate Notification, we were thinking that creation of Notification is redundant if the system allows to create order and notification in one transaction.
    What would be the effect of this, thanks and God bless.

    Greetings Peach,
    As the experts, who had already answered observed, this is purely a business process consideration. If your (Client's) organization supports a "streamlined" process in which direct Order creation is beneficial you can go for it.
    As you've written "Since the Creation of Maintenance Order will generate Notification, we were thinking that creation of Notification is redundant if the system allows to create order and notification in one transaction." I assume you are still using Notification and Order integration. But as Yogesh Dhokne mentioned, this is optional as well.
    If you choose to create a Notification in the background, you can still register breakdown times for MTTF/MTBF calculations, Catalog Codes for tracking and any additional information once the Orders are created.
    But consider this: How is work requested, released for execution and reported? If you only create Orders, you have only Orders to go on. Therefore, you might require more verbose User Status management, and you may find yourself with Orders that are being created unnecessarily and have to be closed, Orders being released prematurely... You have to have a very "flat" process around this immediate Order creation.
    On the other hand, consider that having Notifications created prior means a more "deep" process and more overhead, but you can have a step to filter works to be released on the Notification level before Orders are created, if you have more than one Notification  for the same work, you can assign it to a single Order, and you have more options when designing roles and authorizations, since you can separate access and business transactions for Notifications and Orders for your Operations and Maintenance users, if necessary.
    Please ask further questions if you have any!

  • Auto Email notification based on data from Table

    I need to send a auto email notification based on the information updated on the table. Like when response table is updated as 90 for ( column users).A Email should automatically trigger to the different users listed in a table named (email).. I have stored the value of users in a table named response and the person to whom i need to be email has been stored in table name email.
    I'm using Oracle 10g Express edition
    Let me know how this can be done automically.

    Wrong forum...should be over in the Database Forum or PLSQL forum. You need to add a trigger to the table and the trigger needs to utilize the UTL_MAIL or UTL_SMTP packages. You can get more info on UTL_MAIL here or more info on UTL_SMTP here
    and here is some example code for a trigger:
    create or replace trigger my_trigger
    after insert or update
    on my_table
    for each row
      begin
       utl_mail.send(sender     => '[email protected]',
                     recipients => '[email protected],[email protected]',
                     cc         => '[email protected]',
                     bcc        => '[email protected]',
                     subject    => 'utl_mail test',
                     message    => 'if you get this message it worked!');
    end my_trigger;UTL_MAIL and UTL_SMTP may need some configuring before you use them, see the links above for details.

  • OB52 based on Company Code

    Dear All,
           As we are having several company codes and want users only to be able to open and close periods from transaction code OB52 belonging to their posting period with respect to company codes how can I restrict and allow them open & close periods based on company code repectively. Is there any process this be done.
    I tried with the notes I got from one sap-img link. But it did not work & there something is missing. Kindly if anyone have done this before send be step by step process. Awaiting for you reply...
    regards,
    Raj B...

    How about trying it this way?
    1. Remove access to OB52
    2. Create a maintenance view similar to V_T001B specific for each company.
    3. Create a TCODE for each of these views.
    4. Use this TCODE for authorization assignment.
    This should be simple but your number of views would be increasing with respect to the number of companies.
    ~Eswar

  • Gl a/c short and long text based on company code

    Hello Friends,
    In table skat the gl account description is given based on chart of accounts but what if i want the description based on company code.
    I want the table where i can get the gl account description based on company code??
    Pls suggest.
    Regards,
    Sunny

    Hi,
    you can look at the database view for requirement
    GL_ACCT_CC_TEXT
    regards\
    Mahesh

  • Table for finding rate based on part code and material

    Hi Experts
         I am an ABAP consultant with ltd knowledge on SD . Please tell me in which table  I can find the rate based on party code and material .

    Hi
    The standard table is A305. But usually these tables can be customized based on the requirement. So if you are aware about the Condition type for which this Price/Rate is maintained you can find the same in VK13.
    In transaction code VK13, maintain the condition type and click on "Condition information" icon. Now dont maintain any input date. Just click on Execute icon or F8. System will give the list of all the tables and data maintained based on the combination.
    Select the required table.In SE11, maintain this table with prefix as A. You can get all the required information.
    Regards
    Vamsi

  • Can I get multiple sums in a single column based on a "code" I place.

    After importing a file of check/debit card activity from my bank, can I 'code' the line items based on tax categories ie Utilities, Medical expenses, Auto expenses, etc. and then get sums for each based on that code I placed in a single column? That would mean multiple sums in a single column based on the code used for each tax related expense. For instance, I would put UT in the column for utilities expenses and MED in the same column if it were a medical expense. I would then want the sum for all items in that column for each item code. Is this possible or do I need to use a different approach to get this information.

    My guess is that the SUMIF function may be your friend.
    It's well described in the *iWork Formulas and Functions User Guid*e which every user may download from the Help menu.
    Yvan KOENIG (VALLAURIS, France) samedi 2 janvier 2010 21:56:39

  • SKF transactional values based on company code

    Can anybody let me know the logic how we can seggregate transactional value passed to statistical key figure based on company code or is there anytable where we can direclty find SKF transactions involved based on company code ?
    Need to upload SKF transactional figures from one SAP system to another.Hence require process for extraction and uploading of the same

    Hi Amogh
    Hope you are looking for actual SKF quantities posted. kindly check s_alr_87013611 CC report, I think on the lower part this comes. This time I am not in front of system so you please check.
    Regards
    Rajneesh

  • Decimal places adjustment based on company code or currency

    Hi experts,
        my requirement is i have to adjust the decimal places in amount fields of internal table based on company code or currency given by user.
    suppose for example in my internal tables having 5 amount fields like 1.50 1.234 1.45 1.34, 1.67  for  company code is in01
    the same values for VN01 should be like this
    150 1234 145 134  167  ....
    can any body plz tell me any functional module is there to covert or abapcode?
    Thanks in advance,
    veena.

    That code is a bad idea.  Why would you hard-code that type of action for currency/amount handling?
    @poster: If the output is based on the local currency defined for the specified company code or one specified by the user, then use it.  SAP handles amount output automatically with a currency specification because the currency definition identifies where/how the decimal is output. 
    Just use WRITE as Florian indicated but  use the CURRENCY extension instead of DECIMALS.  You can do this dynamically based on the company code easily...
    A simple 3 line program shows you how this works:
    PARAMETERS: p_wrbtr type wrbtr.
    write:/ p_wrbtr CURRENCY 'USD'.
    write:/ p_wrbtr CURRENCY 'JPY'.
    Edited by: Brad Bohn on May 12, 2011 1:07 PM

  • Restriction of Tcode SQ01 based on Company code

    We are running one customized query using Tcode SQ01.  We need to restrict Tcode SQ01 in company code level.  We have checked about authorization object in st01. But there is no check of authorization object. Can anybody help to restrict SQ01 based on company code level?
    Regards
    Auroshikha

    Hi Auroshikha,
    Itu2019s very easy to maintain authorization in your Infoset Query report. I got and implemented similar requirement i.e. restriction /authorization as per company code.
    You need to use authority check for authorization object  P_ORGIN in your infoset.
    Please follow the bellow steps:
    -->Go to SQ02, Enter your Infoset name and click on Change button.
    -->Click on 'Code' (Shift+F8) icon dispalyed on application toolbar, you will be moved to Code Section of Infoset that lists different events.
    -->Choose Record Processing event from code section.
    -->Write the following code in 'Record processing' event of your Infoset.
    AUTHORITY-CHECK OBJECT 'P_ORGIN'
    *ID 'INFTY' FIELD '*'
    *ID 'SUBTY' FIELD '*'
    ID 'AUTHC' FIELD 'R' "read
    ID 'PERSA' FIELD P0001-WERKS
    *ID 'PERSG' FIELD DUMMY
    *ID 'PERSK' FIELD DUMMY
    *ID 'VDSK1' FIELD DUMMY.
    CHECK Sy-SUBRC EQ 0.
    Note: PERSA field used in this Authorization object plays an importan role , if you are in different module other that HR , then pass here table_name-companycode_field
    -->Genetare Infoset
    -->Go to SQ01 (in a new session) , Click on exeute or 'Test button' to check authorization is working for report
    Let me know if you need any more details.
    Thank you.
    Regards,
    Dinesh Tiwari

  • Any option to restrict SE16 record level access based on company code?

    Hi All,
    I have a requirement to restrict record level access in SE16 based on company code.
    Our SAP system has two company codes. The requirement is that users of one company code should not be able to see records of other company code in SE16.
    Is it possible through some exits/badis/other methods?
    Thanks in advance.
    Regards,
    Arun Mohan

    You could write a small front end that accepts the company code, applies custom authorization code for each value and retains or removes, then calls the transaction and enters the selections the user requested and that your authorization check resulting in "passing"....  Of course, you'd have to block those users from "pure" SE16...   I once worked in situation similar, users in one country couldn't see USA data, etc. I think someone wrote an entire new program, called by ZSE16, for that.

Maybe you are looking for

  • I updated my iphone 4S to 7.1.1 and now WIFI and Bluetooth do not work.

    I updated my iphone 4S to 7.1.1. Immediately after doing this, my wifi is greyed out, (cannot even turn it on), and my bluetooth is not working at all. I have discussed with Apple several times and even went to an apple service center. They claim tha

  • Getting Error: Invalid configuration. Terminating the Palm Desktop when starting Palm Desktop 6.2 by Access

    I have recently gotten the error noted in the subject line on my Tungsten E2 whenever I double-click the Palm Desktop icon.  Once I click the OK button I am returned to the desktop without entering the program.  I have installed the program and reins

  • Spry Accordion and Firefox (dotted border)

    How to get rid of this border? It shows up after clicking in the accordion (wheater title or content) and outlines the whole accordion. This problem is only in Firefox and makes the whole accordion unpleasent to look at. I would like to know if there

  • Voice command for Contacts doesn't work after a re...

    Voice command for Contacts doesn't work after a reboot or a contacts restore. Steps to reproduce: 1. Backup contacts. Open Files > Backup & Restore > Select Contact for Backup Contents and select Back up now. 2. Edit/save a contact, press and hold th

  • Installing Panther on Grape iMac 333

    Hi A friend bought a cheap 333 iMac and I'm trying to install Panther on it. After much effort and upgrading the firmware I finally managed to upgrade it to 9.1. I load the Panther disk and click the install. It tells me to restart to I click the res