Automating the services for object for a work order

Hi All,
Can anyone post an ABAP code using which we can automate the process of creating a note for a Work order at the time of saving the work order. I need to create a note with the work order at the time of saving it. This note needs to be attached automatically. Can anyone help me with the code to do this?

Uhm... If you want us to do your job, how much are you willing to pay?
How is the note "attached"? If it's an attachment using GOS then the code has already been posted on SDN - look it up. You'll need to add it to the work order creation (I'm guessing there should be some kind of BAPI or FM).

Similar Messages

  • What are the possible cost objects for raw material consumption postings

    what are the possible cost objects for raw material consumption postings. i want to know whether it can be work order(maintenance order).

    For example, you are confirming a process order and issuing raw materials to the process order, the system in the background creates the consumption posting and will by default use the process order as a cost object.
    Similarly, when you are issuing materials to a work order, you will use MB1A and with movement type 261 and the system prompts you to enter the order number.  If you are using movement type 201, then the system prompts you to enter the cost center and so on.
    Thanks,
    Madhav Nanduri

  • How to find out the Number range object for Incident number

    How to find out the Number range object for Incident number ?
    CCIHT_IAL-IALID
    regards,
    lavanya

    HI, an example.
    data: vl_num type i,
          vl_char(6) type c,
          vl_qty type INRI-QUANTITY,
          vl_rc type INRI-RETURNCODE.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '01'
        OBJECT                        = 'ZRG0000001'
       QUANTITY                       = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
    IMPORTING
       NUMBER                        = vl_num
       QUANTITY                      = vl_qty
       RETURNCODE                    = vl_rc
    EXCEPTIONS
       INTERVAL_NOT_FOUND            = 1
       NUMBER_RANGE_NOT_INTERN       = 2
       OBJECT_NOT_FOUND              = 3
       QUANTITY_IS_0                 = 4
       QUANTITY_IS_NOT_1             = 5
       INTERVAL_OVERFLOW             = 6
       BUFFER_OVERFLOW               = 7
       OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    vl_char = vl_num.
    write vl_char.
    Regard

  • Services for Object button in Sales Order

    Hello Experts,
    We are not getting Services for Object Button in Sales Orders. Actually we need to attach some documents to Sales Orders.
    Thanks in advance.
    Mamta.

    Dear Friend,
    If you are not getting Services for Object Icon in Sales Document, then follow this:
    T-code - SU01 u2013 Here Enter User ID & click in change icon.
    Then click on Parameters Tab & Add Parameter u2013 SD_SWU_ACTIVE. .
    This will definitely solve your problem...
    Thanks,
    Jignesh mehta

  • Services for object doesn't work in an iView.

    Hello all,
    My company wants to use the "Services for Object" function from transaction MM03 inside the Portal but, as i created the iView, i noticed this function won't work.
    The icon is there but after clicking it, nothing happens.
    Has anyone ever had that kind of problem?
    Thanks in advance,
    Simone

    Hi,
    I have the same problem, did you get solved? Please advice.
    Thanks

  • 'Service of Objects' for attachments

    Hi All,
    I am working on custom screens with module -pools in which i have a requirement to have attachments much similar to VA01. I searched about 'Services Of Objects' in SDN and did find some helpful posts but i am not able to understand where to stsrt from to have the icon for 'Services Of Objects'  to show on my custom screens.
    CREATE object go_myobject
             EXPORTING  is_object = ls_object
                        ip_no_commit = 'X'
             EXCEPTIONS others = 1.
    I coded this above in the PBO. I think i need to PUBLISH for me to see the ICON. But not sure how to do and where to so? Can anyone please direct me to any posts or any doc regarding this 'Services Of Objects'?
    Thanks in advance,
    Karuna.

    You may need to look into this
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3&overridelayout=true
    and also in the net you can find blogs by Naimesh Patel

  • Idoc info in 'Services for Objects' when a sales order is created

    Hi Guys
    Could one of you remind me how to turn on the Idoc info in the 'Services for Objects' > workflow option.
    I know how to turn on the services for objects using the user profile and entering parameter id:SD_SWU_ACTIVE , parameter value: X.
    I am not able to see the Idoc number/info that was used to create the sales order. I can see all the information in WE05 but the sales order does not show me any history of having used the Idoc.
    When i go to sales order and select the services for objects option followed by workflow the system should show the IDOC number/info used to create this order.
    Your help will be appreciated.
    Thanks
    Manish
    Edited by: Comes Naturally on Feb 23, 2009 3:46 PM

    Hi,
    1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
    2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
    So whenever a Sales Order is created, output type will generate an IDoc.
    Hope this information is useful.
    Regards,
    AK

  • Viewing data kept in "services for object" for several objects in alv grid?

    Dear Experts,
    Is it possible to view the data kept in "services for object" (The Button at topleft side of title bar of Master data header screen of objects like Functional Location/Equipment/Notification/Order) for several objects in one list like ALV?
    Please guide how to do it.
    Thanks and Regards,
    R N Sabat.

    Hi,
    The data stored in service object can be viewed latter on in change/display mode
    Kapil

  • Services for object for a custom document

    Hi everyone,
    We have a custom transaction to create a custom document called enquiry. Upon saving, the document number will be generated and stored in a table. I would like to add the functionality of Services for Object in the transaction to be able to attach documents to the enquiry. I would like to ask if it is possible to create a business object for this custom document to be able to utilize the Services for Object functionality.
    Thanks!
    Eric

    you can choose to create BO for this or simply have a another identifier for this object and youc an use class OT to upload documents to BDS.
    all you need is call of this FM whicih will automatically put the icon for GOS
    SWU_OBJECT_PUBLISH
    alternatively you can use class cl_gos_manager
    Raja

  • Copy 'Services for Objects' from Quote to Order

    Can anyone tell me a way to copy 'Services for Object' from a Quote to an Order when the order is created via reference to the quote. For a simple case, lets say we have an excel sheet attached to the quote via/under Services for Objects. When we create a Sales Order with reference to that Quote I want the attached excel sheet to be visible under The 'Services for Object' of the Sales Order.
    Thanks in advance.

    Hi Mohanpreet,
    Have you craeted a new field BA for lead and activity?
    Is it also present in quotation and sales order?
    If the coupy contol from lead to opportunity does pass on the field details, they must also get transfered from opportunity to quotation and sales order. Maintain the copy contro settings properly.
    If the issue is still not resolved use BADI CRM_COPY_BADI for further enhancements.
    Wish this is helpful.
    Regards,
    Shalini Chauhan

  • How can I find services for object for PM Notification

    Hi all
    How can I find services for object(attached files ) for PM Notification  ?
    I can see then,for examle ,using transaction Iw22 :System---->Services for object
      My requirement are : 1. open attached file of selected notification for display ( if exists one)
                                     2. If user wants to attach file as service of object
                                           what function exists for it ?
    Please your help

    Hi SD,
    I have checked in SUIM and SU24 also. But I didn't find.  Could you please tell me any other way to finding out the authorization objects.
    Thanks,
    bsv.

  • Adding URL to Services for Object for Invoice

    Hi Friends,
    I need to add a URL to 'Services for Object' drop down on the menu bar (so that it will appear in 'Attachment List' after clicking on which it will navigate to the link).
    I am not sure but will SWU_OBJECT_PUBLISH be useful? How to use this for URL insert?
    Can anyone please tell me how it can be achieved?
    Thanks in advance for your help,
    Sagar

    hi
    check out the function modules BDS_BUSINESSDOCUMENT* in transaction OAOR.
    hope this helps
    regards
    Aakash Banga

  • What does it take to get the service I pay for?

    In the past 2 1/2 months or so, my DSL service has been about as reliable as a politician's promise, in other words, not at all. When I first called, I must have gotten lucky, because I actually talked to someone who spoke understandable English, and who, after I told him that I was not a computer novice, gave up on the "reboot your computer and reboot the modem" garbage (I had done all the basic troubleshooting tests prior to calling) He also tried to tell me that the problem was in my home wiring, but when informed that the problem existed with a direct connection to the network interface, dropped that attempt.. He determined that the problem was my modem, and after I refused to place an order for one through Verizon, finally decided to send me a new one at no cost. I also was promised a credit on my bill for the time I had no service. After several days, a package arrived, and it contained a modem / wireless router combo. I installed it, did the set ups, and had some strange results on the network status page including it telling me that the broadband was connected and the internet was continually attempting to connect. I was able to access the internet, but knowing that this is was not right, called tech support again. This time I reached the proverblal "Peggy" who I could not understand. After asking him to repeat himself many times, and then asking if there was someone who actually spoke understandable Engilsh (and his refusal to connect me to anyone else)  I finally gave up. I had to leave town on business for a few days, and while I was away, my wife called to tell me I had a package delivered. It turns out that this was a second modem/ router with a note (demand) that I return the first one within a short period of time, or be charged some outlandish fee. I installed the second replacement, including changing the wiring and power supply, and set the wireless up again.  It seemed to work better, than the first one. I am still having quite a few problems. The internet will drop out  with no rhyme or reason, sometimes it will show the broadband connected and the internet not, sometimes (and this is really bad) is shows that the internet is connected but the broadband is disconnected. Seeing as the broadband is needed for an internet connection, this really makes no sense. When the internet cuts out, I often have to unplug the connection from the modem, plug it into the phone (phone line is not normally hooked up) make a call of some kind, even to my own number) and then plug the cable back into the modem. I usually will get internet back then, sometimes for thirty seconds, sometimes for several hours. On my last call for support, I was told by a so called supervisor that if they were to send someone out to check things, they would be converting me to FIOS (something I do not want to do for many reasons, including the attiude and trespassing of a FIOS installer trying to run cables across my yard where there is no easement, rather than running them in the easement which was further. The bill credits I was promised?  They are like Verizon reliablity, they are missing. Is there any reason I should not change to another carrier after being with Verizon for over 20 years?

    I just spent 2 hours on a chat with them... Turns out... He says I have High Speed Internet, I say I have High Speed Internet Enhanced He tells me I should be happy with my speed test, I tell him I should be receiving what I am paying for and it is beneath the 3.1 Mbps to 7.0 Mbps I am paying for. He says the repair service cannot see my account stuff only billing. I insist I am paying for High Speed Enhanced. 2 hours in I am told that Repair is arguing with Billing over what service I have. I tell him Billing will win. He finally calls me direct, and am told to close the chat. I am told I am correct all along and will receive credit to my account for them not giving me the proper speed for years of service I paid for and did not receive. -------- I could not understand half of what he was saying to me. He says he will not e-mail me any information. I have no clue his name because try as I might I could not understand him. He says it will resolve in a few days and they will contact me.  This is service? I should now take the word of a company that has underserved me for years, from a guy on the other side of the world who cannot be understood and who is unitelligible over the phone, that won't send me any of the information via e-mail and had me intentionally close the chat session that they will properly resolve this issue.   

  • How to get the connected Adapter Object for a particular BDoc Type?

    Hi All,
    I have a scenario in which CRM system is connected to ERP system.
    In SMW01 transaction, I can see one BDoc with BUS_TRANS_MSG as the BDoc Type in CRM.
    Now, how do I get to know if this one BDoc is a SALESDOCUMENT or SALESCONTRACT.
    Is there any way thorough which I can get to know the Adapter Object for this particular BDoc.
    Regards,
    Madhuri

    Hi Madhuri,
               Happy new year.
    In Transaction : R3AC1.
    You can observe the Linked BDOC for the adaptor objects. For example Sales docuemnt and Sales contrcat will have the same linked BDOC as "BUS_TRANS_MSG".
    If you see an error in SMW01, you want to find whether it is salesdocument or contract.
    1. Please take the Queue name from SMW01.
    from the queue name you can find whether it is sales contract or sales document.
    Queue name is customized in tables: SMOFQFIND.
    I hope this helps you.
    regards,
    Sri...

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

Maybe you are looking for