SAP and Adobe Form - Scripting Issues

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!).
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); 
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

Thanks for the info Juergen. I am still awaiting your blog on secured web services , if you get time please post it.
@Anil: Please close the thread if the issue is resolved.
Chintan

Similar Messages

  • Paypal and Adobe form central Issue

    I hooked up my paypal to the adobe form it's working great, but I can't integrate paypal to stay on my site when completing the transaction. I asked paypal tech support, and they told me "the folks at formcentral will know".. Any suggestions?

    >The form is great and works well, but the last step directs you back to paypal for the final billing
    process. To keep that process on the site directly, I had to upgrade my paypal to a merchant service account.
    Once the user clicks Proceed to Checkout, the whole site gets redirected to PayPal to let the user make his payment there, and then when they are done, the browser will get redirected to FormsCentral and we will show the user the confirmation message.  Actually redirecting the whole site to PayPal is recommended by PayPal since the users will have more confident that they are paying in the real PayPal site. If they see the payment is processed in an iframe, some people will suspect if the server behind that iframe is really PayPal, since they cannot see the iframe URL in the browser's URL field.
    I am sorry that so far we haven't done a really good job to redirect the user back to your own web site after the payment is done. I will send a feature request to our Product Manager for this, but before we can have it implemented, what you can do is to edit your forms confirmation message in Options->Confirmation Message to tell the user how to get back to your web site. I understand it looks awkward, and I apologize for that, but we are trying hard to improve our payment experience.
    I hope this asnwers your question. Please let me know if you need more help.
    Thanks,
    Eman

  • Difference between Smart Forms and Adobe Form

    Hi all,
    What are disadvantages of Smart form in SAP ,
    What is difference between Smart Forms and Adobe interactive Form.
    I heard from someone that in future Adobe interactive Form will repalce smart forms. Is it true or not
    Best Regards
    Srikanth

    Hi,
    Companies depend on formal documents that reflect their corporate identities and contain critical business information from live systems. SAP and Adobe partnered for automating and streamlining forms-based communication to support customers who create reusable forms for their business processes.
    SAP Interactive Forms by Adobe will be used more and more as a way of simplifying and automating manual processes.
    There are various advantages of Adobe forms.
    SAP Interactive Forms by Adobe provides all the features and functions you need to create form-based output, such as order confirmations, invoices, or pay slips. You can either print such documents or send them by email or FAX.
    <b>Online Interactive Forms</b>
    A user logs on to the company intranet to fill in a form required by the HR department (for example, a Non-Disclosure Agreement to be signed by a new employee). The form is displayed in the browser.
    As the user is logged on in the background to the company's HR system, his master data is displayed in the form. The user enters the required information in the fillable fields of the interactive form, and sends the data back to the system by pushing a button. The system extracts the data from the form and saves it in the database.
    <b>Offline Interactive Forms</b>
    The purchasing department of a company creates a bid in its Enterprise Resource Planning (ERP) system and selects the potential vendors. Based upon this data, the system automatically creates interactive bidding forms with specific vendor information, such as the address or contact person.
    The forms are transmitted to the vendors by email. The vendors can fill out the forms offline (without being connected to the system that created the forms) and transmit them back to the company. The company then processes the forms automatically, and the data provided by the vendors is written to the ERP system. The purchasing department uses the data to evaluate the quotation and then issues an order.
    <b>With the integration of Adobe PDF technology into its solutions, SAP will be able to further extend its offerings of end-to-end business solutions by:</b>
    Providing for the first time the capabilities of Adobe's interactive PDF-based forms.
    Integrating PDF documents into business processes that are driven by SAP applications.
    Automating the process of moving XML data from SAP applications into interactive forms and vice versa.
    Reducing time to design, manage, and maintain extended forms-based processes through easy-to-use forms design and deployment tools.
    Offering its customers enhanced printing capabilities, in particular for interactive Web applications.
    The focus of new forms technology from SAP is interactive PDF-based forms that can be created in SAP systems as a result of the <b>integration of Adobe technology with Web Dynpro and the SAP NetWeaver Developer Studio.</b> This integration means that adobe is the future technology.
    Regards,
    Kate

  • Merging Smartform Output and Adobe Form Output in a single PDF File

    Hi All,
    My Requirement is as follows -
    I have multiple Smartforms and a single Adobe Form.
    I want to merge the Smartform Outputs and Adobe Form output in a single PDF.
    I am able to merge multiple Smartform Output in a PDF , but not able to find any way to merge smartform and adobe form output as the Smartform output is in OTF Format and Adobe form output is in PDF Format itself.
    I have tried few ways , but could not find any success.
    Request you all to give me some direction to this problem.
    Thanks & Regards
    Bhavika

    Kumar,
    I am afraid this is not possible using SAP functionality. There are probably 3rd party tools which allow you to merge several PDFs into one, but SAP itself does not offer such a mechanism. There is an internal SAP function, though, which can merge several "parts" (=several PDFs) within an Adobe-created spool request into a single PDF, intended for downloading this PDF from SP01.
    This is described in note 1717357.
    Best regards,
    Alexander

  • Can anybody send me some docs on ESS/MSS and Adobe Forms.

    Hi all,
    Can anybody please send me some doc/materials/link on how to coonfigure/develop/work with ESS/MSS and Adobe forms.
    Its very urgent requirement.
    Thanks n Regards
    A.M.Rao

    For ERP 2005 check out
    hi ,
    for ess..
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAESS/ESSIAC.pdf
    Personnel Admin.http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/0fab358b096510e10000009b38f839/frameset.htm
    Training & Event management
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/44/2bc9367a23fb68e10000009b38f889/frameset.htm
    Personnel Development
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/cf/5e9b38f8236e6de10000009b38f842/frameset.htm
    ESS - http://help.sap.com/saphelp_erp2005vp/helpdata/en/5b/76a6d7fd3a4e91bfb422405bf3e04d/frameset.htm
    MSS - http://help.sap.com/saphelp_erp2005vp/helpdata/en/29/d7844205625551e10000000a1550b0/frameset.htm
    For ERP 2004
    ESS - http://help.sap.com/saphelp_erp2004/helpdata/en/5b/76a6d7fd3a4e91bfb422405bf3e04d/frameset.htm
    MSS - http://help.sap.com/saphelp_erp2004/helpdata/en/0a/8b3b40b1607a56e10000000a1550b0/frameset.htm
    Also if you have S User ID on SAP Service Marketplace, check out https://service.sap.com/mss-staging for MSS.
    regards,
    venkat.

  • Handling RAW data types (from SAP) in Adobe forms - Illegal Arg Exception

    Hi,
          I have a scenario where I have to get data of type RAW in SAP to Adobe Forms using web dynpro java. What is the corresponding type in Web Dynpro / Adobe Forms.
    I am using Adaptive RFC and when I get the model from SAP function module, the RAW type is created as Binary type in the data dictionary of Web Dynpro.
    When I map the model context to controller context, the type is taken as byte[].
    I tried to set the attribute for this field and I got the Illegal Argument Exception error.
    I am using NWDS 7.0.9 and NW04s SP12. Pl help. I am working on this since 10 days but could get no solution.
    The initial exception that caused the request to fail, was:
    <b>java.lang.IllegalArgumentException</b>
    at com.sap.dictionary.runtime.DdTypeBinary.format(DdTypeBinary.java:60)
    at com.sap.dictionary.runtime.DdTypeBinary.toString(DdTypeBinary.java:64)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.doFormat(DataContainer.java:1405)
    at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1098)
    at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.renderAttributes(XfdRenderer.java:370)
    ... 41 more

    Issue with the RAW data types is resolved now. I have changed the data type of the field into String in the dictionary (web dynpro).. I have changed the corresponding getters and setter functions from byte[] to string. And everything working fine now. I got the Illegal Argument exception initially because I was trying to display the binary data type fields on the adobe form or view which I am not supposed to do.
    Also it is better to create separate view attributes in the context to get the values rather than mapping the model attributes directly in the form or view.
    Thank you one and all.
    Regards
    Vasu

  • SAP-delivered Adobe forms

    Hi all!
    I need to know if a certain SAP-script also is available as a SAP-delivered Adobe form. Where can I find this information?
    /Agneta

    Hi,
    You can have a look in transaction SFP , here you will find all forms delivered with your system .
    Also i can mail you a list of forms delivered .
    Regards

  • Jetforms and Adobe forms

    Hi all
    Can anyone help us with the differences between Jetforms and Adobe forms.
    Thanks and regards
    Leena and Jaydeep

    solved

  • Issue in adobe forms scripting.

    Hi Guys,
    I'm trying to create here an Interactive form embedded into a Wed Dynpro Java application. On the Interactive form i simply have a Text Field and two buttons.
    On the click of one button, the Text Field should get Invisible, and on the click of the second button the Text Field should be visible again. When in the NWDS, in the Livecycle Designer i try to look from the Preview PDF tab, the functionality works perfectly fine and i get no issues whatsoever. But when i deploy and open the same application in Internet Explorer this functionality does not work. I have tried testing this using IE 7 and also IE 8, along with different versions of adobe reader(8 and 9) but nothing seems to work.
    For Button1 to make Text Field invisible i have doen the scripting as below:
    Subform.TextField.presence = "hidden";
    and, for the Button2 to make the Text Field visible again i have done the scripting as:
    Subform.TextField.presence = "visible";
    If somebody has any idea, kindly help me find where I'm going wrong.
    Thanks,
    Abhishek Goel.

    Hi ,
    Set the property of the interactive form dynamically.
    wright the below code in wdDoModifyView()
                   if(firstTime){
         IWDInteractiveForm Form = (IWDInteractiveForm)view.getElement("ID of Interactive Form Ui Element");
         Form.setDynamicPDF(true);
    Also use the complete path for the visibility setting like if your Text field is under BodyPage->Subform->TextField
    Then use
    BodyPage.Subform.TextField.presence = "hidden";
    Regards
    Ravindra

  • Urgent : Regarding Adobe Forms ,Scripts and Smartforms

    <i>
    Hi Floks
    Any body having Adobe Printing Forms ,Scripts and Smartforms documents Links can you send me to me . Its will be help full to me
    thanks
    suresh</i>

    Hi Suresh,
    SCRIPTS
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://www.thespot4sap.com/articles/SAPscript_Introduction.asp
    http://www.onestopsap.com/sap-miscellanous/sap-script/
    http://sap.niraj.tripod.com/id19.html
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.thespot4sap.com/Articles/SAPscript_commands.asp
    Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

  • Adobe form script changes not reflected when PDF created by ADS.

    Hello Experts,
    We have done some modifications (UI elements java script) in PDF form in the Development system and tested... everything fine and as expected everything working.
    When we move the same changes to Quality system, the expected functionality is not working. For error analysis we followed below things.
    --1. I have checked the PDF form in SFP TCode is newly added script code is available or not.... Is available in Quality system.
    --2. I have run the application In SAP Portal, where we show this adobe form and saved locally generated PDF form by application. Then we imported  same saved PDF form into ALD  and checked... is newly written java script is available or not....strange is not available...... but in ECC under  SFP TCode i am able to see the newly written script code.
    --3. o.k. we feel that some issue with ADS server so avoid that we restarted the server even though same.... the newly written script PDF form is not picked  by ADS server while generating the PDF in the portal application.
    Can some one throw some torch on this issue?
    Regards
    Malli
    Edited by: mallikarjuna pasupulati on Apr 7, 2011 9:03 AM

    Steve,
    Might M. Kazlow's announcement be relevant?
    Announcement: Mac OS X.7 Lion Compatibility and Acrobat X
    Mac OS X.7 is not fully compatible with Acrobat X.
    Please see http://kb2.adobe.com/cps/905/cpsid_90508.html for more details.
    by MichaelKazlow at Jul 20, 2011 1:17 PM
    Be well...

  • Adobe Forms Performence Issue

    Hi Experts,
    We have Adobe Interactive Forms where are using in portals.    2 Days back onwards we have been facing a problem of performence which means when user try to initiate the adobe form, it is taking much time to start and display it.
    What might be the issue ? What to do to recover this problem ?  We restarted the portal and even though the problem persists.
    Regards,
    Jyothi

    Hi,
    If a lot of scripting is being written in the Form, then the performance goes down and it takes time to load the form. It is not only with the case of the Scripting, take a look at the performance acpects in the following link:
    [SAP Interactive Forms by Adobe|http://help.sap.com/saphelp_nw70/helpdata/en/45/1a13bf2c2504a8e10000000a155369/frameset.htm]
    Regards
    Pradeep Goli

  • Dropdown box for SAP provided Adobe Form is not populating

    Hi experts,
    I am new to Adobe Interactive Forms. Right now we are using Standard Adobe form for the (PCR) Special Payment. But the drop down box for 'Reason for spl. Payment' is not getting populated. We have defined Reason for special payments in IMG. Also the form 'ISR_FORM_SPSP' has been converted to 'ZCI' format.
    Can you please let me know is there anything else I have to configure?
    Thanks in advance,
    Phani

    Hi Antony,
    Thank you for the reply. As I said I am using the Standard Adobe form provided by SAP (Special Payment) 'ISR_FORM_SPSP'. On another note ..I am also using the form for Changing working time 'ISR_FORM_SPWT' where the dropdown box for the 'new working time' is getting populated properly. I am new to Interactive Adobe Form so I really don't know where I can find the backend code for this form.
    When I go to trasaction 'SFP' I could only see form and the interface being used. Is there a specific BADI that I need to look in? Where can I find the script for the Dropdown UI element.
    Please let me know
    Thanks
    Phani

  • Dropdown values in Web request and Adobe form.

    Hi All,
    I am a Abap dynpro & adobe forms developer.
    I have to work on a CRM project to generate Adobe forms using Web request.
    I could create forms submit data etc.
    Now came up with a requirement where I need to have dropdown in the form the source being comming from SAP.
    Can somebody help me how to create dropdowns and populate values in Adobe from from Web request.
    For your info : I have BADI implementations on the web request. in that On create method I need to populate date for this web request. so the query nails down to what should be the web request structure for dropdowns and how to set values to them.
    Thanks in advance,
    Sai krishna.

    The issue is solved.
    1) making the field as enumrated list in abap web dynpro.
    2) Adding the required enumrated list to this field.
    3) binding this field to a web dynpro native control "enumrated dropdown list".

  • Adobe form processing issue in portal

    Hi,
    We have one issue on user processing of adobe form in portal
    When user clicked on approve or reject button of HR position form its not completing.
    Its keep on processing till 3o minutes,i mean processing wheel not completing.
    What is reason for this?how to solve this issue?
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Thanks in Advance.
    Yours,
    Bheem.
    Edited by: Rob Burbank on Jan 14, 2011 4:44 PM

    Hi Bheem,
    Please mention the ECC Version, NetWeaver version and SP Level of your SAP system.
    Hope the Approve/Reject button is 'SubmitToSAP' Button of adobe lifecycle designer.
    Thanks & Regards,
    Sanoosh

Maybe you are looking for

  • Illustrator CS5 Recolor Artwork question

    I was passed down a file of a old logo from a friend in .ai format. He wants me to change the colors from Red to Blue. Seems pretty easy, but it has 2082 colors in it!!! I am a fairly novice user and wondered if someone could help me with an easier w

  • Cannot transcode in Oncore CS6

    When I "send to Oncore" in Premiere CS6 the project transferrs but will nor Transcode. I've tried DVD Disk, BD disk, and both disk images. Nothing works. I have just edited an extensive project and need to get it published. I never had this happen wi

  • How to find the application type fora Script based on Form name?

    Hi Guys,             can anybody tell me how to find the Application Type and output type based on Form name and print program name? I am having form name as: ZINVENT (INVENT is the actual) and program name as RM07IDRU.How can i find the Appliction n

  • Changing or Deleting Standard Employee Sub Groups

    Dear All, I am creating a new Personnel Structure. The abbreviations that I want to use for my personnel Sub Groups are already used in the standard. Now all I want to ask is that should I delete the standard Employee Sub Groups and make my own with

  • Refresh the page when you enter, you load, or focuses

    Greetings to the community...  The question I have is like to refresh (update) a page when you enter... On the "results.php" page data received from a database I have and when I modify them from another page "modify.php" and return to the "results.ph