SAP BPC Read Master Data

How to read the master data from the SAP BPC… Yes, please use the following code to get master data in BPC 10.0. Notice the use of the “SEL_ALL_ATTR” method below. By passing the “Y” to the INC_TXT parameter, it […]

Continue reading »

BPC Read Transaction Data From Dimension

How to read the transaction data which is stored in the BPC system or in various attributes of dimension. DATA: lv_environment_id TYPE uj_appset_id VALUE ‘TESTENV’, lv_application_id TYPE uj_appl_id VALUE ‘TESTMODEL’, lt_dim_list TYPE uja_t_dim_list, lo_appl_mgr TYPE REF TO if_uja_application_manager, lo_query TYPE […]

Continue reading »

SAP introduced Filters in ABAP 7.4

The filter can be used in place of nested loop types : begin of lty_vbrk, vbeln type vbrk-vbeln, fkart type vbrk-fkart, end of lty_vbrk. data : lt_vbrk type standard table of lty_vbrk with non-unique sorted key fkart components fkarts. Select […]

Continue reading »

SAP Read Statement changed in 7.4 ABAP

Syntax for the read statement has changed, now you can use the below syntax select vbeln, Fkart from vbrk into table @data(lt_vbrk) up to 10 rows. try. data(ls_vbrk) = lt_vbrk[ vbeln = ‘1’ fkart = ‘Z001’ ]. CATCH CX_SY_ITAB_LINE_NOT_FOUND. ENDTRY.

Continue reading »

ABAP 7.4 Syntax

Now syntax are there and they help in improving the speed of ABAP. Now one can use Move-corresponding with better performance, Reading Lines or records of internal table. TYPES : BEGIN OF LTY_VBRK, FKART TYPE VBRK-FKART, VBELN TYPE VBRK-VBELN, *bill_no […]

Continue reading »

Asset Tables

SAP asset table which capture all the information on of transactions done on asset. FAAV_LINEITEMS_S :Asset Transaction details with 3 currency is available FAAT_DOC_IT : Depreciation Posted and parked with the document number

Continue reading »

BAPI for Unplanned depreciation T-Code ABAA

There is a BAPI which can be used to post the unplanned depreciation in SAP   AMDP_BAPI_CALL_ON_TRANSACTION. DATA : lv_code   TYPE sy–ucomm VALUE ‘SAVE’, ls_raifp2 TYPE raifp2, lt_raifp2 TYPE TABLE OF raifp2, ls_raifp3 TYPE raifp3, lt_raifp3 TYPE TABLE OF raifp3, lt_return TYPE TABLE OF bapiret2, ls_raifp4 TYPE raifp4, ls_raifp1 TYPE raifp1. ls_raifp1–gsvor = ls_raifp1–vorgn = ‘AFAP’. ls_raifp1–bwasl = ‘650’. ls_raifp1–budat = ls_raifp1–bldat = ls_raifp1–bzdat = ‘20181218’. ls_raifp1–waers = ‘INR’.   “CURRENCY ls_raifp2–bukrs = ‘1000’. “Company Code ls_raifp2–anln1  = ‘1100000080’. *ls_RAIFP2-ANLN2  =          […]

Continue reading »

Refresh ALV Report after return from dialog screen

When ALV is created using FM REUSE_ALV_GRID_DISPLAY, you wish to change/refresh the data once you call any transaction or after navigating from any other screen. This code needs to be added in USER-COMMAND Code rs_selfield-refresh = rs_selfield-row_stable = rs_selfield-col_stable = […]

Continue reading »

ALV Toolbar needs to remove button

If you need to remove the button from Oops ALV such as addition etc you can use the below code which will help in removing the buttons from the toolbar. DATA : ls_exclude TYPE ui_func, lt_exclude TYPE ui_functions. ls_exclude = […]

Continue reading »
1 2 3 15