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.

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 .

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.

    Turn off security on your web service.

  • Webservice call from Interactive Adobe form

    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.

    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.
    Error attempting to read from *file*_
    The bold one is the URL of my webservice.
    Please suggest me the correction required if the webservice is changed.

  • 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.
    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")"TextField1");

  • 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

  • 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,

    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.
    Abhishek Goel.

  • Implementing interactive Adobe forms

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

    Expert Forums » SAP NetWeaver » SAP Interactive Forms by Adobe

  • Newline character in a String

    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..

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

  • ' character in the string

    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?

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

  • Replace a character in the string using JavaScript

    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.

    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

    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
    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
    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"?>
    <sectionGroup name="SharePoint">
    <location path="_layouts/15/TA_AppMonitoringDetails.aspx">
    <add key="ChartImageHandler" value="storage=memory;timeout=20" />
    <location path="_layouts/15/ReportServer/RSViewerPage.aspx">
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    <defaultProxy />
    <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=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

  • The Data Received from the server running AD RMS didn't match the expected 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
    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 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.

    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.

  • 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.

    Hi ,
    pls have a look at the link below...
    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 .
        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
          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.
    Hope this helps  !!!
    best of luck !!

Maybe you are looking for

  • Recording from a Stereo Device to Audio-In Port

    Hello, I'm new...I'm attempting to record from my korg kaoss pad to my powerbook g4 (17in) - the kaoss pad has stereo effects that are lost when recording through my mac's audio input jack. I am considering purchasing a usb audio interface - will thi

  • Context,Physical schema and Logical schema

    Hi, How the context,physical schema,logical schema and agent are interrelated. Please explain Thanks Jack

  • Default image in front of video

    Assuming the player is set to autoPlay false, has anyone setup a player to have a default image in place of video until the user hits play? If so how did you do it?

  • An infuriating exchange with tech support

    Since Verizon seems to have no higher tier than this to register concerns about service, I'll air my grievance here. I few days ago, I began to have trouble logging in to servers hosted by a well known web hosting company. I've been logging in to the

  • Local variable initialization

    How local variables initialized in CVI? Are there any default values for local variables?