Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all 1237 articles
Browse latest View live

PDF Forms, JavaScript, Page Breaks, etc.

$
0
0

Hello Gurus,

 

I have few questions about SAP PDF Interactive forms. I am not doing interactive form, but simple printout, but I want some "layout changes" before I send it to printer/show the form to the user.

 

For example I am doing material movements and I want to make per page sums per unit. E.g.

I have 5 PCE, 10 KG, 20 L and I want to make subtotals/totals per unit, but I am unable to do it dynamically (or AM I?).

 

It is not a problem to get sums into a JS object in form e.g.

{ PCE : { Column1: Value, Column2: Value }, etc.}

 

The problem I see is that I am unable to do "dynamic page breaks" without conditional page break, but when I do conditional page break I need to find number of lines per page before the form start by counting and specifying how many lines there are per page, in ABAP (or is there any other way?) and then do conditional break on per page basis (working even though I don't find it elegant).

 

The other problem is, when I use conditional breaks I am unable to "duplicate" the subtotal line. When I try to access the instanceManager, it tells me, that it is null. So to do something like this.instanceManager.addInstance(1) is not usable (I am not telling that in official help I should use Layout:Ready function to fire up my own script to change layout, but on note I see, that I should not modify the layout DoH)

LiveCycle ES2 * Adobe LiveCycle Designer ES2

 

I hope I had explained myself clearly, although I had tried to describe what I have been through. The main question is. Am I able to do dynamic layout changes with script during AdobeForm generation? Or is there any way to get the dynamic per page subtotals to work, preferably with scripts, not counting in ABAP?

 

Thank you,

Regards,

Petr Sourek


Print Address in adobeforms

$
0
0

Hi,

 

I have to print address on adobeforms based on some conditions.

 

For condition 1, I have to get address data from SAP tables using ADRNR

for condition 2, I have to use pre-defined address(hard-coded) to print.

 

What is the best way to print address in this scenario? I thought of using Text module/standard text to print address(for the case of pre-defined address)

but, this won't suitable for my above condition 1.

If i create internal table, formatting is not coming correctly (address lines have more gap between lines) - How to reduce gap between lines?

Can you please help me .

Thank you in advance...

 

Regards,

Kumar

Adobe Form with multiple pages cannot output successfully

$
0
0

Dear Adobe Form specialist,

 

I got a question about  PDF form with multiple pages is not able to output successfully.

 

but weird things is, PDF form with only one page is workable.

 

I really don't understand where is missing or wrong in my customization.

 

Guys, please take a look at the screenshots which is the information of spool history.

 

Output device LOCLPDF, the device type is PDF1,

0001.JPG

0002.JPG

Nested Table Overflow Issue

$
0
0

Hi Experts,

 

I am creating a form that is required for our India business which will be printed for billing documents. I have a table with 5 columns. The first column is for the billing document line item number. I then merged the last four columns together and inserted a table with 23 rows and 4 columns. So each billing document line will have 23 rows of information:

 

Table.png

Table Layout.png

The header data, which prints before this table, contains an address which will only print on the first page. So, depending on the number of lines in the header address, the first page of the document will contain only the header information. The table does not start printing until the second page. After that, the table flows properly. I.e.: If not all 23 values for a line item will fit on the page, the table will break and the remaining values will print on the following page. The Main subform for the page is set as flowed. Since the line items will break properly after the first page, I'm not sure what setting I have wrong. I REALLY need some help on this as this is supposed to go live next week.

 

Thanks!

Julie

Adobe dubugging issue!

$
0
0

Hi Experts,

 

 

I have an issue regarding Adobe form and i want to dubug the form. I put external break point(form calling from web dynpro) and also i wrote 'BREAK-POIINT'  in initilization part(form interface), but the problem is the form is not getting triger, i check the settings(debugging) its all correct. Anyone have any idea???

Please help me its very urgent.....

 

Thanks in Advance.

Text Field overflow

$
0
0

Hi Experts,

 

how can i make the label to appear at the start of content when there is overflow instead of aligning it to appear at the centre like in the first pic.
. i am to new adobe form designing.

Help would be greatly appreciated

 

 

Overflow.JPG

Need below format.

 

Aligned.JPG

 

Thanks

Vamsi

cx_fp_api_repository permission failure error

$
0
0

Friends and Experts,

 

I am working on PDF based print forms and am getting form activation error. While debugging the form activation process, I get this message "No authorization to perform this action".

 

The code in question is related to MESSAGE ID and goes like this:

 

-


WHEN cx_fp_api_repository => permission_failure.

 

<b>MESSAGE ID i_exception -> msgid TYPE 'S'</b> -> here is where error occurs

NUMBER i_exception -> msgno

WITH i_exception -> msgv1

i_exception -> msgv2

i_exception -> msgv3

i_exception -> msgv4.

-


 

Please suggest solutions on how to rectify this.

 

Points will be rewarded for helpful answers.

 

Thanks,

Arun.

Hide body row of a table based on cell data

$
0
0

Hi Experts,

 

I have a requirement to hide a body row of table based on cell data(when field is 0.00) or to hide body row on page 1.

 

When I write script on 'layout:form' event of body row then body row disappears but that much of space still comes that looks weird.

My script was:

 

if ( this.field.rawValue == "0.00" )

{

this.presence = "hidden";

}

 

I want to hide body row dynamically means width of row should automatically adjust.Space should not appear in between.

 

Please help me out.

 

Thanks in advance.

 

-Ankit


To print multiple header row of table in adobe forms

$
0
0

Hi Folks,

 

I have a requirement to print 1st header of table on all pages and 2nd header on subsequent pages(2nd onwards). I have created a table with two header (Header1 and Header2) on it. Header1 is used to print column heading and Header2 is used to print carry-forward total from previous page.Hence Header2 is not required in page 1st. When I tick 'Include Header row in Initial page' and 'Include Header row in Subsequent pages' in pagination tab of Header1 then tick of Header2 for 'Include Header row in Subsequent pages' in pagination tab automatically disappers. I mean I am not able to print both header on subsequent pages(2nd onwards).

 

I even tried grouping two headers and in pagination tab ticked 'Include Header row in Initial page' and 'Include Header row in Subsequent pages'. This approach also didn't work for me. I can't even print Header1 on master page because of some constraints. I tried with another table also which had only 1 Header row and ticked both 'Include Header row in Initial page' and 'Include Header row in Subsequent pages' in pagination tab. This also goes into vain.

 

Request your help on this.

 

Kindly respond ASAP as this is urgent.

 

Resonse would be appreciated.

 

Thanks,

Ankit Agarwal

How to repeat the first row of a table on every page?

$
0
0

Hello everyone,

 

I have a problem in creating a new form and hope that you can help me.


The requirement is that the first row of a table is to be repeatedly printed on each page. The structure of each page to look like this:

1. Header of the table 

2. First row of the table

3. Data content of the table
The data contents fills approximately 2-3 pages.


I have already tried to transfer the first row of the table as a separate table and insert them between the actual header and the data content, but without success.

So basically I need two headers for one table. Unfortunately, the content of the second header is dynamic, so that it cannot be permanently stored in the form which would be the most comfortable solution.

Can you help me with this problem?


Kind regards

Kai Schluesener


Add fields to MEDRUCK_PDF in SFP

$
0
0

I have created a Purchase Order form using Form Builder (SFP).  I would like to add Material Group Description to the form but that field, WGBEZ, is not in the list of fields available in the Context tab.

Right now, I have added an import table parameter in the MEDRUCK_PDF interface that has MATKL and WGBEZ.

 

I think I need to add code to populate that table somewhere in the Print program, maybe in FM06PE04.

 

Anyone have any experience with this?  Or am I boldly going where no ABAPer has gone before???  :-)

 

Thanks,

 

Chris

Can we generate DSC field dynamically in a subform?

$
0
0

Hi,

 

I have requirement as I need to generate signature field dynamically in a subform . Is it possible ? When I put DSC field in repeatable subform, I got the below warning. PFA the screenshot. Please guide me in this issue.

 

Thanks...!!

Problem with FM FPCOMP_CREATE_PDF_FROM_SPOOL only works with one page

$
0
0

Hi Guru's

 

I have a order spool with a result of multiple adobe form. Now I want download this order spool in a rawstring variable. The function module convert_abapspool_2_pdf work it but to create the file passing the raw string variable to open the .pdf I see the following error:


There was an error opening this document. This file cannot be opened because it has no pages.


I think that this function module not work with adobe form.  I try with the function module FPCOMP_CREATE_PDF_FROM_SPOOL but only works with 1 page indicate in the import parameter  I_PARTNUM.  I NEED ALL PAGES of the .pdf.


Please someone can me help me?,


Thank you very much,


Carlos.

Is it possible to print adobe document using different Trays

$
0
0

Hi All,

 

We have a scenario,

 

Whenever spool is generated for check printing, they want 1st page to be picked up from Tray1(have loaded this tray with cheque printed on bottom of the page and on top it logo and some information will be printed when picked the sheet from first Tray1) and from 2nd page onwords, it should pick from Tray 3(it has all A4 sheets).


Is this scenario possible ? for adobe forms.


Thanks in Advance


Regards

Srini



SO10 Text in PDF Form

$
0
0

Hello together,

 

I have created a SO10 as an include-text in a PDF Form.

The form contains only one page.

The issue is that when the SO10 text is too Long i get an error message and the form is not automatically Extended.

when the text is short the form is correctly  displayed.

 

I have set all the parameteres such as paging... see screenshot.

 

how can I Trigger the automatic Extension of the page if it'needed.

 

Any Ideas?

thanks a lot


Last page not to print

$
0
0

Hello,

I have a form that has 3 pages. Last of them I don't want to print. Is there any way to switch it off?

Thanks!

Merging Cells in Tables in Adobe form

$
0
0

Hi Experts,

 

I need to merge two cells of a row in a table in Adobe form based on a condition.

Is it possible using Java scripts?

How to achieve this functionality?

 

Kindly give some suggestions.

 

Warm Regards,

Nalla B.

Viewing all 1237 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>