How can we get Dynamic columns and data with RTF Templates in BI Publisher

How can we get Dynamic columns and data with RTf Templates.
My requirement is :
create table xxinv_item_pei_taginfo(item_id number,
Organization_id number,
item varchar2(4000),
record_type varchar2(4000),
record_value CLOB,
State varchar2(4000));
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
select * from xxinv_item_pei_taginfo;
Item id Org Id Item Record_type Record_value State
493991     224     1265-D30     USES     fever     TX
493991     224     1265-D30     HOW TO USE     one tablet daily     TX
493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
493991     224     1265-D30     DRUG INTERACTION     ABC     TX
493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
493991     224     1265-D30     NOTES     Take after meal     TX
Above is my data
I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
its a BI Publisher report.
please suggest

if you have data in db then you can create xml with needed structure
and so you can create bip report
do you have errors or .... ?

Similar Messages

  • How Can I get multi column values from dynamic search help?

    Hi Gurus;
    I'm using dynamic search help in my program.
    I want to get multi column values from search help. But I dont know solution for this issue.
    I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
    How Can I get multi column values from dynamic search help?
    Thanks.

    Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
    I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
    There are like 3 steps.
    You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
    Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined  (just to keep it straight, i will be putting here) data:  It_return type standard table of ddshretval.
    Next step is to call the function module. Make sure you have values in IT_VALTAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
            retfield        = 'FLD2'
            value_org       = 'S'
          tables
            value_tab       = It_VALTAB
            return_tab      = It_return
            dynpfld_mapping = It_dynpfld
          exceptions
            parameter_error = 1
            no_values_found = 2
            others          = 3.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        else.
          perform get_selected_fields tables It_return.
        endif.
    The code within the perform GET_SELECTED_FIELDS  - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
    I need a internal table as well as a work area here. like,
    data: lt_fields type table of dynpread,
            la_fields type dynpread.
      field-symbols: <fs_return> type ddshretval.
    so fill out LT_FIELDS from the IT_RETURN table
    loop at lt_return assigning <fs_return>.
        la_fields-fieldname = <fs_return>-retfield.
        la_fields-fieldvalue = <fs_return>-fieldval.
        append la_fields to lt_fields.
        clear: la_fields.
      endloop.
    Call the FM to update the dynpro
    call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname               = sy-repid
          dynumb               = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
        tables
          dynpfields           = lt_fields
        exceptions
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          others               = 8.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    good luck

  • How can i get acsess to my data if my iphone is shut and can´t open any more??how can i get acsess to the memory card, how can i get acsess to my data if my iphone is shut and can´t open any more??how can i get acsess to the memory card

    how can i get acsess to my data if my iphone is shut and can´t open any more??how can i get acsess to the memory card????please help

    You can't. There is no memory card. It uses flash memory that's soldered to the logic board. If you didn't back it up, your data is gone.

  • How do i get my songs and data from my old mac onto my pc so that i can copy it onto my new ipod touch

    how do i get my songs and data from my old mac onto my pc so that i can copy it onto my new ipod touch

    jrswish wrote:
    When I plugged in my new one it cleared all my song and apps out of my current itunes.
    Are you sure of that?  Check in the Library.  Click on the Apps icon to see all apps.  Similarly click on the Music icon to see the songs.

  • How can i get report between two dates?

    Hi
    how can i get report between two dates?
    for example i want get reports between 20/4/2002 & 27/4/2002.
    my table has date column and i can get first date( exam : .... where date:=a and/or ....i don't know this part)
    thanks alot.
    Regards
    The Oracle Reports Team
    http://otn.oracle.com/

    where exam_date between :from_date and :to_date
    from_date and to_date are user_parameter

  • I recently got a new computer and it wont sync with my ipod. How can i get my music and stuff on my computer

    I recently got a new computer and it wont sync with my ipod. How can i get my music and stuff on my computer?

    iPods and other iDevices are not backup or storage devices.
    Copy the ENTIRE iTunes folder (and all other desired data) from the old computer to the new computer.

  • IOS 8.1 - after update how can I get my lost calendar data back?

    Hi, after the update to iOS 8.1 is my calendar empy. All my appointements are gone and there is no way to safe new appointments in it. I tried to use the backup  of the data, but it did not work. Any clou how can I get my lost calendar data back? And or get the calendar working again???
    Thanks!

    You sign into whatever iCloud or Mail account the calendar was synced to, and enable the Calendar option for those accounts.

  • How can I get max, min & average (hours with minutes) of fast 30 days data

    Table name:
    run_log
    TYPE VARCHAR2(10),
    SUBTYPE VARCHAR2(10),
    PROGRAM VARCHAR2(100),
    STATUS VARCHAR2(20),
    START_TIME      DATE,
    END_TIME      DATE
    How can I get max, min & average (hours with minutes) of fast 30 days data ?

    Hi,
    you have to use analytical functions:
    SELECT start_day,
           round(AVG(daily_avg)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_avg,
           round(MAX(daily_max)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_max,
           round(MIN(daily_min)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_min
      FROM (SELECT trunc(t.start_time) start_day,
                   AVG((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_avg,
                   MAX((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_max,
                   MIN((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_min
              FROM run_log
             GROUP BY trunc(t.start_time)) t
    ORDER BY 1 DESCAnalytical functions are described in the Oracle doc "Data Warehousing Guide".
    Regards,
    Carsten.

  • HT1212 my niece's device is locked fro 23 million minutes!!!! How can i get round without losing data as at 8 she hasnt backed up!

    my niece's device is locked for 23 million minutes!!!! How can i get round without losing data as at 8 she hasnt backed up!

    If you restore you will have to restore to latest Apple's software, that frankly *****. I did it and I completely regret. On iOS 6.1.5 NOTHING works.

  • HT3191 my iphone is not starting and neither getting charged, can i know how can i get my contacts and photograph

    my iphone is not starting and neither getting charged, can i know how can i get my contacts and photograph??

    Birdman01 wrote:
    My iphone has gone into restore mode .... How to i get back into the phone and not lose my datea
    It is all too late...
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the Component and Audio ports on my TV?

    I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the MacBook Pro and connected to the TVs Component and Audio in ports.

    Will not work.  To my knowledge, dual converting like that isn't supported.  The Mac must detect the connected video output device and that sort of info cannot be done across an analog component uni-directional connection.

  • How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?

    How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?  I would like them to open at the size they were previously resized like they used to in previous operating systems.  They currently open at a very small size and the first colum is only a few letters wide necessitating a resize practically every time one wants to use it.  Any help would be appreciated.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • I have multiple email accounts.  One is a google email and another aol.  I have the aol going into my google.  I Now Go Lead Generate! Am using outlook on my pc.  How can I get my outlook to share with my ipad?

    I have multiple email accounts.  One is a google email and another aol.  I have the aol going into my google.  I Now Go Lead Generate! Am using outlook on my pc.  How can I get my outlook to share with my ipad?

    In Mail Preferences/Accounts/each GMail account, set up the SMTP Outgoing Server for each account separately, going into SMTP name/edit/Advanced and specify the Username of each account.  The Outgoing servers must be two different servers, authenticated by the Username and Password of each.
    Otherwise, the GMail SMTP server will change the from address to that of the account where the SMTP server was setup.
    Ernie

  • How can i get the itunes and apps store icon on my ipad desktop?

    How can i get the itunes and apps store icon on my ipad desktop?

    Google are supposed to be working on an iPad maps app.

  • How Can I Get My Ratings and Playlists to Mirror Across Multiple Accounts?

    I'm sharing my music across two accounts on my Mac by placing my iTunes folder in the Shared folder, with an alias to that in each User's Music folder. It works fine, but the User of the other account would like the benefit of all my Playlists, and would especially like to have all My Ratings.
    How can I get My Ratings and Playlists to mirror across multiple accounts? I would've thought simply importing the <iTunes Music Library.xml> file would do it, but since we're both using the same iTunes folder, we must already be using the same XML file, right?

    The answer about where the ratings, etc. are stored is not an easy one, but the best I can figure is that it is a combination of the iTunes Music Library.xml, the iTunes Library file, and the com.apple.iTunes.plist. Apparently, the com.apple.iTunes.plist (in the under User/Library/Preferences) references the other two files. If you close iTunes, take the com.apple.iTunes.plist out of the user's Library/Preferences folder and then reopen iTunes, you will see that all the ratings, play counts, etc. (track information) will have disappeared. If you close iTunes, replace the com.apple.iTunes.plist, then reopen iTunes, the track information will be restored. The playlists, which are not part of the track information, seem to function independently of the com.apple.iTunes.plist, but if you share the whole iTunes folder across accounts, this should include the playlists. When I back up my iTunes library to another folder, I back up a copy of the current com.apple.iTunes.plist from my User/Library/Preference folder. I think that the way this works across multiple accounts is that the com.apple.iTunes.plist reads track information from the other files in the iTunes folder, because if you throw away the com.apple.iTunes.plist from one user account, it affects all the other user accounts sharing the same iTunes folder.

Maybe you are looking for

  • Cube with different reports data

    Hi We have 3 different Reports based on a Multi which has only one Infocube. We have new design policy that any New different report that needs to be created should be based only on this Multi and all data should be loaded only into this only infocub

  • How to delete a specific request out of the InfoProvider

    Hi all, we have a generic datasource to extract our CO-PA data. Unfortunately this datasource can not deliver any delta at the moment. This is why we need to have a full upload. In InfoPackage we select the single period 001, 002, or 003. Now in Marc

  • Windows 8.1 photosmart 6520 printer app won't open

    I have an AsusQ301L running Windows 8.1, with Kaspersky Internet Security 2014 running. Just bought a Photosmart 6520 and installed driver software from HP website.  The printer will print form my applications, but the HP Application software will no

  • Export to Excel not working after upgrade to IE10

    I upgraded to Internet Explorer 10.  In PWA Export to Excel does not export the data.  It starts up Excel but the sheet is blank.  Worked fine with IE9.  How to fix?

  • Connecting to TC Delay

    I have had a 500GB TC for 12 months and use it to so my MacBook can access the internet - as well as the almost full harddrive. Internet is working fine, but when I open Finder and look to access the files on the TC it takes about 3 minutes to connec