How to avoid Print pop-up while using a Adobe form.

Hi Experts,
I am calling a adobe form from a BAPI.I am using the following function modules FP_FUNCTION_MODULE_NAME and CALL FUNCTION fun_name. But when I try to execute the BAPI a print preview pop-up appears.Please let me know the steps to avoid the print preview pop-up while execution of the BAPI.
Thanks in Advance.
Warm Regards,
Arun.

Hello
I don´t understand the connection between BAPI and the printing program. I guess - at least that is what I have done - is to generate the form when creating and invoice or something, then I could understand.
When you ask for GETPDF = 'X' then you always get the PDF data back and not the popup.
Or if you would like to display the print preview without a print settings popup. Or variants...
FUNCTION ZPDF_SET_OUTPUT_MODE.
*"*"Lokální rozhraní:
*"  CHANGING
*"     VALUE(FP_OUTPUTPARAMS) TYPE  SFPOUTPUTPARAMS
fp_outputparams-dest     = 'ZPDF'.
fp_outputparams-nodialog = 'X'.
fp_outputparams-preview  = 'X'.
ENDFUNCTION.
regards Otto

Similar Messages

  • How to avoid printing zero in amount field in adobe forms

    Hi All,
    If the amount is empty in the amount field then it is printing 0,00. I have written some peice of code to avoid printing that value. I wanted to print space.
    Below is the  logic which  i have tried in  javascript.
    if  ( this.WRSHB.rawValue == null )
    this.presence == "hidden";
    if  ( this.WRSHB.rawValue == '0,00' )
    this.presence == "hidden";
    I am still able to print 0,00 in the form output.
    Can anyone please help me out in achieveing the same ? Am I missing anything in the javascript coding?
    Thanks and Regards,
    Karthik Ganti.

    Hi,
    Issue is fixed. I have written the above code in Form ready event and changed the amount field type to text field. It worked. Thanks.
    Thanks and Regards,
    Karthik Ganti.

  • Please reply:how to avoid extra trailing spaces while using cursor sharing

    i am using cursor sharing with FORCE or SIMILAR.
    what is the solution to avoid extra trailing spaces without any java code change.
    do we have any option in oracle to avoid extra trailing spaces during the query processing ?
    I am using Oracle 10g
    CURSOR SHARING is a feature in which multiple sql statements
    which are same will have a shared cursor (in the library cache) for an oracle session,
    i.e, the first three steps of the sql processing (hard parse, soft parse, optimization)
    will be done only the first time that kind of statement is executed.
    There are two ways in which similar SQL statements with different condition values can be made to "SHARE" cursor during execution:
    1. Writing SQLs with Bind Variables: SQLs having no hard coded literals in them
    For e.g., the query below
    SELECT node.emp_name AS configid
    FROM emp node
    WHERE emp_no = :1
    AND dept_no =
    DECODE (SUBSTR (:2, 1, 3),
    :3, :4,
    (SELECT MAX (dept_no)
    FROM emp
    WHERE emp_no = :5 AND dept_no <= :6)
    AND node.dept_type = :7
    ORDER BY node.emp_name
    Here all the variables are dynamically bound during the execution. The ":X" represents BIND Variable and the actual values are bound to the SQL only at the 4th step of the execution of the SQL.
    In applications: The queries written with "?" as bind variables will be converted into ":X" and are sqls with Bind Variables.
    2. The CURSOR_SHARING parameter: Only Useful for SQL statements containing literals:
    For eg., the query below:
    SELECT node.emp_name AS configid
    FROM emp node
    WHERE emp_no = 'H200'
    AND dept_no =
    DECODE (SUBSTR (:1, 1, 3),
    'PLN', :2,
    (SELECT MAX (dept_no)
    FROM emp
    WHERE emp_no = :3 AND dept_no <= :4)
    AND node.dept_type = :5
    ORDER BY node.emp_name
    In the query above, there are two hard coded literals H200 , PLN. In this case when the same SQL executed with different values like (H2003 , PLN), oracle will create a new cursor for this statement and all the first three steps ( hard & soft parse and optimization plan) needs to be done again.
    This can be avoided by changing the CURSOR_SHARING parameter which can be set to any of three values:
    1. EXACT: Causes the mechanism not be used, i.e. no cursor sharing for statements with different literals. This is the default value.
    2. FORCE: Causes unconditional sharing of SQL statements that only differ in literals.
    3. SIMILAR: Causes cursor sharing to take place when this is known not to have any impact on optimization.
    So, FORCE and SIMILAR values of the parameter will be helping in cursor sharing and improve the performance of the SQLs having literals.
    But here the problem arises if we use the FORCE and SIMILAR other than EXACT.
    alter session set cursor_sharing ='EXACT'
    select 1 from dual;
    '1'
    1
    alter session set curson_sharing='FORCE'
    select 2 from dual;
    '2'
    2
    alter session set curson_sharing='SIMILAR'
    select 3 from dual;
    '3'
    3
    So, this will give extra trailing spaces in when we retrieve from java method and any
    further java processing based on the hardcoded literal values will fail. this needs lot of
    effort in remodifying the existing millions of lines of code.
    My question is i have to use cursor sharing with FORCE or SIMILAR and can't we do the trimming
    from the oracle query processing level ?
    please help me on this ?
    Message was edited by:
    Leeladhar
    Message was edited by:
    Leeladhar

    Please reply to this thread
    How to avoid extr trailing spaces using Cursor sharing opton FORCE, SIMILAR

  • How to avoid printer name prompt while calling Smartform

    Hi All,
    I am calling smartform FM from my program. I am passing following settings in Output-Options and Control-Parameters:
    wa_outputoptions-tddest = 'LP01'.  "Printer name
    wa_outputoptions-tdnewid = 'X'.     "New request
    wa_controlpara-device = 'PRINTER'.   "Device
    wa_controlpara-no_dialog = 'X'.          "No dialog
    Even after these settings I am getting prompt which asks printer name and other details.
    Please tell me how I can avoid the prompt which asks printer name and other settings such as new spool request and print immediately.
    Thanks in Advance.
    Regards,
    Vijay

    Hi Vijay,
    Try like this.
    CALL FUNCTION fm_name
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
    <b>   control_parameters         = wa_controlpara</b>
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
       <b>output_options             = wa_outputoptions
       user_settings              = space</b>
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
       job_output_info            = tab_otf_data
      JOB_OUTPUT_OPTIONS         =
      TABLES
        it_tab                     = itab[]
    EXCEPTIONS
       formatting_error           = 1
       internal_error             = 2
       send_error                 = 3
       user_canceled              = 4
       OTHERS                     = 5
    Regards,
    SP.

  • Problem while using an adobe form "Unable to fulfil request for memory"

    Hi Experts,
    When I try to call a Adobe Form from the porta,l the system encounters a problem and the error message is "Unable to fulfil request for 3665920 bytes of memory space.".Could yopu please provide you valuable suggestion to resolve the issue.
    Thanks.
    Arun.

    Hey fellow ADS developer,
    I had this issue once and had hard time to figure out from where it was coming!
    In fact, check the free space on your SAP Server hard disk (or ask admin guys). It might be that there is no more hard disk! Because every time you generate a form, it is stored on your server harddisk. You need to flush all that temp stuff regularly.
    Hope this  helps
    Yann

  • QR Codes using SAP Adobe forms

    Hi,
    We are printing QR code labels using SAP Adobe forms and using Zebra printers (Z4MPLUS, ZM400 ) for this. Size of the QR code that is being printed is small and we want that to be printed bigger than current size.
    Could anyone help us on how to increase the QR code size? We have tried changing the module height and width in XML Source, but no luck.

    Hi,
    Does anyone have a solution for this ?
    We have the same issue on ZM400 and GX430 Zebra labelprinters.
    The QR barcode is printed very small on the label.
    We changed ModuleHeight en ModuleWidth in de adobe xml source.
    We changed the QRCode en CodeQR to "software" support in both XDC files : zpl203.xdc and zpl300.xdc.
    However after changing the XDC file from "hardware" to "software" support, the QR barcode is not printed on the label.
    Any suggestions ?
    The QR code is displayed correctly in de Adobe LiveCycle Designer (with the correct size).
    Thanks in advance.

  • How to avoid printing of void cheques

    Hi Friends,
    In the check printing program FBZ5,  whenever there are more than 25 line items, the first two cheques are getting cancelled and the third cheque is getting printed and thereby wasting the first two cheques.
    I would like to know, how to avoid printing of such cancelled cheques.
    TIA.
    Regards,
    Mark K

    hi
    good
    you can use like this when you r going to FBZ5 tcode in the right hand side there is a tab called Output Control, there if you check the test print out it ll give you this result
    Indicator: Test Print
    If you select this indicator, the print program carries out a test print (for purposes of fine-tuning the printer output) before printing the actual payment media.
    so before taking the original print out you can able to understand which is going to be cancel and which one is going to print .
    Reward Point If Helpful
    thanks
    mrutyun^

  • How to avoid printing a blank page when there is 'no data' in the report.

    how to avoid printing a blank page when there is 'no data' in the report.

    try like this
    if@section:IND=1
    this template
    end ifsectionbreak
    if@section:IND=2
    this template
    end if

  • How to raise a pop-up page using HTMLB

    Hi friends,
       Can anybody tell me how  to raise a pop-up page using HTMLB.But don't use webdynpro.
    I want to set a TextField  on PAGE A,and a button ,when i click the button,
    it raise up a page B,Page B contains a HTMLB tree,when i click the tree node,
    The textfield value in Page A will get the node text.
    waiting for your great help!

    Hi Raven,
    In case of HTMLB you can use javascript to pop up the new page on click of the button.
    onClientClick="popUpMethod();" of button call a java script method popUpMethod(). which will call the other page. below is the code for opening other page as pop up
    function popUpMethod(){
              window.open("T1Report.htm",'_blank',
          " status=yes,toolbar=yes,menubar=yes,location=no, scrollbars=yes ");     
    in this method you just need to change the name of your htmlb page like T1Report.htm with your html page.
    please revert if you require more information
    Regards'
    Narendra

  • How do I sort or reorganize while using the new Numbers 3.0

    How do I sort or reorganize while using the new Numbers 3.0; I can't seem to find the sort icon.
    Thanks
    ActiveSolutions

    Yes, I understand the convenience of the old Reorganize panel. I thought it was great. The problem is (I'm guessing) that it is really hard to do something like that in Numbers iOS and Numbers for iCloud. So they gave us features that are more likely to work across all platforms.
    If you need to sort just selected rows you could put the =A&C&B formula (or whatever order you need) in just the rows you need to sort. Leave the other cells in column D blank.
    Or, if you're doing a LOT of partial sorting like that maybe you should have the data in separate tables anyway.
    Not saying it's great... just saying there are workarounds... until (if) something like the Reorganize panel comes back by popular acclaim. 
    SG

  • How to improve the load performance while using Datasources for the Invoice

    HI All,
    How to improve the  load performance while using Datasources for the Invoice . Actually my invoice load (Appx. 0.4 M records) is taking very long time nearly ~16 to 18 hrs  to update data from R/3 to 0ASA_DS01.
    If I load through flat file it will load with in ~20 Min for the same amount of data.
    Please suggest how to improve load performance.
    PS: I have done the Inpo package settings as per the OSS note.
    Regads
    Srininivasarao.Namburi.

    Hi Srinivas,
    Please refer to my blog posting [/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction|/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction] which gives the details about the package size setting for extractors. I am sure that will be helpful in your case.
    Thanks,
    Divyesh
    Edited by: Divyesh Jain on Jul 20, 2010 8:47 PM

  • How can I print from my iPad using AirPrint?

    I have an HP6500 printer connected to an Ethernet port of my wifi router. How can I print from my iPad using AirPrint?

    Your printer may not support Airprint.  Attached is a how to from Apple for Airprint.  If you click on the link for HP supported printers, the HP 6500A is listed, not the HP 6500.
    http://support.apple.com/kb/HT4356

  • Using the Adobe Forms for printing through portal

    Hi All,
    I've got a problem with the fact that I do not know exactly how to use the Adobe Forms from the portal.
    I've got the Form Objects done (Interface & Form using SE80) and they work OK when testing the form. The Interface gathers all the datas etc. and the form displays this correctly.
    My problem now is that I need to have this form available from the portal, and this I presume needs some WebDynPro stuff or something else? I'm totally lost on this part ...
    The customer wants to have a button or link in the portal that opens a new window with the produced PDF opened in the new window, much like opening a static PDF file. The user then has the option to print the PDF him/herself using Adobe Readers own print mechanism.
    My interface has only one Import parameter (PERNR number) and one EXPORT parameter (default). The PERNR number must be supplied to the interface so that it can gather all the needed data based on this number.
    Any help on this will be greatly appreciated and rewarded accordingly.
    Thankyou in advance,
    Kim

    Hi Arnab,
    from a forms point of view:
    (I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
    If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
    If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Hope this helps,
    Markus

  • Current page printing problem - while repeating pages : Adobe forms

    Hi Experts,
    I have a problem in printing current page number of an adobe form.
    My requirement is that , my form got 2 pages. On first page i am not printing page numbers and excluded from numbering.
    Numbering starts from second page. The second page needs to be repeated twice.
    In this case my page printing should look like :
    First page - no page number
    second page - 1 of 1
    Third page - 1of 1 (as it is a copy)
    IF second page extends to multiple pages (eg.. 2)
    First page - No Page no
    First instance of second page - 1of 2 , 2 of 2
    Second instance of second page - 1 of 2 , 2 of 2 . Presently it is printing like : 3 of 2 , 4 of 2. I need to initialize current page count. I could able to set the total page count 2 via variable from print program. But while printing the second instance, I am not able to initialize the current page count.
    I have seen the following thread which exactly talks about my problem but with out any solution.
    Re: Adobe Forms - Page Count
    Can any one help me in this regard.
    Thank You,
    Regards,
    Naresh.

    Hi,
    I am not sure how your page design looks like.
    Assumption:
    During runtime, ONLY 1 page for Page1, multiple pages for Page2 and Page3, same number of pages for Page2 and Page3.
    This is what i did:-
    I have 3 pages:
    Page1: With NO page number: ONLY 1 page
    Page2: With page number: Multiple page
    Drag the "Insert -> Custom -> Page n of m"
    - TextField: "CurrentPage",
    -- replace the original script: "this.rawValue = xfa.layout.page(this)" with "this.rawValue = xfa.layout.page(this) - 1"
    - TextField: "PageCount",
    -- replace the original script: "this.rawValue = xfa.layout.pageCount()" with "this.rawValue = ( xfa.layout.pageCount() - 1 ) / 2"
    Page3: With page number: Multiple page
    Drag the "Insert -> Custom -> Page n of m"
    - TextField: "CurrentPage",
    -- replace the original script: "this.rawValue = xfa.layout.page(this)" with "this.rawValue = xfa.layout.page(this) - 1 - ( xfa.layout.pageCount() - 1 ) / 2"
    - TextField: "PageCount",
    -- replace the original script: "this.rawValue = xfa.layout.pageCount()" with "this.rawValue = ( xfa.layout.pageCount() - 1 ) / 2"
    Good luck.

  • How to transfer pc file to Samsung using the adobe reader app?

    how to transfer pc file to Samsung using the adobe reader app?

    I solved the problem.  I manually created my own Adobe PDF folder by connecting the phone via usb to my PC, Windows Autoplay gave me the option to 'Open device to view files'. Explorer then displayed all the folders on the phone.  I created an Adobe PDF folder manually and copied the PDFs I wanted to view into that folder.  Adobe Reader then found the files without a problem.  I clearly was missing something quite simple but something I'm sure a lot of people would miss.  Perhaps if the next version of Adobe Reader for Android created this folder automatically, like Kindle and Kobo and other readers do, it might save a lot of people a bit of a headache.

Maybe you are looking for

  • How to append binary data to existing file in OSB

    Hi, I have an OSB project that I need for it to append binary data via ftp.  Here's my current flow: MFL binary output --> Replace $body with mfl binary output --> Publish to action (Business service that's configured to ftp binary data). However, wh

  • BB Bold won't switch on

    Ok So last night while using KIK Messager on my bb 9900 bold the app froze, I tried the alt+Shift+enter combo but nothing happend I then pulled the battery and the phone went off. Once the phone went off it doesn't want to swtich on. NO Red Led nothi

  • User-configurable region ordering

    We have a requirement for users to be able to specify the ordering of regions on a page. A typical page may show 5 to 10 reports, some of which are more of interest to some users than to others. Therefore, for user A it may be appropriate to show the

  • How to Insert.jpg and .ico files onto to JButton

    Hi, When I used to inserta jpg and ico files in to JButton, it's not coming. Can please help me Thank You

  • ANNOUNCE: JRockit R27.1 and JRockit Mission Control 2.0 released!

    New versions of JRockit and JRockit Mission Control are now available! The following new products have been released: - JRockit 1.4.2 R27.1 - JRockit 5.0 R27.1 - JRockit 6 R27.1 TECHNOLOGY PREVIEW - JRockit Mission Control 2.0 JROCKIT R27.1 =========