How to  restrict the output of 0VENDOR by excluding the # value in rows?

We generated a query whose InfoProvider is 0Vendor. Run the query, find the last row shows # as Vendor number and the description of it is "Not Assigned".  Then we go to this query design screen, pick 0Vendor in the rows frame, right click and select Restrict, there are two tabs, one is "Fixed Values", the other one is "Variables".  Click "Fixed Values" tab, can see that 1st value is "#", but from this window, we can't see any place to exclude this "#" value. 
We are very appreciated anyone's input on how to get rid of the "#" value when run query.
Thanks

Hi,
Eliminating # in the result area..
Necessary steps to avail this functionality:
Written a VB macro for the same
Here are the steps to do the same
1) In excel menu Tools->macro
2) Enter the macro name say SAPBEXonRefresh
3) click 'create', will go to visual basic editor
4) To display '#' as '' “ ( blank) paste the following code
Sub SAPBEXonRefresh (queryID As String, resultArea As Range)
Dim c As Range
For Each c In resultArea.Cells
If c.Value = "#" Then c.Value = ""
Next c
End Sub
5) Close the editor and click on refresh again.
After refresh you will get blank in the columns with #.
Hope this will help you.
Thank you,
Regards,
G.Ram

Similar Messages

  • How to restrict report output?.

    Hi
    how to restrict report output?.
    My Query:
    select a.deptno,b.empno,b.ename,b.hiredate from dept a,emp b
    Based on the following condition i have to generate the report.
    for each record
    if hiredate < '10-oct-03' then
    select count(*) from xyz where abc_date <= emp.hiredate
    else
    select count(*) from xyz where pqr_date <= emp.hiredate
    end if
    if count(*) = 0 then
         generate report
    end if
    end each record

    Hi friend,
    For your case, I think set up an authority-object is suitable.
    You can have a look at this http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c&overridelayout=true
    Good luck,
    Thanks,

  • While executing the query the output is completey different from the query

    Dear friends,
    We built a query and loaded the data for that infoprovider.
    While executing the query the output is completey different from the query what we have built.
    Output has no relevance to the query.
    Kindly help the same.
    Regards,
    Sathya

    HI Satya,
    In my opinion the issue is with your front end.
    Results should be identical in RSRT, BEx Analyzer (Workbooks) and the ABAP-Web since all three frontend tools use the "ABAP Runtime layer".
    It may differ In the Portal where the new "Java Runtime layer". (Java-Web.) is used.
    This is given in OSS Note 1296576 - Different Query Behaviour: ABAP - Java.
    So i think the problem lies in your analyser. If you are using Analyzer: BI Add on 7.X (Based on 7.10) try and get support package 8.
    Hope this helps.
    Thanks,
    Rahul

  • Where do I find the Output Pop Up Menu on the Soundtrack Interface?

    Where do I find the Output Pop Up Menu on the Soundtrack Interface?

    Assuming you are in Address Book, you choose the records you want to print and then the File/Print menu selection.
    If the printer menu comes up with only the name of the printer and "Presets" dropdown choices, you click on the arrow to the right of the printer name to expand the print menu. Make sure the box below the pages to print is showing "Address Book" and you will see the "Style" below it.

  • How to restrict material output in the report published in the portal

    Hi all,
    I am new to BI 7.  I have a series of materials that start with the material IDs TR52, RL25, XY56 and son on.  Now my user wants to view only the materials that are starting with the ID TR52 when he runs the report from the portal. In the material box when I type in TR I am getting the list of all the materials, the same is happening even when I try TR*.  What should I do so that I can restrict the report output only to a particular material ID that my user types in?
    Please help. 
    Thank you.
    TR.

    Hi Friends,
    Thank you for the reply.
    I tried to exclude the values, but i dont find any chance to exclude them
    If i try the same from characteristic restriction, its allowing me to exclude.
    Is there any other possibility to restrict these? Please suggest

  • Redirect the output of SQL*Plus to the file

    Hi all,
    I have the following command to run:
    sqlplus username/password @myfile.sql
    I don't know how to redirect the output to the file.
    Also in the script myfile.sql I have the defined variable, &VP and
    How can I substitute this variable(&VP) at the run time.
    Thanks,
    JP

    Assumed you like to replace your defined variable VP by number 4. SInce it is posintional parameter,instead of wrinting &VP, write
    VP:=&1
    sqlplus>spool redirect.txt
    sqlplus>@myfile.sql 4
    sqlplus>spool off

  • Web Browser in the output of Report and save the text entered in browser

    Hi All,
    I am having a requirement that i has to show the web browser in the output of the basic list and i has to save the text entered in the web browser and not the URL.
    For example.
    if i am displaying the web browser in the basic list of my report.
    i am having a field to give the URL and i will the give the URL as WWW.GOOGLE.COM and press enter, then the web page will be loaded in the basic list. i am entering some text in the search area .
    let the text may be "SAP-ABAP".
    now i has to save the text "SAP-ABAP" in to my database.
    So , if you have any suggestions please reply to this.
    Thanks in advance.
    Regards,
    Phani.

    Of course there is not going to be any specific example which has been taylored to your exact requirement, which is why you should be looking outside the box.  The reason I suggested that program is so that you can see how to allow the user to access a web page and enter a value, and then allow the application server to access this value, which of course can then be stored on the database. 
    As for you exact requirement, if you are looking to specifically throw a browser with www.google.com in the browswer and have the user enter a value in the search, and then expect that this value be returned to the application which was entered, I don't see a clean/easy way to do this.  Why? Because once the user is veiwing google in the browser, it is now out of your control, because that page is not running on your server.  Not if google had some API, that would be a different story.
    Regards,
    Rich Heilman

  • Not able to see the output in sost when sending the image in email body

    I am sending the image in email body and when m trying to see the output in SOST then it showing a page 'you are not connected to the internet'
    I am able to see the output when m saving local objects but when m saving it in some package its showing me this page
    Kindly help it
    Regards
    Pratham Kapoor

    Hello Prakash,
    Thanks for the reply
    I am able to see the mail in SOST but when I click on the Display Document to see the content of the mail then I am getting this error of 'you are not connected to the internet'
    My Program is to put the logo in my email body
    I am sending you the attached image

  • Where is the output mini display port in the new imac 21,5 ?

    Hello all,
    I have buyed a new imac 21,5. In the apple web store says that the imac have a output for mini display port but I can't find it.
    I need to connect an other screen in my imac.
    Who can help me in this question ?
    Thank you very much in advance.
    Xavier

    Dear John,
    thank you very much for your quickly answer.
    But now, please, could you say me which is the exactly adapter that I need for to can connect a VGA monitor with the Thunderbolt port ?
    There are many models but any specify about the Thunderbolt connection.
    Kind regards,
    Xavier

  • What is the best way to run two programs simulataneously using the output from one to run the other?

    I just kind of wanted to get an opinion from some people on here. I have two main VIs. The first is a DAQ system that reads 99 different sensors and feeds that data into an array. The second is a real-time processing system that is designed to take the array and do numerous calculations. Both VIs output data to the front panel that I want to see, so I don't want to just use one as a SubVI.
    Is there a simple way to run both VIs, using the output from the DAQ system to feed the processor so that you can easily see the front panels of both VIs? I had considered just copying the real-time processor code into the DAQ VI, but I'm worried the resultant VI will be very large and unsightly.
    On a side note, am I over thinking this? Excuse me if this is a rather dumb question, it's been a long week...aaaand it's Wednesday.
    Solved!
    Go to Solution.

    There are a number of ways that you can go about this, but having both front panels open isn't a problem (assuming there is screen space!). Both could be sub-vi's of another "calling" vi, with their front panels set to open when called. The data from the DAQ side can be sent to the other through a number of ways, "producer-consumer" (many threads about this topic, examples in the LabVIEW examples, etc.) is one of the more robust techniques. If created correctly it allows one to run at a different rate than the other, although if the producer is "producing" much faster than the consumer can "consume" it will end up with problems.
    I guess I type too slowly
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How to restrict users to download, copy and print the documents from document library

    I want in SharePoint documents which I uploaded in documents library. no user will be able to download, copy and print.
    How it can be possible these types of restrictions apply?

    You can't achieve this goal by just setting appropriate access rights on SharePoint. You need to setup and configure Information Rights Management: https://support.office.com/en-in/article/Apply-Information-Rights-Management-to-a-list-or-library-6714cfe3-ef39-43b0-bb65-a887726bb63c

  • How to get the output of a program into the email program.

    hi
    i had created a java mail program and the keygeneration program.seperately.
    i want to get the keygeneration into my email program.that should be sent along with the text message.so pls help me in this regared.
    i had pasted my coding her
    email pgm.
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.io.*;
    To use this program, change values for the following three constants,
    SMTP_HOST_NAME -- Has your SMTP Host Name
    SMTP_AUTH_USER -- Has your SMTP Authentication UserName
    SMTP_AUTH_PWD -- Has your SMTP Authentication Password
    Next change values for fields
    emailMsgTxt -- Message Text for the Email
    emailSubjectTxt -- Subject for email
    emailFromAddress -- Email Address whose name will appears as "from" address
    Next change value for "emailList".
    This String array has List of all Email Addresses to Email Email needs to be sent to.
    Next to run the program, execute it as follows,
    SendMailUsingAuthentication authProg = new SendMailUsingAuthentication();
    public class SendMailUsingAuthentication
    private static final String SMTP_HOST_NAME = "smtp.mail.yahoo.com";
    private static final String SMTP_AUTH_USER = "xxxx";
    private static final String SMTP_AUTH_PWD = "xxxx";
    //private static final String emailMsgTxt = "Online Order Confirmation Message. Also include the Tracking Number.";
    private static final String emailSubjectTxt = "Order Confirmation Subject";
    private static final String emailFromAddress = "[email protected]";
    private static String emailMsgTxt = "I am unable to attend to your message, as I am busy sunning"
    + "myself on the beach in Maui, where it is warm and peaceful."
    + "Perhaps when I return I'll get around to reading your mail."
    + "Or perhaps not.";
    private static final String[] emailList = { "[email protected]","[email protected]"};
    public static void main(String args[]) throws Exception
    SendMailUsingAuthentication smtpMailSender = new SendMailUsingAuthentication();
    smtpMailSender.postMail( emailList, emailSubjectTxt, emailMsgTxt, emailFromAddress);
    System.out.println("Sucessfully Sent mail to All Users");
    public void postMail( String recipients[ ], String subject,
    String message , String from) throws MessagingException
    boolean debug = true;
    Properties props = new Properties();
    props.put("mail.smtp.host", SMTP_HOST_NAME);
    props.put("mail.smtp.auth", "true");
    props.put("mail.smtp.port", "25");
    props.put("mail.smtp.protocol","smtp");
    props.put("mail.debug", "true");
    Authenticator auth = new SMTPAuthenticator();
    Session session = Session.getDefaultInstance(props, auth);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
    addressTo[i] = new InternetAddress(recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    private class SMTPAuthenticator extends javax.mail.Authenticator
    public PasswordAuthentication getPasswordAuthentication()
    String username = SMTP_AUTH_USER;
    String password = SMTP_AUTH_PWD;
    return new PasswordAuthentication(username, password);
    keygeneration program:
    import java.io.Serializable;
         import java.security.Security;
    import com.sun.net.ssl.*;
         import javax.crypto.KeyGenerator;
         import javax.crypto.Mac;
         import javax.crypto.SecretKey;
         public class Eval {
         public static void main(String args[]) throws Exception {
         String inputString ="0x0b0b0b0b";
         KeyGenerator keyGen = KeyGenerator.getInstance("HMACMD5");
         SecretKey secretKey = keyGen.generateKey();
         Mac mac = Mac.getInstance(secretKey.getAlgorithm());
         mac.init(secretKey);
         byte[] byteData = inputString.getBytes("UTF8");
         byte[] macBytes = mac.doFinal(byteData);
         String macAsString = new sun.misc.BASE64Encoder().encode(macBytes);
         System.out.println("Authentication code is: " + macAsString);

    I'm not sure what's confusing you. Just generate a String (using a StringBuffer)
    with the data you need and use it as the content of the mail message. If each
    recipient needs different content, they'll each need a different MimeMessage
    object.

  • Can I have both static text and the output of an array in the body of an email?

    I have been scouring forums for something on this for a while now and have not found a whole lot. I'm trying to send a group of emails out to server owners in our company for a cleanup/consolidation project. I have a working script and of course now my boss
    wants it changed. I have the script set up to find all the servers a person owns and put it into a CSV file. Then it attaches it to an email with instructions on how to get everything updated. Now my boss does not want the list in an attachment but right in
    the body of the email. I'm pretty sure this is something Powershell can do, but I'm clueless on where to begin let alone how that would work.
    Here is my current script minus the confidential stuff :) I just need to know where to start since it can't be in html format. I'd probably know if I knew powershell a little better, but well I've only been working with it for a few months now.
    #Get SQL Database objects and places them into array $Sqldb
    $Sqldb = New-Object System.Data.DataSet "myDataSet"
    $sqlConn = New-Object System.Data.SqlClient.SqlConnection("Data Source=<SQL Server>;Initial Catalog=ServerBook;Integrated Security=True")
    $adapter = New-Object System.Data.SqlClient.SqlDataAdapter("SELECT ServerName,Owner,SupportContact,SupportExternal,ServerDescription FROM v_ServerBook_BasicInfo",
    $sqlConn)
    $adapter.Fill($Sqldb)
    #reorganizes $Sqldb by property owner
    $Sqldb = $Sqldb.Tables[0] | Sort-Object -Property Owner
    #stores list of unique owners and eliminates duplicates
    $owners = ($Sqldb.owner | Get-Unique)
    #eliminates null values from the list of owners
    $owners = $owners | where{$_ -ne "" -and $_ -ne $null -and $_ -ne [dbnull]::value}
    foreach($owner in $owners){
    #Get the servers for the current owner
    $servers = $Sqldb | where{$_.owner -eq $owner}
    #CSV output filename ($owner.csv)
    $newfile = "\\file\path\$owner.csv"
    #Export the servers to the filename
    $servers | select ServerName, Owner, SupportContact, SupportExternal, ServerDescription | Export-Csv -path $newfile -NoTypeInformation
    #copies the server owners name to $ownername variable
    $ownerName = $owner
    #switches the format of the ownername variable to lastname,firstname
    $Username = "$($Owner.Split(" ")[1]), $($Owner.Split(" ")[0])"
    #gets email address for owner from AD
    $EmailAddress = Get-ADuser -Filter "Name -eq '$Username'" -properties emailaddress -server ads.domain.com | select-object emailaddress
    #splits the $emailAddress vaiable to help eliminate extra text original text looks like @{emailaddress = [email protected]}
    $Emailaddress = $Emailaddress -split '[=}]' ,0
    #removes extra text at the beginning of the variable leaving just [email protected]
    $Emailaddress = $Emailaddress.TrimStart("@{emailaddress")
    #stores the body of the email into a variable
    $message = "Hello,
    Blah Blah Blahbity Blah
    Thank You,
    <Signature Block>"
    #Sets the from email address
    $emailFrom = "[email protected]"
    #Sets the email subject
    $subject="Test Email"
    #sends the email with attachement for the current owner
    Send-MailMessage -To "$EmailAddress" -Subject $subject -Body $message -SmtpServer "<smtp.domain.com>" -From $emailFrom -Attachments $newfile -DeliveryNotificationOption OnSuccess

    So I can just put my output variable into the email body variable.... since it's a table with headers should I do anything special for formatting the table?
    My output now looks like :
    ServerName
    Owner
    SupportContact
    SupportExternal
    ServerDescription
    Server1
    Me
    Me
    TrendMicro OfficeScan 10.5
    Server2
    Me
    Me
    TrendMicro Deep Security Test
    Server3
    Me
    Me
    Test Server
    Server4
    Me
    Me
    Application Server
    Well it's a little garbled there but you get the idea

  • IN SRM UI addon - how to restrict Tax code and purch. group drop down value

    Hi All,
    We recently implemented SRM UI add on, and before this we have a logic where based on the company code we used to restrict tax codes in the dorp down of tax code fields, however with new UI this logic doesnt work, is there any way to achieve this functionality.
    Regards
    Manoj

    You have to redefine the Method GET_DQUERY_DEFINITION of the Search View.
    Check in some other serach components where this must have already been done to get the exact code.
    Regards,
    Harshit

  • Display the output of a Report in the Screen of a Module Pool

    Hi All,
    Im Trying to display the report output in a Custom Screen. I hope it is possible through OOPS ABAP. Can any one give me some example program?
    Thanks,
    Saravanan Rajan

    Re: ALV display using oops
    ALV OOPS

Maybe you are looking for

  • Invoice Status Closed when it should be Open

    I have a document (AR Invoice)  just created but the status is closed. There is no reason to be closed. The balanced due is the same as Total in the document. There is no applied transactions. it was not based in a another document. I have looked in

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail? email:[email protected]

  • Unable to use MTS files or have AVCHD sequences presets

    Unable to use MTS files in premiere pro cs5.  I have a imac processor: 3.06GHz Intel Core 2 Duo, memory: 4 GB 1067 MHz DDR3, Graphics: ATI Radeon HD 4670 256 MB, software Mac OS X Lion 10.7.4.  The software dont have none of the AVCHD or HD sequences

  • Brand New rMBP 13" Wifi Issues

    I have a new Macbook Pro Retina 13" Late-2013 model that is having Wifi disconnect issues. It seems to happen when the computer goes to sleep and wakes up. It refuses to reconnect to any of my preferred networks when it wakes up. I was on the phone w

  • No Compiling Error but doesn't work

    import java.awt.*; import java.awt.geom.*; import java.awt.event.*; import java.applet.*; public class javacw extends Applet implements KeyListener, Runnable      Area pandaArea;      Graphics2D g2d;      // Providing coordinate control for the Panda