NewLine Character in the String received from Interactive Adobe Form

Hello Experts,
Following is the issue we have with interactive Adobe Form
We have a text area within the form. User enters the text in multiple lines in this text area.
We are calling a backend function module designed in SE37 that accepts and process the data from the adobe form.  We are also processing the string data user enters in the text area.
When we receive the string from the form, the newline character within the string is displayed as '#' in the debugger. We tried splitting this string using cl_abap_char_utilities=>newline and cl_abap_char_utilities=>cr_lf  but NO luck. Though in the debugger we see cl_abap_char_utilities=>newline  as '#'  in the debugger and also '#' is present within the string, for some reason when string is processed to find cl_abap_char_utilities=>newline, we can find/locate it.
Because ABAP code is not able to identify the newline character within the string received from Adobe form, we are not able to maintain the formatting of the string as it was entered in the form.
Any help to resolve this issue is appreciated.
Thanks in Advance.
Regards,
Bhushan

Hi Bhushan,
I was going through your issue, and I feel this is something you can do with scripting. Basically you should read whole string and find the new line character and replace with a space or comma, as per your requirment.
Do like following:
In the exit event of the field select java script and write following code:
var strng = this.rawValue;
strng.replace(/\n/g, " ");
above im reaplcing new line with a space.
I think it should work I have not tested it. Pls update if you test it .
Regards,
Ravi.D

Similar Messages

  • Login details when Webservice is called from Interactive Adobe form

    Hello Experts,
    Can you please suggest me the procedure to overcome the below issue.
    I am calling the Webservice from my interactive adobe form.
    When ever i click on the Submit button on my form, it is triggering the webservice but asking for the login details for authentication in the popup.
    In the real time scenario i will not be having any user id and passwords. So, I don't want this popup.
    What do i need to follow to get this done.
    Regards,
    Ram

    Turn off security on your web service.
    Paul

  • Webservice call from Interactive Adobe form

    Hi,
    Please provide me the possible solution for the below mentioned issue.
    1. Created a webdynpro application.
    2. Kept the interactive form on the VIEW of this WDA. Adobe form has 10 fields and one submit button.
    3. Now created a web service with only one importing parameter of type XSTRING.
    4. I have given the webservice URL in the button properties by making it's type as "Execute"
    Now my question is "How can we get all the filled values on the interactive form in the RFC of Webservice when i click on the submit button?".
    Note: I should not add any other importing fields in the web service except the PDF string.
    Regards,
    Ram

    Hello experts,
    Please provide me the solution for the below mentioned issue.
    I have attached the webservice wsdl file to the SUBMIT button on my form (execute type) and binded all my form fields to the webservice importing structure fields..
    Now the webservice got changed because of the addition of new fields in the common structure.
    And iam uploading the new wsdl file in my existing data connection properties.
    But it is giving an error saying as follows.
    [0]:Page1[0]:Terms_and_conditions[0]:submit[0]:Submit_validate[0]:click
    Error attempting to read from *filehttp://pwxaci.dmzwdf.sap.corp:1080/sap/bc/srt/rfc/sap/yrrprm_webservice/001/yrr_prm_webservice/yrr_prm_webservice*_
    The bold one is the URL of my webservice.
    Please suggest me the correction required if the webservice is changed.
    Regards,
    Ram

  • WebDynpro Popup from Interactive Adobe Form.

    I have a Interactive form UI on WebDynpro view. On a click of a button inside the Adobe Form, a popup appears. This popup is a webdynpro java popup window.
    While the popup is appearing or while closing the Adobe form gets refreshed each time and popup moves to first page of the form and user needs to scroll down the page to where the popup was triggered. Is there anyway I can avoid to the page get refreshed.
    I  am using NWDS 7.14 and Adobe Version 9.0...
    - Akshay

    Maybe I understand your requirement now. Since you are calling a server side event i.e. to get the data, the page where you are currently gets lost and that's how it should be.
    Now as a workaround we can try setting the focus to the particular input field when the page is loaded with the selected value.
    1. For this create a boolean atrribute and set it to Y when value from poupwindow is  selected.
    wdContext.currentContextElement.setPopValSelected("Y");
    2. Drag a textfield and bind it to this context. Make the field as invisble from Object palette.
    3. Now in the form:ready or layout:ready event of the top level subform write the following JavaScript:-
    if(popValSelected.rawValue == "Y")
       xfa.host.setFocus("TextField1");
    Chintan

  • Submit button  from Interactive adobe form in Web Dynpro ABAP

    Hi all,
    We seem to be having a problem with the 'submit' button on the Interactive Form for the Web Dynpro ABAP.  The submit button is from the Web Dynpro active X or web Dynpro Native in the form designer. The submit button doesn't trigger the action in Web Dynpro. we are currently running on support pack 9 for the ABAP stack. We have Internet Explorer browser version 6.  Could someone tell me if there are requirements for the IE version that will work in conjunction with a particular ABAP stack version.  And, are there specific IE security settings or administrative privilages required with this version of the ABAP stack.  Or, any other ideas as to why this does not seem to work. 
    Thanks in advance,
    Michelle Hong

    Hi Michelle,
    Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
    Many Thanks
    Christine

  • Interactive Adobe Form Attachments - not possible??

    Hi All,
    I'm trying to extract attachments from interactive adobe form.
    I bound the pdfsource to the form and tried to extract the attachments using pdfclasses.
    The attachments are not captured in the pdfsource. SAP Note 1260750 says
    "There is no support for attachments to interactive forms up to SAP NetWeaver 70 EhP2."
    However I tried the same using offline upload (interactive form) and I could extract the attachments on SAP Netweaver 7.0 Ehp1.
    I would like to know -
    1) If there is some work around to do the same for Online form too.
    2)  Is Ehp2 released?
    Thank you,
    Sri

    Hi Subramanyam,
    Since i had queries regarding the same requirement that I think you have just achieved, so I could not help but to reply to the same thread and hoping to get some help.
    I have developed an offline Interactive form which after getting filled is submitted by mail to save the information at the backend in the SAP system. This is working fine.
    But now i need to enhance this form by providing an attachment functionality to the form where the user would be allowed to fill in the form and also attach some documents. I have been able to implement the same absolutely fine but while submitting the form through email, where my form gets attached with the mail in an xml format, I am not able find a way to send the attachment in the attached xml and thus not reaching backend.
    Please help me out to find a way to send the attached document by Submitting though mail and thus make it reach the backend system for further processing.
    Thanks,
    Abhishek Goel.

  • Implementing interactive Adobe forms

    Hi,
      What are the ways of implementing interactive Adobe forms ?
    Can this be done without using EP (ISR framework) ?
    If so, please help.
    Thanks,
    Sowmya

    Hi,
       refer
    /people/r.eijpe/blog/2007/01/08/performing-sap-interactive-forms-by-adobe
    Expert Forums » SAP NetWeaver » SAP Interactive Forms by Adobe
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    http://help.sap.com/saphelp_nw2004s/helpdata/en/18/ecb69017ad4765855425b97f666470/frameset.htm
    Regards

  • Newline character in a String

    Hi,
    How can i introduce a newline character while displaying a string using string functions in a report..
    My requirement is, i need to replace a particular character with a newline character in a string using replace function
    Can anyone help me
    Thanks in advance..

    Hi,
    Try this,
    REPLACE(Table.ColumnName, 'StringOrCharacterToReplace', '[br]')
    *replace [ and ] with < and > in br tag. Change the data format of the column to HTML
    Rgds,
    Dpka

  • ' character in the string

    Hello.
    I'm trying to insert string to varchar value in the database which contains the ' character. But it throws the error....
    how can i replace this character to some another character in the string before inserting it to the database?
    thanks

    public String replace(char oldChar,
    char newChar)Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
    Fred

  • Replace a character in the string using JavaScript

    Hello,
    I would like to ask for help. I have a field in the xml file, which contains a string, that is bound to a text box on the form.
    What would be the syntax to replace a special character in the string with the carriage return?
    Thank you.

    Huh?
    I didn't post my script...
    It sure is no clean programming since I just took Steve's solutions and delted the ligns I didn't want (the app allert)
    Though in the end I've taken the boolean out, or better replaced it with the replacement function, it repeats the replacement no matter how much "ü"'s are in there. (I needed the boolean though, since as long as it was true, the if should be executed.)
    Somehow it worked... not 100% sure why, but it worked.
    if (findChar(this.rawValue)) {
    function findChar(str)
    {  for (var i=0; i < str.length; i++)
            if (str.charAt(i) == "ü")
               this.rawValue = this.rawValue.replace(/ü/,"ue")

  • MM - Daily Report of the materials received from other plants

    Hello
    I want  the daily report of all the materials received from other plants i,e by stock transfer. Is there any way to get this information from the standard reports
    regards
    Ravi Pal

    Dear Prashant
    i checked with this transaction but the problem is that this gived the report for only the GR taken against STO with SD Delivery i,e with or with out billing. the system is not picking the STO with MM delivery whan we enter the supplyiny plant as u said
    pl check this
    thnaks
    regards
    ravi pal

  • SSRS in SharePoint2013:Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModule

    SSRS in SharePoint2013: There is a report in SharePoint and it contains a sub-report and the sub-report hyperlink. When I click the hyperlink to go to the sub-report, after >10min, I click the "Back to.." button
    on IE to go to the previous page. Then it catch the error as:
    Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near '
    <!DOCTYPE html PUB'.
    I am using SQL2012 and Sharpoint2013.

    Hi Alisa,
    Thanks for your reply, I changed the web.config, but the issue did not resolved. 
    I add the codes in two parts of the web.config as below, you can find in by keywords “aspnet:MaxHttpCollectionKeys”
    This issue can not reproduce on Chrome only occur on IE.
    So, do you have some details suggestion for me to fix it?
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <configuration>
    <configSections>
    <sectionGroup name="SharePoint">
    </sectionGroup>
    <location path="_layouts/15/TA_AppMonitoringDetails.aspx">
    <appSettings>
    <add key="ChartImageHandler" value="storage=memory;timeout=20" />
    </appSettings>
    </location>
    <location path="_layouts/15/ReportServer/RSViewerPage.aspx">
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    </appSettings>
    </location>
    <system.net>
    <defaultProxy />
    </system.net>
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    <add key="aspnet:RestrictXmlControls" value="true" />
    <add key="FeedCacheTime" value="300" />
    <add key="FeedPageUrl" value="/_layouts/15/feed.aspx?" />
    <add key="FeedXsl1" value="/Style Library/Xsl Style Sheets/Rss.xsl" />
    <add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </appSettings>

  • The Data Received from the server running AD RMS didn't match the expected format.contact your system administrator for further investigation.

    Hi All,
       We Have implemented AD RMS in our organisation recently.But the Problem we are facing here many users those are Ms office 2013 we will get the error"The Data Received from the server running AD RMS didn't match the expected format.contact
    your system administrator for further investigation." and those who are in Ms office 2010 Professional it says  
        "The service is Temporally unavailable.Ensure the you have   connectivity to this server.This error could be caused if you are working offline.Proxy setting are preventing your connection or intermittent network issue."
      Below are the workaround did,
    1.Able to reach to Our pipeline ADRMS cluster.
    2.We have a valid Certificate.
    3.if we type https://adrms.ourdomain.com its working fine.
    4.Manually put the registry setting for effected computers.
    5. Applied the Hotfixes:MicrosoftFixit50903,KB2627273.
       Kindly help or suggest us to resolve the above issue as many computers in domain are not working with IRM.
    Thanks and reqard,
    Mohammed Siddiq.

    Hi Mohammed,
    Were you able to fix the issue with CRL disablement?
    Did my post help you or make you laugh? Don't forget to click the Helpful vote :) If I answered your question please mark my post as an Answer.

  • Calling and manipulating data on an Interactive Adobe form from ABAP report

    Dear All,
    Can you please tell me how to call an interactive adobe from from a custom adobe form?
    If so how can we pass and receive data between the interactive adobe form and the abap report program?
    Thank you.
    Regards,
    Prosenjit.

    Hi,
    It is possible to call an Interactive Adobe form from ABAP report and pass data into the form. If you search the forum, you will get many threads explaining the process. Let me know if you have any specific questions on this.
    Regards,
    Sanoosh

  • How to extract data from an interactive adobe form and update SAP database

    Hi ,
    I want to create an Interactive Adobe Form with two text fields and a submit button.On click of submit data entered in the text fields should be stored in a ZTable.
    Please let me know the procedure for doing this in ABAP.
    Thanks,
    Prasuna.

    Hi ,
    pls have a look at the link below...
    [http://www.adobe.com/devnet/livecycle/articles/lc_designer_schema_tip.pdf]
    if u r using abap web dynpro application for calling the adobe form than on the CLICK Action of the button give the code :
    zdept is the interface name ..
    method ONACTIONCLICK .
      data:
        Node_Adobe       type ref to If_Wd_Context_Node,
        Node_Zdept       type ref to If_Wd_Context_Node,
        Elem_Zdept       type ref to If_Wd_Context_Element,
        Stru_Zdept       type If_Main_View=>Element_Zdept .
      data wa_zdept type zdept.
    * navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Adobe ).
    * navigate from <ADOBE> to <ZDEPT> via lead selection
      Node_Zdept = Node_Adobe->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Zdept ).
    * get element via lead selection
      Elem_Zdept = Node_Zdept->get_Element(  ).
    * get all declared attributes
      Elem_Zdept->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zdept ).
      wa_zdept-DEPTNO = Stru_Zdept-deptno.
      wa_zdept-DNAME = Stru_Zdept-dname.
      wa_zdept-LOC   = Stru_Zdept-loc.
      insert into zdept values wa_zdept.
    endmethod.
    Hope this helps  !!!
    best of luck !!
    Regards
    Ravi

Maybe you are looking for

  • Lenovo Tablet Thinkpad 10

    I have recently bought a tablet, thinkpad 10. The first thing I do with new taptops is change the desktop resolution and font size.  So, on my new tablet, I selected Desktop (I have win 8.1 pro) and followed directions to increase the font size.  I c

  • Thumbnails  Grayed out with Question over them

    I have several thumbnails that are grayed out with a white question mark over the thumbnail which indicates that it has "lost" the original photo. However, the photo is in the Finder/Pictures and the name has not been changed. How do I get iPhoto to

  • Illegal constant pool index ????

    Hi I wrote a hello world program using J2ME with a view to writing a game for a mobile phone. I'm a C++ programmer and have never looked a java befor so I have no idea what is going on under the sheets. The hello world program is called Welcome (stra

  • Installing Flash Player When All Else Fails

    Hello! I have tried every tip I could find on the boards an still can't get Flash Player to work with Internet Explorer.  Flash Player is installed but not working.  I have Windows 7, Service Pack 1.  64-bit operating system.  Internet Explorer 10.0.

  • Oes11sp2 yast online updates - validation check failed

    Did all online updates September 29th for my sles11sp3 oes11sp2 servers and restarted servers. Went to check today and I'm getting a validation check failed error. Validation check failed File repomd.xml from repository sles11-sp3-updates.... is sign