Printing a Table in the Form

Hi Experts..
I would like to print the box below like this in a Form..
Plz any one can help me clearly with coding.
Service
Person
Rate
Amount
|----
7.6cm
1.4cm
-1.7cm-
-- 2.3 cm -
Headings height -- 0.5 cm
Body of table height --  9 cm
I am Trying to print with ‘WRITE_FORM’ WITH  Element
But it is taking too much space & it is not printing all the fields in the same line & not printing the box.
Even I want to print the boxes exactly like above in form layout.. plz send me the code ASAP
Thanks & Regards
Rajendra

hi
Use the BOX command
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each parameter (XPOS, YPOS, WIDTH, HEIGHT and FRAME), both a measurement and a unit of measure must be specified. The INTENSITY parameter should be entered as a percentage between 0 and 100.
•XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH: Width of the box.
Default: WIDTH value of the SIZE command.
HEIGHT: Height of the box.
Default: HEIGHT value of the SIZE command.
FRAME: Thickness of frame.
Default: 0 (no frame).
INTENSITY: Grayscale of box contents as %.
Default: 100 (full black)
Measurements: Decimal numbers must be specified as literal values (like ABAP/4 numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
this is a very time consuming task. well, hope this will help you
/E   HEADING                                                                
/:   BOX XPOS 0 CM YPOS 0 CM WIDTH '1.5' CM HEIGHT 10 CM FRAME 10 TW        
/:   BOX XPOS '1.5' CM YPOS 0 CM WIDTH  4 CM HEIGHT 10 CM FRAME 10 TW       
/:   BOX XPOS '5.5' CM YPOS 0 CM WIDTH '3.5' CM HEIGHT 10 CM FRAME 10 TW    
/:   BOX XPOS  9 CM YPOS 0 CM WIDTH '2.5' CM HEIGHT 10 CM FRAME 10 TW       
/:   BOX XPOS '11.5' CM YPOS 0 CM WIDTH '3.5' CM HEIGHT 10 CM FRAME 10 TW   
/:   BOX XPOS 15 CM YPOS 0 CM WIDTH '1.5' CM HEIGHT 10 CM FRAME 10 TW       
/E  
DETAILS                                                                
   &IT_FINAL-WERKS&,,&IT_FINAL-NAME1&,,&IT_FINAL-PSTAT&,, &IT_FINAL-PRCTR&
=    ,,&IT_FINAL-MINLS&,,&IT_FINAL-MAXLS&                                   
Regards,
Richa

Similar Messages

  • I want to get the data of a table inside the Form but it is not passed

    I want to get the data of a table inside the Form but it is not passed to the form by tables parameters.
    How can I do this.
    Regards

    If there is a problem with defining it globaly, you can define a field symbol globably and point to it. For example.  It would probably be better to define your table globably.
    report zrich_0003 .
    field-symbols: <imarc> type marc_upl_tt.
    start-of-selection.
      perform get_data.
    *       FORM get_data                                                 *
    form get_data.
      data: imarc type table of marc with header line.
      select * from marc into table imarc up to 10 rows.
      assign imarc[] to <imarc>.
      perform write_data.
    endform.
    *       FORM write_data                                               *
    form write_data.
      data: xmarc type marc.
      loop at <imarc> into xmarc.
        write: / xmarc-matnr, xmarc-werks.
      endloop.
    endform.
    Regards,
    Rich Heilman

  • How to specify the type of table in the form parameters

    How to specify the type of table in the form parameters. for example, how to specify the type of table "vacancies".
    FORM getcertainday
                       USING
                       vacancies TYPE STANDARD TABLE
                       efirstday LIKE hrp9200-zfirst_day
                       lfristday LIKE hrp9200-zfirst_day.

    Hi
    Are you asking about subroutine program to declare a variable for perform statement etc
    if it so check this coding
    DATA: NUM1 TYPE I,
    NUM2 TYPE I,
    SUM TYPE I.
    NUM1 = 2. NUM2 = 4.
    PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
    NUM1 = 7. NUM2 = 11.
    PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
    FORM ADDIT
           USING ADD_NUM1
                 ADD_NUM2
           CHANGING ADD_SUM.
      ADD_SUM = ADD_NUM1 + ADD_NUM2.
      PERFORM OUT USING ADD_NUM1 ADD_NUM2 ADD_SUM.
    ENDFORM.
    FORM OUT
           USING OUT_NUM1
                 OUT_NUM2
                 OUT_SUM.
      WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
    ENDFORM.
    If your issue is some other can u explain me clearly
    Regards
    Pavan

  • Forms Designer - Unable to remove Child Table from the form

    Hello,
    While testing adding additional attributes, I have assigned an additional child table to the form. However I am not able to remove it. I get an error message: "This version has been made active. Add/Update/Delete not allowed."
    I tried creating new version and making it active to remove 'active' status from the form I modified, but still getting the same error. What am I doing wrong? Thank you in advance.

    creating new version and making it active to remove 'active+'
    Make new version then remove child form and then make version active..
    You are making version active b4 removing child table.
    Don't change the sequence which I have written above.

  • Possible to find the Table behind the form

    My question is Is it possible for the DBA to find the table behind the form.
    actually when i input the data from front end i want to know how can i found which table as updated.

    behind the form.Form as in front-end GUI sort of thing? Most DBAs of my acquaintance wouldn't know whether to laugh or cry at such a request. Seeing as how it confirms all the prejudices at the cluelessness of developers.
    The short answer is No. That's why we are supposed to document our applications. However, if you get a sympathetic DBA they might be prepared to track your session and find out what SQL you're issuing. It's then a question of co-ordinating your Form usage with what they see in the database.
    Cheers, APC

  • Forms 6i prints ugly when using the Forms print command from the menu

    When we use the Oracle Forms print built-in to print the screen-shots, the print-out turns out to be ugly with lots of dots all over.
    We are using Forms 6i (6.0.8.11.3) running on 9iAS on Windows 2000. The version of JInitiator we are using is 1.1.7.31. The forms open up in a separate frame.
    The interesting thing is when we print from a Windows 2000 machine, the screen-prints are OK. But they are messed up when we use a windows 98/95 machine.
    Any suggestions folks? Thanks

    Craig Bagley1 wrote:
    Any clues? I don't find anything in the Finder Help files to explain the Print command's use.
    If in the Finder I pull down the "Help" menu and type "Print" in the "Search" box, I see one "Menu Items" entry and five "Help Topics". If I click on the one for "Printing a closed document", it shows information that discusses printing one document at a time. I don't know if it's possible to print more than one document that way.
    Try this: Open the "Print & Fax" panel of System Preferences. Drag the printer's icon from the list on the left onto your Desktop. The result will be an icon that is an alias for the printer. Now try dragging several documents onto that icon.

  • How to print out answers using the form I created

    I created an application form for my company. People have submitted their applications, but I do not know how to print them out.
    Is there a way to copy the answers into the form and print that? Or something like that?
    I cannot just print the answers because it's over 100 pages and would be disorganized.
    I basically just need to know how to print out the form I created with the respondants answers.
    Thanks

    Here is what you can do...
    Open the form file
    Go to the View Responses tab
    Select the View menu in the upper right corner of the UI
    Select the Details View menu item on that menu
    The Details View pane will open on the right side of the window
    At the bottom of that pane there is a set of buttons
    The first button let's you print the detail view of the currently selected response
    The last button labeled Export will create a PDF file of the selected response
    Is that what you were trying to accomplish? I'll admit that we need to make print and export to PDF more discoverable and easier to get to - that was too many steps
    Randy

  • Printing Response Data in the Form Layout?

    I'd like to be able to select a response and print the data in the format of the form (so it looks the way it did when they entered it.)  How can I do that?

    Unfortunately you can't print a selected response and retain the format of the form. You can print out a response in more of a "record view". Try this - go to View menu -> Details View. A panel will open, at the bottom of the panel you can see buttons for save the detail view as PDF or print it.
    This type of functionality is something we plan to provide in the coming months.
    Hope this helps
    Thanks,
    Randy

  • Order of tables in the form clause influences query performance? (ora 9i)

    Hi,
    I have a SQL select with 5 tables in the 'from' clause. On Oracle 9i (and 8i too) if I user a certain table order (bigger tables first, smaller tables last) the query executes fast. If I change the order, then it executes in slow motion. I use cost based optimizing.
    I thought it was just Oracle 8i where I had to take into account such things when writing a query. Does some one know the cause for this? I
    Regards,
    Tamas Szecsy

    And, even in 10GR2, if the optimizer_mode is changed to CHOOSE (the default is ALL_ROWS), the optimizer defaults to RULE based:
    SQL> show parameter optimizer_mode
    NAME                                 TYPE        VALUE
    optimizer_mode                       string      ALL_ROWS
    SQL> alter session set optimizer_mode = choose ;
    Session altered.
    SQL> show parameter optimizer_mode
    NAME                                 TYPE        VALUE
    optimizer_mode                       string      CHOOSE
    SQL> analyze table emp delete statistics ;
    Table analyzed.
    SQL> analyze table dept delete statistics ;
    Table analyzed.
    SQL> set autotrace traceonly explain
    SQL> select e.*, d.* from emp e, dept d where d.deptno = e.deptno (+) ;
    Execution Plan
    Plan hash value: 748780195
    | Id  | Operation                    | Name           |
    |   0 | SELECT STATEMENT             |                |
    |   1 |  NESTED LOOPS OUTER          |                |
    |   2 |   TABLE ACCESS FULL          | DEPT           |
    |   3 |   TABLE ACCESS BY INDEX ROWID| EMP            |
    |*  4 |    INDEX RANGE SCAN          | IDX_EMP_DEPTNO |
    Predicate Information (identified by operation id):
       4 - access("D"."DEPTNO"="E"."DEPTNO"(+))
    Note
       - rule based optimizer used (consider using cbo)
    SQL> analyze table emp compute statistics for table for all indexes for all indexed columns ;
    Table analyzed.
    SQL> analyze table dept compute statistics for table for all indexes for all indexed columns ;
    Table analyzed.
    SQL> select e.*, d.* from emp e, dept d where d.deptno = e.deptno (+) ;
    Execution Plan
    Plan hash value: 748780195
    | Id  | Operation                    | Name           | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |                |    14 |   826 |     4   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS OUTER          |                |    14 |   826 |     4   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL          | DEPT           |     4 |    76 |     3   (0)| 00:00:01 |
    |   3 |   TABLE ACCESS BY INDEX ROWID| EMP            |     4 |   160 |     1   (0)| 00:00:01 |
    |*  4 |    INDEX RANGE SCAN          | IDX_EMP_DEPTNO |     5 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - access("D"."DEPTNO"="E"."DEPTNO"(+))
    SQL> alter session set optimizer_mode = rule ;
    Session altered.
    SQL> select e.*, d.* from emp e, dept d where d.deptno = e.deptno (+) ;
    Execution Plan
    Plan hash value: 748780195
    | Id  | Operation                    | Name           |
    |   0 | SELECT STATEMENT             |                |
    |   1 |  NESTED LOOPS OUTER          |                |
    |   2 |   TABLE ACCESS FULL          | DEPT           |
    |   3 |   TABLE ACCESS BY INDEX ROWID| EMP            |
    |*  4 |    INDEX RANGE SCAN          | IDX_EMP_DEPTNO |
    Predicate Information (identified by operation id):
       4 - access("D"."DEPTNO"="E"."DEPTNO"(+))
    Note
       - rule based optimizer used (consider using cbo)
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>

  • How to print a table on a form?

    I need to print all the items of a form in a table format,with borders and lines.If items are not fit in this page ,they have to print on another page(continuous).
    If anybody knows,Kindly give the solution.

    Hello,
    Create a TABLE node (in the main window, or any window). In this table, you have to specify the internal table and work area in the 'DATA' tab of the table node. This is equivalent to the abap code ,
    LOOP at itab into wa.
    There will be a 'Details' button in the 'Table' tab of the table node. Click it and here you specify the no of yur columns(along with their height and wifth). If yur table is sumthing lyke,
    HEADER 1  HEADER 2
          ROW1-A    ROW1-B
    then u have to create two separate line type, one for the header and the second for the row items(keep in mind that internal table is dynamic)
    There are sub 3 sections of the table node, Header - Main Area - Footer
    Right click on the 'Header' arrow and create a table line and assign the Line Type(you created for the Header).Similarly, right click on the 'MainArea' - create a table line and assign the line type(u created for the row items). Name yur columns(in the Header section) and place yur data(from the work area) into the respective cells of the 'Main Area'. 'Footer' section is usually for totals, sums and etc.
    Hope i am comprehendable.
    Regards,
    Shehryar

  • Page count in the footer of a table in the form layout

    hi friends,
    I just want to print the page number detaisl in the footer of the SMARTFORM .
    I just dragged the values from the system folder and use it as usual.
    But the values are displayed in such a manner
    for sy-page of sy-printpage
    gives 1 of *
    2 of *
    9 of *
    10 of 31
    11 of 31
    31 of 31
    But when i give the same values in a separate or in a separate text , i can get an expected result as
    1 of 31
    2 of 31
    31 of 31
    can somebody help me to solve this problem.
    why it happens so , only in the footer of an table, and why the values are not printing only upto 9?
    tell me some possible ways of solving this problem

    Hi Kumar,
      Use final window type and put your sfsy variables in that window then it will work.
    Reward if helpful.
    Regards,
    Kalyan.

  • How do I create a dynamic table in the form for auto field detection?

    I am new to Acrobat. We need to create a form template that contains dynamic table control so that it can be populated using auto field detection.
    Our dynamic table contains reimbusement information, the rows vary from one claim to another.
    Please help. We are having Acrobat 9 Pro.
    Thanks
    Prasadh

    A lot is possible. There is a scripting language which should fill the gaps of missing features. There is data merge, there is XML, there is InCopy. Read everything about it and you will surely find what you need.

  • I want to save updated record only in stage table from the form..

    I have created form with two block
    1...criteria base block
    2....details block....(This database block i.e. on stage table).
    I am inserting data into detail block (i.e. stage table )with no commit through find button.
    data is showing there with status 'FRESH'
    suppose i changed item cost, now status goes change to 'NEW'
    now when i am saving it is saving all data into stage but i want to save only data with 'NEW' status.
    Please Help me
    I tried it by deleting data from stage where status ='FRESH' on post_update trigger but is not supporting.
    Edited by: ManojT on Sep 3, 2009 6:52 AM

    Hi I am using this procedure in find button to get data on detail block
    PROCEDURE GET_ITEM_DATA IS
    i number :=0;
    L_COUNT NUMBER;
    S_COUNT NUMBER;
    CURSOR GET_DTL IS
    (SELECT MSI.SEGMENT1 AS "ITEM" ,
    MSI.ITEM_TYPE,
    MICV.CATEGORY_SET_NAME,
    XXCAVM_GET_ITEM_COST_PKG.CAVM_GET_COST_DATE(MSI.INVENTORY_ITEM_ID,ORG.ORGANIZATION_ID,3) "LAST_UPDATE_DATE",
    XXCAVM_GET_ITEM_COST_PKG.CAVM_GET_ITEM_COST(MSI.INVENTORY_ITEM_ID,ORG.ORGANIZATION_ID,1) "ITEM_COST_F",
    XXCAVM_GET_ITEM_COST_PKG.CAVM_GET_ITEM_COST(MSI.INVENTORY_ITEM_ID,ORG.ORGANIZATION_ID,3) "ITEM_COST_P",
    MSI.INVENTORY_ITEM_ID,
    ORG.ORGANIZATION_ID,
    ORG.ORGANIZATION_CODE
    FROM
    (SELECT ORGANIZATION_CODE,ORGANIZATION_ID
    FROM ORG_ORGANIZATION_DEFINITIONS ) ORG,
    MTL_SYSTEM_ITEMS_FVL MSI,
    MTL_ITEM_CATEGORIES_V MICV
    WHERE CATEGORY_SET_NAME LIKE 'Product'
    AND MSI.INVENTORY_ITEM_ID =MICV.INVENTORY_ITEM_ID
    AND MSI.ORGANIZATION_ID = MICV.ORGANIZATION_ID
    AND ORG.ORGANIZATION_ID = MSI.ORGANIZATION_ID
    AND ORG.ORGANIZATION_ID = MICV.ORGANIZATION_ID
    AND MSI.INVENTORY_ITEM_STATUS_CODE = 'Active'
    AND MSI.SEGMENT1 =NVL(:CTRL_BLK.INV_ITEM,MSI.SEGMENT1)
    AND MICV.CATEGORY_SET_NAME = NVL(:CTRL_BLK.ITEM_FAMILY,MICV.CATEGORY_SET_NAME)
    AND MSI.ITEM_TYPE = NVL(:CTRL_BLK.ITEM_TYPE,MSI.ITEM_TYPE)
    AND ORG.ORGANIZATION_CODE = NVL(:CTRL_BLK.ORGANIZATION,ORG.ORGANIZATION_CODE));
    --AND MSI.INVENTORY_ITEM_ID = 8063
    --AND MSI.ORGANIZATION_ID=204);
    BEGIN
    FOR GRD IN GET_DTL LOOP
         SELECT COUNT(*) INTO S_COUNT FROM XXCAVIUM_ITEM_CST_STG
         WHERE ITEM = GRD.ITEM
         AND ORG = GRD.ORGANIZATION_CODE
         AND ITEM_TYPE = GRD.ITEM_TYPE
         AND CATEGORY_SET_NAME = GRD.CATEGORY_SET_NAME;
              IF S_COUNT >0 THEN                         
                                            NULL;
                        ELSE
                        INSERT INTO XXCAVIUM_ITEM_CST_STG
                             (ORG,CATEGORY_SET_NAME,ITEM,COST_PENDING,
                             COST_FROZEN,ITEM_TYPE,LAST_UPDATE_DATE,
                             COST_TYPE_ID,ORGANIZATION_ID,
                             INVENTORY_ITEM_ID,COST_ELEMENT,STATUS)
                             VALUES(GRD.ORGANIZATION_CODE,GRD.CATEGORY_SET_NAME,GRD.ITEM,GRD.ITEM_COST_P,GRD.ITEM_COST_F      ,
                             GRD.ITEM_TYPE,GRD.LAST_UPDATE_DATE,3,GRD.ORGANIZATION_ID,GRD.INVENTORY_ITEM_ID,'Material','FRESH');
                        END IF;
    END LOOP;
    GO_BLOCK('XXCAVIUM_DTL_BLK');
    EXECUTE_QUERY;
    EXCEPTION
    WHEN OTHERS THEN
    FND_MESSAGE.DEBUG('Exception occured during the process. Error Message: '||SQLERRM);
    END;
    Please suggest if any

  • Nested Table: How to display formatted text in the form ?

    Hi,
    Scenario:
    I have a nested table, say TAB1, containing another table TAB2 which holds the formatted text.
    Sample data
    Entries in TAB1:
    Column1       Column2(TAB2)
    Text1         Data_from_tab2
    Text2         Data_from_tab2
    Text3         Data_from_tab2
    Requirement:
    The requirement is to display the data in TAB1 as it is maintained.
    Trials:
    I am aware of the fact that we can transfer the content of the nested table (in this scenario, TAB2) in another table(of type TLINE) defined as a global variable in the interface of the form. Then in the context area, we can define a 'TEXT' node and bind it to the table and choose the 'Dynamic text' for the 'text type' attribute and maintain the other atrributes.
    But this approach cannot solve the issue as it is a nested table.
    Kindly suggest how can I resolve this issue.
    Regards
    s@k

    Hi,
    if its like colum1, column2 (tab2).
    you can represent column2 as a nested table in the form. and put these tables structure intoa subform of type flowed.
    then you can have the required format.
    the same can also be acheived using nested subforms instead of tables.
    example of such scenario is PO & line items.
    po number1 , items 1
                          item 2
                          item 3
    po number2 , items 1
                          item 2
                          item 3
    hope this helps you.
    Cheers,
    Sai

  • Dynamically increasing the rows of a table in interactive forms.

    Hi All,
       I am new to adobe forms.I am developing an interactive form in webdynpro abap.I have a requirement such that i have 3 columns in a table and the first 5 rows are default i.e, i will add it during design time.when we enter something in the 5th row,6th row should automatically be created which wil be empty.I also need to retrieve the data back into the webdynpro component when user enters something in it and clicks the submit button.can anyone tel me how wil i generate this table and when someone enters something into the form how wil i store the data back in the component.
    my context node has hours ,minutes and call code as attributes which wil be the column names.
    Thanks in advance.
    Regards,
    Srividya.

    Hi Srividya,
    For flow of data from the form to webdynpro. Do the follwing:
    Suppose you have a table on the form and you want to pass data from this form to web dynpro.
    1. Create a node of cardinality 0...n or 1.....n. Add attributes to this. Now this node is as a internal table and the attributes are like intenal table fields.
    2. When creating the form. Use This node as the data source for the form.
    3. Now its easy in webdynpro ABAP to create a table on the Adobe form. Just drag and drop the Data node(from which you want to create table) from the data view on the designer on to the form.
    4. Now its already bound to the node you have created and whatever data you will enter in the table that will be reflected to the node. and you can check it by creating a table on the view from the same node.
    5. After you will click on submit button the data will reflect to table on  webdynpro view.
    If its not works then problem could be that the ACF is not installed on your system due to which button is not processing and fields are not reflecting data.
    For ACF you can search it on SAP service market place.
    Hope it will help.
    Regards,
    Vaibhav Tiwari.

Maybe you are looking for

  • Iphone 6, photo library "downloading"

    I purchased my iPhone 6 about a month ago, it was already backed up through Icloud and on my old iPhone 5s. Since purchasing it and updating, and restoring my camera roll has been saying downloading, when I connect it to iTunes it says that I have 90

  • Cannot View certain reports in Discoverer Viewer

    Hi All, The administrator account can view all reports. However, users cannot access certain reports. 1. All reports have been shared by users 2. Users have access to business areas 3. Fan traps is disabled 4.. users have following privileges: a. Col

  • Finder Text Size

    Hi, I got a mini for the living room and the text on the finder is mighty small on my big screen. I tried setting it to max on the preference settings, is there any way to make the text even bigger ?

  • Migrating from PSE 5.0 on Windows XP to PSE 8.0 on Windows 7

    I am running PSE 5.0 on Windows XP on my old computer.  Half of my images (about 55GB--or about 15,000 images) are on the C drive under My Pictures  (lots of folders under there).  The other half are on an external  USB drive which I will be moving t

  • Remote shared memory support

    I have been looking at the remote shared memory interfaces described in section 3RSM on Solaris 9, and I read through the docs describing the interfaces at http://docs.sun.com/app/docs/doc/816-5042/6mb7bck55?a=view The documentation from docs.sun.com