Print variable from report to Sapscript that is send as a message(Nast)

Hi there!
I want to print an internal local table on a sapscriptform which is printed as a message from a PurchaseOrder.
So i created a new entry in NACE for a new Messagetype, which calls a Programm (Z_PROGRAM) and a subroutine (Z_ENTRY) and a formular (Z_FORM) That works, i got a breakpoint here.
Problem: every variable that is filled in the programm is still empty on the formular! i have defined a gv_test in Z_PROGRAM (global) and in the form (using form-debugger) i can see that the gv_test is empty.
My Process.. I create the message using me22n. I start it using ME9f. Then my Breakpoint in Z_ENTRY pops up. There i fill the gv_test. Then i call open_form start_form write_form and close_form.
My ZPROGRAM
REPORT  zmelief01.
data: gv_test type char4.
FORM entry_zlif USING ent_retco ent_screen.
BREAK-POINT.
gv_test = 'SIMSALABIM'.
CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      device   = 'PRINTER'
      dialog   = space
      form     = 'Z11_ZLIEF1'
      language = 'D'
      OPTIONS  = itcpo.
  CALL FUNCTION 'START_FORM'
  exporting
      form      = 'Z11_ZLIEF1'
      language  = 'D'
      startpage = 'MAIN'.
  CALL FUNCTION 'WRITE_FORM'
    EXPORTING
      window = 'MAIN'.
  CALL FUNCTION 'END_FORM'.
  CALL FUNCTION 'CLOSE_FORM'.
My Form:
Window: Main
Page: Main
Language: DE
ST  |  Print my variable: &gv_test&.

HI BonsaiKo,
Thank you for visiting Apple Support Communities.
It sounds like the Chrome application is unresponsive on your Mac. The rainbow disc you see is called the "wait cursor," which spins when your computer is processing something.
If the cursor does not stop spinning, you may have to force Chrome to quit using these steps:
OS X: How to quit an unresponsive application using Force Quit
Using the Force Quit feature of OS X makes an application close, even when it is not responsive.
Important: Normally you should not need to force quit an app to close it. When an app is forced to quit, any unsaved changes to open documents are not saved, so try these methods to normally close the app first:
Choose Quit from the app menu. For example, in Safari, choose Safari > Quit Safari.
Choose Quit by right-clicking or control-clicking on an app's icon in the Dock.
Thank you for participating in Apple Support Communities.
Best Regards,
Jeremy

Similar Messages

  • Printing directly from a mobile device that is NOT on a wifi network

    I would like to print directly from an ipad, that does not connect to a home wifi connection. 
    I have read in some forums, that the HP 6520 can create a direct ad-hoc style wifi connection that the IOS device can connect to, but this is not clearly stated in the feature set on this website. 
    Can a support admin please clarify whether printing directly from a mobile device that is NOT connected to a shared wifi network is possible?

    Hi,
    Pleae try the following setup:
        http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c02994632
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to issue print command from report/form server to client printer on web

    1) We have a client server application which is to be deployed on the web environment. The reports generated in our application are having a destination type as File. These reports are printed after applying some print format (escape sequences) which are passed on to the printer programmatically at runtime while printing.
    Now when this application is shifted on to the Application server (Forms server & Reports Server )in web environment ,the report outputs would be generated in the application server as against the client in client server environment as the report server is on the application server.
    Now while printing/accessing the report the output file will not be available to the client unless it is pushed on to the client side from the server . I am able to see reports in pdf/html output but in this case layout of my reports gets changed and I dont want to change my layouts or reformat my report layouts.
    How do I redirect the report output from the application server on to the client within the D2k context and then execute print commands?
    Note: In this case we want to use both DMT and Laser printing. Also note that we use escape sequences to adjust reports in desired printing papers.
    2) We have second set of reports which we call as document because these are printed after capturing data from 'Form' using text_io utility (please note that for these documents we are not using any Report 6i functionality)and we print it from file using printing mechanism as mentioned above. These are working well in client server application. We adopted this methodology for getting better performance (in terms of speed as database server and network traffic is not involved) of printing. But now we are converting our application for web, we are finding it difficult how to capture Form's data from browser to client's machine and then executing printing commands which are stored in our application liabrary.
    If you help me out by giving some suggestions, I shall be grateful to you.
    null

    Hello
    I wonder if you ever solved this problem.
    I have a very similar problem with Photoshop CS5 on Mac OSX 10.6 + HP Photosmart C7180.
    If I choose "Photoshop Manages Colors" the results are lousy.
    If I choose "Printer Manages Colors" the results are OK. not necessarily great.
    I believe I have all the correct settings after going through books and web advice (and wasted a lot of paper and ink).
    As far as I can see, "ColorSync" is the internal Mac management which is the only option available with "Photoshop Manages Colors" and "Vendor Matching" appears to mean the printer vendor (ie HP) will provide the matching. Either can be selected if "Printer Manages Colors" is used. It seems the type of paper can be set in three different places. if That's all a bit academic as the results are poor regardless.
    My wife suggests I buy a new printer - Epson's looking good.
    Any words of wisdom would be appreciated.

  • Deletion of variable from report

    Hi All,
    I have created one user exit var ZPER_P1 then i didn't want to have it for some reason. So i deleted it from RSZGLOBV table with both version 'A' and 'M'.  Now it doesnt show the same var in report design under the characteristic object.
    Now i want to create another var with the same name, with different structure. At the time of variable creation, when I click on finish button, system gives message "Components ZPER_P1 (version A) has no info cube assignment."
    Can any body help me to create the var again ?
    Thanks for the help.
    Regards,
    Purvang ZInzuwadia

    Hi,
    Run the program COMPONENT_REORG in SA38.
    In the pop up screen select 'VAR' in type and give the technical name of the variable in the technical nale part.
    Click execute and see whether that variable exists still in the system.
    If it is found you can delete it from here.
    Regds,
    Shashank

  • Passing variables from Report to Form

    Hi, I need pass a couple of variables from the REPORT to two fields in the FORM for save in a table. Somebody knows how do I do this?. Any suggestions?
    Thanks a lot!
    I think that this situation is different that pass variables from FORM to REPORT.

    You need to use a Link component to your Form that you then attach to one of the data columns in the Report. When you edit the link in the report, you can specify the fields to pass.

  • Dynamically Setting a Variable from a Connection String that has been set by a Config File

    Hi Guys
    I'm setting up a Master / Slave (Parent / Child) dtsx environment but I'm unable to work out how to dynamically set a variable in the Master dtsx from a connection string that has had its value set by a config file. I'm sure it's possible.
    Below is the what I'm hoping to achieve. I've set up everything apart from the highlighted section.
    Any ideas?

    First, what version of SQL Server are you using?
    You could switch the problem around.  You could set the value of a variable from the config file, then it is easy to use that variable as the connection string source for your connection manager.  At the same time you can use a parent variable
    configuration to map that variable to variables in your child package.
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • My wife and I each have an iPhone 4S. With the upgrade to ios6 all text messages sent from my phone show up on hers to include responses from my text. text that she sends from her phone appear as if from mine. How do we stop it?

    My wife and I each have an iPhone 4S. Ever since the upgrade to ios6, text messages sent from my iPhone also appear on hers? All response to those text also show up on both devices. Likewise, text sent by her appear to others as having been sent from my iPhone. I have tried turning group messages off but nothing works. How can I correct this on both phones? Appreciate any help.

    Rectory wrote:
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    You need a separate email address but you've already ruled out that solution.

  • How can i change my e-mail address color from blue to black when i send a new message

    How can i change my e-mail address color from blue to black when i send a new message

    Hi Steven, if you send to yourself does it come through blue?
    Is this in the Header or a Signature?

  • Get names of global variables from report (like Tab "Globals" in debugger)

    Hello,
    is it possible to get a list from all available variables in a report at runtime like the tab "Globals" in the new debugger?
    The problem is that i don't know the names of the variables. So i could not do a dirty assign with field-symbols.
    best regards
    Marcel Gäbe

    Try RS_PROGRAM_INDEX
    table compo returns. filter with type = D
    Will you please check GET_GLOBAL_SYMBOLS & RS_PROGRAM_INDEX _SOURCE

  • Problems printing PDF from Reports

    Hi,
    I'm having a problem with the Report's way of generating pdf-documents.
    The report that Reports was supposed to create have some bullets where but when Reports converts the document to pdf it sometimes insert asterisks instead of bullets...but only sometimes. At other times the bullets are substituted with | signs ???
    When I open the file with Acrobat reader, you can see the asterisks (sometimes) and (sometimes) the bullets, so I don't think that it is Acrobat.
    How do I get it to print bullets every time?
    Can it be something with fonts ?
    All help is appriaciated very much as I'm going crazy soon :P
    mvh Christian

    Hi Christian,
    I have a similar problem with Report 10g R1. We have a Report which contains a lot of informations, so all field have the little size they can (on report builder). Some times, the report is ok, but some times, informations are replaced by '*'. Report replace characters by '*' when there is not enough place !!!
    If I compare a good and a bad report, I can see that the text has not exactly the same size !!! And I can see in the PDF (open with text editor) that there are some differences...
    I have an open tar on metalink, but no solution for the moment...
    Another thing, this occurs on our 3 production servers but not on our development server...

  • How do you print items from an array list that fit a certain condition?

    I have an array list full of people. People can be set to single or married, is there anyway I can just display the people from the arraylist that are married? I've been reading through alot of stuff about arraylists and there doesnt seem to be anything on printing things depending on context.

    thebigfish wrote:
    I have an array list full of people. People can be set to single or married, is there anyway I can just display the people from the arraylist that are married? I've been reading through alot of stuff about arraylists and there doesnt seem to be anything on printing things depending on context.Have you tried simply iterating over the list, checking for your condition, and printing out the person's details?
    for ( Person p : yourListOfPeople ) {
        if ( p.isMarried() ) {    // Assuming isMarried returns a boolean value determining if the person is married
            System.out.println( p );  // Assuming you've overriden toString
    }

  • Printing PDF from Report Region - Header Details

    Hi,
    I've searched around for a while but was unable to find an answer to my query.
    I have a simple report region, which i added a "Print" link to the bottom of - this brings up a formatted PDF version of the report which can be printed out, i'm just using the default PDF layout.
    When it comes to adding a header and footer the PDF still functions ok, but when i try to add any page items it all stops working.
    I basically need the time and date to appear at the top of the report, i created a hidden field just using the PL/SQL command "SYSDATE" which does return the correct value. But when i try to add this to the header or footer in the format "This document was printed on &P1_DATE", the PDF doesn't work, and when i try to download it, IE says the filesize is 0b.
    Any suggestions would be appreciated, either something i've done wrong or if there is a better method,
    Thanks in advance

    Thanks for the reply Scott,
    The PDF does download when I put a fullstop after the name of the item. Unfortunatly now the PDF displays as if the item "P1_DATE" is empty, i.e. it says "This document was printed on ",
    I've made P1_DATE visible and it definitly displays a date, yet the exported PDF displays nothing where P1_DATE is referenced,
    Just to confirm:
    The Item is called P1_DATE
    The references i've tried are &P1_DATE. and &P1_DATE
    the date is populated by the code SYSDATE
    Thanks again,
    Iain.

  • Having a problem printing photos from Iphoto.  Seems that "themes" are required in order to accomplished the task.  Where are the Themes found?

    Where can I find the themes, possibly formats, for printing photos for Iphotos?  Are these still being used or have they been upgraded to another program such as ilife?

    You'll need to reinstall iPhoto.  If you MBP came with Lion preinstalled move the iPhoto applicaiton to the Trash bin in the Dock, go to the App Store, go to Purchases, download and reinstall iPhoto.
    OT

  • How to disable Print button in Report Manager in SSRS 2008

    I have a report with long list of columns. Currently we are supporting only excel export and we do not want user to print reports. I know we can disable export options by editing Render extensions in rsreportserver.config. Kindly suggest me how I can stop
    user from printing reports.
    Thanks.

    Please refer the link below:
    http://msdn.microsoft.com/en-us/library/ms155874.aspx
    "Report server administrators have the option of disabling the print feature by setting the report server system property
    EnableClientPrinting to false. This will disable client-side printing for all reports managed by that server. By default,
    EnableClientPrinting is set to true. You can disable client-side printing in the following ways:
    Select Enable download for the ActiveX client print control on the Server Properties page in Management Studio. To open Server Properties pages, connect to a report server instance in Management Studio, right-click on the report server node,
    and select Properties.
    Write script or code that sets the report server system property EnableClientPrinting to
    false."
    Thanks, Michael Mei
    Is there a way to enable or disable printing and export facility in the client based on report server roles. In our case some group of users only needs read access and so we want to prohibit export and print facility.
    bhav27

  • User print out the report of Tcode-fc10 the printing is 7-8 times repeated

    Hi,
    User print out the report of Tcode-fc10 the printing is 7-8 times repeated.printer is SL00004 Korea.What can I do? so that user  gets only  one copy .Is there any setting .User is getting this issue only when they print out the report of T-code(fc10) only.
    Moderator message: no evident relation to ABAP development.
    Edited by: Thomas Zloch on Jan 18, 2011 3:09 PM

    I suspect you may be using ActiveX print control(?). If that is the case, look at permission issues.
    1) If you run the app on the server it's self, are you able to print from there?
    2) If you log in as an admin on the server, can you print?
    3) If you log in as an admin on the a workstation, can you print?
    Process Monitor will be a good utility to use to check permission issues. Process Monitor is here:
    http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx
    Ludek

Maybe you are looking for

  • Brand new iPod Touch, updated to iOS 4.2.1, WiFi no longer working

    Bought my kids brand new 4G iPod Touches for Xmas, set them up and they worked fine. Last night, when I connected them to sync some new apps, iTunes prompted me to update the OS to 4.2.1, which I did. Now, the iPods can no longer connect to my Time C

  • Quick Reply Please?!?

    Hey ok so i got my UM-2ex to work in Garageband.. with my electronic drums and my keyboard bnoth work.. BUT in logic express 7.. it kinda of works.. i think it is.. so im recording o nmy keyboard... it shows the ntoed coming up and it shiows what not

  • Issues Loading 'Rented Movies' on to iPhone 3G

    When trying to load 2 recently downloaded movies, getting error message that basically says it is 'INVALID' (and that's it). I have been able to load 'rented' movies before with no issues. Any help that can provided will be greatly appreciated. Thank

  • Hits keep coming

    After all the BS with the mouse and keyboard, I now verify the disk in Disk Utility and get, The Volume Macintosh HD was found corrupt and needs to be repaired. It tells me to use disk utility, but the repair button is grayed out. Does this mean I ha

  • Language problems on German XP with English

    I installed J2EE 1.4 with jdk and jre in order to run ArgoUML with it. Installation seems to be succesful in the sense that I can start the admin console. I cannot however go to the sun page http://java.sun.com/products/javawebstart/demos.html where