SPOOL STATMENT warning

HI  ALL
i am getting some warning message in a program for the below statement in ECC 6.0 which was working fine in earlie system 4.0b but now in new system as upgraded the spool is not created whic might be due to the below statment and warning as pasted below
SUBMIT ZSB0002 AND RETURN
           TO SAP-SPOOL WITHOUT SPOOL DYNPRO
             IMMEDIATELY  ' '
             KEEP IN SPOOL 'X'
warning : the "submit to sap spool without spool dynpro" statement produces unexpectd results without the essential  print parameters
("destination '' immediately" "keep in spool")
please suggest on teh above issue as the job log says failed to submit on the above statement
how to remove the warning and whether this warning is creating the no spool issue
regards
arora

solved

Similar Messages

  • James Send to Junk Mail

    Hello , i am using james 2.2.0 installed on a server with a online DNS , it recives mails properly , but when i try to send emails ( also when using Authenticated SMTP) , mail go to junk mails ( as hotmail and yahoo) , When i use Outlook express outside the server to send mail i get the following error :
    The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[email protected]'. Subject 'hahahhaha', Account: 'mytrans-port.com', Server: 'mytrans-port.com', Protocol: SMTP, Server Response: '550 - Requested action not taken: relaying denied', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79
    here is my config.xml , Thanks
    <?xml version="1.0"?>
    <!DOCTYPE config [
    <!ENTITY listserverConfig SYSTEM "../conf/james-listmanager.xml">
    <!ENTITY listserverStores SYSTEM "../conf/james-liststores.xml">
    <!ENTITY fetchmailConfig SYSTEM "../conf/james-fetchmail.xml">
    ]>
    <!--  Configuration file for the ASF James server -->
    <!--  This file contains important settings that control the behaviour -->
    <!--  of all of the services and repositories. -->
    <!--                               README!                            -->
    <!-- This configuration file is designed to run without alteration for simple tests. -->
    <!-- It assumes you have a DNS server on localhost and assigns a root password of root. -->
    <!-- In case the defaults do not suit you, the items you are most likely to need to change -->
    <!-- are preceded by a CHECKME! or CONFIRM? comment in the left margin. -->
    <!-- For production use you will probably need to make more extensive changes, see -->
    <!-- http://james.apache.org/documentation_2_1.html -->
    <!-- $Revision: 1.40.2.26 $ Committed on $Date: 2004/06/16 02:42:08 $ by: $Author: noel $ -->
    <config>
       <James>
    <!-- CHECKME! -->
          <!-- This is the postmaster email address for this mail server. -->
          <!-- Set this to the appropriate email address for error reports -->
          <!-- If this is set to a non-local email address, the mail server -->
          <!-- will still function, but will generate a warning on startup. -->
          <postmaster>Postmaster@localhost</postmaster>
          <!-- servernames identifies the DNS namespace served by this instance of James. -->
          <!-- These servernames are used for both matcher/mailet processing and SMTP auth -->
          <!-- to determine when a mail is intended for local delivery. -->
          <!-- -->
          <!-- If autodetect is TRUE, James wil attempt to discover its own host name AND -->
          <!-- use any explicitly specified servernames. -->
          <!-- If autodetect is FALSE, James will use only the specified servernames. -->
          <!-- -->
          <!-- If autodetectIP is not FALSE, James will also allow add the IP address for each servername. -->
          <!-- The automatic IP detection is to support RFC 2821, Sec 4.1.3, address literals. -->
          <!-- -->
          <!-- To override autodetected server names simply add explicit servername elements. -->
          <!-- In most cases this will be necessary. -->
          <!-- By default, the servername 'localhost' is specified. This can be removed, if required. -->
          <!-- -->
          <!-- Warning: If you are using fetchpop it is important to include the -->
          <!-- fetched domains in the server name list to prevent looping.       -->
          <servernames autodetect="true" autodetectIP="true">
    <!-- CONFIRM? -->
             <servername>mytrans-port.com</servername>
          </servernames>
          <!-- Set whether user names are case sensitive or case insensitive -->
          <!-- Set whether to enable local aliases -->
          <!-- Set whether to enable forwarding -->
          <usernames ignoreCase="true" enableAliases="true" enableForwarding="true"/>
          <!-- The inbox repository is the location for users inboxes -->
          <!-- Default setting: file based repository - enter path ( use  "file:///" for absolute) -->
          <inboxRepository>
             <repository destinationURL="file://var/mail/inboxes/" type="MAIL"/>
          </inboxRepository>
          <!-- Alternative inbox repository definition for DB use. -->
          <!-- The format for the destinationURL is "db://<data-source>/<table>" -->
          <!-- <data-source> is the datasource name set up in the database-connections block, below -->
          <!-- <table> is the name of the table to store user inboxes in -->
          <!-- The user name is used as <repositoryName> for this repository config. -->
          <!--
          <inboxRepository>
             <repository destinationURL="db://maildb/inbox/" type="MAIL"/>
          </inboxRepository>
          -->
          <!-- Alternative inbox repository definition for DB use. -->
          <!-- Stores message body in file system, rest in database -->
          <!--
          <inboxRepository>
             <repository destinationURL="dbfile://maildb/inbox/" type="MAIL"/>
          </inboxRepository>
          -->
          <!-- Alternative inbox repository definition for mbox use. -->
          <!-- This method uses UNIX standard mbox files and is meant for people using mbox files -->
          <!-- with systems such as mail list archive displayers -->
          <!-- Note that dot-locking is not currently supported -->
          <!-- so network (write) accesses may cause mbox corruption -->
          <!-- the sample mbox URL is an absolute URL; mbox:///var/mail will put the users mbox files in /var/mail/-->
          <!--
          <inboxRepository>
             <repository destinationURL="mbox:///var/mail/" type="MAIL"/>
          </inboxRepository>
          -->
       </James>
       <!-- Fetch pop block, fetches mail from POP3 servers and inserts it into the incoming spool -->
       <!-- Warning: It is important to prevent mail from looping by setting the  -->
       <!-- fetched domains in the <servernames> section of the <James> block     -->
       <!-- above. This block is disabled by default.                             -->
       <!-- FetchPOP is being deprecated in favor of FetchMail                    -->
        <fetchpop enabled="true">
            <!-- You can have as many fetch tasks as you want, but each must have a -->
            <!-- unique name by which it identified -->
            <fetch name="mydomain.com">
                <!-- Host name or IP address -->
                <host>mail.mydomain.com</host>
                <!-- Account login username -->
                <user>username</user>
                <!-- Account login password -->
                <password>pass</password>
                <!-- How frequently this account is checked - in milliseconds. 600000 is every ten minutes -->
                <interval>600000</interval>
            </fetch>
        </fetchpop>
        <!-- This is an example configuration for FetchMail, a JavaMail based gateway  -->
        <!-- service that pulls messages from other sources, and inserts them into the -->
        <!-- spool.  They are then processed normally, although FetchMail generally    -->
        <!-- has to fabricate some of the envelope information.  FetchMail should be   -->
        <!-- considered a mail gateway, rather than a relay, in RFC terms.             -->
        <!-- Fetchmail is a functionally richer replacement for FetchPOP.              -->
        <!-- CHECKME: FetchMail is disabled by default, and must be configured to use. -->
        <!-- Edit the file referred to by fetchmailConfig to enable and configure.     -->
        &fetchmailConfig;
       <!-- The James Spool Manager block  -->
       <!-- -->
       <!-- This block is responsible for processing messages on the spool. -->
       <spoolmanager>
          <!-- Number of spool threads -->
          <threads> 10 </threads>
          <!-- Set the Java packages from which to load mailets and matchers -->
          <mailetpackages>
             <mailetpackage>org.apache.james.transport.mailets</mailetpackage>
          </mailetpackages>
          <matcherpackages>
             <matcherpackage>org.apache.james.transport.matchers</matcherpackage>
          </matcherpackages>
          <!-- The root processor is a required processor - James routes all mail on the spool -->
          <!-- through this processor first. -->
          <!-- -->
          <!-- This configuration is a sample configuration for the root processor. -->
          <processor name="root">
             <!-- Checks that the email Sender is associated with a valid domain. -->
             <!-- Useful for detecting and eliminating spam. -->
             <!-- For this block to function, the spam processor must be configured. -->
             <!--
             <mailet match="SenderInFakeDomain=64.55.105.9,64.94.110.11,194.205.62.122,194.205.62.62,195.7.77.20,206.253.214.102,212.181.91.6,219.88.106.80,194.205.62.42,216.35.187.246,203.119.4.6" class="ToProcessor">
                <processor> spam </processor>
             </mailet>
             -->
             <!-- Important check to avoid looping -->
             <mailet match="RelayLimit=30" class="Null"/>
             <!--
             <mailet match="All" class="XMLVirtualUserTable">
                <!- 1:1 mapping ->
                <mapping>morgoth@middle-earth=sauron@mordor</mapping>
                <!- 1:n mapping ->
                <mapping>istari@middle-earth=saruman@isengard;radigast;gandalf</mapping>
                <!- DSN mapping ->
                <mapping>boromir@osgilliath=error:550 Requested action not taken: no such user here</mapping>
                <!- regex based mapping ->
                <mapping>*@osgilliath=regex:(.*)@osgilliath:${1}@minas-tirith</mapping>
                <!- both standard and regex mapping ->
                <mapping>ring@*=onering@mordor;regex:ring@(.*):ring@${1}</mapping>
                <!- conditional regex mapping example ->
                <mapping>*@listserver=regex:(.*)-on@listserver:${1}-subscribe@listserver;
                                      regex:(.*)-off@listserver:${1}-unsubscribe@listserver
                </mapping>
             </mailet>
             -->
             <!-- White List:
                  If you use block lists, you will probably want to check
                  for known permitted senders.  This is particularly true
                  if you use more aggressive block lists, such as SPEWS,
                  that are prone to block entire subnets without regard
                  for non-spamming senders.
              -->
             <!-- specific known senders -->
             <!--
             <mailet match="SenderIs=goodboy@goodhost"
                     class="ToProcessor">
                <processor> transport </processor>
             </mailet>
             -->
             <!-- People on this list agree to pay a penalty if they send spam -->
             <mailet match="InSpammerBlacklist=query.bondedsender.org"
                     class="ToProcessor">
               <processor> transport </processor>
             </mailet>
             <!-- E-mail legally required not to be spam (see: http://www.habeas.com) -->
             <!--
             <mailet match="HasHabeasWarrantMark" class="ToProcessor">
                <processor> transport </processor>
             </mailet>
             -->
             <!-- End of White List -->
             <!-- Check for delivery from a known spam server -->
             <!-- This set of matchers/mailets redirect all emails from known -->
             <!-- black holes, open relays, and spam servers to the spam processor -->
             <!-- For this set to function properly, the spam processor must be configured. -->
             <mailet match="InSpammerBlacklist=dnsbl.njabl.org"
                     class="ToProcessor">
               <processor> spam </processor>
               <notice>550 Requested action not taken: rejected - see http://njabl.org/ </notice>
             </mailet>
             <mailet match="InSpammerBlacklist=relays.ordb.org"
                     class="ToProcessor">
               <processor> spam </processor>
               <notice>550 Requested action not taken: rejected - see http://www.ordb.org/ </notice>
             </mailet>
             <!-- Sample matching to kill a message (send to Null) -->
             <!--
             <mailet match="RecipientIs=badboy@badhost" class="Null"/>
             -->
             <!-- Send remaining mails to the transport processor for either local or remote delivery -->
             <mailet match="All" class="ToProcessor">
                <processor> transport </processor>
             </mailet>
          </processor>
          <!-- The error processor is required.  James may internally set emails to the -->
          <!-- error state.  The error processor is generally invoked when there is an -->
          <!-- unexpected error either in the mailet chain or internal to James. -->
          <!-- -->
          <!-- By default configuration all email that generates an error in placed in -->
          <!-- an error repository. -->
          <processor name="error">
             <!-- If you want to notify the sender their message generated an error, uncomment this       -->
             <!--
             <mailet match="All" class="Bounce"/>
             -->
             <!-- If you want to notify the postmaster that a message generated an error, uncomment this  -->
             <!--
             <mailet match="All" class="NotifyPostmaster"/>
             -->
             <!-- Logs any messages to the repository specified -->
             <mailet match="All" class="ToRepository">
                <repositoryPath> file://var/mail/error/</repositoryPath>
                <!-- An alternative database repository example follows. -->
                <!--
                <repositoryPath> db://maildb/deadletter/error </repositoryPath>
                -->
             </mailet>
          </processor>
          <!-- Processor CONFIGURATION SAMPLE: transport is a sample custom processor for local or -->
          <!-- remote delivery -->
          <processor name="transport">
            <!-- This is an example configuration including configuration for a list server. -->
            <!-- CHECKME: before uncommenting this, edit the configuration file's contents   -->
            <!--
              &listserverConfig;
            -->
             <!-- Is the recipient is for a local account, deliver it locally -->
             <mailet match="RecipientIsLocal" class="LocalDelivery"/>
             <!-- If the host is handled by this server and it did not get -->
             <!-- locally delivered, this is an invalid recipient -->
             <mailet match="HostIsLocal" class="ToProcessor">
                <processor> local-address-error </processor>
                <notice>550 - Requested action not taken: no such user here</notice>
             </mailet>
    <!-- CHECKME! -->
             <!-- This is an anti-relay matcher/mailet combination -->
             <!-- -->
             <!-- Emails sent from servers not in the network list are  -->
             <!-- rejected as spam.  This is one method of preventing your -->
             <!-- server from being used as an open relay.  Make sure you understand -->
             <!-- how to prevent your server from becoming an open relay before -->
             <!-- changing this configuration. See also <authorizedAddresses> in SMTP Server -->
             <!-- -->
             <!-- This matcher/mailet combination must come after local delivery has -->
             <!-- been performed.  Otherwise local users will not be able to receive -->
             <!-- email from senders not in this remote address list. -->
             <!-- -->
             <!-- If you are using this matcher/mailet you will probably want to -->
             <!-- update the configuration to include your own network/addresses.  The -->
             <!-- matcher can be configured with a comma separated list of IP addresses  -->
             <!-- wildcarded IP subnets, and wildcarded hostname subnets. -->
             <!-- e.g. "RemoteAddrNotInNetwork=127.0.0.1, abc.de.*, 192.168.0.*" -->
             <!-- -->
             <!-- If you are using SMTP authentication then you can (and generally -->
             <!-- should) disable this matcher/mailet pair. -->
             <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
                <processor> relay-denied </processor>
                <notice>550 - Requested action not taken: relaying denied</notice>
             </mailet>
             <!-- Attempt remote delivery using the specified repository for the spool, -->
             <!-- using delay time to retry delivery and the maximum number of retries -->
             <mailet match="All" class="RemoteDelivery">
                <outgoing> file://var/mail/outgoing/ </outgoing>
                <!-- alternative database repository example below -->
                <!--
                <outgoing> db://maildb/spool/outgoing </outgoing>
                -->
                <!-- Delivery Schedule based upon RFC 2821, 4.5.4.1 -->
                <!-- 5 day retry period, with 4 attempts in the first
                     hour, two more within the first 6 hours, and then
                     every 6 hours for the rest of the period. -->
                <delayTime>  5 minutes </delayTime>
                <delayTime> 10 minutes </delayTime>
                <delayTime> 45 minutes </delayTime>
                <delayTime>  2 hours </delayTime>
                <delayTime>  3 hours </delayTime>
                <delayTime>  6 hours </delayTime>
                <maxRetries> 25 </maxRetries>
                <!-- The number of threads that should be trying to deliver outgoing messages -->
                <deliveryThreads> 1 </deliveryThreads>
                <!-- If false the message will not be sent to given server if any recipients fail -->
                <sendpartial>false</sendpartial>
                <!-- A single mail server to deliver all outgoing messages. -->
                <!-- This is useful if this server is a backup or failover machine, -->
                <!-- or if you want all messages to be routed through a particular mail server, -->
                <!-- regardless of the email addresses specified in the message -->
                <!-- -->
                <!-- The gateway element specifies the gateway SMTP server name. -->
                <!-- If your gateway mail server is listening on a port other than 25, -->
                <!-- you can set James to connect to it on that port using the gatewayPort -->
                <!-- element. -->
                <!-- Although normally multiple addresses are implemented through proper -->
                <!-- DNS configuration, the RemoteDelivery mail does allow specifying -->
                <!-- multiple gateway elements, each of which may also have a port -->
                <!-- e.g., mygateway:2525 -->
                <!-- the gatewayPort element is used as a default -->
                <!--
                <gateway> mytrans-port.com</gateway>
                <gatewayPort>25</gatewayPort>
                -->
             </mailet>
          </processor>
          <!-- Processor CONFIGURATION SAMPLE: spam is a sample custom processor for handling -->
          <!-- spam. -->
          <!-- You can either log these, bounce these, or just ignore them. -->
          <processor name="spam">
             <!-- To destroy all messages, uncomment this matcher/mailet configuration -->
             <!--
             <mailet match="All" class="Null"/>
             -->
             <!-- To notify the sender their message was marked as spam, uncomment this matcher/mailet configuration -->
             <!--
             <mailet match="All" class="Bounce"/>
             -->
             <!-- To notify the postmaster that a message was marked as spam, uncomment this matcher/mailet configuration -->
             <!--
             <mailet match="All" class="NotifyPostmaster"/>
             -->
             <!-- To log the message to a repository, this matcher/mailet configuration should be uncommented. -->
             <!-- This is the default configuration. -->
             <mailet match="All" class="ToRepository">
                <repositoryPath>file://var/mail/spam/</repositoryPath>
                <!-- Changing the repositoryPath, as in this commented out example, will -->
                <!-- cause the mails to be stored in a database repository.  -->
                <!-- Please note that only one repositoryPath element can be present for the mailet -->
                <!-- configuration. -->
                <!--
                <repositoryPath> db://maildb/deadletter/spam </repositoryPath>
                -->
             </mailet>
          </processor>
          <!-- This processor handles messages that are for local domains, where the user is unknown -->
          <processor name="local-address-error">
             <!-- To notify the sender the address was invalid, uncomment this matcher/mailet configuration -->
             <!-- The original message is not attached to keep the bounce processor from deliverying spam -->
             <!--
             <mailet match="All" class="Bounce">
                <attachment>none</attachment>
             </mailet>
             -->
             <!-- To notify the postmaster that a message had an invalid address, uncomment this matcher/mailet configuration -->
             <!--
             <mailet match="All" class="NotifyPostmaster"/>
             -->
             <mailet match="All" class="ToRepository">
                <repositoryPath> file://var/mail/address-error/</repositoryPath>
                <!-- An alternative database repository example follows. -->
                <!--
                <repositoryPath> db://maildb/deadletter/address-error </repositoryPath>
                -->
             </mailet>
          </processor>
          <!-- This processor handles messages that are for foreign domains, where relaying is denied -->
          <!-- As of James v2.2, this processor can be deprecated by using the <authorizedAddresses> tag
               in the SMTP Server, and rejecting the message in the protocol transaction.  -->
          <processor name="relay-denied">
             <!-- To notify the sender the address was invalid, uncomment this matcher/mailet configuration -->
             <!-- The original message is not attached to keep the bounce processor from deliverying spam -->
             <!--
             <mailet match="All" class="Bounce">
                <attachment>none</attachment>
             </mailet>
             -->
             <!-- To notify the postmaster that a relay request was denied, uncomment this matcher/mailet configuration -->
             <!--
             <mailet match="All" class="NotifyPostmaster"/>
             -->
             <mailet match="All" class="ToRepository">
                <repositoryPath>file://var/mail/relay-denied/</repositoryPath>
                <!-- An alternative database repository example follows. -->
                <!--
                <repositoryPath> db://maildb/deadletter/relay-denied </repositoryPath>
                -->
             </mailet>
          </processor>
       </spoolmanager>
       <!-- DNS Server Block -->
       <!-- -->
       <!-- Specifies DNS Server information for use by various components inside -->
       <!-- James. -->
       <!-- -->
       <!-- If autodiscover is true, James will attempt to autodiscover the DNS servers configured on your underlying system.-->
       <!-- Currently, this works if the OS has a unix-like /etc/resolv.conf,-->
       <!-- or the system is Windows based with ipconfig or winipcfg.-->
       <!-- -->
       <!-- If no DNS servers are found and you have not specified any below, 127.0.0.1 will be used-->
       <!-- If you use autodiscover and add DNS servers manually a combination of all the dns servers will be used  -->
       <!--  -->
       <!-- Information includes a list of DNS Servers to be used by James.  These are -->
       <!-- specified by the server elements, each of which is a child element of the -->
       <!-- servers element.  Each server element is the IP address of a single DNS server. -->
       <!-- The servers element can have multiple server children. -->
       <dnsserver>
          <servers>
             <!--Enter ip address of your DNS server, one IP address per server -->
             <!-- element. -->
             <!--
              <server>216.251.32.100</server>
             -->
          </servers>
          <!-- Change autodiscover to false if you would like to turn off autodiscovery -->
          <!-- and set the DNS servers manually in the <servers> section -->
          <autodiscover>true</autodiscover>
          <authoritative>false</authoritative>
       </dnsserver>
       <remotemanager>
          <port>4555</port>
          <!--  Uncomment this if you want to bind to a specific inetaddress -->
          <!--
          <bind> </bind>
          -->
          <!--  Uncomment this if you want to use TLS (SSL) on this port -->
          <!--
          <useTLS>true</useTLS>
          -->
          <handler>
             <!-- This is the name used by the server to identify itself in the RemoteManager -->
             <!-- protocol.  If autodetect is TRUE, the server will discover its -->
             <!-- own host name and use that in the protocol.  If discovery fails, -->
             <!-- the value of 'localhost' is used.  If autodetect is FALSE, James -->
             <!-- will use the specified value. -->
             <helloName autodetect="true">myMailServer</helloName>
             <administrator_accounts>
    <!-- CHECKME! -->
                <!-- Change the default login/password. -->
                <account login="username" password="password"/>
             </administrator_accounts>
             <connectiontimeout> 60000 </connectiontimeout>
          </handler>
       </remotemanager>
        <!-- The POP3 server is enabled by default -->
        <!-- Disabling blocks will stop them from listening, -->
        <!-- but does not free as many resources as removing them would -->
       <pop3server enabled="true">
          <!-- port 995 is the well-known/IANA registered port for POP3S  ie over SSL/TLS -->
          <!-- port 110 is the well-known/IANA registered port for Standard POP3 -->
          <port>110</port>
          <!-- Uncomment this if you want to bind to a specific inetaddress -->
          <!--
          <bind> </bind>
          -->
          <!--  Uncomment this if you want to use TLS (SSL) on this port -->
          <!--
          <useTLS>true</useTLS>
          -->
          <handler>
             <!-- This is the name used by the server to identify itself in the POP3 -->
             <!-- protocol.  If autodetect is TRUE, the server will discover its -->
             <!-- own host name and use that in the protocol.  If discovery fails, -->
             <!-- the value of 'localhost' is used.  If autodetect is FALSE, James -->
             <!-- will use the specified value. -->
             <helloName autodetect="true">myMailServer</helloName>
             <connectiontimeout>120000</connectiontimeout>
          </handler>
       </pop3server>
        <!-- The SMTP server is enabled by default -->
        <!-- Disabling blocks will stop them from listening, -->
        <!-- but does not free as many resources as removing them would -->
       <smtpserver enabled="true">
          <!-- port 25 is the well-known/IANA registered port for SMTP -->
          <port>25</port>
          <!-- Uncomment this if you want to bind to a specific inetaddress -->
          <!--
          <bind> </bind>
          -->
          <!-- Uncomment this if you want to use TLS (SSL) on this port -->
          <!--
          <useTLS>true</useTLS>
          -->
          <handler>
             <!-- This is the name used by the server to identify itself in the SMTP -->
             <!-- protocol.  If autodetect is TRUE, the server will discover its -->
             <!-- own host name and use that in the protocol.  If discovery fails, -->
             <!-- the value of 'localhost' is used.  If autodetect is FALSE, James -->
             <!-- will use the specified value. -->
             <helloName autodetect="true">myMailServer</helloName>
             <connectiontimeout>360000</connectiontimeout>
             <!--  Uncomment this if you want to require SMTP authentication. -->
             <!--
             <authRequired>true</authRequired>
             -->
    <!-- CHECKME! -->
             <!--  Uncomment this if you want to authorize specific addresses/networks.
                   If you use SMTP AUTH, addresses that match those specified here will
                   be permitted to relay without SMTP AUTH.  If you do not use SMTP
                   AUTH, and you specify addreses here, then only addresses that match
                   those specified will be permitted to relay.
                   Addresses may be specified as a an IP address or domain name, with an
                   optional netmask, e.g.,
                   127.*, 127.0.0.0/8, 127.0.0.0/255.0.0.0, and localhost/8 are all the same
                   See also the RemoteAddrNotInNetwork matcher in the transport processor.
                   You would generally use one OR the other approach.
             -->
             <authorizedAddresses>127.0.0.0/8</authorizedAddresses>
             <!--  Uncomment this if you want to verify sender addresses, ensuring that -->
             <!--  the sender address matches the user who has authenticated. -->
             <!--  This prevents a user of your mail server from acting as someone else -->
             <!--
             <verifyIdentity>true</verifyIdentity>
             -->
             <!--  This sets the maximum allowed message size (in kilobytes) for this -->
             <!--  SMTP service. If unspecified, the value defaults to 0, which means no limit. -->
             <maxmessagesize>0</maxmessagesize>
          </handler>
       </smtpserver>
        <!-- The NNTP server is enabled by default -->
        <!-- Disabling blocks will stop them from listening, -->
        <!-- but does not free as many resources as removing them would -->
        <!-- NNTP-specific: if you disable the NNTP Server, you should also set the nntp-repository's
             threadCount to 0, otherwise there will be threads active and polling  -->
       <nntpserver enabled="true">
       <!-- THE NNTP PROTOCOL IS EXPERIMENTAL AND NOT AS WELL TESTED AS SMTP AND POP3 IN THIS RELEASE.
            The James project recommends that you check the James web site for updates to the NNTP
            service.  -->
          <!-- port 563 is the well-known/IANA registered port for NNTP over SSL/TLS -->
          <!-- port 119 is the well-known/IANA registered port for Standard NNTP -->
          <port>119</port>
          <!-- Uncomment this if you want to bind to a specific inetaddress -->
          <!--
          <bind> </bind>
          -->
          <!-- Uncomment this if you want to use TLS (SSL)  on this port -->
          <!--
          <useTLS>true</useTLS>
          -->
          <handler>
             <!-- This is the name used by the server to identify itself in the NNTP -->
             <!-- protocol.  If autodetect is TRUE, the server will discover its -->
             <!-- own host name and use that in the protocol.  If discovery fails, -->
             <!-- the value of 'localhost' is used.  If autodetect is FALSE, James -->
             <!-- will use the specified value. -->
             <helloName autodetect="true">myMailServer</helloName>
             <co                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    hi
    you have to change the config.xml to allow the server accept relay mails from your host machine from which you are sendign the mail ...
    ie
    change
    <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
    <processor> relay-denied </processor>
    <notice>550 - Requested action not taken: relaying denied</notice>
    </mailet>
    add few more ips (your network / subnet ip)
    so that it accpets mails from that machine to be relayed ...
    you can also change the smtp autheriZation part and do that ...
    any one is enough ..
    Regards
    Venkat

  • Issue with macro

    I have a macro that updates a key figure . The macro checks certain conditions and if the result is true sets the value of the key figure to 1 and changes the key figure value to 0  if the conditions return a value of false.
    I executed the macro in a job . But it did does not update the value of the key figure. When i look at the job spool the warning message says " Not all data in the live cache could be updated"
    Cannot figure out why this is happening. Experts please suggest a solution
    Thanks
    Saradha

    Hi Visu ,
    It is not an auxillary key figure. We do have auxillary key figures in the same planning area , that we use just to provide more details to the SNP planners. This is an APO key figure. We back up the data to BW cubes on a daily basis.
    I shall try doing the consistency check.  But iam not sure if the problem is with the key figure. I encounter this problem only for around 13 products. For other products the macro is setting / resetting the value of key figure properly .

  • Leave statment with spool on background report.

    Hi,
          I coding ABAP report using leave statment than when i execute report in background.
    I found on 'SM37'  background job not have spool number but i try comment the leave statement only,
    the background job have spool number appeered. 
    My sourcecode like this:
           if flag = 'X'.
                   APPEND 'PRIN' TO current_scr-excl.
                   APPEND 'ONLI' TO current_scr-excl.
                   MESSAGE i999.
                  LEAVE TO CURRENT TRANSACTION.
          else.
                 perform select_data.
                 perform display_data.
          endif.

    Hi..
    You can not use
    LEAVE.. to transaction
    CALL transaction..
    in background processing.
    Check the condition whether its foreground or background processing and u can use the statement (sy-batch = 'x' for back ground processing)
    Hope this helps
    Nag

  • Report header is missng while printing or spooling

    Hi All,
    I have a problem in print a report.its
    After getting selection screen of the report ,If i click a print button (it's for execute and print)
    the header details are missing in spool ( does not print selection fields of the report are missing in spool).
    If i execute the report and got the output ,then i click the print button it's execute properly means in spool i am getting all the output properly ,header details also printed. means selection screen fields means what i entered in selection screen is printing.Its a AVL report.While debugging i am not getting solution.i have investigated in menu painter also.
    but i am not getting proper idea to fix the bug.
    i am sending the code also.please let me know ASAP
    code:
    REPORT  ZMXXR048 LINE-SIZE   1023  "255 deleted AW2150 GLDK9AAYU9
                     LINE-COUNT  65
                     MESSAGE-ID  zm
                     NO STANDARD PAGE HEADING.
    *eject
    TABLES declaration.
    TABLES:ekko,      "Purchasing Document: Header
           ekpo,      "Purchasing Document: Item
         a016,      "Contract Item                              AMT25JAN05
         a019,      "Contract Header                            AMT25JAN05
           t024,      "Purchasing Groups
           t024e,     "Purchasing Organizations
           t161,      "Purchasing Document Types
           t001w,     "Plants/branches
         lfa1,      "Vendor Master (General Section)            AMT25JAN05
           eket,      "Scheduling Agreement Schedule Lines
         ekbe,      "Purchasing Document: History               AMT25JAN05
         ekab,      "Release Documentation                      AMT25JAN05
           zbsart_doc."Purchasing documents custom structure     "GA01
         ekkn.      "Account Assignment in Purchasing Document "GA19062003
                    Comment AMT25JAN05
    *eject
    TYPE-POOLS  definition.
    TYPE-POOLS slis.                                            "KAK01
    *eject
    CONSTANTS declaration.
    CONSTANTS:
            c_t(1)      TYPE c         VALUE 'T',             "AMT25JAN05
              c_l(1)      TYPE c         VALUE 'L',
            c_m(1)      TYPE c         VALUE '4',             "AMT25JAN05
            c_y(1)      TYPE c         VALUE 'Y',             "AMT25JAN05
              c_i(1)      TYPE c         VALUE 'I',
              c_ne(2)     TYPE c         VALUE 'NE',
            c_eq(2)     TYPE c         VALUE 'EQ',            "AMT25JAN05
              c_lp(2)     TYPE c         VALUE 'LP',
              c_nb(2)     TYPE c         VALUE 'NB',
              c_ec(2)     TYPE c         VALUE 'EC',
              c_lpa(3)    TYPE c         VALUE 'LPA',
              c_zlp(3)    TYPE c         VALUE 'ZLP',
              c_znba(4)   TYPE c         VALUE 'ZNBA',
            c_mk(2)     TYPE c         VALUE 'MK',            "AMT25JAN05
            c_wk(2)     TYPE c         VALUE 'WK',            "AMT25JAN05
            c_doqot(1)  TYPE c         VALUE '"',             "AMT25JAN05
              c_totals(6) TYPE c         VALUE 'TOTALS',
              c_x(1)      TYPE c         VALUE 'X',
            c_k(1)      TYPE c         VALUE 'K',             "AMT25JAN05
              c_a(1)      TYPE c         VALUE 'A',
              C_S(1)      TYPE C         VALUE 'S',"insert AW2150 GLDK9AAYU9
              c_55(2)     TYPE c         VALUE '55',
              c_56(2)     TYPE c         VALUE '56',
            c_44(2)     TYPE c         VALUE '44',            "AMT25JAN05
              c_45(2)     TYPE c         VALUE '45',
              c_1(1)      TYPE c         VALUE '1',
              c_2(1)      TYPE c         VALUE '2',
              c_h(1)      TYPE c         VALUE 'H',
              c_(1)      TYPE c         VALUE '',             "GA18062003.
              c_n(1)      TYPE c         VALUE 'N',             "SRI24062003
              c_o(1)      TYPE c         VALUE 'O',             "SRI24062003
              c_maxdays   TYPE p         VALUE '93',            "GA29072003
              c_wk1(10)   type c         VALUE 'WK1'.           "NAR10NOV06
    *Begin of Addition by AMT25JAN05
    CONSTANTS :
                c_3           TYPE i VALUE 3               ,
                c_4           TYPE i VALUE 4               ,
                c_5           TYPE i VALUE 5               ,
                c_8           TYPE i VALUE 8               ,
                c_10          TYPE i VALUE 10              ,
                c_11          TYPE i VALUE 11              ,
                c_12          TYPE i VALUE 12              ,
              c_15          TYPE i VALUE 15              ,
                c_18          TYPE i VALUE 18              ,
                c_20          TYPE i VALUE 20              ,
              c_23          TYPE i VALUE 23 , "TUL02022005  "KVI04Feb05
                c_40          TYPE i VALUE 40              ,
                c_all(4)      TYPE c VALUE '&ALL'          ,
                c_sa(3)       TYPE c VALUE '&SA'           ,
                c_bs(3)       TYPE c VALUE '&BS'           ,
                c_sum(4)      TYPE c VALUE '&SUM'          ,
                c_eb3(4)      TYPE c VALUE '&EB3'          ,
                c_xpa(4)      TYPE c VALUE '&XPA'          ,
                c_omp(4)      TYPE c VALUE '&OMP'          ,
                c_crb(4)      TYPE c VALUE '&CRB'          ,
                c_cre(4)      TYPE c VALUE '&CRE'          ,
                c_ave(4)      TYPE c VALUE '&AVE'          ,
                c_pc10(4)     TYPE c VALUE 'PC10'          ,
                c_coltab(6)   TYPE c VALUE 'COLTAB'        ,
                c_excel(5)    TYPE c VALUE 'EXCEL'         ,
                c_ic1(4)      TYPE c VALUE '&IC1'          ,
                c_dload(5)    TYPE c VALUE 'DLOAD'         ,
                c_refrs(5)    TYPE c VALUE 'REFRS'         ,
                c_waers(5)    TYPE c VALUE 'WAERS'         ,
                c_bprme(5)    TYPE c VALUE 'BPRME'         ,
                c_ekbe(4)     TYPE c VALUE 'EKBE'          ,
                c_meins2(6)   TYPE c VALUE 'MEINS2'        ,
                c_meins3(6)   TYPE c VALUE 'MEINS3'        ,
                c_ekkn(4)     TYPE c VALUE 'EKKN'          ,
                c_ekpo(4)     TYPE c VALUE 'EKPO'          ,
                c_ekko(4)     TYPE c VALUE 'EKKO'          ,
                c_lfa1(4)     TYPE c VALUE 'LFA1'          ,
                c_meins(5)    TYPE c VALUE 'MEINS'         ,
                c_eket(4)     TYPE c VALUE 'EKET'          ,
                c_me33l(5)    TYPE c VALUE 'ME33L'         ,
                c_me23(4)     TYPE c VALUE 'ME23'          ,
                c_bes(3)      TYPE c VALUE 'BES'           ,
                c_bedat(11)   TYPE c VALUE 'S_BEDAT-LOW',
                c_pur(15)     TYPE c VALUE 'PURCHASING DOC.',
                c_item(4)     TYPE c VALUE 'ITEM'           ,
                c_doc(8)      TYPE c VALUE 'DOC.DATE'       ,
                c_vendor(6)   TYPE c VALUE 'VENDOR'         ,
                c_vname(11)   TYPE c VALUE 'VENDOR NAME'    ,
                c_plant(5)    TYPE c VALUE 'PLANT'          ,
                c_pdesc(17)   TYPE c VALUE 'PLANT DESCRIPTION',
                c_sloc(4)     TYPE c VALUE 'SLOC'            ,
                c_pgr(3)      TYPE c VALUE 'PGR'            ,
                c_porg(4)     TYPE c VALUE 'PORG'            ,
                c_mat(8)      TYPE c VALUE 'MATERIAL'        ,
                c_standard(8) TYPE c VALUE 'STANDARD'        ,
                c_matdesc(20) TYPE c VALUE 'MATERIAL DESCRIPTION',
                c_deldate(13) TYPE c VALUE 'DELIVERY DATE'       ,
                c_qty(13)     TYPE c VALUE 'SCHEDULED QTY'       ,
                c_quom(4)     TYPE c VALUE 'OUOM'                ,
                c_net(9)      TYPE c VALUE 'NET PRICE'           ,
                c_curr(4)     TYPE c VALUE 'CURR'                ,
                c_per(3)      TYPE c VALUE 'PER'                 ,
                c_opuom(5)    TYPE c VALUE 'OPUOM'               ,
                c_grqty(6)    TYPE c VALUE 'GR QTY'              ,
                c_gruom(6)    TYPE c VALUE 'GR UOM'              ,
                c_irqty(6)    TYPE c VALUE 'IR QTY'              ,
                c_iruom(6)    TYPE c VALUE 'IR UOM'              ,
                c_trnum(15)   TYPE c VALUE 'TRACKING NUMBER'     ,
                c_rec(12)     TYPE c VALUE 'RECEIVER-BBP'        ,
                c_tcont(18)   TYPE c VALUE 'T_CONDITIONS-EBELN'  .
    *End   of Addition by AMT25JAN05
    *BEGIN INSERT BB1097 - add a constant for the vendor mat field
    CONSTANTS C_VENDMAT(15)   TYPE C VALUE 'VENDOR MATERIAL'.
    *END INSERT BB1097
    *eject
    DATA Work fields definition.
    DATA    : w_repid       LIKE sy-repid,
              w_color       TYPE i,
            w_info        LIKE sy-lisel,                      "AMT25JAN05
            w_lifnr       LIKE eina-lifnr,                    "AMT25JAN05
            w_matnr       LIKE eina-matnr,                    "AMT25JAN05
            w_werks       LIKE marc-werks,                    "AMT25JAN05
            w_tabkey      LIKE cdpos-tabkey,                  "AMT25JAN05
            w_objectid    LIKE konp-knumh,                    "AMT25JAN05
            w_len         TYPE i ,                            "AMT25JAN05
            w_field       LIKE konp-kopos,                    "AMT25JAN05
            w_eindt       LIKE eket-eindt,                    "AMT25JAN05
              w_ebeln       LIKE ekko-ebeln,                    "ujo1jul
              zsort(6)      TYPE c,                             "KAK01
              w_fldname(20) TYPE c,                             "GA16062003.
              w_titel       LIKE spop-titel,                    "GA25062003.
              w_text1       LIKE spop-textline1,                "GA25062003.
              w_text2       LIKE spop-textline2,                "GA25062003.
              W_FLAG(1)     TYPE C,                             "KVI04Feb05
    Start of GLDK9A8WWS (AS3848)
    Defined variable for line size.
              w_linsz       LIKE sy-linsz.
    End of GLDK9A8WWS (AS3848)
    DATA: date_diff LIKE ekko-aedat.
    *BEGIN OF SRI26062003
    *DATA: w_s1     LIKE ekbe-menge,                              AMT25JAN05
         w_s2     LIKE ekbe-bamng,                              AMT25JAN05
         w_s3     LIKE ekbe-bpmng,                              AMT25JAN05
         w_s4     LIKE ekpo-netpr.                              AMT25JAN05
         w_s5     LIKE ekkn-wempf.                              AMT25JAN05
         w_s6     LIKE ekpo-webaz,                              AMT25JAN05
    *END   OF SRI26062003
    *eject
    DATA Structure definition.
    DATA: e_coltab TYPE slis_specialcol_alv.
    *eject
    DATA Internal table definition with INCLUDE STRUCTURE
    *Begin of comment by AMT25JAN05
    *DATA: BEGIN OF ibdcdata OCCURS 0.
           INCLUDE STRUCTURE bdcdata.
    *DATA: END OF ibdcdata.
    *End   of comment by AMT25JAN05
    *eject
    DATA Other internal table definition.
    DATA: BEGIN OF t_documents OCCURS 0,   "Main initial internal table
               ekgrp     LIKE ekko-ekgrp,
               ekorg     LIKE ekko-ekorg,
               eknam     LIKE t024-eknam,
               ebeln     LIKE ekko-ebeln,
               ebelp     LIKE ekpo-ebelp,
               lgort     LIKE ekpo-lgort,
               kschl     LIKE a016-kschl,
               datbi     LIKE a016-datbi,
               datab     LIKE a016-datab,
               LOEKZ     LIKE EKPO-LOEKZ,          "insert AW2150 GLDK9AAYU9
               infnr     LIKE ekpo-infnr,
               pstyp     LIKE ekpo-pstyp,
               konnr     LIKE ekpo-konnr,
               ematn     LIKE ekpo-ematn,
               txz01     LIKE ekpo-txz01,
               werks     LIKE ekpo-werks,
               aedat     LIKE ekpo-aedat,
               epstp     LIKE rm06e-epstp,
               lifnr     LIKE ekko-lifnr,
               waers     LIKE ekko-waers,                       "SRI26062003
               name1     LIKE lfa1-name1,
               name2     LIKE t001w-name1,
               ktmng     LIKE ekpo-ktmng,
               meins     LIKE ekpo-meins,
               meins2    LIKE ekpo-meins,                       "GA23062003
               meins3    LIKE ekpo-meins,                       "GA23062003
               bednr     LIKE ekpo-bednr,
               loevm_ko  LIKE konp-loevm_ko,
               bsart     LIKE ekko-bsart,
               eindt     LIKE eket-eindt,                       "SBH01
               netpr     LIKE ekpo-netpr,                       "SBh01
               peinh     LIKE ekpo-peinh,                       "GA01
               bprme     LIKE ekpo-bprme,                       "GA01
               menge     LIKE ekpo-menge,
             menge2    like ekbe-menge,                       "GA23062003.
               bamng     LIKE ekbe-bamng,                       "GA23062003.
               bpmng     LIKE ekbe-bpmng,
               vgabe     LIKE ekbe-vgabe,                       "GA01
               webaz     LIKE ekpo-webaz,
               wempf     LIKE ekkn-wempf,                       "GA19062003.
               flgdel(1) TYPE c,                                "ujo9jul
    Start of GLDK9A8WWS (AS3848)
    Added fields WEPOS (GR indicator), REPOS (IR indicator) and WEBRE (GR-
    based IV indicator).
               wepos     LIKE ekpo-wepos,             "GR indicator
               repos     LIKE ekpo-repos,             "IR indicator
               webre     LIKE ekpo-webre,             "GR-based IV indicator
    End of GLDK9A8WWS (AS3848)
               ELIKZ     LIKE ekpo-ELIKZ,             "Delivery "TUL02022005
               EREKZ     LIKE EKPO-EREKZ,         "Invoice AW2150 GLDK9AAYU9
    *BEGIN INSERT BB1097 - add column for the vendor mat field. this field
                         will hold the value of the vendor material #
               IDNLF     LIKE EKPO-IDNLF,
    *END INSERT BB1097
          END OF t_documents.
    Added begin ujo9jul
    *DATA: t_documents_tmp LIKE t_documents OCCURS 0 WITH HEADER LINE.
    *Comment by AMT25JAN05
    *eject
    DATA Other internal table definition.
    *Begin of Comment by AMT25JAN05
    *DATA: BEGIN OF t_ekko OCCURS 0,
           ebeln LIKE ekko-ebeln,
           bsart LIKE ekko-bsart,
           loekz LIKE ekko-loekz,
           aedat LIKE ekko-aedat,
           lifnr LIKE ekko-lifnr,
           ekorg LIKE ekko-ekorg,
           ekgrp LIKE ekko-ekgrp,
           waers LIKE ekko-waers,
           name1 LIKE lfa1-name1,
         END OF t_ekko.
    *End   of Comment by AMT25JAN05
    Added end ujo9jul
    *Begin of SRI26062003
    DATA:BEGIN OF t_t024  OCCURS 0 ,
           ekgrp LIKE t024-ekgrp,
           eknam LIKE t024-eknam,
         END OF t_t024.
    DATA:BEGIN OF t_t001w OCCURS 0 ,
           werks LIKE t001w-werks,
           name1 LIKE t001w-name1,
         END OF t_t001w.
    *End of SRI26062003
    DATA: BEGIN OF t_conditions OCCURS 0,         "Main final internal table
            ebeln    LIKE ekpo-ebeln,
            ekgrp    LIKE ekko-ekgrp,
            ekorg    LIKE ekko-ekorg,
            waers    LIKE ekko-waers,                      "SRI26062003
            eknam    LIKE t024-eknam,
            ebelp    LIKE ekpo-ebelp,
            lgort    LIKE ekpo-lgort,
            kschl    LIKE a016-kschl,
            datbi    LIKE a016-datbi,
            datab    LIKE a016-datab,
            infnr    LIKE ekpo-infnr,
            pstyp    LIKE ekpo-pstyp,
            konnr    LIKE ekpo-konnr,
            ematn    LIKE ekpo-ematn,
            txz01    LIKE ekpo-txz01,
            werks    LIKE ekpo-werks,
            aedat    LIKE ekpo-aedat,
            epstp    LIKE rm06e-epstp,
            lifnr    LIKE ekko-lifnr,
            name1    LIKE lfa1-name1,
            name2    LIKE t001w-name1,
            ktmng    LIKE ekpo-ktmng,
            meins    LIKE ekpo-meins,
            meins2   LIKE ekpo-meins,                      "GA23062003.
            meins3   LIKE ekpo-meins,                      "GA23062003.
            bednr    LIKE ekpo-bednr,
            loevm_ko LIKE konp-loevm_ko,
            bsart    LIKE ekko-bsart,
            eindt    LIKE eket-eindt,
            netpr    LIKE ekpo-netpr,
            peinh    LIKE ekpo-peinh,
            bprme    LIKE ekpo-bprme,
            menge    LIKE ekpo-menge,
          menge2   like ekbe-menge,                      "GA23062003.
            bamng    LIKE ekbe-bamng,                      "GA23062003.
            bpmng    LIKE ekbe-bpmng,
            vgabe    LIKE ekbe-vgabe,                           "GA01
            webaz    LIKE ekpo-webaz,
            wempf    LIKE ekkn-wempf,                      "GA19062003.
            AGING    TYPE I,                  "insert AW2150 GLDK9AAYU9
            ELIKZ    LIKE ekpo-ELIKZ,                      "TUL02022005
            EREKZ    LIKE EKPO-EREKZ,         "insert AW2150 GLDK9AAYU9
            coltab   TYPE slis_t_specialcol_alv,           "SRI24062003
    *BEGIN INSERT BB1097 - add column for the vendor mat field. this field
                         will hold the value of the vendor material #
            IDNLF    LIKE EKPO-IDNLF,
    *END INSERT BB1097
          END OF t_conditions.
    Internal Table for the Purchasing Group name
    *Begin of Comment by AMT25JAN05
    *DATA: BEGIN OF t_purchgr OCCURS 0,
           name2 LIKE t024-eknam,
         END OF t_purchgr.
    *End   of Comment by AMT25JAN05
    internal table for the plant name
    *Begin of Comment by AMT25JAN05
    *DATA: BEGIN OF t_plant OCCURS 0,
           name1 LIKE t001w-name1,
         END OF t_plant.
    *End   of Comment by AMT25JAN05
    *Begin of Comment by AW2150
    Internal Table for the Vendor Number and Vendor Name
    *DATA: BEGIN OF t_lfa1 OCCURS 0,
           lifnr LIKE lfa1-lifnr,
           name1 LIKE lfa1-name1,
         END OF t_lfa1.
    *End of Comment by AW2150
    *Start of GA19062003
    Internal table for the Good Recipient in case of BBP
    DATA: BEGIN OF t_ekkn OCCURS 0,
            ebeln LIKE ekkn-ebeln,                              "SRI26062003
            ebelp LIKE ekkn-ebelp,                              "SRI26062003
            wempf LIKE ekkn-wempf,
          END OF t_ekkn.
    *End of GA19062003
    Internal Table for EXCEL DOWNLOADING
    DATA: BEGIN OF t_conditions_exe OCCURS 0,
            ebeln(15)    TYPE c,
            ebelp(11)    TYPE c,
            aedat(11)    TYPE c,
            lifnr(16)    TYPE c,
            name1(35)    TYPE c,
            werks(5)     TYPE c,
            name2(30)    TYPE c,                                "GA16062003.
            lgort(4)     TYPE c,
            ekgrp(3)     TYPE c,
            ekorg(4)     TYPE c,
    "       eknam(30)    type c,                                "GA16062003.
            ematn(20)    TYPE c,
            txz01(40)    TYPE c,
    *BEGIN INSERT BB1097 - this field will hold the value of the vendor
                         material #
            IDNLF(35)    TYPE C,
    *END INSERT BB1097
            eindt(13)    TYPE c,
            menge(13)    TYPE c,
            meins(4)     TYPE c,
            netpr(11)    TYPE c,
            waers(5)     TYPE c,                                "ujo7jul
            peinh(4)     TYPE c,
            bprme(4)     TYPE c,
          menge2(11)   type c,
            bamng(11)    TYPE c,
            meins2(6)    TYPE c,
            bpmng(11)    TYPE c,
            meins3(6)    TYPE c,
            bednr(21)    TYPE c,
            wempf(12)    TYPE c,                                "GA19062003.
            AGING(7)     TYPE C,                   "insert AW2150 GLDK9AAYU9
            ELIKZ(23)    TYPE c,                                "TUL02022005
            EREKZ(23)    TYPE C,                   "insert AW2150 GLDK9AAYU9
          END OF t_conditions_exe.
    *eject
    *INTERNAL TABLE TO FIND THE RECEIVED AND INVOICED QUANTITY
    DATA: BEGIN OF t_ekbe OCCURS 0,
            ebelp LIKE ekbe-ebelp,
            ebeln LIKE ekbe-ebeln,
            vgabe LIKE ekbe-vgabe,
          BELNR LIKE EKBE-BELNR,
    *Begin Of Change BH9511 20-Aug-07
           menge LIKE ekbe-menge,
            menge(16) TYPE P DECIMALS 3,
    *End Of Change BH9511 20-Aug-07
            shkzg LIKE ekbe-shkzg,
          END OF t_ekbe.
    *INTERNAL TABLE TO FIND THE RECEIVED AND INVOICED UoM
    DATA: BEGIN OF t_ekbe_temp OCCURS 0,
            ebelp LIKE ekbe-ebelp,
            ebeln LIKE ekbe-ebeln,
            vgabe LIKE ekbe-vgabe,
            menge LIKE ekbe-menge,
          END OF t_ekbe_temp.
    Added begin ujo7jul
    DATA: BEGIN OF t_totals OCCURS 0,
            menge  LIKE ekpo-menge,
            meins  LIKE ekpo-meins,
            bamng  LIKE ekbe-bamng,
            meins2 LIKE ekpo-meins,
            bpmng  LIKE ekbe-bpmng,
            meins3 LIKE ekpo-meins,
          END OF t_totals.
    DATA: BEGIN OF t_tot_netpr OCCURS 0,
            netpr  LIKE ekpo-netpr,
            waers  LIKE ekko-waers,
          END   OF t_tot_netpr.
    DATA: BEGIN OF t_tot_peinh OCCURS 0,
            peinh  LIKE ekpo-peinh,
            bprme  LIKE ekpo-bprme,
          END   OF t_tot_peinh.
    *Begin of Comment by AW2150
    *DATA: BEGIN OF t_eket OCCURS 0,
           ebeln LIKE eket-ebeln,
           ebelp LIKE eket-ebelp,
           eindt LIKE eket-eindt,
         END   OF t_eket.
    Added end ujo7jul
    *End of Comment by AW2150
    BEGIN OF KAK01
    FOR ALV Related Details.
    DATA: alv_fieldcat  TYPE slis_t_fieldcat_alv,
          alv_layout    TYPE slis_layout_alv,
          alv_exclude   TYPE slis_t_extab,
          alv_sort      TYPE slis_t_sortinfo_alv,
          g_variant     LIKE disvariant,
          gx_variant    LIKE disvariant,
          gt_event_exit TYPE slis_t_event_exit,                 "GA23062003.
          g_save(1)     TYPE c,                                 "GA23062003.
        g_exit(1)     TYPE c,                                 "AMT25JAN05
        lt_dynpread   LIKE dynpread OCCURS 1 WITH HEADER LINE,"AMT25JAN05
          g_repid       LIKE d020s-prog,
    END OF KAK01
    Start of GLDK9A8WWS (AS3848)
    Added the definition of structure for the events that will be used
    in the logic for generating the standard report header for the report.
          v_events      TYPE slis_t_event.
    End of GLDK9A8WWS (AS3848)
    *eject
    PARAMETERS and SELECT-OPTIONS definition
    Start of GLDK9A8WWS (AS3848)
    Changed the text-100 in the list of text elements.  It was changed
    from OPEN PURCHASE DOCUMENTS LIST DISPLAY to Open Purchaser Order
    Report.
    SELECTION-SCREEN: BEGIN OF BLOCK three WITH FRAME TITLE text-100.
    End of GLDK9A8WWS (AS3848)
    SELECTION-SCREEN: BEGIN OF BLOCK one WITH FRAME TITLE text-060.
    SELECT-OPTIONS : s_ekorg FOR  ekko-ekorg OBLIGATORY MEMORY ID eko
                                  NO INTERVALS,
                     s_lifnr FOR  ekko-lifnr,
                     s_werks FOR  ekpo-werks MEMORY ID wrk,
                     s_ekgrp FOR  ekko-ekgrp MEMORY ID ekg
                                  NO INTERVALS,
                     s_ebeln FOR  ekko-ebeln MEMORY ID bes,
                     s_ebelp FOR  ekpo-ebelp MEMORY ID bsp,
                     s_bsart FOR  zbsart_doc-bsart MEMORY ID bsa,"GA01
                     s_pstyp FOR  ekpo-pstyp,
                     s_loekz FOR  ekko-loekz,
                     s_knttp FOR  ekpo-knttp MEMORY ID knt,
                     s_matnr FOR  ekpo-matnr MEMORY ID mat,
                     s_matkl FOR  ekpo-matkl MEMORY ID mkl,
      start of modifications AW2150 GLDK9AAYU9
                    s_bedat FOR  ekko-bedat OBLIGATORY,        "GA29072003
                     S_BEDAT FOR  EKKO-BEDAT,
      end of modifications AW2150 GLDK9AAYU9
                     S_EINDT FOR  EKET-EINDT.
    PARAMETERS:      p_sum AS CHECKBOX,                         "SRI26062003
    start of modification AW2150 GLDK9ABI53
    deleted checkbox for manually closed PO
               p_pod AS CHECKBOX DEFAULT 'X'."insert AW2150 GLDK9AAYU9
    added checkbox for DCI and FI.
                P_DCI AS CHECKBOX DEFAULT 'X', "insert AW2150 GLDK9ABI53
                P_FI  AS CHECKBOX.             "insert AW2150 GLDK9ABI53
    end of modification AW2150 GLDK9ABI53
    SELECTION-SCREEN: END OF BLOCK one .
    SELECTION-SCREEN: BEGIN OF BLOCK two  WITH FRAME TITLE text-070.
    start of insert AW2150 GLDK9ABSZ8
    PARAMETERS:     P_ALLPO AS CHECKBOX DEFAULT 'X'.
    end of insert AW2150 GLDK9ABSZ8
    start of insert AW2150 GLDK9AAYU9
    this was just moved from the block below. this is not a new
    requirement.
    PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT NO-DISPLAY. " ALV Variant
    SELECTION-SCREEN COMMENT 47(40) VARNAME FOR FIELD P_VARI.
    end of insert AW2150 GLDK9AAYU9
    *Start of GA16062003
    PARAMETERS:      p_qty   RADIOBUTTON GROUP qtvl,
                     p_date  RADIOBUTTON GROUP qtvl,
                     p_date1 RADIOBUTTON GROUP qtvl.
    *End of GA16062003
    SELECTION-SCREEN: END OF BLOCK two .
    start of modification AW2150 GLDK9AAYU9
    Start of GLDK9A8WWS (AS3848)
    Commented out the following portion of the source code to remove the
    field VARIANT under Settings on the report selection screen.
    *SELECTION-SCREEN: BEGIN OF BLOCK four WITH FRAME
                                         TITLE text-073.       "TUL0202200
    *selection-screen: begin of block four with frame title text-1
    *Start of GA23062003
    *PARAMETERS: p_vari LIKE disvariant-variant NO-DISPLAY. " ALV Variant
    *SELECTION-SCREEN COMMENT 47(40) varname FOR FIELD p_vari.
    *Select-Options : S_ELIKZ FOR  ekpo-ELIKZ .                  "TUL0202200
    End of modification  AW2150 GLDK9AAYU9
    Ext. check warning ignored for the comment.                 AMT25JAN05
    *SELECTION-SCREEN: END OF BLOCK four.
    End of GLDK9A8WWT (AS3848)
    *selection-screen: end of block three.
    PARAMETERS p_loggrp(4) TYPE c NO-DISPLAY DEFAULT 'PC10'.
    SELECTION-SCREEN: END OF BLOCK three.
    *End of GA23062003
    *eject
    *eject
    INITIALIZATION
    INITIALIZATION.
    *Deletion Indicator
      s_loekz-low    = c_l.
      s_loekz-sign   = c_i.
      s_loekz-option = c_ne.
      APPEND s_loekz.
    *start of insert AW2150 GLDK9ABSZ8
      IF P_ALLPO EQ C_X.
        LOOP AT SCREEN.
          IF SCREEN-NAME EQ 'P_QTY'.
            SCREEN-ACTIVE = 0.
          ELSEIF SCREEN-NAME EQ 'P_DATE'.
            SCREEN-ACTIVE = 0.
          ELSEIF SCREEN-NAME EQ 'P_DATE1'.
            SCREEN-ACTIVE = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF P_ALLPO NE C_X.
        LOOP AT SCREEN.
          IF SCREEN-NAME EQ 'P_QTY'.
            SCREEN-ACTIVE = 1.
          ELSEIF SCREEN-NAME EQ 'P_DATE'.
            SCREEN-ACTIVE = 1.
          ELSEIF SCREEN-NAME EQ 'P_DATE1'.
            SCREEN-ACTIVE = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    *end of insert AW2150 GLDK9ABSZ8
    *Start of GA23062003
    Settings for display variants
    *INITIALIZATION.                                            "GA03122003.
      g_repid = sy-repid.
      g_save  = c_a(1).
      CLEAR g_variant.
      g_variant-report    = g_repid.
      g_variant-log_group = p_loggrp.
      g_variant-username  = sy-uname.
    Get default variant
      gx_variant = g_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = g_save
           CHANGING
                cs_variant = gx_variant
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc EQ 0.
        p_vari = gx_variant-variant.
      ENDIF.
      varname = gx_variant-text.
    VALIDATE INITIAL DATA ENTERED BY THE USERS ***************
    *Start of GA29072003.
      IF NOT s_bedat IS INITIAL.
    Start of GLDK9A8WWS (AS3848)
    Changed sequence in subroutine name to comply with coding standards
    based on the review tool ZZCHK.
        PERFORM f0100_check_s_bedat.
    End of GLDK9A8WWS (AS3848)
      ENDIF.
    *End of GA29072003.
    *eject
    *start of insert AW2150 GLDK9ABSZ8
    AT SELECTION-SCREEN OUTPUT.
      IF P_ALLPO EQ C_X.
        LOOP AT SCREEN.
          IF SCREEN-NAME EQ 'P_QTY'.
            SCREEN-ACTIVE = 0.
          ELSEIF SCREEN-NAME EQ 'P_DATE'.
            SCREEN-ACTIVE = 0.
          ELSEIF SCREEN-NAME EQ 'P_DATE1'.
            SCREEN-ACTIVE = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF P_ALLPO NE C_X.
        LOOP AT SCREEN.
          IF SCREEN-NAME EQ 'P_QTY'.
            SCREEN-ACTIVE = 1.
          ELSEIF SCREEN-NAME EQ 'P_DATE'.
            SCREEN-ACTIVE = 1.
          ELSEIF SCREEN-NAME EQ 'P_DATE1'.
            SCREEN-ACTIVE = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    *end of insert AW2150 GLDK9ABSZ8
    *eject
    *start of insert by AW2150 GLDK9AAYU9
    AT SELECTION SCREEN ON S_EINDT.
    AT SELECTION-SCREEN ON S_EINDT.
      IF NOT S_EINDT IS INITIAL.
        PERFORM F17200_CHECK_S_EINDT.
      ENDIF.
    *end of insert by AW2150 GLDK9AAYU9
    *eject
    AT SELECTION SCREEN ON S_EKORG
    AT SELECTION-SCREEN ON s_ekorg.
    Validate value of purchasing org(s) entered on the selection         *
    screen by executing subroutine 0100_VALIDATE_PURC_ORG.               *
      IF NOT s_ekorg IS INITIAL.
        PERFORM f0200_validate_purc_org.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_EKGRP
    AT SELECTION-SCREEN ON s_ekgrp.
    Validate value of purchasing group(s) entered on the selection       *
    screen by executing subroutine 0200_VALIDATE_PURC_GROUP.             *
      IF NOT s_ekgrp IS INITIAL.
        PERFORM f0300_validate_purc_group.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_EBELN
    AT SELECTION-SCREEN ON s_ebeln.
    Validate value of purchase order(s) entered on the selection         *
    screen by executing subroutine F0310_VALIDATE_PURC_ORDER.
      IF NOT s_ebeln IS INITIAL.
        PERFORM f0310_validate_purc_order.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_WERKS
    AT SELECTION-SCREEN ON s_werks.
    Validate value of plant(s) entered on the selection                  *
    screen by executing subroutine F0400_VALIDATE_PLANT.
      IF NOT s_werks IS INITIAL.
        PERFORM f0400_validate_plant.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_BSART
    AT SELECTION-SCREEN ON s_bsart.
    Validate value of Document type(s) entered on the selection          *
    screen by executing subroutine F0500_VALIDATE_DOC_TYPE.
      IF NOT s_bsart IS INITIAL.
        PERFORM f0500_validate_doc_type.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_PSTYP
    AT SELECTION-SCREEN ON s_pstyp.
    Validate value of Item Category entered on the selection             *
    screen by executing subroutine F0600_VALIDATE_ITEM_CATEGORY.
      IF NOT s_pstyp IS INITIAL.
        PERFORM f0600_validate_item_category.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_MATNR
    AT SELECTION-SCREEN ON s_matnr.
    Validate value of Material Number entered on the selection           *
    screen by executing subroutine F0700_validate_mat_number
      IF NOT s_matnr IS INITIAL.
        PERFORM f0700_validate_mat_number.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_LIFNR
    AT SELECTION-SCREEN ON s_lifnr.
    Validate value of Vendor entered on the selection by executing       *
    subroutine F0800_VALIDATE_VENDOR_NUMBER
      IF NOT s_lifnr IS INITIAL.
        PERFORM f0800_validate_vendor_number.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_MATKL
    AT SELECTION-SCREEN ON s_matkl.
    Validate value of material group entered on the selection screen     *
    by executing subroutine F0900_validate_mat_group.
      IF NOT s_matkl IS INITIAL.
        PERFORM f0900_validate_mat_group.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_KNTTP
    AT SELECTION-SCREEN ON s_knttp.
    Validate the value of account assignment category entered on the     *
    selection screen by executing subroutine 1000_validate_mat_group.    *
      IF NOT s_knttp IS INITIAL.
        PERFORM f1000_validate_***_category.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_EBELP
    AT SELECTION-SCREEN ON s_ebelp.
    Validate the value of PO line item entered on the                    *
    selection screen by executing subroutine F1100_VALIDATE_PO_ITEM.
      IF NOT s_ebelp IS INITIAL.
        PERFORM f1100_validate_po_item.
      ENDIF.
    *eject
    AT SELECTION SCREEN ON S_LOEKZ
    AT SELECTION-SCREEN ON s_loekz.
    Validate the value of deletion indicator enterd on the selection     *
    selection screen by executing subroutine F1200_VALIDATE_DEL_IND.
      IF NOT s_loekz IS INITIAL.
        PERFORM f1200_validate_del_ind.
      ENDIF.
    Start of GLDK9A8WWS (AS3848)
    Commented out the following block of code as a result of the removal
    of the field VARIANT from the selection screen.
    *at selection-screen on value-request for p_vari.
    perform 14000_f4_for_variant.
    End of GLDK9A8WWS (AS3848)
    *Start of deletion AW2150
    *eject
    Block Added From Here TUL02022005
    AT SELECTION SCREEN ON S_ELIKZ
    *AT SELECTION-SCREEN ON s_ELIKZ.
    Validate the value of Delivery Completed Indicator entered.
    IF NOT s_ELIKZ IS INITIAL.
      Check the Valid Values.
       IF  not SPACE in S_ELIKZ
       AND not C_X   in S_ELIKZ .
         MESSAGE e999 WITH
                 'Invalid Delivery Completed Flag entered'(006).
       ENDIF.
    ENDIF.
    Block Added Till Here TUL02022005
    *End of deletion AW2150
    *eject
    AT SELECTION SCREEN
    AT SELECTION-SCREEN.
      PERFORM f15000_pai_of_selection_screen.
    *End of GA23062003
    start of insert AW2150 GLDK9AAYU9
      IF S_BEDAT IS INITIAL
         AND S_EINDT IS INITIAL.
        MESSAGE E999 WITH TEXT-E01.
      ENDIF.
    end of insert AW2150 GLDK9AAYU9
                            MAIN PROCESSING                            **
    *eject
    START-OF-SELECTION.
    START-OF-SELECTION.
    Store report name and report size into temp. varaibles for later use.
      w_repid = sy-repid.
    Select OAs and Info Records to be displayed into internal table
      PERFORM f2000_get_pos.
    Store data into final reporting internal table
      PERFORM f3000_store_data.
    Begin of KAK01
    Start of GLDK9A8WWS (AS3848)
    Calls the subroutine for building the event catalog for ALV.  This
    event catalog will be used in the function module that will generate
    the ALV report.  Logic will eventually be used for the generation of
    the standard report header on top of each page.
      CLEAR v_events.
      w_linsz = sy-linsz.
      PERFORM f17100_build_events USING v_events.
    End of GLDK9A8WWS (AS3848)
    Use ALV instead of normal list.
    Write data to the screen.
    Populate ALV Field Category Structure.
      PERFORM f8000_field_cat.
    Populate ALV Exclude Structure.
      PERFORM f9000_alv_exclude.
    *eject
    END-OF-SELECTION.
    END-OF-SELECTION.
    Begin of KVI04Feb05
      IF W_FLAG EQ C_X.
        CLEAR W_FLAG.
        STOP.
      ENDIF.
    End of "KVI04Feb05
    Display Report.
      PERFORM f10000_call_disp.
    *eject
    AT USER-COMMAND .
    *AT USER-COMMAND.
    CASE SY-UCOMM.
       WHEN 'EXEL'.
         PERFORM F5000_DOWNLOAD_TO_EXCEL.
       WHEN 'CLIK'.
         IF SY-LISEL+1(2) EQ '45'.
           PERFORM F6000_see_po_details.
         ELSE.
           PERFORM F7000_see_oa_details.
         ENDIF.
    ENDCASE.
    End of KAK01
    *eject
      Form(s)/Subroutine(s)   ************************
    *Start of GA29072003.
    *&      FORM F0100_CHECK_S_BEDAT
    Check if user entered appropriate date values as selection criteria *
    ----

    Hi!
    After you click on the printer icon, a popup will apeear. Depends on the SAP system version, you are using, somewhere on the popup, you can find a filed, which is called SAP COVER PAGE.
    Here you can choose, coverpage, without cover page, or standard cover page.
    Regards
    Tamá

  • Fax from computer to photosmart 7525 gets cancelled after spooling

    I can fax directly from printer, but when I use the HP software or print function on the computer to set up fax and send, the progress goes from spooling to cancelled without any error notices. I have a Dell XPS 8500 running 8.1 and Photosmart 7525 connected by USB and wirelessly. They communicate just fine with the scan and print functions. Both are current on updates using the check for updates utility. I have a dedicated Voip phone line from Comcast and ther most current modem that I have slowed through the fax settings. I've spent hours reading forums on HP and Microsoft searching for exactly this issue. Please help

    Hi @xskilledtrades
    The truth is, I don't know what is causing the fax from computer function to fail. I understand from your description that the fax is cancelling after spooling, but that you can print and scan just fine as well as fax directly from the printer. I suspect the issue has something to do with the driver, thus I suggest we remove the driver and reload it.
    Please use the following steps to delete the printer/fax from device and printers, and the driver from the server properties.
    1. In the ‘Devices and Printers’ folder
    2. Choose ‘Print server properties’.
    Win XP – With no printer selected, click ‘File’ then ‘Server Properties’.
    Windows Vista – With no printer selected, press ‘Alt’ then click ‘File’ then ‘Server Properties’.
    Windows 7/8 and 8.1 – Select any printer in the ‘Devices and Printers’ folder and click ‘Print Server properties’ above.
    3. Click on the ‘Drivers’ tab at the top of ‘Print server properties’ window
    4. Choose the printer you want to uninstall and click ‘Remove’
    5. Choose 'Remove driver only'
    6. The next screen will give a warning, letting you know that deleting the driver package will remove it from the system. Click ‘Yes’ to say that you are sure you want to do this.
    If documents are stuck in the print spooler, you may see an error, cancel any documents pending in the print queue, or try restarting the print spooler, then try to remove the driver from ‘Print server properties’ again. If it still won’t remove the package, restarting the computer and the printer should resolve this ‘in use’ error and allow the driver to be removed.
    If the you continue to get an 'in use' message follow the steps in the document here; The Specified Printer Driver is Currently in Use
    After the driver is removed, open Start > All Programs > HP folder > Printer folder > HP Setup and Software (or the printer icon).
    The Setup and software screen will open and you can click on Connect a new printer.
    Thanks, I look forward to hearing back from you.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Write to spool even when job abends?

    There's got to be a way to do this, but I can't seem to find it.  I have several background jobs, each of which writes some diagnostic information to the spool.  That diagnostic information would be most useful in cases where the job terminates unsuccessfully.  But, in those cases, the spool is never saved, and all that information is lost.
    I know I can write to the job log instead of the spool, but is there a way other than the log to obtain\show that information?  Assume that my program is robust enough to capture all error conditions before terminating.

    Hello Chris,
    I'm sure you might be knowing this, but shall post it here anyways, just in case it skipped your mind.
    When you run a background job, the job will abend when either of the following types of message are issued in the program:
    1. Warning Message ( Type W )
    2. Error Message ( Type E )
    3. Abend Message ( Type A )
    4. Short Dump Message ( Type X )
    In case of either an Abend Message or a Short Dump Message, the entire spool list is erased and thereafter unavailable.
    However, in case of either an error message or a warning message, the contents of the spool till the point where the message has occurred are retained.
    So, in your case, I suspect that there are some abend messages in the program, issued upon erroneous conditions. If you could change them to ERROR messages (or WARNING messages as you deem appropriate), the spool list is not destroyed.
    For your further understanding, I have included the following code snippet.
    =======================================================
    do 10 times.
    write : / sy-index.
    case sy-index.
    when 3.
    message s702(bctrain).
    when 5.
    message i702(bctrain).
    when 7.
    message w702(bctrain). " or message e702(bctrain).
    endcase.
    enddo.
    =======================================================
    The above program, when scheduled as a background job will get abended, but will retail the spool list :
    1
    2
    3
    4
    5
    6
    7
    After 7, the warning message abends the job and no other numbers are printed.
    Hope this explanation would help you overcome your problem.
    Regards,
    Anand Mandalika.

  • SPOOLing in sql developer does not take into consideration SET ECHO OFF

    I'm running SQL Developer 3.1.07.42 on Windows 7 64 bit with java 1.7
    I have the following very simple script just to show the problem:
    SET ECHO OFF;
    SET FEEDBACK OFF;
    SET SERVEROUTPUT ON;
    SET VERIFY OFF;
    SET PAGES 0;
    SET HEAD OFF;
    SPOOL c:\test.sql
    SELECT 1, 2, 3 FROM DUAL;
    SPOOL OFF;
    /if I run it in TOAD 10.6.0.42 it creates the file with
             1          2          3This is as expected (by me)
    if I run the exact same query in SQL Developer 3.1.07.42 , it creates the file with:
    < SELECT 1, 2, 3 FROM DUAL
    1 2 3(the < above is actually ">" but the CODE formatting software is screwing ">")
    but I don't want the ECHOed command to be spooled. For the life of me, I cannot find a way to disable the ECHO from spooling in sql developer.
    Tried the same in 3.0.4 and 2.1.1 with the same (bad) result (plus some warning on some of the unsupported SET commands).
    Am I missing something obvious? Cause like this, the spool command cannot be used in sql developer to generate a CSV file for example, because of the echoed command. And windows doesn't come with SED by default so that is out. (plus that my original script is integrated into a much larger and complex set of scripts and the main script using them is executed from SQL Developer as a company policy (so that everybody uses the same tool and the code runs the same for everybody))
    Any ideas/suggestions are welcome
    Thanks.

    Hi Gary, you seem to have some extensive knowledge. I'd like to follow-up on this thread and try to understand why SQL Developer won't hide the code even though I'm already running the code as a Worksheet (I assume you mean Run Script F5 button in SQL Developer).
    I generally develop in SQL Developer that does a lot of dbms_output to echo data using a Spool command. When I'm in SQL Developer I can't get the code NOT to spool, it typically is echoed directly in the spool file at the top followed by the dbms_output data. If I save the sql file and run in in sqlplus it only outputs the data (good). If I use @C:\xyz_script.sql and hit F5 in SQL Developer it only outputs the data (per your previous answer) -- good.
    So why can't I hit F5 in SQL Developer in the script file and have it only output the data? It just doesn't work no matter how many "SETs" you turn-off.
    Looks like Echo, Term, Feed are supported in SQL Developer, maybe supported means something other than work.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/sql-worksheet-commands-097146.html

  • Warning: Check whether a duplicate payment medium

    Dear All
    Does anyone come across the following error/warning when running F110 for the payment method of bank transfer e.g. "T"?
    When I run F110, the part until to the generation of payment document is fine. But after the printout run, and when I tried to display my "own spool request". The first line always display a error describing about a warning :"Check whether a duplicate payment medium has been created"
    When I go back to F110 to read the log about the "payment run" and "print job", I can see there 1 DME file being generated for payment and 1DME file for the print job. Why? Any hints whether the things go wrong?
    Best Regards
                   João Fernandes

    Long text of the message has enough information I think.
    Comparing below fields , you have duplicate record in table REGUH REGUT.
    Paying company code
    Bank country
    Payment run (date and ID)
    Data medium format
    Total amount and currency
    Edited by: Pawan Kesari on Feb 16, 2010 6:53 PM

  • Spool request missing for Payment run

    Hi SAP gurus,
    I have executed one payment run, 87 payment orders have been generated.  When i saw the spool request, it shows only 34 pages, rest other pages are missing.  Even, system is showing status of spool as "waiting".  I thought, it might be completed in few hours, already 1 day has been passed but no change.  I generated spool couple of time but it always stuck at 34 page.
    Can you please let me know, how can i print rest 43 remittance advice??? I would also like to know the cause of this error.
    Many thanks for your quick response.
    Regards,
    SATVIR SINGH

    1. Check your variant in F110 (Have you restricted the vendor numbers in your variant on parameters) - Last tab on F110
    2. If not, then in your spool, from menu bar, select:
    Go to ==> Display Requests ==> Settings
    Check the from page to to page. (Make to page as 999).
    Ignore any warning messages.

  • Windows 7; Printers Have Disappeared; Printer Spooler won't stay running.

    I'm using Windows 7 Home Premium and an Epson Stylus Photo R220 printer. I also had a few virtual printers (ie: Snagit) installed before the problems started.
    All of the printers (from my Devices and Printers) have disappeared, except for a generic "USB Printer" selection that shows it is my Epson R220. I can't print to it, and when I try to print a document and try to "Add Printer", a warning pops up saying "Can't
    Add Printer. The local print spooler service is not running. Please restart the spooler or restart the machine." I've tried both with no success.
    Sometimes, when I try to start the Print Spooler, I get a message "Error 1067: The process terminated unexpectedly." or it starts and just stops again.
    I have also tried reinstalling the driver for my printer as specified from Epson's website, but the installer can't detect my printer, and if I try manually finding the port, nothing comes up, which I find odd since my computer recognizes when the printer
    is attached.
    Lastly, and I'm hoping it's not connected although I think it likely is, last night my computer had troubles starting Windows. So I did as it directed and I loaded my Windows CD into the computer and had it "Repair the problem". After several minutes, Windows
    booted fine again.
    Now I really don't want to have to reinstall Windows, as that will remove all of my program files, so I'm hoping that's not the only solution. Any ideas?

    I have wrestled with this issue on a client's computer for a few days now and I am coming to the conclusion that a Windows Update (do not know which one) has caused the problem.
    Windows 7 Professional 64-bit installation
    Printers disappeared from Devices and Printers and from the list of printers within applications.  A reboot does nothing and there is a DCOM error that occasionally pops up, but the client has only seen it and I don't know the specifics.
    Any attempt to start the Print Spooler gives me a 1053 error, which is "The service did not respond to the start or control request in a timely fashion."
    Doing a NET START SPOOLER from a command prompt gives me "The service is not responding to the control function."
    As a last resort I did an in-place upgrade of Windows 7 (run setup on the installation DVD from Windows - not from boot - and choose the upgrade option.  All Windows system files are restored and user information is left in tact.)
    This completely solved the problem.  After doing this, however, the Windows Updates need to be brought up to date, so I went through the updating process.  15 minutes after I left, the client called me and said his printers were gone again.
    I have come back today to figure this out and after trying a couple more things I decided to do a System Restore, the last of which was created before the installation of Windows Updates.  After running restore, the system rebooted and all printers
    were there and the spooler was running normally.
    Because I thought there was some other issue, I again ran Windows Update to bring back the same updates I had done before.
    Guess what?   No printers, spooler not working.
    I am now going to restore again to before the 64 windows updates that installed and turn off the automatic update function until Microsoft figures out what is wrong and comes up with a patch.
    This is what I believe the problem is.  I am going to look at the list of updates and check to see if Microsoft did a DCOM update, because that might be the problem, since DCOM is a dependency of the spooler and because there was some kind of DCOM error.

  • Quota warning message not working

    I have Quota warning messages turned on to be sent daily to users using over 90% of their limit.
    To test it I've had an account filled to 95% for a few days and no message yet.
    Anyone else having problems with this? Anyone have any suggestions what might be wrong?

    Hi Edm Dude
    9 days later and no one uses the Quota Warning
    feature? I don't believe this. I'm looking for
    someone who has it working so I can compare
    settings.
    You’ve not had a great response have you? This is a pity. I don’t have the Quota Warning enabled and I have never been asked to enable it at various sites where I have deployed Apple Mail Server. I have never been asked to use Virtual Domains either although I can’t see why this would make a difference.
    Perhaps no one really does use this feature or has a need for it. It may be that it has been tried by others and they have had the same experience as you?
    The user has a limit of 20MB. The quota warning is
    set to 90%, and to notify ry 1 days. These have been
    configured only via WGM
    Don’t quite understand the statment above made from one your earlier posts. Mail Quota limits are defined in WGM. Server Admin is required for notification of Quota excess. Perhaps you already know this and the above statement is a typo.
    I know you have configured the user’s account in WGM for POP and IMAP, but is the user’s mail application account configured for POP or IMAP on the client computer?

  • How to write stored procedure to spool data into file

    Hi ,
    We get differnt excel sheets of differnt products.
    We upload data from excel sheet to database . After uploading data , I run Preprossor (sql script) to check the data
    This preprocessor script contains several select statements that query different tables in database .the output is spooled into a cvs file .
    I need to change this script into a stored procedure and spool the output to cvs file.
    File spooling should be done inside the stored procedure so that if I call this stored procedure from java program ,or any concurrent program,its output is .cvs file and in parameter should be productname.
    But inside the stored procedure , we cannot spool the data to some .cvs file . Is any way.I do not want to spool to file when calling.It should be inside stored procedure.
    Or do I need to create a table and insert all the select statements output into it .
    Here is the sample preprocessor script.
    spool Graco_Product.csv
    set head off
    set feedback off
    set Pagesize 100
    SELECT '1. EVERY ASSEMBLY GROUP ADDED IN sys_PRODUCT TABLE MUST HAVE AT LEAST ONE ITEM IN WOC_ASSEMBLY_ITEM'
         FROM DUAL;
    SELECT 'ASSEMBLY_GROUP_NAME'
         FROM DUAL;
    SELECT
         assembly_group_name
         FROM association
         WHERE product_model_name = 'Graco_Product'
         AND assembly_group_name NOT IN (SELECT DISTINCT assembly_group_name FROM woc_assembly_item);
    SELECT '2. A RULE SHOULD HAVE AT LEAST ONE EXPRESSION FOR ITS ACTION SIDE.'
         FROM DUAL;
    SELECT 'RELATION_ID , RELATION_TYPE'
         FROM DUAL;
    SELECT wr.Relation_ID                    ||','||
         wr.Relation_Type                    
         FROM WOC_Relation wr
         WHERE NOT EXISTS (SELECT 'X' FROM WOC_Relation_Expression wre
    WHERE wre.Relation_Side = 'Action'
    AND wr.Relation_ID = wre.Relation_ID)
         AND wr.Relation_Type NOT IN ( 'Rule Warning','Rule Resource','Rule Default');
    SELECT '3. PROPERTIES USED IN RULES SHOULD EXIST IN WOC_PROPERTY_MASTER -- EXP_LHS_VALUE'
         FROM DUAL;
    SELECT
         'RELATION_OWNER,EXP_LHS_OPERAND,RELATION_SIDE,RELATION_ID,EXP_LHS_VALUE,RELATION_TYPE'     
         FROM DUAL;
    SELECT
         b.relation_owner               ||','||
         a.exp_lhs_operand               ||','||
         a.relation_side                    ||','||
         a.relation_id                    ||','||
         a.exp_lhs_value                    ||','||
         b.relation_type
         FROM woc_relation_expression a, woc_relation b
         WHERE a.exp_lhs_value IS NOT NULL
         AND a.exp_lhs_value_type = 'Property'
         AND a.exp_lhs_value NOT IN (SELECT property_name FROM woc_property)
         AND b.product_model_name = 'Graco_Product'
         AND a.relation_id = b.relation_id;
    SELECT '--------------------------------------------------------------------------------'
    from dual;
    spool off
    set head on
    set feedback on

    High level description
    Full documentation
    Note that the UTL_ and DBMS_ packages are all covered in the PL/SQL Packages and Types Reference.
    You may also want to read up on the CREATE DIRECTORY statement, which lets you refer to an actual OS directory (which you create separately) via a database object.

  • Spool to pdf

    I am having two different formats of spool:</b>
    <i><b>1. OTF  (Generated from smartforms/SAP Scripts)
    2. ABAP List  (Using write statments in ABAP)</b></i>
    Requirement is to merge them together first and then convert into pdf. user doesn't want to see individual files. Function modules are there to convert each into pdf format individually but how do I combine them together & generate 1 pdf file itself in ABAP.
    Thanks.

    The function module CONVERT_ABAPSPOOLJOB_2_PDF will generate one pdf & the function module CONVERT_OTFSPOOLJOB_2_PDF will generate another pdf. Its fine till here. It is from here that the problem arises. I am not able to merge them together into one file and download the complete pdf file(having both in it). (Note : Appending one into another only downloads the last one )
    I re-opened another post because the previous post was answered in a complete different direction and it wld be difficult for anyone to understand what I am trying to say, though I strssed enogh on the fact of different formats into one pdf file. Anyways I will close it.
    Thank you.
    Shiv

  • MaxL Spool Options

    MaxL Help for the Spool command says: ------------------------------------Log the output of a MaxL Shell session to a file. Send standard output, informational messages, error messages, and/or warning messages generated by the execution of MaxL statements to a file. If FILE-NAME does not exist in the current directory, it is created. If FILE-NAME already exists in the current directory, it is appended to or overwritten. Message logging begins with spool on and ends with spool off. ------------------------------------How can I tell it to append or overwrite? This indicates it will do either, but no instructions or examples are given on how to choose between appending or overwriting.Thanks for any help. (ver 6.5.4.2 on Windows)

    can you spool timestamp info to the spool file through Maxl

Maybe you are looking for

  • Firefox hangs on black screen when I try to start. has worked fine for months. droid 2 global android 2.2.3

    have used firefox most of this year. update to lates ver about 2 days ago. worked ok until late yesterday when hung up on google search. now just get black screen and sometimes get system "! Sorry" msg that "activity Firefox is not responding."

  • Why can't I add additional email addresses to my Apple ID?

    In my family we share the same Apple ID. However, we would like to be able to use iMessage and Facetime amongst the different units (iPhones/iPads), which requires me to have several email addresses registered under the Apple ID, as all units (ie. th

  • Problem Deploying a JDeveloper SOA Application (Task details application)

    Hi, I am unable to access Taskdetails through worklist application I was able to deploy the sample composite for VacationRequest on soa server, and the same is visible in Oracle BPM worklist, but when the taskflow application for human task for the s

  • All songs not showing up in media player

    I loaded songs onto my 8gb microsd card. I can see that the songs are on the card (on the computer and in the phone) but all of them do not show up under media player. When I explore the memory card, I can play the songs that are not on the media pla

  • ADF Page not enabled

    Hi, I have an ADF page which is oworking fine in my machine.However, it is not working on the otehr machines. The page has the output but page is like a HTML page and cannot do any actions. I see an yellow "Exclamatory mark" with Done text beside it.