Adobe forms multiple print issue

Hi All,
I am new to ADOBE forms and my development involves generating prints of the same form with different data on it in one go. Now everythign is working fine except for the print preview bit. I want to disable print preview and dialog. I have passed all necessary parameters for FP_JOB_OPEN  but that is not providing desired results. Could anyone please advice me on how to fix this issue?
Regards,
Renjith

Hello Renjith,
Please try the below code. It should work.
DATA : ls_params TYPE sfpoutputparams.
ls_params-dest = <dummy printer maintain in your table TSP03 like 'LP01'>.
ls_params-nopreview = 'X'.
ls_params-nodialog = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
     ie_outputparams = ls_params
EXCEPTIONS
     cancel = 1
     usage_error = 2
     system_error = 3
     internal_error = 4
     OTHERS = 5.
Reward point if it solve your issue.
Thanks and Regards,
Gopi

Similar Messages

  • Adobe form -- multiple copies issue

    Hi experts,
    using VF03, when i print adobe form with multiple copies automaitically spool is generated with 2 copies.
    but my problem is in the first copy price value at the bottom of the page is displayed, but the same price value in the second spool is displayed as ZERO.
    my adobe form has a custom driver program.
    how to go ahead with this issue.
    Regards,
    Jayant.

    sounds like the custom driver program is processing the form twice with data clear values occurring between the two executions.  Are you sure the program sends once with a copy counter set to 2?

  • Adobe Form for printing Pay Cheque

    Does anyone know / tried using adobe form for printing pay cheque using payment medium workbench (PMW) instead of using  traditional sapscript and using RFFOUS_C program ?
    Regards,
    Trikanth Basetty

    Hi Praveen,
    Find out the data what is being printed for the first time, and check what is the flag that is making the change.  Hope that should resolve your issue.
    Thanks,
    Rakesh.

  • Get number of pages of adobe form before printing

    Dear Experts,
    I want to get number of pages adobe form will print before printing the form.
    Please suggest.

    Hello Sagar,
         Without executing the generated Function Module, it is not possible to get the page count of a form in driver program because the generated FM itself is responsible to execute the whole layout and determine the number of pages in the PDF output. The below screenshot shows the number of pages in the structure /1BCDWB/FORMOUTPUT of generated FM after the generated FM is executed successfully.
    I really don't know why you need the number of pages before calling the generated FM. But if you still need it, then you might need to call the whole FM cycle twice( FP_JOB_OPEN , Generated FM, and FP_JOB_CLOSE ).
    1) First time while calling the FM FP_JOB_OPEN, you need to modify the contents of SFPOUTPUTPARAMS structure. Send the blank values in fields GETPDF, REQNEW and REQIMM, and send the "X" in fields NOPREVIEW, NOPRINT and NOARCHIVE and 000 in field COPIES.
    The reason for doing this is, we do not want actual PDF output. We only want to determine the number of pages.
    2) Now execute the generated FM . You will get the number of pages in the structure /1BCDWB/FORMOUTPUT-PAGES as shown in screenshot above.
    3) Now call the FM FP_JOB_CLOSE as usual.
    4) Again call the FM FP_JOB_OPEN. This time you again need to modify the contents of SFPOUTPUTPARAMS structure reversely. Send the "X" in fields GETPDF, REQNEW and REQIMM, and send the blank values in fields NOPREVIEW, NOPRINT and NOARCHIVE and 001 in field COPIES.
    This time we need the actual PDF output.
    5) Now do the required processing with previously fetched number of pages before calling the generated FM.
    6) Now call the FM FP_JOB_CLOSE as usual.

  • ADOBE Form Table printing Multiple pages

    Hi,
       I am having a suituation that in ADOBE Forms I need to display same internal table data in multiple pages. But while i display it the data only printing in first page. I want to print the same data in the second page also. How to do this? any idea please.
    Regards
    Srikanth S

    Hy Otto,
    his requirement was a bit different from what you answered I am saying this because i've stumbled on the same problem. I have a table that varies between 4 or 8 rows and let's say half of the page it's enough for it. But i need this table to appear on every page. I created the table in the Master Page, but it shows only on the first page. The other pages will not display the table.
    Thanks,
    Alex

  • Adobe forms-multiple pages display problem

    Hi All,
      I had a query regarding the display of multiple pages in adobe 5.5 version.
    I had data which suits in more than one page in adobe.But its displaying only the data in the first page.And it is displaying the empty second page also,but with no data.So any suggestions to solve this issue???

    Hi,
    version  5.5.1.280? It is version of Adobe Reader? If yes then you can't use this version for viewing of adobe forms (note 834573 - SAP Interactive Forms by Adobe: Acrobat/Reader version).
    Another suggestion: Is subform of your first Body Page flowed (tab Object->Subform, propertie Content)? If not then content of this Body Page can't dynamically grow.
    Check subforms of your Body Pages, especially tab Object->Pagination.
    Regards
    Michal

  • Problem with adobe forms multiple pages

    Hi
    can someone help me how to get multiple pages in adobe forms in case the item lines exceeds the page capacity?
    Thanks

    It should not be much of a problem. Here is a detailed solution to your problem:
    In your context , create a node MasterNode of cardinality 1...1 and singleton set to true. Bind this to the dataSource property of the InteractiveFormElement.
    Inside this MasterNode create a node Data of cardinality 0...n and singleton set to false. Keep all of your payslip attributes inside this node.
    In your interactive form element , in the Body Page create a subform of Type Flow Content and Flow Direction Table .Check the chechbox  for Allow Page Breaks within Context . Inside this subform create another subform of Type Flow Content and Flow Direction Western Text . Uncheck the checkbox for Allow Page Breaks within Context . Put all of your pay slip UI elements inside this subform and bind them with the attributes under the node Data. Also tick the property of the inner subform under the section Object->Subform that says Repeat Subform for each Data Item
    In your view controller coding area , create an element of the node Data for each employee record and populate it with values for the particular employee . 
    Add all of the elements that you created into an ArrayList and bind this ArrayList to the node Data. Now your form is ready for n number of employees.
    Put this sort of coding in your view controller coding:
    IDataElement objData = null;
    ArrayList arlData = null;
    int intNumberOfEmployees=0;
    try
            arlData = new ArrayList();
            intNumberOfEmployees = //Get size of your model node that returns employee info
            if(intNumberOfEmployees>0)
                    for(int i=0;i<intNumberOfEmployees;i++)
                            objData  = wdContext.createDataElement();
                            objData.setName("//Value fetched from backend here");//Eg:wdContext.nodeEmployeeInfo.getEmployeeInfoElementAt(i).getname()
                            //Similarly set all of the values
                            arlData.add(objData);
            wdContext.nodeData.bind(arlData);
    Hope this helps you...

  • Text in ADOBE form not printing while printing the form

    Hi All,
    I have created an adobe form and am trying to trigger an output linked to the form. The problem is that the output that gets triggered does not show some of the texts which are existing in the form.
    So although the values are coming correctly the overall output becomes incorrect as the text goes missing. Let me know if you have any pointers to the issue I am facing.
    Cheers,
    Sharadendu

    Hi Sharadendu,
    First of all you need to put this question in Adobe Form related Forums.
    Problems can be many in this case.
    1: Overflow subform not selected.
    2: Some condition failing in the text or subform.
    3: Incorrect nesting of subforms.
    Mainly your problem will be with the subforms , so you need to croos check all the subforms which you have used to hold data.
    Regards,
    Sandeep Katoch

  • 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

  • Adobe form not printing on A4 paperbut printing on letter format

    Hi All,
    We have made a form on letter format and its working fine.
    However when treid tofire output to A4 size paper its not working.
    Can some please  help me with this,its not that I can change the paper size in my form from letter size to A4.
    I want the smartform to be in letter format but I should be able to take the printout in A4 also along with letter format.
    Please help me on this. Thank you in advance.
    Regards,
    Kishore Kumar Dasari.

    Hi,
    Do you use a smartform or an Adobe form? You mention both. If it is a smartform and you specify LETTER in the form, then acommand is sent to the printer to select paper size LETTER. Similarly if you specify DINA4 in the form, then acommand is sent to the printer to select paper size A4.
    You can specify page format INCH12 in the form and then no command is sent to the printer so the default paper size of the printer will be used.
    Regards,
    Aidan

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • Change content in adobe forms of Print Preview in Appointment screen

    Hi ,
    I have a requirement in which I have to change content of adobe forms which comes after clicking on Print Preview in Appointment screen,
    I am new to Smart forms and Adobe forms , request expert suggestion onto this.
    Thanks.

    Try opening in Chrome or Firefox and inspecting the elements. You can turn easily locate the CSS that's driving the background and experiment with settings. You get there by right clicking on an element and select Inspect Element from the options. It's much easier than trying to go through all of that HTML code without a style sheet to go along with it.

  • Using Adobe Forms to Print 1099Misc

    In past years we were using SAP SCRIPT to print 1099misc and need to use something more current.  We'd rather not use SMART FORMS but use Adobe Forms.  When search in transaction  code SFP I found interface GS_IDWTCERT_US_1099 and form  IDWTCERT_US_1099MISC. 
    It appears that transaction codes S_P00_07000134 and S_PL0_09000134 use Smartforms processing.
    Can anyone help me figure out how to the abobe interface and forms noted above to process 1099misc forms?
    Regards,
    Helen

    Generally, if you have the fonts on your system, then the fonts should properly display. To embed the fonts on your system, you would again have to have the fonts on your system. It sounds like some fonts are being used that you do not have. You might try downloading the fonts you think might be the problem. Be careful, you have to have the precise font, not one that sounds correct. Even sometimes fonts with the same name are not really compatible. You should be able to select the text touch up tool (new name in AA X) and select some of the text and see what the font name is. Then you know what you should be looking for.

  • Adobe Reader X printing issue

    Hi there,
    since we implemented Adobe Reader X in our testing invironment, we habe a printing issue with some of our printers.
    In our main network we use Adobe Reader 9.3.4 and with that version therer are no problems with any printer.
    Even if a document was printed by a user as more than 1 example, on some printers Adobe Reader prepares the document the many times the user wants to print it. E.g. the user wants to print it out 5 times, Adobe Reader prepares it 5 times for the printer, then it would be printed out.
    This is a major problem if a user wants to print out documents with more than 20 pages more than 50 times...
    This problem first appear with Version X of Adobe Reader and I didn't find anything about that.
    Can anybody help us with that. If more information is regarded, I would to my best to publish...
    Regards

    Can nobody help with this request?

  • Adobe Forms Landscape Printing

    Hi all,
    Does anyone know how to set up an Adobe Form to default wider than 8.5 x 11in? I have a Form on a Body Page. In the Layout section I tried to set the Width and I tried the "Expand to Fit" checkbox, but it has no affect.
    At design time, I can place fields further than the 8.5inches, but they don't come through at runtime.
    Kind regards,
    Gough

    I Managed to solve this by moving the form into a page and then setting the page to landscape...

Maybe you are looking for

  • We just upgrade to Adobe Illustrator CC and my menus and toolbars are huge icons.. How do I make them smaller?? Its freaking me out.

    We just upgraded to Adobe Illustrator CC and all my toolbars and icons and menus are huge.. I just need to know how to make them normal sized again.

  • IPOD I NEED HELP!

    MY COMPUTER RECENTLY CRASHED AND AFTER I DID A COMPLETE RESTORE,I CONNECTED MY IPOD TO TRANSFER THE MUSIC STORED ON IT TO MY ITUNES LIBRARY AND IT ERASED ALL THE SONGS ON MY IPOD.DO I HAVE TO RELOAD ALL THE MUSIC FROM MY CD'S?

  • Multivalue Parameter

    I have the query below that works fine, but breaks when I make my parameter multivalue.  I tried making the  syntax in(@category) and didn't work..  Any ideas? select *fromiv00101 i where i.uscatvls_2 =CASEWHENi.uscatvls_2 =''THEN'NA'ELSE@category EN

  • Dyn Admin unable to login

    Hi, iam unable to login to dyn admin with admin/admin.the errors are ., 19:15:32,271 ERROR [STDERR] java.lang.UnsupportedClassVersionError: Bad version number in .class file 19:15:32,287 ERROR [STDERR] at java.lang.ClassLoader.defineClass1(Native Met

  • Security Violation when using -link to sun APIs

    I'm interested in a work around for this irritating (but non-critical) bug: When I create application docs that -link to the sun APIs, moving from my Javadoc pages to the sun API pages causes a browser security violation: Line: 13 Error: Access is de