Messages in Smartforms

I want to display a message through smartforms. The requirement: if a particular field is initial I want to display an error message. 1) is it possible if yes how??
Thanks in advance.
Regards,
Narayani

create programlines where you need the message.
write:
message e000(zyourmessageclass).
e means type error
000 is the message number
zyourmessageclass is your message class (To create use SE91)
If it helps please give points.

Similar Messages

  • Error message in SmartForm

    I am trying to test a SmartForm and I get the following error:
    Exception       FORMATTING_ERROR                                                 
    Message ID:          SSFCOMPOSER                Message number:           601    
    Message:                                                                         
    Reference field WA_ITEM_DATA-BMNG2 unknown in form.                              
    I am testing using the test environment (not a print program).  I am using wa_item_data-bmng2 in the form inside a table.  I added the field by dragging it from the field list so I know that there are not any typos.  Does anybody have any idea what could be wrong?
    Regards,
    Davis

    Problem might be WA_ITEM_DATA-BMNG2  ?
    Check the corresponding table of WA_ITEM_DATA,here BMNG2 will be quantity field or Currency field.
    when you use this field in smartform ,it will check internally reference table,please maintain reference field in data dictionary.
    I guess you created one structure in SE11,this structure has BMNG2 field,if so goto SE11 -> give ur structure -> click on change mode -> check the currency/quantity field tab,here you need to mention reference table,reference field.
    if you need any example on this,just look at VBAP Table,it will have reference tables,fields for corresponing currency/quantity field.
    Thanks
    Seshu

  • PO message with smartforms

    Hi,
    My version is 4.6C, I wanna use the PO message NEU with smartforms, but, I´m not sure that the program SAPFM06P is ready to work with smartforms, I was taking a look into the code, and it looks like is not prepared to call smartforms .
    If I have to make a new program, someone has an example ?
    Have somebody done it ?
    Thanks.
    Alexandre Nogueira.

    In 46c,  I don't think  that you can use Smartforms for PO output.  It is specifically setup for Sapscript.  Program SAPFM06P calls a function module which is contained in the function group MEDRUCK.   The standard SAPscript form is MEDRUCK.  Of course you may change this values in configuration, to point to different programs and sapscript forms.
    On the other hand,  I guess it is possible to assign a custom program in configuration which calls the function module generated by Smartforms.  But I'm not sure how this will interfaces with the output settings and other configuration.
    Regards,
    Rich Heilman

  • How to Print next Page in smartform ?

    Hello ,
    I want to print next page in smartform.
    The situation is :-
    I am passing an internal table containing list of personal numbers.
    I have to print their details . Every candidate's detail should be printed on a new page .
    I have designed the whole form , but I am not print their details on a New Page.
    Please guide.
    Thanks in Advance.

    Hi, Nikita.
    Please Have a Look the following Link
    [MODERATOR MESSAGE: SapScript/Smartform questions go in FORM PRINTING forum|/thread/1360534 [original link is broken];
    So, Please Post Questions Regarding SapScript and Smartform in FORM PRINTING.
    1. First of all you need to set a Flag at the end of every Personal Number.
    2. Than Right Click on the object Like Main Window
    --> Create --> Flow Logic --> Command
    3. From First Tab of Command General Attributes Check the Check Box Go to New Page and Select Your Page
    4. In the Conditions Tab Give you Flag Condition.
    Hope will help you to solve out your problem,
    Please Reply if any Issue,
    Best Regards,
    Faisal

  • Smartform Error "No defined value'

    Hi ,
    I am getting an error message in smartform 'Amount field has no defined value'.
    I have declared the amount field in global data & it has default value as '0' & i am computing its value in one of the nodes.
    When i try to print this field value at the end in text editor ,it gives the above error message.
    Kindly help.
    Thanks.

    Hi,
    If you are using it in the program lines, have you check if its in the list of variables in the upper part of the node (FROM/IN and TO/OUT).
    Regards,
    Leonard Chomi.

  • Error Activating Smartform

    Hi Experts,
    I am having trouble actiavting a very big smartform.It takes about 10-15 mins to activate.
    I did a syntax check and everything worked out find but when I activate it I get a message "Error when generating form ZMM_INV(2) ".
    The smart form name is ZMM_INV.
    I tracked the acitvation message to Include LSTXBF07, Message No 81, Message Class - SMARTFORMS.I tried understanding the root cause of this.Am not sure if this is because of the complexity of the smartform.The FM linked toform has already reached 50K+ lines.
    Any help is appretiated.
    Thanks,
    Chirantan

    Hi friend,
    The best way to  handle this is create a driver program for the form,
    Handle all the code over there in print program.
    Try to reduce the number of selects,
    Try to reduce the loops.
    Try all ways of reducing the code use sub routines for reducing the code.
    You can find many performance techniques in web one of them is <link to blocked site removed by moderator>
    Try all this and let us know what you are facing. Because if it takes 15 min for running in Development system then just think in production system. The error might be because of this only just check all these.
    Thanks,
    Sri Hari
    Edited by: Thomas Zloch on Feb 10, 2012

  • Update purchase order was terminated

    Hi expert,
    When i do release PO, there is a message occur "Update was terminated" and it affects the PO status is still not released. I have tried many times and it is still at the same condition. Then, i go to SM13 and see the detail error message, it was written :
    Update was terminated
    System ID....   ###
    Client.......   ###
    User.....   ###_#####
    Transaction..   ME29N
    Update key...   4D48A4D4B1F723CEE1000000C0A83246
    Generated....   07.02.2011, 14:05:25
    Complet ed....   07.02.2011, 14:05:26
    Error Info...   Internal session terminated with a runtime error (see ST22)
    Note : This error begins when i create an output type message from SmartForm for printing this document by using MN04. If i delete this output type, the system can be run smoothly then the PO status is released.
    Could you ever get the same problem? please help for solving this problem..
    Thanks & Regards,
    AJ

    Hi Jack,
    I had looked into ST22 and here is the information i get :
    Runtime Errors         POSTING_ILLEGAL_STATEMENT
    Date and Time          07.02.2011 10:41:10
    Short text
        Statement "CALL SCREEN" is not allowed in this form.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLSPO1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        There is probably an error in the program
        "SAPLSPO1".
        This program is triggered in the update task. There, the
        following ABAP/4 statements are not allowed:
        -  CALL SCREEN
        -  CALL DIALOG
        -  CALL TRANSACTION
        -  SUBMIT
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "POSTING_ILLEGAL_STATEMENT" " "
        "SAPLSPO1" or "LSPO1U06"
        "POPUP_TO_CONFIRM"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
         3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
        In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLSPO1" - in "POPUP_TO_CONFIRM".
        The main program was "RSM13000 ".
        In the source code you have the termination point in line 244
        of the (Include) program "LSPO1U06".
        The program "SAPLSPO1" was started in the update system.
    any help>
    thanks & regards,
    AJ

  • Correspondence Letter Infotype IT0906

    Hi all,
    Problem:
    I am facing problem in Correspondence Letter Infotype IT0906 at the time of viewing print preview of any letter. it is giving one error message:
    "Object <<smartform name>> does not exist".
    What i Did:
    in "SPRO-payroll-payrollIndia-PublicSector-correspondenceLetter-basic setting"
    i made entry:
    "IN01     HINUREQ_CORRS_LETTER     ZFORM_HR_MAIL_CORRES_RAVI01"
    Subtype -- IN01     
    Program -- HINUREQ_CORRS_LETTER     
    smartForm -- ZFORM_HR_MAIL_CORRES_RAVI01
    Debugging Result:
    entryies are not in following tables for smartforms for which Standard program is searching( Program for IT0906 in PA30):
    1.FPCONTEXT
    2.fpinterface
    3.fpcontexti
    4.fplayout
    Plzzzzz if anybody is aware of this Error reply. u can mail me also at [email protected]
    Thanks in advance
    Raj

    Hi Yogesh Salvi,
    Currently even i am also working on the very same requirement for my client.
    We need to generate a Confirmation Letter from Standard Transaction from Infotype 0906.
    I have developed a Adobe PDF Form and also Driver Program.
    Have provided both Form Name and Program name in the Table ' V_T7INFORM_SUBTY '.
    In the Screen when am clicking the Button Only the PDF form is Shown. The Driver Program is not getting Triggered.
    I searched a lot but couldnt get proper solution for this issue.
    If you can help me on this it will be of great great help.
    Thanks in advance,
    Regards
    Vinodh

  • FM SSF_CLOSE failing and giving error message while printing a smartform

    Hi,
    for language spanish the smartform is not getting printed for output type SG11 but for english it is getting printed? What could be the reason? I debugged and found that SSF_CLOSE is failing and giving error message.
    Thanks and regards,
    AP.

    Hi Aparajita,
    for changing from one languages to another translations in SE63 is to be done, either search on SCN for using SE63 , or atleast see these wiki help .
    Transaction SE63 - Translation Tools for Translators (BC-DOC-TTL) - SAP Library
    Transaction SE63 (SAP Library - Translation Tools for Translators (BC-DOC-TTL))

  • In Smartform i am getting a Error Message Graphic cannot be displayed

    Hi All,
               I am trying to display a image in smartform . In the Code i have created a BDC for SE78 for Image upload and when the Image is Upload and when i try to execute the Smartform i am getting a Error Message : Graphic cannot be displayed
    I am trying to load a BMP image in  the form.
    Can anyone help me out .
    Thanks in Advance .
    Regards
    Shankar

    Hi,
    There are two possibilies of issue here.
    1. The BDC is not correct so the image is not uploaded.
    2. Graphic parameter is not properly specified in smartform.
    Please check issue no 1 first. If you confirm that image already in SAP, then you can go to issue no 2.
    Regards,
    Teddy Kurniawan

  • Output could not be issued message whlie handling smartforms.

    while executing the smartform i am getting Output could not be issued message and i am getting no display.
    My functinal consultant had created new output type for VF03 tcode ( a copy of existing one), and i copied the same program and smartforms with slight modifications.
    now while executing the output type through VF03 I am getting the abouve message.
    and while checking there is no data in JOB_OUTPUT_INFO internal table of the smartform.
    what will be the reason? and how to correct this.
    <b>this is an urgent task.</b>

    Hi,
    This might be mostly becoz of due to data not getting passed to the Smartform.
    First ensure that, you get the data in the internal table of the Driver program and then check the same in the SM...
    So please check and let me know if the problem persists.
    Thanks,
    Vishnu.

  • FORMATTING_ERROR - Message ID : SSFCOMPOSER  in Smartform

    Hi All,
    I am getting a strange issue for dynamic logo in smartform. I am unable to preview the form and getting the following error.
    "Graphic cannot be displayed" . Message number : 159.
    The graphics are stored as standard texts in development server and I have seen the preview in SE78. I am fetching the graphic value and populating into a varaible &v_logo&. The value is populated correctly in &v_logo&.
    Taken a graphic node and in general attributes ,
    NAME : &v_logo&
    Object : Graphics
    ID : BMAP
    Radio button Determine dynamically : &v_logo&.
    Resolution DPI : 200
    Please suggest the possibilities.
    Thanks in advance.
    Rraajzni.

    Hello Rajani Yarnagula  ,
                                          This is relating to AUTHORISATION issue.  I did the to resolve the issue .
    Goto SE78.Set a break point while calling the required graphic (set break point at AUTHORITY-CHECK  statement ).
    Check the value of sy-subrc
    If its 12 then , this only led to the problem.
    save the break point .
    go to the smart form and give print preview now.
    The control stops at the sy-subrc and you could see it is 12 .
    change it to 0 . save and execute it .
    You will be able to see the result .
    Note- this is a not a permanent solution .Get the required authorisation and proceed ahead
    Kindly revert back if the issue is not solved.
    Comradely ,
    K.Sibi
    Edited by: sibi k  kanagaraj on Sep 30, 2009 12:48 PM

  • FORMATTING_ERROR in smartform, Message ID: SSFCOMPOSER Message Number: 610

    Hi All,
    I am getting a typical error in smartform. when I am trying to execute the smartform, I am getting a formatting error with Message ID: SSFCOMPOSER; Message Number: 610 and the message being shown is "Include text does not exist (object VBBK, ID Z023)".
    I am unable to determine where exactly the problem is....there is one template which I am using in a window but, everything looks to be fine there. Is there a way of debugging this problem?
    I am unable to see any version management in smartform, is there a way by which I can see what changes have been done recently to this smartform. Please help.
    Thanks,
    Vishal.

    Hi,
    The message is pretty clear.
    In your smartform there is a text node of type 'Include text', this will probably take a variable for the text name (the object and ID are VBBK and Z023, and may be literals or variables).  You need to find the text node and determine why the name is not filled at runtime, if this a valid situation (maybe the text is not always available) check the box 'No error if no text exists'.
    Regards,
    Nick

  • Smartforms activated without error but message TD422

    Hi,
    I have a smartform to print bar code on Zebra. It is running well.
    I suppress one command to be on line with one OSS note.
    I check: No errors.
    I activate : No problem.
    I use it and get the error mesage TD422 Not activated or with errors ????
    Have you ideas ?
    Thanks

    The long text tells you:
    It is also possible for an error to occur even if your form has the status 'active'. This error message is the result of extended checks, that were not available the last time that your form was activated. In this case, please select the menu option Form -> Check -> Definition and complete the actions specified in the resulting message.
    A typical error: A text element in window ... does not contain a name. In this case, display the text elements and ensure that each text element (format column /E) has a name so that it can be addressed by the print program. The default text element (at the beginning, no /E) is addressed and processed automatically. Never enter /E without a name following it.
    Rob

  • SAVE, Output type, Smartform, MESSAGING, SPOOL ??

    Hi Experts,
    When I SAVE(cntrl+S) the Inbound delivery via VL31N, one ZIB output type going to SPOOL, say receiving report, a smartform.
    But, in one condition, I do NOT want to get the output & NO SPOOL.
    So, let meknow that,
    1 - How to get it done, I mean, Which routine/include of SAP code performing this function? Is it MESSAGING routine?
    2 - if so, Is there any USER-EXITS, in order to put my IF condition?
    thanq

    no reply

Maybe you are looking for

  • Rg: down payments made

    Hi, User posted a down payment using transaction f-48 for an amount of 500000 to a vendor AAAA. and received an invoice of 400000 for that vendor AAAA. 400000 is nullified using f-44 for the existing amount of down payment 500000. now the user says t

  • IXML - Reading a specific tag/specific attribute

    Hi, I'm trying to get out a specific tag ans specific attribute from an xml string. I built my method based on BCCIIXMLT2 & BCCIIXMLT11 and Parsing XML file to Internal table., however it doesn't seem to work. I already tried 2 approach, none of them

  • Using solidworks on macbook

    i have a 2008(?) macbook with integrated intel gma x3100 graphics. i need to run solidworks for my major, and i am wondering if my computer will run it in bootcamp? i have xp sp3, but could also run win7 if need be. please help! i may need to get a n

  • Gestures from snow leopard

    In snow leopard, when i wanted to show all the applications running in the background i would swipe with four fingers, it seems that this feature has changed in lion. Is there a gesture where i can display all aplications that are running.  How can i

  • Performance on Oracle 10g x64 and ECC5.0 (640 x64) on Windows 2003 R2 x64

    Hello all, We have a serious problem with this landscape. SAP kernel updated to 155. Oracle updated with OPatch to patch 12 (latest) and the new database statistics were updated. It seems an IO degradation because the Average Disk Queue is very high.