Ansicht
Dokumentation

04763 - IFS Files

04763 - IFS Files

BAL_S_LOG - Application Log: Log header data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

IFS Files

Hi, once again Sorry but it's the wrong Report. ;-))
Here is the right one.
_____
REPORT ZSFILDLT MESSAGE-ID 38.

PARAMETERS: FILENAME(128)
DEFAULT '/usr/sap/P01/DVEBMGS30/work/C:\TEMP\kstart2.txt'
OBLIGATORY.

DATA: ANTWORT(1) TYPE C.

START-OF-SELECTION.
IF FILENAME CA '\'.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
TEXTLINE1 = TEXT-001
TEXTLINE2 = FILENAME
TITEL = 'Confirm delete'
IMPORTING
ANSWER = ANTWORT.
IF ANTWORT = 'J'.
DELETE DATASET FILENAME.
IF SY-SUBRC EQ 0.
WRITE: / FILENAME.
MESSAGE I000 WITH 'File successfully deleted.'.
ELSE.
MESSAGE E000 WITH 'Failed to delete file.'.
ENDIF.
ELSE.
MESSAGE I000 WITH 'Action canceled by user.'.
ENDIF.
ELSE.
MESSAGE I000 WITH 'File can be deleted from the OS-level.'.
ENDIF.


> Best Regards/mit freundlichem Gruss
>
> Thomas Lindner
AS/400 & SAP R/3-Basis Support

> EGG IT-Services Gmbh
> Systemtechnik
>
> Tel: 06196-477381
> mailto:Thomas.LindnerZe...
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Lindner, Thomas
> Gesendet am: Freitag, 25. Januar 2002 11:43
> An: 'Sugg, Chris'; 'mmartinZa...'
> Cc: SAP - AS/400 List (E-mail)
> Betreff: AW: RE: IFS Files
> Wichtigkeit: Hoch
>
> Hi Chris, Hi Mike,
>
> we had the same Problem and we can delete the files from R/3.
>
> with that little Report:
>
> REPORT ZSDELFIL.
>
> PARAMETERS: P_PFAD(50) DEFAULT '/tmp/trans/c:/test.xls'.
>
> DELETE DATASET P_PFAD.
> IF SY-SUBRC = 0.
> WRITE: /'Delete succeeded'.
> ELSE.
> WRITE: /'Delete not succeeded !'.
> ENDIF.
>
>
>
>
>
> Best Regards/mit freundlichem Gruss
>
> Thomas Lindner
> AS/400 & SAP R/3-Basis Support
>
> EGG IT-Services Gmbh
> Systemtechnik
>
> Tel: 06196-477381
> mailto:Thomas.LindnerZe...
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Mike Martin, IS-NA, AOSOLA [SMTP:MMartinZa...]
> Gesendet am: Donnerstag, 24. Januar 2002 21:13
> An: 'Sugg, Chris'; Mike Martin, IS-NA, AOSOLA
> Cc: SAP - AS/400 List (E-mail)
> Betreff: RE: IFS Files
>
> Hi Chris,
>
> I believe you can also do a delete with a wildcard for the name:
>
> ftp> delete c:\*
>
>
> Of course this doesn't help if you need the data. If so, let me
> know and
> I'm sure we can come up with something.
>
> Regards,
> Mike D. Martin<?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
>
> SAP Basis Administrator
>
> SOLA Optical, USA
>
> 707-763-9911 x6106
>
> email: <mailto:mmartinZs...>
>
> -----Original Message-----
> From: Sugg, Chris [mailto:cgcsuggZn...]
> Sent: Thursday, January 24, 2002 10:48 AM
> To: 'Mike Martin, IS-NA, AOSOLA'
> Cc: SAP - AS/400 List (E-mail)
> Subject: RE: IFS Files
>
>
> Hey Mike.
>
> Thanks for the info except I still have issues:
>
> AFter FTPing to the 400, when I enter the command, it is not liking
> it
> because the filename is longer than 10. If I shorten it up to 10,
> it does
> not like the ':'.
>
>
>
> Any other suggestions that I could try?
>
> Thanks again,
> Chris
>
> -----Original Message-----
> From: Mike Martin, IS-NA, AOSOLA [mailto:MMartinZa...]
> Sent: Thursday, January 24, 2002 1:30 PM
> To: 'Sugg, Chris'
> Cc: SAP - AS/400 List (E-mail)
> Subject: RE: IFS Files
>
>
>
> Hi Chris,
>
> I would ftp to your server and do the following:
>
> ftp> rename C:\My Documents\excel temp
>
> This will rename the file to 'temp' which you can now access via
> normal
> SAP/AS400 utilities.
>
> Regards,
> Mike D. Martin
> SAP Basis Administrator
> SOLA Optical, USA
> 707-763-9911 x6106
> mmartinZs...
>
>
> -----Original Message-----
> From: Sugg, Chris [ mailto:cgcsuggZN...
> <mailto:cgcsuggZN...> ]
> Sent: Thursday, January 24, 2002 10:05 AM
> To: 'Mike Martin' (E-mail)
> Subject: IFS Files
>
>
> Hello Mike.
>
> I have a question I think you maybe be able to help me with if you
> have
> time. I have had some ABAP consultants who worked here previously
> create
> some *STMF entries in our IFS file system that I would like to
> delete.
>
> The problem is that when I try to delete them from Navigation and on
> the OS
> side, it says that it can not find the object. I have tried to
> rename the
> objects but still get the same message. The objects are named C:\My
>
> Documents\excel, C:\program files\, etc.
>
> Do you have any suggestions on how to remove these types?
>
> Thanks,
>
> Chris Sugg
> SAP Basis Administrator
> NACCO Materials Handling Group
> 1400 Sullivan Drive
> Greenville, NC 27834-2011
> CGCSUGGZN...
> Phone: (252) 695-1912
> Fax #: (252) 931-0934
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> consolut Sponsor
> []
> <http://rd.consolut.net/M=153641.1824646.3335993.1261774/D=egroupweb/S=170500
> 7389:HM/A=919242/R=0/*http://shop.store.consolut.net/cgi-bin/clink?gloss2+sho
> pping:dmad/M=153641.1824646.3335993.1261774/D=egroupweb/S=1705007389:HM/A=
> 919242/R=1/1011903253+http://us.rmi.consolut.net/rmi/http://www.gloss.com/rmi
> -framed-url/http://www.gloss.com/module/Clinique/templates/product/prod_si
> ngle.jhtml%3FmCategoryId=cat550354%26mProductId=prod2240730%26mktAdTrack=2
> 2800104>
>
> _____
>
>
> <http://us.adserver.consolut.net/l?M=153641.1824646.3335993.1261774/D=egroupm
> ail/S=1705007389:HM/A=919242/rand=962076884>
>
> DoNotReply@consolut.eu
>
> Your use of consolut is subject to the consolut Terms of Service
> <http://www.consolut.net>.

Durban Tours - Südafrika Safari

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 8929 Date: 20240520 Time: 171408     sap01-206 ( 3 ms )