Sunscreen 3.2

Not sure if this is right forum for sunscreen but I could not found one.
If it is, here is my ?
Running Sol 2.9, and try to install SS 3.2, according to
documentation during install I should see web server as a one of the install components. I dont see it, and after istall complete I am not able to bring the GUI.
Do I miss something, this bin is from CD 2 install.
Please advice.
Tks,
agapio

Aha! There were a couple of pre-req Solaris packages that I missed installing. Installed those and the install of SunScreen completed just fine.

Similar Messages

  • Getting SunScreen work in Solaris 9

    Hi all,
    I installed Sunscreen in Solaris 9 from the CD, path
    /cdrom/sol_9_1202_sparc_2/Solaris_9/ExtraValue/CoBundled/SunScreen_3.2/sparc
    Now i am trying:
    root# ssadm edit policyname
    could not acquire read lock.
    From sun docs:
    """""" could not acquire read lock
    Return code: 242
    Indicates that the configuration editor could not acquire a read lock.
    Likely the lock file is corrupt or some process is hanging.
    ss_lock -c policy is likely to be needed. """"""
    Then i try root# ss_lock -c
    ss_lock: Command not found.
    root# locate ss_lock
    Nothing comes.
    Does anyone have an idea how can i configure it?
    Thanks in advance ...
    Bellow the interesting outputs from command locate sunscreen:
    /dev/screen
    /dev/screen_ipsec
    /dev/screen_skip
    /devices/pseudo/clone@0:screen
    /devices/pseudo/clone@0:screen_ipsec
    /devices/pseudo/clone@0:screen_skip
    /etc/init.d/plumbsunscreen
    /etc/init.d/plumbsunscreen2
    /etc/init.d/sunscreen
    /etc/init.d/sunscreenft
    /etc/init.d/sunscreentr.sh
    /etc/rc?.d/ (startup scripts here)
    /etc/sunscreen
    /etc/sunscreen/configs
    /etc/sunscreen/configs/template.policy
    /etc/sunscreen/configs/template.registry
    /etc/sunscreen/httpd (and subfiles)
    /etc/sunscreen/ike/crls
    /etc/sunscreen/ike/publickeys
    /etc/sunscreen/ipsec.algorithms
    /etc/sunscreen/location
    /etc/sunscreen/name
    /etc/sunscreen/proxies
    /etc/sunscreen/secret
    /etc/sunscreen/secret/ike.privatekeys
    /etc/sunscreen/tmpcerts
    /etc/sunscreen/version.txt
    /usr/lib/sunscreen (and subdirs)
    /usr/lib/sunscreen/etc
    /usr/lib/sunscreen/lib
    /usr/lib/sunscreen/ssadm
    /usr/lib/sunscreen/ssadm/activate
    /usr/lib/sunscreen/ssadm/active
    /usr/lib/sunscreen/ssadm/algorithm
    /usr/lib/sunscreen/ssadm/backup
    /usr/lib/sunscreen/ssadm/certdb
    /usr/lib/sunscreen/ssadm/certlocal
    /usr/lib/sunscreen/ssadm/certrldb
    /usr/lib/sunscreen/ssadm/cmg
    /usr/lib/sunscreen/ssadm/configure
    /usr/lib/sunscreen/ssadm/configure_ts
    /usr/lib/sunscreen/ssadm/debug_level
    /usr/lib/sunscreen/ssadm/domain
    /usr/lib/sunscreen/ssadm/edit
    /usr/lib/sunscreen/ssadm/filter
    /usr/lib/sunscreen/ssadm/ha
    /usr/lib/sunscreen/ssadm/lock
    /usr/lib/sunscreen/ssadm/log
    /usr/lib/sunscreen/ssadm/logdump
    /usr/lib/sunscreen/ssadm/logmacro
    /usr/lib/sunscreen/ssadm/logstats
    /usr/lib/sunscreen/ssadm/patch
    /usr/lib/sunscreen/ssadm/policy
    /usr/lib/sunscreen/ssadm/product
    /usr/lib/sunscreen/ssadm/restore
    /usr/lib/sunscreen/ssadm/skip
    /usr/lib/sunscreen/ssadm/spf2efs
    /usr/lib/sunscreen/ssadm/sys_info
    /usr/lib/sunscreen/ssadm/traffic_stats
    /usr/lib/sunscreen/ssadm/welfmt
    /usr/lib/sunscreen/support/ (and subdirs)

    Hi all,
    I installed Sunscreen in Solaris 9 from the CD, path
    /cdrom/sol_9_1202_sparc_2/Solaris_9/ExtraValue/CoBundled/SunScreen_3.2/sparc
    Now i am trying:
    root# ssadm edit policyname
    could not acquire read lock.
    From sun docs:
    """""" could not acquire read lock
    Return code: 242
    Indicates that the configuration editor could not acquire a read lock.
    Likely the lock file is corrupt or some process is hanging.
    ss_lock -c policy is likely to be needed. """"""
    Then i try root# ss_lock -c
    ss_lock: Command not found.
    root# locate ss_lock
    Nothing comes.
    Does anyone have an idea how can i configure it?
    Thanks in advance ...
    Bellow the interesting outputs from command locate sunscreen:
    /dev/screen
    /dev/screen_ipsec
    /dev/screen_skip
    /devices/pseudo/clone@0:screen
    /devices/pseudo/clone@0:screen_ipsec
    /devices/pseudo/clone@0:screen_skip
    /etc/init.d/plumbsunscreen
    /etc/init.d/plumbsunscreen2
    /etc/init.d/sunscreen
    /etc/init.d/sunscreenft
    /etc/init.d/sunscreentr.sh
    /etc/rc?.d/ (startup scripts here)
    /etc/sunscreen
    /etc/sunscreen/configs
    /etc/sunscreen/configs/template.policy
    /etc/sunscreen/configs/template.registry
    /etc/sunscreen/httpd (and subfiles)
    /etc/sunscreen/ike/crls
    /etc/sunscreen/ike/publickeys
    /etc/sunscreen/ipsec.algorithms
    /etc/sunscreen/location
    /etc/sunscreen/name
    /etc/sunscreen/proxies
    /etc/sunscreen/secret
    /etc/sunscreen/secret/ike.privatekeys
    /etc/sunscreen/tmpcerts
    /etc/sunscreen/version.txt
    /usr/lib/sunscreen (and subdirs)
    /usr/lib/sunscreen/etc
    /usr/lib/sunscreen/lib
    /usr/lib/sunscreen/ssadm
    /usr/lib/sunscreen/ssadm/activate
    /usr/lib/sunscreen/ssadm/active
    /usr/lib/sunscreen/ssadm/algorithm
    /usr/lib/sunscreen/ssadm/backup
    /usr/lib/sunscreen/ssadm/certdb
    /usr/lib/sunscreen/ssadm/certlocal
    /usr/lib/sunscreen/ssadm/certrldb
    /usr/lib/sunscreen/ssadm/cmg
    /usr/lib/sunscreen/ssadm/configure
    /usr/lib/sunscreen/ssadm/configure_ts
    /usr/lib/sunscreen/ssadm/debug_level
    /usr/lib/sunscreen/ssadm/domain
    /usr/lib/sunscreen/ssadm/edit
    /usr/lib/sunscreen/ssadm/filter
    /usr/lib/sunscreen/ssadm/ha
    /usr/lib/sunscreen/ssadm/lock
    /usr/lib/sunscreen/ssadm/log
    /usr/lib/sunscreen/ssadm/logdump
    /usr/lib/sunscreen/ssadm/logmacro
    /usr/lib/sunscreen/ssadm/logstats
    /usr/lib/sunscreen/ssadm/patch
    /usr/lib/sunscreen/ssadm/policy
    /usr/lib/sunscreen/ssadm/product
    /usr/lib/sunscreen/ssadm/restore
    /usr/lib/sunscreen/ssadm/skip
    /usr/lib/sunscreen/ssadm/spf2efs
    /usr/lib/sunscreen/ssadm/sys_info
    /usr/lib/sunscreen/ssadm/traffic_stats
    /usr/lib/sunscreen/ssadm/welfmt
    /usr/lib/sunscreen/support/ (and subdirs)

  • Problems installing SunScreen 3.2

    When trying to install SunScreen, after using ssadm Configure I'm getting the following output:
    --Adding interfaces & interface addresses*
    --Initialize 'vars' databases*
    --Initialize 'authuser' & 'proxyuser' databases*
    --Initialize 'logmacro' database*
    --Applying edits*
    --Activating configuration*
    loading skip keystore.
    Successfully initialized certificate database in /etc/skip/certdb
    starting skip key manager daemon.
    loading skip keystore.
    starting skip key manager daemon.
    can't load module: No such device or address
    An error occurred while activating the configuration.
    The configuration has not been activated.
    When trying to activate the Initial config, I'm getting things like:
    loading skip keystore.
    WARNING: mod_installdrv: no major number for skip_key
    and
    loading skip keystore.
    starting skip key manager daemon.
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: /dev/screen_ipsec open failed
    ss_ipsecd: error plumbing one or more modules
    please check the IPsec algorithms file /etc/sunscreen/ipsec.algorithms
    loading skip keystore.
    starting skip key manager daemon.
    Oct 29 11:14:24 docserv genunix: WARNING: mod_installdrv: no major number for screen
    can't load module: No such device or address
    Can any give any clues as to what might be wrong here - I don't seem to be able to do anything to get this working.
    Regards,
    Keith.
    Edited by: kmdxb on Oct 29, 2007 5:34 AM

    Did you download from here: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4788
    or from within the popup in LR?

  • Sunscreen upgrade Solaris 2.7 fails

    I just rec. my new copy of Solaris 9.
    I am attempting to upgrade a previous version of SunScreen
    firewall running on Solaris 2.7.
    So I kicked off the upgrade script and everything
    seemed to be working good. The old Firewall was backed up
    and removed. But during the install of the new Sunscreen
    packages it failed. The problem is that the upgrade script tried
    to install the following package: SUNWhttp as part of the upgrade
    process. The problem is it doesn't exist on the CD in the 'sparc' directory.
    As a result, the upgrade script terminated with an error complaining that
    the package was not found.
    Now I have a Solaris 2.7 system with no Firewall and the upgrade will not
    continue.
    As far as I know, SUNWhttp is not required for SunScreen 3.2 so I think
    the upgrade script needs fixing.
    Does anyone know of a modified/patched upgrade script that
    will allow me to continue the upgrade or at least can someone tell me how best to
    proceed? I want to be able to retain my old Sunscreen config.
    that was backed up.
    I would rather not have to go through the whole install from scratch.
    Any help on this would be great.
    Thanks.
    Ken Kempster.

    http://sunsolve.Sun.COM/pub-cgi/show.pl?target=patches/patch-license&nav=pub-patches

  • Trouble configuring SunScreen 3.2

    "--Adding interfaces & interface addresses
    --Applying edits
    --Activating configuration
    _I_MUXID2FD::: Invalid argument
    33
    /usr/lib/sunscreen/lib/ss_activate: ss_default_drop failed, return code 33 -- Exiting...
    An error occurred while activating the configuration.
    The configuration has not been activated."
    I get it all the time. What's that MUXID2FD? All required packages seem to be installed.
    My specs for SunScreen configuration are:
    Routing/Local Administration/Permissive Security/DNS.
    2xNIC (3COM/Realtek 8139) Solaris 9 x86 machine is acting as DHCP/Samba PDC server and router between 10.0.0.1/255.0.0.0 and 192.168.0.1/255.255.255.0. Uses DNS relay (ISP DNS servers) as name service.

    I forgot to mention that this PC is acting as an Internet server on rtls0 (192.168.0.1/255.0.0.0), and it's elx0 (10.0.0.1/255.0.0.0) is used to connect to ISP via ADSL with PPPoEd SUN PPPd 4.0. So there's an additional interface sppp0.
    # ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    elx0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.0.0.1 netmask ff000000 broadcast 10.255.255.255
    ether 0:60:97:80:5b:ca
    rtls0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255
    ether 0:30:84:a:81:ba
    sppp0: flags=10008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4> mtu 1492 index 4
    inet 213.219.89.165 --> 213.219.88.1 netmask ffffff00
    ether 0:0:0:0:0:0
    Killing pppd and unplumbing sppptun (pppoe/pppoed) from elx0 produces the following while #ssadm configure with the same settings as above:
    --Adding interfaces & interface addresses
    --Applying edits
    --Activating configuration
    status:: SIOCGLIFFLAGS: No such device or address
    33
    /usr/lib/sunscreen/lib/ss_activate: ss_default_drop failed, return code 33 -- Exiting...
    An error occurred while activating the configuration.
    The configuration has not been activated.
    I could only wonder what's a SIOCGLIFFLAGS and 33... :(

  • Configuring SunScreen Firewall on Solaris 8

    Hi,
    I'm trying to configure SunScreen Firewall on Solaris 8 and i would like to know what is 'tcp/ip high ports" ? And i have to configure NAT also on the same machine so that few of the machines behind firewall can
    communicate to the Server host infront of firewall. And currently i've the configuration like this.
    -- Firewall is configured with single policy
    --And the Rules are added correctly for NAT.
    And after the policy is verified successfully, the communication is across the Firewall. But after this
    following rules are added to configure tcp/ip high ports.(not sure about the service).
    -- The rules are configured like this.
    edit> add rule common localhost * ALLOW COMMENT "Allow firewall access out"
    edit> add rule tcp-high-ports hme0.net * ALLOW
    edit> add rule udp-high-ports hme0.net * ALLOW
    Now i'm unable to communicate to the server infront of Firewall after policy is activated successfully.
    I would appreciate if someone can help me on this.
    Thanks,
    Mullapudi

    HI,
    i don't know sunscreen, but i can tell you that high-ports are ports above 1023.
    J

  • Sunscreen damage to Vision M Screen - can it be repaired?

    My son's Vision M was accidentally in the line of spray from one of these new aerosol suncreens. Although he had a silicone case on the unit the actual LCD screen was exposed because he had removed the peel'n'stick protector from the screen when it started to peel up. The result is that the LCD screen now has tiny "dots" and faint drag marks where he wiped the screen. Question >> can these be removed or has the sunscreen done permanent damage to the screen? Visually the screen is fine for playback but there are obvious marks on the screen otherwise. If this can be removed or repaired - please let me know how to do this. I've seen that The Source for Circuit City (CDN version of Circuit City) has a mp3 screen repair kit and wondered it this might work?
    Thanks for whatever assistance you can provide us with....

    A broken screen is not covered by the warranty. Apple will exchange your iPod for a refurbished one for:Apple - Support - iPod - Repair pricing
    A third-party place like the following may be less expensive.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • SunScreen  3.2 export config

    How or is it possible to export a copy of the SunScreen config to a file...Its easy enough to make a copy but where does this copy reside and is it able to be exported, so as to be installed on another box?
    Please any information

    Well I discovered something new here. It turns out my problem was not with UDP but specifically ISAKMP (udp/500). When a ISAKMP packet attempted to traverse the Screen it would do nothing. It would not be passed or dropped, nothing was in the logs. So as a test I killed the 'ss_iked' process on the Screen and what do you know, ISAKMP packets are now successfully passed & routed through the Screen. So why would Sunscreen take a ISAKMP packet that's not destined for himself? Is there some IKE configuration on the Screen that I'm omitting? I'm not using any VPN functionality or remote Administration, so IKE is not being used.
    Thanks.

  • SunScreen 3.2 VLAN Blade B100s

    Hello All,
    Is it possible to configure the SunScreen 3.2 in routing mode using VLANs on the same physical interface?
    I want to use the SunFire Blade 1600 System Chassis and to install a SunScreen 3.2 Firewall on a B100s Blade. From the docs.sun.com it's not clear even that the ce driver that's used in the B100s blade is supported. There is nothing about the VLAN interfaces. Anyone tryed this? Anyone tryed this on a SUN server that uses the ce gigabit interface driver and VLANs configured.
    Ivailo

    I haven't done this and I haven't use SunScreen except in "play mode" and then didn't like it enough to really use it.
    But from what I understand about the CE driver on the blades and how VLAN'd interfaces are setup, I would think VLAN interfaces ce10001 and ce11001 (for example) are treated as two seperate interfaces and traffic isn't mixed across the two. So it would seem it should work.

  • Sunscreen Config Question

    I'm configuring sunscreen from a command line, and can't seem to find anything in the edit subcommand to deal with "spoofing" on an interface. The Admin Guide talks about "complete" and "incomplete" as being properties of an interface that determine a screen's behavior when receiving packets whose source IP is not known to the interface, but add interface doesn't provide any way of controlling this. And, I can't find anything in the output from ssadm active -x (or ssadm backup) that seems to relate to these things.
    Is the Admin Guide documenting concepts that are not actually supported by Sunscreen?
    On a perhaps related note, I'm very confused by the addresses that are created for my interfaces by ssadm configure -- they seem to be empty, according to ssadm active -x, even though there doesn't appear to be any way to add such interfaces using edit.
    // Addresses
    "copper_dmfe0"     ADDRESS;

    Sorry, I'm answering my own questions. The Sunscreen 3.1 Reference doesn't document COMPLETE/INCOMPLETE for interfaces, (can't seem to find a3.2 Reference Manual), but 3.2 saadm edit does provide help for add interface that shows COMPLETE/INCOMPLETE.
    As for the empty address in ssadm active -x output, this is how GROUP {} {} is reprepsented.

  • Help, SMTP can't go through SunScreen NAT

    Hi all,
    I'm using SunScreen 3.2 on my Solaris 9 (SPARC). My box has 2 NIC, I use one of them for
    my ADSL connection (Solaris PPP) , and another for my internal small networks. Only one filter
    rule has been set that allow all services, sources and destinations. A dynamic NAT has been set up
    that allows my internal networks connect to the Internet through SunScreen.
    Now, I can browse the Internet, receive mails through POP3, but, also found something wrong:
    1. I can't send mails through SMTP, except extremely simple ones, for instance, "mails" without body.
    2. I can't login to MSN messenger
    Does anyone has similar experiences? Can anyone give me some advices or clues?
    Any help will be appreciated.
    Stephen Suen

    Thanks to all for their help.
    It was a faulty machine - when I got back from holiday with my unused Ipad the tech person in the shop took one look and issued a replacement.
    I made sure the new one worked before I left the shop!
    I must have been unlucky because the chances of getting a faulty product with my first ever Apple purchase must have been quite slim....

  • Need help with different link styles on same page

    Hello,
    I'm using Dreamweaver CS4 on a PC.
    I have searched through a lot of posts over the last couple of days, I've tried the projectseven.com tutorial, google'd, etc. but still can't figure it out.....
    All I want to do is apply a different link colour to some links in the footer of my page. Elsewhere through the site I have set the colour to blue (for the link) and orange (for the hover) - for the footer links I want the link to be white and the hover colour to stay orange.
    The problem with the projectseven tutorial is that it doesn't seem to apply to CS4 and I kept getting error messages when trying to apply a new CSS rule - there's no Class|Tag|Advanced options as per the instructions ....
    I've copied the code of my page to this. The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    Could someone please give me some instructions or point me in the right direction please??
    Many thanks,
    Vickie
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Subscribe to Family Australia - it's free!</title>
    <!-- TemplateEndEditable -->
    <link href="../family-subscribe.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style></head>
    <body>
    <div id="container">
      <div id="banner">
        <ul id="family-subscribe-menu" class="MenuBarHorizontal">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../subscribe.html">Subscribe</a></li>
          <li><a href="../family-advertise.html">Advertise</a>      </li>
          <li><a href="../family-articles.html">Articles</a></li>
    <li><a href="../family-sign-in.html">Issues</a></li>
          <li><a href="../family-contribute.html">Contribute</a></li>
    <li><a href="../family-contact.html">Contact</a></li>
        </ul>
    </div>
        <div id="sidebar"><a href="../family-sign-in.html"><img src="../images/launch-issue.jpg" alt="launch-issue" width="220" height="380" hspace="4" /></a>
          <div id="sidebar-image2">
            <p><img src="../images/Sleeping bag for web.jpg" width="220" height="151" alt="sleeping-bag" /></p>
            <p>Kozy Koala™ Pillow Sleeper is ideal for those  summer nights when the kids want to sleep out or when you go camping. The  all-in-one pillow camper consists of …. [MORE]</p>
          </div>
          <div id="sidebar-image3">
            <p><img src="../images/solrx for web.jpg" width="220" height="164" alt="sunscreen" /></p>
          SolRX® Sunscreens are very sweat and water  resistant – ideal for anyone who leads an active outdoor lifestyle … whether  you’re in the water or not! [MORE]</div>
      </div>
        <!-- TemplateBeginEditable name="main-content-region" -->
        <div id="main-content">main content</div>
        <!-- TemplateEndEditable -->
      <div id="footer">
    <div id="footer-navigation-bar"><a href="../family-about.html">about</a> | <a href="../family-advertise.html">advertise</a> | <a href="../family-contribute.html">contribute</a> | <a href="../family-contact.html">contact</a> | <a href="../family-unsubscribe.html">unsubscribe</a></div>
          <div id="footer-text">Family Australia | ABN 33150685385 | For all advertising enquiries please contact <a href="mailto:[email protected]">[email protected]</a><br />
    Copyright © 2010 Family Australia. All rights reserved.
    </div>
      </div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("family-subscribe-menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    Hello
    You can see above the CSS that applies to your links.  If you have links that you want to style in a diferent way, just write the rule Like this:
    #Footer-Navigation-Bar a:link {
    color: red;
    text-decoration: none;
    Or whatever.  There are other ways but this will do you as you already have those links you want styled differently in a div with its own ID.  The new rule should come after the other rules in your CSS I think to make sure of the cascade although thinking about it,  there's something called specificity in CSS which means that the rule that I suggest will win out anyway.  All that you are doing in my suggestion is selecting the a:link that is a descendant of an element with that particular ID.
    I hope that helps.  I'm a bit of a novice and might have got a bit jumbled with the cascade/specficity thing but hey, I reckon that will get you where you want to go....
    Martin.

  • Help on ALV GRID display outputting format for 2 internal tables

    Hi,
        I have requirement in ALV GRID where I need to display the data from 2 internal tables. The first internal table has the content of Delivery due list data and second the internal table has the corresponding stock transfer data of the Delivery Due list. I have a checbox on my selection screen, when unchecked it should output the 1st internal table data, i.e for Delivery due list. When it is checked then it should output 1st Internal table data + 2nd internal table data of stock transfer. For example, 1 document delivery due list data and 2nd line for that document should show the stock transfer data. You can also check the transaction code VL10E for that will show a delivery due list...and for stock tranfer,you need to check with Purchase order in in the USer Role tabstrip. Pls suggest.
    Regards,
    Mira

    Hi,
    U can try out this code
    REPORT zzz_test NO STANDARD PAGE HEADING
                           MESSAGE-ID zz.
    The Data Declarations
    INCLUDE zzm_test_alv_data.
    The Selection Screen Definition
    INCLUDE zzm_test_alv_selscrn.
    The definition and implementation of the event reciever class
    INCLUDE zzm_test_alv_class.
    START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM f1000_load_itabs.
    END-OF-SELECTION
    END-OF-SELECTION.
      IF NOT cb_disp IS INITIAL.
        CALL SCREEN 9001.
      ENDIF.
    Include for getting data
      INCLUDE zzm_test_alv_forms.
    Include for PAI and PBO of screen
      INCLUDE zzm_test_alv_screen.
      INCLUDE ZZM_TEST_ALV_DATA                                          *
    This include has all the data declaration defined
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    Table Declarations:
    TABLES: mara,
            makt.
    Internal Tables:
    The following structure type must be defined in the data dictionary
    DATA:  i_fieldcat  TYPE lvc_t_fcat,
           i_fieldcat1 TYPE lvc_t_fcat,
           i_output1   TYPE STANDARD TABLE OF mara,
           i_output2   TYPE STANDARD TABLE OF makt,
    Work Areas:
           w_output1   TYPE STANDARD TABLE OF mara,
           w_output2   TYPE STANDARD TABLE OF makt.
    Variable:
    DATA: lv_repid    LIKE sy-repid.
    lv_repid = sy-repid.
      INCLUDE ZZM_TEST_ALV_SELSCRN                                       *
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    SELECTION-SCREEN BEGIN OF BLOCK b_main WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS: cb_disp AS CHECKBOX.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN END OF BLOCK b_main.
      INCLUDE ZZM_TEST_ALV_CLASS                                         *
    This include has all the data declaration defined for ALV
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    INCLUDE <icon>.
    Predefine a local class for event handling to allow the
    declaration of a reference variable before the class is defined.
    DATA : o_alvgrid1 TYPE REF TO cl_gui_alv_grid ,
           o_alvgrid2 TYPE REF TO cl_gui_alv_grid ,
           cont_for_cognos1   TYPE scrfname VALUE 'BCALC_GRID_01_9100',
           cont_for_cognos2   TYPE scrfname VALUE 'BCALC_GRID_01_9200',
           custom_container1 TYPE REF TO cl_gui_custom_container,
           custom_container2 TYPE REF TO cl_gui_custom_container,
          Work Area
           w_layout TYPE lvc_s_layo ,
           w_variant TYPE disvariant.
          Constants
    CONSTANTS : c_lay(1) TYPE c VALUE 'A' .                  " All Layouts
    CONSTANTS: BEGIN OF c_main_tab,
               tab1 LIKE sy-ucomm VALUE 'MAIN_TAB_FC1',   "
               tab2 LIKE sy-ucomm VALUE 'MAIN_TAB_FC2',   "
               END OF c_main_tab.
      INCLUDE ZZM_TEST_ALV_FORMS                                         *
    This Include has the various forms used in the program
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    *&      Form  f9001_build_field_cat
          To Build Field Catalog
         -->P_I_FIELDCAT  text
         -->P_0021   text
    FORM f9001_build_field_cat TABLES   p_fieldcat STRUCTURE lvc_s_fcat
                          USING value(p_structure).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                i_structure_name       = p_structure
           CHANGING
                ct_fieldcat            = p_fieldcat[]
           EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
      IF sy-subrc <> 0.
        MESSAGE i005 WITH 'Error in ALV field catalogue creation'.
                                                                " text-e05.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " f9001_build_field_cat
    *&      Form  f9000_objects_create
          For creating Custom Containers
    -->  p1        text
    <--  p2        text
    FORM f9000_objects_create.
      CREATE OBJECT custom_container1
          EXPORTING
              container_name = cont_for_cognos1
          EXCEPTIONS
              cntl_error = 1
              cntl_system_error = 2
              create_error = 3
              lifetime_error = 4
              lifetime_dynpro_dynpro_link = 5.
      CREATE OBJECT custom_container2
          EXPORTING
              container_name = cont_for_cognos2
          EXCEPTIONS
              cntl_error = 1
              cntl_system_error = 2
              create_error = 3
              lifetime_error = 4
              lifetime_dynpro_dynpro_link = 5.
      IF sy-subrc NE 0.
    add your handling, for example
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  titel = lv_repid
                  txt2  = sy-subrc
                  txt1  = 'The control could not be created'(510).
      ENDIF.
      CREATE OBJECT o_alvgrid1
           EXPORTING i_parent = custom_container1.
      CREATE OBJECT o_alvgrid2
           EXPORTING i_parent = custom_container2.
    ENDFORM.                    " f9000_objects_create
    *&      Form  f9003_layout
          To define the layout
         -->P_SY_TITLE  text
         -->P_0030   text
         -->P_0031   text
         -->P_0032   text
    FORM f9003_layout USING  value(ptitle)
                             value(pzebra)
                             value(pmode)
                             value(pwidth).
      w_layout-grid_title  = ptitle.
      w_layout-zebra       = pzebra.
      w_layout-sel_mode    = pmode.
      w_layout-cwidth_opt  = pwidth.
      w_variant-report     = sy-repid.
    ENDFORM.                    " f9003_layout
    *&      Form  f9006_error_handle
         To handle event
         -->P_PTEXT  text
    FORM f9006_error_handle USING value(ptext).
      IF sy-subrc NE 0.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  titel = text-e03 " Error Note
                  txt2  = sy-subrc
                  txt1  = ptext.
      ENDIF.
    ENDFORM.                    " f9006_error_handle
          FORM EXIT_PROGRAM                                             *
    FORM exit_program.
      CALL METHOD custom_container1->free.
      CALL METHOD custom_container2->free.
      CALL METHOD cl_gui_cfw=>flush.
      IF sy-subrc NE 0.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  titel = lv_repid
                  txt2  = sy-subrc
                  txt1  = 'Error in FLush'(500).
      ENDIF.
    ENDFORM.
    *&      Form  f1000_load_itabs
          Select from Database
    -->  p1        text
    <--  p2        text
    form f1000_load_itabs.
      SELECT * FROM mara
               INTO TABLE i_output1
               UP TO 50 rows.
      SELECT * FROM makt
               INTO TABLE i_output2
               UP TO 50 rows.
    endform.                    " f1000_load_itabs
      INCLUDE ZZM_TEST_ALV_SCREEN                                        *
    2/ Description / Include functions
    This include contains PBO and PAI events for the screen of report
    ZZZJJ_TEST_ALV
    3/ Responsibility
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    DATA FOR TABSTRIP 'MAIN_TAB'
    CONTROLS:  main_tab TYPE TABSTRIP.
    DATA:      BEGIN OF i_main_tab,
                 subscreen   LIKE sy-dynnr,
                 prog        LIKE sy-repid VALUE
                                  'ZZZ_TEST',
                 pressed_tab LIKE sy-ucomm VALUE c_main_tab-tab1,
               END OF i_main_tab.
    *&      Module  STATUS_9001  OUTPUT
          text
    MODULE status_9001 OUTPUT.
    IF custom_container1 IS INITIAL.
      SET PF-STATUS 'ZSTATUS'.
      SET TITLEBAR 'ZTITLE'.
      Creating Object
        PERFORM f9000_objects_create.
      Building the field catalog
        PERFORM f9001_build_field_cat TABLES i_fieldcat
                                USING 'MARA'.
        PERFORM f9001_build_field_cat TABLES i_fieldcat1
                                USING 'MAKT'.
      Modifying the field catalog
       PERFORM f9002_modify_field_cat TABLES i_fieldcat.
      For Layout
        PERFORM f9003_layout USING sy-title 'X' 'B' 'X'.
    ENDIF.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_SET  OUTPUT
          Call method to display in the output grid
    MODULE main_tab_active_tab_set OUTPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
      To display report
         i_main_tab-subscreen = '9100'.
          CALL METHOD o_alvgrid1->set_table_for_first_display
          EXPORTING
             is_variant                    = w_variant
             i_save                        = c_lay
             is_layout                     = w_layout
          CHANGING
             it_outtab                     = i_output1[]
             it_fieldcatalog               = i_fieldcat[]
          EXCEPTIONS
             invalid_parameter_combination = 1
             program_error                 = 2
             too_many_lines                = 3
             OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE i000 WITH text-e06."Error in ALV report display
        LEAVE LIST-PROCESSING.
      ENDIF.
        WHEN c_main_tab-tab2.
      To display report
          i_main_tab-subscreen = '9200'.
          CALL METHOD o_alvgrid2->set_table_for_first_display
          EXPORTING
             is_variant                    = w_variant
             i_save                        = c_lay
             is_layout                     = w_layout
          CHANGING
             it_outtab                     = i_output2[]
             it_fieldcatalog               = i_fieldcat1[]
          EXCEPTIONS
             invalid_parameter_combination = 1
             program_error                 = 2
             too_many_lines                = 3
             OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE i005 WITH text-e06."Error in ALV report display
        LEAVE LIST-PROCESSING.
      ENDIF.
    WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 “MAIN_TAB_ACTIVE_TAB_SET OUTPUT
    *&      Module MAIN_TAB_ACTIVE_TAB_GET INPUT
          Check & Process the selected Tab
    MODULE main_tab_active_tab_get INPUT.
      CASE sy-ucomm.
        WHEN c_main_tab-tab1.
          i_main_tab-pressed_tab = c_main_tab-tab1.
        WHEN c_main_tab-tab2.
          i_main_tab-pressed_tab = c_main_tab-tab2.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 “MAIN_TAB_ACTIVE_TAB_GET INPUT
    *&      Module USER_COMMAND_9001 INPUT
          User Command
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          PERFORM exit_program.
          SET SCREEN '0'.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM exit_program.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 “USER_COMMAND_9000 INPUT
    *&      Module MAIN_TAB_ACTIVE_TAB_SET INPUT
          Set sunscreen
    MODULE main_tab_active_tab_set INPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
            i_main_tab-subscreen = '9100'.
        WHEN c_main_tab-tab2.
            i_main_tab-subscreen = '9200'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 “MAIN_TAB_ACTIVE_TAB_SET INPUT
    Thanks & Regards,
    Judith.

  • Fluid got in my iPhone 4 screen - how can I clean it?

    I've had my iPhone 4 for almost a year now, and I got sunscreen on it. Ugh. Everything works fine, but there is a transparent white blob on the inside of the screen near the headphone jack. I worry about cracking it open to clean it, but can't think of any other way. It isn't drying on it's own. I also read up on the liquid indicator, and none seem to have gone off from what I can see, although it clearly went in through the headphone jack. Please help! I can't afford to fork over for a new one! Any tips?

    See this Discussion
    https://discussions.apple.com/message/19521062

  • Port forwarding in Solaris 8

    Hi,
    I am new to Solaris and am trying to set up a simple port forwarding from port 80 to 8080.
    I know how to do this in Linux:
    iptables -t nat -I PREROUTING -p tcp dport 80 -j REDIRECT to-port 8080
    but cannot find a way to do this in Solaris. I have installed SunScreen, but am not sure whether this is the right thing to use.
    This is a simple server in a hosting centre.
    Can anyone help?

    In solaris you can do port forwarding with ssh . You have to install SSH from soalris 2 of 2 CD .
    see man pages of ssh
    Regards

Maybe you are looking for

  • RoboHelp and Clearcase

    Hi, I want to do the following things: Add my project files to clearcase Check out the files from clearcase Modify/Add files Check in the files I added my project files to clearcase, but when i open the .xpj file RH throws the error message "Open pro

  • Adobe AIR for HTML/JS custom Javascript Scrollbars

    Hi, I would like to know if it is possible to have custom Javascript scrollbars in an Adobe AIR application. I have tried many jQuery plugins but nothing can style the scrollbars. I can only style them via CSS. Adobe AIR supports javascript scrollbar

  • Problem with multiple requests

    I have a problem with the users submitting multiple requests simultaneously. Let me put it this way: 1. User is on a tabbed panel with clear and search buttons. 2. User clicks on 'clear' button from any tab (request one). On successful completion, it

  • Chicago blues style drum track shuffle

    I want to find some chicago style drum tracks for garage band. Style like Elmore James, Howlin Wolf. Where can I find drum fills and beats for this style?

  • RoboHelp 8 crashes on Save

    I am working locally with RoboHelp 8 on a project with multiple TOCs and conditional tags. The problem started a few days ago when I generated output and the app would crash whenever I did NOT include a conditional tag. After much poking around in th