Abour report containing classes - urgent pls
hi to all,
i have to study this report and analyse output coming how. iam in debugging observed that value(total) last column in the output giving some value in debugging but in output it is giving some other value. can any one pls help me.
like if in debugging it is giving total-as -68.13 but in grid display it is displaying as 473.10 like.
REPORT ZFIRD035 MESSAGE-ID zfi_e1
NO STANDARD PAGE HEADING
LINE-COUNT 58
LINE-SIZE 200.
Author.......:*
Date Created.: Aug 21, 2006
Request #....: *
Purpose......: This program summarizes accounting journal entries
by biller. The biller is recognized by the first three
chararcters of the reference field.
Inputs.......:
Outputs......: *
Selections...: *
Logical D/B..: *
Includes.....: *
Predefine a local class for event handling to allow the
declaration of a reference variable before the class is defined.
CLASS lcl_event_receiver DEFINITION DEFERRED.
TABLES:
bkpf, "Accounting document header
bseg, "Accounting document segment
zmapzce1. "CostElement to ZCE1COPA Mapping
TYPES: BEGIN OF disp_tab , "Internal Table D_TAB
usnam LIKE bkpf-usnam, "User Id
blart LIKE bkpf-blart, "Document type
bukrs LIKE bkpf-bukrs, "Company code
bldat LIKE bkpf-bldat, "Date of the document
xblnr LIKE bkpf-xblnr, "refernce number
belnr LIKE bkpf-belnr, "Accounting document number
buzei LIKE bseg-buzei, "Line Item Number
prctr LIKE bseg-prctr, "Profit center
kostl LIKE bseg-kostl, "Cost center
hkont LIKE bseg-hkont, "Account number
matnr LIKE bseg-matnr, "Product code
aufnr LIKE bseg-aufnr, "Internal order
projk LIKE bseg-projk, "WBS Element
budat LIKE bkpf-budat, "Posting date
bschl LIKE bseg-bschl, "Posting Key
dmbtr LIKE bseg-dmbtr, "Amount in document currency
sgtxt LIKE bseg-sgtxt, "Description
zuonr LIKE bseg-zuonr, "Allocation
shkzg LIKE bseg-shkzg, "Debit/Credit Indicator
END OF disp_tab.
DATA: gv_prdha_all LIKE mara-prdha.
FIELD-SYMBOLS: .
DATA: BEGIN OF gv_prdha,
wwph1(5) TYPE c,
wwph2(5) TYPE c,
wwph3(8) TYPE c.
DATA: END OF gv_prdha.
DATA save_matnr LIKE mara-matnr.
DATA: d_tab TYPE disp_tab OCCURS 0 WITH HEADER LINE.
TYPES: BEGIN OF out_tab2. "Internal Table out_TAB
INCLUDE STRUCTURE zfirevje.
TYPES: END OF out_tab2.
DATA: BEGIN OF zfirevje OCCURS 50.
INCLUDE STRUCTURE zfirevje.
DATA: END OF zfirevje.
DATA: ok_code LIKE sy-ucomm,
gt_jesum TYPE TABLE OF zfirevje,
gt_jesum2 TYPE zfirevje OCCURS 100 WITH HEADER LINE,
g_container TYPE scrfname VALUE 'ZFIRD035_0100_CONT1',
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Added:
Field catalog table
git_fieldcat TYPE lvc_t_fcat, "field catalog table
End of Change - DR1K901005 - JIRA#: ENT-93----
grid1 TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container,
event_receiver TYPE REF TO lcl_event_receiver.
lcl_event_receiver (Implementation)
LOCAL CLASSES: Definition
*===============================================================
class lcl_event_receiver: local class to handle event DOUBLE_CLICK
and CLOSE.
Definition:
~~~~~~~~~~~
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING e_row e_column.
PRIVATE SECTION.
DATA: dialogbox_status TYPE c. "'X': does exist, SPACE: does not ex.
ENDCLASS.
lcl_event_receiver (Definition)
*===============================================================
LOCAL CLASSES: Implementation
*===============================================================
class c_event_receiver (Implementation)
In this example, only event DOUBLE_CLICK is caught
CLASS lcl_event_receiver IMPLEMENTATION.
§3.At doubleclick(1): The event DOUBLE_CLICK provides
parameters of the clicked row and column.
Use row parameter to select a line of the
corresponding internal table.
METHOD handle_double_click.
DATA: ls_jesum LIKE LINE OF gt_jesum.
read selected row from internal table gt_sflight
read table gt_jesum index e_row-index into ls_jesum.
call function 'REMD_SHOW_MASTER_DATA'
exporting
i_objnr = ls_jesum-recnobjnr
I_IMKEY =
I_INTRENO =
I_CHANGE = ' '
exceptions
unknown_type = 1
object_key_inconsistent = 2
others = 3.
ENDMETHOD.
ENDCLASS.
DATA: x_save, "for Parameter I_SAVE
gs_layout TYPE lvc_s_layo,
gs_variant TYPE disvariant. "for parameter IS_VARIANT
DATA: BEGIN OF fieldnames OCCURS 25,
fieldname(30) TYPE c, "download col names
END OF fieldnames.
DATA:
program_name LIKE sy-repid, "Program Name for Call
title_line_1 LIKE sy-title, "Report Title Line 1
title_line_2 LIKE sy-title, "Report Title Line
title_line_3 LIKE sy-title, "Report Title Line
sum_cdmbtr LIKE bseg-dmbtr, "Sum credit amt for document
sum_ddmbtr LIKE bseg-dmbtr, "Sum debit amt for document
total_cdmbtr LIKE bseg-dmbtr, "Total credit amount
total_ddmbtr LIKE bseg-dmbtr, "Total debit amount
ddmbtr LIKE bseg-dmbtr, "Debit amount
cdmbtr LIKE bseg-dmbtr, "Credit amount
dec_dmbtr(16) TYPE p DECIMALS 2, "Amount in decimal format
disp_prctr(5) TYPE c, "Work var for prctr
gv_zuonr LIKE bseg-zuonr, "Assignment field
gv_shkzg LIKE bseg-shkzg, "Dr/Cr Ind.
gv_hkont LIKE bseg-hkont, "Account nbr
gv_amount LIKE bseg-pswbt, "G/L amount
gv_currncy LIKE bseg-pswsl, "Currency
gv_matnr LIKE bseg-matnr, "Product
BEGIN OF w_filename,
w_directory(22) TYPE c, "file directory name
w_userid(7) TYPE c, "User Id
w_filenm2(20) TYPE c, "file name continuation
END OF w_filename.
Selection Screen Options ******************
SELECTION-SCREEN BEGIN OF BLOCK rpt WITH FRAME TITLE text-003.
SELECT-OPTIONS: sbukrs FOR bkpf-bukrs OBLIGATORY,
sbelnr FOR bkpf-belnr,
sgjahr FOR bkpf-gjahr OBLIGATORY,
smonat FOR bkpf-monat OBLIGATORY,
sxblnr FOR bkpf-xblnr,
sprctr FOR bseg-prctr,
shkont FOR bseg-hkont.
shkont FOR zmapzce1-saknr."G/L account number
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Removed:
*SELECTION-SCREEN BEGIN OF LINE.
*SELECTION-SCREEN COMMENT 1(31) text-005.
*PARAMETERS: p_pdtls AS CHECKBOX DEFAULT ' '. "flag
*SELECTION-SCREEN END OF LINE.
*SELECTION-SCREEN BEGIN OF LINE.
*SELECTION-SCREEN COMMENT 1(31) text-004.
*PARAMETERS: p_hdtls AS CHECKBOX DEFAULT ' '. "flag
*SELECTION-SCREEN END OF LINE.
End of Change - DR1K901005 - JIRA#: ENT-93----
SELECTION-SCREEN END OF BLOCK rpt.
INITIALIZATION.
init accounts
MOVE 'I' TO shkont-sign.
MOVE 'EQ' TO shkont-option.
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Removed:
MOVE '0000200000' TO shkont-low.
MOVE '0000299999' TO shkont-high.
*>>> Added:
MOVE '0000400100' TO shkont-low.
MOVE '0000400199' TO shkont-high.
End of Change - DR1K901005 - JIRA#: ENT-93----
APPEND shkont.
START-OF-SELECTION.
set pf-status 'VDOC'.
PERFORM get_je_data
TABLES gt_jesum.
IF sy-subrc = 0.
CALL SCREEN 100.
ELSE.
MESSAGE ID 'F5' TYPE 'S' NUMBER '194'.
ENDIF.
END-OF-SELECTION.
*& Form get_je_data
loads the internal table for jesum
FORM get_je_data TABLES gt_jesum STRUCTURE zfirevje.
SELECT *
FROM bkpf
WHERE bukrs IN sbukrs
AND belnr IN sbelnr
AND gjahr IN sgjahr
AND monat IN smonat
AND xblnr IN sxblnr.
PERFORM save_to_dtab.
CLEAR: gv_zuonr, gv_shkzg, gv_amount,
gv_hkont, gv_currncy, gv_matnr.
SELECT zuonr shkzg pswbt
pswsl hkont matnr
INTO (gv_zuonr, gv_shkzg, gv_amount,
gv_currncy, gv_hkont, gv_matnr)
FROM bseg
WHERE bukrs EQ bkpf-bukrs "IN sbukrs
AND belnr EQ bkpf-belnr "IN sbelnr
AND gjahr EQ bkpf-gjahr "IN sgjahr
AND hkont IN shkont
AND prctr IN sprctr.
PERFORM save_to_outtab TABLES gt_jesum.
ENDSELECT.
ENDSELECT.
ENDFORM.
FORM SAVE_TO_DTAB *
FORM save_to_dtab.
CLEAR d_tab.
MOVE-CORRESPONDING bkpf TO d_tab.
APPEND d_tab.
ENDFORM.
FORM SAVE_TO_OUTTAB *
FORM save_to_outtab TABLES gt_jesum STRUCTURE zfirevje.
DATA: tempamount LIKE tdrxx-wrbtr,
subacct(2) TYPE c.
CLEAR: gt_jesum, tempamount, subacct.
IF d_tab-xblnr+0(1) = '@'.
gt_jesum-zbiller = d_tab-xblnr+1(2).
Start of Change - DR1K901241 - JIRA#: ENT-102----
*>>> Removed:
gt_jesum-zcyclenbr = gv_zuonr+6(2).
*>>> Added:
gt_jesum-zcyclenbr = gv_zuonr+3(2).
SELECT SINGLE zbillname
INTO gt_jesum-zbillname
FROM zbillers
WHERE zbiller = gt_jesum-zbiller.
IF sy-subrc <> 0.
gt_jesum-zbillname = 'Non-biller entries'.
ENDIF.
End of Change - DR1K901241 - JIRA#: ENT-102----
ELSE.
gt_jesum-zbiller = d_tab-xblnr+0(2).
gt_jesum-zbillname = 'Non-biller entries'.
ENDIF.
*>>> Removed: IES out now identified by biller @NX
IF gt_jesum-zbillname = 'IES'.
IF gv_matnr IS INITIAL.
gt_jesum-zbillname = 'IES-OUT'.
ELSE.
gt_jesum-zbillname = 'IES-IN'.
ENDIF.
ENDIF.
Start of Change - DR1K901241 - JIRA#: ENT-102----
*>>> Removed:
gt_jesum-zruntype = gv_zuonr+3(2).
*>>> Added:
gt_jesum-zruntype = gv_zuonr(2).
End of Change - DR1K901241 - JIRA#: ENT-102----
IF d_tab-xblnr+0(1) = '@'.
CASE gt_jesum-zruntype.
WHEN 'RB'. gt_jesum-zruntype_desc = 'Billed'.
WHEN 'UB'. gt_jesum-zruntype_desc = 'Unbilled'.
WHEN OTHERS. gt_jesum-zruntype_desc = 'Other bller entries'.
ENDCASE.
ELSE.
gt_jesum-zruntype_desc = 'Non-biller entry'.
ENDIF.
IF gv_shkzg = 'H'.
tempamount = gv_amount * -1.
ELSE.
tempamount = gv_amount.
ENDIF.
subacct = gv_hkont+8(2).
CASE subacct.
WHEN '00'. "Gross Billing
gt_jesum-vvgrb001 = tempamount.
WHEN '80'. "Accruals
gt_jesum-vvbaa001 = tempamount.
WHEN '85'. "Reversals
gt_jesum-vvrba001 = tempamount.
WHEN '15'. "Discount
gt_jesum-vvdis001 = tempamount.
WHEN '81'. "Discount Accruals
gt_jesum-vvdac001 = tempamount.
WHEN '86'. "Discount Reversals
gt_jesum-vvrda001 = tempamount.
WHEN '70'. "Other
gt_jesum-vvoth001 = tempamount.
WHEN '65'. "Sale Allowance
gt_jesum-vvsa001 = tempamount.
WHEN '60'. "Reba tes
gt_jesum-vvrab001 = tempamount.
WHEN '10'. "Adjustments
gt_jesum-vvadj001 = tempamount.
WHEN '75'. "Manual Bils
gt_jesum-vvman001 = tempamount.
WHEN '20'. "Inbound Settlements
gt_jesum-vvinb001 = tempamount.
ENDCASE.
gt_jesum-total = tempamount.
gt_jesum-pswsl = gv_currncy.
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Removed:
IF p_pdtls = 'X' OR p_hdtls = 'X'.
PERFORM get_product_hierarchy
USING gv_matnr
CHANGING gt_jesum-matnr
gt_jesum-wwph1
gt_jesum-wwph2
gt_jesum-wwph3.
ENDIF.
End of Change - DR1K901005 - JIRA#: ENT-93----
COLLECT gt_jesum.
SORT gt_jesum BY zbiller zruntype.
ENDFORM.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
SET PF-STATUS 'MAIN100'.
IF g_custom_container IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
CREATE OBJECT grid1
EXPORTING i_parent = g_custom_container.
CALL METHOD grid1->get_frontend_layout
IMPORTING
es_layout = gs_layout.
gs_layout-cwidth_opt = 'X'.
CALL METHOD grid1->set_3d_border
EXPORTING
border = 1.
gs_layout-grid_title =
'Revenue journal entry summary by biller and type'(100).
x_save = 'A'.
gs_variant = '/ZFIRD035'.
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Added:
PERFORM prepare_field_catalogue.
End of Change - DR1K901005 - JIRA#: ENT-93----
CALL METHOD grid1->set_table_for_first_display
EXPORTING
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Removed:
i_structure_name = 'ZFIREVJE'
End of Change - DR1K901005 - JIRA#: ENT-93----
is_variant = gs_variant
is_layout = gs_layout
i_save = x_save
CHANGING it_outtab = gt_jesum
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Added:
it_fieldcatalog = git_fieldcat[]
End of Change - DR1K901005 - JIRA#: ENT-93----
->Create Object to receive events and link them to handler methods.
When the ALV Control raises the event for the specified instance
the corresponding method is automatically called.
CREATE OBJECT event_receiver.
SET HANDLER event_receiver->handle_double_click FOR grid1.
*CALL METHOD grid1->refresh_table_display
EXPORTING
IS_STABLE = <structure of type LVC_S_STBL >
I_SOFT_REFRESH = 'X'.
ENDIF.
ENDMODULE.
MODULE PAI INPUT *
MODULE pai INPUT.
to react on oi_custom_events:
DATA: lt_t_row TYPE lvc_t_row,
wa_t_row LIKE LINE OF lt_t_row,
ls_jesum LIKE LINE OF gt_jesum.
CALL METHOD cl_gui_cfw=>dispatch.
CASE ok_code.
WHEN 'EXIT'.
PERFORM exit_program.
WHEN 'BACK'.
PERFORM exit_listing.
WHEN OTHERS.
do nothing
ENDCASE.
CLEAR ok_code.
ENDMODULE.
FORM EXIT_PROGRAM *
FORM exit_program.
CALL METHOD g_custom_container->free.
CALL METHOD cl_gui_cfw=>flush.
LEAVE PROGRAM.
ENDFORM.
*& Form exit_Listing
text
--> p1 text
<-- p2 text
FORM exit_listing.
CALL METHOD g_custom_container->free.
CALL METHOD cl_gui_cfw=>flush.
LEAVE TO TRANSACTION 'ZF06'.
ENDFORM. " exit_Listing
*& Form get_product_hierarchy
text
-->P_GV_MATNR text
<--P_GT_WWPH1 text
<--P_GT_WWPH2 text
<--P_GT_WWPH3 text
FORM get_product_hierarchy USING p_gv_matnr
CHANGING p_gt_matnr
p_gt_wwph1
p_gt_wwph2
p_gt_wwph3.
IF p_gv_matnr = gv_prdha_all.
ENDIF.
ENDSELECT.
ELSE.
ENDIF.
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Removed:
IF p_pdtls = 'X'.
p_gt_matnr = p_gv_matnr.
ENDIF.
IF p_hdtls = 'X'.
p_gt_wwph1 = gv_prdha-wwph1.
p_gt_wwph2 = gv_prdha-wwph2.
p_gt_wwph3 = gv_prdha-wwph3.
ENDIF.
End of Change - DR1K901005 - JIRA#: ENT-93----
ENDFORM. " get_product_hierarchy
Start of Change - DR1K901005 - JIRA#: ENT-93----
*>>> Added:
FORM prepare_summary_catalogue
Prepare catalogue for Report
FORM prepare_field_catalogue.
DATA: lwa_fieldcat TYPE lvc_s_fcat.
REFRESH: git_fieldcat.
CLEAR git_fieldcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
I_STRUCTURE_NAME = 'ZFIREVJE'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
CHANGING
ct_fieldcat = git_fieldcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 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.
Do not display Material, ProH1, ProH2, and ProHLe3.
READ TABLE git_fieldcat INTO lwa_fieldcat
WITH KEY fieldname = 'MATNR'.
lwa_fieldcat-no_out = 'X'.
MODIFY git_fieldcat FROM lwa_fieldcat INDEX sy-tabix.
READ TABLE git_fieldcat INTO lwa_fieldcat
WITH KEY fieldname = 'WWPH1'.
lwa_fieldcat-no_out = 'X'.
MODIFY git_fieldcat FROM lwa_fieldcat INDEX sy-tabix.
READ TABLE git_fieldcat INTO lwa_fieldcat
WITH KEY fieldname = 'WWPH2'.
lwa_fieldcat-no_out = 'X'.
MODIFY git_fieldcat FROM lwa_fieldcat INDEX sy-tabix.
READ TABLE git_fieldcat INTO lwa_fieldcat
WITH KEY fieldname = 'WWPH3'.
lwa_fieldcat-no_out = 'X'.
MODIFY git_fieldcat FROM lwa_fieldcat INDEX sy-tabix.
ENDFORM. "prepare_field_catalogue
End of Change - DR1K901005 - JIRA#: ENT-93----
Hi,
I would suggest that you post this on the ABAP forum.
From a functional point of view is there any exchange rate involved that is converting the field to the local currency?
Steve B
Similar Messages
-
A simple ALV report using classes & methods ...
i want a simple ALV report using classes & methods ...
my requirement : i have to use classes & methods instead of calling a function module to display in grid or list format.
plz send me with explanation ASAP...it's very urgent..
Thanks in advance .Hi
Please refer
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
U can use methods for vreating ALVs.
There is a method named set_table_for_first_display in OOP Concepts.
Use this Object Oriented Approach for ALV Creation
Calling the method set_table_for_first_display
CALL METHOD cust_alv->set_table_for_first_display
EXPORTING
is_layout = gst_layout
CHANGING
it_outtab = gt_list
it_fieldcatalog = gt_fcat
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Object Creation and all
Creation of Object for Container
CREATE OBJECT cust_container
EXPORTING
container_name = 'ALV_CONTAINER'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
others = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Creation of Object for ALV Grid
CREATE OBJECT cust_alv
EXPORTING
i_parent = cust_container
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 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.
Layout settings
gst_layout-zebra ='X'.
gst_layout-cwidth_opt = 'X'.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
I_STRUCTURE_NAME = 'ZCS_INACTV_CUST'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 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.
Calling the method set_table_for_first_display
CALL METHOD cust_alv->set_table_for_first_display
EXPORTING
is_layout = gst_layout
CHANGING
it_outtab = gt_list
it_fieldcatalog = gt_fcat
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
For object oriented concepts refer this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
Reaward if helpful -
I have a MacBook Pro 13.3 OS- MAC OS X LION.
Whenever I am staring the computer, it says You need to restart your computer by pressing the power button.
I did this number of times and everytime it freezes to the same screen.Solution needed urgently pls.
Thank you for any help in this regard that comes fast.The details of the kernel-panic report is as follows-
Interval Since Last Panic Report: 1458653 sec
Panics Since Last Report: 6
Anonymous UUID: 70BA6A**************************************************
Sun Sep 16 23:00:13 2012
panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff8000290560, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000800028, CR3: 0x000000000a509005, CR4: 0x00000000001606e0
RAX: 0x0000000000000001, RBX: 0x0000000000820000, RCX: 0xffffff801122dc40, RDX: 0x0000000000020501
RSP: 0xffffff80ef3d3da0, RBP: 0xffffff80ef3d3dc0, RSI: 0x000000002b1d78b6, RDI: 0xffffff800342d280
R8: 0xffffff80ef3d3f08, R9: 0xffffff80ef3d3ef8, R10: 0x000000010d901000, R11: 0x0000000000000206
R12: 0xffffff800342d280, R13: 0x0000000000000000, R14: 0xffffff8011cd6500, R15: 0x0000000000800000
RFL: 0x0000000000010206, RIP: 0xffffff8000290560, CS: 0x0000000000000008, SS: 0x0000000000000000
CR2: 0x0000000000800028, Error code: 0x0000000000000000, Faulting CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff80ef3d3a50 : 0xffffff8000220792
0xffffff80ef3d3ad0 : 0xffffff80002c4794
0xffffff80ef3d3c80 : 0xffffff80002da55d
0xffffff80ef3d3ca0 : 0xffffff8000290560
0xffffff80ef3d3dc0 : 0xffffff800026c9c3
0xffffff80ef3d3f40 : 0xffffff80002c3fbb
0xffffff80ef3d3fb0 : 0xffffff80002da481
BSD process name corresponding to current thread: fsck_hfs
Mac OS version:
11E2620
Kernel version:
Darwin Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012; root:xnu-1699.31.2~1/RELEASE_X86_64
Kernel UUID: 25EC645A-8793-3201-8D0A-23EA280EC755
System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
System uptime in nanoseconds: 4850001132
last loaded kext at 1796984176: com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.7f2 (addr 0xffffff7f80e16000, size 57344)
loaded kexts:
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.7f2
com.apple.driver.AppleUSBTCButtons 227.6
com.apple.driver.AppleUSBTCKeyEventDriver 227.6
com.apple.driver.AppleUSBTCKeyboard 227.6
com.apple.driver.AppleIRController 312
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.SCSITaskUserClient 3.2.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCISerialATAPI 2.0.3
com.apple.iokit.IOAHCIBlockStorage 2.0.4
com.apple.driver.AppleFWOHCI 4.8.9
com.apple.driver.AirPort.Brcm4331 560.7.21
com.apple.driver.AppleSDXC 1.2.2
com.apple.driver.AppleUSBHub 5.0.8
com.apple.iokit.AppleBCM5701Ethernet 3.2.4b8
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleAHCIPort 2.3.0
com.apple.driver.AppleUSBEHCI 5.0.7
com.apple.driver.AppleUSBXHCI 1.0.7
com.apple.driver.AppleACPIButtons 1.5
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.5
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 195.0.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1.3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 195.0.0
com.apple.driver.AppleUSBBluetoothHCIController 4.0.7f2
com.apple.iokit.IOBluetoothFamily 4.0.7f2
com.apple.driver.AppleFileSystemDriver 13
com.apple.driver.AppleUSBMultitouch 230.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.4
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.4
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleUSBMergeNub 5.0.7
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.2.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IOSCSIArchitectureModelFamily 3.2.1
com.apple.iokit.IOFireWireFamily 4.4.5
com.apple.iokit.IO80211Family 420.3
com.apple.iokit.IOEthernetAVBController 1.0.1b1
com.apple.iokit.IONetworkingFamily 2.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOAHCIFamily 2.0.8
com.apple.iokit.IOUSBFamily 5.0.8
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 177.5
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 331.7
com.apple.iokit.IOStorageFamily 1.7.2
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.5
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4 -
Routine in Bex - urgent pls.
I have 2 columns A and B in the report:
A B C
1234 1234 1234
5903 0 5903
0 3287 3287
I want to get the column C.
So, the condition for the column C would be :
if A<>0 and B <>0 then A
else if A==0 then B
else if B==0 then A
I heared that this can be done by routines . I need the code to do this . Also let me know where to put the code.
This is urgent pls.
VaishaliHi,
No need to write coding.....directly u can get these by unsing formula as told in the above forum....there u get all these conditions in Boolean operators. so just make use of them..
Thanks & Regards -
Hello,
i have the following problem when i first run this Report i have :
REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL.
many other reports i have having this problem pls help
Abdetu..Any help pls...?
i still experience the problem..?
i found out the forulam that causes the problem as it is :
==========================================
function CF_PREVIOUS RETURN Number is
V_MATERIAL_HEIGHT1 NUMBER(40);
V_MAX_SERIAL NUMBER(40);
V_MAX_DATE DATE;
BEGIN
IF :SERIAL > 1 THEN
BEGIN
SELECT MAX(SERIAL)-1
INTO V_MAX_SERIAL
FROM PLN_TANK_TRANSACTION
WHERE TRANSACTION_DATE = :TRANSACTION_DATE
AND TANK_CODE = :TANK_CODE
AND MATERIAL_CODE = :MATERIAL_CODE;
EXCEPTION
WHEN NO_DATA_FOUND THEN V_MAX_SERIAL := 0;
END;
BEGIN
SELECT NVL(MATERIAL_HEIGHT,0)
INTO V_MATERIAL_HEIGHT1
FROM PLN_TANK_TRANSACTION
WHERE PLN_TANK_TRANSACTION.TRANSACTION_DATE = :TRANSACTION_DATE
AND PLN_TANK_TRANSACTION.TANK_CODE = :TANK_CODE
AND PLN_TANK_TRANSACTION.SERIAL = V_MAX_SERIAL
AND PLN_TANK_TRANSACTION.MATERIAL_CODE = :MATERIAL_CODE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
V_MATERIAL_HEIGHT1 := 0;
END;
ELSE --IF :SERIAL = 1 THEN
BEGIN
SELECT MAX(TRANSACTION_DATE)
INTO V_MAX_DATE
FROM PLN_TANK_TRANSACTION
WHERE TRANSACTION_DATE <=:TRANSACTION_DATE
AND TANK_CODE = :TANK_CODE
AND MATERIAL_CODE = :MATERIAL_CODE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
V_MAX_DATE := NULL;
END;
BEGIN
SELECT NVL(MATERIAL_HEIGHT,0)
INTO V_MATERIAL_HEIGHT1
FROM PLN_TANK_TRANSACTION
WHERE SERIAL = V_MAX_SERIAL
AND TRANSACTION_DATE = V_MAX_DATE
AND TANK_CODE = :TANK_CODE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
V_MATERIAL_HEIGHT1:= 0;
END;
END IF;
RETURN (V_MATERIAL_HEIGHT1);
END;
------------------------------------------------------------------------------------------ -
Its urgent pls help me .
how can i call a portal from webdynpro application
my requirment is
i was created webdynpro application.
in that i was created one view . in that i was created one button (go).
if i click that button i want move some other portal.
how can i acchive pls help me.
its urgent.
pls send any example programe
Message was edited by:
madipadiga nagaraju
Message was edited by:
madipadiga nagarajuhi,
there is no direct tcode for going to webdynpro component/interfaces in ecc 6.0.
but u have se58 in ecc 5.0,as webdynpro convertor.u give ur program name and click web dynpro convertor button then it takes u to se80 .but this wda(webdynpro abap) component comes as in application tree hierarchy .
i can say in wda component refers a class .if u select webdynpro component/interface,it ask u to create a class or interface.
after that it automatically generate component controller(it is also a class),
interface view and windows.all these 3 are classes.for every window one interface view will be created.ie.. window is internal visible where as interface view is external visible.
u create view and embed these views in windows.by going to the window layout,right click on the window name and click embed view.u can enbed as many view as u wish.in order to navigate from one view to other view ,click "create navigation" by right clicking the view plugs.
by default windows and view have inbound plugs.this is literally a event of that class.
if u want to navigate from view1 to view2 ,create outbound plug for view1,the click outbound plug of view1 and right click the click create navigation the select inbound plug of view2.
then create a application .this is simillar of creating an object.
click on this object and test .this will open in browser.
for deploying u have use "sap webdynpro iview". -
Container Classes generation confusion
I repost it :
You can run the WebLogic EJB compiler on the JAR file before you deploy the beans,
or you can let WebLogic Server run the compiler for you at deployment time.
For a production environment, which are the pros and contras ? (not considering deploy
time differences on wlserver, of course). Which is the best practice ? Is it suggested
to release the ear with the container classes already generated (run ejbc before)
or delegate the generation to weblogic server ?
Or there aren't any differences ?
Thanks in advance
SergiThanks
Sergi
"Dimitri I. Rakitine" <[email protected]> wrote:
Sergi Vaz <[email protected]> wrote:
Thanks Dimitri.
I agree with you.
In development mode we have our local instances, and we already test thereapp bugs,
ejbc bugs, and so on.
The production environment is on another machine, to which we do not haveaccess.
Besides this (testing), I do not see any other contras.
Can you confirm it to me pls ?I guess there should not be any difference, assuming that everything works
Or you suggest however to generate them "before" (even if already testedin development
environment) ?I think that 7.0 (didn't try it yet) 2-phase deployment will make it safe.
When will the "Autogenerate build.xml for exploded .ear's" be ready ?:)
It is - I use it for prototyping. There are few minor changes for 7.0, and
a few issues
with EJBGen beans. I'm too busy with my day job now - as soon as I'll have
some time I'll
post a working utility.
Actually, you raised a very good question - properly packaged application
contains
all information nesessary not only to deploy it, but also to build it -
WLS does run ejbc
automatically, but I think it can be extended. I just love using Resin for
development - you
can deploy your web app uncompiled and it will compile all .java classes
into .class ones and will
track the changes - if you edit .java file it will recompile it and redeploy
the application.
I think this is much more convinient than 'touch'ing 'REDEPLOY' file, or
copying new .jar's
to the applications folder.
Bye
Sergi
"Dimitri I. Rakitine" <[email protected]> wrote:
While this is a neat feature for development, I do not think you want
to deploy beans in production without knowing that they will ejbc successfully
and that can fail because of application bugs, ejbc bugs etc etc.
Sergi Vaz <[email protected]> wrote:
I repost it :
You can run the WebLogic EJB compiler on the JAR file before you deploythe beans,
or you can let WebLogic Server run the compiler for you at deploymenttime.
For a production environment, which are the pros and contras ? (not
considering
deploy
time differences on wlserver, of course). Which is the best practice
Is it suggested
to release the ear with the container classes already generated (run
ejbc
before)
or delegate the generation to weblogic server ?
Or there aren't any differences ?
Thanks in advance
Sergi --
Dimitri
Dimitri -
I added a dataset to an existing report and broke an aggregation. In the old (i.e. single dataset) report, this expression below worked fine. I wanted to get a distinct count of the vst_ext_id field when my educated field was like "VTE1*"
= CountDistinct(IIF(Fields!educated.Value like "VTE1*", Fields!vst_ext_id.Value, Nothing))
After adding a new dataset, this no longer works and I get the error " A scope is required for all aggregates used outside of a data region unless the report contains exactly one dataset". Having done some research online, I found that I
needed to specify my dataset explicitly and I thought this new expression might work, but still no success...
= CountDistinct(IIF(Fields!educated.Value,"DataSet1" like "VTE12*", Fields!vst_ext_id.Value,"DataSet1", Nothing))
Am I missing something? Based on online responses, this explicit dataset naming convention seems to help most people, but it isn't working for me.
Thanks in advance!
BrianI found the answer. Apparently, my expression syntax was off. This expression does the trick...
= CountDistinct(IIF(Fields!educated.Value like "VTE12*", Fields!vst_ext_id.Value,Nothing),"DataSet1")
I just happened upon this particular syntax searching online. I was trying to specify the dataset name after each .value, but I never got that to work. This is the only time I have found this particular syntax online. -
Report containing 15 sub reports crashing - Crystal Reports 2008
I am using Crystal report 2008 with all latest service packs applied. I have more then 20 different reports wich work absolutely fine and never crash. One of my report contains 15 sub reports since its bringing data from 15 different queries. This consistently keeps crashing everytime I try to run it. Not sure what could be the root cause.
We are using Postgres database and connected to it with ODBC connection using Microsoft DSN.
- All Subreport data is being displayed on Report Footer
- All subreports are included in the Main report page header section. (I have also tried doing it on report footer section but it still crashes)
I have tried searching through the forum and did not find similar issue resolutions. Did someone face similar problems before?
The crash message is:
"crw32.exe has encountered a problem and needs to close. We are sorry of the inconvenience."
Error report contains this data:
AppName: crw32.exe AppVer: 12.2.0.290 ModName: psqlodbc35w.dll
ModVer: 9.0.2.0 Offset: 0004c538
I am using Windows XP
Crystal Report Version Details:
CR Developer Version 12.2.0.290
Product Type: Full
Let me know how can I debug this issue? Any help is appreciated.@Don - We performed extensive testing for this crash issue and found that now this crash is not happening only in one scenario. So we have partially fixed this.
Now the report crashes if I get disconnected from database and reconnect. This is what happens
1. open the report in crystal report 2008
2. try to run the report when db is connected- it works fine.
3. Now disconnect the database (we are using ssh tunnel to connect to db so we just close the tunnel)
4. now try to refresh the report - it fails to retrieve data.
5. Now close the report without saving it.
6. Now Close Crystal Report.
7. Now Connect the DB using ssh tunnel so crystal report can connect.
8. Now open Crystal Report
9. Launch the target report.
10 Preview the report - it works for first time.
11. Now do a refresh keeping same parameters - Report crashes here.
- I tried these steps with some of my other reports and they do not crash.
- Now I have only one report which contains a Postgres Query with date range,order by and a union join.
- No subreports now - I am trying to run this one subreport as a standalone report which I created from scratch(using blank report wizard) and just copied the query.
Any more pointers would help. -
Global_attribute20 field in ap_payment_schedules_all table - Urgent Pls
All,
Version: 11.5.10.2
I created an invoice, from the 'Scheduled Payments' tab I checked the 'Hold' flag. After the flag is checked in the UI, I noticed the global_attribute20 field in the ap_payment_schedules_all updates to 'EP' along with the hold_flag='Y'. I want to know the significance of global_attribute20 and what are all the other possible values of this field like 'EP'??
this is quite urgent, pls help.
rgds
senHave you tried to enable trace on this form to find out how this column gets populated?
FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1] -- 3. How does one enable trace in the Oracle Application screens / forms?
Can you reproduce the issue with other invoices?
Do you have any other instance where you can try the same and see if the issue is reproducible?
Thanks,
Hussein -
Exception Handling for many bean objects of a container class in a JSP page
Hello,
I have on container bean class. In this container class, there are several others class objects and the getter methods to get these objects out to the JSP pages.
I have one JSP page which will use different objects in the container class object through the getter methods of the container class.
My question is how to implement the exception handler for all the objects in the container so that the JSP page can handle all exceptions if occurrs in any object in the container?
Please give me some suggestions. Thanks
TuThanks for your reply.
Since the container is the accessor class, I have no other super class for this container class, I think I will try the try catch block in the getter methods. -
SCCM 2012 R2 - "Site - Client information" reports contain no data
Hi,
I'm running CM 2012 R2 and have a lot of clients installed. In management console, the clients are active, but Site - Client Information reports contain no data. The other reports, for example, Hardware - Processor etc., show data.
What is wrong?Do you have a Fallback status point enabled and defined? if not then most of these report will not work.
However Count of Client for each site should work.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
How to create a container class for 2 object?
I use JDK to create 2 objects, one is Customer and one is Book. I need to enqueue these 2 objects, but they canot share the same queue class. Some one told me that I can create a container class for these 2 objects but I don't know how to create it. Can some one tell me how to create the container class?
I use JDK to create 2 objects, one is Customer and one
is Book. I need to enqueue these 2 objects, but they
canot share the same queue class. Some one told me
that I can create a container class for these 2
objects but I don't know how to create it. Can some
one tell me how to create the container class?
class CustomerBook{
Book m_book;
Customer m_customer;
pulbic CustomerBook (Customer customer, Book book){
m_book = book;
m_customer = customer;
}If you want to create a class that represents one customer and many books, do this:
class CustomerBooks{
Vector m_books;
Customer m_customer;
pulbic CustomerBook (Customer customer){
m_books = new Vector();
m_customer = customer;
public void addBook (Book book){
m_books.addElement (book);
public void displayBooks (){
//I assume the Book class has a toString method or something similar
for (int i = 0;i < m_books.size();i++){
System.out.println ("book: "+((Book)m_books.elementAt(i)).toString()); -
ALV Reports using Class Methods
Hi Experts,
How can we generate ALV report using class and in that How can we define SLIS_EVENTS.
Can I provide all the that functionality the way I used to by calling FM
SLIS_ALV_REUSE_LIST_DISPLAY ?
- Like Header comment, event, data grouping , sort etc.
You may please send any url or document or any example.
Thanks in advance.
Regards,
Tushar ChoksiHi,
The ALV object Grid methods allow the same functionality as ALV grid report function modules but are displayed within
a screen (dialog program). SAP has provided a suit of programs which demonstrate how to For examples see standard SAP
programs as detailed below:
BCALV_EDIT_01 This report illustrates the simplest case of using an editable/noneditable ALV Grid Control.
BCALV_EDIT_02 This report illustrates how to set chosen cells of an ALV Grid Control editable.
BCALV_EDIT_03 In this example the user may change values of fields SEATSOCC (occupied seats) and/or PLANETYPE.
The report checks the input value(s) semantically and provides protocol messages in case of error
BCALV_EDIT_04 This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to
implement the saving of the new data.
BCALV_EDIT_05 This example shows how to use checkboxes within an ALV Grid Control. You learn:
(1) how to define a column for editable checkboxes for an attribute of your list
(2) how to evaluate the checked checkboxes
(3) how to switch between editable and non-editable checkboxes
BCALV_EDIT_06 This example shows how to define a dropdown listbox for all cells of one column in an editable ALV
Grid Control.
BCALV_EDIT_07 This example shows how to define dropdown listboxes for particular cells of your output table.
BCALV_EDIT_08 This report implements an ALV Grid Control with an application specific F4 help. The following aspects
are dealt with:
(1) how to replace the standard f4 help
(2) how to pass the selected value to the ALV Grid Control
(3) how to build an f4 help, whose value range depend on a value of another cell.
some links.
www.sapgenie.com
www.abap4u.com
http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/88d440e14f8431e10000000a1550b0/frameset.htm
download the PDF from following link.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf
Regards,
Satish -
Container classes generation for production environment
You can run the WebLogic EJB compiler on the JAR file before you deploy the beans,
or you can let WebLogic Server run the compiler for you at deployment time.
I have to release :
- an ear, containing 1 ejb and other stuff
- a client-jar (delegate, remote, home), that will be included in another ear (client
application of our ejb).
Both the ear will be deployed on the same wl instance (6.1sp2) (production environment).
For a production environment, which are the pros and contras ?
(not considering deploy time differences on wlserver, of course).
Which is the best practice ? Is it suggested to release the ear with the container
classes already generated (run ejbc before) or delegate the generation to weblogic
server ?
Thanks in advance
SergiYou can run the WebLogic EJB compiler on the JAR file before you deploy the beans,
or you can let WebLogic Server run the compiler for you at deployment time.
I have to release :
- an ear, containing 1 ejb and other stuff
- a client-jar (delegate, remote, home), that will be included in another ear (client
application of our ejb).
Both the ear will be deployed on the same wl instance (6.1sp2) (production environment).
For a production environment, which are the pros and contras ?
(not considering deploy time differences on wlserver, of course).
Which is the best practice ? Is it suggested to release the ear with the container
classes already generated (run ejbc before) or delegate the generation to weblogic
server ?
Thanks in advance
Sergi
Maybe you are looking for
-
Free of goods returns with out main item
Hi.. All Free goods returns with out Main item created sale order with Shoes 5 Pair qnty and free of goods are pair Soxs are 3 Now one pair Damaged now i want to send returns only For Free of goods Here no main item
-
hi i have already tranfer ipod video to mepg4 but i cant watch video on my ipod and i cant update my video on my ipod please help me
-
Well, I get the little pop up that says there's a newer version of iTunes available, so naturally, I click Update. However, after the installer downloads all the files and starts installing, it'll freeze at a certain point. I tried to update it twice
-
Call procedure inside from another procedure.
I have Procedure Name stored in tables. Based on certain logic i need to call some procedure. Procedure will be called from inside the procedure. How can i apply this logic. Please provide any explain. Regards, AgrawalV Message was edited by: Agrawal
-
Need step by step installation of oracle database 10g on mac os x (10.5)
Does anybody know step by step installation of Database 10g on mac os x? Thanks