on ‎2010 Feb 12 11:47 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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.
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
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.
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
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.
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).
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
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.