[SOLVED] creating simple firewall

HI
I am running mails and web on my server, I would like to put simple firewall on that server to have some prtotection.
Here is my start configuration of iptables
cat /etc/iptables/iptables.rules
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p icmp -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
-A INPUT -p tcp --dport 22 -j ACCEPT
-A INPUT -p tcp --dport 25 -j ACCEPT
-A INPUT -p tcp --dport 587 -j ACCEPT
-A INPUT -p tcp --dport 143 -j ACCEPT
-A INPUT -p tcp --dport 993 -j ACCEPT
-A INPUT -p tcp -j REJECT --reject-with tcp-reset
-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable
-A INPUT -j REJECT --reject-with icmp-proto-unreachable
COMMIT
As you can see I am opening imap, smtp, web and ssh ports.
MY IDEA is to protect server from strangers who are scaning ports, trying to open all possible web pages and login over some webapp.
I would like to do something like this:
DROP connection if there are to many attempts to open, Let's say if there are more the 5 per 1 second then DROP.
Is it possible to do it in simple way using iptables? and how?
thank you very much.
Last edited by jancici (2012-03-21 21:34:51)

it happend just few moments ago, I know it is not me :-)
Mar 21 15:17:10 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:10 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:11 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:12 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:13 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:13 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:13 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:13 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:14 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:14 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:14 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:14 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:14 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:15 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:15 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:16 localhost dovecot: imap-login: Disconnected (no auth attempts in 7 secs): user=<>, rip=175.145.230.49, lip=77.93.202.118
Mar 21 15:17:16 localhost dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): user=<>, rip=175.145.230.49, lip=77.93.202.118
so these are the situation, or reasen why I want to protect my server

Similar Messages

  • "Create Simple document" from other objects

    Scenario: Creating a document using option "Create Simple document" from other objects
    I have created a document type and defined the object link for Functional Location with option "create simple document"
    When clicking on create icon on the additional data tab on IL02 screen, The system asks for the document type and then the file to be uploaded.
    The document type that i have defined has the Description filed as mandatory field and hence i am not able to create the document.
    However, for the Document type when i set the description field as not mandatory the system creates DIR. But this DIR has no description.
    Please let me know if there is a BADI, using which i could set the Functional location name as the description OR if there is some enhancement by which the user is asked to enter the description when creating the document.
    Warm Regards,
    Vivek Mohankumar

    Hi Vivek,
    After my tests I would like to inform you that this is                  
    the standard system behavior as the document description field is       
    maintained as mandatory in transaction DC10. Please note that for the   
    simple creation of documents this should not be set as a mandatory      
    field.                                                                               
    The creation mode can be defined in transaction DC10 for each object    
    under 'Define object links'.                                                                               
    Please note that the value "1" for the creation of documents is used    
    to enable a user to simple attache a word file to an object             
    without going to the transaction CV01n. Therefore the system behaviour  
    is different then creating a document by CV01n and attaching a          
    file to it. With simple creation mode there should not be any           
    mandatory fields as the user cannot enter anything during the creation  
    process.                                                                               
    However, you can change the behaviour how the document is created by    
    MM02 transaction if you change the customizing in transaction DC10      
    like this:                                                                               
    If you maintain the value "2" for creation of documents, the user is    
    put to transaction CV01n and then the description can be entered. So    
    maybe this would solve the issue.  
    Regarding a useful BADI I can only recommned you to test BADI DOCUMENT_OBJ1,
    DOCUMENT_OBJ2 or DOCUMENT_MAIN01 for fill the description field.
    I hope this information could be useful for you and help to avoid the   
    mentioned error message.                                                                               
    Best regards,
    Christoph

  • Simple Firewall

    Hi all,
    I have very recently begun using java as a development package, and I love the network capability that it has. It makes it quite a bit easier to make a network application, and implement it.
    Something I would like to try would be to make a fairly simple firewall. For instance, when a user inside the network wants to make a connection, it would forward it through to the outside world, and keep the thread open to allow communication back to the host. If the outside world tried getting in, it would reject the host unless is met specific requirements (right port, etc).
    Three questions I have:
    1. Is this possible? I mean, it seems possible, but would there be a problem with the data, even if I used very basic I/O streams and such? Or would there be problems because of the vast number of protocols and such?
    2. How can I differentiate between 2 NICs? On my existing firewall, I'd have eth0 and eth1 for my internet and local net Ethernet cards. How would java know which is which? Creating a server socket is simple, but how do I tell it which interface to listen on?
    3. Obviously a firewall would need to listen to all incoming and outgoing ports. Do I seriously need to make 65535 threads to have a server socket listen on every port? I would hope there is a more simple way, but I'm just not finding it anywhere.
    Thank you all for your time.

    Yes it is possible with java.net API.
    There are lot of examples.
    I think you shoulg go to the socket programming division
    if you realy like to this.

  • Create Simple Printable SQL Reports in APEX 3.2 Without a Print Server

    Oracle Apex 3.2
    Oracle 11g
    OHS
    I thought I'd post an answer on how to get a printable SQL report in Oracle Apex without having to configure a print server. I'm sure that similar things have been posted in various other places, but I found the documentation for using custom row templates (to create a printable report) to be incomplete at best. For my needs, I was not looking for an awe inspiring report printout, but rather simple directory information printouts. For example, if you wanted a printable report to look like this:
    =================================
    CURRENT ACTIVE EMPLOYEES REPORT
    =================================
    First Name: Bob                  Employee ID: 0000000000
    Last Name: Swarts              Company Credit Card Number: 0000-0000-0000-0000
    Middle Initial: F                  Social Security Number: 000-00-0000
    First Name: Sue                  Employee ID: 1111111111
    Last Name: Johnson           Company Credit Card Number: 1111-1111-1111-1111
    Middle Initial: G                 Social Security Number: 111-11-1111
    etc.....In MS Access, doing this is very easy. From what I understand, this is also very easy to do this using PDF software with a print server. However, if you are like me, you don't want to waste time and money by obtaining and configuring a print server (even if it is free). However, never fear because you can create simple reports like this with relatively minimalistic effort; and you can do so without having to configure a print server.
    1.) Create a new page
    2.) Create a new sql query report region on the page
    3.) Make your query just as you would normally.
    For this example the query would be:
    select first_name, employee_id, last_name, company_credit_card_number, middle_initial, social_security_number from employee_table4.) Go to "Shared Components"
    5.) Under "User Interface" click on "Templates"
    6.) Click on the "Create" button
    7.) Select "Report"
    8.) Select "From Scratch"
    9.) For the "Template Class," choose one of the "custom" classes. For the "Template Type," choose "Named Column"
    10.) Click the "Create" button
    11.) Now that you created a custom row template, go back to "Shared Components" and then to "Templates"
    12.) Find your custom template and click on it
    CUSTOM TEMPLATE HOW TO
    1.) In the "Row Template 1" textbox, you are going to create some custom css that will display the data on the page. The css to make the report look like the report above would be:
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p style = "page-break-after: always">----------------------------------------------------------------</p>
    </div>
    {code}
    As you probably figured out, the numbers between the two pound signs ("#") are substitution strings for the variables in your select query in the SQL report.  As you have also probably noticed, the "page-break-after: always" line will always make it so that only one report is shown on a page.  To fix this, we will need to use logic and row template 2.
    2.)  For the "Row Template 1 Condition," select "Use Based on PL/SQL Expression" from the select list.
    3.)  In the textbox for the row template 1 expression enter in the following:  {code}substr('#rownum#',-1) = 0 or substr('#rownum#',-1) = 5{code}
    ***** This condition will make sure that this template is applied when the last digit in the row number is either a "0" or a "5."  So, only 5 reports will be displayed per page.
    4.)  Now go down to "Row Template 2" and enter in the following in the textbox:
    {code}
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p>----------------------------------------------------------------</p>
    </div>look familiar? that is because it exactly the same code as above, except without the page-break-after piece.
    5.) For the "Row Template 2 Condition," select "Use Based on PL/SQL Expression" from the select list.
    6.) In the textbox for the row template 2 expression enter in the following: substr('#rownum#',-1) != 0 or substr('#rownum#',-1) != 5***** This condition will make sure that this template is applied when the last digit in the row number IS NOT a "0" or a "5."
    7.) Scroll down to column headings and enter this in the textbox for the "Column Heading Template": OMIT
    8.) Click the "Apply Changes" button
    9.) Now go back to your application and the page you want to apply the custom report to
    10.) On the report, click on the report tab
    11.) Scroll down to "Layout and Pagination"
    12.) Click on the "Report Template" select list
    13.) Select your custom template
    14.) Click the "Apply Changes" button and run the page
    Try printing the report, if it does not print correctly, try it in Opera, Safari, Internet Explorer, Firefox, and Google Chrome. Please note that it is my understanding that only Firefox does not understand the css "page-break-after: always"
    If needed, add some css to the page to hide tabs and other items when you print.
    ~Andrew Schulltz

    DOH. Too much copy/paste.
    In my code, I was setting an application variable to contain the email address I was retrieving from AD. Once commented out, it worked fine.
              IF l_attr_name = 'mail' THEN
                 APEX_UTIL.SET_SESSION_STATE('F111_USER_EMAIL',l_vals(i));
              END IF;

  • How to create simple Adobe Forms in ABAP

    hi,
    i want to know how to create simple Adobe forms in ABAP

    Hi,
    Look at this eLearning Documents. This a good way to start.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
    Regards.
    Marcelo Ramos

  • How to create simple scroll-bar table dashboard in Excel 2003?

    How to create simple scroll-bar table dashboard in Excel 2003?
    Pl mention from step 1 as I am new to this 

    Hi UltraDev,
    We discuss SQL Server PowerPivot for SharePoint related issue in this forum. In your case, I suggest you post the question in the following forum for better support:
    Excel IT Pro Discussion:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
    Regards,
    Elvis Long
    TechNet Community Support

  • A quick solution for creating simple SWF animation.

    A quick solution for creating simple SWF animation.
    So you’re not an expert with Adobe flash and you need
    to create a simple animation or banner for a client. Remember that
    old school point and click animation program you found on the web a
    couple of years age. Create your animation with the old school
    program then convert the .gif file to a SWF file. It worked for me.

    ok?

  • I need an app for creating simple signs like Windows Publisher allows. Suggestions?

    I have a MacBook Pro and purchased the Windows for Mac Office Suite software which includes Excel, Word, Outlook and Powerpoint. However, I now really need something similar to Publisher in order to create simple fliers and other items. I have Pages and thought that it would work for me, but I find that pictures I insert into a Pages doc are difficult to place or maneuver within the document. Any suggestions for a different app that would be easier to use?

    Word will actually 'work' for simple flyers - maybe even simple newsletters and the like. Do a Google search for some Word templates that you may be able to use.
    I have Pages but I don't use it - Word is powerful enough to do what you need, though, I would think.
    Clinton

  • Simple firewall implementation

    Hello,
    I'm pretty new to the cisco product and want to setup a simple firewall.
    I found some exampels but can't get it to work.
    For now we are using Cisco routers 88x and 89x series.
    When I activate te script I the remote connection to the router is lost, although I have put an permit rule for ssh.
    The script is the following:
    ip inspect name Firewall tcp
    ip inspect name Firewall udp
    ip inspect name Firewall rtsp
    ip inspect name Firewall h323
    ip inspect name Firewall netshow
    ip inspect name Firewall ftp
    ip inspect name Firewall ssh
    ip access-list extended Allow-IN
     permit eigrp any any
     permit icmp any 192.168.2.0 0.0.0.255 echo-reply
     permit icmp any 192.168.2.0 0.0.0.255 unreachable
     permit icmp any 192.168.2.0 0.0.0.255 administratively-prohibited
     permit icmp any 192.168.2.0 0.0.0.255 packet-too-big
     permit icmp any 192.168.2.0 0.0.0.255 echo
     permit icmp any 192.168.2.0 0.0.0.255 time-exceeded
     permit tcp any 192.168.2.0 0.0.0.255 eq 22
     deny ip any any
    interface Vlan1
     ip inspect Firewall in
    interface Dialer1
     ip access-group Allow-IN in
    Can anyone tell me what I'm doing wrong here?
    And a second question, can I use for the ip inspect also port numbers or must I always use a service name?
    Thank you,
    //Edwin

    Hello,
    I have tested this.
    I couldn't add the router-traffic to the ip inspect rule for ssh but could add it to the ip inspect rule with tcp.
    I tested this option but unfortunatly the connection was closed again as soon the rules were applied to the interfaces.
    Maybe I did it wrong or it doesn't work.
    //Edwin

  • How to create simple JSP and deploy to J2EE engine?

    Hi,
    I need to create simple JSP pages and deploy it to SAP J2EE engine.. what is the procedure?...I may later add some businness logic but not needed for now.
    Please help
    Thanks,
    Jai

    Gabrie,
    Here are Simple steps,
    In the NWDS
    1) create J2EE -> Web Module Project    (XYZ)
    2) create/add your JSP pages to the project
    3) Right click on your project root and click on 'Build Web Archive' from the context
    3) create J2EE -> Enterprise Application project(EAR)
    4) Right click on your Web Module Project root and click on 'Add to EAR Project' from the context, select the EAR you just created in step 3.
    5)Right click on your EAR project root and click on 'Build WebApplication Archive' from the context
    6)Expand the EAR project node, and right click on the *.ear file, click on 'Deploy to J2EE Engine'.
    7)Enter your SDM password  when prompted,
    You can access you JSP at this url
    http://server:port/xyz/a.jsp
    - Dileep

  • List of steps required to create simple planning example

    Hello
    I am new to BPS
    Could you please give me a list of steps required to create simple planning example.
    Thanks
    Message was edited by: Aleksandrs Frolovs

    Hi Aleksandrs,
    Here is some good info:
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/7c4b52691011d4b2f00050dadfb23f/content.htm

  • Create simple map like visio

    I'm using Microsoft Visio to create simple map.Can we do it at ilustrator?
    Thank .
    http://iptek.bintang9.co.cc

    I've created maps in Illustrator.  I'm sure I've gone about it the hard way, but I know it can be done.  There is also a plugin for Illustrator called MAPublisher as well for this particular application.  Although that plugin is quite expensive, so I just do it the hard old fashioned way as mapmaking isn't something that I do often and it's usually more for a graphic then it is for dead-on accurate(although I do try to be as much as I possibly can be).

  • Error in Forms when creating simple form in c sharp

    Hi
    I've created a very simple Csharp form with two textboxes and one press button. It is linked to a fortran DLL (Salford Compiler)
    When I compile and run the program the first time it all works well. But when I save the file  and quit VS 2013
    and then restart and reload the program I get this funny error when I try to view the form again.
    Warning 1 The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))  0 0 
    I've tried deleting the Temporary asp.net files as suggested in one forum but to no avail. Any help much appreciated
    Terry

    Hi ProfTC,
    By researching, I found this thread in StackOverFlow, which has solved this problem.
    http://stackoverflow.com/questions/8269386/could-not-load-file-or-assembly-the-parameter-is-incorrect
    The answer is below:
    Depending on if your are running X64 you might need to clean up a couple more spots.  Just cleaning up my user directory was not enough.
    %TEMP%\Temporary ASP.NET Files
    C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
    This list will grow as if you have other versions of the framework installed.
    So , you could clear these ASP.NET files in more spots.
    If you still have problems, you could feel free to let me know,
    Or if your project is related to ASP.Net, you could post your issue to the ASP.Net forum for better supports.
    http://forums.asp.net
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help to create simple Applescript

    Hi, hopefully somebody will be able to help me with a simple Applescript.
    I want to be able to drag a pdf file onto a desktop icon, enter a new filename into a dialogue box and for the file to be copied to a specific folder. It will only be pdf files, and I want it to automatically append the .pdf extension.
    Could sombody possibly point me in the right direction? Thanks in advance.

    Oops, forgot one more check. If a file exists with the same name as the original file, then it will error when you duplicate it. One way to solve that is to duplicate in place. Then "copy" is added to the name. You then move the file to the destination folder and probably there is no file with "copy" in its name.
    property folder_location : (path to desktop)
    property folder_name : "Files"
    on open these_items
    -- added check for main folder
    tell application "Finder"
    try
    set main_folder to (folder folder_name of folder_location) as alias
    on error
    set main_folder to (make new folder at folder_location with properties ¬
    {name:folder_name})
    end try
    end tell
    repeat with this_item in these_items
    set n to name of (info for this_item)
    if n ends with ".pdf" then
    set temp_prompt to "Enter a name for duplicate of " & n & ":"
    repeat
    display dialog temp_prompt default answer "name"
    set new_name to (text returned of result) & ".pdf"
    tell application "Finder"
    if not (exists file new_name of main_folder) then
    set the_duplicate to (duplicate this_item) as alias
    move the_duplicate to main_folder
    set name of the_duplicate to new_name
    exit repeat
    else -- inform user to enter a different name
    set temp_prompt to "Enter a different name. The name " & new_name & " is used."
    end if
    end tell
    end repeat
    end if
    end repeat
    end open
    Otherwise, What I usually do is create a empty temp folder for doing renaming, but then it gets more complicated. For now, just don't use "copy" in names.
    gl,

  • Creating simple WWI report

    Hello All,
    Can someone kindly write down very basic  steps by which I can create a simple WWI report by extracting some field values from Property tree of specification.
    Thanks in advance,
    Sachin

    Hello Sachin
    to my knowlegde WWI is integrated in most of the EH&S submodules. The SAP standard can be used to generate a high number of report symbols which are connected to the different submodules and the SAP EH&S set up can be used to generate if necessary very easily customer specific symbols.
    Further on WWI as a "printing" technique etc. has grown a lot in the recent years. Here I can give only a small summary:
    With the recent releases of SAP EH&S you can use e.g. a "report template" in a "report template" which is a good starting point in my opinion to handle better the WWI topic. Further on SAP has increased the possibilites in using so called "place holder phrases". One is linked to a "old" relase (related majnly to DG management topics) and a new one which has been prepared recently.
    It is a good idea to do a small inquiry in SAP marketplace to find the corrresponding OSS.
    As Recipe Management uses in the background to my knowlegde the EH&S indicates that you can use WWI to derive data using WWI from Recipe Management too (Sorry: I have too no experience here).
    If you perform an inquiry in SDN you will find a high number of entries regarding "Recipe Management" and in some of them I have seen that similar questions have been asked and answered (how to derive data using WWI). Now coming back to what Niraj said:
    If you take a look in cg54 and cg50 you will see a number of "report applications".
    Therefore the WWI technique to my knowlegde can now be used in really any EH&S submodule you can think about.
    WWI is normally used to generate MSDS, SOP, Lables etc. but can be used ot my knowlege in EH&S IH and OH as well to "print" data in a report.
    MSDS and Lables are "special"  from my point of view because of SAP history. The reason is simple. The generation of especially a MSDS or a lable will drive most of your EH&S acitvities in most companyies. Further on SOPs (Standad operating measuress) are used often and in the past in europe tremcards. The generation of a MSDS or a SOP was one of the first major topics which SAP solved with EH&S.  Later on (i believe with SAp enterprise Extenstion 2.0) GLM has been introduced
    What is really important is to understand the link between the "substance generation variant" the "report template" and the "report application".
    Personally I would suggest that you try to "print" e.g. an identifier as the first step to get expericene in using WWI. From the "technical point of view" such a report layout and generation variant etc. can be created within not more than 2 hours if you have a basic idea of WWI.
    With best regards
    C.B.
    Shipped with EH&S there is are some "default WWI" layout (which can be found in the corresponding folder in the WWI on your client).
    Edited by: Christoph Bergemann on Jun 3, 2010 9:38 AM
    Edited by: Christoph Bergemann on Jun 3, 2010 9:40 AM
    Edited by: Christoph Bergemann on Jun 3, 2010 9:40 AM
    Edited by: Christoph Bergemann on Jun 3, 2010 9:41 AM

Maybe you are looking for

  • ERROR in Loan Application

    Dear All, I am getting an error while applying for a loan in ESS Error - "A Maximum of amount 0 can be approved for the employee no .XXXXXXXX  "  . I read the earlier thread on this but it does not work even after activating the BADI. I have activate

  • Imac won't sleep when network drive is mounted

    Is there a way to put imac to sleep when network drive is mounted. It goes to sleep when the drive is mounted. The display goes to sleep but not the system. One more thing.....Is there a way to keep a network drive mounted after restarting? 24" imac

  • I got the error code 1603 when I was installing labVIEW6.1 in windows2000 professional(chinese)

    I bought the labVIEW RT software and the hardware.It included the LabVIEW6.1 FDS. I got the error code,and I let the install program go on.After the install completed,I found my LabVIEW worked well expect the DAQ palette.there are no "data acquisitio

  • Adobe flash player installer screen won't close

    I was going to install it and found it was going to install Google chrome, and I didn't want that. So, I cancelled it and now I can't get the installer screen off my computer! Any help?

  • Running the BO servers on non standard ports XIR2

    Hi all, I need to know how to get the bo servers to register with the cms when it is running on a non-standard port. The port I'm using is 6409, so I have tried adding -port 6409 to the command line string, but that didn't work. I'm running two insta