Call text element and command in smart forms

Hi, I have create a smart form that have one text element and one command. The command is for do a page break.
I have seen that you can call the smart form from a program doing:
1.-'SSF_FUNCTION_MODULE_NAME'
2.-call function fm_name
That is not ok for me because I want to call to the smart forms manually as befores it done with sap-script, open form, write , close form...
What function Have I to use to call to the text element?
What function Have I to use to call to the command?
Someone have and example calling a smart form from an abap.
Thanks in advance.
MANUEL

Hi Vinod, I do not understand very good that you propose.
I explain more details of I have to do:
I have a abap program that read and write some data, I want to pass every line of the report to smart form, and in some lines comes a break page that I have to force also in the smart form, the idea
LOOP AT ITAB.
   IF ITAB-LINE EQ '<BREAK>'.
BREAK PAGE IN SMART FORM
   ELSE.
PASS ITAB-LINE TO SMART FORM
   ENDIF.
ENDLOOP.
In order to do that I have created in the smart forms one text element X_LINE that represents every line and a command NEWPAGE that force page break.
Is possible to do that I want by the way that you propose?
Thanks in advance.
MANUEL

Similar Messages

  • Search for texts and logos in smart forms

    Hi there,
    Does anyone know if there is a function module that can search for specific texts and logos in smart forms?
    Any response would be really appreciated.
    Thanks
    HW

    Hi
    I really doubt if there is any FM like that. But, you can always search the existing logos in the Appln Server, the tcode is SE78.
    Regards,
    Vishwa.

  • Calling text element

    How to call text lement and standard text in a smart form plz expain me
    Thanks
    Prasad.

    >
    Durga  Prasad wrote:
    > That means here we  are calling standard text  am i correct
    Yes.
    check page 46 of this pdf document for more help.
    [smartform documentation|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
    кu03B1ятu03B9к
    Edited by: kartik tarla on Feb 16, 2009 11:35 PM

  • How can i print the serial no: and total in smart form?

    how can i print the serial no: and total in smart form?
    i have two fields Quantity and Price; so i want to display the total for each item and
    atlast the grand total. also the serial no: for each line item.
    how it is possible?

    Hi
    You can do it by two ways
    By making table node or by making simple loop node
    ex
    loop node
          command line node
                  total = total  + itab-quantity.
    text node
    &total&
    Regards
    Aditya

  • Status gui, text elements and screens in Abap in Eclipse

    Hello everybody,
    Today i start using AiE, but i see that i can't create status gui, text elements and screens, the only method to achieve this is open sap gui (from eclipse) and create this directly there. I don't know if i am doing something wrong but i can't see how to create this objects in eclipse.
    Is SAP working to implement this options directly in Eclipse without having to go to sap gui?, if that's right, when are we going to see this options directly in eclipse?.
    In advance thank you very much.
    Best regards.
    Jhon Jairo Teran.

    Hi Jhon Jairo Teran,
    you are right, some development objects are currently only supported in AiE using the SAP GUI integration. However, with each release more and more features become available. For example, editing message classes was added in a recent release. The best way to keep up-to-date with the features of AiE is to follow the AiE space on SDN (ABAP in Eclipse).
    On thing to keep in mind is, that the availability of some features depends on the version of the backend system. Thomas Fiedler created a blog that contains the information which features are available with which backend version: ADT Feature Availability Matrix for AS ABAP Releases.
    Christian

  • Table for text elements and selection texts

    Hi All,
    In which DB table does SAP stores program name and corresponding text-elements and selection texts used in that program.
    There is a table D010TINF which just stores basic information but not the text elements number and name.
    Thanks in advance.
    Regards,
    Atish

    hi,
    table name - RS38M (take se11 and give this, u can confirm)
    field name  - STEXTT
    rgds
    anver
    if hlped pls rwrd points

  • How can i create Header and items in SMART FORM

    Hi Experts,
    How can i create Header and items in SMART FORM in the below driver program.
    _Header fields_
    SELECT BUKRS BUDAT GJAHR CPUDT USNAM BLART BELNR XBLNR BLDAT WAERS KURSF
      FROM BKPF INTO CORRESPONDING FIELDS OF TABLE IT_HEAD WHERE BELNR IN S_BELNR AND BUDAT IN S_BUDAT AND GJAHR EQ S_GJAHR AND BUKRS EQ S_BUKRS AND CPUDT IN S_CPUDT AND USNAM IN S_USNAM.
    Item firlds
    SELECT BUZEI BSCHL SGTXT SHKZG KOSTL PRCTR WERKS WRBTR HKONT KUNNR ZFBDT FROM BSEG INTO CORRESPONDING FIELDS OF TABLE IT_ITEM
      FOR ALL ENTRIES IN  IT_HEAD WHERE BELNR = IT_HEAD-BELNR AND GJAHR = IT_HEAD-GJAHR AND BUKRS = IT_HEAD-BUKRS.
      LOOP AT IT_HEAD.
    MOVE-CORRESPONDING IT_HEAD TO FINAL.
        LOOP AT IT_ITEM
        WHERE BELNR = IT_HEAD-BELNR.
          MOVE-CORRESPONDING IT_ITEM TO FINAL.
    ENDLOOP.
    ENDLOOP.
    Regards,
    Sreedhar.

    for these internal tables you can pass some Identifier  for both tables.
    in header file : IT_HEAD
    IDENT   type  char10,
    BUKRS type BUKRS,
    BUDAT type BUDAT,  like
    in header file :IT_ITEM
    IDENT   type  char10,
    BUZEI type BUZEI,
    BSCHL type BSCHL,  like  in item data
    you need to fille the  IDENT value like
    IT_HEAD:
    10 -- DE01-- 10.20.2009
    20 -- CH01-- 10.20.2009
    IT_ITEM
    10 -- 1234-- KSCHL value  like all records
    10 -- 2345-- KSCHL value  like all records
    10 -- 6783-- KSCHL value  like all records
    20 -- 3452-- 1KSCHL value  like all records
    20 -- 4532-- KSCHL value  like all records
    20 -- 4535-- KSCHL value  like all records
    in smartform you need to create 2 tables.
    or create
    LOOP  with IT_HEAD
    table with IT_HEAD
    table with IT_ITEM
    and put the condition for each table in  DATA tab where condtion  like IDENT = IT_HEAD-IDENT
    in item table also INDENT = IT_ITEM-INDENT..

  • How to print a text of type text element and include text in same line

    hi,
    I am working on forms,
    i have to display like this in the form
    1.RFQ number, 2.Header text
    explanation for numbers
    1. The RFQ number is displayed using a variable so the text type is Text Element
    2. Header text, has to be got form the standard text , so the text type is include text.
    how can i print both in the same line.

    Hi ,
    You can use a charecter variable whos length >= length of RFQ no + Length of Header string .
    Concatenate both in this variable. And print the variable.
    Pls reward if useful.
    Laxman

  • Text elements and key figures with multiple restrictions

    Hi,
    I'd like to display text elements in my query according to the restricted key figures in it. There is a restricted key figure used multiple times with different base of restriction. (For exmple Sales in the past week and yesterday.)
    KF restricted by <i>actual calendar week</i>,  and
    KF restricted by <i>actual calendar day</i>
    When displaying text elements, only calendar week appears, however, if KF restricted by calendar week is removed from the query, calendar day is being displayed. (I suppose that both time characteristics are taken as filter values.)
    Is that possible to display both filter values at once? Or at least calendar day meanwhile still having the week-based restriction in the query?
    Thanx in advance,
    Gabor

    One option would be to not use the *MVAL keyword and load the amount and quantity in separate Data Manager package imports wherby you can easily assign the NA to the appropriate dimension.  When you import amount -- assign NA to P_UNIT and when you import quantity -- assign NA to P_CURRENCY.
    However I suppose you would prefer to have one import process. Unfortunately I think you will have to find an ABAP custom solution by calling the END_Routine BADI from the transformation file to deal with the currency and unit dimensions.
    Best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Applications Regional Implementation Group (RIG)

  • How to use protect and endprotect in smart form

    hi to all experts,
                        im still begineer in smart form , i have two headings like
    company_code:              purchase doc no:
    after this i have a table to be displayed with four columns
    what i want is the whole data should not be split by a page break
    i know this can be achieved by using protect and end protect in sap scripts how to implement in smart form

    probably u have the table inside a loop or a folder or something....
    see this
    Page protection attribute
    Switch for page protection.
    Use
    Page protection switch.
    In some cases you may want to avoid that text is divided by a page break. Therefore, you can protect text sections with a page protection.
    Page protection can extend to
    a paragraph
    a text node
    all output within a folder, for example, several text nodes combined in this folder.
    a line type (table node)
    If on the current page there is not enough space left for the protected text, it is displayed entirely on the next page.
    So u can page protect a line in table...
    in the table node..goto tables tab and click the details tab-->select the line type and check the 'no page break'
    check box

  • Can I export HR infotype text elements and then import them elsewhere?

    I am attempting to extract PCL1 TX text elements from one SAP client and want to import them into another.  Have any of you tried and succeeded at this?
    I have had some, but not total success.  I am actually creating the text element records in pcl1 using the 'export text-version wa_text to database pcl1(tx) id wa_text-i_key' command.  The key matches exactly the key in the client I have copied the text elements from.  There is also an 'X' in the infotype record in the itxex field, and the 'display text' button shows on the screen.  However, when I select the 'display text' button from the PA20 or PA30 screen, all I get is a blank infotype text screen.
    Any suggestions?
    Edited by: Kathy Cunningham on May 12, 2011 10:42 PM

    You might be missing the ptext parameter that contains the text.  I found the below syntax that may help:
    EXPORT
        text-version FROM version
        ptext        FROM IT_TEXT
      TO DATABASE pcl1(TX) ID pskey
        FROM pcl1.
    Upon further review, it does appear you may sending it, just not using the "from" syntax.
    Edited by: Ron Mulig on May 13, 2011 8:56 AM

  • I am in trouble to display Emp_code and Emp_name through Smart form .

    HI All Experts .
    I am very stuck up in Smart-form .
    What i need to do is just Display Employee NO (I.e. Employee Code)
    and his name through Smart-form .
    I folow the steps suggested by experts , but unable to print it
    May any Expert give the Steps , How to Proceed it ?
    It would be great favor to me ....
    Pa0001 is table for Employee Code (Pernr)
    and Ename(Employee name) Both fiels are in Table pa0001 .
    Please help me out or send Screen Shots , how to proceed in Smart Form .
    Please it is very Urgent Sir .
    Best Regards : Rajneesh

    hi rajneesh,
    follow the steps to disply them:
    1. global definitions -> types -> write:
    data: begin of ty_pa001,
             empno type <fieldname>
             empname type <fieldname>
            end of ty_pa001.
    2. global definitions -> global dat -> write
    it_pa001 type table of ty_pa001
    w_pa001 type ty_pa001
    3. global definitions -> initialization -> write
    input parameter: pa001
    output parameter : it_pa001
    below: select <empno field> <empname field> fron pa001 into it_pa001.
    endselect.
    4. main windoe -> create table
    5. table -> table tab
    right click on the row in which u can view %LTYPE% -> split -> cell
    6. table -> data tab
    at loop give: it_pa001 into w_pa001
    7. table -> main area -> create table line
    now u get 2 cells - cell1,cell2
    8. cell1 -> rightclick -> create text
    in general attributes tab click on txt editor(it will be a button left side to the editor)
    then goto -> change edotor
    there write: &w_pa001-empno&
    9. in the same way write &w_pa001-empname&
    10. save, check n activate
    11. now execute
    12. give lp01, u can have the data u want
    hope this helps you.

  • How to display query variable in text element and format the text element

    Hi All,
    I want to display the value of the value of variable against fiscper3 and the value of the variable against 0fiscyear in the web application template from the query in the text element in the web template in BI 7 Web application designer.
    Also, in the web application designer I need to format the text element in the web application designer to set the text element to center the display change the size and make it bold. I am bit lost I cannot find these properties in the web application designer against the text element.
    Appreciate if you could kindly help.
    Thanks
    Karen

    Hi
    hope below tags would help you
    Re: Search by text on a variable
    Re: Need to display text part of TEXT variable in query designer
    regards
    nag

  • Gumbo text elements and embedded fonts

    Hi again,
    ok I found the solution. The first time, I searched in the "CSS Advanced Selectors" spec document for the solution and I found nothing about it. Then I had the "great" idea to look in the only right place which is of course "Text Primitives (TextBox, TextGraphic, and TextView)". There I found the hint about "DefineFont4" which, with some search, led me to the solution:
    1. Add the new property "cff: true" in the "@font-face" css block
    2. Set the property fontLookup="embeddedCFF" for the text element
    et voilà!
    I hope this will save somebody else some time!
    Haykel Ben Jemia
    Allmas
    Web & RIA Development
    http://www.allmas-tn.com

    OK,
    I have given up messing with stylesheets, trying display:
    block, inline, different ways of formatting the XML, messing with
    XML.ignoreWhiteSpace, and XML.prettyPrinting etc.
    I went down the route of encodeURI, using a RegExp to strip
    out all tabs, linefeeds and carriage returns. This now gives
    consistent results for all situations, even embedded and none
    embedded fonts.
    e.g.
    _text:String = TEXT FROM XML, HTML TEXT etc
    var st:String = encodeURI(_text);
    var pattern:RegExp = /(%09)+|(%0A)+|(%0D)+/g;
    st = st.replace(pattern, "");
    st = decodeURI(st);
    YOUTEXTFIELD.htmlText = st;
    The <p> tags still behave as a <br/> tag, but you
    can add an extra <br/> to simulate a paragraph.
    Here is the example again with the updates,
    Hope this helps someone

  • Transporting Text Elements and Text Symbols?

    Hi,
    Please tell me how do we translate text symbols and text elemnts into different languages? Also how do we transport them and if we translate them in different languages then will these translations be available when we are transporting them to different servers?
    Looking forward to your quick response.
    Regards,
    MD

    Hi,
    Refer the below thread..
    Re: Text element translation
    Re: Text element transporting
    Edited by: Chithra Saravanan on Aug 4, 2008 11:33 PM

Maybe you are looking for

  • Dates are not flowing properly into bw

    Hi Friends, We have some serious problem. we have few reports on Sales and the data is extracted from r/3 into bw on daily basis. some times the reports working fine other times either the production date or exp date is not flowing into BW or it is g

  • Converting CMYK design to K+1PMS

    Hello, My design was originally created as a CMYK. Now, it needs to be converted to a Black + one PMS. Using channels, then copying and pasting portions into a new PMS channel, I thought I had it. However, two portions of the design are not looking r

  • Healing brush/Clone stamp tool and others very slow processing

    Healing brush/Clone stamp tool and others very slow processing. System resources monitor shows only 700MB (of 5GB allocated to Photoshop) RAM and 30% CPU is used to perform such tasks as healing brush. Process bar comes up and is painfully slow to co

  • HttpConnection in background and UI thread in front causes lockups !

    Hi , Iam running a midlet on Tre0 600 using IBM J9. (CLDC1.0/MIDP2) The design of the midlet is as follows. I have a main form with some items on it. (items are xml forms) When i select a item (form) fill it and submit, i put the data to be requested

  • Audio video capture and combination Nintendo64

    Hi I was hoping that someone could help me with mixing a video and audio signal for live playback. I have a N64 with its video component hooked up to my TV capture card, and the audio connected to the line in on my sound card. the computer i'm using