Refcursor related prob
i have a simple query it is working from sqlplus bt it is not working from refcursor.
what should be the issue.
(using refcursor) it does not return any row,
v_cur_sql :=
'select UNIV_FILE_NAME,NE_ID_KEY,SERVED_MSRN,OTHER_MSISDN,
CALL_START_TIME_SLOT_KEY,
CAUSE_OF_TERMINATION,
CHARGE,CDR_SEQ_NUM,SERVED_MSISDN,REC_TYPE_KEY,
EVENT_TYPE_KEY,CALL_DIRECTION_KEY,CHRG_UNIT_ID_KEY,
DIAL_DIGIT_KEY,CALL_START_TIME,OUT_TG_ID_KEY,IN_TG_ID_KEY,
NULL,NULL,NULL,NULL,CALL_END_TIME FROM '
|| p_cn_tab || ' WHERE ' || v_filter ||
' AND CALL_START_TIME between TO_DATE(''' || p_startDate ||''',''mm/dd/yyyy hh24:mi:ss'') AND TO_DATE('''|| p_endDate || ''',''mm/dd/yyyy hh24:mi:ss'') '
||' AND IS_RATED IS NULL';
FETCH C_REF_CUR
INTO
<------>
it return 0 rows.
Similar Messages
-
Advice needed on possible virus related prob - please help!
Evening everyone,
I previously posted on here about an issue I was having with my external hard drive not mounting. I erased it and got it to mount but now I get an error message saying File could not be transferred as it could not be read or written.
I have recently come to suspect I might be harbouring viruses on my macbook as one turned up on my pendrive and on some email attatchments I've sent and was wondering if you think this could be causing the problem with the hard drive? If not - what might be? I've read that some people think it's a prob with tiger. Also can anyone recommend some virus software? I know a lot of people use clam but does that work with intel macs? Also I don't know much about the technical side of things and it doesn't look too user friendly - do you think it would be worth buying a full package like Norton?
Thanks in advance for all of your help!Hi Sherman,
Thanks for your help! The ignore ownership box was already ticked. Tried to repair the disk and it did find errors but the repair did not work - it says that the underlying task report failure on exit. Any more suggestions? Is it not possible that I am harbouring a PC virus - it isn't affecting my mac but could it not be playing havoc with the hard drive? Or is that just broken and I should send it back?
I am currently studying in spain for the year but am from the UK and will be back there this weekend so am hoping to sort the problem out before then, or go visit the genius bar in london while I am home.
Thanks again! -
Looping and append related prob
hi experts,
i need to populate a final internal table from 4 diffrent internal tables,
namely it_vbrk,
it_vbrp,
it_lips, it_mch1
logic here
**loop at it_vbrk into wa_vbrk.
wa_final - = wa_vbrk----
loop at it_vbrp from idx. then i use parallel cursor, as i needed multiple items based on single vbrk-vbeln
wa_final---- = wa_vbrk ---
loop at it_lips into wa_lips." based on some cond on where clause
here also i ve to used loop , as there r multiple batch no .
wa_final - = wa_lips-
loop at it_mch1 into wa_mch1 where charg = wa_lips-charg
wa_final --- = wa_mch1 .
APPEND wa_final TO it_final.
CLEAR wa_final.
endloop.
endloop.
endloop
ENDLOOP."
but in this code data getting populated are wrong ones,
can u plz tell me the exact sequence how to used endloops and append work area values and clear that.
i getting confused ,plz helpHi,
Reading data from 4 database table into different internal table and then read these table into a final internal table using 'FOR ALL ENTRIES'.
Use this code, its working:-
* RANGES DECLARATION
* RANGE VALUE TO BE USED FOR THE ORDER TYPE
RANGES : r_auart FOR aufk-auart. "for order type
* TYPE DECLARATION
TYPES :
* for table aufk (work order details)
BEGIN OF t_aufk,
aufnr TYPE aufk-aufnr, " order number
ktext TYPE aufk-ktext, " description
objnr TYPE aufk-objnr, " object number
END OF t_aufk,
* for table jest (object status details)
BEGIN OF t_jest,
objnr TYPE jest-objnr, " object number
END OF t_jest,
* for table afko (basic finish date details)
BEGIN OF t_afko,
aufnr TYPE afko-aufnr, " order number
gltrp TYPE afko-gltrp, "basic finish date
END OF t_afko,
* for table qmel (notification number details)
BEGIN OF t_qmel,
aufnr TYPE qmel-aufnr, " order number
qmnum TYPE qmel-qmnum, " notification number
END OF t_qmel,
* final table from which the records need to be displayed
BEGIN OF t_final,
aufnr TYPE aufk-aufnr, " order number
ktext TYPE aufk-ktext, " description
qmnum TYPE qmel-qmnum, " notification number
flag(1), " for selection of records
END OF t_final.
* INTERNAL TABLE & WORK AREA DECLARATIONS
* TYPE OF T_AUFK
* internal table to select records for damaged order types
DATA : it_aufk TYPE STANDARD TABLE OF t_aufk,
* work area for damaged order types
wa_aufk TYPE t_aufk.
* TYPE OF T_JEST
* internal table to select object number based upon user status
DATA : it_jest TYPE STANDARD TABLE OF t_jest,
* work area to select object number based upon user status
wa_jest TYPE t_jest.
* TYPE OF T_AFKO
* internal table to select the basic finish date corresopnding to work order
DATA : it_afko TYPE STANDARD TABLE OF t_afko,
* work area to select the basic finish date corresopnding to work order
wa_afko TYPE t_afko.
* TYPE OF T_QMEL
* internal table to select the notification number corresopnding to object number
DATA : it_qmel TYPE STANDARD TABLE OF t_qmel,
* work area to select the notification number corresopnding to object number
wa_qmel TYPE t_qmel.
* TYPE OF T_FINAL
* final internal table to select final records to be displayed
DATA : it_final TYPE STANDARD TABLE OF t_final,
* final work area to select final records to be displayed
wa_final TYPE t_final.
* INITIALIZATION
* TO INITIALIZE ALL THE VARIABLES TO BE USED
* IN THE PROGRAM
INITIALIZATION.
r_auart-sign = 'I'. " for inclusive
r_auart-option = 'BT'. " for between operator
r_auart-low = 'PM01'. " order type(low value)
r_auart-high = 'PM02'. " order type(high value)
APPEND r_auart. " append values for range
* START-OF-SELECTION
START-OF-SELECTION.
* CLEAR ALL THE CONTENTS OF ALL INTERBAL TABLES
REFRESH it_jest.
REFRESH it_aufk.
REFRESH it_afko.
REFRESH it_qmel.
REFRESH it_final.
* select user status from TJ02T for TXT04(status of an object)
* into variable V_ISTAT
SELECT SINGLE
istat
FROM tj02t
INTO (v_istat)
WHERE
txt04 EQ 'TECO' AND
spras EQ 'E'.
* select object number based upon the user status selected
SELECT
objnr
FROM jest
INTO TABLE it_jest
WHERE
stat EQ v_istat.
IF sy-subrc 0.
MESSAGE e003.
ELSE.
* select into it_aufk table: object number, description and
* object number based on object number selected and order type
* in PM01 and PM02
SELECT
aufnr
ktext
objnr
FROM aufk
INTO TABLE it_aufk
FOR ALL ENTRIES IN it_jest
WHERE
objnr EQ it_jest-objnr AND
auart IN r_auart.
IF sy-subrc 0.
MESSAGE e002.
ELSE.
* select into it_afko table: order number and basic finish date
* based upon order number selected and basic finish date as
* v_cdate variable
SELECT
aufnr
gltrp
FROM afko
INTO TABLE it_afko
FOR ALL ENTRIES IN it_aufk
WHERE
aufnr EQ it_aufk-aufnr AND
gltrp LE sy-datum.
* select into it_qmel table: order number and notification
* number based on the order number selected
SELECT
aufnr
qmnum
FROM qmel
INTO TABLE it_qmel
FOR ALL ENTRIES IN it_aufk
WHERE
aufnr EQ it_aufk-aufnr.
ENDIF.
ENDIF.
* READ THE RECORDS FOMR THE ABOVE POPULATED INTERNAL TABLE
* INTO WORK AREA AND THEN POPULATE THE FINAL INTERNAL
* TABLE
* read internal table it_jest into work area wa_jest
LOOP AT it_jest INTO wa_jest.
* read it_aufk based on object number from wa_jest
READ TABLE it_aufk INTO wa_aufk WITH KEY objnr = wa_jest-objnr.
* if records found
IF sy-subrc EQ 0.
* read it_afko for order number and description based on order number
READ TABLE it_afko INTO wa_afko WITH KEY aufnr = wa_aufk-aufnr.
* if records found
IF sy-subrc EQ 0.
wa_final-aufnr = wa_afko-aufnr. "move order number to it_final
wa_final-ktext = wa_aufk-ktext. "move description to it_final
ELSE.
* if no record found then move to next loop pass
CONTINUE.
ENDIF.
ELSE.
* if no record found then move to next loop pass
CONTINUE.
ENDIF.
* read it_qmel for description based on the order number selected above
READ TABLE it_qmel INTO wa_qmel WITH KEY aufnr = wa_final-aufnr.
* if records found
IF sy-subrc EQ 0.
wa_final-qmnum = wa_qmel-qmnum. "move notification number to it_final
ENDIF.
* finally append the records into the final internal table
APPEND wa_final TO it_final. "append wa_final into it_final
CLEAR wa_final. "clear work area
CLEAR wa_aufk. "clear work area
CLEAR wa_qmel. "clear work area
ENDLOOP.
Hope this helps you.
Thanks & Regards,
Tarun Gambhir -
hello all experts,
i made an alv,which shows display like this
do no(likp-vbeln) | name(kna1-name1) | batch| qty| shipment no(vttk-tknum)| trucck no(vttk-signi)
now the fact is
likp-traid (truck no) is in my selection-screen,
by which i fill all my itabs.
the list will show the truck no, such a way
when likp-traid has a value , but vttk-signi (truck no) has not, the list will show truck no for likp-traid,
when likp-traid has a value , but vttk-signi (truck no) has that same value, the list will show truck no by vttk-signi , how to do that? plz help*& Report ZLOADINGSLIP_***_GATEPASS
REPORT zloadingslip_***_gatepass.
*************tables declaration****************
TABLES: likp.
***************type groups declaration*********
TYPE-POOLS: slis.
**************INTERNAL TABLE DECLARATION*****************
DATA: BEGIN OF it_likp_lips OCCURS 0,
vbeln TYPE likp-vbeln," do no
erdat TYPE likp-erdat," date
kunnr TYPE likp-kunnr,"Ship-to party
traid TYPE likp-traid,"Transport ID
vbTYP TYPE liKP-VbTYP,
matnr TYPE lips-matnr,"item
vrkme TYPE lips-vrkme,"UOM
charg TYPE lips-charg," batch
lfimg TYPE lips-lfimg," quantity
arktx TYPE lips-arktx,"sku CODE
END OF it_likp_lips.
DATA: BEGIN OF it_kna1 OCCURS 0,
kunnr TYPE kna1-kunnr,
name1 TYPE kna1-name1,"party name
END OF it_kna1.
DATA: BEGIN OF it_mch1 OCCURS 0,
charg TYPE mch1-charg,
ersda TYPE mch1-ersda,
END OF it_mch1.
DATA: BEGIN OF itab1 OCCURS 0,
vbeln TYPE likp-vbeln," do no
erdat TYPE likp-erdat," date
kunnr TYPE likp-kunnr,"Ship-to party
traid TYPE likp-traid,"Transport ID
text type string,
vbTYP TYPE liKP-VbTYP,
matnr TYPE lips-matnr,"item
vrkme TYPE lips-vrkme,"UOM
charg TYPE lips-charg," batch
lfimg TYPE lips-lfimg," quantity
arktx TYPE lips-arktx,"sku
name1 TYPE kna1-name1,"party name
END OF itab1.
DATA: BEGIN OF itab2 OCCURS 0,
vbeln TYPE likp-vbeln," do no
erdat TYPE likp-erdat," date
kunnr TYPE likp-kunnr,"Ship-to party
text TYPE likp-traid,"Transport ID
vbTYP TYPE liKP-VbTYP,
matnr TYPE lips-matnr,"item
vrkme TYPE lips-vrkme,"UOM
charg TYPE lips-charg," batch
lfimg TYPE lips-lfimg," quantity
arktx TYPE lips-arktx,"sku
name1 TYPE kna1-name1,"party name
ersda TYPE mch1-ersda,
END OF itab2.
DATA: BEGIN OF itab3 OCCURS 0,
vbeln TYPE likp-vbeln," do no
erdat TYPE likp-erdat," date
kunnr TYPE likp-kunnr,"Ship-to party
text TYPE string,"Transport ID
vbTYP TYPE liKP-VbTYP,
matnr TYPE lips-matnr,"item
vrkme TYPE lips-vrkme,"UOM
charg TYPE lips-charg," batch
lfimg TYPE lips-lfimg," quantity
arktx TYPE lips-arktx,"sku
name1 TYPE kna1-name1,"party name
ersda TYPE mch1-ersda,
tknum TYPE vttk-tknum," SHIPMENT NO
S_erdat TYPE vttk-erdat,"DATED
signi TYPE vttk-signi,"TRUCK NO
tdlnr TYPE vttk-tdlnr,
lifnr TYPE lfa1-lifnr,
V_name1 TYPE lfa1-name1,"TRANSPORTER NAME
END OF itab3.
DATA: BEGIN OF it_vttk OCCURS 0,
tknum TYPE vttk-tknum," SHIPMENT NO
erdat TYPE vttk-erdat,"DATED
signi TYPE vttk-signi,"TRUCK NO
tdlnr TYPE vttk-tdlnr,
END OF it_vttk.
DATA: BEGIN OF it_lfa1 OCCURS 0,
lifnr TYPE lfa1-lifnr,
name1 TYPE lfa1-name1,"TRANSPORTER NAME
END OF it_lfa1.
**************************ALV DATA DECLARATION********************
DATA: it_fcat TYPE slis_t_fieldcat_alv, " FIELDCAT DECLARATION
wa_fcat TYPE slis_fieldcat_alv,
**local work area of event catalog********
it_event TYPE slis_t_event,
wa_event TYPE slis_alv_event,
****************STRUCTURE FOR LAYOUT****
is_layout TYPE slis_layout_alv,"LAYOUT
************ALV SORTING******************
it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv,
repid TYPE sy-repid.
repid = sy-repid." PROGRAM NAME
**************************** SELECTION-SCREEN design***************************
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: date FOR likp-erdat ,
truck_no FOR likp-traid OBLIGATORY." truck no
SELECTION-SCREEN END OF BLOCK b1.
************************START-OF-SELECTION**************************
START-OF-SELECTION.
PERFORM get_likp_lips_data.
IF NOT it_likp_lips[] IS INITIAL.
PERFORM get_kna1_data.
ENDIF.
PERFORM get_itab1.
IF NOT itab1[] IS INITIAL.
PERFORM get_mch1_data.
ENDIF.
PERFORM get_itab2.
IF NOT itAB2[] IS INITIAL.
PERFORM get_vttk_data.
ENDIF.
IF NOT it_vttk[] IS INITIAL.
PERFORM get_lfa1_data.
ENDIF.
PERFORM GET_ITAB3.
*********************SUBROUTINE FOR ALV LAYOUT***********
PERFORM build_layout_alv.
************************ SUBROUTINE FOR ALV EVENT **********
PERFORM build_events.
********************** SUBROUTINE FOR ALV FIELDCATALOG *******
PERFORM build_fcat USING:
'01' 'VBELN' 'ITAB3' 'DO NO',
'02' 'NAME1' 'ITAB3' 'PARTY NAME',
'03' 'ARKTX' 'ITAB3' 'SKU CODE',
'04' 'CHARG' 'ITAB3' 'BATCH',
'05' 'LFIMG' 'ITAB3' 'QUANTITY',
'06' 'VRKME' 'ITAB3' 'UOM',
'07' 'ERSDA' 'ITAB3' 'MFG DATE',
'08' 'TKNUM' 'ITAB3' 'SHIPMENT NO',
'09' 'S_ERDAT' 'ITAB3' 'DATED',
'10' 'SIGNI' 'ITAB3' 'TRUCK NO',
'11' 'V_NAME1' 'ITAB3' 'TRANSPORTER NAME'.
******************ALV SORTING*******************************
PERFORM alv_sort_info.
****************************END-OF-SELECTION**********************************************
END-OF-SELECTION.
PERFORM alv_grid_display.
*& Form GET_LIKP_LIPS_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_likp_lips_data .
SELECT likp~vbeln likp~erdat likp~kunnr likp~traid LIKP~VBTYP lips~matnr lips~vrkme lips~charg lips~lfimg lips~arktx
INTO CORRESPONDING FIELDS OF TABLE it_likp_lips
FROM likp JOIN lips
ON likp~vbeln EQ lips~vbeln
WHERE
LIKP~TRAID IN TRUCK_NO AND
likp~erdat IN date AND LIKP~VBTYP = 'J'.
IF sy-subrc <> 0.
* MESSAGE 'NO DATA IN IT_LIKP_LIPS..' TYPE 'E'.
ELSE.
SORT it_likp_lips BY vbeln.
DELETE IT_LIKP_LIPS WHERE LFIMG EQ '0.0'.
* DELETE ADJACENT DUPLICATES FROM IT_LIKP_LIPS.
ENDIF.
ENDFORM. " GET_LIKP_LIPS_DATA
*& Form GET_KNA1_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_kna1_data .
SELECT
kunnr
name1
INTO CORRESPONDING FIELDS OF TABLE it_kna1
FROM kna1
FOR ALL ENTRIES IN it_likp_lips
WHERE kunnr = it_likp_lips-kunnr.
IF sy-subrc <> 0.
* MESSAGE 'NO DATA IN IT_KNA1.' TYPE 'E'.
ELSE.
SORT it_kna1 BY kunnr.
* DELETE ADJACENT DUPLICATES FROM IT_LIKP_LIPS.
ENDIF.
ENDFORM. " GET_KNA1_DATA
*& Form GET_ITAB1
* text
* --> p1 text
* <-- p2 text
FORM get_itab1 .
LOOP AT it_likp_lips.
itab1-vbeln = it_likp_lips-vbeln.
itab1-erdat = it_likp_lips-erdat.
itab1-kunnr = it_likp_lips-kunnr.
itab1-traid = it_likp_lips-traid.
itab1-text = itab1-traid.
itab1-matnr = it_likp_lips-matnr.
itab1-vrkme = it_likp_lips-vrkme.
itab1-charg = it_likp_lips-charg.
itab1-lfimg = it_likp_lips-lfimg.
itab1-arktx = it_likp_lips-arktx.
* translate itab1-text to lower case.
READ TABLE it_kna1 WITH KEY kunnr = it_likp_lips-kunnr BINARY SEARCH.
IF sy-subrc = 0.
itab1-name1 = it_kna1-name1.
ENDIF.
APPEND itab1.
CLEAR itab1.
ENDLOOP.
*CALL FUNCTION 'TERM_TRANSLATE_TO_UPPER_CASE'
* EXPORTING
** LANGU = SY-LANGU
* text =
** IMPORTING
** TEXT_UC =
** EXCEPTIONS
** NO_LOCALE_AVAILABLE = 1
** OTHERS = 2
*IF sy-subrc <> 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
ENDFORM. " GET_ITAB1
*& Form GET_MCH1_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_mch1_data .
SELECT
charg
ersda
INTO CORRESPONDING FIELDS OF TABLE it_mch1
FROM mch1
FOR ALL ENTRIES IN itab1
WHERE charg = itab1-charg.
IF sy-subrc <> 0.
* MESSAGE 'NO DATA IN IT_MCH1.' TYPE 'E'.
ELSE.
SORT it_mch1 BY charg.
* DELETE ADJACENT DUPLICATES FROM IT_LIKP_LIPS.
ENDIF.
ENDFORM. " GET_MCH1_DATA
*& Form GET_ITAB2
* text
* --> p1 text
* <-- p2 text
FORM get_itab2 .
LOOP AT itab1.
itab2-vbeln = itab1-vbeln." FINAL DISPLAY
itab2-name1 = itab1-name1." FINAL DISPLAY
itab2-kunnr = itab1-kunnr." FINAL DISPLAY
itab2-text = itAB1-text.
itab2-matnr = itab1-matnR.
itab2-arktx = itab1-arktx." FINAL DISPLAY
itab2-lfimg = itab1-lfimg." FINAL DISPLAY
itab2-vrkme = itab1-vrkme.
itab2-charg = itab1-charg." FINAL DISPLAY
READ TABLE it_mch1 WITH KEY charg = itab1-charg BINARY SEARCH.
IF sy-subrc = 0.
itab2-ersda = it_mch1-ersda." FINAL DISPLAY
ENDIF.
APPEND itab2.
CLEAR itab2.
ENDLOOP.
ENDFORM. " GET_ITAB2
*& Form GET_VTTK_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_vttk_data .
SELECT
tknum
erdat
signi
tdlnr
INTO CORRESPONDING FIELDS OF TABLE it_vttk
FROM vttk
FOR ALL ENTRIES IN itaB2
WHERE signi = itaB2-Text.
IF sy-subrc <> 0.
* MESSAGE 'NO DATA IN IT_VTTK.' TYPE 'E'.
ELSE.
SORT it_vttk BY tknum tdlnr.
* DELETE ADJACENT DUPLICATES FROM IT_VTTK.
ENDIF.
ENDFORM. " GET_VTTK_DATA
*& Form GET_LFA1_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_lfa1_data .
SELECT
lifnr
name1
INTO CORRESPONDING FIELDS OF TABLE it_lfa1
FROM lfa1
FOR ALL ENTRIES IN it_vttk
WHERE lifnr = it_vttk-tdlnr.
IF sy-subrc <> 0.
* MESSAGE 'NO DATA IN IT_LFA1.' TYPE 'E'.
ELSE.
SORT it_lfa1 BY lifnr name1.
* DELETE ADJACENT DUPLICATES FROM IT_LFA1.
ENDIF.
ENDFORM. " GET_LFA1_DATA
*& Form GET_ITAB3
* text
* --> p1 text
* <-- p2 text
form GET_ITAB3 .
*DATA: t1 TYPE c LENGTH 10 VALUE 'We',
* t2 TYPE c LENGTH 10 VALUE 'have',
* t3 TYPE c LENGTH 10 VALUE 'all',
* t4 TYPE c LENGTH 10 VALUE 'the',
* t5 TYPE c LENGTH 10 VALUE 'time',
* t6 TYPE c LENGTH 10 VALUE 'in',
* t7 TYPE c LENGTH 10 VALUE 'the',
* t8 TYPE c LENGTH 10 VALUE 'world',
* result TYPE string.
*CONCATENATE t1 t2 t3 t4 t5 t6 t7 t8
* INTO result.
LOOP AT ITAB2.
itab3-vbeln = itab2-vbeln." FINAL DISPLAY
itab3-name1 = itab2-name1." FINAL DISPLAY
itab3-kunnr = itab2-kunnr." FINAL DISPLAY
itab3-text = itAB2-text.
itab3-matnr = itab2-matnR.
itab3-arktx = itab2-arktx." FINAL DISPLAY
itab3-lfimg = itab2-lfimg." FINAL DISPLAY
itab3-vrkme = itab2-vrkme." FINAL DISPLAY
itab3-charg = itab2-charg." FINAL DISPLAY
itab3-ersda = itab2-ersda." FINAL DISPLAY
itab3-text = itab2-text.
READ TABLE IT_VTTK WITH KEY SIGNI = ITAB2-Text.
IF SY-SUBRC = 0.
ITAB3-TKNUM = IT_VTTK-TKNUM." FINAL DISPLAY
ITAB3-S_erdat = IT_vttk-erdat." FINAL DISPLAY
ITAB3-SIGNI = IT_VTTK-SIGNI." FINAL DISPLAY
* ITAB3-TDLNR = IT_VTTK-TDLNR.
ENDIF.
READ TABLE IT_LFA1 WITH KEY LIFNR = IT_VTTK-TDLNR BINARY SEARCH.
IF SY-SUBRC = 0.
ITAB3-V_NAME1 = IT_LFA1-NAME1." FINAL DISPLAY
ENDIF.
APPEND ITAB3.
CLEAR ITAB3.
ENDLOOP.
endform. " GET_ITAB3
*& Form BUILD_LAYOUT_ALV
* text
* --> p1 text
* <-- p2 text
FORM build_layout_alv .
is_layout-colwidth_optimize = 'X'.
ENDFORM. " BUILD_LAYOUT_ALV
*& Form BUILD_EVENTS
* text
* --> p1 text
* <-- p2 text
FORM build_events .
* Populating all the supported events in the ALV
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_event
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE it_event INTO wa_event WITH KEY name =
slis_ev_top_of_page.
IF sy-subrc EQ 0.
wa_event-form = 'TOP'.
MODIFY it_event FROM wa_event INDEX sy-tabix TRANSPORTING form.
ENDIF.
ENDFORM. " BUILD_EVENTS
*& Form TOP
* text
FORM top.
*Alv list header decleration
DATA: it_header TYPE STANDARD TABLE OF slis_listheader,
wa_header TYPE slis_listheader.
*Title
wa_header-typ = 'H'.
wa_header-info = 'LOADING SLIP *** GATEPASS'.
APPEND wa_header TO it_header.
*Date
wa_header-typ = 'S'.
wa_header-key = 'Date:'.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4)
INTO wa_header-info.
APPEND wa_header TO it_header.
*Username
wa_header-typ = 'S'.
wa_header-key = 'User:'.
wa_header-info = sy-uname.
APPEND wa_header TO it_header.
*Time
wa_header-typ = 'S'.
wa_header-key = 'Time:'.
CONCATENATE sy-uzeit(2)':'
sy-uzeit+2(2)':'
sy-uzeit+4(2)'.'
INTO wa_header-info.
* LWA_HEADER-INFO = SY-UZEIT.
APPEND wa_header TO it_header.
wa_header-typ = 'A'.
APPEND wa_header TO it_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_header
i_logo = 'KAL_LOGO'.
* I_END_OF_LIST_GRID =
ENDFORM.
*& Form BUILD_FCAT
* text
* -->P_0425 text
* -->P_0426 text
* -->P_0427 text
* -->P_0428 text
FORM build_fcat USING fp_col_pos
fp_fieldname
fp_tabname
fp_seltext_l.
wa_fcat-col_pos = fp_col_pos.
wa_fcat-fieldname = fp_fieldname.
wa_fcat-tabname = fp_tabname.
wa_fcat-seltext_l = fp_seltext_l.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ENDFORM. " BUILD_FCAT
*& Form ALV_SORT_INFO
* text
* --> p1 text
* <-- p2 text
FORM alv_sort_info .
wa_sort-spos = 1.
wa_sort-fieldname = 'VBELN'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 3.
wa_sort-fieldname = 'ARKTX'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 4.
wa_sort-fieldname = 'CHARG'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 5.
wa_sort-fieldname = 'LFIMG'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 4.
wa_sort-fieldname = 'ERSDA'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
*'08' 'TKNUM' 'ITAB3' 'SHIPMENT NO',
* '09' 'S_ERDAT' 'ITAB3' 'DATED',
* '10' 'SIGNI' 'ITAB3' 'TRUCK NO',
* '11' 'V_NAME1' 'ITAB3' 'TRANSPORTER NAME'.
wa_sort-spos = 8.
wa_sort-fieldname = 'TKNUM'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 9.
wa_sort-fieldname = 'S_ERDAT'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 10.
wa_sort-fieldname = 'SIGNI'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
wa_sort-spos = 11.
wa_sort-fieldname = 'V_NAME1'.
wa_sort-tabname = 'ITAB3'.
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
ENDFORM. " ALV_SORT_INFO
*& Form ALV_GRID_DISPLAY
* text
* --> p1 text
* <-- p2 text
FORM alv_grid_display .
DATA:repid TYPE sy-repid.
repid = sy-repid." PROGRAM NAME
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = REPID
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
IS_LAYOUT = IS_LAYOUT
IT_FIELDCAT = IT_FCAT
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
IT_SORT = IT_SORT
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
IT_EVENTS = IT_EVENT
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = ITAB3
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_GRID_DISPLAY -
Digital clik noise thru int-speakers when After Effects is open
Hey.
I've tried to keyword search results but run into alot of drive related probs and not what i'm looking for. If this has been talked about please point me int eh right direction.
I have a brand new MBP 17" with all the latest hardware upgrades. I've had some surprising undesirable results here and there but nothing crazy.
When i open after effects noticed that there is a notable (yet quiet) digital clicking noise that comes form the internal speakers.
Symptoms/Observations:
-Im confident its not from the hdrive (can listen to that part and hear drive fine)
-*When HP's are plugged in clicking goes away & PERFORMANCE INCREASES
-VERY sluggish performance from the program (even accessing menus is crazy slow)
thanks!
/joshupd: changing audio hardware settings in AE FROM 'sys default' TO 'builtin output' seems to remedy things!
not entirely sure if this is solved, any insight still welcome. -
Anyone get Sharp AL-1655cs MFP working with the IMac
Has anyone got the required drivers or workaround to get the Sharp Al-1655cs printer working with iMac or Macbook Pro. Ive been searching and have yet to find a MAC OS compatible driver but am wondering if someone has figured out a way to make it work?
you say no application
the way I normally scan is that I go into system preferences
click print & scan
there on the lidt of pritners he show my samsung all in one laser pritner thingy
then I click on the Scan in the right tabcontrol click open Scanner
that bring up what I assume to be a samsung gui dialog where I can preview and set dpi and the likes
then when I click scan it scan and send the image to Preview (the app called priview)
have you tried it that way rather then trying to access the scanner from other apps ?
back in the day scanners used a system called TWAIN which was not IP network related prob not even usb
some old apps or strange apps could still be looking for a wired system using that interface -
Create connection exception weblogic8.1
dear friends,
i started weblogic from startweblogic.cmd its started fine, and when
i tried to open console ,it opens but only right frame is visible.
i tried following command(on a seperate command prompt.)
java weblogic.admin -url t3://127.0.0.1:7001 -username weblogic -password weblogic ping 11
the error came no connection found ,nested exception
java.net.connection error. no router is available. like this
though server is running smoothly.(i deployed my stateless ejb and
everything goes fine till deployment through weblogic builder ,when
i tried to access through client prog. then following erorr came
mentioning that java.net.CreateConnection error, i serched the net
one suggestion is to check the server through upper mentioned
command.result you knew that.
other one suggestion is to check firewall should be off, thats ok
too.
it is on weblogic81/windows xp.is there any solution. .(i checked all the classpath
related things.if having some spare time. kindly advice me how can i
solve this connection related probs.
thanks and regards
anuI have gor the answer fo rthis!
If we create conversational webservices workshop can automatically
creates WSDL with SOAP HEADERS!!
srihari
"srihari" <[email protected]> wrote:
>
I want to create WSDL with SOAP headers in it from Workshop8.1
I am wondering weather WL workshop does supports this feature
if not could you explaing me the best method to do?
Aso I am looking for the webservice authorization process.
In fact we are building .NET client application and webservices on WL8.1.
I think validating userid/password at the begining of .NET client login
is the
ideal and there onwards passing the SessionID thru SOAP headers as valid
session.
Do you have any built in mechanism for this with Welgoic8.1/Workshop??
regards
srihari -
Stability Problems with Games, Help!!!
Welp this is the second 3200-64 Newcastle Processor and MSI K8n neo plat MoBo that i have gone thru and still the same problem. I can't play games without my comp lockin up. It goes anywere from just freezeing to completely shutting off. I also get that call of duty problem were it freezes for 2 seconds. I have gone thru 3 diffrent types of memory(Elixer, Kingston, Cosrair), 2 diffrent HD's, WinXP home to Pro, ATI 9800pro to a Nvidia 4200 with no luck. I am useing the bios out of the box and have not bothered updateing because from what i read it hasn't solved the problem. I have spent about $200 on techs trying to fix the dam thing and it still does it. Can anyone please help me. I am about to cave in and buy a diffirent companys MoBo.
AMD 64 3200 Newcastle
MSI K8N Neo Plat.
1gig Elixer Memory
450watt PSU
9800pro 256
If you guys need any more info tell me so i can post.
Thanks in advance.Not sure about the cause of your prob, but in itself, the 12v amp on that PSU sucketh...
Does your vid card have a separate molex in? Use a separate power connector for it if i has a power in molex (dont connect anyting else to that molex cable set).
Set the vid cooler on "high" setting (isnt there a switch on the back?)
Try using only one stick of RAM in 1. Move it around.
Check the grounding of the psu. Maybe a wire from the case screws on the psu to a mobo fastening screw would help.
Make sure that the AGP card is installed correctly (all the way in). Some cases are somewhat askew, and if you tighten the screws on the cards it lifts the cards out of the pci/agp ports.
Im voting this as a PSU / power related prob. I had similar probs wiht my old Athlon 1200 when i used the 250W psu that came with the case.
On the bright side, youre gonna have a mighty spiffy shiny new computer by the time your done... -
Finding Probe Related to Monitor
I am having an issue finding the probe relating to a Health Monitor in Exchange 2013. The majority of TechNet articles don't include any information on the Health Set Monitors.
technet.microsoft.com/en-us/library/dn195892(v=exchg.150).aspx
If you look at the following question, the proposed answer is just not consistent. The method proposed in this article does not always return the name or information relating to the appropriate probe.
http://social.technet.microsoft.com/Forums/exchange/en-US/0bc7f4cd-cea4-4b52-ae8a-5f013a2628dc/probe-documentations
In my environment I get a lot of these monitor related errors, but for today the monitor in question is "HubTransport\Transport.ServiceStartError.Monitor"
Following the previous linked instructions, the returned SampleMask is "Transport/TransportServiceStartError", which is obviously just the name of the monitor itself, not the probe. As i understand it, the only way to check the health of the monitor
is to run the associated probe. Considering that Microsoft is unwilling to provide the relationship between monitors and probes, is there a consistent way to find this information?Hi,
From the following article, we can know that probe is responsible for taking measurements on the server and collecting data. The results of those measurements flow into the monitor. The monitor contains all of the business logic used by the system based
on what is considered healthy on the data collected.
Managed Availability
http://technet.microsoft.com/en-us/library/dn482056(v=exchg.150).aspx
From what you mentioned above, you got a lot of monitor errors, to narrow down the issue, I recommend you use the Get-HealthReport and Get-ServerHealth cmdlets to check the status of every health set.
Here is a related article for your reference.
Managed Availability and Server Health
http://blogs.technet.com/b/exchange/archive/2013/06/26/managed-availability-and-server-health.aspx
Best regards,
Belinda
Belinda Ma
TechNet Community Support -
i am wroking in the program in which two BDC are run . i give the pushbutton in programe named "move to next" .when i execute the programe and put the obligatory field .
after that i press enter button then next screen appear i continuousely press the enter button the values are appear cont. . and a next screen is appear . now my prob. is that i want that when BDC posted it terminated futher pressing enter it can not take any value . and when i press pushbutton then next screen is appear.Hi Pankaj,
If you are creating a program using SHDB recording, there is option available "Continue after commit" in SHDB... Tick this checkbox before recording and then create your recording. Transfer recording to code after that.
Regards,
Mohaiyuddin -
Prob. with Absolute/Relative Positioning of Layers
I used the List-u-Like generator to create a menu (
http://www.listulike.com/generator/)
for this page that I created in Dreamweaver:
http://hdumc.org/
and my menu is acting wacky in Firefox. Everything looks fine
in IE though. I've been trying to read through the Help on
positioning, but it gets so confusing. Can anyone help me out on
what I'm doing wrong?romeogq wrote:
> Noooo, please don't be serious. That's basically what
I've been doing... and
> it's way too time consuming, especially when I could
simply export using
> tables. Just trying to figure out the simplest way to
export to css with
> relative positioning. My graphic has about 40 slices,
hence I really do not
> want to hand code.
>
Have you checked out the SMART CSS extension available on
Adobe's web
site? It may help.
Jim Babbage - .:Community MX:. & .:Adobe Community
Expert:.
Extending Knowledge, Daily
http://www.communityMX.com/
CommunityMX - Free Resources:
http://www.communitymx.com/free.cfm
.:Adobe Community Expert for Fireworks:.
news://forums.macromedia.com/macromedia.fireworks
news://forums.macromedia.com/macromedia.dreamweaver -
Multipart/mixed and multipart/relative Content type probs
I tried to create a page from a servlet by using the multipart/mixed
Content-type.
All that is displayed inside the browser is the actual code including the
headers for the single parts of the page. I also checked it on the byte
level, getting the same results.
Does anybody have an idea ?
Thank you very much ,
Tom
Are you setting the content type prior to each response (i.e.
out.println("Content-type: text/html\n");)?
Below is an example (untested, but should work):
// Global constants
static final String BOUNDARY_STR ="Joe";
static final String BOUNDARY = "--"+BOUNDARY_STR;
static final String BOUNDARY_END = BOUNDARY+"--";
// Inside of doGet
res.setContentType("multipart/mixed;boundary="+BOUNDARY_STR);
ServletOutputStream out = res.getOutputStream();
// First Response
out.println(BOUNDARY);
out.println("Content-type: text/html\n");
out.println("<html>\n");
out.println("<head>\n");
out.println("<title>First Response</title>\n");
out.println("</head>\n");
out.println("<body>\n");
out.println("<h1>First Response</h1>\n");
out.println("</body>\n");
out.println("</html>\n");
out.println(BOUNDARY);
out.flush();
// Second Response
out.println(BOUNDARY);
out.println("Content-type: text/html\n");
out.println("<html>\n");
out.println("<head>\n");
out.println("<title>Second Response</title>\n");
out.println("</head>\n");
out.println("<body>\n");
out.println("<h1>Second Response</h1>\n");
out.println("</body>\n");
out.println("</html>\n");
out.println(BOUNDARY);
out.flush();
// Done
out.println(BOUNDARY_END);
out.flush();
Thomas Schmitt wrote in message <[email protected]>...
>I tried to create a page from a servlet by using the multipart/mixed
>Content-type.
>All that is displayed inside the browser is the actual code including the
>headers for the single parts of the page. I also checked it on the byte
>level, getting the same results.
>Does anybody have an idea ?
>Thank you very much ,
>Tom
>
>
-
Are N80 prob's related to 3g?
Hello all, I have an N80 on Orange - yes I know nearly everyone on here has an Orange N80, anyway, I have only just started getting some problems with my handset and I got mine in the first week of release, mainly the handset freezing when I take a call and it becoming unresponsive until I switch off and restart. I called Orange over this and they suggested that as I don't use video calling - for now anyway, I change my settings to use the GSM network instead, the very pleasant lady on the phone told me that although where I am based for work has a very strong 3g signal, as I travel around a little for my job I am actually travelling through areas with little or no 3g coverage and this was making the phone work extra hard searching for a signal! I must admit though, I did this 2 days ago and all my problems have gone and battery life is marginally increased too, has anyone else experienced this? BTW, firmware is V 3.0614.0.3 and Orange said they have no updates at the moment but to be honest if there is a firmware upgrade I take it to my local Nokia centre and have it done under the manufacturers warranty.
And, as I said, I don't seem to be having the problems anymore. I had all the same problems as others when I first got my phone but after a firmware upgrade most were sorted - although there are other issues like web crashing while using wifi but other day to day uses of the phone seem to be ok. 3g video calling isn't an issue for me at the moment so gsm is fine, I got this phone as much for it's offline features like PIM etc because my 9500 was way too heavy and in that respect it suits just fine, do you know if there is a newer firmware version than I have? I also find, as with other new devices, that spending some time setting it up to your own preferences, standby menu, shortcut buttons and turning off features you rarely or never use and generaly aquainting yourself with it's features can make life far easier for both you and the device. comments please.
-
Hi
I have created a delivery(VL01n) and i got the delivery document no.
also. At the billing level i am not able to access the saved delivery
document no. The Error is "Doc. does not exist in the database or in
the Archive." Bcs of this i am not able to create billing.
plz help me in this regard
sudheer chowdary.k.Hi Sudheer,
I had faced similar issue earlier and as mentioned above by experts those can be the resons.
Mostly, in Delivery if your Output Type has any issue, system will give Update Error which you can see either via SM13 or SBWP in your SAP Inbox.
You will get exact error what it is and refer it to your ABAPer.
If your Number Range is finished is similar type of another example for error.
In General, while any transaction updates, system generates Number and shows it to you, but updates your Document number in Data base table after finishing all activities like triggering Outputs and generating Spools.
If it gets error during that processing, You will not be able to see Delivery document in VL03N it self or process it further.
Regards,
MJ. -
ORA-105101 prob (not CLASSPATH related)
Ok i have a problem running a java bean with by java importer created package.
The java code is a dialog intended to handle some custom error situations.
I created it and tested with when button pressed trigger ... all went well and peachy.
Then i changed the code of the when button pressed trigger to simuale the actual situation like this:
declare
v_dummy date;
begin
v_dummy := to_date('dummy');
exception
when others then
ThaAllmightyProcedure;
end;
the problem is:
The first time i press the button it works fine. I close the dialog and press the button for the second time and i get the horror of my last few days .... the ORA-105101 err.
?? whadda' ?? Any clues?oops ... the correct errcode is
ORA-105100
Maybe you are looking for
-
Error while Importing a Table in To Target Module
Hi All, Iam getting follwong error msg while importing a table in OWB Target Module. API4806: Object description is not allowed to be translated before object business name. Please give a translation to the business name first. why I am getting this
-
Memory problem with 5330 XpressMusic
Hi, I seem to have a memory problem with my 5330, I have a 1Gb micro disc installed. My son sent me a photo from his phone, when it arrived I got a warning on the scren that 'there is not enough memory to receive messages', I have tried to delete as
-
Need help... greyed out wifi(no wi-fi)
after restoring my ipad i tried to get back online and seeing that my wifi tab in general settings was greyed and it says no wi-fi anybody can help with this problem?? i tried restore, update to newest itunes, newest firmware(3.2.2) and tried to hard
-
Doubt in WebStyle search form in ADF
Hi, I do have a search form as in the following url. http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/threesearchpages/threesearchforms_partone.html?_template=/ocom/technology/content/print The 'SearchView' has three entity obje
-
How to Know Oracle server id and port
Dear all I try to run oracle report in jdeveloper i make the java files that calling the report as from i found in the internet as follow OracleReportBean reportBean = new OracleReportBean(server id, port, null); reportBean.setReportServerParam(Oracl