Check while MIGO, to check document is attched through SERVICE FOR OBJECT

Hi,
While creating a document through MIGO,
I want to apply a check that during 101 movement type if document is not attached , system should throw a error message
'Attach document first'.
Is it possible ?
If yes , then through which progess BADI or user-exit ?

Hi
The authorization objects for attachment to material are as following:
Object Class BC_Z Basis - Central Functions
Authorization Object: S_BDS_DS  
Authorizations for Document Set
Authorization Field ACTVT :  30
Authorization Field CLASSNAME:BUS1001
Authorization Field CLASSTYPE:BO
other ACTVT
01     Create or generate
02     Change
03     Display
04     Print, edit messages
05     Lock
06     Delete
24     Archive
25     Reload
30     Determine
70     Administer
78     Assign
82     Supplement
Note: That to be able to attach user should have MM02 authorization..
Best Regards
Hope it helps

Similar Messages

  • Content server for Document attachment through "services for object" Icon.

    Guys,
    I have typical problem in installation of Content server for storing external documents.
    We all know that we can attach the document in SAP using the icon “SERVICES FOR OBJECT”. By this we can attach the document to the specific object we want.
    -Since my client wants only document attachment method not to completely implement SAP DMS, I proposed this method of attaching documents through services for object method.
    -If documents are stored though services for object ,The attached document will directly get stored in sap database(correct me if I am wrong) while  in  DMS it ask you to select the storage location while u check in for any document
    -By storing the doc thru "services for object " For long run when we store the documents in sap database our system will drastically get slow down.
    -In this regard I have a plan to incorporate external storage server.
    -Now I should know that how I should customize content server configuration so that the attachment through services for object will store into this content server I need to know how to define Client, Content Category, Content Repository, Document Area, Physical Machine, IP Address, Port. (OACT & OAC0)
    I appreciate for immediate solution and <u><b>Points will be rewarded for sure.</b></u>
    Regards,
    Murali.S

    Hi Murali,
    Don't Worry, its possible,
    All attachments can be stored in SAP Content Server also, but through archiving process.
    Set up a database storage system.
    Preparation
    Make sure that the HTTP plugin is active.
    Transaction <b>SMICM,</b> "Display Services" function key (shift F1)). The list of services must contain a port other than 0 for HTTP.If not, you must adjust the relevant profile parameter.
    <u>Typical entry:</u>
    icm/server_port_0         PROT=HTTP, PORT=1080, TIMEOUT=900
    <b>Make sure that the /sap/bc/contentserver service is active.</b>
    If no user is defined, then use transaction SU01 to create a new user. Use the "System" user type.Assign
    the SAP_ALL and SAP_NEW profiles to the user. (Eg: HRUSER/PLMUSER/PPUSER etc)
    Transaction <b>SICF,</b> select: default_host - sap - bc -contentserver. Select the function to display/change the service. Make sure that a user is defined.
    Using the relevant data from the newly created user, maintain the anonymous logon data for the
    /default_host/sap/bc/ service and save & activate the changes in transaction <b>SICF</b>.  Double click on content server and give the user name which has been created (HRUSER/PLMUSER/PPUSER/MMUSER etc)
    Check the system PSE.
    Start transaction <b>STRUST</b>. Expand the system PSE. The system PSE must be "green" for each application
    server.
    Determine a suitable exchange directory.
    The exchange directory must be accessible from each application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application server (for example,
    server\share) is sufficient. You can generally use the global directory
    (profile parameter DIR_GLOBAL).You can use the RSPARAM report to determine the profile parameters.
    Setting up the storage
    Create a table for storing the data. Using transaction <b>SE11</b>, create a copy of the SDOKCONT1
    table. If you want to create the repository database, you can name the table ZCONT_DB, for example. Save the
    table as a local object. Activate the table.
    Create a repository.
    Use transaction <b>OAC0</b> to create a new repository.
    Use the following parameters:
    Repository Max. two characters, for example,” Z1”
    DocArea: ARCHLINK
    Storage type: R/3 database
    Storage subtype: normal
    Version no. : 0046 
    Contents table <table name> for example: ZCONT_DB
    Exchange directory <directory name> for example:
    server\share\
    Make sure that the exchange list ends with a \ (or /on Unix).If you are using a variety of platforms, you must use transaction FILE to define a suitable logical file name and use this name. Save the settings.
    1. Maintain view table <b>TOAAR_C</b>, via SM31
       Cross client table displayed as information, forget it
    2. In field 'StSytm' you must entered 'Z1' as your system need, or anything that you need but you must configure HR Archive link too.
    3. In field 'Arch.path' (direct above Spoolpath), entered path in your system, this real path in your operating system. May be you should confirm to your Basis consultant where exactly you could store picture files. So if you enter '/', your file exists at root directory at your UNIX system.
    4. Choose 'File store' radio button
    5. Save.
    First
    <b>1. You have to create a number range for SAP ArchiveLink.
        IMG: Basis Components-> Basis Services -> SAP ArchiveLink -> Basic Settings-> Maintain number ranges   
        (Trxn <b>OANR).</b> Create number range 01 from 0000000001 to 9999999999 without the external number flag. 
    2. Document type <b>HRICOLFOTO</b> must exist with document class JPG.
        IMG: Basis Components->Basis Services->SAP ArchiveLink->System Settings->Maintain document types
        (Table<b> TOAVE, Trxn OAC2).</b>
    3. Document type <b>HRICOLFOTO</b> must be linked to object type PREL and Infotype PA0002.
        IMG: Personnel Management->Personnel Administration->Tools->Optical archiving->Set up Optical Archiving
        in HR.  (View V_T585O, no Trxn). In the first two columns there are minuses, the third (Date) has
       a plus - don't put a flag in the check box.
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type  
        PREL. IMG: <b>Basis Components->Basis Services->SAP ArchiveLink->Basic Settings->Maintain Links (Table 
       TOAOM_C, Trxn).</b></b>
    Test
    • Test the repository.
    Use transaction SE38 to start the RSCMSTH0 report. Specify your repository (i.e. Z1) and start the test.
    The report must run without errors. If no problems occurred, you can use the new repository with Archive Link after you carry out the Archive Link Customizing. If problems do occur, check whether one of the related
    notes helps.
    For More Details :
    http://service.sap.com/archivelink.
    <u><b>
    NOTE:- Screen Shots are missing, i was not able to paste here, One more thing is we did this for uploading a PHOTOS into Content Server, Similarly you have to create a REPOSITORY and Z-TABLE to bring all the Attachments from all the selected Objects and then route them to the CONTENT REPOSITORY.</b></u>
    Your Senior ABAP guy would help you in this, if not i may try to help you more by monday.
    Regards
    Rehman
    <b>Reward Your Points if Satisfied.</b>

  • Attaching a document to notification using service for object

    hellow members,
    i look for a table to let me know if a document
    is attached to specific object (in my case it"s
    a notification).
    best regards,
    avi
    Edited by: avi koren on Jul 16, 2008 9:40 AM

    Hellow Johannes,
    thank you for your repling.
    i don"t think that this is the direction.
    In lots of objects in the SAP like a notification or a material,a button call "service for object" is available provide
    some functions like
    document attaching.
    How i can see this attachments?
    I think that the answer should be close to the table SOOD.
    regards,
    avi

  • Transfering Documents (mostly .jpg) from Services for Object to DMS

    Hi,
    We are presently in the process of finalizing document attachments via DMS system. We still have a high quantity of documents that were attached through the "Services for object" function (mostly .jpg ) and would like to transfer these to DMS without having to export them for every single object (mostly equipments). Is there any way to do this i.e. mass export of these attachments with their link (ex. at the top of the dialog box: AttachmentFor0000000...) so that they remain .jpg to be able to re-upload quickly in DMS system ?
    Thanks for your help !

    we have in the current system merger project a developer from SAP who is programming this feature for us, so I am pretty certain that there is nothing in standard that can do this job.

  • Services for Object/store Business documents in AS01

    HI
    We have a requirement to enable the services for object to attach documents to Asset master. We have made configuration in Trx OAC2,OAC3 for object type BUS1022. The ICON is appearing for AS02 & AS03 but not for AS01. We are 6.0 version
    How can I aactivate that for AS01. Is it SAP standard or can we activate?
    Please provide me the solution.
    Thanks
    Sailaja Ala

    Hi,
    Absolutely it is not possible.
    The services for object is only visible, once the original object is created.
    Even if you check for normal F-02 entry also, it wont be visible during entry, but will be visible after posting if we go thru FB02 or FB03.
    Any attachment can be assigned through the services for object, is possible only after creation of the dependent / original data.
    So for AS02 and AS03, the dependent data has to be there in the DB, which has been created with AS01.
    Thanks,
    Srinu

  • 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

  • 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

  • Services for object in MIGO

    Hi All
    I wanted to make a mail attachment in MIGO using services for object. Which is the structure and filed for MIGO,  that indicates that there is a mail attachment. Also I which is the table and field where this mail attachment is stored.
    Thank you

    Anil,
      Couldn't you add the web address as the attachment?
    Regards
    Narasimhan

  • 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

  • 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

  • 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

  • Getting a Page Cannot be Displayed error while uploading a Contract Document in SAP E-sourcing for size 500mb

    Hi Guys,
    I am getting a Page can not be displayed error while uploading a COntract Document in SAP-E-soucing 7.0.
    Maximum Size set in Our SYSTEM is :9765MB.
    Approx size of the Document tried is more then 300MB.
    Appreciate your help on this.
    Regards
    Tarun

    Hi Tarun,
    Please check the below system properties using system user login
    attachments.maxSizeKB.buyers - "Maximum size in KB of a employer-attached attachment file"
    attachments.upload.enable.buyers-  " Enable/Disable uploading of attachments by internal users"
    Also Please check with other attachment, contracts related properties in the System.
    Let me know if this helps.
    Thanks,
    Raj.

  • "Services for object" for SD document POSITION not header

    Hi,
    Could you tell me if there is a possibility to create attchment for a postion of SD document not a header? I would like to see that ex. position number 20 has an attachment. It would be great aslo to see an icon for position or any other flag.
    Could you give me some advice?
    Best regards,
    MK

    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

  • SAP Document Attachment - Services for object

    Hello Guys,
    Find the below attachment about a PPT on " services for object"
    <a href="http://verbellacmg.com/asug_2006_walls_404.ppt">Services for object icon - ppt</a>
    Would be highly usefull.
    Regards,
    Murali.S
    Reward if its Usefull.

    Hi, There is no standard report or transaction to get this other than looking at the object through the transaction that creates those attachments, also you can go through SAP OSS note 530792
    Refer below link for creating a report for your requirement
    http://it.toolbox.com/wiki/index.php/GOS_Finding_Attachments_or_Links_to_an_Object_in_SAP/ABAP
    For second requirement it can be handled by Authorization, discuss with your basis guys

  • From ME49 while navigating to ME47 "Services for Object" ICON not displayed

    Hello Friends,
    I am facing one peculiar issue that when I am Navigating to ME47 transaction from ME49 Transaction i.e. in ME49 Transaction when we double click on the RFQ Number it takes to ME47 Transaction. Here the ICON "Services for Object is being not displayed.
    But when I am opening up the transaction ME47 directly for the respective RFQ Number, there I can see the ICON "Services for Object".
    Have a doubt why from ME49 when navigating to ME47 the ICON is not being displayed?
    Friends please help me in solving the above issue.
    Thanks in advance
    With Regards
    Pradeep Goli

    Hi Atkin,
    Thanks for the response. Yes, it was the authorisation related issue. I have confirmed this by looking this button in another Users ID with SAP All role.
    Best Regards
    JK

Maybe you are looking for

  • Multiple Accounts on the Same ISP

    OK, here's the deal: Verizon is my ISP. I have one account set up-it works great. I just started using Mail.app having switched from using Verizon Yahoo!'s webmail application. What I had set up on Yahoo was that I had two "accounts." One was my "col

  • Related files not showing in CS5

    In Dreamweaver CS4, files related to the source file (for example, source file: index.php, related file referenced in source file: index.css) are shown just below the source file name in the toolbar above code/design view, but related files are not s

  • Apps in installed app list in control panel- 'from...

    Hi E73 running symbian etc. on T-mobile network. Used on an Wireless LAN for calls / web as well as regular cell, as per most people. I found (looking from both PC-suite and via phone's application manager) that I had new installs of Fr0MA_0x2000E2FC

  • Problem with layered Photoshop-menu

    Hey everybody, I have encountered a rather frustrating problem in DVD Studio Pro 4.2.2. I'm working on an educational DVD with circa 50 clips on it, therefore, I've ended up with a somewhat complicated menu. Complicated may not be the word, as much a

  • Sorting a date represented in three integers.

    Hey, I have an other question. I want to sort a collection on the data. In my collection I have three integers representing the date (int matchDay, int matchMonth, int matchYear) The constructor for the Collection<Comment> is: public Comment(int matc