Creating simple WWI report

Hello All,
Can someone kindly write down very basic  steps by which I can create a simple WWI report by extracting some field values from Property tree of specification.
Thanks in advance,
Sachin

Hello Sachin
to my knowlegde WWI is integrated in most of the EH&S submodules. The SAP standard can be used to generate a high number of report symbols which are connected to the different submodules and the SAP EH&S set up can be used to generate if necessary very easily customer specific symbols.
Further on WWI as a "printing" technique etc. has grown a lot in the recent years. Here I can give only a small summary:
With the recent releases of SAP EH&S you can use e.g. a "report template" in a "report template" which is a good starting point in my opinion to handle better the WWI topic. Further on SAP has increased the possibilites in using so called "place holder phrases". One is linked to a "old" relase (related majnly to DG management topics) and a new one which has been prepared recently.
It is a good idea to do a small inquiry in SAP marketplace to find the corrresponding OSS.
As Recipe Management uses in the background to my knowlegde the EH&S indicates that you can use WWI to derive data using WWI from Recipe Management too (Sorry: I have too no experience here).
If you perform an inquiry in SDN you will find a high number of entries regarding "Recipe Management" and in some of them I have seen that similar questions have been asked and answered (how to derive data using WWI). Now coming back to what Niraj said:
If you take a look in cg54 and cg50 you will see a number of "report applications".
Therefore the WWI technique to my knowlegde can now be used in really any EH&S submodule you can think about.
WWI is normally used to generate MSDS, SOP, Lables etc. but can be used ot my knowlege in EH&S IH and OH as well to "print" data in a report.
MSDS and Lables are "special"  from my point of view because of SAP history. The reason is simple. The generation of especially a MSDS or a lable will drive most of your EH&S acitvities in most companyies. Further on SOPs (Standad operating measuress) are used often and in the past in europe tremcards. The generation of a MSDS or a SOP was one of the first major topics which SAP solved with EH&S.  Later on (i believe with SAp enterprise Extenstion 2.0) GLM has been introduced
What is really important is to understand the link between the "substance generation variant" the "report template" and the "report application".
Personally I would suggest that you try to "print" e.g. an identifier as the first step to get expericene in using WWI. From the "technical point of view" such a report layout and generation variant etc. can be created within not more than 2 hours if you have a basic idea of WWI.
With best regards
C.B.
Shipped with EH&S there is are some "default WWI" layout (which can be found in the corresponding folder in the WWI on your client).
Edited by: Christoph Bergemann on Jun 3, 2010 9:38 AM
Edited by: Christoph Bergemann on Jun 3, 2010 9:40 AM
Edited by: Christoph Bergemann on Jun 3, 2010 9:40 AM
Edited by: Christoph Bergemann on Jun 3, 2010 9:41 AM

Similar Messages

  • Creating a simple ALV report based on join condition

    Dear All
    SAP Version: ECC6 EHP7
    I wan to create simple ALV report based on join condition. can anyone provide me the complete steps to create this report.
    Regards,

    Hi Syed,
    Please check the link,
    ALV report - Joining 2 tables
    Regards,
    Prakash.

  • Create Simple Printable SQL Reports in APEX 3.2 Without a Print Server

    Oracle Apex 3.2
    Oracle 11g
    OHS
    I thought I'd post an answer on how to get a printable SQL report in Oracle Apex without having to configure a print server. I'm sure that similar things have been posted in various other places, but I found the documentation for using custom row templates (to create a printable report) to be incomplete at best. For my needs, I was not looking for an awe inspiring report printout, but rather simple directory information printouts. For example, if you wanted a printable report to look like this:
    =================================
    CURRENT ACTIVE EMPLOYEES REPORT
    =================================
    First Name: Bob                  Employee ID: 0000000000
    Last Name: Swarts              Company Credit Card Number: 0000-0000-0000-0000
    Middle Initial: F                  Social Security Number: 000-00-0000
    First Name: Sue                  Employee ID: 1111111111
    Last Name: Johnson           Company Credit Card Number: 1111-1111-1111-1111
    Middle Initial: G                 Social Security Number: 111-11-1111
    etc.....In MS Access, doing this is very easy. From what I understand, this is also very easy to do this using PDF software with a print server. However, if you are like me, you don't want to waste time and money by obtaining and configuring a print server (even if it is free). However, never fear because you can create simple reports like this with relatively minimalistic effort; and you can do so without having to configure a print server.
    1.) Create a new page
    2.) Create a new sql query report region on the page
    3.) Make your query just as you would normally.
    For this example the query would be:
    select first_name, employee_id, last_name, company_credit_card_number, middle_initial, social_security_number from employee_table4.) Go to "Shared Components"
    5.) Under "User Interface" click on "Templates"
    6.) Click on the "Create" button
    7.) Select "Report"
    8.) Select "From Scratch"
    9.) For the "Template Class," choose one of the "custom" classes. For the "Template Type," choose "Named Column"
    10.) Click the "Create" button
    11.) Now that you created a custom row template, go back to "Shared Components" and then to "Templates"
    12.) Find your custom template and click on it
    CUSTOM TEMPLATE HOW TO
    1.) In the "Row Template 1" textbox, you are going to create some custom css that will display the data on the page. The css to make the report look like the report above would be:
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p style = "page-break-after: always">----------------------------------------------------------------</p>
    </div>
    {code}
    As you probably figured out, the numbers between the two pound signs ("#") are substitution strings for the variables in your select query in the SQL report.  As you have also probably noticed, the "page-break-after: always" line will always make it so that only one report is shown on a page.  To fix this, we will need to use logic and row template 2.
    2.)  For the "Row Template 1 Condition," select "Use Based on PL/SQL Expression" from the select list.
    3.)  In the textbox for the row template 1 expression enter in the following:  {code}substr('#rownum#',-1) = 0 or substr('#rownum#',-1) = 5{code}
    ***** This condition will make sure that this template is applied when the last digit in the row number is either a "0" or a "5."  So, only 5 reports will be displayed per page.
    4.)  Now go down to "Row Template 2" and enter in the following in the textbox:
    {code}
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p>----------------------------------------------------------------</p>
    </div>look familiar? that is because it exactly the same code as above, except without the page-break-after piece.
    5.) For the "Row Template 2 Condition," select "Use Based on PL/SQL Expression" from the select list.
    6.) In the textbox for the row template 2 expression enter in the following: substr('#rownum#',-1) != 0 or substr('#rownum#',-1) != 5***** This condition will make sure that this template is applied when the last digit in the row number IS NOT a "0" or a "5."
    7.) Scroll down to column headings and enter this in the textbox for the "Column Heading Template": OMIT
    8.) Click the "Apply Changes" button
    9.) Now go back to your application and the page you want to apply the custom report to
    10.) On the report, click on the report tab
    11.) Scroll down to "Layout and Pagination"
    12.) Click on the "Report Template" select list
    13.) Select your custom template
    14.) Click the "Apply Changes" button and run the page
    Try printing the report, if it does not print correctly, try it in Opera, Safari, Internet Explorer, Firefox, and Google Chrome. Please note that it is my understanding that only Firefox does not understand the css "page-break-after: always"
    If needed, add some css to the page to hide tabs and other items when you print.
    ~Andrew Schulltz

    DOH. Too much copy/paste.
    In my code, I was setting an application variable to contain the email address I was retrieving from AD. Once commented out, it worked fine.
              IF l_attr_name = 'mail' THEN
                 APEX_UTIL.SET_SESSION_STATE('F111_USER_EMAIL',l_vals(i));
              END IF;

  • Creating a tabular report comparing two measures based on accounts

    Hi,
    I'm trying to create a simple GL report but i'm getting stuck. Using BIP with OBIEE 10.1.3.4.
    What i have is some GL data: debit amount (De), credit amount (Cr) and account number (acc). I would like to create a simple tabular report, comparing debit and credit transactions based on accounts, like this:
    ___________LabelA____________LabelB______________ LabelC_______________ Difference(LabelA - LabelB - LabelC)
    Label1___Cr if acc=760___De if acc=400 and 401___De if acc like 30_____________________Calculated value (A-B-C)
    Label2___Cr if acc=750___De if acc=410,411,412___De if acc between 31 and 35__________Calculated value (A-B-C)
    Total (SUM) for A, B, C and Diff
    Sample XML file:
    <ROWSET>
    <ROW>
    <Acc>760</Acc>
    <Debit>7.8248741841E8</Debit>
    <Credit>8.9404379158E8</Credit>
    </ROW>
    <ROW>
    <Acc>750</Acc>
    <Debit>133217.03</Debit>
    <Credit>133217.03</Credit>
    </ROW>
    <ROW>
    <Acc>400</Acc>
    <Debit>4.096061012E7</Debit>
    <Credit>4.094870039E7</Credit>
    </ROW>
    <ROW>
    <Acc>401</Acc>
    <Debit>9018837.64</Debit>
    <Credit>9018837.64</Credit>
    </ROW>
    <ROW>
    <Acc>410</Acc>
    <Debit>1.472907204E7</Debit>
    <Credit>2.945814408E7</Credit>
    </ROW>
    <ROW>
    <Acc>411</Acc>
    <Debit>1.022005997E7</Debit>
    <Credit>1.022005997E7</Credit>
    </ROW>
    <ROW>
    <Acc>412</Acc>
    <Debit>4.908581602E7</Debit>
    <Credit>6.1676647725E8</Credit>
    </ROW>
    <ROW>
    <Acc>30</Acc>
    <Debit>241861.14</Debit>
    <Credit>240128.14</Credit>
    </ROW>
    <ROW>
    <Acc>301</Acc>
    <Debit>6344057.99</Debit>
    <Credit>6344057.99</Credit>
    </ROW>
    <ROW>
    <Acc>310</Acc>
    <Debit>1.4462687928E8</Debit>
    <Credit>1.4462687928E8</Credit>
    </ROW>
    <ROW>
    <Acc>312</Acc>
    <Debit>2.512200946E7</Debit>
    <Credit>2.511277993E7</Credit>
    </ROW>
    <ROW>
    <Acc>350</Acc>
    <Debit>1.4682048826E8</Debit>
    <Credit>1.4682048826E8</Credit>
    </ROW>
    </ROWSET>
    Is that possible? I would appreciate any tips.
    Thank you,
    Jandi

    Hi Luis,
    According to your description, you create a Reporting Services report using Analysis Service Tabular Model as the datasource, now what you want is sum the months value on year level, right?
    In your scenario, you can add the Month field to column group, add a parent group using Year Field and then add a Total on Month group. In this case, Reporting Services will sum the months value on Year level. I have tested it on my local environment, the
    screenshot below is for you reference.
    Reference:Lesson 6: Adding Grouping and Totals (Reporting Services)
    If this is not what you want, please describe your dataset structure, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Creating a new report in 11.5.9

    I am trying to create a new report for Oracle Sales Online. I don't want to just do a simple JSP, I want to use some of the existing functionality that the existing pages are using.
    Take the Organization Summary page for example. Its the page called asfOrgznSumryMain.jsp and its many included JSPs and java classes in the oracle.apps.asf.customer.organization package that it uses.
    I have created java classes that mimick the classes used by that page, such as my own EO (Entity Object), VO (View Object), and TD (table rows) objects. I've made them select from tables that I want to show as best I can.
    But all the calls in the JSPs using function values that resolve to JSP page filename values are just confusing. I am trying to create an advanced search page for my new summary where the user can save searches and pick columns like they can on other pages. How can this be done? Is there documentation anywhere? How do I create the functions needed to be able to have an advanced search page, save user queries, create a default query for the page for the first time a user views it, etc etc?
    Someone please help. I need to do this in 11.5.9...we will be moving to .10 someday, but until then, I need to create this new report that uses Oracle's application framework as much as possible.

    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region
    You would do all these steps for your advanced search page as well, so that in your main jsp, you can call asfPage.setAdvancedSearchPage() with the attribute name of your advanced page.
    What I Still do not know is:
    (1) My main page keeps coming up saying that there is no default query defined for it. How do you create a default query for a report?
    (2) How to get the personalization to work.
    Can anyone help?
    Thanks!

  • Creating a Crystal Report for B1 without parameters

    Hi Experts,
    My question is a simple one.
    I create a crystal report for SAP B1 8.8 Patch 10 using CR 2008 SP02.
    I have no parameters since its showing sales figures of the past month.
    But when I run the report in SAP, a selection criteria screen pops up without any fields.
    Just OK and Cancel.
    I dont want my users to have to click OK. I need the report to pop-up once the user click on the SAP Menu for the report.
    My report file has no parameters.
    Thanks for the help
    Denis

    Deinis,
    In your report, do you mean:
    - you have parameter created, but not used in the report? OR
    - there is no parameter field in the report at all?
    The reason I am asking is:
    If you have parameter fields, But, you did not use it in the report, I think when you run the report within SAP B1, it will still prompts for user to enter something.
    Also, if you are using subreport, make sure there is no parameter in the subreport, Although you do not use them.  Just delete the parameter field from the list if you are not using them.
    Edited by: Shwu Hua Gan on Jun 20, 2010 2:59 AM

  • Converting a simple Oracle Report to XML Publisher report template

    Hello,
    I have a simple Oracle Report 9i which displays data from four tables. It uses three different queries to get the data. How can I simply generate a template file(say RTF) or atleast an XML source from that report? I tried joining the queries (like outer join) but wasn't able to get the format which report 9i was generating. Could anyone please help me out with a clear approach?

    Hi,
    Are you referring to how to get xml out put from seeded report i mean from EBS that already in oracle reports,
    then you need to query from respective application by creating new concurrent program and then change the out put to XML, you will get xml file then save it to your system.
    By using this input xml fle you can create RTF template whatever you want the foramat, after that you upload back this RTF file to EBS using XML PUBLISHER ADMINISTRATOR responsibility.
    hope this might give you idea,
    let us know if it is not clear or you are asking different question,
    srinuk

  • How to create a new report using MS Word add-ins?

    Hi, I am a newbie. I am using BI Publisher 10.1.3.4 and l want to create a simple report using BI Publisher from MS Word add-ins. I don't have a default template. What are the steps to create a new report from scratch. I want to create a simple report for one table contains 4 columns & 2 rows data, and then save the report under my folder.
    I am in an urgent need to learn this, any suggestions are highly appreciated.
    Thanks all.

    Thx Everyone, I figured that out. It's simple and clear to me.

  • How to create a matrix report on Apex 4.1

    Hi all.
    I need to create a report similar to this one:
    Jan Feb Mar .....
    Product Category
    Category One 999 999 999
    Category Two 999 999 999
    On a reporting tool like Oracle Reports, this is call a matrix report which can be easily created: just one simple query , select a matrix report type, compute summary values for row /column and grand total, and that is.
    How would one implement this on Apex 4.1???
    Have a couple of ideas:
    - Populate temporary table with columns corresponding to month.
    - Create a procedure that return a collection and use that as a source for report.
    - Etc.
    What other options do i have ...?
    Thanks in advance ...!

    Hi all,
    I did create a matrix report using the pivot function and some interesting settings in APEX. So far it is only does display data. I did not find a way yet(?) to alter the data in the same matrix.
    The data is based on a simple set of tables about planning. The end result does look something like the matrix below. Note: the dashes are just there to make the matrix look like a matrix on this forum.
    Resource 13-08 20-08 27-08 03-09 10-09 17-09 24-09
    Angelo-----25-----22-----12-----10------------------------
    John---------8-----22-----36-----22------------------------
    Marit-----------------5-----40-----36-----24-----12-----10
    The resources (Angelo, John and Marit) are being registered in the following table:
    CREATE TABLE EVP_RESOURCES
    RSS_ID NUMBER(10,0) NOT NULL,
    NAME VARCHAR2(25 BYTE) NOT NULL
    The date periods (13-08 till 24-09) are being registered in the next table:
    CREATE TABLE EVP_DATA_POINTS
    DPT_ID NUMBER(10,0) NOT NULL,
    DATA_POINT_DATE DATE NOT NULL,
    V_DATA_POINT_DATE_FORMATED VARCHAR2(75 BYTE) GENERATED ALWAYS AS (TO_CHAR("DATA_POINT_DATE",'dd-mm')) VIRTUAL VISIBLE
    The virtual column (v_data_point_date_formated) is not needed. You can use this virtual column or format the column in multiple places.
    The available units are being registered in the intersection table below:
    CREATE TABLE EVP_RESOURCE_PLANNING
    RPG_ID NUMBER(10,0) NOT NULL,
    DPT_ID NUMBER(10,0) NOT NULL,
    RSS_ID NUMBER(10,0) NOT NULL,
    UNITS NUMBER(10,0)
    The data is being displayed in APEX in a report region of type "SQL Query (PL/SQL function body returning SQL query)". And the following option has to be switched on "Use Generic Column Names (parse query at runtime only)".
    This does give a restriction on the number of columns which can be used. You can however change the number of columns in the field "Maximum number of generic report columns:" to a high number. So in most cases this is no issue at all.
    In the Region Source I did put the following code:
    begin
    return 'select *
    from ( select rss.name "Resource"
    , v_data_point_date_formated
    , rpg.units
    from evp_resources rss
    , evp_data_points dpt
    , evp_resource_planning rpg
    where rpg.dpt_id = dpt.dpt_id
    and rpg.rss_id = rss.rss_id
    pivot (sum(units) for v_data_point_date_formated in (' ||
    evp_pkg_dpm.f_dynamic_pivot_in ||
    order by 1';
    end;
    The function evp_pkg_dpm.f_dynamic_pivot_in does return a string which is based on the number of rows in the table evp_data_points. In my case this string is: '13-08' as "13-08",'20-08' as "20-08",'27-08' as "27-08",'03-09' as "03-09",'10-09' as "10-09",'17-09' as "17-09",'24-09' as "24-09". If you ommit the 'as "..."' you do get quotes in your headings.
    Enjoy and regards,
    Jurgen
    PS: let me know if something is missing or not clear!
    Edited by: user553427 on Aug 17, 2012 5:46 AM (Query has been made more simple and I build up the header differently)

  • Is it possible to create a generic report that accepts the SQL as a param

    Is it possible to create a generic report that accepts the FULL sql statement as a paramater and returns variable results based on this?
    We have a requirement to have a generic export routine to spit out csv's from clicking on a web page hyperlink, which would need to accept a "new" sql statement for every run, each containing different columsn etc that would be needed in the output.
    I was hoping could have a generic Oracle report, exporting delimited data format (and as such not using a layout) and somehow pass in the "new" sql statement as a parameter at run time - each sql statement would be different with different columns etc.
    Is this possible with oracle reports ?
    thanks

    If you need a simple dump of data you could try writing a report with a simple query such as
    select 'Report title or column headers'
    from dual
    &data_query
    then your &data_query parameter could be
    union select col1||','||col2 from data_table
    If you are outputing a comma separated data dump the you can concatenate together your data into a single text field.
    This would allow you to have a simple heading followed by the actual data. I guess you could extend this so that the 'Report title or column headers' from the first query was also a parameter to output your row headings i.e.
    select :column_headings_text
    from dual
    &data_query
    Give it a go and good luck

  • How to create a JSP Report

    Hello, I am working with JDeveloper 10G. Now, I am trying to create a JSP Report (the typical Hello World) but I read that JDeveloper is integrated to Report Builder 10G.
    I downloaded JDeveloper 10g from oracle site and the only installation I made was unzipping a file.
    Should I install the entire developer suite in order to have a version integrated to Reports 10g?
    Or
    Can I create JSP pages and deploy them in the application server 10G as a report?
    I am new working with oracle reports, any information please.
    Thanks

    Oracle Reports is a tool that is aimed at building reports, it easily let you define multiple queries with relationships ; and then you can arrange the layour anyway you want.
    It provides outputs in HTML as well as PDF, XML and other formats.
    It also includes a reporting server.
    For more on Reports see:
    http://www.oracle.com/technology/products/reports/htdocs/getstart/gettingstarted/index.html
    If all you want to do is build simple JSPs that are based on simple queries you can use JDeveloper using ADF BC for defininf views on queries and then use the JSPs to show the information.
    See for example this:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/reviewer/viewlets/reviewer_jsp_viewlet_swf.html

  • Creating a performance report based upon a custom group

    I am trying to create a simple performance report based on a SCOM group that I created, however when I run the report the relevant data cannot be found.  When I look at the group membership I see a list of Windows servers.  I then go into a generic
    performance report, add a single chart, and line series, and select "Add group" and then search and select the SCOM group I created.  I then add % processor time for 2008 systems as my rule.  However when the report is run, no relevant
    data is found. Performance reports run fine when  selecting "Add group" and selecting the members of the group themselves.
    My suspicion is that it is trying to run the performance report based on the group object and not the members of the group. Is there anyway that I can accomplish this?  Perhaps via XML?
    Keith

    Hi,
    For your reference:
    Creating Useful Custom Reports in OpsMgr: How to create a custom performance counter report for a group of servers
    http://www.systemcentercentral.com/creating-useful-custom-reports-in-opsmgr-how-to-create-a-custom-performance-counter-report-for-a-group-of-servers/
    SCOM reports on performance counters for large groups of servers
    http://www.bictt.com/blogs/bictt.php/2010/11/28/scom-reports-on-performance-counters-for-large-groups-of-servers
    Regards,
    Yan Li
    Regards, Yan Li

  • Is there any documentation on creating basic paper reports?

    Hi - I have just started to try to create a report. We have 9i reports but don't need any of the web stuff. I only need to create reports off of our database, run them on my workstation, and print out hardcopies to give to 1 or 2 managers.
    Is there any documentation that would just teach me how to create simple reports without all the web functionality? I was trying to follow along in the Reports Builder 6i, but it seems a lot has changed since 6i and I am having trouble just trying to find the corresponding buttons in 9i.
    I need to learn how to create reports, triggers, and especially I want to learn how to rearrange the report output after it has been created. It seems very confusing to me how to do this on Paper Layout or Paper Design screen.
    Thanks for any help. I would even go buy a book if there were a good one.

    Links to all reports docs
    http://otn.oracle.com/documentation/reports_dev.html
    Oracle9i Reports Building Reports ( very extensive )
    (PDF version ) http://download.oracle.com/otn/other/general/B10310_01.pdf [ 8 MB ]
    (HTML version ) http://otn.oracle.com/products/reports/htdocs/getstart/docs/B10310_01/title.htm
    Thanks
    The Oracle Reports Team

  • Steps to create interactive alv report

    plz tell me the steps needed to create interactive alv report. explaining the importance of events. please tell me with suitable example

    Hello Yogesh,
    I did not see as you mentioned Interactive ALV , sorry for wrong reply.
    Please use proper parameter to function module ,here you need to use user command,this user command will call form routine(Dynamic) ,here you can do whatever ,below example one interactive ,if user clicks on material it will goto MM02 transaction.
    See the simple example one in ALV :
    REPORT Z_GET_REFRESH no standard page heading.
    type-pools : slis.
    tables : makt,
             mara.
    data : i_fieldcat type slis_t_fieldcat_alv.
    data : begin of i_makt occurs 0,
           matnr like makt-matnr,
           maktx like makt-maktx,
           end of i_makt.
    data : v_repid like sy-repid,
           g_user_command type slis_formname value 'USER_COMMAND',
           g_status_set   type slis_formname value 'SET_PF_STATUS'.
    DATA:LC_GLAY TYPE LVC_S_GLAY.
    select-options s_matnr for mara-matnr .
    start-of-selection.
      select matnr maktx from makt into table i_makt
                                  where matnr in s_matnr.
    end-of-selection.
    Fill the fieldcatlog
      perform fill_field.
    Call the FM
      perform call_fm.
    *&      Form  fill_field
          text
    -->  p1        text
    <--  p2        text
    FORM fill_field.
      data wa_fieldcat type slis_fieldcat_alv.
      clear : wa_fieldcat.
      wa_fieldcat-tabname = 'I_MAKT'.
      wa_fieldcat-fieldname = 'MATNR'.
      wa_fieldcat-outputlen = '18'.
      wa_fieldcat-seltext_l = 'Material #'.
      wa_fieldcat-col_pos = '1'.
      append wa_fieldcat to i_fieldcat.
      clear : wa_fieldcat.
      wa_fieldcat-tabname = 'I_MAKT'.
      wa_fieldcat-fieldname = 'MAKTX'.
      wa_fieldcat-outputlen = '40'.
      wa_fieldcat-seltext_l = 'Material Desc'.
      wa_fieldcat-col_pos = '2'.
      append wa_fieldcat to i_fieldcat.
    ENDFORM.                    " fill_field
    *&      Form  call_fm
          text
    -->  p1        text
    <--  p2        text
    FORM call_fm.
      v_repid = sy-repid.
      LC_GLAY-EDT_CLL_CB = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
          I_CALLBACK_PF_STATUS_SET          = g_status_set
          I_CALLBACK_USER_COMMAND           = g_user_command
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
        I_GRID_SETTINGS                   = LC_GLAY
      IS_LAYOUT                         =
          IT_FIELDCAT                       = i_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_makt
       EXCEPTIONS
         PROGRAM_ERROR                     = 1
         OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " call_fm
          FORM USER_COMMAND                                             *
    FORM user_command USING r_ucomm LIKE sy-ucomm
                rs_selfield TYPE slis_selfield.                 "#EC CALLED
      data i_RSPARAMS like RSPARAMS occurs 0.
      CASE R_UCOMM.
        WHEN '&IC1'.
          read table i_makt index rs_selfield-tabindex.
          SET PARAMETER ID 'MAT' FIELD i_makt-matnr.
          if not i_makt-matnr is initial.
            call transaction 'MM02' and skip first screen.
          endif.
        when 'REFRESH'.
          CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
            EXPORTING
              CURR_REPORT           = v_repid
    IMPORTING
      SP                    =
            TABLES
             SELECTION_TABLE       = i_RSPARAMS
           EXCEPTIONS
             NOT_FOUND             = 1
             NO_REPORT             = 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.
          ENDIF.
          submit z_get_refresh with selection-table i_RSPARAMS.
          rs_selfield-refresh = 'X'.
      ENDCASE.
      MOVE 'REFRESH' TO r_ucomm.
    ENDFORM.
          FORM set_pf_status                                            *
    FORM SET_PF_STATUS USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZSTANDARD' EXCLUDING rt_extab.
      SET TITLEBAR  sy-tcode.
    ENDFORM.
    Thanks
    Seshu

  • How to created a new report in content tracker report?

    Hi
    I need to created a new report that show who modified the document's metadata and when, but I have never used Content Tracker and I do not know how.
    Appreciate the help you can give me.
    Thanks.

    Hello,
    The content tracker and ContentTrackerReports components can be installed in UCM server by simple clickable options. Below are the steps to install the Content tacker and Content report.
    Steps:
    1. Open the UCM instance with admin
    2. Click Admin Server under Administration link.
    3. Click Content Tracker and ContentTrackerReports checkbox ( under Document Management)
    4. Now Click the update button at the bottom.
    5. Restart the UCM server instance to see the changes.
    Now you will see an option for Content Tracker Reporting. It has some default reports.
    Let me know how it goes. If you need.... will explain how you can create your custom reports.
    If its helpful then please mark correct or helpful answer.
    Thanks,
    MAK

Maybe you are looking for