Adding Cell in a row in Smart Form

Hi All,
Can anybody please tell how to add a cell in the row of a table in smart forms.
Thanks

Hi,
       Select the table, so that you can see the table painter. In that press the Details tab. You'll get the cell's width details. If you want to add an cell, then enter it's width for it. Also, note that the accumulation of all the cells width in a row should match with that of the Table.
Regards,
Hema.
Reward points if it is useful.

Similar Messages

  • How to insert a table with variable rows in smart form

    Hi all,
    How to insert a table with variable rows in smart form?
    Any help would be appreciated.
    Regards,
    Mahesh.

    Hi,
    Right click the mouse->create->table
    If you want 5 columns, you need to declare 5 cells in one line type of the table
    Click on Table -> Details, then do the following
    Line Type 1 2 3 4 5
    L1 2mm 3mm etc
    Here specify the width of the columns as many as you want..
    then in the header/main area of the table, click create Table Line, Rowtype is L1, automatically 5 cells will come,In each cell create a text element, display the variable to be printed there.

  • Merge cells between 2 rows in a smart form(template)

    Hi ,
    I need to merge two cells between 2 rows of a template.
    Like the first cell is a big one 10cm height and has two adjacent 5cm cells beside it.
    Can anyone tell me if this is possible.And if Yes ,How?
    Merging cells between columns work,but i am not able to do it betweeen two rows.
    I had some Options that i treid and ruled out are
    Since it is flowing data i cant use multiple windows and so the template needs to be in my mainwindow.
    I cant use multiple main windows also .
    This merging doesnt work in table also.
    Regrads,
    Sai.

    Well I dont know if i am not clear in my question.
    Let me articulate.
    It not the conditional display of rows taht i want to acheive.
    Its  merging cells between two rows.
    Like say first a cell of height 10 cm shoudl filled with text (say 'AB')spanning full 10 cm.
    And then adjacent to this 10cm cell , there shoud be two cells of say 5cm one below each other
    with say 'A' on the top cell and 'B' on the bottom cell.
    So you have one big 'AB' (10cm cell) and then beside this you have ' A' and 'B' one below each other.
    Like shown below the Bold 'AB' spans 10 cm from top to bottom ,beside this AB is A in the top 5cm cell and
    B in the bottom 5 cm cell.
    ABA
            B
    Regards,
    Sai.

  • Calling a Smart Form on Click of a Table Row..

    Hi All,
    I have one requirement.
    I have developed one applicaiton, in which from R3, the values are coming in form of a table. Now, on Click of a Table row, it should call a smart form developed in R3 for that selected row attribute. Also the smart form should open in a new window, so that user can take a print of it.
    How to add this new view and how to get the selected Row value ?
    Please help me.

    Hi,
    To open the new window, I have added blow code:
    IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("InfoPopup");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
    window.open();
    but, getting error message as : IWDWindowInfo cannot be resolved
    what should be the import parameter? Also please tell me how to search for the Import parameters for the respected attribute/code?
    Please help.

  • How to limit the number of rows in a smart form , sap script.

    Can anyone tell me how to limit the number of rows in the output of a sap script/smart form. I have tried "protect/endprotect" in sap script but have no idea of how to do in smart form. In sap script the only way it has happened is by reducing the size of the main window.

    Hi,
    In Smartform also, why dont you try reducing the size of the window if you want to limit the rows in it. Also if you are printing Line Items in a LOOP, you can write
    LOOP AT T_ITAB FROM 1 TO N in the LOOP Node if you know how many records exactly you want to display in 1 Page processing.
    regards,
    Mahesh

  • How to add empty rows in table in smart form

    how to add empty rows in table in smart form?
    plz help me regarding this
    send me ur queries to [email protected]

    You will need to add some extra rows to the internal table that your table is displaying.  Use a program node to append additional rows with a key but no argument.
    Alternaively a template may me more suitable for your requirement than a table.
    Finally, please do not include you e-mail address in your question.  Your question and the answers provided to it are for the benefit of everyone in the Community.
    Regards,
    Nick

  • Adding a new table in smart form

    HI,
    I want to add a new table to a smartform. like say i want to print LIKP-ROUTE in the main window of the smart form, (islikp like likp)
    I have added this table in the table tab of form interface, then in the mainwindow, i have added a new loop and mentioned
    islikp into islikp.
    and in text i have mentioned
    route : &likp-Route&.
    But its giving a dump.
    Do i have to a create a new program and add the function module.
    pls suggest.
    Thanks,

    If you are passing the internal table values from the driver program, then you need to export the internal table from the driver program and have to declare it in the 'Tables" tab of the form interface in the smartform.
    Eg:-
      CALL FUNCTION wrk_funcmodu
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
         control_parameters         = st_cntrl
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
         output_options             = st_outopt_info
      USER_SETTINGS              = 'X'
          invoiceno                  = wrk_doc_num
          invoicedt                  = wrk_doc_dt
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
         job_output_info            = st_prnout_info
      JOB_OUTPUT_OPTIONS         =
        TABLES
          it_likp                = it_likp
    If the internal table value is not passed from the driver program and if it has to be used inside the smartform then declare the internal table in the "Global definitions", under the tab "Global data".
    *intenal table declaration
    Variable name  type assignment            Associated type    
    IT_LIKP            TYPE TABLE OF     LIKP 
    WA_LIKP             TYPE          LIKP
    loop the internal table it_likp to loop into the work area wa_likp.
    drag and drop(from the fiel list) the work area field to the text element.

  • Really urgent: reagrding adding fields select statement in smart forms

    hi,
    i am working on a smart form which was made by someone else and now i have to make changes in it and now i have to add 1 field in that select statement but it is giving error even if i am storing the  variable in it and declaring it in global declarations.
    plzz help me how to overcome dis problem?

    Hi Ric,
    As u have added one more field in the select statement,
    U must modify the internal table as well.
    Now when u pass this internal table to smartform just chk the type reference of this internal table from smartform : Global Settings - Form Interface - Tables tab.
    In most of the cases its a Z-structure.
    Just add the new field in this structure as that of ur internal table in program. ( At same position..)
    For eg:
    In my program I am passing following table to smartform...
    TABLES
        I_ZEKPO                    = IT_FINAL_DATA
        I_ZADRC                    = IT_VENDOR_ADDRESS
    now in smartform form interface i have declared them as:
    I_ZEKPO             LIKE           ZEKPO     
    I_ZADRC             LIKE           ZADRC  
    here ZEKPO and ZADRC are the structures which I have created via SE11...
    So whenever I modify in the program internal table structure I need to modify respective Z-strucure as well...
    Just chk if the same thin has been already implemented by previous guy...and do the changes..
    Edited by: Dhananjay Patil on Mar 11, 2008 12:03 PM

  • How to create table with row type in smart forms

    How to create table with row type in smart forms with out line type
    please explain me the procedure

    HI,
    A table type describes the structure and functional attributes of an internal table in ABAP. In ABAP programs you can reference a table type TTYP defined in the ABAP Dictionary with the command DATA <inttab> TYPE TTYP. An internal table <inttab> is created in the program with the attributes defined for TTYP in the ABAP Dictionary.
    A table type is defined by:
    its line type, that defines the structure and data type attributes of a line of the internal table
    the options for managing and accessing the data ( access mode) in the internal table
    the key ( key definition and key category) of the internal table
    The row type is defined by directly entering the data type, length and number of decimal places or by referencing a data element, structured type ( structure, table or view) or other table type. Or the row type can be a reference type.
    <b>for more info :</b> http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb366d358411d1829f0000e829fbfe/content.htm
    Internal table
    Regards
    Sudheer

  • Color Cell In a templete dynamically in Smart Forms

    Hi ,
    I am working on a requirement in smart forms and im not knowing how to fill color in a cell that changes dynamically with respect to the condition with in a template.
    My Problem is this the color of the cell should change with the condition triggered. Please help.
    Thankyou,
    Swetha

    Hi,
    1.Template is Static,we cann't set the color dynamically for this cell.
    Check:
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/722de52f1711d5b695006094192fe3/content.htm
    Regards,
    Shiva kumar

  • Looping in smart forms

    HI EXperts,
                       I have a problem in Samrt forms. Can anyone tell me what's the answer of that
    loop at lt_price1 to ls_price1            """"Table that contains material no...    like 8646,8647,8648,8646,8646
       loop at lt_price1 to ls_price2         """loop that counts how many same no. of material in lt_price1 ITAB.
              loop at ltscale to ls_scale   """it;s for scaling (Quantity) of material.
              endloop.
       endloop.
    >>>>>>>>>>>>>>> What can i do that ITAB won't able to read same material row again in lt_price1. can i write a program line that's deletes same no. of material thats in ITAB lt_price1.
    I did all the looping in smart forms but can't to solve my problem.
    Thanks and Regards,
    Shakun.

    You're description is a bit tricky so i might not have understand it well.
    Given your code (and since you  forgot an endloop i just added it:
    loop at lt_price1 to ls_price1 """"Table that contains material no... like 8646,8647,8648,8646,8646
       loop at lt_price1 to ls_price2 """loop that counts how many same no. of material in lt_price1 ITAB.
          loop at _lt_scale to ls_scale """it;s for scaling (Quantity) of material.
         endloop.
       endloop
    * Try this and hope for the best... :)
      delete lt_price1 where matnr eq ls_price1-matnr.
      continue.
    endloop.
    edit.
    But to be honest.. i would do it another way: i would simply make sure that i don;t need to manipulate any data (like deletiong entries from itab) within the smartforms. Instead i would prepare all data in the print program and pass it to the smartform.
    Edited by: Maen Anachronos on Nov 23, 2010 7:26 PM

  • 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.

  • Text inversed in the smart form table

    Dear all,
    I'm new in ABAP and working on a smart form which has a cell in table shows an article description in both Arabic & English
    but the Arabic text appears in reversed sequence  in the print preview and after printing it shows like this ##### #########.
    any idea how to solve this problem
    thanks

    Hello,
    Please see the following SAP Note about printing Arabic:
    587150 - Support of Arabic-script languages
    For your Unicode system, then you should be able to print Arabic
    characters via device type ARSWIN or device type SWINCF.
    The Unicode cascading fonts solution with the device type SWINCF
    described in the following SAP Note:
       812821 - Cascading Font settings
    So you need to configure a Frontend output device that uses device type
    ARSWIN and use this to create the print with the Arabic characters.
    Regards,
    David

  • Linking 3 pages in a smart form.

    Hi!
    I have created a smartform with about 5 tables in the main window. I need three copies of the same form with only the signatories at the bottom changing. U can say the last two rows of the last window in the smart form. Rest everything will be exactly the same. I created two pages and copied the details from the first page. Just the last window I have freshly created on each page. Now I am not able to link the three pages. Please suggest.
    thanks,

    Hi,
    To link the pages just do like this,
    right click on your main window of firts page,
    select create,
    select flow logic,
    select command,
    here in general attribute tab enable go to new new page check box, in the input give the your second page name,
    then for third page do same as above,
    finaly save and activate.
    seshu.

  • How to access Table rows in ADOBE form

    Hello Experts,
    I want to access the Table rows which are getting populated by WDA context, in form JavaScript when the table is populated.
    on the basis of few cell values i want to disable and enable particular cells in table rows when the table is rendered to the user.
    Please provide your inputs and suggestion on how to write a java script for it and in which event  i should write the script.
    i searched SDN and found couple of blogs and threads and tried using them but not working.
    Thanks,
    Siddharth

    Hello All,
    thanks for your suggestions.
    after some research and  trial and error i found the solution:here is the sample code for those who might face this issue.
    SUPERNODE(Root Node)
        --SUBFM(SUBFORM)
    MYNODE( Table)
    DATA(Table ROW)
    ADD       (Table COLUMNS)
    DELETE   (Table COLUMNS)
    var data1;
    var norows = xfa.resolveNodes("SUPERNODE.SUBFM.MYNODE.DATA[*]").length;
    for ( var i =0; i < norows; i++)
         if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").rawValue == "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].DELETE").access = "readOnly";
        if( xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").rawValue != "")
        xfa.resolveNode("SUPERNODE.SUBFM.MYNODE.DATA["i"].ADD").access = "readOnly";

Maybe you are looking for

  • How do you get LaserJet 1012 connected to a Windows 7 (64 bit profession​al) operating system?

    This is weird.  The plug-and-play feature should put the printer up and running, but it doesn't.  It doesn't even recognize the printer as such (it's called "unspecified).  The Pavilion people say thay cannot help because it isn't the computer's prob

  • Language Conversion for GUI STATUS and toolbar

    Dear All ,                       I have a button in my Screen .I have to convert the same to Chinese language from SE63 . Can anybody guide me how to translate the same . Can anybody guide me by the steps . Thanks & Regards Shankar

  • Time effort to implement Business Process Monitoring

    hi, if one company want to utilize Business Process Monitoring and implement it: 1). what are the Prerequisite 2). if the Prerequisite are met and we come to BPMon part how long it would take to implement one Scenario. 3). any document or links or hi

  • Help me, I cannot change hair color?

    I watched a video on Youtube, but no help. I am trying to turn black hair into blonde hair. But my end results always look like I just used MS Paint and painted yellow all over the hair. The steps I did were: 1. Change the curves to make the picture

  • Oracle 9i clob segment possible corruption

    Hello all, We are experiencing some select issues from a table containing a CLOB segment. Since I don't know too much about CLOBs and we are suspecting a possible corruption. What would be the next step besides a DBV on the datafile housing hat table