Services for Object (Create , Change, Delete)

Hi All,
Is there any sample program where we can create (Change and delete) a note in the services for object for sales order.
We have requitement where we need to develop a Z program which should have the functionality of changing or creating or deleting the Note from the services for object in sales order. the input parameter will be sales order.
Thanks.
Chindam.

I don't have any sample code
Please check how this fm called
    CALL FUNCTION 'BDS_CALL_NAVIGATOR'
       EXPORTING
            classname      = 'BUS2037'    " Business object for sales order
            classtype      = 'BO'
            OBJKEY         = L_OBJKEY  " Sales order Number
       TABLES
            EXCLUDING      = i_excluding
       EXCEPTIONS
            INTERNAL_ERROR = 1
            OTHERS         = 2

Similar Messages

  • Services for Object - Create external document (url) 132 characters limit

    Hello,
    I have this requirement:
    Maintenance people would like to relate a document on our portal on a work order to be able to print it with the work order.
    My suggestion was to use Services for Object in the Order -> Create external document (url).
    But the adress field cannot contain more than 132 characters.
    I have URL longer than 132 chars:
    eg: http://server.domain:port/irj/go/km/docs/documents/AAI/Gestion%20documentaire/Public/Entretien/Instructions%20de%20travail/EU-IT-01-02.pdf
    What do you suggest me?
    Thanks,
    François

    Thank you Pete but we are release 700 and this note applies to release 620 and older. I will try to find another note or another way.
    In the meantime we use the short-ID of SAP Portal Documents which are long to retrieve but always under 132 char.
    François

  • Change log of attachment in Services for object in PO

    Dear All,
    I am unable to find the history of changes made to a file attached in a PO in the services for object button. Like other changes in header and items of a PO is available is this also available and if so how to get the details of changes of the attachment . The problem is one user had created the attachment in a PO and now finds that the attachment has been deleted as the same is no more there .The document is a word document . I do not find any table where such change record is available .
    Will anybody explain the above?
    Dhruba

    You'll need an ABAPer to look for the table and if their is a history associated with changes.
    What the User could do is subscribe to their objects so that if changed or deleted they receive a message
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/e6/767b44a0fc11d389c60000e8216438/frameset.htm
    Add a function module to include the id name of the person changing the object and/or write the event detail to a table and create a display transaction.
    Regards,
    Nick

  • Services for object button in change purchase order-ME22n

    Dear experts,
    In ECC6.0, me22n transaction in the change me22n screen, top left side "services for object" button is provided.
    It is provided to the left of the standard material po 480000009878 text line.
    I think it is useful for attaching the Files.
    I want to know in what way it is useful. Can we send the document to vendor , can it be possible to print along with purchase document.How it is useful.
    Advance thanks,
    Regards,
    Dayanand

    Hi Cheruku
    This button is used to attach any doument with the PO, or to check idoc status if PO is created via a Idoc or it has triggered any idoc extra.
    would like to know what is your exact query?
    regards
    Yogesh

  • I am unable to use services for objects  while creating a PO

    Hi All,
    I am unable to use services for objects  while creating a PO ie in me21n / Me22n .
    Our client wants to attach some doucument along with the PO, we want to use services for object for this. I use this services for objects in admin level , but unable to use this at user level. 
    System gives the following message
    No service available
    Message no. SGOS_MSG002
    Regards
    Gsg

    Hi,
    Refer the following OSS notes 552127, 598073
    For getting Object for services icon in ME21N and ME51N refer OSS note 913251

  • 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

  • Services for Object: attached documents/ links cannot be deleted

    Dear SAPfriends,
    The deletion button at the attachment list of "Services for Object" does not work. Eventhough it seems that the documents/ links/ notes have been removed from the object (i.e. Purchase order, material etc), when you exit and re-enter at the attachment list the documents are still there.
    I tried to delete them from OAER, still the same.
    Any ideas?
    Yr help will be very valuable.
    Kind Regards,
    Elly Leondi

    Hello Mauro,
    Thanks for yr reply.
    That was the problem.
    Thanks again.
    Regards,
    Elly

  • Mass upload Create External doc URLs using Services for object-Inspmethod

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data 9Insp plan/Material master etc..)

    Developing the program

  • Mass upload Create External doc URLs using Services for object-Materialmast

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data ex.Material master.

    ok

  • Create/Change/Delete for material

    Hi Experts.
    I have to create an application is which i have to create new material, change existing SAP materials & delete sap existing materials.
    I am not sure which approach is good:-
    1. 1 view for create / change / delete
    2. saperate view for create change & delete.
    If i go with the first case how do to perform it (how to use create view as change & delete view) I created a view for create materials. For change & delete i created a search view which gives a list of SAP existing materials based on selection criteria. Now how to pass selected materials data to the create view so that i can see it in edit mode (in Create view) if user presses change. or how to display the selected material data in display mode (in create view) for deletion.
    If i go with the 2nd option then also how to pass Selected material from the search to change & delete view.
    Not sure where do i have to create context methods etc for such functionalities.
    Regards,
    Nik

    hi
    Can you tell me how can i display SAP existing materials data if i use only 1 create view
    which is used to create materials. At initial its haveing input fields.
    Now i want to see data in create view for the seleted material.
    do u mean , u have the records in ur data base table and u want ur records to be listed down in a drop down , in ur create view
    if so , u can use dropdown by index ..
    if u wish to use drop down by index , thn proceed like this :
    1 declare a context node of cardinality 0..n
    2 declare attribute of type string under it . The attribute name should be exactly the same as that in database table '
    eg if u want to poulate values for a field ' SYS' from table , than giv the attribute name as 'SYS' in context attribute
    3 declare internal table of type standard table
    4 populate internal table with values
    5 take the refernce of the node , u have created
    6 bind it with the internal table
    the dropdown by index wud nw contain app values
    Re: dropdown in WDA
    cn u pls explain more about ur requirement ?
    Edited by: amit saini on Oct 14, 2009 12:29 PM

  • Services for Object in creation mode

    Hi colleagues,
    I am facing one problem and I would appreciate your help and ideas. I want to enable user to use a functionality of "Services for object" in creation mode (in my case transaction IW31). In change or display mode this functionality is enabled, so creating new BOR object and such things are not necessary.
    I understand that services for object are disabled by default in creation mode, because it is not meaningful to assign some documents to object which does not yet exist. But in theoretical way, it should be possible to implement some "tricky" solution. Probably some temporary object could be created at the start of IW31 and attachments could be assigned to this object. And in some user exit executed during processing of save statement (after all checks and such things), attachments could be re-assigned to a real (persistent) object. For unsaved orders it would be necessary to delete temporary object and also attached documents.
    Have someone implemented something similar? Or any helpful ideas?
    Thank you all in advance.
    Regards,
    Adrian

    Hi,
    We have implemented exactly the same in a Ztransaction. Not sure to what extent this will help you. Check below code
      CREATE OBJECT w_gosman
      EXPORTING
    *     io_container     = io_container
    *     is_bc_object     = is_bc_object
        is_object        =  wa_object            "BOR object
    *    it_service_selection =
    *     io_callback      = io_callback
    *     ip_start_direct  = space
        ip_no_instance   = l_inst             "Pass SPACE in your case
        ip_no_commit     = l_commit        "Pass SPACE in your case
        ip_mode          = c_e
      EXCEPTIONS
        object_invalid   = 1
        callback_invalid = 2
        OTHERS           = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    "Here just we are creating a reference by publishing the object.
    "During the transaction commit call below method.
      wa_object-objkey = "Pass your object ID.
    wa_object-objtyp = "Pass your business object
        CALL METHOD w_gosman->set_id_of_published_object
        EXPORTING
    *      is_bc_object   = is_object
          is_object      = wa_object
        EXCEPTIONS
          no_publication = 1
          OTHERS         = 2
        COMMIT WORK.
    Thanks,
    Vinod.

  • How to disable the Services for Object in IW32?

    Hi Experts,
    May i know how to deactivate the create and delete attachment option if the status of the order in IW32 is already TECO? Please help

    I have found my own answer.  If your user type is setup as 'Service', you will not be have the "Services for Object" icon on IQS23.   If you need the icon to perform the that service, you must change the user type to Dialog from Logon Data.

  • Processing History for Services for Object

    Hello Together,
    I created documents attachment in CJ20N Transaction code using the button "services for the object ," for one WBS Element. Some one have deleted some documents from the list, I did not see who deleted this, it there a processing history. Please advise the steps to see the processing history for services for object.
    Regards
    Rahul Tyagi

    I tried to replicate scenario with  tick on change doc. in proejct profile but system is not writing cahgne log in CN60. I understand this writing history for service for object is not wirting chagne log.
    WIth Regards
    Nitin P.

  • Services for object icon missing from APPCHANGE

    Hello,
    Our services for object icon is missing from the screen of some appraisers.  Any thoughts on what could be going on here?  We are in 4.7.
    Thanks!
    Mary

    Hi Mary,
    Go into the transaction phap_catalog_pa. Select the template you want to change. Then it is the 5th tab-writer.
    But as it is most likely released you will need to unrelease it. When documents are created already based on this template you will need to delete them first.
    Regards and Groetjes,
    Maurice

  • Services for Object - Store Business Documents (issue with XLSX files)

    Hi,
    We are using the Services for Object > Store Business Document to be able to drag and drop files into (for example) Sales Inquiry, Sales Order, Sales Quotations etc.
    Within OAC2 we have set up the global document types and these have been linked to the relevant Object Types and Content Repositories in OAC3.  We have also set up the Content Repository as Document Area 'ARCHLINK'.
    The ArhciveLink Basic Settings in OAG1 have the 'Always Copy Document Class from Document Type' set under Storage Settings.
    The issue we are having is with XLSX document types.  When we drag and drop the XLSX documen type using the Store Business Document the file is stored against the Sales Order but when you come to view the attachments MS Excel opens but an error message appears saying 'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
    We have reviewed SAP notes 1925897, 1739026 and 1145885 however non appear to give me a clear answer as to why this is happening?
    I have found that if we unselect the option 'Always Copy Document Class from Document Type' in OAG1 then we can open the XLSX files.
    As we have a significant amount of documents attached to various objects, what would be the implications of making this change agianst existing records and new records?
    Any advice on this issue would be greatly appreciated.
    Gary B

    Hi David,
    No joy I'm afraid!!
    I added entry 'xlslx' with the relevant MIME Type, Application and Description into table TOADD for the ArchiveLink settings and also this entry was already in tables SDOKMIME and SDOKFEXT for KPro.
    I then following the process via the Services for Object within VA12 (Change Inquiry) to then Create > Store Business document > Select the relevant Document Type > Drag and Drop the XLSX file into the empty box.
    I then saved the record and tried to view the attachement but I am still getting the same message  'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
    Our client is on componet SAP_BASIS release 701 Support Level 0014 and Support Package SAPKB70114 and I can see that note 1237688 is for SAPKB70112?
    Regards
    Gary

Maybe you are looking for

  • Simple Java Question (Hopefully)

    I'm not sure if anyone out here is familiar with ClearCase, I'm sure there are some, but I am trying to create some basic classes that perform various cleartool shell out commands, one of which returns the some information about ClearCase code reposi

  • Meta Tag Placement in pages created from a template

    I am updating a site and want to make sure that I place my meta tags correctly in individual pages created from a template. Can you tell me if my placement is correct? Below is code I added to my template: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0

  • Dual Link Display Issue on 30" LCD

    Can I use "Mini DisplayPort to VGA Firmware Update" to my "Mini DisplayPort to Dual-link" cable? Or this update is only for "Mini DisplayPort to VGA" cable? (update URL ; http://support.apple.com/downloads/Mini_DisplayPort_to_VGA_FirmwareUpdate) Now

  • Language OPEN_FORM error in Script

    Hi All , I have a form for Purchase order which works from ME23N Tcode. Actually this PO form is copied from Standard one and made some changes. So original lang. is DE and we have copied to all lang.'s and i made some changes in Eng. form and activa

  • Help:how to use addAttachment method in NormalizedMessage

    i have a problem about the NormalizedMessage's addAttachment method ,it is below: public void addAttachment(java.lang.String id, javax.activation.DataHandler content) throws MessagingException i have a string .i want to transfer it to a certain SE as