Need a help on HTML report

Hi,
am going to generate an HTML report for a table by using below code
SET heading off
SET pagesize 80
SET MARKUP HTML ON SPOOL ON HEAD "<TITLE>Job Comparison Report</title> -
STYLE TYPE=’TEXT/CSS’><!--BODY {background: ffffc6} --></STYLE>"
SET ECHO OFF
SPOOL "C:\Jc\Reports\LoadUnmatchedCustomerHistory.htm"
select * from TB_JOB_REPORT;
SPOOL OFF
SET MARKUP HTML OFF
SET ECHO ON
its working fine.
but in my TB_JOB_REPORT table contains more than hundred accounts information also which is having only two fileds one is ACCT_NUM another one is TEXT_REPORT. i just want to geenrate individual report for each account as of now am getting all accounts information in a single report.
is there any possibility to generate a report for individual accounts.
like select * from TB_JOB_REPORT where ACCT_NUM=???, i just want to pass a loop to get corresponding account information but not sure how to implement this logic in for loop.
any ideas to do this please share me...
Thanks in advance

Last week I have played with something like below (not tested!!! not very sure I remember all :( - just to get an idea ;)
html attributes (fonts, colors, borders, ... you name it - I'm not even aware of) were filled in by others
with
the_data as
(select 1 a_number,'abc' a_string,sysdate a_date from dual union all
select 2,'qwertzuiop',trunc(sysdate) - 2 from dual union all
select 3,'qwxy',to_date(null) from dual union all
select 4,null,to_date('1.5.2000','dd.mm.yyyy') from dual union all
select null,'?',trunc(sysdate) from dual
select xmlelement("table",
         xmlagg(
           xmlelement("tr",
             xmlelement("td",xmlattributes('right' as align), 2 * a_number),
             xmlelement("td", initcap(a_string)),
             xmlelement("td", to_char(a_date,'yyyy-mm-dd hh24:mi:ss'))
         order by a_number desc nulls first
                 ).getclobval()
  from the_dataRegards
Etbin

Similar Messages

  • Need some help in developing reports

    hi,
    I want to develop some reports in java. I dont know how to develop them.can any one help me??

    What skills do you have? You'll want to learn programming, Java, SQL, JDBC, and some kind of output system (HTML, XML, PDF generation, ...)
    Start googling for things like "JDBC tutorial", "SQL tutorial", ... Or go to school that has suitable classes. Or go to a book store.

  • Need a help on Aging report.

    Hi,
    In my report Called "Debtor aging summary" which is contains columns like Customer,DueDays,Due Amount.
    My requirement need to split due days as as following columns 0-30 days,30-60 days,60-180 days and >180Days and based duedays the amount would be display on that particular column in pivot table.How to achive this.Please help on this.

    what does the 'DueDays' field have? Is it a list of dates or is it a list of numbers?
    Assuming it is a date field that has a list of dates like '02-29-2012', I would approach it like this:
    Create a new field said "Date diff" and use a timestampdiff function to compare the dates with the current date (or whatever date your requirement is based on to conclude what is 1-30 days).
    It will be something like this timestampdiff(tsi_sql_day, 'duedates', current_day). The syntax may not be 100% correct, but the output of this expression will give you integers.
    Then create another column said "aging days", in there use a case statement to split the categories. It would go like this:
    case when 'date diff' < 30 then '0-30 days' when 'date diff' >= 30 and 'date diff' < 60 then '30-60 days' when 'date diff' >= 60 and 'date diff' < 180 then '60-180 days' when 'date diff' > 180 then 'Over 180 days' else 'N/A' end
    Again you can check the syntax to make sure it is correct..
    The create your pivot table and put 'Date Diff' column on the column section, it will split it into 4 columns in the pivot view. You can choose to exclude the other 2 date columns or leave it on the report..
    Try that and see if it helps
    Thanks,
    http://obinsight.blogspot.com/
    Edited by: obinsight on Feb 29, 2012 9:31 AM

  • Need technical help--HRMS Custom Reports

    This is the first time I have developed an HRMS Report. When I run my report in the designer mode it works. But when I run the report through the application [after registering the new report in AOL], the report does not create any output.
    Does the HRMS module have standard before report trigger procedures that I need to have just like the ERP:
    example: srw.user_exit('FND SRWINIT').
    Any help will be appreaciated!

    There are a ton of same CM12/CM07 queries on my old blog
    http://smsug.ca/blogs/. There is also a lot of SSRS stuff on my new blog.
    http://www.enhansoft.com/blog
    If either of these doesn’t help you then at this point and are still looking for this, I would recommend hiring a consultant to help out.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Need your help on interactive report

    hi all
    I have generated a report(below one) ,actually i need EKORG,EKGRP,NETWR in basic list i am not getting any value in NETWR field and also I need MAKTX field in secondary list but i am not getting any value in that field  what can i do ,please suggest me any modifications to be done.
    thanks and regard
    kumar
    --INITIALIZATION----
    INITIALIZATION.
    TABLES: EKKO, EKPO, MAKT.
    DATA: BEGIN OF I_EKKO OCCURS 0,
          EBELN LIKE EKKO-EBELN,
          EKORG LIKE EKKO-EKORG,
          EKGRP LIKE EKKO-EKGRP,
          END OF I_EKKO.
    DATA: BEGIN OF I_EKPO OCCURS 0,
          EBELP LIKE EKPO-EBELP,
          MATNR LIKE EKPO-MATNR,
          NETWR LIKE EKPO-NETWR,
          MENGE LIKE EKPO-MENGE,
          NETPR LIKE EKPO-NETPR,
          END OF I_EKPO.
    DATA: BEGIN OF I_MAKT OCCURS 0,
          MAKTX LIKE MAKT-MAKTX,
          MATNR LIKE MAKT-MATNR,
          END OF I_MAKT.
    DATA: BEGIN OF I_OUT OCCURS 0,
          EBELN LIKE EKKO-EBELN,
          EKORG LIKE EKKO-EKORG,
          EKGRP LIKE EKKO-EKGRP,
          EBELP LIKE EKPO-EBELP,
          MATNR LIKE EKPO-MATNR,
          NETWR LIKE EKPO-NETWR,
          MENGE LIKE EKPO-MENGE,
          NETPR LIKE EKPO-NETPR,
          MAKTX LIKE MAKT-MAKTX,
          END OF I_OUT.
    DATA: BEGIN OF JTAB OCCURS 0,
          EBELN LIKE EKKO-EBELN,
          EBELP LIKE EKPO-EBELP,
          MATNR LIKE EKPO-MATNR,
          MENGE LIKE EKPO-MENGE,
          NETPR LIKE EKPO-NETPR,
          maktx like makt-maktx,
    end of jtab.
    --AT SELECTIONSCREEN--
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:  S_EBELN FOR EKKO-EBELN OBLIGATORY.
    SELECT-OPTIONS:  S_EKORG FOR EKKO-EKORG OBLIGATORY.
    SELECT-OPTIONS:  S_EKGRP FOR EKKO-EKGRP.
    SELECTION-SCREEN END OF BLOCK B1.
    --START-OF-SELECTION----
    START-OF-SELECTION.
    SELECT EBELN EKORG EKGRP FROM EKKO
           INTO TABLE I_EKKO
           WHERE EBELN IN S_EBELN.
    SELECT EBELP MATNR NETWR MENGE NETPR FROM EKPO
           INTO TABLE I_EKPO FOR ALL ENTRIES IN I_EKKO
        WHERE EBELN = I_EKKO-EBELN.
    SELECT MAKTX MATNR FROM MAKT
           INTO TABLE I_MAKT FOR ALL ENTRIES IN I_EKPO
           WHERE MATNR = I_EKPO-MATNR.
    --END-OF-SELECTION--
    END-OF-SELECTION.
    LOOP AT I_EKKO.
         MOVE: I_EKKO-EBELN TO I_OUT-EBELN,
               I_EKKO-EKORG TO I_OUT-EKORG,
               I_EKKO-EKGRP TO I_OUT-EKGRP.
         READ TABLE I_EKPO WITH KEY EBELP = I_EKKO-EBELN.
         MOVE: I_EKPO-EBELP TO I_OUT-EBELP,
               I_EKPO-MATNR TO I_OUT-MATNR,
               I_EKPO-NETWR TO I_OUT-NETWR,
               I_EKPO-MENGE TO I_OUT-MENGE,
               I_EKPO-NETPR TO I_OUT-NETPR.
         READ TABLE I_MAKT WITH KEY MATNR = I_EKKO-EBELN.
         MOVE: I_MAKT-MAKTX TO I_OUT-MAKTX,
               I_MAKT-MATNR TO I_OUT-MATNR.
         APPEND I_OUT.
    ENDLOOP.
    LOOP AT I_OUT.
    FORMAT HOTSPOT ON.
    FORMAT COLOR 2 ON.
    WRITE : /   SY-VLINE,
            2   I_OUT-EKORG,
            9   SY-VLINE,
           10   I_OUT-EKGRP,
           24   SY-VLINE,
           25   I_OUT-NETWR,
           40   SY-VLINE.
    FORMAT HOTSPOT OFF.
    FORMAT COLOR 2 OFF.
    HIDE: I_OUT-EBELN .
    *,I_OUT-MAKTX,i_out-matnr,i_out-menge.
    ENDLOOP.
    --TOP-OF-PAGE--
    TOP-OF-PAGE.
    FORMAT COLOR 3 ON.
    WRITE : /   'EKORG',
           10   'EKGRP',
           35   'NETWR'.
    FORMAT COLOR 3 OFF.
    ---------END-OF-PAGE------------
    END-OF-PAGE.
    FORMAT COLOR 6 ON.
    WRITE : /100 'PAGE NUMBER:',SY-PAGNO.
    FORMAT COLOR 6 OFF.
    --AT LINE-SELECTION--
    AT LINE-SELECTION.
    SELECT EBELN EBELP MATNR MENGE NETPR
      FROM EKPO
      INTO corresponding fields of TABLE JTAB WHERE EBELN = I_OUT-EBELN.
    LOOP AT JTAB.
    format color 2 on.
    WRITE : /   SY-VLINE,
             2   jtab-EBELN,
            13   SY-VLINE,
            15   jtab-EBELP,
            28   SY-VLINE,
            30   jtab-MATNR,
            43   SY-VLINE,
            45   jtab-MENGE,
            49   SY-VLINE,
            50   jtab-NETPR,
            59   SY-VLINE,
            60   I_OUT-MAKTX,
            68   SY-VLINE.
    format color 2 off.
    ENDLOOP.
    TOP-OF-PAGE DURING LINE-SELECTION.
    FORMAT COLOR 3 ON.
    WRITE: /    'EBELN',
            15   'EBELP',
            30   'MATNR',
            45   'MENGE',
            53   'NETPR',
            63   'MAKTX'.
    FORMAT COLOR

    Hi,
    Check this..I am able to see the material description and netwr..
    --INITIALIZATION----
    INITIALIZATION.
      TABLES: ekko, ekpo, makt.
      DATA: BEGIN OF i_ekko OCCURS 0,
      ebeln LIKE ekko-ebeln,
      ekorg LIKE ekko-ekorg,
      ekgrp LIKE ekko-ekgrp,
      END OF i_ekko.
      DATA: BEGIN OF i_ekpo OCCURS 0,
      ebeln LIKE ekpo-ebeln,
      ebelp LIKE ekpo-ebelp,
      matnr LIKE ekpo-matnr,
      netwr LIKE ekpo-netwr,
      menge LIKE ekpo-menge,
      netpr LIKE ekpo-netpr,
      END OF i_ekpo.
      DATA: BEGIN OF i_makt OCCURS 0,
      maktx LIKE makt-maktx,
      matnr LIKE makt-matnr,
      END OF i_makt.
      DATA: BEGIN OF i_out OCCURS 0,
      ebeln LIKE ekko-ebeln,
      ekorg LIKE ekko-ekorg,
      ekgrp LIKE ekko-ekgrp,
      ebelp LIKE ekpo-ebelp,
      matnr LIKE ekpo-matnr,
      netwr LIKE ekpo-netwr,
      menge LIKE ekpo-menge,
      netpr LIKE ekpo-netpr,
      maktx LIKE makt-maktx,
      END OF i_out.
      DATA: BEGIN OF jtab OCCURS 0,
      ebeln LIKE ekko-ebeln,
      ebelp LIKE ekpo-ebelp,
      matnr LIKE ekpo-matnr,
      menge LIKE ekpo-menge,
      netpr LIKE ekpo-netpr,
      maktx LIKE makt-maktx,
      END OF jtab.
    --AT SELECTIONSCREEN--
      SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
      SELECT-OPTIONS: s_ebeln FOR ekko-ebeln OBLIGATORY.
      SELECT-OPTIONS: s_ekorg FOR ekko-ekorg OBLIGATORY.
      SELECT-OPTIONS: s_ekgrp FOR ekko-ekgrp.
      SELECTION-SCREEN END OF BLOCK b1.
    --START-OF-SELECTION----
    START-OF-SELECTION.
      SELECT ebeln ekorg ekgrp FROM ekko
      INTO TABLE i_ekko
      WHERE ebeln IN s_ebeln.
      IF NOT i_ekko[] IS INITIAL.
        SELECT ebeln ebelp matnr netwr menge netpr FROM ekpo
        INTO TABLE i_ekpo FOR ALL ENTRIES IN i_ekko
        WHERE ebeln = i_ekko-ebeln.
      ENDIF.
      IF NOT i_ekpo[] IS INITIAL.
        SELECT maktx matnr FROM makt
        INTO TABLE i_makt FOR ALL ENTRIES IN i_ekpo
        WHERE matnr = i_ekpo-matnr.
      ENDIF.
    --END-OF-SELECTION--
    END-OF-SELECTION.
      LOOP AT i_ekko.
        MOVE: i_ekko-ebeln TO i_out-ebeln,
        i_ekko-ekorg TO i_out-ekorg,
        i_ekko-ekgrp TO i_out-ekgrp.
        READ TABLE i_ekpo WITH KEY ebeln = i_ekko-ebeln.
        MOVE: i_ekpo-ebelp TO i_out-ebelp,
        i_ekpo-matnr TO i_out-matnr,
        i_ekpo-netwr TO i_out-netwr,
        i_ekpo-menge TO i_out-menge,
        i_ekpo-netpr TO i_out-netpr.
        READ TABLE i_makt WITH KEY matnr = i_ekpo-matnr.
        MOVE: i_makt-maktx TO i_out-maktx,
        i_makt-matnr TO i_out-matnr.
        APPEND i_out.
      ENDLOOP.
      LOOP AT i_out.
        FORMAT HOTSPOT ON.
        FORMAT COLOR 2 ON.
        WRITE : / sy-vline,
        2 i_out-ekorg,
        9 sy-vline,
        10 i_out-ekgrp,
        24 sy-vline,
        25 i_out-netwr,
        40 sy-vline.
        FORMAT HOTSPOT OFF.
        FORMAT COLOR 2 OFF.
        HIDE: i_out-ebeln .
    *,I_OUT-MAKTX,i_out-matnr,i_out-menge.
      ENDLOOP.
    --TOP-OF-PAGE--
    TOP-OF-PAGE.
      FORMAT COLOR 3 ON.
      WRITE : / 'EKORG',
      10 'EKGRP',
      35 'NETWR'.
      FORMAT COLOR 3 OFF.
    ---------END-OF-PAGE------------
    END-OF-PAGE.
      FORMAT COLOR 6 ON.
      WRITE : /100 'PAGE NUMBER:',sy-pagno.
      FORMAT COLOR 6 OFF.
    --AT LINE-SELECTION--
    AT LINE-SELECTION.
      SELECT ebeln ebelp matnr menge netpr
      FROM ekpo
      INTO CORRESPONDING FIELDS OF TABLE jtab WHERE ebeln = i_out-ebeln.
      LOOP AT jtab.
        READ TABLE i_makt WITH KEY matnr = jtab-matnr.
        MOVE: i_makt-maktx TO i_out-maktx.
        FORMAT COLOR 2 ON.
        WRITE : / sy-vline,
        2 jtab-ebeln,
        13 sy-vline,
        15 jtab-ebelp,
        28 sy-vline,
        30 jtab-matnr,
        43 sy-vline,
        45 jtab-menge,
        49 sy-vline,
        50 jtab-netpr,
        59 sy-vline,
        60 i_out-maktx,
        68 sy-vline.
        FORMAT COLOR 2 OFF.
      ENDLOOP.
    TOP-OF-PAGE DURING LINE-SELECTION.
      FORMAT COLOR 3 ON.
      WRITE: / 'EBELN',
      15 'EBELP',
      30 'MATNR',
      45 'MENGE',
      53 'NETPR',
      63 'MAKTX'.
    Thanks,
    Naren

  • Need urgent help in creating report

    i have two facts
    number of open bugs
    number of closed bugs
    i have a status column (status of bug)
    now i have to create a report (chart) which shows me number of open bugs and number of close bugs. The main problem here is i want to filter open bugs as those which have status say 10 and 11
    And closed bugs those which are in status say 90 and 92.
    So, hoiw to create this type of report..?
    any help in this direction will be a great contribution ,,,,
    Vik

    Here´s the sintax:
    CASE expression1
    WHEN expression2 THEN expression2
    {WHEN expression... THEN expression...}
    ELSE expression
    END
    It would be something like this:
    CASE status WHEN 10 THEN open_bug
    WHEN 11 THEN open_bug
    WHEN 90 THEN close_bug
    WHEN 92 THEN close_bug
    ELSE 0 END
    Set the aggregation rule to SUM.
    Regards.

  • Need advice/help with Derogatory reporting from Wells Fargo Bank (Wells Fargo is the DEVIL)

    Hello Everyone! I am new to the forum & at the ripe (old) age of 36 have finally decided to take control of my credit and financial future. Thank you in advance to those of you who contribute on here. It’s a great site.. I wish I had found it earlier in life. In any event, I am trying to increase credit scores and have two *recent* derogatoriness reported by Wells Fargo Bank for past due STUDENT LOANS. The story goes like this … my monthly payment amount due suddenly changed from $150.00 (even) per month to $150.80. Because I obtain online only statements and was busy with life (taking care of mom with dementia etc) I didn’t realize the change and logged in for a few months and only paid $150.00. Wells Fargo subsequently reported me as “30 days past due" for the months of June & July 2014 for the $1.60 balance. Really Wells Fargo???? When I realized the derogatory reporting, I of course called Wells Fargo and protested. I then followed up with a “good faith request to remove letter” or whatever it's called. I sent it to: ATTENTION: Credit Bureau Dispute Resolution Department (CBDRU)301 East 58th Street NorthSioux Falls, SD 57117-5185 However, Wells Fargo responded with “the reporting is accurate and will remain as reported.” ***HOLES! All over $1.60??!? Before the incident I was frequently late (not a very good customer) but since Jan 2015 I have paid like clockwork and ON TIME every month. So, I am planning another course of action. I am wondering if anyone knows someone at Wells Fargo that I can address another letter to or call. I refuse to believe some human with a heart will let this stand. Any (backdoor info) or suggestions are GREATLY appreciated. Oh. It may be important to note that I was also 30 days past due back in Oct 2010.  This was "valid" and I never contested that. Blessings to everyone!

    LeeRivers wrote:
    The story goes like this … my monthly payment amount due suddenly changed from $150.00 (even) per month to $150.80. Because I obtain online only statements and was busy with life (taking care of mom with dementia etc) I didn’t realize the change and logged in for a few months and only paid $150.00. Wells Fargo subsequently reported me as “30 days past due" for the months of June & July 2014 for the $1.60 balance. Really Wells Fargo????It is unfortunate but it is accurate and they're under no obligation to remove.  All you can do is to try to escalate but that may not even lead to a removal. LeeRivers wrote:
    Before the incident I was frequently late (not a very good customer) but since Jan 2015 I have paid like clockwork and ON TIME every month.That's not going to help your case.  A few months on being on time is a plus but it's not going to overcome a track record of requently being late.  Derogs tend to have a major impact in general but a creditor is probably less likely to consider goodwill in a case like this versus a customer that has always paid on time and just happened to misread the amount due a couple of times.  Good luck with it.

  • Needed a help in Crystal Report

    Dear Experts,
    As am developing a crystal report layout for sales order in which i required a condition field columns that if given parameter say "YES" then Unit price & Row total to be displayed or if the given the parameter value say "NO" then only Remarks to be displayed.
    Here the Unit price & Rowtotal were in two different columns with vertical lines drawn between both. But for the case of "NO" value passed in the parameter then both the column with vertical lines should to be suppressed into one single column as Remarks.
    Is it possible in crystal report, if any body had customized this kind of crystal report please assist me how to do...
    Thanks in advance,
    Regards,
    Krishnakumar
    Edited by: krishnaoctopus on Sep 24, 2010 11:25 AM

    Hi..
    Take Parameter Field and use Same Parameter in Report Section & Make Fields Suppress on Particular Condition as YES & NO,you can hide fields using Suppress which you can apply on particular field by select that report field>right click and goto format text>Apply Suppress on particular condition of YES & NO
    Regards,
    Bhavank

  • Need a help to generate online html code

    I need a help with html code. I my page user in the tet area inserting a plain text and i am using servlet put it to DB, but now we need to use not plane text. Need to use custom text like <font color=121245>hello</font> <font color=457898> nice day</font>

    but now we need to use not plane text.Who is we?
    Need to use custom text like <font color=121245>hello</font> <font color=457898> nice day</font>Have you tried anything yet?
    What aspect of this requirement is tripping you up?

  • Help creating a report

    Hello people I need some help creating a report on 9i. So far:
    SELECT TRUNC(sampled,'MM'), c.name country, o.name operator, SUM(SMS)
    FROM TEST s, operators_info o, countries_info c
    WHERE sampled >= '01/01/2010' AND sampled < '01/01/2011'
    AND s.dest_id = o.id
    AND o.country_id = c.id
    GROUP BY TRUNC(sampled,'MM'), c.name, o.name
    ORDER BY 1, 2, 3;
    I am getting:
    01/01/2010 UK OPERATOR1 100
    01/01/2010 UK OPERATOR2 150
    01/01/2010 USA OPERATOR3 500
    01/01/2010 USA 0PERATOR4 650
    01/02/2010 UK OPERATOR1 50
    01/02/2010 UK OPERATOR2 170
    01/02/2010 USA OPERATOR3 550
    01/02/2010 USA 0PERATOR4 670
    01/12/2010 UK OPERATOR1 0
    01/12/2010 UK OPERATOR2 270
    01/12/2010 UK OPERATOR3 150
    01/12/2010 USA OPERATOR3 570
    01/12/2010 USA 0PERATOR4 800
    How can I create a more efficient report like:
    ........................01/01/2010...01/02/10...01/12/2010
    UK OPERATOR1...100.............50.............0
    UK OPERATOR2...150.............170...........270
    UK OPERATOR3......................................150
    USA OPERATOR3.500..............550............570
    USA 0PERATOR4.650..............670.............800
    Thank you very much in advance

    Hi,
    That's called a Pivot , and this thread shows you how to do it:
    Help for a query to add columns
    Pivoting the output requires more work, so it probably won't be any more efficient that what you're doing now.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
    Explain how you get those results from that data.
    Always say what version of oracle you're using.

  • Generate HTML REPORTS Help

    hai....
    i am new to this field i need some help regarding how to generate html report ... well i am using db2 as my database .....and these reports are not crystal reports.....
    i have to generate some fields information from multiple tables in the database...
    thank you

    Apex does not as yet support PDF printing out of the box. At this stage your options are;
    1. Wait for the release of Apex 3.0 (evaluation instance is now available).
    2. Use FOP to generate PDF output (probably not for a novice user). See this link;
    http://www.oracle.com/technology/pub/notes/technote_htmldb_fop.html
    3. Purchase a product such as PL/PDF
    http://www.plpdf.com
    cheers,
    Ron

  • Letter/report generation...morgalr, i need your help!!

    may i know the details or some sample source code of how to generate the html and import it to MS Word...i need your help urgently...may i have your email to contact u?.....please help, it is urgent!!!

    You need not use an applet to write an HTML file, any application file will do fine, actually applications may be prefered due to system security and file creation. Basically the html files are just text files using HTML. Look at any book on HTML and you will be able to get the style and form down along with the syntax.
    As for calling MS word, do a search on the web for a product called JPrint. It is done by a company called Neva and they also have a product called "coroutine". It is coroutine that you want. Coroutine is a native level interface for Java to Comm. The docs that come with coroutine should be saficient to get you going on the project.

  • Need Some help in Developing an ALV report ..Plz help me

    Hi Experts I am basic learner to ABAP Here I need some help in developing a Delivery *** Invoice Report....Please help me by spending a little time..
    Tables are VBAK VBAP LIPS LIKP   and Document floe table is VBFA
      SELECT VBELN VKORG VTWEG SPART
        FROM VBAK
        INTO TABLE I_VBAK
        WHERE VBELN IN S_VBELN.
      IF I_VBAK IS NOT INITIAL .
        SELECT VBELN POSNR MATKL POSAR WERKS
          FROM VBAP
          INTO TABLE I_VBAP
          FOR ALL ENTRIES IN I_VBAK
          WHERE VBELN = I_VBAK-VBELN.
      ENDIF.
      IF I_VBAP IS NOT INITIAL.
        SELECT * FROM LIPS
          INTO CORRESPONDING FIELDS OF TABLE I_LIPS
          WHERE VGBEL = VBAP-VBELN
          AND VGPOS = VBAP-POSNR.
      ENDIF.
      IF I_LIPS IS NOT INITIAL.
        SELECT VBELN VSTEL VKORG KUNNR
        FROM LIKP
        INTO TABLE I_LIKP.
      ENDIF.
    Moderator message : Outsourcing is not allowed, don't expect others to correct your source code. Thread locked.
    Edited by: Vinod Kumar on Aug 1, 2011 5:43 PM

    hi ,
      Look in this link
      <a href="http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/content.htm</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62bfe07211d2acb80000e829fbfe/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62bfe07211d2acb80000e829fbfe/content.htm</a>
    Regards
    Renjith Kumar

  • HT5824 My iPad has been stolen. I need the serial number to report it to the authorities. I dont have the box it came in or the receipt and its not on my itunes on the computer because I didnt use it or music, just pictures. Can someone please help???

    My iPad has been stolen. Someone broke into my house on Tuesday. I have already tried locking it through icloud.  I have reported this to the authorities but they cannot do much unless I give them the serial number to the iPad. With the serial number they can put it into a database and send that inormation to pawn shops, so i the theie tries to pawn it, the pawn shop employeee can convscate the iPad and hand it over to the authorites. I need the serial number to report it to the authorities. I dont have the box it came in or the receipt and its not on my itunes on the computer because I didnt use it or music, just pictures. Can someone please help??? btw, some words are misspelled becasue the letter that comes ater the letter E, doesnt work on my keybord.
    Thanks

    Serial Number
    http://support.apple.com/kb/HT4061
    Sign in to My Support Profile
    https://supportprofile.apple.com/

  • Need help on classical report

    hi friends i need help on classical reports,
    sold-party,
    material
    sales and distrubitutation channel ,division,
    incoming orders,order number,invoice ,credit,
    i need sub totals and final total of invoice and each customer should display in new page .

    Hi
    Use the Tables KNA1,VBAk,VBAP,VBRK and VBRP and design the report
    see the sample report using KNA1,VBAK and VBAP.
    REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    LOOP AT SCREEN.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    REPORT demo_list_at_pf.
    START-OF-SELECTION.
    WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
    AT pf5.
    PERFORM out.
    AT pf6.
    PERFORM out.
    AT pf7.
    PERFORM out.
    AT pf8.
    PERFORM out.
    FORM out.
    WRITE: 'Secondary List by PF-Key Selection',
    / 'SY-LSIND =', sy-lsind,
    / 'SY-UCOMM =', sy-ucomm.
    ENDFORM.
    After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
    Secondary List by PF-Key Selection
    SY-LSIND = 14
    SY-UCOMM = PF06
    Example for AT USER-COMMAND.
    REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
    START-OF-SELECTION.
    WRITE: 'Basic List',
    / 'SY-LSIND:', sy-lsind.
    TOP-OF-PAGE.
    WRITE 'Top-of-Page'.
    ULINE.
    TOP-OF-PAGE DURING LINE-SELECTION.
    CASE sy-pfkey.
    WHEN 'TEST'.
    WRITE 'Self-defined GUI for Function Codes'.
    ULINE.
    ENDCASE.
    AT LINE-SELECTION.
    SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
    PERFORM out.
    sy-lsind = sy-lsind - 1.
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'FC1'.
    PERFORM out.
    WRITE / 'Button FUN 1 was pressed'.
    WHEN 'FC2'.
    PERFORM out.
    WRITE / 'Button FUN 2 was pressed'.
    WHEN 'FC3'.
    PERFORM out.
    WRITE / 'Button FUN 3 was pressed'.
    WHEN 'FC4'.
    PERFORM out.
    WRITE / 'Button FUN 4 was pressed'.
    WHEN 'FC5'.
    PERFORM out.
    WRITE / 'Button FUN 5 was pressed'.
    ENDCASE.
    sy-lsind = sy-lsind - 1.
    FORM out.
    WRITE: 'Secondary List',
    / 'SY-LSIND:', sy-lsind,
    / 'SY-PFKEY:', sy-pfkey.
    ENDFORM.
    When you run the program, the system displays the following basic list with a the page header defined in the program:
    You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
    Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
    For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
    Reward points for useful Answers
    Regards
    Anji

Maybe you are looking for

  • Need to know how to remove ALL previous Outlook settings in Registry and file locations (cross posted)

    Problem: I cannot get a newly installed Outlook 2013 to connect to the [online Office 365] server with old [non-domain] logon profile. That is my issue, and what I'd like to fix. (There's some services and settings on the old profile that cannot be e

  • Apps no longer syncing to ipod - help?

    I've moved to the latest software and am using the new itunes, and my apps have disappeared from my ipod and won't sync.  I've got the settings to back up to "this computer."  On the apps tab, it shows "0" but they're all listed on that page.  By dra

  • ECR/ECO Workflow not working for multiple Objects

    Hello all, We have implemented ECR/ECO workflow by customizing the SAP standard one. We are facing a problem when entering multiple ECO objects such as mutiple Documents, materials, BOMs etc. When we create the ECR, two parralel workflow start (one f

  • MY photoshop CRASHES when i maximize a window.

    Anyone know why the heck this happens? So everytime im using it, if im working on a project and just maximize the window, the damn thing freaking freezes and crashes and my work is completely gone. WOW, what the heck. Any solution?

  • CS2 clone tool problem..

    I have reset tools, reset preferences, checked opacity, blending mode, made sure I am on a active layer, duplicated background layer, used a different file to see if the same result occurred, checked channels palette for rgb active. Done everything b