Overflow field of table in a form ( in abap using at new ... at end..... )

Hi everyone I have to print a table in a form. But only when change a field of table i have to print the header... like this
Field1      Field2     Field3
A              1            2
A              3            4
B              1            1
C              1            2
C              3            4
I have to print
(header)       A
        1                    2
       3                     4
(header)       B
        1                    1
(header)       C
        1                    2
       3                     4
Is it possible? Thank you...

HI friend,
I think these links will be helpful for you.
Link : [Displaying Contents in Cells|http://help.sap.com/saphelp_nw70/helpdata/en/fa/0c1447d30111d3b568006094192fe3/content.htm]
Link : [Specifying Table Output|http://help.sap.com/saphelp_nw70/helpdata/en/0b/5da4de2cf511d5b692006094192fe3/content.htm]
I too studied all the documentation of the class which you have mentioned and its two methods. It should work fine, but you are facing an issue. So try using the methods which they have specified in the above links and see are you arriving to your required solution.
Revert back to me if you have any queries.
Thanks,
Sri Hari

Similar Messages

  • Dynamic table in interactive form & WD ABAP

    Hi,
          I have created a adobe interactive form adding the rows dynamically when pressing add button. The form works fine in Life cycle designer preview. But it doesnot work in Webdynpro ABAP runtime.
    Please let me know if any of you have a solution for the same.
    Regards,
    Vimal

    >
    Abhimanyu Lagishetti wrote:
    > change the displayType property of the interactive form and try
    > I had this problem long back, submit button was not working when changed this property it started working
    >
    > i hope it is helpful
    >
    > Abhi
    Actually be careful. Just changing the displayType probably isn't enough.  If you change from ActiveX to Native, you also must adjust the form itself - converting the form type and adding the JavaScript Header. And also Native (or ZCI) based forms are only available after SP12. If your system patch level is older than that release you might still have problems. 
    The ACF based forms do require an ActiveX control that gets pushed to the frontend. So this limits their browser support and also requires a version of the ACF control that matches your server.  So sometimes you get an ACF version mismatch if you work with multiple servers on different release levels.  ActiveX controls can also be blocked in IE depending upon the security settings that your company imposes.
    So first of all - do the SAP example ACF form applications work for you?  If they work, but this form doesn't then the problem may still be in the form itself.
    Two - are you at a release level where you can use Native forms instead?  If so you might consider going back to your Forms team and have them conver the form for you and use the Native display type.  This will reduce the complixity of having to rely on an ActiveX control. Finally if you are stuck with ACF then you need to start troubleshooting your security browser settings and/or the version of the ACF control that is installed on your desktop.

  • Call a function with tables in a FORM

    Hi all,
    I am currently willing to create a FORM that would call a function (which has a table in its parameters).
    In the form, I modify the fields of this table, and then I call the function.
    I put the table in the FORM parameters (either 'USING' or 'TABLES').
    Problem is: the syntax check keeps on telling me that my internal table is not correctly defined (missing the statement 'OCCURS 0') and won't compile.
    I tried to add this statement 'OCCURS 0', even 'WITH HEADER LINE', but I cannot make it work.
    Can anyone help ?
    Thx a lot.
    Isa.

    Hi,
    Declare a Ztable inside the form of the type declared in the FM with a header line.Assign the fields that u require to pass through the table and append to this Ztable.
    Now pass this Ztable to the parameters of the FM.
    This should help u out...
    Mark useful answers...

  • TABLE DATA in PDF FORM  Through ABAP WEBDYNPRO

    Hi Friends,
    I have to Populate  SAP TABLE like MARA,VBRK table into PDF form throught ABAP Webdynpro.
    Can you send STEP by STEP Example Doc.
    Thanks In Advance.
    Gautam.

    Hi,
    To display the Table in the Adobe Form you must create a WebDynpro Context.
    In WebDynpro Context, in the main node create another node like A1 with cardinality 0..n and in this node create attributes FIELD1 and FIELD2 and so on.
    Now goto method and in that method using code wizard read the node A1.
    And use the below code snippet sample in your program, i.e. code this under respective method of the webdynpro.
    *Declare the TYPES
    TYPES : BEGIN OF TY_TABLE,
    FIELD1 TYPE SOMETYPE,
    FIELD2 TYPE SOMETYPE,
    END OF TY_TABLE.
    *Define Internal Table and work area.
    DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0.
    SELECT FIELD1 FIELD2 FROM TABLENAME INTO TABLE IT_TABLE.
    lr_node_info->bind_table( IT_TABLE ).
    And now goto Layout and give the TemplateSource and after that it asks for the interface name fill on that and select the relevant context. Now the LiveCycle Designer opens. There goto DataView pallette, there you can see the context of the webdynpro, now you simply drag and drop that table, a table is being created in the Layout Designer.
    Regards
    Pradeep Goli

  • Search Help for field on table maintenance generator ECC 6.0

    Hi All.
    To maintain search help for a custom field on table maintenance generator.
    Only through coding.
    Cannot use domain or data element or table field search helps.
    Have to code only.
    Is there any way?
    Can I do modifications/additions to screen code and achieve this?
    Regards,
    Veeranji Reddy P.

    Scenarion:
    1. table with 2 fields.
    2. table maintenance generator.
    3. Function group with one screen(0001-mentioned in table maintenance) created.
    4. For one field on table maintenance generator...where we add new entries to table, i want a search help.
    Conditions : only coding has to be done..no search helps I can use.
    Coding where and what?
    one option is to code on the screen 0001- either in PBO/PAI.
    Is it a rite place...? or any other option? But no search helps as mentiond in my first message can be used.
    Thanks and Regards,
    Veeranji Reddy P.

  • How can we print the page numbers for TABLE OF CONTENTS form When its excluded from the form page count ?

    Hi Experts,
    We have TABLE OF CONTENTS followed by 100 forms with totally 215 pages.
    We have checked in the Exclude from form page count option for TABLE OF CONTENTS form in Group level.
    The forms followed by TABLE OF CONTENTS form all are using FORMSETPAGENUM rule in footer.
    the very first form followed by TABLE OF CONTENTS form the page number starts at 1 of 215 and the last form ends at 215 of 215.
    Now i want to print the Page number for TABLE OF CONTENTS form alone.
    How can we do that ?  Any thoughts ?
    Regards,
    RAMAN C

    Hi Raman,
    I guess, you have included 'Exclude Page Count' option in Table Of Content (TOC) form.
    There is a limitation in studio. The page number functions (FORM PAGE NUM OF/ FORMSET PAGE NUM OF) will be ineffective when we select the 'Exclude Page Count' option in TOC form. Hence, you was not able to print the Form Page Count in TOC form.
    The only way to print page count is to deselect 'Exclude Page Count' option. Then you can normally print the TOC Page Count in TOC form. However, thiS TOC page count will add to the Total formset Page Count. The Formset Page Count can be controlled through Postransdal using the script [FORMSET PAGE NUM = TotalPages() - 1]
    Regards,
    Mahesh

  • HR-ABAP using Table Control Wizard

    My requirements is to customize an infotype which is customer specific.
    After creating the infotype in PM01, I also create the screen(2000) for the
    infotype. The issue is in the table control. I create a table control
    using  table control wizard, getting the information that i need to output in the
    screen, using another infotype which is PA0007 planned working time.
    The expected result is that the data will diplay on the screen when i execute PA30.
    Do you have any idea or any recommendation to resolve the issue? thanks.
    And here are my codes.
    in PBO
      LOOP AT   g_table5_itab
           INTO g_table5_wa
           WITH CONTROL table5
           CURSOR table5-current_line.
        MODULE table5_move.
        MODULE table5_get_lines.
      ENDLOOP.
    Inside the  module pool.
    MODULE TABLE5_INIT OUTPUT.
      IF G_TABLE5_COPIED IS INITIAL.
    *&SPWIZARD: COPY DDIC-TABLE 'PA0007'
    *&SPWIZARD: INTO INTERNAL TABLE 'g_TABLE5_itab'
        SELECT * FROM PA0007
           INTO CORRESPONDING FIELDS
           OF TABLE G_TABLE5_ITAB
    *Start of Insert
           WHERE pernr = pskey-pernr.
    *End of Insert      .
         G_TABLE5_COPIED = 'X'.
         REFRESH CONTROL 'TABLE5' FROM SCREEN '2000'.
      ENDIF.
    ENDMODULE.
    MODULE TABLE5_MOVE OUTPUT.
    *Start of Delete
      MOVE-CORRESPONDING G_TABLE5_WA TO PA0007.
       MOVE-CORRESPONDING G_TABLE5_WA TO PA9201.
    *End of Delete
    *Start of Change
       MOVE G_TABLE5_WA-begda TO PA9201-zzpensda.
       MOVE G_TABLE5_WA-endda TO PA9201-zzpendda.
       MOVE G_TABLE5_WA-empct TO PA9201-zzempct.
    *End of Change
    ENDMODULE.
    MODULE TABLE5_GET_LINES OUTPUT.
      G_TABLE5_LINES = SY-LOOPC.
    ENDMODULE.

    Hi,
    Create a table control in layout and place your fields in table control.
    Press F6 and give the table name and click on get from dictionary and select the 5 fields which you required and palce those fields in table control.
    Double click on table control and give table control name .
    In Top include create a stmt as
    CONTROLS : TABlecontrolname TYPE TABLEVIEW USING SCREEN '1000'.
    In PBO under a module write your logic that means select query and place it in an internal table. Place that select query under IF condition.
    Module Read.
    If SY-UCOMM = 'ENTER'.
    Process query.
    endif.
    endmodule.
      LOOP AT ITAB INTO WA WITH CONTROL TAB.
        MODULE DISP.
        ENDLOOP.
    In PAI.
       LOOP AT ITAB.
         ENDLOOP.
    Here ITAB is internal table name.TAB is table control name.In display module write the code
    MODULE DISP OUTPUT.
    MOVE-CORRESPONDING WA TO database tablename.
    ENDMODULE.
    And in 1000 screen create SET PF status in the function keys assign a keyword to Enter Icon as 'ENTER'.
    Hope this is helpful.
    Regards,
    G.Aditya

  • Workarea field is changing to ********* when i use at new command

    Hi All,
    I have a workarea. In that work area i have a field (zsample -zbill_zrass). I am using  at new statement.
    My problem is when i debug the code, am able to see that when the control goes inside at new statement, my field (zsample -zbill_zrass). which is holding a number is changing into ***********.  I have attached the code below for your reference.
    Please help me to solve this issue.
    loop at lt_zsample[] into wa_ zsample.
          clear wa_usr_addr.
          read table it_usr_addr into wa_usr_addr
                            with key accnt = zsample -zbill_zrass.
          if sy-subrc = 0.
            CONCATENATE lv_string zsample -zbill_zreff into wa_temp-zbill_zreff
                           SEPARATED BY space.
            wa_temp-zbill_zrass   = zsample -zbill_zrass.
            wa_temp-accnt        = wa_usr_addr-accnt.
            wa_temp-smtp_addr    = wa_usr_addr-smtp_addr.
            lv_temp = lv_string.
            lv_string = wa_temp-zbill_zreff.
            at new zbill_zrass.   -
    >  when control goes inside this (at new ) my problem occurs
              clear lv_string.
              if lt_temp is not initial.
                describe table lt_temp lines lv_line.
                read table lt_temp into wa_temp index lv_line .
                if sy-subrc is initial.
                  wa_temp-zbill_zreff = lv_temp.
                  modify lt_temp index lv_line from wa_temp TRANSPORTING zbill_zreff.
                endif.
                clear wa_temp.
              endif.
              wa_temp-zbill_zreff  = wa_ zsample -zbill_zreff.
              wa_temp-zbill_zrass   = wa_zsample -zbill_zrass.
              wa_temp-accnt        = wa_usr_addr-accnt.
              wa_temp-smtp_addr    = wa_usr_addr-smtp_addr.
              lv_string = wa_temp-zbill_zreff.
              append wa_temp to lt_temp.
              clear wa_temp.
            endat.
          endif.
    clear wa_sample.
    endloop.

    Hi, Mohamed Aslam 
    Suppose you have the following Internal Table.
    Field1 Field2 Field3
    When ever you will use AT NEW, AT END or AT LAST mean any of Control Break Statement one the Field1 you will find all the Fields on the right hand side of that field as *** Stars in it, Suppose if you will use these all on Field2 than Field1 OK Field2 will also be OK but Field3 will again have Stars to over come this you can define a new work are and just before going into these Statement's Blocks assigns the current work area to that one just like the following.
    wa_all_ok = wa_stars.
    than do your processing on that wa_all_ok instead of wa_stars
    Please Reply if any Confusion,
    Best Regards,
    Faisal

  • Display read only field in table / form from another vo

    i came across couple of scenarios where i had to bring a field in a table / from from other vo than on which most fields in table / form were based. in all cases i had to display the field from another vo as read only and there was only one record in other vo which was related to previous vo in table / form. for this i created a view accessor and created a soc with model driven lov. the problem with this is that first element alwasy shows blank in soc. how can i display the filled soc with first element populated and read only in this scenario. i tried alternatively with groovy expressions but other people in team said it is not good practice to use groovy expressions to fill fields in one VO from other VO. how can i acheive this requirement with soc component / lov / view accessors. is there any other alternative as well. jdev 11 1 1 5

    1) in the attribute of the VO select the 'List of values' node and edit the list attribute you see there; in the dialog select the UI Hints tad and make sure the checkmark for the 'Include "no Selection Item' is off.
    2) you can base a VO on to EO which are then joined via one or more attributes (association)
    Timo

  • Updating a field for a number of forms from an external table

    Good Day All;
    This one I could not find in the help section.
    I have designed a number of forms that all use the same “rates of pay” (there are 4 categories) for calculating. I was told to expect that a few more forms will be required and these new forms will also be using the same “rates of pay”
    Currently I am using “switch” to insert the “rates of pay” when the user selects a category from a dropdown.
    Is there a way I can update all the forms from an external “table” instead of having to update each form individually?
    Thanks All
    Chomp

    Hi,
    If the form is Reader enabled with Acrobat, then that is going to cut out data connectons.
    You should have a look at John Brinkman's blog: http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_2.html. Two parts.
    Also there is an example of inter-form communication here, but it may be too clunky: http://assure.ly/qQivbm.
    Good luck,
    Niall

  • Overlapping two tables in adobe form

    Hi
    I have a requirement to print details based on different bill numbers in different pages. 
    I have two internal tables 
                    1. it_inrt  containing two fields 
                    2. it_prts containing four fields  .
    Tthese two tables are looping separately. during program execution it_inrt overlaps it_prts. my question is that how to prevent this overlapping i want to print it_prts only after printing all rows of it_inrt and the excess rows will continue in  the next page.
    Please help me to solve this problem.

    Hi,
    You have to 2 internal tables right,
    You have to print the data which is in First internal table and same for second internal table..
    Place thes to tables(one after another ) in Desgin page of - Adobe forms..
    Under page there is  Untitled content area and renamed as ( page area 1)
    In hierachy tab -  By default you will see the Untiled Subform page ( Here drag the First Internal table to here and change the   subflow as flowed ,pagiantaion as continued in untitled area). add another internal table to this form..
    create a new page with only Untitled content area and renamed as ( page area 2)
    Steps:
    Select Untitiled subform - under pagination - Place Select ( In content area of page area 1 )
                                              if dataset must be paginated -  overflow to ( Go to content area of Page area 2 )
                                            - under subform - make the content as flowed and check the allow page breaks within content.
    Regards,
    PraVeen
    Edited by: praveenreddys on Feb 21, 2012 3:53 PM

  • Overflow-field in multi-rows block

    Hi!
    How can i realize overflow-field in multi-rows block.
    I place overflow fields in the footer area of block
    and get value use ${uix.current['Description']} - but no have results.
    Use javascript to set value of overflow-field?
    thanks

    Andreas,
    I was most intrigued by your offered solution, so I created a test case. Unfortunately, this solution gives inconsistent results. Here was my test case:
    1. Table: Planets
    Columns: 3 (PL_ID, Name, Description
    2. Added nine entries for all 8 planets and one record for Pluto (sorry, grew up with this being classified as a planet! :) )
    3. Created very basic form to display all 3 columns in Tabular (Multi-Record) format and displayed 5 rows.
    4. Created button in a Control Block to display Cursor_Record, Trigger_Record and Top_Record
    - Set Mouse & Keyboard navigate to NO
    Ran Form and navigated to each row and clicked on button. The following was my results:
    >
    Row 1: Cursor Rec: 1, Trig Rec: 1, Top Rec: 1
    Row 2: Cursor Rec: 2, Trig Rec: 2, Top Rec: 1
    Row 3: Cursor Rec: 3, Trig Rec: 3, Top Rec: 1
    Row 4: Cursor Rec: 4, Trig Rec: 4, Top Rec: 1
    Row 5: Cursor Rec: 5, Trig Rec: 5, Top Rec: 1
    Row 6: Cursor Rec: 6, Trig Rec: 6, Top Rec: 2
    Row 7: Cursor Rec: 7, Trig Rec: 7, Top Rec: 3
    Row 8: Cursor Rec: 8, Trig Rec: 8, Top Rec: 4
    Row 9: Cursor Rec: 9, Trig Rec: 9, Top Rec: 5
    Row 10: Cursor Rec: 10, Trig Rec: 10, Top Rec: 6 - New Record - NULL values
    - Navigated back to Row 6: Cursor Rec: 6, Trig Rec: 6, Top Rec: 5 (however - visually in the screen Row 6 was the 2nd row of the 5 rows displayed.
    - Navigated back to Row 3: Cursor Rec: 3, Trig Rec: 3, Top Rec: 3 (however - visually in the screen Row 3 was the 1st row of the 5 rows displayed.
    >
    Based on these results, the option to use the GET_BLOCK_PROPERT('BLOCK_NAME',TOP_RECORD) won't work either. :-( Unforntunately, displaying the MCHAR field in a static location or using Java (though hardest) are still the best solutions.
    Craig...

  • Field and table

    Hi,
    Can any one tell me the difference
    1) We can unarchive repository after right clicking on specified repository
    or right clicking on server.
    What is the difference between two?
    2) Can any one explain me with example what is Qualifier table , qualified record, Display Field, Remote key (which we can see in destination field during field/value mapping). It is not clear to me which source fields we should map with which destination field.
    3) I am some doubt with look up table, fields and taxonomy field Can any one give me simple example rather than link.How can we create all this?
    Thanks in advance.

    Hi Pappu,
    1) We can unarchive repository after right clicking on specified repository
    or right clicking on server.
    What is the difference between two?
    Ans : The only difference between the two is when you unarchieve the repository by right clicking on the server it will ask the name of the repository and creates the new one while in other case it overwrites the existing repository on which you have right clicked for Unarchieving.
    2) Can any one explain me with example what is Qualifier table , qualified record, Display Field, Remote key (which we can see in destination field during field/value mapping). It is not clear to me which source fields we should map with which destination field.
    Ans : Qualifier Table:
    Consider the simple example given below:
    If one Product is to be sold in different countries with different price depending on the country then in such case if you kept all this information in the main table then it creates the redundancy
    E.g.
    Product     Country     Price
    100     India     50
    100     US     60
    100     UK     40
    Now if you model the above data using Qualified table in which Country will be the non-qualifier and price will be qualifier fields then
    Product                                       Country     Price
    100                                             India     50
                                                      US     60
                                                      UK    40
    i.e. you are eliminating the redundancy by storing the repetative information in another table and just forming the link between main table record and its corresponding qualified table records.
    Qualified Records:
    Records stored in the qualified tables are known as qualified records like India 50 is the qualified record in above example.
    Display Field:
    If any field is declared as the Display field then the data of that field will be visible in the main table in MDM Data Manager.
    E.g. Consider the lookup table name Countries with the structure shown below:
    CountryName     Code
    India     Ind
    United States    US
    then when you select the drop down list say while entering data then you will get
    India,Ind
    United States,US
    Otherwise if only code has been set as the Display Field then only code will appear in the drop down list
    Ind
    US
    Remote Key:
    Remote key is used when you want to communicate with many systems like say you want to send particular MDM records to R3 and some records to BW system.Then you have to enable the Remote Key property of the main table and select the remote system say R3 if you want syndicate the records only for R3 system.
    3) I am some doubt with look up table, fields and taxonomy field Can any one give me simple example rather than link.How can we create all this?
    Ans:
    Lookup table:
    These tables are used when you want to select the data from some fixed set of records like countries.
    Create the lookup table countries and assign the table to the field(lookup flat) of main table then when you enter data into that field you will get the drop down list.
    Taxonomy table:
    Taxonomy table is used when there exists some fields whose occurance depends on the value of other some field.
    E.g. Say there a main table field named Product which consists of values like Shoes and Bottles.When you select Shoes then field Brand appears and when you select Bottles field Quantity appears.Now if you create 3 fields named Products Brand and Quantity then for product field value Shoes quantity will be null and similarly for Bottles Brand field will be Null.Imagine the scenario with lacs of records.
    Now when you use taxonomy table to model the above design it will be as shown below:
    1. Create the field Product in the main table with type Lookup Taxonomy.
    2. In the Data Manager create two attributes named Brand and Quantity.
    3. Link the value Shoes with the Brand and Bottles with the quantity.
    Whenever you select Shoes, Brand field will appear automatically and similarly for other case.
    Reward if found useful
    Regards,
    Jitesh Talreja

  • How do I get to have more than 20 columns in a table in adobe form?

    I see that there is limitaion to not have more than 20 columns in my table in adobe form, Is there any way I can have more than 20 columns in a table in adobe form in landscape mode.

    Hi,
    That only relates to the Table Wizard. Once the table is placed on the page, you can add columns manually, from the menu or right-clicking on a column.
    You can also use fields within a repeating subform (instead of the table object).
    Good luck,
    Niall

  • How to create a table in smart form.

    Hi Folks,
    I need to create a table in  smart form with the following fields:-
    vbrp-arktx,vbrp-fkimg,komv-kbetr,komv-kwert.
    Please let me know how to create a table and how to name the columns,size,and the select query for the same.
    All answers will be duly rewarded.
    K.Kiran.

    Hi,
    Following Links gives Details of Smartforms and how to create tables -
    smartforms - very useful link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    FAQ
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Siddhi

Maybe you are looking for

  • How to set up to get email for more than one address like you can on ipad?

    I have several addresses set up on i devices and get mail from all. Can I set up all addresses on thunderbird the same way and if yes how? Community help site seems to have answers but when I tap on the answers I get nothing. It does not connect to a

  • Get file not found error when I try to sync

    I get file not found error when I try to sync Iphone.

  • No Sound on mpg videos on iphone

    Hi I LOVE my new Iphone.. everything about it. However on my mpg videos, I have no sound or audion after i sync. i am certain the volume is up and all. And someone on this site mentioned converting the videos with mpeg streamclip but I couldnt figure

  • Grant Permission In Access Database

    Hello All How to set Grant Permission in Access Database, I get an error here what's wrong in my SQL syntax? Best Regard Xan To

  • Hot deployment using the REDEPLOY feature

    Hi I am rather confused regarding the usage of the HOT DEPLOYMENT in WLS 6.1 sp2 - Win2000. According to the documentation - "deployment.pdf" p. 31 you should be able to simply touch the REDEPLOY file and the entire application should then be redeplo