Abap report for budget/actual/commitment

Hi Guru..
Please help me.
Im in urgent
I wanna write an abap program for budget/actual/commitment.
I try to trace prgram s_alr_87013019, but only one table found.
Please let me know which table is using for budget/actual/commitment
report..
Please guru..

Hello Mohd,
The actual,budget and commitment values are stored in the one table COSP.
The values differentiate with field <b>VRGNG</b> - "CO Business Transaction".
If the record has in this field text '<b>COIN</b>' it means that values are "actual".
For example:
OBJNR     PR00000101
GJAHR     2005
KSTAR   101101
VRGNG     <b>COIN</b>
TWEAR   USD
WTG001     100,00
WTG002  200,00
It means that the element PR0000101 has the '<b>actual'</b> operations refering
the cost element 101101, with values: 100,00 USD in january 2005 and
200,00 USD in february 2005.
The next row in the table COSP, clould look like this:
OBJNR     PR00000101
GJAHR     2005
KSTAR   101101
VRGNG     <b>RMBA</b>
TWEAR   USD
WTG001     100,00
WTG002  0,00
This means that there was a <b>'Purchase requisition'</b> in january 2005
with decretation on object PR0000101.
And the next row, could be:
OBJNR     PR00000101
GJAHR     2005
KSTAR   101101
VRGNG     <b>RMBE</b>
TWEAR   USD
WTG001     0,00
WTG002  150,00
And that means that in february 2005 there was a <b>'Purchase order'</b>
with value 150,00 USD decretated on this object.
I hope, that my explanation is now clear and accurate.
- Marta

Similar Messages

  • ABAP Program to List: Budget/Actual/Commitment

    Hello ABAP Gurus,
    I have a very urgent requirement to write a report to list Budget/Actual/Commitment of all the internal orders related to a given company code. I am using ECC 5.0.
    I found very usefull information in this thread.
    Re: Abap report for budget/actual/commitment
    Could any one please send me the logic of your program . .. Please.. It will really help me..
    Thanks in advance.
    Helen.

    hi
    Please reply with the fields for your selection screen. i assume company code is one field. is fiscal year, period etc., are also part of the selection screen?
    Based on the fields that you choose a report can be done.
    looking forward for the update.
    Thanks.

  • Standard report for budget allocated, actual consumed, amount capitalize

    Hi,
    I need report for following condition: Is there any standard report for the same?
    Once the project is capitalized, the system should provide in one report
    the budget allocated, amount incurred, amount capitalized,
    Date of capitalization and remaining expenses in desired WBS as on desired date.
    Please suggest me, if any standard reports are available?
    Regards
    Bipin

    Dear Bipin,
    1) S_ALR_87013558 - This report will give you information about Budget, Actual, Commitment, Assigned, Budget Avail.
    2) S_ALR_87011990 - Asset History Sheet or S_ALR_87012050 - Direct Capitalization ( Asset Acquistion )
    Hope this will meet you requirement.
    If found useful reward the points.
    Regard's
    Sandeep N.Theurkar

  • Reaminder value from standard report S_ALR_87013558 - Budget/Actual/Commitm

    Dear Gurus,
    Can you explain me the source of value which is shown as 000.2009 Remainder 2009 ( I seams that 000 stands for period) in the report S_ALR_87013558 - Budget/Actual/Commitmt/Rem.Plan/Assg
    Regards
    Project Team1

    hi
    in PS all the Cost reports are read from the Info Database.

  • Abap report for PO details including the person releasing the PO last.

    Hi gurus,
    I need to create a abap report for the purchase order details. I am finding difficulty in getting the last person who released the PO. Can anyone tell me how can I get the person who released the PO last ??
    From which table I can get this detail ??

    Hey hi ,
    thanks for your reply,
    Actually , I already went through the tables before, but here, there is one scenario listed below which is creating the problem :
    1. There are two person related with the release of PO and either of the two can release the PO ( in other's absense ). Now, how to check who released the PO among the two. Here link with the PO is necessary as the person released this PO might not release the next PO.
    Thats why i feel the link of the PO must be existing based on release code too. As suppose the organization assign another manager to release the PO, it should not affect previous PO's released by the Old manager.
    thanks
    Edited by: kanak bhandari on Feb 6, 2008 1:19 PM

  • Abap report for calling abap proxy?

    why do we need  to write abap report for calling abap proxy? i mean what's the use of abap report and what are the things inside the report ...please give me details about abap report.

    Hi,
    In SPROXY for your outbound interface you generate the proxy class.
    The ABAP report is used to fill the data from the ABAP tables and then trigger the call to XI using this class.
    Look into the code in this blog and check what is done,. The data is filled in the report and then the call is made to XI using an object of the class created in SPROXY using the EXECUTE_ASYNCHRONOUS method.
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Regards
    Bhavesh

  • Report for budget

    can a report be generated for
    Indent status budget wise or Budget consumed through indents, budget consumed through purchase order.

    Hi,
    What budget do you mean? Is it CO budget for internal orders? In this case, check this report S_ALR_87013019 - List: Budget/Actual/Commitments.
    Regards,
    Eli

  • Create ABAP Report  for  Infoprovider

    Could anyone tell me Function module to fetch Infoprovider(s) for creating ABAP report on.
    The report should provide:
    Input:
    - Infoprovider(s)
    - Date-range: default: last 6 months
    Output:
    - data which is shown in the requests tab as described before, preceeded with the name of the infoprovider and having the possibility to download to Excel.
    Thanks

    Hi,
    you can easily use it as a template to create your own program. The program just shows what to do and how you need to populate the tables in order to pass selection parameters to the fm to get the required data back.
    Here a little demo I created to do it a bit flexible from different cubes:
    DATA: ref_data_tab TYPE REF TO data,
          ref_data_line TYPE REF TO data,
          it_sfc TYPE rsdri_th_sfc,
          l_sfc TYPE rsdri_s_sfc,
          it_sfc2 TYPE rsdd_th_sfc,
          l_sfc2 TYPE rrsfc01,
          it_sfk TYPE rsdri_th_sfk,
          l_sfk TYPE rsdri_s_sfk,
          it_sfk2 TYPE rsdd_th_sfk,
          l_sfk2 TYPE rrsfk01,
          l_first_call TYPE rs_bool,
          l_end_of_data TYPE rs_bool,
          l_tabname(30) TYPE c,
          l_cube(30) TYPE c,
          it_cobpro TYPE rsd_t_cob_pro,
          l_cobpro TYPE rsd_s_cob_pro.
    FIELD-SYMBOLS: <e_t_data> TYPE table,
                   <l_data> TYPE ANY,
                   <fs_field>.
    PARAMETERS: pa_cube TYPE rsinfoprov OBLIGATORY DEFAULT '/NBAG/CML_C05',
                pa_debug AS CHECKBOX.
    IF pa_cube(1) = '0'.
      CONCATENATE '/BI0/V' pa_cube '2' INTO l_tabname.
    ELSE.
      CONCATENATE '/BIC/V' pa_cube '2' INTO l_tabname.
    ENDIF.
    CREATE DATA ref_data_tab TYPE TABLE OF (l_tabname).
    CREATE DATA ref_data_line TYPE (l_tabname).
    ASSIGN ref_data_tab->* TO <e_t_data>.
    ASSIGN ref_data_line->* TO <l_data>.
    IF pa_debug = 'X'.
      BREAK-POINT.
    ENDIF.
    CALL FUNCTION 'RSD_COB_PRO_ALL_GET'
      EXPORTING
        i_infocube                      = pa_cube
      I_WITH_ATR_NAV                  = RS_C_FALSE
      I_WITH_META_IOBJ                = RS_C_FALSE
      I_OBJVERS                       = RS_C_OBJVERS-ACTIVE
      I_BYPASS_BUFFER                 = RS_C_FALSE
    IMPORTING
       e_t_cob_pro                     = it_cobpro
      E_T_IOBJ_CMP                    =
      E_T_ATR                         =
      E_TLOGO                         =
    EXCEPTIONS
       infocube_not_found              = 1
       error_reading_infocatalog       = 2
       illegal_input                   = 3
       OTHERS                          = 4.
    IF sy-subrc <> 0.
      WRITE: / sy-subrc, sy-msgno, sy-msgid, sy-msgv1, sy-msgv2, sy-msgv3.
    ENDIF.
    CLEAR: it_sfk[], it_sfc[].
    LOOP AT it_cobpro INTO l_cobpro.
      IF l_cobpro-iobjtp = 'KYF'.
        IF l_cobpro-ncumfl IS INITIAL.
          l_sfk-kyfnm = l_cobpro-iobjnm.
          l_sfk-kyfalias = l_cobpro-iobjnm.
          l_sfk-aggr = l_cobpro-aggrgen.
          INSERT l_sfk INTO TABLE it_sfk.
          MOVE-CORRESPONDING l_cobpro TO l_sfk2.
          INSERT l_sfk2 INTO TABLE it_sfk2.
        ENDIF.
      ELSE.
        IF l_cobpro-dimension NP '*P'.
          l_sfc-chanm = l_cobpro-iobjnm.
          l_sfc-chaalias = l_cobpro-iobjnm.
          l_sfc-orderby = 0.
          INSERT l_sfc INTO TABLE it_sfc.
          MOVE-CORRESPONDING l_cobpro TO l_sfc2.
          INSERT l_sfc2 INTO TABLE it_sfc2.
        ENDIF.
      ENDIF.
    ENDLOOP.
    CLEAR l_end_of_data.
    l_first_call = 'X'.
    WHILE l_end_of_data = space.
      CALL FUNCTION 'RSDRI_INFOPROV_READ'
        EXPORTING
          i_infoprov                   = pa_cube
          i_th_sfc                     = it_sfc
          i_th_sfk                     = it_sfk
      I_T_RANGE                    =
      I_TH_TABLESEL                =
      I_T_RTIME                    =
       i_reference_date             = sy-datum
      I_T_REQUID                   =
      I_SAVE_IN_TABLE              = ' '
      I_TABLENAME                  =
      i_save_in_file               = 'X'
      i_filename           = 'C:\test.csv'
       i_packagesize                = 1000
      I_MAXROWS                    = 0
         i_authority_check            = ' '
      I_CURRENCY_CONVERSION        = RS_C_TRUE
       i_use_db_aggregation         = ' '
       i_use_aggregates             = ' '
       i_rollup_only                = ' '
      I_READ_ODS_DELTA             = RS_C_FALSE
      I_CALLER                     = RSDRS_C_CALLER-RSDRI
      I_DEBUG                      = RS_C_FALSE
       IMPORTING
         e_t_data                     = <e_t_data>
         e_end_of_data                = l_end_of_data
      E_AGGREGATE                  =
      E_SPLIT_OCCURRED             =
        CHANGING
          c_first_call                 = l_first_call
       EXCEPTIONS
         illegal_input                = 1
         illegal_input_sfc            = 2
         illegal_input_sfk            = 3
         illegal_input_range          = 4
         illegal_input_tablesel       = 5
         no_authorization             = 6
         ncum_not_supported           = 7
         illegal_download             = 8
         illegal_tablename            = 9
         trans_no_write_mode          = 10
         inherited_error              = 11
         x_message                    = 12
         OTHERS                       = 13.
      IF sy-subrc <> 0.
        WRITE: / sy-subrc, sy-msgno, sy-msgid, sy-msgv1, sy-msgv2, sy-msgv3.
        EXIT.
      ELSE.
        LOOP AT <e_t_data> INTO <l_data>.
          WRITE: / sy-tabix, ':'.
          LOOP AT it_cobpro INTO l_cobpro.
            IF l_cobpro-ncumfl IS INITIAL.
              ASSIGN COMPONENT l_cobpro-iobjnm OF STRUCTURE <l_data>
                  TO <fs_field>.
              IF sy-subrc = 0.
                WRITE: <fs_field>.
              ENDIF.
            ENDIF.
          ENDLOOP.
        ENDLOOP.
      ENDIF.
      CLEAR: l_first_call, <e_t_data>[].
      IF l_end_of_data <> space.
        EXIT.
      ENDIF.
    ENDWHILE
    Hope this helps a bit
    regards
    Siggi

  • Any Best Practices for developing custom ABAP reports for Portal?

    Hello,
    The developers on our project are debating the best way to develop custom reports and make them available on the portal.  Of these options that we can think of, can you give any pros & cons, or experiences, or other options?
    - Web-enabled Abap report programs
    - WebDynpro for Abap
    - WebDynpro for Abap using ALV
    - Adobe forms
    Does a "Best Practices" document or blog exist on this topic?
    Thanks,
    Colleen

    Re: Using p_trace=YES

  • Reporting for PIRs: actual consumption against plan

    Hi all,
    can you recommend what standard reports can show actual consumption figures against plan in PIRs. Collective report is needed, looks like rows with columns for material code, plan figure, consumed figure and this is for given periods. And plan figure should be quantitiy without reduction quantities (that is initial quantitiy in PIR).
    Thanks in advance!

    Vivek wrote:
    I would still suggest, use the report (shouldn't take more than 30 mins. of your time) & it would greatly help in your 'estimation effort'.
    Thank you for your suggestion.
    I can start this transaction (MD73) and see some figures, but cannot make GI due to some reasons in existing environment (migo goes into dump). That is why I'm asking about reduction, what results will be showm by this report - planned figures as originally planned or reduced ones after issuing.

  • ABAP report for Active Product Categories by Vendor

    Hi,
    I have been trying to write an ABAP report in SRM to list all vendors attached to active product categories. My problem is identifying the active product categories. Can anyone help me identify these?
    Regards,
    Conor

    Some alternative is in KSB1 (Cost center line item report) - you can change the layout and include offsetting account and its text.
    But, in vendor line item report, if you want vendor number, vendor number, GL account number (offsetting) account and its text, then you should go with abap development.
    Have a look at the following note, if really serves your purpose.
    Note 1504612 - Line items: Offsetting account info (BAdI FI_ITEMS_CH_DATA)

  • Standard ABAP report for XI performance monitoring?

    Hi All,
    Is there any standard ABAP report that can be run in ECC, that would provide summary of which interfaces(namespaces) ran over the 24 hour period in a graphical view.
    Regards,
    XIer

    Hi,
    Performance tuning :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/489f5844-0c01-0010-79be-acc3b52250fd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/defd5544-0c01-0010-ba88-fd38caee02f7?prtmode=navigate
    Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-III
    REgards
    Seshagiri

  • ABAP report for caluculating the average days between invoice day  &posting

    Hi All,
    i have a requirement where in  i should create a report for caluculating average days between the invoice days and posting days.  By counting the total day in a month for which invoice were generated and counting the days on which payements were recived,i should difference those days and take a average for a month. anybody who is having any idea either interms of code or interms of links please help me.

    Hello,
    See this thread [Calculation Of Days|Calculation Of Days;
    Thanks
    Chandran

  • Budget/Actual/Commitment report-S_ALR_87013558

    Hello Experts,
                          Is it possible to get the get this report (S_ALR_87013558) on day basis? I mean to say if i want to see the balances between two particular dates WBS/Project wise, so can i get the same?
    Please suggest..
    Thanks
    Ankur

    Hi,
    Use CJI3 or go to Call Up report from S_ALR_87013558 and filter the report as per Date.
    Regards,
    Nitin

  • Wants to develope the report of Budget, actual , Commitments & availa Bud

    Dear SAP Gurus,
    I want to develope the singlr report as follows,
    I/p : Project defn / Top WBSE
    Out put:-
    Against whole project,
    - Total Original budget
    - Total Actuals
    - Total Commitments
    - Total Assigned value
    - Total Available budget
    I found the  Total Original budget (Field name :- WLGEV) & Total Actuals(Field name:- WTGES) from table BPGE, but could not able to find out other fileds.
    Can anyone guide me for balance work ? (Note:- Please note that I need to find out overall value against the Project & not against the lower level WBSE)
    Thanks & regards,
    Pradip

    Take 'Project for selection as PRPS_PSPHI
    Select all WBSE ie PRPS-OBJNR for which PSPHI is same. This was you select all WBSE for a project.
    =========================================================
    For Actuals:
    pass all PRPS-OBJNR obtained earlier in RPSCO-OBJNR. Put a filter of RPSCO-WRTTP=4 (value type=4).
    In resulting lines do a sum of values in RPSCO-WLP01 to RPSCO-WLP12
    ==========================================================
    For total commitments:
    pass all PRPS-OBJNR obtained earlier in RPSCO-OBJNR. Put a filter of RPSCO-WRTTP=21 & 22 (value type=21 Commitments from Purchase Requisition
    22 Purchase Order Commitment).
    In resulting lines do a sum of values in RPSCO-WLP01 to RPSCO-WLP12
    =========================================================
    Assigned Values=sum of actual+ Rem commitment (assuming u don't have NWA)
    ======================================================

Maybe you are looking for