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

Table - minimum height?

$
0
0

Hi,

 

I'm creating an PDF print form for a customer and they have a layout requirement which I cannot figure out how to do.

 

The problem is that a table should fill the most of the page regardless of the number of lines, but when the document should be paginated, the footer should be moved to the last page. I hoped it would be as simple at the ability to set minimum height on the bodyrow, but this isn't possible.

I hope someone has a great idea how to fix this, as it's beginning to drive me crazy?

 

Here you can see page 1 and 2 from the customers layout description - if there is no pagination, page 1 should look like page 2.

2014-03-31_1448_001.png

2014-03-31_1448.png

 

Regards,
Stefan


Dynamic Adobe Forms - Strange JavaScript Issues

$
0
0

Hello experts,

 

before i start with the the issue, I would like to describe some functions which we have developed in our adobe form (not interactive Form!).

  1. We are displaying XHTML Text coming from SAP , in order to load the XTHML into the controls we are calling the following line of code during the initialize event:
    this.value.exData.loadXML(this.rawValue);
  2. We are printing a table which contains 3 position types (SAP DATA)
    • Product items
    • Groups
    • Texts/Pictures (XHTML/Binary Data)

        On each new page a header line shall be printed if the type is product item. This codding is placed inside the layout:ready event:

 

data.BODY.HIERARCHY.GS_HIER.DATA.ALTERNATIVE_NODE_TYPE.NODETYPE::ready:layout - (JavaScript, both)
var vPage = xfa.layout.page(this);
Script.setHeaderline(vPage, this.rawValue, this.parent.FLAG_HEADER_LINE.rawValue);
data.BODY.HIERARCHY.GS_HIER.HEADER::ready:layout - (JavaScript, both)
var vPage =  xfa.layout.page(this);
Script.getHeaderline(vPage);
if (Script.gHeader == "X") {  this.presence = "visible";
}
else {  this.presence = "hidden";
}
SCRIPT SECTION: -->
var gHeader = "Y";
var level_hier = 5;
var new_page;
var gPage = 1;
arrHeader = new Array();
function setPage(in_page) {  gPage = in_page;
}
function getPage(out_page) {  out_page = gPage;  return out_page;
}
function setHeaderline(in_page, in_nodetype, in_flag_header_line) {  if (in_page != gPage) {       if (in_nodetype == "1" && in_flag_header_line != "X") {            arrHeader[in_page] = "X";       }  else {       arrHeader[in_page] = "N";  } }  gPage = in_page;
}
function getHeaderline(in_page) {  gHeader = arrHeader[in_page];
}

 

The first functionality was working always pretty good. For making the second functionality available we started calling the Adobe Forms using the Parameter DYNAMIC = 'X'. Unfortunaltey the first functionality is then not working anymore correctly. We have tried to change javascript processing to server side/client side and both, but in the mode DYNAMIC = 'X' it does not have any influence, all javascript is performed at the client and at runtime. The result is that some pdf reader can not see the XTHML texts and we are expierencing some other problems with pictures.

 

We need to have both functionalities working at the same time for all readers. I guess this is only possible if the javascript is processed at the server side and the ADS returns a finished/static PDF document.

 

Does anyone has an idea how to solve this issue ?

 

Thanks a lot,

 

 

Wladimir

Making Drop-Down field as readOnly for Initiator in HCM P & F

$
0
0

Hi Friends,

 

Thanks in advance,

 

My requirement is to make a drop-down field as Read-Only for Initiator and same field should be editable for Approver

 

Below is my logic at the Layout Level.

 

if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |

   $record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" )

then

this.access = "readOnly"

endif

 

Regards,

Sridhar.J

javascript in adobe forms

$
0
0

Hi experts,

 

I call a web service in javascript when button is clicked. Please help check the following code:

try {
xfa.host.messageBox("welcome");  //pop-up
var myRequest={Celsius:"50"};
var service = SOAP.connect( "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl");
xfa.host.messageBox("Connected" + service); //pop-up "Connected[objectSoapService]"
for(var i in service) xfa.host.messageBox(i);    //nothing
var response = service.CelsiusToFahrenheit(myRequest);   
xfa.host.messageBox("Called");
xfa.resolveNode("TextField1").rawValue = response ;
} catch(e) {
xfa.host.messageBox(e.toString());    //pop-up "TypeError:service.CelsiusToFahrenheit is not a funciton"
}

 

 

Thanks.

BADI QISR1 not being triggered

$
0
0

Hie guys ,

 

I have a problem , i am trying to implement BADI QISR1 so that i am able to pass data to my form interface parameters

from NWBC to adobe form. I have activated everything pertaining to the BADI but its not being called before form processing .

Does the BADI have to be activated from SPRO so that it works with ISR or what ? i have tried setting external break points

and run NWBC but still to no avail. The BADI is not being recognised. My filter values for the BADI are also in order so i don't

know where else to look. I identified the BADI using CL_EXITHANDLER  so i am certain it works for my process.

 

I am using ECC 6 EHP7 system.

How to develop a single form for multiple Layouts in Adobe

$
0
0

Hi experts,

 

I have Developed an AdobeForm in Letter Layout.

Is there any settings in ADS/Layout in SFP, for giving print in both Letter and A4 Pages without developing new Page Layout?

We are facing allignment issues, if print is given in A4.

 

Thanks in Advance!

Roopesh

Can we open a Adobe input form in Portal and save it in SAP?

$
0
0

Hello,


We are from bulk sale industry, our customers are individual store operators. We want to provide a Adobe Interactive Form in our portal to these customers so that they will enter material data submits the form to the workflow/system.

 

1) Customers are individual store operators

 

2) We want to place a Adobe Interactive Form for our customers in our portal

 

3) So that customers will open the portal and then opens the AIF and enters the input data

 

4) Finally, they will submit the form for workflow

 

Then, it should save into SAP system after proper workflow process is done

 

Pls. let us know the feasibility, concerns, approach, thoughts, pro & cons

 

Thank you

Master pages

$
0
0

Hi,

 

i have a problem by using more than one master-pages.

 

I used this article: Using Multiple Master and Body pages in the Adobe Forms

 

My form has 2 master-pages "MS1" and "MS2" and many body-pages "S1" - "S9". Only first body-page "S1" must have master-page "MS1". Other body-pages "S2" - "S9" must have master-page "MS2".

 

When i work and test in designer (transacioin SFP -> Tab "Layout") - it works good. But, if i start test using F8 and show "Print preview", all pages have master-page "MS1".

 

Unfortunately i cannot find any issues to this problem.

 

Thanks


how to update image in adobe form

$
0
0

Good Day

 

I am trying to update image in adobeform. i used object library->image->and double clicked it and i got a popup and given the path. i got my image there

but when i am running my adobeform in url  I am unable to see the image on it.  is it  because the path is from my desktop.  there is no binding done with any field on the context of adobeform.. do i need to upload the image in se78 and then do binding....

 

 

pls help

 

Regards

Print more then one pdf in window

$
0
0

Hi, i use print preview for printing one pdf in crm, for one pdf everything works fine, but i need print more then one pdf in one popup window, any idea how to do it ?

access body page node index from correspondent masterpage

$
0
0

Why

I have a repetable form in a body page for a table and after each form i have a pge break. Since each body page will have a masterpage instances, how can i know the body page form index inside de masterpage event? I cannot use the runtime currentpage and it is my undestanding the properties "global" variables keep their value for each page (am i rigth)?

iv tried data.Main.index but doenst give me a value, maybe im using the masterpage wrong event..

best regards

Landscape and Portrait Format - Adobe Forms

$
0
0

Hellos,

 

Need your help and ideas .

 

We have designed our adobe forms in portrait formats. Now, we have a particular printers where paper will be

 

in landscape format when getting printed. One solution, which we already got is to design new layouts in landscape format.

 

But question is , can the same be achieved at device type level without changing our layouts from portrait to landscape at design time.

 

Doing at device type level, will avoid creation of duplicate layouts ( portrait and landscape ).

 

Thanks

Adam

Displaying the Images on the Adobeform

$
0
0

Hi,

 

 

I want to display the image on Adobe form using URL option.  I have the URL obtained from the function module

 

'ALINK_RFC_DOCUMENT_URLS_GET' (dynamic).  The URL will be varied for different orders.

 

 

Can you please provide me some example to full fill the above requirement.

 

 

Thanks in Advance.

How to get current date?

$
0
0

Hi,

I am using JAvascript in my ADOBE form and my requirement is to check the date of birth entered by the user.

The date should be < current date and the calculated age on current date should be >= 18 years.

 

Could anyone help me to achieve this.

 

Thanks,

Shilpa Bansal.

Error in folder - node creation

$
0
0

HI All,

I have create a folder and drag and dropped few fields into the folder and gave a condition that CARRID is AA, select the folder, but it shows the following error. Could any one please say what should i do ?


Adobe Reader 11.0 (AcroRd32) does not close

$
0
0

Hi,

 

I am using CL_GUI_FRONTEND_SERVICES=>Execute method to print PDF form in foreground passing '/t' as parameter. Once executed the Adobe Reader opens and then the file opens and close and go to printer but the Adobe Reader remains open and does not close.

 

Is there any way I can close the reader too along with the document?

 

Thanks for the help.

 

Regards,

AShwini

Making Drop-Down field as readOnly for Initiator in HCM P & F

$
0
0

Hi Friends,

 

Thanks in advance,

 

My requirement is to make a drop-down field as Read-Only for Initiator and same field should be editable for Approver

 

Below is my logic at the Layout Level.

 

if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |

   $record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" )

then

this.access = "readOnly"

endif

 

Regards,

Sridhar.J

Fields appear as "Read Only" in an Int.Form called from a WD

$
0
0

Hi Experts!

I am having a doubt in an Adobe Int.Form, that is called from a WD application.

The fields that are in my Form, always appear as a "read only". It is not possible to modify anything there.

 

Here, I describe the steps that I follow.

 

I create a very simple WD application. In its WD View, exist an unique Object (Adobe Interactive Form).

 

In that object, I set the properties:

"Data source": a context variable type "my structure". "My structure", is a simple structure with a couple or three fields, let´s say PERNR, BUKRS, WERKS... It is linked to the Form Interface (ABAP DICTIONARY-BASED INTERFACE). So in this way, the link between my WD and the AdobeInt.Form is working.

 

"PDF Source": a context variable type XSTRING.

 

"Template Source": here I have set my Int.Form. Currently, it only contains a couple of fields

 

"Enabled": True.

 

"Read Only": False.

 

 

In the AdobeForm, I have drag & droped those 2 or 3 fields, save it, and activate it. I guess nothing more is needed, for my test.

And at last, in the View´s method WDDOINIT, I am reading one of those fields, let´s say the employee number (PERNR), and I set by hardcoding its number (let´s say -> 00000001).

Until here, everything seems to work fine. When I launch the WD test, the Adobeform appears, at the moment, with only one of my fields (Employee - PERNR), and its value is filled in with '00000001'.

 

But now, I would like to write something by myself. And when I try to do it, it is not possible! Field PERNR, is displayed as a "READ ONLY".

Someone knows what is happening here? I guess it should be possible, to activate as a "EDITABLE" that field in my Form.

 

So here is my doubt.

Am I doing anything wrong? Or am I doing any mistake?

 

 

Thank you very much in advance!

Barcode in Adobe Form

$
0
0

Hello All,

 

I am trying to create a barcode in adobe form , it is sucessfully created but i have to create the barcode (UPC-A) by hiding the trip and personal number displaying on the below of barcode.

Can it be possible to display the Barcode in the Adobe form by hiding the trip no. and personal number.. Its Urgent !!!!!!!!!!

 

Regards ,

Nitin

HRFORMS - Absence Quota on Payslip

$
0
0

Hi gurus,

 

We are using HRFORMS transaction to create a custom payslip based on standard HR form SAP_PAYSLIP_AU. This HRFORM in turn calls an Adobe form to display the payslip.

 

We have a requirement to display the absence quota as at the period selected. Currently it always displays the absence quota for the current period on the payslip, even if we select a previous period.

 

The payslip displays the absence quota from Infofigure REST_ABSENCE which lies in Infostar ABSENCE_AUCE (within SAP DEFAULT Metanet) in the HRFORMS transaction. We have the following attributes under the Infostar ABSENCEAUCE in our custom InfoNet:

 

Infodimensions:

ASSIGNMENT

PERSON_ID

QUOTATYPE

 

Infofigure:

REST_ABSENCE

 

How can we make sure the absence quota is displayed on the payslip for the period selected (and not always the current period)?

 

thanks!

Jason

Viewing all 1237 articles
Browse latest View live


Latest Images

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