Problem during Download of Dynamic Table Data

Hello All,
I have data in a dynamic internal table.
When I'm trying to download the content onto my Presentation Server and Application Server, the data corresponding to the CURRENCY and QUANTITY fields are getting ROUNDED to the nearest whole number value.
How to resolve this issue ?
Any clues ?
Regards,
Deepu.K

Hello Gautham,
Thanks for ur reply.
But I debugged the code of BUILDING a Dynamic Internal Table and I could find that while building the Dynamic Internal Table SAP Is checking the field attributes from the fieldcatalog.
The Method I debugged is :
* Create Dynamic Table
  call method cl_alv_table_create=>create_dynamic_table
    exporting
      it_fieldcatalog = gt_dyn_fcat[]
    importing
      ep_table        = dy_table.
  assign dy_table->* to <dyn_table>.
So for my requirement I passed the REFERENCE FIELDNAMES and REF. TABLENAMES for the corresponding fields in the fieldcatalog and so I could resolve the issue.
Regards,
Deepu.K

Similar Messages

  • Re: Problem providing download link for BLOB data in apex report

    Hi Don,
    Your solution below worked but in the download option i only see save but not open for PDf file in the blob. Please let me know if you have any suggestion to achieve it
    Thanks
    Jo
    Problem providing download link for BLOB data in apex report 
    591953 Nov 19, 2008 1:55 PM (in response to 660436)
    Currently Being Moderated
    Good morning,
    Here is how I have solved this problem.
    1. The select statement in the sql for the report should not include the BLOB column. I decided to select only 2 columns, the column that has the key and the column with the filename.
    2. On the first column ( the primary key ) I put in the format statement that was simply DOWNLOAD:TABLENAME:BLOB_COLUMN:PRIMARY_KEY
    This works. I believe that the Oracle error I was getting was because I was trying to apply this format statement to the actual BLOB column.
    So, it appears that you can use any of the columns in the report to hold the DOWNLOAD format statement since in the format statement, you are defining the BLOB table, BLOB column and the primary key into that column.
    Hope this helps,
    Don.

    Branched out from a years old thread.
    user3003326 Don't post to old threads, please.

  • Problem with Emailing the Internal table data as an excel attachment

    Hi Friends,
    I am facing problem with Emailing an internal table data as an excel file. I am using standard function module "SO_NEW_DOCUMENT_ATT_SEND_API1" which is using SOLI structure can have record with 255 character length. But my Internal table having each record means after concatenating all the fields it is going to be morethan 450 characters. so i t is not displaying all the data in excel file.
    Can somebody help me if there is any other function module or any other way that i need to follow.
    thanks for help
    venkat.

    You must use the the :
    CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB as a field seperator and
    CL_ABAP_CHAR_UTILITIES=>CR_LF as a record seperator.
    Check this example:
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Regards,
    Naimesh Patel

  • How to download dynamic table data into CSV format

    Hi,
    I have data in dynamic table <it_data>, and I want to download that into CSV format.
    so I tried to use FM SAP_CONVERT_TO_CSV_FORMAT but how to use this FM with dynamic table?
    here <it_data> type standard table, we can pass this to I_TAB_SAP_DATA. but problem is with changing parameter. (TRUXS_T_TEXT_DATA), what type of table it should be?
    and one more thing is <it_data> structure is also dynamic , depending on input the structure of <it_data> may vary.
    Regards,
    Mrunal

    Hi,
    check this one may be help full to u...........
    *Use FM SAP_CONVERT_TO_CSV_FORMAT and pass a Delimiter and ITAB. This
    returns an Ouput_String
    Convert Internal Table to ; delimited format
    There is a filename parameter on this FM but I don't think it's used
    call function 'SAP_CONVERT_TO_CSV_FORMAT'
    exporting
    i_field_seperator = Delimiter "default ';'
    i_filename = Filename
    tables
    i_tab_sap_data = ITAB
    changing
    i_tab_converted_data = Ouput_String
    exceptions
    conversion_failed = 1
    others = 2.
    Regard's
    SHAIK.

  • Problem during creation of dynamic Internal

    Hi All,
    I am trying to create a dynamic internal table.
    I went through many posts, but the problem i am facing is,
    I want an internal table as:
    Empno
    Ename
    Lgart1- Depending on the Wage types user enter on the selection screen.
    Lgart2
    When i tried to create dynamic table by
    cl_abap_typedescr=>describe_by_name(tab_name),
    it asks for the table name as string and tht also standard table.
    I have a type user defined local structure like :
    DATA: BEGIN OF it_struct,
          pernr LIKE pa0001-pernr,  "Employee No.
          ename LIKE pa0001-ename,  "Name of Employee
          BETRG LIKE PC207-BETRG,   "Net Amount
          END OF IT_struct.
    I created this structure, coz these 3 fields are fixed and other fields i need to add dynamically.
    Please suggest.

    Hi,
    Instead of using cl_abap_typedescr class use cl_alv_table_create and method create_dynamic_table.
    For your reference check the program below.
      DATA: dreft TYPE REF TO data,
            drefl TYPE REF TO data.
      DATA: xfc TYPE lvc_s_fcat,
            ifc TYPE lvc_t_fcat.
      FIELD-SYMBOLS: <upload> TYPE STANDARD TABLE,
                     <fs_worka> TYPE ANY.
      xfc-fieldname = 'Record'.
      xfc-datatype = 'CHAR'.
      xfc-intlen = '255'.
      APPEND xfc TO ifc.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
       i_style_table             =
          it_fieldcatalog           = ifc
        IMPORTING
          ep_table                  = dreft.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ASSIGN dreft->* TO <upload>.
      CREATE DATA drefl LIKE LINE OF <upload>.
      ASSIGN drefl->* TO <fs_worka>.
    Hope this might help you.
    Thanks,
    Prashanth

  • Dynamic table data not transfered to context WD4ABAP

    Hello Guys,
    Currently I have a urgent problem with Adobe Forms and WD4Abap. We are using AdobeReader 8.1.1 und Designer 7.1. Me problem is:
    1) I have an interactive form with dynamic table and simple fields...
    2) Data within textfields can be updated, created and deleted
    3) Data which is initially transfered to TABLES can be changed!!!
    4) BUT, if I add or delete a table row, this is NOT sent back to the WebDynpro context
    I am using the buttons out of the WebDynpro Navtiv Library. Furthermore, if I save the PDF on my Harddisk and start in manually (offline) add, change or delete data, the data is updated by checking it with the export data function within Adobe reader (Document->Form->Export Data)
    Is anybody able to help me, my ideas are on the end...
    Best
    Carsten

    Hi Carsten,
    Thanks again for your quick response.
    I tried using the code you supplied (changing the appopriate fieldnames to suit my form) but unfortunately I am still not able to access the added rows from my WD context. 
    Could you please clarify a couple of things for me?
    1.  In the following line, is "button_1a_+" the name of your button that adds new rows?
    > Carsten Sallaba wrote:
    >
    >$record.BEHAVIOR.PARAMETER.value = "button_1a_+";
    2. I presume that the following line in the code snippet should trigger the submit event on the WD, however this doesn't seem to be working for me, even after creating an action for the onSubmit event in the WD.  Do you have any further info on the changes that need to be made on the WD side?
    > Carsten Sallaba wrote:
    >
    > // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051128130428.257427.256785 - SubmitToSAP.xfo
    > ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    > // END OF DO NOT MODIFY
    Kind regards,
    Tammie

  • Dynamic table data by adding or delting not transfered to context

    Hello Guys,
    Currently I have a urgent problem with Adobe Forms and WD4Abap. We are using AdobeReader 8.1.1 und Designer 7.1. Me problem is:
    1) I have an interactive form with dynamic table and simple fields...
    2) Data within textfields can be updated, created and deleted
    3) Data which is initially transfered to TABLES can be changed!!!
    4) BUT, if I add or delete a table row, this is NOT sent back to the WebDynpro context
    I am using the buttons out of the WebDynpro Nativ Library. Furthermore, if I save the PDF on my Harddisk and start in manually (offline) add, change or delete data, the data is updated by checking it with the export data function within Adobe reader (Document->Form->Export Data)
    Do I have to implement something special my application,lika a refresh etc.??!?!
    Is anybody able to help me, my ideas are on the end...
    Best
    Carsten

    Hi
    There is seperate forum for Adobe Interactive forms, you can expect more quicker response if you post in that forum.
    SAP Interactive Forms by Adobe
    Abhi

  • Dynamic table data

    Hi guys
    first of all sorry if my English is not so good.
    And now here is my problem..
    On my page a have one combo box with several SQL query s in it.
    Below that i have table in i want to put result from query selected above...but the problem is that i cant do that.
    I create new VO with classic "select * from dual" query and I call method createViewObjectFromQueryStmt to set new query in VO when i change selection from combo box, but table data doesn't change.
    I try to bind table then to set partial trigger and nothing hepend.
    For table I use ADF read only dynamic tabel.
    I hope that somebody can help my
    I use version 11.1.1.6.0.
    Edited by: 965418 on Oct 16, 2012 7:23 AM

    I still have a problem with refreshing table.
    I use second method Timo Hahn mentioned and instade of form I use ADF read only dynamic table.
    After this code execution of code below in appmpdule impl there are rows in VO but table say No data to display.
    vo.remove();
    vo=this.createViewObjectFromQueryStmt("DinVO", newSql);
    vo.executeQuery();
    obviously i miss something to do, any idea what?

  • Dynamic Table data cannot be Read.

    Hello,
           I have an Adobe Interactive form and I am trying to read the data from the Dynamic Table I have in the Form. The Problem is when I try to read the data using the below code, the data which is entered by user data cannot be read for some reason.
    navigate from <CONTEXT> to <ADR_DATA> via lead selection
      lo_nd_adr_data = wd_context->get_child_node( name = wd_this->wdctx_adr_data ).
    navigate from <ADR_DATA> to <PREV_EMPLOYMENT> via lead selection
      lo_nd_prev_employment = lo_nd_adr_data->get_child_node( name = wd_this->wdctx_prev_employment ).
    get element via lead selection
      lo_el_prev_employment = lo_nd_prev_employment->get_element(  ).
    get all declared attributes
      "lo_el_prev_employment->get_static_attributes_table(
      lo_nd_prev_employment->get_static_attributes_table(
       IMPORTING
         table = form_data-prev_employment ).
    I have:-
    1. Checked the Binding on Adobe Form
    2. Checked the Context for the same.
    3. Checked the Cardinality of the Nodes.
    Please let me know in case i am missing something.
    Regards,
    Shishir.P

    Hello,
         I have tried other method as well but was unsucessful, the procedure is below:-
    1. Get PDF content of online form by reading the context.
    2. Convert this data to XML
          l_fp = cl_fp=>get_reference( ).
          l_pdf = l_fp->create_pdf_object( ).
          l_pdf->set_document( pdfdata = pdf_data ).
          l_pdf->set_task_extractdata( ).
          l_pdf->execute( ).
          l_pdf->get_data( IMPORTING formdata = l_xstring ).
          CLASS cl_ixml DEFINITION LOAD.
          DATA: g_ixml TYPE REF TO if_ixml,
                streamfactory TYPE REF TO if_ixml_stream_factory,
                istream        TYPE REF TO if_ixml_istream,
                document TYPE REF TO if_ixml_document,
                parser TYPE REF TO if_ixml_parser.
          g_ixml = cl_ixml=>create( ).
          streamfactory = g_ixml->create_stream_factory( ).
    wrap the table containing the file into a stream
          istream = streamfactory->create_istream_xstring( l_xstring ).
          document = g_ixml->create_document( ).
          parser = g_ixml->create_parser( stream_factory = streamfactory
                                          istream        = istream
                                          document       = document ).
          parser->parse( ).
    3. Read the data from the XML. (I was able to extract other data on the form but not the one in the table. The data entered in the table row in the interactive form is not getting converted into XML or not being extracted in PDF at all).
          form_data = get_adr_from_xml( document ).
    The Code Wizard is an old one and does not support table operations as the new code wizard. Please let me know in case you have any other method of resolving this issue.
    Please let me know your work around, I am in desparate need for a solution.
    Regards,
    Shishir.P
    Edited by: Shishir Paltanwale on Apr 21, 2010 8:16 PM

  • Create a edit link from a dynamic table data to the correct record

    ok i have made a dynamic table with the correct information from the MySql database to populate it but i want to add an edit button to take me to the correct information i want to edit / delete. what is happening is no matter what record i want to edit it just takes me to the first record in the database?
    the link i am using is detail.php?userid=<?php echo $row_Recordset1['userid']; ?>
    where the detail.php is where the data can be edited
    thanks in advance for any help
    Jon

    There are 2 things you need to troubleshoot.
    First is the page where you have this link.  In the browser are you being taken to the right page?  Does the address bar show the proper id?  If so, then the problem most likely does not exist on that page.  Then if that is the case how are you pulling the data on the next page to get the right record?  Can you show us the query being used?  It is very hard to troubleshoot without seeing any code.

  • How to decrease the dynamic table data loading time

    hi
    i have problem with dynamic table.
    when i execute the the table with passing a query , getting lot of time for loading the table data.( it takes 30sec for every 100 rows.)
    pls help me how to overcome this problem.
    thanks advance.

    Yes, This is oracle application...
    We can move into other tablespace as well. But concern is how to improve the alter table move command performance.
    Is there any specific parameter apart from the nologging and parallel server..
    If it is taking 8 hours , can some have experience that nologging will save how much time. or is there any risk in doing in production.
    Regards

  • Dynamic table data isn't transfered to the context, with webdynpro for java

    Hi,
    I'm using LifeCycle designer 7.1 and Adobe reader 7.0.5.
    I'm trying to make a dynamic table in a PDF form, that will be related to a table in the context.
    I've designed the context like it says here: Dynamic Table -  same data repeating in all rows
    I made a dynamic table and related the cells on the row to the context, by dragging the variables from the DataView into them.
    The table is related to TableList, the row to TableWrapper[], and the cells are related like this: TableData[].ItemName
    And there's a button which adds a row to the table.
    And for some reason, that's not working; When hitting the Submit to SAP button, it doesn't appear as though the data was transferred to the WebDynpro context.
    Can anyone help me with it please..?
    By the way - I tried using the SAP standard subform controls, the 'Insert Remove Move' control.
    When trying it through the PDF preview, it doesn't work - whatever I click displays an error message, and when it runs from the browser - It automatically searches for an update for Adove Reader (I use 7.0.5).
    Is it supposed to work only with version 8 of the Adobe Reader?

    Well, I reinstalled ACF, and now the Submit button works, and the Insert Remove Move buttons work as well.
    But the table context still doesn't work.
    I had put some values in the context, in DoInit, and they appeared in the table in the form, but when I changed them in the form it didn't affect the context at all.
    There's a simple attribute value related to a text field, which IS affected when changed in the form, and the Submit button is clicked. Only the table doesn't work.
    How can I make it work?
    Thanks,
    Udi Dekel

  • Problem during the setting the query data source name in forms 6i

    We are now doing assignments in forms 6i actually there is a problem during setting the query data source name in run time.
    The problem is
    declare
    v_query varchar2(200),
    begin
    v_query :='(select empno,ename,deptno from emp where hiredate =' || control .value1 ||')';
    go_block('emp');
    set_block_property('emp',query_data_source_name,v_query);
    end;
    that bolded area is the problem that ia varchar value the single qoutes embedded with that value.how can i embedded single qoutes in that concatenation.
    That is now query will run like select empno,ename,deptno from emp where hiredate =control.value
    But we need like select empno,ename,deptno from emp where hiredate ='control.value'
    Message was edited by:
    Punithavel

    Thanks for your response
    We fixed the error
    and the answer is
    declare
    v_query varchar2(200),
    begin
    v_query :='(select empno,ename,deptno from emp where hiredate = ' ' ' || control .value1 ||' ' ' ) ' ;
    go_block('emp');
    set_block_property('emp',query_data_source_name,v_query);
    end;

  • Retreival of Dynamic Table Datas from Adobe to WebDynpro- ABAP

    Dear Friends,
    I have Developed an application in Webdynpro-ABAP, where i have integrated Adobe form in the webdynpro.
    In the adobe form, dynamic table is there where we can add and delete the rows at runtime.
    I am trying to retreive the table datas at runtime from the adobe.
    I can able to retreive only the first record from the table, even if the table contain more than one rows.
    As per the below code i have retreived the count, where it is showing the count as 1.
    using the method get_static_attributes_table i am trying to fetch all the records, but i can able to retreive only the first record.
    lo_nd_zsm_fm_transport_tra = wd_context->get_child_node( name = wd_this->wdctx_zsm_fm_transport_tra ).
      lo_nd_tr_details_i = lo_nd_zsm_fm_transport_tra->get_child_node( name = wd_this->wdctx_tr_details_i ).
    count = lo_nd_tr_details_i->GET_ELEMENT_COUNT( ).
    elems_bank_table = lo_nd_tr_details_i->get_elements( ).
    lo_nd_tr_details_i->get_static_attributes_table(
      importing
        table = ls_tr_details_i ).
    Even Cardinality i have maintained as 1.N for the node.
    Kindly provide me the solution.
    Thanks and Regards,
    Sathish,,

    Hi, I have solution for read data from dynamic table and add these added row to WD4A context (and then save them to DB) (in ONACTIONPROCESS_SUBMIT event):
    DATA: l_fp TYPE REF TO if_fp.
    l_fp = cl_fp=>get_reference( ).
    DATA: l_pdfobj TYPE REF TO if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    l_pdfobj->set_document( pdfdata = lv_pdfsource ).
    l_pdfobj->set_extractdata( ).
    l_pdfobj->execute( ).
    DATA: pdf_form_data TYPE xstring.
    l_pdfobj->get_data( IMPORTING formdata = pdf_form_data ).
    DATA: converter TYPE REF TO cl_abap_conv_in_ce, formxml TYPE string.
    Converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    Converter->read( IMPORTING data = formxml ).
    TYPE-POOLS: ixml.
    DATA: l_ixml TYPE REF TO if_ixml.
    l_ixml = cl_ixml=>create( ).
    DATA: streamfactory TYPE REF TO if_ixml_stream_factory,
    istream TYPE REF TO if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    DATA: document TYPE REF TO if_ixml_document.
    Document = l_ixml->create_document( ).
    DATA: parser TYPE REF TO if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
                                               istream = istream
                                               document = document ).
    Parser->parse( ).
    the code above allows you to read xml data from pdf file, then you need only to read xml and adding rows to your context:
    data : item type string.  DATA: nodechild TYPE REF TO if_ixml_node,
            Childschild TYPE REF TO if_ixml_node.
        data: num_of_children type i,
              x type i,
              y type i,
              num_of_attribute.
    node = document->find_from_name('ZAM_PROTSTROJF').
    num_of_children = node->num_children( ).
    nodechild = node->get_first_child( ).
    data: wa_strojdetail type ZAM_PROTSTROJF,
          wa_strojdetail_tab TYPE TABLE OF ZAM_PROTSTROJF.
    wa_strojdetail-docnum = ls_zam_protstroj-docnum.
    wa_strojdetail-bukrs = 'VVS'.
    wa_strojdetail-mandt = sy-mandt.
    y = 1.
    do Num_of_children times.
           num_of_attribute = nodechild->num_children( ).  " Childschild->num_children( )." Getting the number of attributes
           Childschild = nodechild->get_first_child( ).
           wa_strojdetail-itemnum  = y.
           x = 1.
           do num_of_attribute times.
              item = Childschild->GET_value( ).
              CASE x.
                WHEN 4.
                  wa_strojdetail-anln1 = item.
                WHEN 5.
                  wa_strojdetail-anln2 = item.
                WHEN 6.
                  wa_strojdetail-bubtr = item.
                WHEN 7.
                  wa_strojdetail-belnr = item.
              ENDCASE.
              Childschild = Childschild->get_next( ).
              x = x + 1.
          enddo.
          y = y + 1.
          APPEND wa_strojdetail to wa_strojdetail_tab.
          nodechild = nodechild->get_next( ).
    enddo.
    This is complete solution for adding rows in interactive forms and working with them in WD4A!
    Regards Jiri
    Edited by: Jiri Neuzil on Jun 10, 2009 8:13 AM
    Sorry for formatting, but I don't know, how to format text correctly on this site in plain text I have all text correctly formatted, but in preview....

  • Create graph based on dynamic table data

    Hi experts ;
    i have JDeve Version 11.1.2.2.0 , i'm create dynamic table based on dynamic SQL query this query return by function in database by based on passing parameter .
    My question :-
    1- How create graph based on dynamic table and contral it at run time ?
    Thanks & Best Regards

    Hi Mostafa,
    You can retrieve the data from your sql query in a backing bean and pass it on to Graph using the setTabularData method.
    Here is the javadoc for the setTabulardata method:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/dataView/CommonDataview.html#setTabularData%28java.util.List%29
    Hope this helps
    Katia

Maybe you are looking for

  • Iphone 6 plus led light not working in 8.3

    I updated to 8.3 a few days ago and have just noticed that my led light does not work. I backed up the phone, reset it to factory settings and it's still not working. Ay ideas on what I can do next?

  • Re: [iPlanet-JATO] Re: CSpMultiSQL after migration

    Alex, I just switched over to Netscape Messenger from OutLook and I didn't realize that emails were displayed in threaded hierarchies and therefore did not see that you had already had responses to your post. Sorry for the confusion in my previous re

  • [SOLVED] Ndiswrapper, NetworkManager 0.7 and 64-bit Arch Linux

    Hi there! I am having problems configuring my wireless card. I know I have to use Ndiswrapper, and this is what I have tried to do; however, it didn't go quite well. This is rather odd because it worked perfectly in the 32-bit version of Arch Linux,

  • Could not find the fields in Flat file, But able to see the fields in receiver Communcication channel

    Hi All, My scenario is Proxy to file, After testing my scenario the flatfile is getting generated without any errors. I can able to see all the fields in receiver communication channel payload. But some fields are missing in flatfile which is generat

  • Airplay/home sharing question

    Is it possible to bounce movies contained in my desktop itunes library back and forth from ipad and apple tv? Say, for instance, I'm on the couch watching a movie and would like to start dinner in the kitchen. Can i take the movie with me on the ipad