Hi..how we enter standard text for smartform using include text

hi
guru
..how we enter standard text for smartform using include text..
i know only using so10 we write text..
in smartform it asking text-object
                                 text-id,
so what values we should give to get text

Hi,
   Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
Regards,
Shafivullah Mohammad

Similar Messages

  • How to perform a character protect when using include text in Script form?

    In my main window I have code as below:
    INCLUDE &GS_EKKO-EBELN& OBJECT EKKO ID F19 LANGUAGE EN
    INCLUDE &GS_EKKO-EBELN& OBJECT EKKO ID F19 LANGUAGE ZH
    There is nothing wrong with language zh but...
    For English,Every word at the end of line was splited
    EG:In text,It should be "I hate Sap script"
    But it is "I hate sap scr
                 ipt"
    I noticed that there is a protect in character which is used to prevent this,But text included is a command so I can't give them a character format.In default paragraph format there is only "para protect" which can't protect word but paragraph...
    I don't want to code in abap because I have static text and included long text appear alternatively,if coding,I will use so many text element one by one to loop the tdlines...
    So,If anyone can help me?
    Thanks~

    Thanks but
    If append tdlines...It would be
    /e Text element1
    xxxxxxxxxx
    /e tdlines1
    loop tdlines
    /e text element2
    xxxxxxx
    /e tdlines2
    loop tdlines
    /e text element3
    xxxxxx
    /e tdlines3
    loop tdlines
    Too many text element....
    Is there any other solution...?

  • Item txt using include text smartform

    Hello Friends ,
    How can we print Item text from purchase order in smartform using include text . I know click on the include text mode and then write the following details .
    text id = f01
    lanuage = en
    object = ekpo
    what should i write in text name . Any other details i need to mention
    Do i need to create one using SO10 . Plzzzzzzzzzzz help
    Joseph

    Hi,
    Right click on node(on which you need the text)
    Create-Flow logic-Program lines.
    system gives %CODE1
    there are two tabs General attributes and Conditions
    click on General Attributes
    Provide the Input parameters - which contains po no and item no
    Provide the output parameters- globally defined Variable  ex NAME type C
    write the code:
    CONCATENATE ekpo-ebeln ekpo-ebelp into name
    Now again right click on program line create Text.
    Give text type as Include text.
    provide the details
    Text Name      &NAME&
    Language        EN
    Text ID         F01
    Text Object     EKPO   
    Check the box : no error
    Rgd
    Narsim
    Edited by: Aeda N on Nov 17, 2009 11:59 AM

  • How to enter opening balance for GL A/C(Ex. Bank A/C, Cash A/C, Vendor A/C)

    Hi Expert,
    How to enter opening balance for last year to closing balance to this year opening balance explain deeply helpful for me Thanks in advance.
    Example
    All Bank A/C, Cash Book, Vendors, Customers, like that how to enter closing to opening balance.
    With Warm regards,
    Selva

    Dear,
    As per SAP standard there is no need to carry forward the balances as the system will do a virtual carry forward into next year opening without creating any FI documents.
    If your business scenario demands then you can use the transaction code F-02 for posting a carry forward balances, this will not effect any of your balances but only creates a FI document.
    If your R3 version is SAP ECC5 or 6 then use the transaction code FAGLGVTR

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • How to get standard program ,script,smartforms all from sap

    hi friends
    how to get standard program ,script,smartforms all from sap.
    thanks&regards
    Babasish

    Hi,
    reports:
    goto se38
    all programs not starting with y or z will be sap std programs only
    same for se71 scripts
    samse for smartforms
    but the use of those will be known when you see the documentation
    for each programme
    for std programs there will be documentation available so that you can understand
    why they have developed that object
    thanks & regards,
    Venkatesh

  • What's the standard program for smartform : HR_ECM_CRS

    Hi Friends
    what's the standard program for smartform : HR_ECM_CRS?
    <REMOVED BY MODERATOR>
    Regards,
    Sree
    Edited by: Alvaro Tejada Galindo on Feb 21, 2008 4:14 PM

    hi
    good
    check this link, hope this would help you to solve your problem.
    http://saphelpbykevin.blogspot.com/2006/09/compensation-review-statement-confusion.html
    thanks
    mrutyun^

  • How to enter Intial quantity for an items

    Hi Experts,
    I have to put initial quantity's for more than 10000 items. So please let me know the procedure how to go about it. Manually i think its not possible bcoz it will take huge amount of time. So please suggest me the solution. Waiting for ur earliest reply.

    Check this SAP Notes:
    864113     How to enter initial quantities for Stock via the DI or DTW
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=864113]

  • How to Copy Standard form in Smartforms?

    Hi Experts,
    can anyone tell how to copy a standard form in Smartforms.
    Thanks in advance

    Hi Abdul,
    We have to copy them to '800'. (this is your own company define client no)
    All Standard Scripts and their respective print programs are listed in table 'TNAPR'.
    Ex: FORM MEDRUCK has the Driver Program SAPFM06P.
    NOTE: Never make any changes to the Standard Driver Programs
    STEP 1.
    Goto Transaction Code <SE71> and 
    select from Menu UTILITIES ->Copy from Client.
    Enter the Standard Form Name, It source Client 000 and the target Form Name that you want it to be saved as on your client.
    Say you are naming it as zmedruck1.
    Click on EXECUTE.
    STEP 2.
    Converting form to English.
    Open zmedruck1 in <SE71> With language DE.
    Then goto  UTILITIES -> Convert Original Language from DE to EN.
    Then you can modify the layout for example, chaging the logo, or changing the headers, or adding any new code to do some calculation etc.,
    SAVE THE CHANGES AND ACTIVATE.
    Then select from the menu  FORM -> CHECK -> TEXT.
    SELECT your driver program name from the list adn click on COPY.
    If you don't see the program name in the list then click on 
    'APPEND PRINT PROGRAM' and add your program name and then select it from the list and click on COPY.
    STEP 3: Assigning our form to the standard print program.
    Start Tr.Code <NACE>.
    In our present case since we are working on 'Purchase order' we have to select EF and click on the button Output Types.
    Then on Right hand side, scroll down and select  NEU - New P O Printout. 
    (This may change for different programs).
    Then Double click on  Processing Routines on Left hand side.
    Change from Display -> Change Mode. 
    Give your form name (zmedruck1) for printoutput and SAVE.
    STEP 4:
    Start Tr.Code <ME22N> since you are working on Purchase order and click on print Preview to make sure your layout etc., changes are OK. If not again you have to make the changes accordingly.
    If every thing looks ok then you can print your form.
    Regards,
    Sathish:)

  • How do find standard report for

    Please help me my client asked me to look for standard report but am lost am new  cleint's easy access dont not have these so how do i find these reports
    AR Deposit Report
    Costs charged to Warranty orders
    Costs Of Goods Sold Report (by Market Business)
    Units shipped not Delivered
    Units shipped not Invoiced

    The kind of report in my mind.
    - What is my last month or last year activity ?
    - What was past tennis schedules ?
    Did I go to tennis regularly ?
    etc
    You could use a text editor and manipulate a copy of the > ics file, or you could use Apple script to extract and
    process the historical events.
    The ics files looks too complicated.
    I don't know, Apple script.
    Looking for, if there any report option in the iCal.

  • Standard Text in Smartforms using SO10 Transaction

    Hi,
    My requirement is i have IF Condition followed by Elseif. when ever any of above conditions satisfy i need to print a text of at least 5 lines.
    If <>
    Print Text upto 5 lines each line at least 100 char(text1)
    elseif <>
    Print Text upto 5 lines each line at least 100 char(text2).
    else <>
    text24.
    If solution for the above  is using SO10 Tcode then  plz expain me in detail.
    thanx in advance

    Hi
    Check this
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Subtotals - Check the link...
    Re: Subtotal with Table Node in smartforms
    Regards
    Anji

  • STANDARD PROGRAM FOR SMARTFORMS

    hi all,
    i have problem in finding standard program for <u>std. PO Smartforms</u> i.e /SMB40/MMPO_A (purchase order).
    i have checked in table TNAPR. i dint find. can anyone help finding the std. program name.
    regards,
    thanks in advance.

    Hi,
    Yes, there is standard smartform for PO (pre-configured forms) but you have to import package :/SMB40
    PO Form: /SMB40/MMPO_L
    Print Program: /SMB40/FM06P
    See the note 595812: it explain how to download the preconfigured smartforms.
    Anyway this is an extract of that note:
    Detailed information can be accessed at the site:
    http://service.sap.com/preconfiguredforms OR
    http://service.sap.com/smb/development/preconfiguredforms.
    To download preconfigured smartform package, please:
    1. Go to http://service.sap.com/installations, select tab "download".
    2. On the right hand side screen, locate navigation tree node
    SAP Software Distribution Center->Download->Installations and Upgrades->
    Entry by Application Group.
    3. In the main window (right hand side), follow the path
    SAP Best Practices->Best Practices for mySAP All-in-One-> PRECONFIGURED
    SMART FORMS, you can find available preconfigured smartform versions.
    Here you can also download the PO smartform.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Standard programs for smartforms

    Hi experts
       How can we find standard programs for smart forms

    Hi,
    Up to  4.7 version there are no standard smartforms. But you can find standard smartforms from 5.0 version onwards.
    Go to tcode smartforms then take f4 help you can get all list of smartforms there you can find them.
    Thanks
    sarada

  • How to write print program for smartforms

    Hi all
    I need to develop new smartform and its print program.
    But Im not experience in writing print program for smartform.
    Ive gone through the simple print program sample that use only one table as input and one table for output.
    But my smartforms require few tables for input and output.
    How should I define the Data?
    Can anyone guide me on how to write it.
    Thanks & Regards
    az

    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    Reward points...

  • How to enter serial number for sale order line  which is in shipped status

    Hi All,
    We have 2 different items which are defined as Serialized at Sale order issue at item definition.
    In one sale order,User has forgot to add serial number to one of the item at Ship confirm stage.
    He has entered serial number correctly to other item.
    Now the both Sale order lines are in Shipped status if we view them through Shipping>transactions.
    I am technical guy and new to OM.Could you please let me know the process to enter the serial number for the item to which user has missed it
    Thanks,
    Satya

    Hi Satya,
    Since the item is already shipped, you cannot enter serial number for this line.
    you have to enter serial numbers after pick confirm only.
    check this note
    How to Enter Serial Numbers in the Shipping Transactions Form [ID 1235403.1]
    As a workaround for the previous lines do RMA and try to receive the goods back to your subinventory.
    For all new transactions follow the above notes.
    Thanks
    -Arif.

Maybe you are looking for