cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ADOBE interactive forms - not fillable

Clemenss
Active Contributor
0 Likes
1,570

Hi all,

finally, we got the ADS server running and communication established.

In transaction SFP I can fill the form fields in pdf preview. Even after installation of Adobe Reader rights credential, I can not fill the form generated by ADS server.

Any idea what might be missing or what test I could do?

Thanks.

Clemens

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Which version of Adobe Reader you are using?

Regards,

Mohaiyuddin

Clemenss
Active Contributor
0 Likes

9

Sandra_Rossi
Active Contributor
0 Likes

You didn't say if you flagged FILLABLE when calling the function module.

Clemenss
Active Contributor
0 Likes

I did.

Sandra_Rossi
Active Contributor
0 Likes

No, you said that you could fill the form in the SFP preview, you didn't say that you set parameter /1BCDWB/DOCPARAMS-FILLABLE to 'X' when calling the function module. These are 2 different things.

Search in forum , there are solutions given for that issue (problems with credentials). By the way, you have test programs (FP_PDF_TEST*) that you could use to test ADS.

Edited by: Sandra Rossi on Feb 14, 2010 12:23 PM

Clemenss
Active Contributor
0 Likes

Hello Sandra,

I am sorry.

This was an [earlier thread|; when we had the credentials not yet installed. Now the error persists and I am searching for a solution.

The main inconvenience is that I'm working for a huge company with tens of thousands of people spending most of the time to find someone else responsible for a solution.

And I have nearly no rights and no access to any basis transactions.

So I still hope that I get some hints from here that I can forward to the basis administration.

I could write a book about it: Since last summer I try to get it running...

Kind regards,

Clemens

Sandra_Rossi
Active Contributor
0 Likes

I remember we had also many issues with credentials. Administrators told us many times it was okay, and finally there was a problem, but I don't know how they solved it.

Anyway, could you check that SAP test interactive forms work in your system by using program FP_TEST_IA_01 (preview it and save as).

If it doesn't work, we'll be sure it comes from credentials.

Moreover, you may check credentials added to your PDF file, by starting Adobe Reader, open the PDF file, click menu File, Properties, and display Protection tab. In my system, I see at the bottom "* only filling of form fields is permitted in this document" (or a message like that). Note: I have Adobe Reader 9.3.0.

Answers (2)

Answers (2)

OttoGold
Active Contributor
0 Likes

Note there is Adobe forms forum under NetWeaver, Otto

Clemenss
Active Contributor
0 Likes

Thank you Sandra,

I'll set the state to 'solved' because FP_TEST_IA_01 works correct in my system.

I had to set the adobe printer as default, otherwise it did not work.

Because my own program/form does not work, I will analyze FP_TEST_IA_01 and try to find the deviation.

Regards,

Clemens

Clemenss
Active Contributor
0 Likes

Yes, it must be my form. But in the sample form, I can not see the difference in definition of pure output and input fields. The seem to have all the same attributes and binding, what is different?

Regards,

Clemens

Sandra_Rossi
Active Contributor
0 Likes

It's the same field type (text, numeric, etc. field), but there's an attribute in the Value tab, named "Type". Possible values are: Input optional, Input required, Read only, etc. You can't distinguish on the layout, but in the preview, you won't be able to enter anything if the field is read only. Tip: to distinguish easily when you create the layout, you may color read-only fields in gray for example.

Clemenss
Active Contributor
0 Likes

All my fields are defined as 'User Entered - Optional'. I compared the fields in the sample form FP_TEST_IA_01 for the Old Address and New Address fields. Old Address fields are not editable, New Address fields are editable. Both have 'User Entered - Optional' in the Value tab.

So this does not explain the difference why New address can be filled but old address can not be filled.

Regards,

Clemens

Sandra_Rossi
Active Contributor
0 Likes

This is dynamically changed via a FormCalc script in the upper node of the form (select it in the hierarchy pallet (shiftF11), and display the Script Editor pallet (CtrlShift+F5), and select "Display Events with Scripts").

Initially, you choose it from selection screen, and the value "ReadOnly" or "Open" is passed to the form.

Clemenss
Active Contributor
0 Likes

Thanks, Sandra. I tried to find any acript in FP_TEST_IA_01. I can see the hierarchy pallet with nodes like page1, page2, Header, OldData and NewData. In the Script Editor pallet (CtrlShiftF5) I can just see one additional line on top of the form with some input fields, the Show: field offers a couple of events(?), then comes an empty field for the script name(?), then the language (FormCalc) and Run At: Client.

Still, where is any difference between Old Address and New Adress fields?

I could not find any script source and I could not find any hint in the .

Clemens

Sandra_Rossi
Active Contributor
0 Likes

In the Show field, select "display events which contain scripts" (or something like that).

If you don't see anything in the form, maybe it's just that you have to log in German, or go in Change mode and maintain in original language (but do not change anything of course). You'll then see the form and everything.

The only difference between old and new is in the script, and in the selection-screen parameters where you choose if fields are to be read-only or input.

Clemenss
Active Contributor
0 Likes

Hi Sandra,

In the Show field, I can select

initialize

enter

exit

calculate

validate

(preopen)

mousenter

mouseexit

change

full

mouseup

mousedown

click

presave

postsave

preprint

postprint

presubmit

docready

docclose

formready

layoutready

No one shows me anything.

I need information from someone who has experience with a working interactive form, not a web form but a pdf form that I can mail.

Regards,

Clemens

Sandra_Rossi
Active Contributor
0 Likes

I have everything you said + 2 options: display all events, and display events with scripts.

The script is supplied in "form:ready" event:


// set read-only fields as requested
var Head = $record.GROUPSTATES.HEAD
var Old =  $record.GROUPSTATES.OLDDAT
var New = $record.GROUPSTATES.NEWDAT

var upperHead = Header.nodes.length - 1
for fld=0 upto upperHead do
	if (Exists(Header.nodes.item(fld).access)) then
		Header.nodes.item(fld).access = Head;
	endif
endfor

var upperOld = OldData.nodes.length -1
for fld=0 upto upperOld do
	if (Exists(OldData.nodes.item(fld).access)) then
		OldData.nodes.item(fld).access = Old;
	endif
endfor

var upperNew = NewData.nodes.length -1
for fld=0 upto upperNew do
	if (Exists(NewData.nodes.item(fld).access)) then
		NewData.nodes.item(fld).access = New;
	endif
endfor

// use master page as requested (for printing on pe-printed paper)
if ($xfa.record.PREPRINTED=="X") then
	$.break.before = "pageArea"
	$.break.beforeTarget = "#Page2"
endif

The $record.* means that they are parameters (transmitted by the calling program)

I'm using ALD 7.1 (downloaded from SDN today) and SAPKB70013. Which releases do you have?

Again, did you log in German or not? Do as I said previously.

Clemenss
Active Contributor
0 Likes

I do not understand why scripting must be used to make fields fillable. I can't find this in documentation. I have not yet seen the difference between Old Address and New Address fields.My FP_TEST_IA_01 form has no scripts in form:ready event.

Sandra_Rossi
Active Contributor
0 Likes

I thought that your latest questions were about how this demo program + form were working. Sorry.

To make fields input-capable, you just need to define them with attribute Type equal to "Input" (optional, required or whatever).

About your custom form, I don't understand what happens. I never had any trouble with that. Copy the demo program + form (and please, change the original language to your working language) and compare everything with your custom form.

If it persists, contact SAP support.

And ignore how the demo program works, it just shows that ADS works, that you may input fields (whatever a script is used or not, it's not the problem). If you can't see the script (and probably not the form), it's because you don't open it using German language, or because you have not the same release as mine (SAPKB70013, ALD 7.1). I feel I repeat myself. Please answer my questions so that I don't repeat my questions again and again (see my previous posts).

Clemenss
Active Contributor
0 Likes

No. My persisten question is where is the difference in definition of OldAddress fields and NewAddress fields in SAP form FP_TEST_IA_01.

Answer expected: OldAddress xyz NE NewAddress zxy

I hope after understanding this I may understand more about my custom form.

Edited by: Clemens Li on Feb 17, 2010 3:26 PM

Sandra_Rossi
Active Contributor
0 Likes

Again (as I said previously):

> The only difference between old and new is in the script, and in the selection-screen parameters where you choose if fields are to be read-only or input.

It means that these fields are identical in the layout.