Display number of line items in my report at the title bar

hi,
i would like to ask, how am i going to add in the number of line items to be display under the title bar above of the SAP. example similar to SE16, where it will show you the number of lines under the bar above.
may i know how am i going to program it for my report? thanks

Hi,
           check out the following code........copy-paste....and then....................
data : it type STANDARD TABLE OF vbak,
       wa type vbak.
data : ctr TYPE sy-dbcnt.
data : str(20) type c.
select * from vbak into table it UP TO 10 ROWS.
  ctr = sy-dbcnt.
  move ctr to str.
set titlebar 'LIST' OF PROGRAM sy-repid with str.
loop at it into wa.
  skip 1.
  write wa-vbeln.
endloop  .
................create the title-bar 'LIST' as 'List Details : &'.
(double-click on 'LIST' ....... 
give 'TITLE' as 'List Details : &'. ).
run.....& get solved !!!!!
Rewards points if helpful..............

Similar Messages

  • How to resrict number of line items in IDOC  Payment file

    Hai
    I had an issue where user wants to restrict the number of line items in the payment IDOC file. Is there any possibilty to restict these number of line items to 6.
    Because the user has some reporting problem with the bank regarding the IDOC file
    Kindly help me
    Thanks in advance
    Regards,
    Akash Narayana

    Hi Akash,
    Execute transaction code <b>WE20</b> and open up the "<b>Partner Type B</b> - i.e. <b>Bank</b>". Select the bank in question. To the right of the screen, you would see 3 different sections. You are interested in the middle section "<b>Outbound parmtrs</b>.". Highlight the "<b>Message type</b>" (e.g. COSMAS - Master cost center) you want to reduce the size and click on the "<b>Display</b>" icon just underneath it. In the "<b>Outbound Options</b>" tab, change the "<b>PacketSize</b>" to 6 and save your entries.
    Repeat this for all other outbound parameter "<b>Message Types</b>" for this bank. e.g. "<b>EUPEXR</b> - Reference message for electr. signature (for ext. payments)" and "<b>PAYEXT</b> - Extended payment order" etc. That is, change the "<b>PacketSize</b>" for each to <b>6</b> and save your entires. This would reduce the number of each set of messages sent to the bank to 6.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Increasing the number of line items in PO

    hello fellow abapers,
    i have a query. i dont know if its the headache of the function ppl or the technicial person - which happens to be me - but i have to get this solved at the earliest.
    now ive made a PO for materials from the scratch and everythin is workin fine. except that out of the blue comes a PO with over 10000 line items. yes, thats right - 10,000 line items.
    so obviously an error was thrown by SAP. unfortunately the end-user did not think it necessary to take a printout or record the error message.
    anyways the error said something to the effect that it did not allow so many line items or somthing like that.
    now can anybody pls help me out with this. firstly is dhere any restrictions on the number of line items, and secondly, if thats the case how do i find a work-around.
    thanx a bunch
    pk

    Hi,
    The basis sets the maximum number of pages that can be printed by the user in authorization object S_SPO_PAGE.
    Please discuss with your basis guy.
    Tyken

  • How to display the number of line items in sap-script report?

    Hi friends,
    I need a help regarding the SAP Script. In my script (report) I create two pages and created three windows (MAIN, HEADER, FOOTER) for each pages. Now the problem is while displaying the fewer line item which can come under the main window of the 1st page these line items are comming perfectly but for the remaining line items that comes on the second page the table headings and the boexs are not comming.
    Also it is displaying the total and the amount in text in every pages that should be display in last page.
    Here if I eleminate or comments the total and the amount in text for the first page the same is reflected in second page. Also I need to display the page-nor for each pages to displayed.
    I am requesting all the people out there kindly help me to solve this issues.
    Thanks and Regards

    There is no pre built solution for this. But we can show total pages in the report body.
    one way is Create a other column in the report with code sum(count(1))/25. that gives you total number of pages. 25 here is no of rows in each page. The code you can write in narrative "Total pages in the report are @5" and out put may be "Total Pages in the report are 30".
    If you are using pivot tables, you can try this.
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/
    - Madan

  • Report to Display Vendor Open Line Items

    is there a report out there to display Vendor Open Line Items only for Asset Puchases??
    Thank you

    Dear Expert,
    In FBL1N we can find the line items according to your requirement through the "Dynamic Selections" select the Particular vendor or Vendor Group for selecting a total group and , Document , Document Type select the AA Document type and Select the Open items Radio button and also you can select Open at key date enter the date up to which you want to view., And Execute.
    Regards,
    Shankar K B

  • GL Custom Reports not displaying source and line item Data after Upgrade

    Hi,
    I am having this issue even though General Ledger Journal Entry Summarization is set to "No Summarization" and in SLA the Line Type is set in detail for Transfer to GL. Have you come accross a specfic example like this? Can you please guide me to what the problem may be?
    None of the GL reports is showing the Source and Line Item details.
    Thanks,
    Arun

    I am having this issue even though General Ledger Journal Entry Summarization is set to "No Summarization" and in SLA the Line Type is set in detail for Transfer to GL. Have you come accross a specfic example like this? Can you please guide me to what the problem may be?
    None of the GL reports is showing the Source and Line Item details.Have you verified the queries of those reports after the upgrade? And, when you say upgrade, do you mean from 11i to R12?
    Did you set the application context properly?
    How to set the Organization Context in R12? [ID 437119.1]
    Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]
    SQL Queries and Multi-Org Architecture in Release 12 [ID 462383.1]
    Setting APPS Context is mandatory step while loading data using public APIs [ID 473615.1]
    Thanks,
    Hussein

  • Number of line items in each Invoice

    Hi Gurus,
    I have one requirement
    i need to display one column in the Report i.e. "Line items per eachinvoice" which should give the number of line items per that Invoice
    when iam using tcode 'FB03' at ECC - Document Display it is giving
    for Doc 1111 - 2 line items
    for Doc 2222 - 12 line items
    so in the report that column should display
    2 for Doc 1111
    12 for Doc 2222
    please guide me how to do this
    Thank you

    create a formula with constant 1
    and set the exception aggregation as Total, and set the reference char as Line Item.
    Make sure you have Invocie in the report.
    - Danny

  • Total Number of line items in FBL3N

    Hi,
    I would like to have total number of open items (entries) as on  12/31/2008 for all B/S accounts. I just want the number.
    I can go in BSIS and click on number of entris but I have 1000's of Gl account to know the total number of line item.
    Is there any way I can get the number of open entries for too many GL account.
    -JR

    Hello
    In the selection parameters choose / enter all open item managed B/S GL accounts and choose the report as below
    1 GL Account Balances (Totals & Balances )             S_ALR_87012301
    3.  GL Line Items                                        S_ALR_87012282
    4.  Statements for GL Accounts, Customers & Vendors      S_ALR_87012332
    5.  Document Journal                                     S_ALR_87012287
    6.  Compact Document Journal                             S_ALR_87012289
    7.  Line Item Journal                                    S_ALR_87012291
    8.  Display of Changed Documents                         S_ALR_87012293
    9.  Invoice Numbers assigned Twice                       S_ALR_87012341
    10. Gaps in Document Number Assignments                  S_ALR_87012342
    11. Posting Totals Document Type wise                    S_ALR_87012344
    12. Recurring Entry Documents                            S_ALR_87012346
    Reg
    suresh

  • Adding Amount field in BSEG table and display it single line item?

    hi experts,
           I am doing credit / debit form now my requirement is
                                               According to BELNR , GJAHR,BUKRS i want to find credit amount for this selection cretiria.
                         so i want to add all the lines of amount filed for a particular BELNR and display it as single line.
    so i am getting data from print program like this
    SELECTION-SCREEN BEGIN OF BLOCK b0 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP 2.
    PARAMETERS: p_belnr LIKE bkpf-belnr OBLIGATORY,
                p_bukrs LIKE bkpf-bukrs OBLIGATORY,
                p_gjahr LIKE bkpf-gjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b0.
    SELECT SINGLE *
                   FROM bkpf
                   INTO  i_bkpf
                   WHERE belnr = p_belnr
                         AND ( blart = 'DG' OR blart = 'ZG' )
                         AND bukrs = p_bukrs
                         AND gjahr = p_gjahr.
    IF sy-subrc = 0.
        SELECT  *
              FROM bseg
              INTO  table it_bseg
              WHERE belnr = i_bkpf-belnr .
      ENDIF.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'Z_CREDIT_DEBIT'    " p_name
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
        IMPORTING
          fm_name                  = v_form_name
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 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.
    CALL FUNCTION v_form_name
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        i_bkpf                     = i_bkpf
        i_bseg                     = i_bseg
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    so my I_BSEG containing all line items of particular BELNR . with the field SHKZG  iam  getting only credit line items .
      now i want to do is add all credited amount and display like this in a table.
    against ref#  (BSEG-REBZG) ! details (BSEG-SGTXT)!  amount
    124569                                   10%discount                950.00(total amount ie sum of all lines amount for a BELNR)
                                                                                    10.00(total tax amt ie sum of   all lines of tax amount for a BELNR)                                                                               
                                                                                    960.00

    hi arun,
             i used collect in smartform my procedure is like this .
                   i am getting data into i_BSEG because i declared like this in TABLES parameter
                      i created a loop .
                             in that i mentioned like I_BSEG into WA_BSEG.
                                   then i created a program lines here i mentioned like this.
                                                  COLLECT WA_BSEG INTO IT_BSEG.
               but because of BUZEI "Number of Line Item Within Accounting Document .it is not same it is varying for every credited time that means for every line of BELNR. thats why it is not adding it is just appending .
    so pls tell me any other chance to find sum .
    because i want to sum up all credted amount and display it in single line
    ie first column REBZG "Number of the Invoice the Transaction Belongs to(against ref) i want to display once .
    And Second column  SGTXT "item text(details) for amount once and for tax amount once
    And Third column Amount first line consists total amount & second line consists total for tax amount
    regards,
    satheesh.
    [email protected]
    any doubts chat me regarding this post.

  • Number of Line Items Issue at the time of Payroll posting

    Dear All,
    While creating a posting document (Payroll posting) for FI, the maximum number of line item allowed is 999 where as I have 1464 line items. I am creating only one document based on Company code and it is giving me the following error, which is because of number of line item;
    Acct determination not defined for trans. HRA 1002  in chart of accts AGCA
    Message no. F5113
    Diagnosis
    An automatic posting cannot be created because the account determination for transaction HRA with keys 1002  is not defined in chart of accounts AGCA.
    System Response
    The document cannot be posted.
    Procedure
    Depending on the type of processing, you can hold the document and post it later. If this is not possible and the error cannot be eliminated straightaway in customizing, you must leave processing and enter the document later.
    Procedure for the system administrator
    Correct the account determination for the specified transaction. Proceed
    Please tell me how to create least amount of documents for posting?
    Regards.

    SPRO> payroll >Reporting posting payroll result to Accoutning > Activities in Account system >Assigning Accounts >Assign Technical accounts
    Here eneter 1001 payroll clearing account and next enter 1002 same payroll clearing account. by doing this it will allow document splitting.

  • KOB1 - Display Actual cost line items for Orders

    Hi All
    A production order has been settled. When the actual cost line items are displayed for the said production order in KOB1, there are multiple line items related to the production order that gets displayed.
    The issue we are facing is, in one of the line item, the accounting document has one credit (Consumption a/c) and two debits (one debit is to inventory a/c and another debit is to price difference a/c). However in the report, in the offsetting GL column only one GL code (price difference gl account a/c) but appears with the entire amount.
    Ideally two separate line items needs to be displayed with respective line items. Is this a flaw in SAP.
    Can anybody throw some light on this and help me.
    Regards
    Prasanna

    this is may be config issue.
    can you explain with accounting entries for said line items and offsetting GL for each line?
    regards.
    ashok

  • Opening Balance to be displayed along with line items

    Dear Experts,
    Is there any way to display Opening Balance for a particular GL along with LIne Items. FS10N only provides Period wise opening balance and line items. If I have to select the line items for a GL in the middle of the period and see the opening balance, how is it possible. In FBL3N i am able to see only line items and no opening balance.
    Any suggestions.......................
    Raj.

    Hello,
    FS10N you will see the balance and then double click on that to see line item. Again at line items you will not see the opening balance. There is no such facility.
    If you want period wise balances, then go with
    S_ALR_87012172 report.
    Regards,
    Ravi

  • According to PO number and Line item data should come once but its repeatin

    I am calculating IR Quantity and IR value......
    for a PO  if there are four same  line items i wanted them once but they are displaying for each and every line item
    If my po is 2003000151 and line item 0010 if both are same then i wanted ir quantity 500
    but its displaying like this
      PO                 item   IR
    2003000151   0010 500
    2003000151   0010 500
    2003000151   0010 500
    2003000151   0010 500
    I need like this
    2003000151   0010 500
    2003000151   0010
    2003000151   0010
    2003000151   0010
    If po number and line item are same IR quantity should be displayed only once..
    What should be done if it should not repeat in each and every line item if both PO and line item are same

    i am having internal table of it_ekko.
    in that i am having some data of PO no, Line Item,IR value and IR qty......
    i am having data like below.
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010        1500           4500
    200310052         0010           0                   0
    200310052          0010       0               0
    now where ever IR value and IR qty is present i wanted that to display only once against that PO and line item
    i wanted like below
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010            0              0
    200310052         0010             0                0
    200310052          0010            0               0
    Field names for IR value and IR Qty are Menge2 and dmbtr2.
    How to do that.........
    I cant use
    Delete adjacent duplicates of it_ekko by ebeln = wa_ekko-ebeln and
                                                                          ebelp = wa_ekko-ebelp.
    because i wanted that po and same line items , how many times it is like that only.....
    in it_ekko table i only wanted to delete duplicates of menge2 and dmbtr2.
    Pls suggest the code

  • Maximum number of line items

    Dear All,
    I am facing an issue in the maximum number of line items EBP purchase order.
    We are in SRM 4.0 using extended classic scenario.
    In EBP PO, if the number of line items is more than 50 then we are getting the dump error "Field symbol has not yet been assigned" when we try to display the PO in Process purchase order transaction.
    In process purchase order, if we click on the start after enting the PO number then it is giving the dump error. But we could able to display the PO by clicking on the details icon of the PO after searching with time frame.
    Dump error is occuring only when we try open the PO header node to see the list of items of the PO. Until the PO is having 50 line items we dont have a problem. If the PO is having 51st item then we are getting the dump error.
    Have anyone faced this issue? Please help me to resolve this.
    Thanks.

    Pradeep,
    Dump error details:
    What happened?
        Error in ABAP application program.
        The current ABAP program "SAPLBBP_PDH_SEARCH" had to be terminated because one
         of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32774).
        This error may occur for any of the following reasons:
        - You address a typed field symbol before it is set using ASSIGN
        - You address a field symbol that points to a line in an internal table
          that has been deleted
        - You address a field symbol that had previously been reset using
          UNASSIGN, or that pointed to a local field that no longer exists
        - You address a global function interface parameter, even
          though the relevant function module is not active,
          that is it is not in the list of active calls. You can get the list
          of active calls from the this short dump.
    Information on where terminated
        The termination occurred in the ABAP program "SAPLBBP_PDH_SEARCH" in
         "SUB_LIST_GET".
        The main program was "SAPLBBP_PO_UI_ITS ".
        The termination occurred in line 191 of the source code of the (Include)
         program "LBBP_PDH_SEARCHF10"
        of the source code of program "LBBP_PDH_SEARCHF10" (when calling the editor
         1910).
    Thanks.

  • Fields only to be displayed for last line item

    I copied WESCHEINVERS3( goods receipt form) script to zxxxx and placed some fields  in Main window using Perform statement. When i am displaying the output these fields are getting displayed under each line item. but i want them to be displayed under last line item.Please suggest how can i do this.
    Thanks
    K Srinivas

    data: v_cnt1 type i, v_cnt2 type i.
    count the number line item using describe lines statement in V_cnt1
    and in the table loop count the number of item into V_cnt2.
    place the field that you want at the end of all line item in the footer of the table and put  a condition in the condition tab v_cnt1 = v_cnt2.

Maybe you are looking for

  • How to make a horizontal line in java html browser?? without hr

    I use java html browser I want to make a black horizontal line the <hr> line is not good for my customer it seems that there is a double spacing in this case I tried to write <td style = "BORDER-BOTTOM: 1px solid #000000"> ... but it does not work I

  • Mouse hand over a block of multiple records help

    Hello , i have add a bean i my form so that i could change the cursor to a hand when the mouse is over an item. the problem that i have is that the block is a multiple record block i am showing 5 records. so the mouse change only in the first record

  • MacBook Pro 3.1 boots up freezes then shuts down before sign in screen

    I recently upgraded to Yosemite from Mavericks and now my MacBook Pro 3.1 when Iturned on takes me to my login screen (sometimes other times even before the login screen) freezes up, I can't make the mouse cursor move and keyboard does not function t

  • Can I apply Burn to a composite image but without flattening?

    I want to apply Burn to a flattened image, but without flattening. My image consists of several layers, and if I apply Burn to the image layer it doesn't work as well as when applied to the flattened image. But I don't want to flatten the image. Is i

  • Can't Find My Classes

    Hello, I just go through installing Tomcat 4.1.18 LE on my windows XP. I had previously had 4.0 installed some time ago, but it has been a while since I have "played" with servlets. I am able to bring up forms that I have created, I am able to compil