Regarding Logical destination problem..  urgent please

Hi gurus,
I am facing one problem in printing credit memo from vf02,
when i give one logical destination( means printer ) for example A its working fine., if i will give apart from A printer, outout could not be issued giving this information, if i will give LOCAL printer   LP01 then also not working....
i have seen all confugaration also there they local printer only..
print privew is coming to all printers( logical destinations)
but print is not coming..
Regards
Nagu

Hi,
You have to write in form calc under form ready event.
As of now, i dont have any system to check.You can check any standard forms like vendor statement / customer statement which have page totals.
for example, drag the S1 subform into one more sumforn with flow content say SS1.Write the below (similar) code.
// get total number of records
Var record_count = $.Table1.data.all.length
Var flag
Var value_check = '222'
For I = 0 upto ( record_count - 1 ) step 1 do
if $.Table1.data<i>.field1 = = value_check
flag = 'X'
endif
Endfor
if flag = = 'X'.
$.S1.presence = "hidden"
endif
Please check the syntax.
pavan meda

Similar Messages

  • 4 level masetr detail  problem urgent please

    hi all
    i have page with 4 level master detail first as a form and other as tables my problem is when i click on a record at the last table the second table stop the partial triger so when i chose any record in table 2 it didnt change data in table 3 and data still as it in table 3 and 4 without changing i need to solve this problem very very urgent
    please help me
    Edited by: user554540 on 31/12/2009 11:34 ص

    Do you have the partialTriggers set correctly on the 3rd and 4th level tables?
    As an alternative, you could write a custom selection listener for table 2 and programmatically ppr the 3rd and 4th tables..

  • Workflow Agenet Determination Problem : Urgent Please

    Hi All,
    We configured standard workflow WS12300111 for ESS Leave Request. For standard task TS12300097 agent assignment is Expression : &AGENT_0001.AGENTS&. Now workflow is not getting triggred. If change agent assignment to Rule : 00000168 or any user name then it is getting triggred. All tasks and workflow temeplate are configured as general tasks.
    Someone can help on this problem.
    Regards,
    Srinivas.

    Hi,
    Problem got solved, probelm is for approver infotype 0007 was not maintained.
    Regards,
    Srinivas.

  • Sending mail Problem (Urgent Please)

    The following program mail coding program. I am in local System. Host is my server. But our Server (norton) firewall is enabled. I am not able to send any mail. Will you please tell me How to recover this problem or alter my coding. If anybody knows Please tell me.
    <html>
    <head>
    <title>JSP JavaMail Example </title>
    </head>
    <body>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.mail.*" %>
    <%@ page import="javax.mail.internet.*" %>
    <%@ page import="javax.activation.*" %>
    <%
    try
    String host = "xxx.xxx.x.x";
    String to = request.getParameter("to");
    String from = request.getParameter("from");
    String subject = request.getParameter("subject");
    String messageText = request.getParameter("body");
    boolean sessionDebug = false;
    Properties props = System.getProperties();
    props.put("mail.host", host);
    props.put("mail.transport.protocol", "smtp");
    Session mailSession = Session.getDefaultInstance(props, null);
    mailSession.setDebug(sessionDebug);
    Message msg = new MimeMessage(mailSession);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    msg.setText(messageText);
    Transport.send(msg);
    out.println("Mail was sent to " + to);
    out.println(" from " + from);
    out.println(" using host " + host + ".");
    catch(Exception e)
    System.out.println("Error");
    %>
    </table>
    </body>
    </html>
    Please tell me how to recover this problem
    Thanks in advance
    regards
    pooja

    Please tell me my mail coding is correct. If correct but i am not able receive any mail. what is the problem do u know. If you know please tell me
    regards
    pooja

  • Smartform : Printing Problem , Urgent Please

    Dear All,
    When I tried to print a smartform, I am Getting message 'Spool Request (number xxxxxx ) is created' .
    but It is not printing.
    I am facing this problem only with this form. I could print other forms / Scripts.
    What might be the error ? Please Let me Know ..
    Thanks & Regards
    Venkat
    Message was edited by: venkat Kumbham
    Message was edited by: venkat Kumbham

    Venkat,
    You can do that in two ways. Once is to set it in the USER DEFAULTS. Go to SU01 and you can see a tab for DEFAULTS.. There will be a check box for PRINT IMMEDIATELY.
    Or you can do that in the SMART Form parameters also. In the OUTPUT_OPTIONS parameters ther is a field TDIMMED. Set that to 'X'. That should print the form immediately.
    Regards,
    Ravi
    Note : Please close the thread, and mark the helpful answers if this solves your problem.

  • Drawing 2d line chart problem, urgent please!!!

    Hello,
    can anyone help me with the function GRAPH_MATRIX_2D please,
    i couldn't draw a line graph with three data series, i mean with three lines in the graph.
    i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
    can anybody send me a sample code that does what i want.
    i am expecting your answers,
    thanks.

    Hi,
    have you checked the two reports Matthias mentioned?
    After downloading the SAP Chart Designer the general procedure should look like: create your chart settings interactively using the designer. Save these settings as a local XML file. Use this XML in your ABAP application and additionally create a data XML at runtime (the format is described in the pdf of the SAP Chart Designer zip).
    Regards, Kai
    PS: Please don't use these very outdated function modules graph_matrix* / grstat* in new projects!

  • Regarding Subform display problem(URGENT)

    Hi Experts,
    I have a requirement......I am passing 3 tables from interface to form layout...I want to display data from these tables to different subforms based on some condition
    for ex...........
    table T1 passing to subform S1
    table T2 passing to subform S2
    table T3 passing to subform S3
    My requirement is these subform should be display only based on some condition like if some value is there in table T1 then only S1 subform should be display otherwise not.
    Please suggest me what script i will write for this.
    Regards
    Gaurav

    Hi,
    You have to write in form calc under form ready event.
    As of now, i dont have any system to check.You can check any standard forms like vendor statement / customer statement which have page totals.
    for example, drag the S1 subform into one more sumforn with flow content say SS1.Write the below (similar) code.
    // get total number of records
    Var record_count = $.Table1.data.all.length
    Var flag
    Var value_check = '222'
    For I = 0 upto ( record_count - 1 ) step 1 do
    if $.Table1.data<i>.field1 = = value_check
    flag = 'X'
    endif
    Endfor
    if flag = = 'X'.
    $.S1.presence = "hidden"
    endif
    Please check the syntax.
    pavan meda

  • Installation problem - urgent, PLEASE help!!

    I'm trying to install Java3D and somehow it doesn't seem to be working. I'm not sure whether I should be installing the opengl or the
    directx version, but I've tried both with no luck. I'm running Windows
    M.E.
    I downloaded the JSDK beta 1.4 version (I have previously tried also
    with the 1.3 version, this didn't work either), and now have the
    jdk1.3.1 as a folder on my C drive ( C:\jdk1.3.1) . Then I downloaded
    Java3D from the website, onto C, as an executable file. When I clicked
    it, it went through the installation process (not giving me any
    options for where to install it, i was just clicking on 'next') and
    seemed to complete ok, but I'm trying to test it by running the
    helloUniverse demo, and the file isn't even there. There's a Java3D
    folder which has been created in Windows, but this just contains a
    folder called uninstall_info.
    On my Java plug-in control Panel, it is currently set to 'use java
    plug-in default'. The other options are to use JRE or JDK, in folders
    Program Files\JavaSoft or JDK1.3.1 respectively. I don't know which
    one I should be choosing! I think I tried it with the JDK option
    before and that didn't work either.
    If anyone can please help I'd be really grateful, this is getting
    quite urgent!

    Hi there!
    Well, try installing java3d in the same directory as ur java(which is c:\jdk1.3.1 for u).
    If i am not mistaken, java3d, by default, installs in c:\jdk1.2.2 directory.
    U also have 2 set the path and classpath in the autoexec.bat to addr to \bin and \lib sub-directories resp.

  • Tomcat problem urgent please

    Hi! All
    I just installed jdk1.1.8 and jakarta-tomcat 3.3.2 on windows 2000.
    I also set the path, java_home and tomcat_home as required. But when I try to run Tomcat, it says "Starting Tomcat in a new Window", then a new window opens up and closes immediately.
    Please advice.
    Thank in advance.

    Edit the ... I think it's tomcat.bat file, and where it says something like:
    call "%TOMCAT_HOME%\bin\tomcat-startup" start %1 %2 %3 %4 %5 %6 %7 %8 %9
    Change start to run. This will make it start tomcat in the same window and let you see what the error message is. Most likely it's either a classpath problem, or another application using the port tomcat is trying to use.

  • Session and Refresh problem, Urgent, please help

              Hi, Dear Everyone:
              I have two questions to ask. (Environment: OS: Nt4.0, Server: Weblogic5.1)
              (1). When I use session to store an object in servlet (processed results
              from database) then dispatch to a jsp page to display the results, I got the following
              error message.
              Wed May 16 15:54:31 CDT 2001:<I> <ServletContext-General> Generated java file:
              C:\weblogic\myserver\classfiles\jsp_servlet\_ccproject\_subdisplay.java
              java.lang.NullPointerException
              at jsp_servlet._ccproject._subdisplay._jspService(_subdisplay.java, Comp
              iled Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:106)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:124)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
              cherImpl.java:154)
              at com.voy.CCPro.DataDumper.doPost(DataDumper.java:69)
              at com.voy.CCPro.DataDumper.doGet(DataDumper.java:85)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:106)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:907)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:851)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:252)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:364)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              Here is my servlet code:
              HttpSession session = req.getSession(true);
              Vector temp = buildData.BuildForDisplay(rst);
              session.setAttribute("PostTitlePool", temp);
              String url = "/ccproject/subdisplay.jsp";
              RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
              dis.forward(req, res);
              Here is my jsp
              <%@ page import="com.voy.CCPro.*" %>
              <%@ page import="java.util.*" %>
              <%
              Vector v = new Vector();
              v = (Vector)session.getAttribute("PostTitlePool");
              Enumeration enum = v.elements();
              SequenceData sq = new SequenceData();
              while(enum.hasMoreElements())
                   sq = (SequenceData)enum.nextElement();
                   if(sq.getIndicator()==0)
                        out.println(sq.getTitle());
                   else
                   out.print(sq.getTitle());
              %>
              Please tell me what I did wrong or What more do I need to do?
              (2). If I changed to use request.setAttribute in servlet, it works. But I got another
              strange
              result from browser. That is, if I keep on clicking refresh (IE5.5), the same result
              appending
              the previous one on the same page.
              Here is my code in servlet:
              req.setAttribute("PostTitlePool",temp);
              String url = "/ccproject/subdisplay.jsp";
              RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
              dis.forward(req, res);
              Here is my jsp:
              <%@ page import="com.onvoy.CCPro.*" %>
              <%@ page import="java.util.*" %>
              <%
              Vector v = new Vector();
              v = (Vector)request.getAttribute("PostTitlePool");
              Enumeration enum = v.elements();
              SequenceData sq = new SequenceData();
              while(enum.hasMoreElements())
                   sq = (SequenceData)enum.nextElement();
                   if(sq.getIndicator()==0)
                        out.println(sq.getTitle());
                   else
                   out.print(sq.getTitle());
              %>
              Please explain it to me why that and how to fix it. I appreciate it very much.
              

    I control this as follows
    --> all JSP's don't create session (<@page session="false">)
    --> my FrontServlet checks
    session=request.getSession(false);
    if(session==null)
    //invoke method from LoginHandler (Helper Class)
    //for check logindata and create session
    else
    //invoke method from ProtectedResource (Helper Class)
    //for check, if user logged on
    --> LoginHandler
    //method UserAllowed returns true or false
    if(!UserAllowed())
    //invoke ServiceDispatcher method who displays
    //the 'AccessDenied'Page
    else
    //set loggedIn into the session
    session.setAttribute("loggedIn","OK");
    //invoke ServiceDispatcher method to display the requested Page
    --> ProtectedResource
    //check if user logged in
    Object o=session.getAttribute("loggedIn");
    if(o==null)
    //User not logged in
    //invoke ServiceDispatcher method to display 'Login' Page
    else
    //User logged in
    //invoke ServiceDispatcher method to display the requested Page
    --> URL of the Application
    Welcome: http://localhost:8000/APP/login.jsp
    submitted FORM sent to FrontServlet
    (FORM ACTION="servlet/FrontServlet")
    When everything is alright (username/password)
    new URL http://localhost:8000/APP/servlet/FrontServlet
    and the 'Main' Page is shown
    when session is timed out and i refresh page
    data is sent again (without asking for username and password)and new
    session is created and the 'Main' Page is shown again.
    How can i fix this problem
    thank you in advance :-)

  • WHT Challan problem urgent please........

    Hi all,
    in my customization of WHT, in t.code J1INCHLN, system is taking all but at the time of posting (i.e. after simulation of document) or saving the following error message has coming.
    Message no. 8I 704
    Diagnosis
    Number group is not maintained for the combination of company code
    &.1. section & 2 and business place &.3.
    System Response
    Challan update program could not proceed without this data.
    Procedure
    Check entries in table Z_1iewtnumgr and then start challan update program.
    but i checked the mentioned table in message, system is saying there is no table existing.
    instead of the Z table we are having J_1iewtnumgr. for this we maintain correctly.
    kindly suggest, please urgent.... my process are stucked

    Hello
    Check number range assignment
    Check challan update status
    In the Challan Update Status report, you can create a remittance challan for various documents: Select the documents that you want to remit the tax on and choose Challan Update. The system takes you to the Create Remittance Challans program, which you then execute. However, you can only process documents for one withholding tax section at a time.
    In the Bank Challan Status report, you can enter a bank challan: Select the documents (in this case identified by the internal challan numbers) that you have been sent a bank challan for and choose Bank Challan Update. The system takes you to the Enter Bank Challans program, which you then execute. However, you can only a single internal challan at a time.
    In the Certificate Status report, you can print withholding tax certificates: Select the documents that you want to print a certificate for and choose Certificate Printing. The system takes you to the Print Withholding Tax Certificates program. However, you can only process documents for one withholding tax section at a time
    Reg
    *assign points if useful

  • Iframe problem :Urgent Please

    Hello Guruz:
    I am stuck in an issue, i have two domain, e.g: domain 1
    & Domain 2. I am calling domain 2 from domain 1 by using IFrame
    in domain 1.
    I am using ASP Classic with SQL Server, and i have applied
    Dreamweaver Login User Server behaviour builtin, and restriction
    level is username,password & security.
    When ever i try to connect using my login page through IFRAME
    in domain 1, it want let me IN. i have designed a customizied error
    page, and its showing me that. When i just delete the dreamweaver
    user restriction extension from that page it get login successfully
    using IFRAME.???????????????//
    Can any body help me out
    please??????????????????????????????????????its kind of urgent
    matter, i am really bitting my nails out?

    Developer/Designer wrote:
    > Can any body help me out
    > please??????????????????????????????????????its kind of
    urgent
    > matter, i am really bitting my nails out?
    Show us the URL, please.
    Pete.
    Peter Connolly
    http://www.kpdirection.com
    Utah

  • Wrt54gs problem URGENT PLEASE HELP

    hello, i have had the wrt54gs for about 4 months and my internet has been perfect but about a few a days ago, when i play counter strike source online or anything else i get ridiculous lag and it not able to play (500-600 ping), i have not changed settings or anything. when i watch the network monitor it shows about 4-5 bars on signal strength and link quality but every like 30 seconds it says you are connected to the access point but the internet cannot be found then like 30 seconds later it goes back to normal.
    i have upgraded the firmware of my router and linksys helped me change some of the settings on the router but nothing happened.
    can you please help me
    thanks
    pete
    Message Edited by Stelth2k1 on 10-27-2007 07:14 PM

    If it's working well all the while and only have the problem recently, then I guess it can be the problem on Internet connection link, or ISP side.
    Try to connect your computer directly to the DSL/cable modem, then play the game, see anymore lagging..
    picoHat
    Home Network, Wireless Network and Computer Networking Made Easy

  • Huge icloud problem, urgent please help

    So I broke my old iphone and my dad gave me his old one, i restored it to factory settings and then set about putting my icloud recoery on, I signed into to my apple id and icloud, then i got to a terms and conditions page which I agreed to.
    HOWEVER and here is the problem, after a small wait of 'it may take a few minutes to set up your apple id' i am presented with a screen saying choose your backup, with various dates on it. I click on the latest one, and it it says
    "enter the apple id password for 'email address' to use for store purchases (including the appstore) iTunes store, and iBooks store"
    problem is, the email address isn't one i own, i have never seen this email address before in my life it certainly doesnt belong to me, or anybody I know, and I am really rather concerend as all of my backups are in this persons email from aol...
    HELP!

    Try the following :
    1.convert your string to a unicode format and than
    compress.
    2.decompress and than convert it back to the normal
    format.
    use following code suitably :
    byte []  bytes = null;
    try {
    bytes =     string1.getBytes ("UTF8");//encode
    string2  = new String (bytes, "UTF8");//decode
    } catch (UnsupportedEncodingException e) {
    e.printStackTrace();}
    Unless my understading of Java is completely wrong, after the code you've written, string1.equals(string2) should be true.
    And that is because string1 is a Java String, in unicode format (all Java strings are in unicode format). So, with
    bytes =     string1.getBytes ("UTF8");//encodeyou get the bytes of that String coresponding to it's UTF-8 representation. Then,
    string2 = new String (bytes, "UTF8");//decodeyou create a new String (in unicode) from the UTF8 bytes representation. In my opinion, string1 is always equal with string2.
    Please correct me if I'm wrong...

  • Ipod touch restore problem *URGENT PLEASE HELP*

    Ok well I just inherited an Ipod touch from my friend who upgraded to a iPhone and it has a lock code, which I don't know. I called up my friend and asked him the code, he didn't know it of course... so i just guessed passwords and it said it was locked, I only have one more try until it locks permanently. So, I tried resetting it and it didn,t work. so i put it in recovery mode and it was gonna be ok, but my problem is I have slow dial-up internet and cannot re-download the software because my internet turns off randomly and it takes about 35 hours straight to download the 280MB, my other problem is that every time the download is disrupted, what itunes has already downloaded deletes itself and I have to start over from zero. I cannot fully download the software and have no access to hi-speed internet, I need a solution please otherwise im sitting here with a $300 piece of junk.

    Just bring it over to your friends house and have him reset it for you. Then bring it to your house to put your music on it.
    It is as simple as that. Too bad you have dial-up still. I use broadband and it is very fast.
    Timothy Z.

Maybe you are looking for

  • Can't find any of my HD Video on a PC external drive

    Just got my new MacBook aluminum ten days ago as my first Mac. I have a Maxtor Onetouch 300G external hard drive that has hours upon hours of HD video shot with a Sony handicam and imported and saved to the Maxtor through my old PC laptop. I plugged

  • Adobe Acrobat Pro Version 8.2 and Version 9.X Forms

    If I created a form in Adobe Acrobat Professional 8.2 why can't I open the form to make changes to the field name in version 9.X. The ability to change names for the fields is greyed out. Please help!!!

  • Final Cut Pro to Flash  -- Inserting and Using Cue Points

    I want to export a flash video using File - Export - Using Quick Time Conversion and selecting Flash. Under options for Flash, I see something about "Cue Points". My assumption is that these would be points that you can insert that are similar to cha

  • Class cast exception in jsp plz help

    i have written a jsp where i displayed a text box with value given by user inside it when the user enters some other value in text box and clicks on update button then i forwarded reqeust to servlet which will some data base work servlet will forward

  • Smartform generates large file attachment

    Hello Everybody, I am having the following issue... I have created a Smartform (one page) and when I email it as a PDF attachment the size of the e-mail is over 400K, which in our case generates and issue because of the number of e-mails that we are