Block deleting DMS Document from user that is not initiator

Hi All
Hello
I Want to Block deleting DMS Document ((CV02N)
form all users that are not the initiators of the Document or
Bolcking for all user
for that I created new user authrization for CV01N,CV02N
without authorization for delete
I created a DOC in SPS (production) No 3001591
but I successed to delete the doc through cv02n
in the buttom icon for delete original
There is an option to block any user or specific form delete document ?
If there is no option for that there is an user exit that I can used ?
Thanks in advanse for your help

Hello,
it is possible to extract DMS's file to application server directory:
FUNCTION Z_DMS_VIEW.
""Interfase local
*"  IMPORTING
*"     VALUE(DOC_NUMBER) LIKE  BAPI_DOC_DRAW2-DOCUMENTNUMBER OPTIONAL
*"     VALUE(DOC_PART) LIKE  BAPI_DOC_DRAW2-DOCUMENTPART OPTIONAL
*"     VALUE(DOC_TYPE) LIKE  BAPI_DOC_DRAW2-DOCUMENTTYPE OPTIONAL
*"     VALUE(DOC_VERS) LIKE  BAPI_DOC_DRAW2-DOCUMENTVERSION OPTIONAL
*"     VALUE(ORIGINAL_PATH) LIKE  BAPI_DOC_AUX-FILENAME OPTIONAL
*"  EXPORTING
*"     VALUE(P_RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
*"  TABLES
*"      DOC_FILES STRUCTURE  BAPI_DOC_FILES2 OPTIONAL
  CLEAR:   doc_files.
  REFRESH: doc_files.
  DATA: i_doc_files like bapi_doc_files2.
DATA: i  type i.
i = 2.
while i = 2.
   i = 2.
endwhile.
  CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
    EXPORTING
      DOCUMENTTYPE    = DOC_TYPE
      DOCUMENTNUMBER  = DOC_NUMBER
      DOCUMENTPART    = DOC_PART
      DOCUMENTVERSION = DOC_VERS
      DOCUMENTFILE    = i_doc_files
      GETSTRUCTURE    = '0'
      GETCOMPONENTS   = 'X'
      ORIGINALPATH    = ORIGINAL_PATH
      HOSTNAME        = ' '
      GETHEADER       = 'X'
      PF_HTTP_DEST    = 'SAPHTTPA'
      PF_FTP_DEST     = 'SAPFTPA'
    IMPORTING
      RETURN          = P_RETURN
    TABLES
      DOCUMENTFILES   = DOC_FILES.
ENDFUNCTION.
ORIGINAL_PATH must be a directory of application server.
By background is not possible (I don't know how can we do that) download thsi file to PC.
Then with the file in application server we can :
- to map application server directory in a drive unit of Pc
- to transfer with a ftp client from Pc
- rfcexec
But always the bapi can not download the file: it must be a process in Pc who transfer the file.

Similar Messages

  • How can I delete a book from iBook that will not download and keeps telling me I do not have enough memory?

    I cannot delete nor download the book I had 3G of space available and the book only needs 648mb! If anyone knows how to get rid of the blasted book please let me know!

    Have you tried restarting or resetting your iPad?
    Restart iPad: Press and hold the Sleep/Wake button until the red slider appears. Slide your finger across the slider to turn off iPad. To turn iPad back on, press and hold the Sleep/Wake until the Apple logo appears.
    Reset iPad: Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Ignore the "Slide to power off".

  • Hi, I would like to know how can I recover a document from pages that I didn't save anytime and instead of clicking the button save I clicked the delete button at the end. Is there any way to recover it?

    Hi, I would like to know how can I recover a document from pages that I didn't save anytime and instead of saving the doc I clicked the delete button. Is there any way to recover it?

    Regardless of application, the first step that I take is to save and name the current document — even if it has no content yet. With Pages, this good habit enables autosave. As you add content, your document revision history is restorable via the File Revert To menu. The delete key has the same document foreboding as only teaching a pet raven to speak "Nevermore."

  • How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.

    How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.
    I tried to use the attached command through TERMINAL :
    sqlite3 ~/Library/Application\ Support/Dock/*.db "DELETE from apps WHERE title='Help';" && killall Dock
    sqlite3: Error: too many options: "DELETE from apps WHERE title='Help';"
    Use -help for a list of options.
    But i didn't work as I got the above error message.
    best regards
    Jeroen

    I'm in the same boat as you -- except that I manage both a school lab (volunteer job) and macs in the enterprise (pay job).  What I think we need is the Education Volume Purchasing Program
    http://www.apple.com/education/volume-purchase-program/faq.html
    Unfortunately this all seems a little rough around the edges -- for example, I have found updates for AppStore apps on the support.apple.com updates download site, but then when I install them via ARD they don't actually update the software.  (The AppStore icons still show as needing the updates, and the version info reports the old version.)  The documentation is also vague about which AppleID to use in which circumstance.  I think they just haven't finished thinking through the implications of the various procedures and policies upon the various kinds of customers.  When we deployed Mountain Lion on the school lab, we made an install usb and went around and installed it on each computer -- and it appears that you are on the honor system as far as paying for all of the licenses that you install.  We did!  But they appear to have no way to enforce it.
    So far, I have only deployed 9 Lion macs in my day job, and our "solution" to the AppStore showing updates problem has been to drag the AppStore icon off of the users' docks so they don't see them!

  • Very urgent : Deleting unwanted documents from billing due list.

    Hi all BP Experts,
    Issue : User is getting cancelled Sales documents in billing due list.
    Ideally it should not come.
    Now he wants to remove those documents from list.
    Please note that documents are for order related billing.
    My query is why the due list is showing the documents which are already been cancelled ?
    Second how to remove those documents from list.
    Please help soon .
    Points will be rewarded.
    Thanx n regds!

    Hi
    I am just quoting the reply from 'Vikas Maurya's' issue from yesterday by 'Jhonny'. I presume your issues are related .Here was that reply
    +++++++++++++
    Hi Vikas,
    OSS message 128947 is about items showing up in the due lists when they are not relevant. Try running the program RVV05IVB and see if that fixes it.
    Johnny
    +++++++++++++
    Hope this will help in the resolution.
    Greetings

  • How to delete a document from a strange part of finder?

    There's an area of finder directly to the left of the back arrow where I was unaware that you could place documents. I dragged one up there by accident, and now I'm not sure how to get rid of it. I tried simply deleting the document from the folder and sticking it in the trash, but now it just appears as a question mark. I'm sorry that this is such a poor description, but any assistance at all would be greatly appreciated. I have no idea what this area's called or what it's supposed to do.

    Control-click it and choose Remove Item. That area is meant for quick access to items and controls.
    (56965)

  • Why when I delete a document from the print que does it not delete?

    When I send a document to my hp photosmart printer and there is an error, I go in to delete the document from the print que on my hp laptop and it shows it as being deleted but nothing happens and I can't print any other document. How do I fix this?

    If your problem is not resolved please read this post then provide some details.  What exactly is your printer model?  (There are hundreds of Photosmart models...)  What operating system?  How is the printer connected?
    All the Photosmart printer models except the first one had a  "cancel" button on the front panel.  It may be easier to press this to cancel the print job rather than deleting the print job from the spooler. The cancel button is typically marked with an "X"; pressing it will stop printing and discard the remainder of the print job.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • I deleted a document from pages on my ipad. Is there any way to get it back?

    I deleted a document from pages on my ipad. Is there any way to get it back?

    You can restore from iTune or iCloud backup if you have one.

  • I accidentally deleted a document from Notes. Can I recover it?

    I Accidentally deleted a document from Notes. Can I recover it?
    malcolm Ridley

    Was it backed up somewhere? If yes you can restore from your backup and get the note back.

  • How to create a SSIS package to delete word documents from local system

    Hi All,
    How to create a small SSIS package to delete word documents from local system. Word documents might be one or two weeks ago.
    Thanks in advance for your help.

        Dim filename As System.IO.FileSystemInfo
            filename = My.Computer.FileSystem.GetFileInfo("c:\temp.doc")
            If (Now.DayOfYear - filename.CreationTime.DayOfYear) > 3 Then
                'filename.Delete()
            End If
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • HT5548 How do you delete an icon from Launchpad that is for a software you deleted from your iMac?

    How do you delete an icon from Launchpad that is for a software you deleted from your iMac?

    Hold down the option key an click icon in the Launchpad. Icons will jiggle and an X will appear.
    Click the X . Click elsewhere  to stop jiggling.

  • How do I copy a document from pages into email (not pdf) and have color and format the same as the document created in pages?

    How do I copy an entire document from pages into email (not pdf) and have color and format the same as the document created in pages?

    Pages ’09 v4.3 and Pages v5.2.2 are entirely different document architectures. Consequently, copying and pasting a table from Pages ’09 circumvents the customary translation process  that would occur if you opened that Pages ’09 document in Pages v5.
    Make a backup copy of the Pages ’09 document that has the table in it, and then open this document in Pages v5.2.2. The table is translated into Pages v5 document format and displayed correctly. You can even select this Pages v5.2.2 table, and then copy/paste it into another Pages v5.2.2 document with accurate results.

  • Delete an email from the pc,  does not delete the email from the iPad.

    Hi
    When I Delete an email from the pc,  does not delete the email from the iPad.  I'm not able to find a setting to fix this.  Does it mean I have to manually delete the emails from the iPad? 
    Thank you in advance for your help.

    Thanks, I was told that my Yahoo account has to be setup on the Mac as a POP account.  Can you please let me know what the difference is (in simple terms) between IMAP and POP? 

  • Sp_who2 -need only active sessions from users which are not the background sessions

    Hello,
    sp_who2 -need only active sessions from users which are not the background  sessions
    Please assist.
    Best regards,
    Vishal

    Its better to use DMV's to view only active sessions from users (spid>50) as mentioned by Shanky.
    You can do that using sp_who2 but it requires a bit of programming to list only user sessions.
    SELECT
    S.SESSION_ID,
    S.STATUS,
    S.HOST_NAME,
    C.CLIENT_NET_ADDRESS,
    CASE WHEN S.LOGIN_NAME = S.ORIGINAL_LOGIN_NAME THEN S.LOGIN_NAME ELSE S.LOGIN_NAME END LOGIN_NAME,
    S.PROGRAM_NAME,
    C.CONNECT_TIME,
    S.LOGIN_TIME,
    CASE S.TRANSACTION_ISOLATION_LEVEL
    WHEN 0 THEN 'UNSPECIFIED'
    WHEN 1 THEN 'READUNCOMITTED'
    WHEN 2 THEN 'READCOMMITTED'
    WHEN 3 THEN 'REPEATABLE'
    WHEN 4 THEN 'SERIALIZABLE'
    WHEN 5 THEN 'SNAPSHOT'
    ELSE CAST(S.TRANSACTION_ISOLATION_LEVEL AS VARCHAR(32))
    END AS TRANSACTION_ISOLATION_LEVEL_NAME,
    S.LAST_SUCCESSFUL_LOGON,
    S.LAST_UNSUCCESSFUL_LOGON,
    S.UNSUCCESSFUL_LOGONS,
    S.CPU_TIME AS CPU_TIME_MS,
    S.MEMORY_USAGE AS MEMORY_USAGE_PAGES,
    S.ROW_COUNT,
    S.PREV_ERROR,
    S.LAST_REQUEST_START_TIME,
    S.LAST_REQUEST_END_TIME,
    C.NET_TRANSPORT,
    C.PROTOCOL_TYPE,
    S.LANGUAGE,
    S.DATE_FORMAT,
    ST.TEXT AS QUERY_TEXT
    FROM
    SYS.DM_EXEC_SESSIONS S
    FULL OUTER JOIN SYS.DM_EXEC_CONNECTIONS C ON C.SESSION_ID = S.SESSION_ID
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(C.MOST_RECENT_SQL_HANDLE) ST
    WHERE
    S.SESSION_ID IS NULL
    OR S.SESSION_ID > 50
    ORDER BY
    S.SESSION_ID
    -Prashanth

  • How do I delete an account from my Mac and not change the itouch?

    how do I delete an account from my Mac and not change the itouch?

    What does this mean: "I don' t have an image"?
    If you are in the Mail app yo can just delect the message and select delete. See chapter 12 of the users guide
    iPod touch User Guide iOS 6

Maybe you are looking for

  • How can i clear the usernames and passwords history from all login websites?

    how can i clear the usernames and passwords in the log in history of the websites? example when i want to login to my facebook i always type first letter of my e-mail and it comes with the passwords because before i put remember my password, and in o

  • Pdfs removed in adobe reader.

                                Hi, How can I remove pdfs in adobe reader?I don't know how.As a result,I always uninstall it and download another again.Please tell me how.I appreciate that.Thank you very much. PS:Email:[personal info removed by moderator

  • Question about using Functions in BC4J

    I know that it is possible to call a store procedure from a ViewObject using a DataWebbean can I do the same thing but calling a function. Please I need to know, as soon as possible because I am working on it.

  • Create a popup window

    hi, i would like to create a small popup once a button is clicked this small window does not need to have anything apart from displaying a message, say for example "button clicked" i remember there is a very simple way to do so, by which i can create

  • EA3500 Cisco Connect Setup problem?

    So i recently resetted my Linksys EA3500 and i lost the CD so i download the Cisco Connect for the EA3500.I connected my EA3500 using the ethernet cable to my laptop,run the setup,and then on 25% it said that no wireless routers were found.I already