Smartforms with text type DOKU

Hi,
I would like to display a text in a Smartforms. This text is a standard include from the QM module. The name is QM_QCERT_GENERAL_TEXT.
Inside this text, when I display the content in the transaction SO10, there is the code :
INCLUDE QM_QCERT_GENERAL_TEXT OBJECT DOKU ID TX
When I press the preview button in SO10 I saw a text, but when I use this text in a smartform nothing append.
Do you have any idea about this problem ?
Rgd
Frédéric

Hi Matt,
that didn't work, I can't find any "normal" way to insert this text.
For the moment, I have created my own code like this :
* Recupère la version max de la doc.
  select max( dokversion )
         into w_version
         from dokhl
         where id     eq 'TX'
         and   object eq 'QM_QCERT_GENERAL_TEXT'
         and   langu  eq sy-langu.
* Recherche des textes d'en-tete du document QM.
  select dokformat doktext
         into table it_text_line
         from doktl
         where id         eq 'TX'
         and   object     eq 'QM_QCERT_GENERAL_TEXT'
         and   langu      eq sy-langu
         and   dokversion eq w_version.
Rgd
Frédéric

Similar Messages

  • Printing issue in smartform with output type

    Hi ,
    I am facing issue while I am taking print from zebra printer.
    I am trying to take a print from MB90 but its not coming but its giving status 'processed' and same from the spool, in spool its showing status complete but not giving any printout.
    if I m attaching  my smartform with another output type which already working for another label(smartform), then its giving print.
    So, what I want to know..
    Its can be a problem with output type config or from basis side.
    Please help.
    Thanks,
    Sandeep

    well i have seen setting are correct but having one issue it doesnt trigger automatically I do it manually from MB90 and rest of the things are correct becaoz i have seen while debug its going correct form from driver program, when i am runniing from MB90 manually .
    Thanks,
    Sandeep

  • Smartform with text containing html tags

    I am reading from a table that contains html tags like
    <br>
    <menu>
    <LI type="disc">This is a line which contains html tags
    that goes over to 2nd line
    <LI type="disc"> This is also another line which contains html
    tags.
    and each line is stored in a different row. The customer has agreed to use only 3 of the above html tags (
    <br>, <menu> and <LI type="disc">
    When the output is previewed in smartforms, the html tags needs to be formatted and not print in raw format as follows: 
    <LI type="disc">This is a line which contains html tags
       that goes over to 2nd line
    <LI type="disc"> This is also another line which contains html
       tags.
    How can this be done ?

    ok understood...
    you can try this
    Loop at i_html into wa_html.
    tmp = strlen( wa_html-line).
    do tmp times.
    if wa_html-line+0(1) = <
    l_start = 1.
    __elseif wa_html-line+0(1) = >
    l_start = 0.
    concatenate l_char wa_html-line+0(1) into l_char.
    endif.
    if l_start = 1.
    concatenate l_char wa_html-line+0(1) into l_char.
    wa_html-line = wa_html-line+1(l_tmp - sy-index) OR use the keyword SHIFT LEFT...plz chk the syntax
    elseif l_start = 0 and l_char = <LItype=disc>
    concatenate <BULLET>  wa_html-line into  wa_html-line separated by space.
    endif.
    enddo.
    modify i_html form wa_html.
    endloop.
    now u define two text element one with bullet and another without bullet. this is how u insert bullet:
    goto to the texteditor of a text element in smartform. Its a small button on the left hand side of.
    Then goto insert>characters>sap symbols.
    for ur requirement u can use the symbol SYM_FILLED_CIRCLE.
    Remember these icons or symbols whatever u will not be able to see in print preview....u have to take a print
    and see
    Now at the time of display check if the line contains the
    tag <BULLET> ( if wa_html-line+0(8) = '<BULLET>')
    if the line has the tag then display ur text in the text element with bullet
    otherwise
    display it in the non bullet text element..
    remeber to remove the tag before dispalying
    hope this solves ur prob...

  • Print Preview of smartform  with device type EPESCP9

    Hi all,
    I have created a z smartform to print commercial invoice.
    I am using dot matrix print Epson FX-2170 to print invoice.
    For this printer the device type is EPESCP9.
    So I created an output device having device type EPESCP9.
    I have assigned the required Format type to the device type and the page format which is assigned in the smarform to the Format type.
    But I am not getting any print preview of the invoice when  I select this output device.
    I am only able to get print preview when I select an ouput device having device type SAPWIN.
    Please provide solution to get preview in device type EPESCP9.
    Edited by: Vinod Iyer on Apr 24, 2008 6:08 PM

    Hi,
    1.I think You are assigned the Printer details in SPAD.
      2.The page format and Printer settings are correctly done ,then it will come.But,the main problem is ,the page format is not supposed to match.Please check that page format in smrtform and Printer settings.
    3.If posible see those settings in I18n also.
    Regards,
    Shiva.

  • PS: What is PS Text, Text Types for PS Text?

    Hi,
    I came across this config: Project Systems > Documents > Define Text Types for PS Text.
    Can you explain what it is and where it could be found?
    Thanks!

    Hi Vivian,
    Go to SPRO>Project System>Documents>Define Text type for PS texts.  Read the document adjacent to the indicator. That explains you the purpose.
    PS texts are user-definable texts that are managed in a PS text catalog. The texts are grouped according to text type and can be created in several different languages. You can create PS texts in SAP Script format or using Microsoft Word. The files in question are stored in the R/3 database. You can assign PS texts to one or more WBS elements or activities.
    To create PS text for any WBS element, go to the detail screen of that "WBS" in project builder, click on "PS Text OVerview" for eg. Create a PS text called Specification with text type 01 (Function Description) and format 2 (DOC Format)
    Enter a text of your choice in the Microsoft Word Editor.
    Regards,

  • Portal Doesn't Display page with text/plain content type

    Hi,
    I created a WSRP portlet with text/plain content type and added it to my page, but I get the following error message:
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    when I add the portlet to my page.
    It works when I use text/html content, but text/plain doesn't work.
    Any ideas how I can get my portlet to display in the portal?
    Thanks in advance,
    GB

    IE6 cannot display text/plain (support.microsoft.com/kb/329661).
    Does the server know what to do (i.e. how to render) with text/plain?

  • Sharepoint 2010 - Multiple line of text column with Plain text type

    Hi All,
    I have list where multiple lines of text with plain type column is used. When I start entering information in multiline text box in new form, I faced following problem,
    I typed enough information so that scroll bar is visible. When I stopped typing information, scrollbar automatically scrolled up and last few lines are not visible. But when I started typing again, my cursor is automatically placed at the end text and now I
    am able to see last lines.
    This issue occurs in IE8 version and not in other versions. Can anybody help me to resolve this issue or tell me this is bug in IE8?

    Try press ctr F5 and refresh the page to load it properly, also check in browser compatibility mode
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • To check with the text  type of HTML.

    Hi,
    Good Morning,
    In my project with jsp I developed itwo files ndex.jsp and response.jsp.
    In the index.jsp I put one label,one text and one button.
    So When I give some id in the text then click the button the response.jsp will be called.I know the query but i donot know how to check with the text of the HTML text field.
    My HTML text type name is username.
    my query:
    Select * from StudentTable where studentcode='" + username.getText() + "'.
    But I am not sure that my query is correct.I also have the error with this quere.
    Will you please explain me to solve this?
    Thank you so much.
    Meena.

    your query must be:
    Select * from StudentTable where studentcode='" + request.getParameter("username")+ "';in this part:
    request.getParameter("username")you are requesting for the value of your text field(username) from the previous jsp/html form

  • Printing Smartform with Table data from PrintProgram

    Hi,
      Can any one explain the steps involved in printing the Smartform with the data from the Print Program table. How to fit table in the Smartform i.e, while designing the Smartforms layout for the table.
    Thanks & Regards

    Hi,
       As  data is coming from the print program in the table. Do the following procedure
    1. In the form interface ---> Declare the internal table as same structure as in the print program. for ex: you r passing MARA table data then declare it as itab type table of mara.
    2. In the window you want to create the table, right click > create> table.
    3. Go to data tab give the internal table name and work area .
    4. Now go to General tab-->Details.
    5. Declare the line types.
    6. Right click on header/main area/footer -->create table line.
    7. Now give the line type which you want to use.
    8. In the displayed columns>right click> create text node.
    9. In the text node &mara-matnr&.
    Procedure to create line type:
    1. Double click on table
    2. Go to table tab --> details
    3. Give the table width (width you want to display on the screen should be less than or equal to the window width).
    4. Line type --> Divide this into no of column you want to have in header/item.
    Note: total length of all columns should be equal to the table width.
    5.save.
    Br,
    Laxmi

  • I have created a .pdf form with text boxes, but the recipients are unable to fill in their answers.

    How can I distribute a form with text boxes so that the recipients are able to type into the boxes?

    This forum is for the Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask PDF related form questions in the Acrobat forums: http://forums.adobe.com/community/acrobat/forms
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • JDBC MS Access--- cannot extract entry with null value with data type Meta

    I'm trying to extract a data entry with null value by using JDBC. The database is MS Access.
    The question is how to extract null entry with data type memo? The following code works when the label has data type Text, but it throws sqlException when the data type is memo.
    Any advice will be appreciated! thanks!
    Following are the table description and JDBC code:
    test table has the following attributes:
    Field name Data Type
    name Text
    label Memo
    table contents:
    name label
    me null
    you gates
    Code:
    String query = "SELECT name, label FROM test where name like 'me' ";
    ResultSet rs = stmt.executeQuery(query);
    while (rs.next())
    String name = rs.getString("name");
    rs.getString("val");
    String label = rs.getString("label");
    System.out.println("\t"+name+"\t"+label);
    catch (SQLException ex)
    System.out.println(ex.getSQLState());
    System.out.println(ex.getErrorCode());
    System.out.println("in sqlexception");
    output:
    C:\Temp\SEFormExtractor>java DBTest
    yet SELECT name, label FROM test
    null
    0
    in sqlexception

    The question is how to extract null entry with data type memo?Okay, what you need to do is this:
    if (rs.getString("val") == null)
      // do something
    }This way, when it's a null value, you can check it first, and then handle it how you want, rather than getting an exception.

  • Urgent - help with Text direction in InDesign CS4

    Hello,
    I use InDesign CS4 on Windows 7. It's a standard version (without options for right-to-left languages).
    Whenever I make a new text frame, it seems to have a right-to-left "logic" of the text. The text types left to right, but the period in the end would go all the way right.
    It also mixes up tabs. It looks like this:
    Instead of:
    Usually I get around it by pasting another correctly formatted text-frame or text, and it works.
    Now I'm trying to create a new document with master frame (in order to be able to easily change the layout successively of a many-paged document), where I need to insert existing (formatted) text. But this text take this "right to left logic", whether I past the text, or even a whole text frame.
    I could find nothing in the character/paragraph options to get rid of this.
    I would greatly appreciate if you could help me.
    with respect,
    Jerusalem Nun.

    This behaviour is normal. Changing the default property of any style, when no document is open, changes the style for every new document, but not for existing document.
    Take a look what is your basic style where all other styles are build up on it, in your case, go to the paragraph style and look what is the basic style which was used.
    If the default style was used (it is the one in brackets), you have always a problem. You should not use it in any case.
    Because you don't have a ME version of InDesign you can't change direction directly, but you can create a new document with the default settings and the same paragraph (and character, table and cell styles) in a new document without RTL styles. Save this document, no content is required.
    Go to the 'infected' document, open the paragraph style panel and in the panel menu take "Load all text styles", select the new document and overwrite with the incoming styles.
    If necessary you might repeat it with the Table, Cell, Character and Object Styles, as all of them have some kind of direction settings.
    I don't know how good your styles were created, you have to adjust your document. And I would strongly recommend—I repeat—I strongly recommend to work always with styles.

  • How to Trim Rectangle with text to create reflection?

    Hello Everyone,
    I am realtively new to Illustrator and I am facing a problem that I am hoping some expert here can resolve. I have some text and I have converted it to outlines. Now I want to create shine on it. I want to fill a rectangle with white color and then clip it with text to give reflection effect but I can't figure out how to do it. I have selected my text and rectangle and tried all options in path finder tool but nothing seems to work. Please guide me how can this be done.
    Regards,
    Afraz Ali

    Afraz Ali,
    If you want to have the colour/colours/colour transition of the rectangle where the text is is nothing outside it, in other words colour the text with the colouring of the rectangle, you may:
    Use Live Type over the rectangle, select both, and Object>Clipping Mask>Make.
    With outlined type, you have to turn the lettershapes into a Compound Shape first.
    As you can see, it is simpler to just use Live Type, and it is editable.

  • Create survey/poll with text fields

    I want to create a survey in a meeting with text field type answers.  How would I do this?  I am using the hosted version of Connect and saw some reference to a Presenter add-in for PowerPoint, but don't seem have that.  We would like to have fields such as:
    Participant information (name, contact information
    Suggested future topics
    What should I use to do this since the Poll Pod obnly allows for multiple choice or multiple answer options and not key-in fields?
    Karl

    Adobe Presenter 7 is a product sold separately from Adobe Connect. Adobe Presenter can be purchased from many resellers.  It is a plug-in for MS Powerpoint and has the ability to upload many times of quizzes and polls in lots of types of formats.  You can download a 30 day trial from here:
    http://www.adobe.com/cfusion/tdrc/index.cfm?product=presenter&loc=en_us
    Adobe Presenter is only available for the Windows platform. MS Powerpoint for Mac does not allow third-party plug-ins like Presenter.

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

Maybe you are looking for

  • Binary operations

    Hi all, Okay im not very familiar with much binary operations, so I need a little help.  The problem that im having is the DAQ board im using has uses a 32 bit interface for digital I/O, and I need to be able to change  lines 8-22, depending on the d

  • How to avoid a timeout for a long-running query

    Hello, in my application I insert some rows in a temporary table on submit in a PL/SQL block on the page 1. Then I read these rows from the table on the page 2. Unfortunately the insert takes too long time, because I also have to make some other SELE

  • Missing start display

    My start button and display bar on the bottom of my desktop are missing.  How do I restore? 

  • Re : what is the importance of OKB9 and 3KEH in PCA

    Can u any body explain to me for  importance of 3keh and okb9 in profit center accoun ting.

  • Replicating single data source

    Hi Experts, I have a fresh copy of BW system to this I need to replicate single data source .How do I do that .If I replicate on source system all the ds will be replicated but I need to get only on DS .Pls suggest me. Swathi