Shading in Smartforms..

Hi,
I want to shade the header fields in my table. I am displaying 2 tables in my smartform.
Currently, I have created a window and given the  Shading value as 10. And it displays correctly.
But, for certain conditions, the 2nd table should not be displayed. I am giving some conditions to that windows and its not displaying. But my shading window is displaying the grey area.( even if I give 1 = 2 in my condition tab,its getting displayed).
How to over come this problem . I am using 4.6 version.
Regards,

Hi,
Select the Table cell and pass the Saturation in Shading as '10 or 20 %' based on ur requirement.
Hope it helps!!
Rgds,
Pavan

Similar Messages

  • Shading in Smartform Table Header

    Hi Experts,
    In my smartform I need to provide a gray shading in Header and in few partivular fields in Footer, like, Total.
    Whenever I am trying to select any Text field in the Headerline and in the output option trying to increase the saturation  percentage it is showing "Boxes/Shadings are not allowed within a table".
    Please let me know in details how to achieve this.
    Thanks.
    Anirban.

    Hai,
    In that case you create one more linetype same as what you have now (Eg. Ltype1 and Ltype2 with same columns). Use Ltype1 for Header and Ltype2 for Main area. Now Double click on Table and select "Table" tab. Select all the columns in the Ltype1 with selecting "Draw Lines and Columns" tool from toolbar and give the shading color then activate it. It will work for sure. If you have any queries revert back.
    -Prabu S

  • Smartforms with shaded header

    Hi all.
    i have a probs in smartform.
    i am created table in smartforms
    with the table header i displayin values called sl.no, department .
    & main area i have a lot of values.
    now i want 2 shade the table header only.
    i tryin 2 do that. but smartforms is sayin " box & shade cannot posible inside the table
    i need to shade the header which contains sl.no , department , etc...

    Hi,
    Do one thing go into the table, there select the header row (ie table painter of the line type header) then select the shading color what ever u want. first select the header row then only it will work fine. I hope this is useful for u.
    Regards
    Srilatha

  • Displaying alternate shaded and non shaded lines in smartforms

    hi.
      I have got a requirement which says we need to display records on smartforms.   It should have 50 lines on the page with alternating shaded and non shaded lines.  I am using one internal table which contains all the data which is to be displayed. How can I proceed so that even when i have less than 50 records in the internal table  it should display all the 50 lines on the form.
    thanks in advance
    Chetan

    hi chetan,
    <b>1.</b>create a table-->create 2 line types(1 is plain and another one is with shading u cabn give shading by selecting the SHADING and sturation in TABLE TAB of table)...
    <b>2.</b>then insert two lines in the MAINAREA of the table by righte clck create table line(for this give line type1), then inset the fields u want . create another table line in the main area but with the line type2.. insetr the the text u want as in first line.
    if u run the smartform will get the output with 100 record (supoose u have 50 records) because u r using 2 table lines in the mainarea of the table so each line is printing 2 time one with plain and another is with shaded.
    Now we have to avoid this repitation... u have to print the alternate one.... to achive this...
    maintain a variable with v_flag type c.
    by default v_flag = 'X'.
    <b>3.</b>for the firstline in the mainarea of the table <b>CONDITION TA</b>B give the conditon v_flag = 'X'.
    for the second gve the condtion v_flag = 'Y'.
    now 2 line will trigger if the condition is valid.. our goal is to chage the value in the f_flag alternatively... for this
    <b>4.</b> create PROGRAM LINES in the main of the table after the 2 lines..in this chage the value of v_flag. as follows
    IF V_FLAG = 'X'.
    V_FLAG = 'Y'.
    ELSE.
    V_FLAG = 'X'.
    ENDIF.
    now first time plain line will be triggered in the each loop pass and the v_flag value will be chaged in each loop pass so next time shaded line will be triggered. it will be repeated for all the records.
    if u run the from now u will get 50 records with alternatinveshaded lines.
    i hope the solution is clear.. if not read agin i am sure it works.
    do not hesitate to come agiani if u r faciong any problems while implementing this.
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K

  • Box shading and tickness problem in smartforms Mainwindow

    Hello all,
    Can anyone guide me how to reduce shading and thickness of table frame lines?
    Also in main window table is displayed with dark black shad and with much thickness.
    how can i reduce this shade and thickness.
    for LP01 Device it is working fine , for LP02 Device It is not working.
    Please guide.
    Thanks & Regard,
        Sandeep.

    Hi Sandip,
    Window > output options > Box and shading > shading > saturation 5  to 10 %.
    Window > output options > Box and shading >frames  > width 15.00 TW
    Hope this helps.
    BR
    Dep
    Edited by: DeepakNandikanti on Aug 18, 2011 1:38 PM

  • While selecting Frame for Table in Smartform

    hi
      While i am selecting Frame for Table in Smartform , it displaying very Bold frame.
    wat is the reason,
    guide me

    hi,
    do this steps,
    ->first in the shading of the table select white color
    ->provide the saturation as 100
    ->select the pattern and select any one of the pattern
    ->and then check the output
    you will get the required do this in the same fashion i explained
    Thanks,
    Nethaji.

  • Smartform prints out  Black boxes instead of Shade

    Hello Experts,
    I have developed some smartforms which have some boxes that are shaded with grey color for heading.
    They work fine for some existing printers. But when i issue a print out on a new printer i
    see that the shaded boxes are displayed as solid black boxes on the print out.
    I also tried to print it in color but invain. Even the LOGO also got blacked out.
    Can any one suggest me what to do.
    Is it with my smartform or printer settings. Please advice.
    Thanks
    Dany

    Hi
    I don't know if u can't find out a solution.
    All device output (printers) having the same divice type have the same behavior, i.e. printers having a different device type can give a different output, so if u'll correct the problem for a certain group of printers u could have a new problem for other group.
    I think the best soltion is to use the printer used to test the smartforms
    Max

  • How to get background colour in smartform

    hi ,
    i have developed one smartform with table i want heading means header part of the table in colour full please help me for that.....
    thanks ...

    First select the line type of the table. then click on shading. select the desired colour.
    save check and activate and run ur smartforms.
    hope ur problem solved.
    Regards,
    shiva

  • Smartform: windows in different pages having the same name

    Hi all gurus,
    first of all, please forgive me if I'm missing something, I'm quite new on the Smartform argument.
    Shortly; I have to modify some smartforms made by someone else in order to meet customer's desiderata.
    These smartforms are all different but share a common "structure", which is:
    2 pages definition, P_FIRST and P_FOLLOW, which have actually the same internal "structure": they have a LOGO window, then a TITLE window, then a MAIN window, then a FOOTER, and so on.
    In order to do my task, I added a new window in both P_FIRST and P_FOLLOW, let's call it CERTIFICATION_LOGO.
    Moreover, I inserted a new graphic element under the LOGO window.
    Modifying the smartforms, I noticed I have two different kind of behaviour:
    1) in almost all these SF, I add a window called CERTIFICATION_LOGO in P_FIRST, then I have to add a windows to P_FOLLOW which cannot have the same name ( e.g. I called it CERTIFICATION_LOGO_FOLLOW);
    2) in just one SF, when I add a window P_FIRST, then the exactly same window is added to P_FOLLOW. When I modify CERTIFICATION_LOGO window in P_FIRST, also CERTIFICATION_LOGO in P_FOLLOW is updated.
    I can't find a reason why such different behaviour. Actually I'm testing my solution and found that the only smartform that does not work is the only one which I have described with 2). So my guess is that there's some setting anywhere which leads to that different behaviour and this could be a cause of a raised exception... but maybe it's just a case, also because I found in debug that in this standard call in the form PROCESS_TEXT_WINDOW:
    perform xsf_window_open using docentry-tdwindow
                                    docentry-tdwtype.
    where docentry-tdwindow = 'LOGO' and tdwtype = 'T', the system exit the process at the first execution of:
    check xsfop-xsf = c_true.
      check not xsf_obj is initial.
    What does xsfop-xsf should mean? In my case xsfop-xsf = false and xsf_obj is initial... then the SF is not generated.
    What am I missing gurus?
    Thanks in advance,
    Matteo
    Edited by: Matteo Montalto on Aug 26, 2011 4:49 PM

    When you have common windows (LOGO on page first and logo on page next, etc.) you actually have one window definition.  What you put in the window is therefore always displayed for all pages.  In your case, instead of creating your new window and copying it into the follow page, you have two different windows, which now must be separately maintained, as to content, placement, borders, shading, conditions, etc.

  • Problem with Print of Smartforms

    Hi Experts,
    I am facing problem with the Smartforms related to purchase order and Request for Quotation.
    when i see the print preview of these two forms the preview was coming correctly. But when i give the print the data in the footer  was Truncted. I changed thepage from Letter to A4. Even then also i am facing the issue.
    So can any one tell me where would be th problem.
    Thanks & Regards,
    Ramana

    Dear Ramana,
    there is no big issue in this just you have to
    check the window at footer in which window(output option )
    tick must be there at lines with
    and always draw boxes and shading.
    tamplet paramets must match to the window.
    do this if still problem is there keep in touch
    and send me the error of output.
    pls keep in touch.
    REWARDS expected.
    vivek srivastava

  • Problem in Smartform

    Hi,
    I have created a simple smart form.
    what it does is, it prints the material document number.
    when im trying to see the preview  of the smart form, it is showing &w_mkpf-mblnr& , but not the value of it.
    When i tried to debug it, i found out that , in the table STXFTXT the value of TDLINE is "<(>&<)>w_mkpf-mblnr<(>&<)>" . But it actually should be "&w_mkpf-mblnr&" .
    Can anyone tell me what the actual problem is and the solution of it.
    Here is the smartform that i downloaded.(at the bottom, i have attached the program also)
      <?xml version="1.0" encoding="utf-8" ?>
    - <sf:SMARTFORM xmlns:sf="urn:sap-com:SmartForms:2000:internal-structure" xmlns="urn:sap-com:sdixml-ifr:2000" sf:language="EN">
    - <HEADER>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <CAPTION>Smart form</CAPTION>
      <MASTERLANG>E</MASTERLANG>
      <LANGVECTOR>*</LANGVECTOR>
      <DEVCLASS>$TMP</DEVCLASS>
      <VERSION>00001</VERSION>
      <FIRSTUSER>TALASILAS</FIRSTUSER>
      <FIRSTDATE>2008-01-16</FIRSTDATE>
      <FIRSTTIME>10:31:54</FIRSTTIME>
      <LASTUSER>TALASILAS</LASTUSER>
      <LASTDATE>2008-01-16</LASTDATE>
      <LASTTIME>10:37:48</LASTTIME>
      </HEADER>
    - <INTERFACE>
    - <item>
      <IOTYPE>E</IOTYPE>
      <NAME>DOCUMENT_OUTPUT_INFO</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCRESPD</TYPENAME>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>E</IOTYPE>
      <NAME>JOB_OUTPUT_INFO</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCRESCL</TYPENAME>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>E</IOTYPE>
      <NAME>JOB_OUTPUT_OPTIONS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCRESOP</TYPENAME>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>ARCHIVE_INDEX</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>TOA_DARA</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>ARCHIVE_INDEX_TAB</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>TSFDARA</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>ARCHIVE_PARAMETERS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>ARC_PARAMS</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>CONTROL_PARAMETERS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCTRLOP</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>MAIL_APPL_OBJ</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SWOTOBJID</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>MAIL_RECIPIENT</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SWOTOBJID</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>MAIL_SENDER</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SWOTOBJID</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>OUTPUT_OPTIONS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>SSFCOMPOP</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>I</IOTYPE>
      <NAME>USER_SETTINGS</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>TDBOOL</TYPENAME>
      <OPTIONAL>X</OPTIONAL>
      <BYVALUE>X</BYVALUE>
      <DEFAULTVAL>'X'</DEFAULTVAL>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>FORMATTING_ERROR</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>INTERNAL_ERROR</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>SEND_ERROR</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>X</IOTYPE>
      <NAME>USER_CANCELED</NAME>
      <STANDARD>X</STANDARD>
      </item>
    - <item>
      <IOTYPE>T</IOTYPE>
      <NAME>ITAB1</NAME>
      <TYPING>LIKE</TYPING>
      <TYPENAME>MKPF</TYPENAME>
      </item>
      </INTERFACE>
    - <GDATA>
    - <item>
      <NAME>W_MKPF</NAME>
      <TYPING>TYPE</TYPING>
      <TYPENAME>MKPF</TYPENAME>
      </item>
      </GDATA>
    - <sf:VARHEADER>
    - <sf:item>
      <PAGEFORMAT>DINA4</PAGEFORMAT>
      <CPI>10.00</CPI>
      <LPI>6.00</LPI>
      <STDSTYLE>SYSTEM</STDSTYLE>
    - <sf:PAGETREE>
    - <sf:NODE>
      <NODETYPE>RP</NODETYPE>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>PA</NODETYPE>
    - <sf:OBJ>
    - <sf:PAGE>
    - <NAME>
      <INAME>%PAGE1</INAME>
      </NAME>
      <CAPTION>New Page</CAPTION>
    - <NEXTPAGE>
      <INAME>%PAGE1</INAME>
      </NEXTPAGE>
      <NUMB_MODE>I</NUMB_MODE>
      <NUMB_TYPE>A</NUMB_TYPE>
      <PAGEORTN>P</PAGEORTN>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>PA</OBJTYPE>
      <INAME>%PAGE1</INAME>
      <CAPTION>New Page</CAPTION>
      </item>
      </T_CAPTION>
      </sf:PAGE>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>WI</NODETYPE>
    - <sf:OBJ>
    - <sf:WINDOW ID="484">
    - <NAME>
      <INAME>MAIN</INAME>
      </NAME>
      <CAPTION>Main Window</CAPTION>
      <WTYPE>M</WTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>WI</OBJTYPE>
      <INAME>MAIN</INAME>
      <CAPTION>Main Window</CAPTION>
      </item>
      </T_CAPTION>
    - <sf:PROC_CTRL>
    - <sf:NODE ID="508">
      <NODETYPE>RC</NODETYPE>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%TABLE1</INAME>
      </NAME>
      <CAPTION>New Table 1</CAPTION>
      <SECTTYPE>C</SECTTYPE>
      <DATATYPE>L</DATATYPE>
      <TABNAME>ITAB1</TABNAME>
      <TABHTYPE>I</TABHTYPE>
      <TABHEADER>W_MKPF</TABHEADER>
      <OTABTYPE>D</OTABTYPE>
      <OTABHEADER>A</OTABHEADER>
      <OTABFOOTER>A</OTABFOOTER>
      <FHEIGHT>1.00</FHEIGHT>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <USEBORDER>X</USEBORDER>
      <WIDTH>16.00</WIDTH>
      <U_WIDTH>CM</U_WIDTH>
      <APPMODE>L</APPMODE>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <DYNLINES>
    - <item>
      <NAME>LTYPE1</NAME>
      <DEFAULTVAL>X</DEFAULTVAL>
      <SHADING>000</SHADING>
      </item>
      </DYNLINES>
    - <CELLS>
    - <item>
      <NAME>LTYPE1</NAME>
      <COLUMNNR>001</COLUMNNR>
      <CWIDTH>16.00</CWIDTH>
      <U_CWIDTH>CM</U_CWIDTH>
      <SHADING>000</SHADING>
    - <BORDERS>
    - <item>
      <IDX>001</IDX>
      <INTENSITY>000</INTENSITY>
      <LLEFT>0.00</LLEFT>
      <LLEFT_U>MM</LLEFT_U>
      <LTOP>0.00</LTOP>
      <LTOP_U>MM</LTOP_U>
      <LRIGHT>0.00</LRIGHT>
      <LRIGHT_U>MM</LRIGHT_U>
      <LBOTTOM>0.00</LBOTTOM>
      <LBOTTOM_U>MM</LBOTTOM_U>
    - <FILLCOLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </FILLCOLOR>
    - <CLEFT>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CLEFT>
    - <CTOP>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CTOP>
    - <CRIGHT>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CRIGHT>
    - <CBOTTOM>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      </CBOTTOM>
      </item>
      </BORDERS>
      </item>
      </CELLS>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%TABLE1</INAME>
      <CAPTION>New Table 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>EV</NODETYPE>
    - <sf:OBJ>
    - <sf:EVENT>
    - <NAME>
      <INAME>%EVENT1</INAME>
      </NAME>
      <CAPTION>Header</CAPTION>
      <EVTYPE>H</EVTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>EV</OBJTYPE>
      <INAME>%EVENT1</INAME>
      <CAPTION>Header</CAPTION>
      </item>
      </T_CAPTION>
      </sf:EVENT>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%ROW1</INAME>
      </NAME>
      <CAPTION>New Line 1</CAPTION>
      <SECTTYPE>R</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%ROW1</INAME>
      <CAPTION>New Line 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB2</INAME>
      </NAME>
      <T_NEWLINE>X</T_NEWLINE>
      <T_LINETYPE>LTYPE1</T_LINETYPE>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB2</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%CELL1</INAME>
      </NAME>
      <CAPTION>New Column 1</CAPTION>
      <SECTTYPE>E</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%CELL1</INAME>
      <CAPTION>New Column 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB3</INAME>
      </NAME>
      <T_NEWCELL>X</T_NEWCELL>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB3</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>EV</NODETYPE>
    - <sf:OBJ>
    - <sf:EVENT>
    - <NAME>
      <INAME>%EVENT2</INAME>
      </NAME>
      <CAPTION>Main Area</CAPTION>
      <EVTYPE>B</EVTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>EV</OBJTYPE>
      <INAME>%EVENT2</INAME>
      <CAPTION>Main Area</CAPTION>
      </item>
      </T_CAPTION>
      </sf:EVENT>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%LOOP1</INAME>
      </NAME>
      <CAPTION>New Loop 1</CAPTION>
      <SECTTYPE>L</SECTTYPE>
      <TABHTYPE>I</TABHTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%LOOP1</INAME>
      <CAPTION>New Loop 1</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%ROW2</INAME>
      </NAME>
      <CAPTION>New Line 2</CAPTION>
      <SECTTYPE>R</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%ROW2</INAME>
      <CAPTION>New Line 2</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB4</INAME>
      </NAME>
      <T_NEWLINE>X</T_NEWLINE>
      <T_LINETYPE>LTYPE1</T_LINETYPE>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB4</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>SE</NODETYPE>
    - <sf:OBJ>
    - <sf:SECTION>
    - <NAME>
      <INAME>%CELL2</INAME>
      </NAME>
      <CAPTION>New Column 2</CAPTION>
      <SECTTYPE>E</SECTTYPE>
      <U_FHEIGHT>CM</U_FHEIGHT>
    - <PATTERN>
      <PATTNUM>0000</PATTNUM>
      <FRAME>0.00</FRAME>
      <U_FRAME>PT</U_FRAME>
      </PATTERN>
      <U_WIDTH>CM</U_WIDTH>
      <U_LEFT>CM</U_LEFT>
      <U_TOP>CM</U_TOP>
      <U_SB>CM</U_SB>
      <U_SA>CM</U_SA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>SE</OBJTYPE>
      <INAME>%CELL2</INAME>
      <CAPTION>New Column 2</CAPTION>
      </item>
      </T_CAPTION>
      </sf:SECTION>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB5</INAME>
      </NAME>
      <T_NEWCELL>X</T_NEWCELL>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <U_WLEFT>CM</U_WLEFT>
      <U_WWIDTH>CM</U_WWIDTH>
      <U_WTOP>CM</U_WTOP>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB5</INAME>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
    - <sf:SUCC>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>TI</NODETYPE>
    - <sf:OBJ>
    - <sf:TEXT>
    - <NAME>
      <INAME>%TEXT1</INAME>
      </NAME>
      <CAPTION>New Text 1</CAPTION>
      <APPMODE>P</APPMODE>
    - <TEXT>
    - <item>
      <TDFORMAT>*</TDFORMAT>
      <TDLINE><(>&<)>w_mkpf-mblnr<(>&<)></TDLINE>
      </item>
      </TEXT>
      <STYLE_NAME>SYSTEM</STYLE_NAME>
    - <TEXT_AREA>
      <ENABLED>F</ENABLED>
      <NCOLS>0</NCOLS>
      <NROWS>0</NROWS>
      </TEXT_AREA>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>TI</OBJTYPE>
      <INAME>%TEXT1</INAME>
      <CAPTION>New Text 1</CAPTION>
      </item>
      </T_CAPTION>
    - <T_TEXT>
    - <item>
      <SPRAS>E</SPRAS>
      <TXTYPE>F</TXTYPE>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <INAME>%TEXT1</INAME>
      <LINENR>000001</LINENR>
      <TDFORMAT>*</TDFORMAT>
      <TDLINE><(>&<)>w_mkpf-mblnr<(>&<)></TDLINE>
      </item>
      </T_TEXT>
      </sf:TEXT>
      </sf:OBJ>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
    - <sf:item>
    - <sf:NODE>
      <NODETYPE>EV</NODETYPE>
    - <sf:OBJ>
    - <sf:EVENT>
    - <NAME>
      <INAME>%EVENT3</INAME>
      </NAME>
      <CAPTION>Footer</CAPTION>
      <EVTYPE>F</EVTYPE>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>EV</OBJTYPE>
      <INAME>%EVENT3</INAME>
      <CAPTION>Footer</CAPTION>
      </item>
      </T_CAPTION>
      </sf:EVENT>
      </sf:OBJ>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:PROC_CTRL>
      </sf:WINDOW>
      </sf:OBJ>
    - <sf:OUTATTR>
    - <sf:OUTATTR>
    - <NAME>
      <INAME>%OUTATTRIB1</INAME>
      </NAME>
      <CAPTION>New Display Option</CAPTION>
      <U_WFRAME>PT</U_WFRAME>
      <U_WBOXV>CM</U_WBOXV>
      <U_WBOXH>CM</U_WBOXH>
      <WLEFT>2.50</WLEFT>
      <U_WLEFT>CM</U_WLEFT>
      <WWIDTH>16.00</WWIDTH>
      <U_WWIDTH>CM</U_WWIDTH>
      <WTOP>2.50</WTOP>
      <U_WTOP>CM</U_WTOP>
      <WHEIGHT>25.20</WHEIGHT>
      <U_WHEIGHT>CM</U_WHEIGHT>
    - <BORDER>
    - <LEFTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </LEFTATTR>
    - <TOPATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </TOPATTR>
    - <RIGHTATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </RIGHTATTR>
    - <BOTTOMATTR>
      <THICKNESS>0.00</THICKNESS>
      <THICKNESSU>PT</THICKNESSU>
      <DISTANCE>0.00</DISTANCE>
      <DISTANCEU>CM</DISTANCEU>
    - <COLOR>
      <RED>000</RED>
      <GREEN>000</GREEN>
      <BLUE>000</BLUE>
      <TRANS>000</TRANS>
      </COLOR>
      </BOTTOMATTR>
      </BORDER>
    - <T_CAPTION>
    - <item>
      <LANGU>E</LANGU>
      <FORMNAME>ZSUM_SMART</FORMNAME>
      <OBJTYPE>OA</OBJTYPE>
      <INAME>%OUTATTRIB1</INAME>
      <CAPTION>New Display Option</CAPTION>
      </item>
      </T_CAPTION>
      </sf:OUTATTR>
      </sf:OUTATTR>
      <sf:SUCC />
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:item>
      </sf:SUCC>
      </sf:NODE>
      </sf:PAGETREE>
      </sf:item>
      </sf:VARHEADER>
      </sf:SMARTFORM>
    And here is the 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 Itab1 OCCURS 0.
            INCLUDE STRUCTURE MKPF.
    DATA: END OF Itab1.
    data: w_mkpf type mkpf.
    DATA : v_fmname TYPE rs38l_fnam.
    SELECT * FROM MKPF into table itab1 up to 100 rows .
    At the end of your program.
    Passing data to SMARTFORMS
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZSUM_SMART'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
        IMPORTING
         fm_name                  = v_fmname
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 2
      OTHERS                   = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    CALL FUNCTION v_fmname
    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
        itab1                      = Itab1
    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.
    ENDIF.

    Hi,
    To display the value of variable it must be added in correct way. It means the variable should be added to the text object of the form with help of drag&drop or manually with help of icon "+" - Insert field. After insertion the variable should be gray colored in editor..
    May be this is the point????
    Best Regards
    Adam

  • Font Problem in Smartforms output

    Dear all,
    The smartforms which i have developed was working fine before. All on a sudden, the print out and print preview of all smartforms is not giving proper output. I am facing following problems.
    Whatever the font size we are defining in smartforms, it is not reflecting on the Print preview output correctly.
    Alignments are changed for all the smartforms that we have developed.
    In most of the forms output, it is giving black shade in the boxes.
    It is affecting all the smartforms output developed so far..
    Few points i have noticed are:
    It is not a problem with my system. It is working fine in IDES and Sandbox server.
    I compared all the settings of smartforms with my DEV system and IDES. It is also same.
    Things I have done one day before all these mes up:
    I removed the MS Word editor for the smartforms in the transaction I18N.
    Even after I removed the MS Word editor, I tested my smartforms output so many times.. it was working fine.. But all on a sudden i noticed the changes in output..
    Can anyone please help me out in solving this?

    Thanks for your replies
    Hi Nick,
    I have checked SPAD transaction now. But i couldn't spot what you are suggesting me.
    Can you please tel me what should be the printer definition and printer types?
    Hi pavan,
    I tried ur option, uploading smartforms from IDES.. but it is giving problem in that too.
    Hi Sravanthi,
    the table node is not shaded.. the problem is not with this..
    Regards,
    Prem

  • Color in smartform

    Hi,
        My requirement is have a box in smartform which is colored in orange. The coloring should be in such a way that it should be dark in left and keeps on fading to the right.
        Please suggest me.
    Bye

    Hi,
    For this you have to use the CELL SHADING.
    One way is to take a template with 3 cells and one row. Then shade the first cell with 100% saturation, second with 60% saturation and last with 25% saturation while selecting the required colour. This is only a suggested combination. You can choose what ever you want.
    But i dont think that there is any method to change the cell saturation from left to right dynamically.
    Thanks and Regards,
    Bharat.

  • Line Color and color shadow in smartform with release 46c

    Hi, we have a sap system release 46c.
    We are developing a smartform, the smartform have a template with multiple box,lines and columns.
    We want that the lines will be in one color and some of the box will be filled with a color.
    Is possible have color lines in smartforms in release 46c ?
    Is possible to fill a box with a color in a smartform in release 46c?
    Thanks in advanced.
    MANUEL
    PS. We are using a template to draw the box.

    When you Creating Lines in Tables OR when you creating Templates in SMART FORMS,
    You can specify FILL COLOR for each CELL/ROW/COLUMN of Table or Template.
    For that you must choose Item(table/template) in Tree in smartforms.
    Then you must choose Cell(s) which you want to color-fill, and then choose color from "Shadowing" OR "Shading" ("&#1054;&#1090;&#1090;&#1077;&#1085;&#1086;&#1082;" on Russina) color-menu.

  • Box symbol in smartforms

    hello friends,
    i want to print box symbol in L/C application form. I am developing this form using  smartforms. we can get box symbol in MS WORD. i am trying to cut and paste it
    in smartforms. but it is paste as ? in smartforms.
    please suggest me if there is any solution.
    thanks,
    raj

    Hi,
    Try this..
    In the window..
    In the output options tab..
    There is option for box and shading..
    Re: BOX in smartforms
    Re: how to draw horizontal lines in smartform
    Message was edited by:
            Judith Jessie Selvi

Maybe you are looking for

  • Where are adobe reader log files?

    Where are the log files for Adobe Reader? When one of our clients opens a form off our liquid office server we receive an error.  If possible I would like to find a log file that might give some sort of clue as to why this is happening.  Thanks

  • Troubleshooting Advice - EM 12.1.0.3 on Windows 2008r2

    A week ago, finally, I successfully got the 12c Grid Control up with all the associated targets added making me very happy since I had previously had 11g Grid Control but didn't have it at my new job until now. We have a scheduled monthly downtime fo

  • Start up error message disc consistency

    When my G580 is booted up an error message occurs saying that my disc needs to be checked for consistency. HOwever, when it goes to disc check this doesn't happen, instead it says to go to system restore. When I go to system restore it is disabled. I

  • Flash movies load 100% but don't play all the way through

    I'm having some problems with my website. Out of the 8 movies on my site, two of them load 100% but stop playing halfway through. (Both are 30 seconds long but one stops after 10 seconds and the other after 20.) When I preview the movies in Flash CS4

  • Need help with converting a query to maxDB

    Hello, I'm experienced in SQL Server however not yet familiar with the MaxDB functions very well. I need to convert the following WHERE clause in a query to one that can run on MaxDB: WHERE DATEADD(MILLISECOND, Timestamp, '19000101') >= DATEADD(YEAR,