SMARTFORM - Part of variable content missing in otf file

Hi colleagues,
In my smartform, I have variables, defined as STRING, which contains HTML coding to generate URL links in the final document.
The variable is correct and ends with '</a>'.
But in the otf file, the result is sometimes wrong. The variable is splitted into several lines (no problem), but the last line is somehow shorted... I only get '</'.
Due to that, end of URL is not recognized and the whole content below this unless link appears as part of the link.
This seems to be related to the length of the variable content.
If it is short enough (but this I could not insure), the code is complete and everything works fine.
Does this means that my url should be splitted to never exceed a certain limit (254 or 255 chr).?
thansk for your help,
Barbara

Hi,
Thanks for feedback.
Lengh is the issue. If I split the single varaible into several to only have 255 chars in each of them,  it is possible to not loose part of the content.
I try to put the two variables (part1 and part2) on the same line in SMARTFORM without any separators. This has exactly the same effect than if I use one varaible which exceed 255 chars. The content of the 2nd one is lost in the OTF.
I then insert a blank between them, and I do not loose anything in the OTF.
Unfortunatelly, due to the separator, the URL is also split in 2 parts on my final content, which is not really good.
Splitting the label is not beautiful, but not dangerous. Adding one space in the URL may leads to not working link.
I will try to consider this issue when preparing the content from the OTF file.
If you have any hints what to consider, I would appreciate.
Kind Regards,
barbara

Similar Messages

  • Header variable: Content Disposition for downloading file over HTTP?

    Hi All,
    I have a general content server question...Is there anyway to pass a parameter or set a setting on the content server to send the file with the header variable content-disposition set so that when a user selects a file within a browser, it doesn't open in place but asks the user whether they want to open or save the document?
    Note - I'm actually using this with ArchiveLink and displaying the link in the Portal but this forum seems the closest I can get to asking this question.
    Regards,
    Matt

    Thanks Athol.
    Although there's quite a bit of configuration options there for displaying files, there doesn't appear to be anything that let's you manipulate the HTTP header variables to set content-disposition.
    Any other ideas?
    Cheers,
    Matt
    ps. If you want to artificially see the behaviour I'm after, within IIS, you can predefine this header variable for the contentserver.dll but this makes every HTTP request act like a file that wants to be downloaded, and it calls every file contentserver.<suffix>. From a user perspective, there's nothing worse than a document opening in place in your window (losing the underlying application), or within another IE window, hence why I'd like it to act like a file download.

  • While converting smartform output toPDF: end command // missing in OTF data

    Hi,
    While Converting smartform output to PDF i am getiing the following error.
    end command // missing OTF data . And also in the importing parameter of smartform  function module also (job_output_info ) i did not findout the data. Where did i make a mistake. How can i correct this error. Thanks in advance.

    Implemented SAP Note 1123505 - OTF-PDF conversion.

  • Codepage in OTF file

    Hi all,
    after a release update to ECC 6.0 our sapscripts seem to use a different codepage in the OTF represenation. The OTF file is sent to an external output management system which requires cp1100 instead of the new default cp4201.
    We already tried to change the cp in the device type and even send a print-control command from SAP-Script, but it seems that when SAP-Script starts to print text using the font HELVE it turns the codepage back to the default which is bound to HELVE.
    Any idea?
    Thanks and best regards
    Norman

    Hi,
    Thanks for feedback.
    Lengh is the issue. If I split the single varaible into several to only have 255 chars in each of them,  it is possible to not loose part of the content.
    I try to put the two variables (part1 and part2) on the same line in SMARTFORM without any separators. This has exactly the same effect than if I use one varaible which exceed 255 chars. The content of the 2nd one is lost in the OTF.
    I then insert a blank between them, and I do not loose anything in the OTF.
    Unfortunatelly, due to the separator, the URL is also split in 2 parts on my final content, which is not really good.
    Splitting the label is not beautiful, but not dangerous. Adding one space in the URL may leads to not working link.
    I will try to consider this issue when preparing the content from the OTF file.
    If you have any hints what to consider, I would appreciate.
    Kind Regards,
    barbara

  • Archive Smartform Copies - Error - OTF end command // missing in OTF data

    Hi All,
    We are printng invoices and archiving them at the same time.
    When I try to print and archive just the original invoice it works fine
    That is , it prints and archives.
    However when I set the flag SSFCOMPOP-TDARCCOP to 'X'  (Archive Copies as well),
    I get the error OTF end command // missing in OTF data.
    Im guessing that the system tries to archive multiple copies and the End of File Command // at the end of each copy is causing the issue. But I dont know how to go about solving it.
    Regards,
    Nehal.

    Implemented SAP Note 1123505 - OTF-PDF conversion. Archiving several copies

  • Error OTF end command // missing in OTF dat

    Hi
    I am converting a smartform of a PO into a PDF. when i am using the option of pint immediately in message option of PO. I am getting this error OTF end command // missing in OTF dat . when i am using option 3 which in not print immediately. i am able to convert it into pdf file and save in my local folder. please advice.

    when you click the message button while creating a PO. it will take to next page where you add your output type that is output, partner etc.. after you add and click on further data button there you will have option for dispatching here when you add slect option 4 whihc is print immediately. then i am getting the error. if i am using the other options i am able to down load into pdf but not able to see print preview. please advice

  • OTF end command // missing in OTF data when using CONVERT_OTF_2_PDF

    Hi
    When using the function module CONVERT_OTF_2_PDF I am getting the strange scenario that for some users it is giving the error message "<u><b>TD 030: OTF end command // missing in OTF data</b></u>". 
    I am executing this function module using the OTF output data received from a smartform executed with the parameter control-parameters-getotf = X and I am not formatting it in any way.
    any assistance in this is much appreciated.

    hi
    good
    go through this link,which ll give you detail idea about this function module
    http://www.jt77.com/development2/programming-07636.html
    thanks
    mrutyun^

  • Is it possible for fragments to contain variable content?

    Hi everyone,
    I've been looking at using fragments to help with maintaining form consistancy. We have about 25 forms which all use the same template. Our company just changed our slogan, which is included in the footer of the master page. Now I find myself having to go through all 25 forms to update the slogan. This sounds like a perfect job for fragments.
    I would like to have one fragment for the entire header, and a second fragment for the entire footer. My issue is that each form has a different title in it's header, and a different document reference number in the footer. Idealy, I would like to be able to set up variables associated with my fragment, then use some javascript to update the fragment content.
    A part of me thinks that this goes against the very nature of fragments... but I wanted to ask to be certain. It would just be so much cleaner than the alternative... I could, for example, just include the static text that will be the same across all forms, and leave variable content outside of the fragment (but still a part of the template). That way, if I ever had to change to logo, I could, but I would still be able to manually specify a title and document number.
    My only concern with the above is; what if I am asked to change the font of the title in all forms. If I could somehow use a fragment, it would be very easy. I know that we have about 120 forms planned... I would hate to have to update each individually if it was something I could avoid.
    Thanks for your help!
    Bonus Question:
    Is there a faster way to batch 'refresh' an updated fragment than to open each form in Livecycle Designer and resave? True, it's a lot faster than manually making the changes to each form, but it would still be nice not to have to open each form to update them.

    Well, as I was writing the above question, I had an idea as to how I mihgt be able to acheive this... I tried it and it worked.
    In my master page, I he turned my entier header into a fragment. In the header is an empty text field that I have formatted to look as I want the title text to appear. Also in my master page is a "FormOptions" subform with text fields for each 'variable' such as title.
    In the Title text field in the fragment, in the initialize code I've used:
    this.rawValue = FormSettings.Title.rawValue;
    this.access = "readOnly";
    Now, when I create a new form, I can set the default values of the 'variable' text boxed to the appropriate values, then hide the "FormOptions" subform from view by setting it to invisible. I haven't had much of a chance to test, but it looks to work well. I've also mathe "FormOptions" subform and it's child fields to have no data binding, so that the exportable xml of the form doesn't get cluttered up.
    If anyone can think of a less convoluted method, I'd still love to hear it. I am also still interested in hearing about fater ways to updated multiple forms when I edit a fragment.

  • I downloader all the Adobe Presenter, looks like everything downloaded but when I open the program I get the following message: The file archive part of Presenter is missing. You need all parts in the same folder

    I downloadedall the Adobe Presenter, looks like everything downloaded but when I open the program I get the following message: The file archive part of Presenter is missing. You need all parts in the same folder

    HI There,
    It seems that Presenter is not fully downloaded. Please check you have downloaded .exe and .7z files successfully. In case you are still facing the issue then please click on the following link to chat with the support :  Chat
    with an Expert
    Regards,
    Mayank

  • How to display the variable content in message?

    Hi anybody
    please let me know How to display the variable content in message?
    please send few lines of sample code to understand that
    thanks in advance

    Hi,
    Check out the link
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
    REPORT Y9020027 LINE-SIZE 130.    "Release 3.1G, 4.5A                  
    BREAK-POINT.
    MOVE: 'TESTREPORT for    "ASSIGN  FFeld+o(l)  TO  "        '     
            TO SY-TITLE.
          Declaration of variables    **********************
    FIELD-SYMBOLS <FS1>.
    DATA: FFELD8(8)   TYPE F VALUE '1022333'.   "Unusual: Explicit 8 bytes
    *DATA: ZFELD1(2)    TYPE N.            "Here slack bytes are (DW border)
                                         "necessary                      
                  "If you like computing error, please uncomment the above
    DATA: FFELDX(8)   TYPE F VALUE '7777777'.
    DATA: FFELDA(8)   TYPE F VALUE '7333213'.
    DATA: NFELDX(400) TYPE N.
    DATA: OFFX(4) TYPE I VALUE 160.
    DATA: LENX(4) TYPE I VALUE 8.
                  Main Section             *******************
        SKIP.
        WRITE: /5  'Example 1   **** inadmissible ASSIGN ***' COLOR 6.
        WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
      ASSIGN FFELD4+1(3) TO <FS1>.
        ULINE.
        SKIP 2.
        SKIP.
    ASSIGN FFELD8+8(8) TO <FS1>.     "<-- Assigning of variable  FFELDX  !!
        BREAK-POINT.
        WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
                  COLOR 3.
        WRITE: /5 'Example 2'.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDX      :', FFELDX.
        ULINE. SKIP 2.
        SKIP.
    ASSIGN FFELD8+16(8) TO <FS1>.    "<-- Assiging a few FFELDA to <FS1>  
        BREAK-POINT.
        WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
                  COLOR 3.
        WRITE: /5 'Example 3'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        ULINE. SKIP 2.
    BREAK-POINT.
       DO 4 TIMES.
         ASSIGN FFELD8+OFFX(LENX) TO <FS1>.     "Zuordnung auf OFFX zu <FS1>
            WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
                      COLOR 5.
             WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
             PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
             WRITE: /10 'Content of NFELDX145(40)  :', NFELDX145(40).
             ULINE. SKIP 2.
             ADD 8 TO OFFX.
       ENDDO.
                   Subroutines             *******************
               Display of data fields and field symbols                  *
    FORM DISPLAY-FFELD USING FFELD FNAME.
    WRITE: /10 'Content of', FNAME, ':', FFELD.
    PERFORM FELDEIGENSCHAFTEN USING FFELD.
    WRITE: /10 'Content of <FS1> :', <FS1>.
    PERFORM FELDEIGENSCHAFTEN USING <FS1>.
    ADD   111    TO <FS1>.               "<-- Das Feldsybmol wird verwendet
    WRITE: /10 'ADD 111 TO <FS1>'.
    ULINE.
    WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
    WRITE: /10 'Content of <FS1>',  35 ':', <FS1>.
    ENDFORM.
       Determination of field properties (only for information)          *
    FORM FELDEIGENSCHAFTEN USING ALLG.
    DATA: FLAENGE(2) TYPE N.
    DATA: FTYP(1) TYPE C.
    DATA: FOUT(2) TYPE N.
    DATA: FDEZ(2) TYPE N.
      ULINE.
      DESCRIBE FIELD ALLG LENGTH FLAENGE.
      WRITE: /10 'Field length  :', FLAENGE.
      DESCRIBE FIELD ALLG TYPE FTYP.
      WRITE: /10 'Field type    :', FTYP.
      DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
      WRITE: /10 'Output length :', FOUT.
      DESCRIBE FIELD ALLG DECIMALS FDEZ.
      WRITE: /10 'Decimals      :', FDEZ.
      SKIP 1.
    ENDFORM.
    END OF PROGRAM *************************************

  • CFPOP and the FROM variable content

    I use CFPOP with no problem,
    except that when I send from my OutLook,
    the FROM variable content is a name (my name)
    not an Email adress.
    I need the Email adress like : [email protected]
    which is the unic identifier
    I am under CF 7 (or CF 8)
    How to get the Email adress in the  "from" variable of the CFPOP ?
    Thanks to any help
    plarts
    Messages: 6
    Inscription: Dim 21 Mar 2010 17:26
    Message privé
    E-mail

    I send (myself, as an example, could be anybody else) a mail to an Email address xxxx,
    With CFpop I want to get this mail and identify the sender with the Email adress (in the from variable).
    So in the "from" variable of CFpop , I should get the Email adress of the sender.
    Then 2 cases :
    - If the mail is sent from Outlook , the "from" content have the name of the person (not the Email adress)
         (and different person can have the same name)
    - If the mail is sent from a Webmail, the "from" content has the Email adress (format [email protected])
         (the email adress is unique)
    And I need the Email adress (not the name of the sender) to Identify the person in the DataBase.
    Hope, this is clearer ?
    Thanks for your help.
    Pierre

  • When installing maverick mailboxes disappeared, only have current emails. All the folders and content missing. Could anyone be of help. I do have Time Machine for backup.

    When installing maverick mailboxes disappeared, only have current emails. All the folders and content missing. Could anyone be of help. I do have Time Machine for backup.

    Solved the problem by clicking the gray triangle next to "On My Mac" and drilled down!

  • File archive part of  CS6 is missing

    I recently purchased and i'm trying to download and install. I receive this message "File archive part of  CS6 is missing, you need all parts in the same folder.
    I have no idea

    Hey nikkol,
    Please try installing the software from the below mentioned link and let me know:
    Download CS6 products
    Regards,
    Anubha

  • The file archive part of adobe is missing?

    I just downloaded Premiere and Elements ( or is it the same thing...i'm really new to this) and it is says the file archive part of adobe is missing. It's saying I need to download/locate it? What do i do?
    Thanks

    I ended up having to do the live chat with someone at Adobe and they ended
    up sending me links to download the applications not sure what else you can
    do it was awhile ago so I don't really remember what happened

  • Is Digital Asset management module is part of Webcenter content

    Is Digital Asset management module is part of Webcenter content?
    Then, WebCenter sites is the latest version of fatwire. Is digital asset management module included in it?

    Is Digital Asset management module is part of Webcenter content?
    Yes.
    Then, WebCenter sites is the latest version of fatwire. Is digital asset management module included in it?
    No. WebCenter Sites is a different product. The only thing available in the newest release is that you can use WebCenter Content as the content repository for Sites' content, so you should be able to expose DAM's features such as multiple renditions and/or streaming also in Sites. But you will need to license it (or get the WebCenter Suite Plus license which contains everything).

Maybe you are looking for

  • How to restrict the user in MIRO for not modifying  price

    Hi All  My requirement is How to restrict the users in MIRO screen for not modifying Material Prices  of only the for specific  ROH types . For example : Valuation class             RM description   3021                             RM - A   3022     

  • 3138 SQL error opening sqlite db file from Outlook 2010 as attachment

    Has anyone of you tried sending the sqlite db file thru e-mail and then open the file from Outlook 2010? I have an air app that can be opened by doubleclicking the sqlite database file (invoke event). The file is sent via e-mail from the app itself,

  • Deploying to shared tomcat instance

    Hi All I'm new to servlet, and even newer to Creator. I'm trying to deploy a relatively simple two page application (Compiles and deploys with no problem locally on sun app server) to a shared instance of tomcat. This means that I can't simply send o

  • I deleted my voicemail icon, how do it get it back?

    I deleted my voicemail icon 0_0 how can i get it back?

  • Panic after boot in page_retire_thread Solaris 10 update 8

    Hi, I am using Solaris 10 update 8 on a T5120. There was a HW problem that required a new motherboard. Afterward, the system reboots but within a minute of the login prompt the system panics with: panic[cpu10]/thread=2a100527ca0: BAD TRAP: type=31 rp