Urgent could u plz clear my doubut
While copying the code for Z_CREATE_PDF program (which is getting submit from main program ZSDL_393_REASON_CODE_REPORT, we have noticed some issue:
There are 2 Function Modules 'Z_CONVERT_ABAPSPOOLJOB_2_PDF' and 'Z_CONVERT_OTFSPOOLJOB_2_PDF' being called from Z_CREATE_PDF program, which are not yet copied to RD2 server. When I checked in PF server, there is Custom Function Group ZSMS developed under which these function modules are created.
There are many other Function Modules, screens and includes under this Function Group.
Please advise whether we need to copy all the objects under this Function Group in RD2 as well, or some other work around is possible. Please note that this part is related to just the PDF File Creation on selection screen of main program.
TABLES:
bkpf,
bseg.
DATA: "Internal tables
BEGIN OF x_bkpf,
bukrs LIKE bkpf-bukrs, "Company Code
belnr LIKE bkpf-belnr, "Document Number
gjahr LIKE bkpf-gjahr, "Fiscal Year
budat LIKE bkpf-budat, "Posting Date
xblnr LIKE bkpf-xblnr, "Reference "PG01+
blart LIKE bkpf-blart, "Document Type "DB05+
END OF x_bkpf,
t_bkpf LIKE HASHED TABLE OF x_bkpf
WITH UNIQUE KEY bukrs belnr gjahr
WITH HEADER LINE,
BEGIN OF t_bseg OCCURS 0,
bukrs LIKE bseg-bukrs, "Company Code
belnr LIKE bseg-belnr, "Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
shkzg LIKE bseg-shkzg, "Debit/Credit indicator
wrbtr LIKE bseg-wrbtr, "Amount in doc currency
sgtxt LIKE bseg-sgtxt, "Reason Desc
hkont LIKE bseg-hkont, "G/L Account
kunnr LIKE bseg-kunnr, "Customer number
rstgr LIKE bseg-rstgr, "Reason Code
prctr LIKE bseg-prctr, "Business Unit (SBU)
xref1 LIKE bseg-xref1, "Ref Key 1 "PG01+
zloc LIKE bseg-zloc, "Location
zexp LIKE bseg-zexp, "Expense
zdtl LIKE bseg-zdtl, "Detail
END OF t_bseg,
Table of customer records from bseg (1 for each in T_BSEG)
BEGIN OF t_kunnr OCCURS 0,
bukrs LIKE bseg-bukrs, "Company Code
belnr LIKE bseg-belnr, "Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
kunnr LIKE bseg-kunnr, "Customer number
END OF t_kunnr,
BEGIN OF t_rstgr_sum OCCURS 0,
rstgr LIKE bseg-rstgr, "Reason Code
sgtxt LIKE bseg-sgtxt, "Reason Desc
wrbtr LIKE bseg-wrbtr, "Sum for a Reason Code
END OF t_rstgr_sum,
BEGIN OF t_hkont_sum OCCURS 0,
hkont LIKE bseg-hkont, "GL Account
wrbtr LIKE bseg-wrbtr, "Sum for a GL Account
END OF t_hkont_sum.
DATA: "Standalone work fields
sum_wrbtr LIKE bseg-wrbtr,
grand_wrbtr LIKE bseg-wrbtr,
save_rstgr LIKE t_bseg-rstgr,
save_sgtxt LIKE t_bseg-sgtxt, "PG02+
save_hkont LIKE t_bseg-hkont,
first_reason TYPE c,
first_glacct TYPE c,
detail_section TYPE c,
amount_out LIKE t_bseg-wrbtr,
l_rstgr LIKE t053r-rstgr.
Start of RC03
DATA:
valid TYPE c,
params LIKE pri_params,
job_released LIKE btch0000-char1,
job_name LIKE tbtcjob-jobname,
job_count LIKE tbtcjob-jobcount.
DATA:
BEGIN OF t_kna1 OCCURS 0,
kunnr LIKE kna1-kunnr,
knrza LIKE kna1-knrza,
END OF t_kna1.
DATA:
s_monat1 LIKE bkpf-monat,
s_monat2 LIKE bkpf-monat,
s_monat3 LIKE bkpf-monat,
s_monat4 LIKE bkpf-monat,
s_monat5 LIKE bkpf-monat,
s_monat6 LIKE bkpf-monat,
s_monat7 LIKE bkpf-monat,
s_monat8 LIKE bkpf-monat,
s_monat9 LIKE bkpf-monat,
s_monat10 LIKE bkpf-monat,
s_monat11 LIKE bkpf-monat,
s_monat12 LIKE bkpf-monat,
s_monatlow LIKE bkpf-monat, "DB05+
s_monathigh LIKE bkpf-monat. "DB05+
End of RC03
CONSTANTS:
c_company_code(4) VALUE 'PF01'.
RANGES:
r_rstgr FOR bseg-rstgr.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_gjahr LIKE bkpf-gjahr OBLIGATORY.
SELECT-OPTIONS: s_monat FOR bkpf-monat OBLIGATORY, "RC03+ "DB05+
s_blart FOR bkpf-blart OBLIGATORY, "DB05+
s_budat FOR bkpf-budat. "PG01+
SELECT-OPTIONS: s_hkont FOR bseg-hkont,
s_rstgr FOR bseg-rstgr.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-026.
PARAMETERS: p_pdf AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK b2.
*Start of RC03
PARAMETERS:
backgr(1) TYPE c DEFAULT 'X' MODIF ID dsp,
process(1) TYPE c MODIF ID dsp.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'DSP'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
*End of RC03
Print page headers *
TOP-OF-PAGE.
PERFORM page_header.
START-OF-SELECTION.
Start Processing
IF process = 'X'.
PERFORM main.
ENDIF.
Submit background job
IF backgr = 'X'.
job_name = 'Reason Code Report'.
MESSAGE s000 WITH 'Background job has been submitted.'.
PERFORM background.
ENDIF.
PDF creation
IF p_pdf = 'X'. "RC04
SUBMIT zsdl_393_create_pdf
VIA SELECTION-SCREEN AND RETURN. "RC04
ENDIF. "RC04
FORM main.
Load Data into internal tables *
*SELECT bukrs belnr gjahr budat FROM bkpf "PG01-
*SELECT bukrs belnr gjahr budat xblnr FROM bkpf "PG01+ "DB05-
SELECT bukrs belnr gjahr blart budat xblnr FROM bkpf "DB05+
INTO CORRESPONDING FIELDS OF TABLE t_bkpf
WHERE gjahr = p_gjahr "Fiscal Year
AND monat = p_monat "Posting Period "RC03-
AND monat IN s_monat "Posting Period "RC03+
AND blart IN s_blart "Document Type "DB05+
AND budat IN s_budat. "Posting Date "PG01+
*AND (blart = 'AB' OR blart = 'DZ' OR blart = 'ZO' ). "DB05-
IF NOT t_bkpf[] IS INITIAL.
If the user selected specific Reason Codes, use that range...
Otherwise, create a range of valid Reason Codes from table T053R.
IF s_rstgr IS INITIAL.
READ TABLE t_bkpf INDEX 1. "Get first record for company code
SELECT rstgr FROM t053r
INTO l_rstgr
WHERE bukrs = c_company_code.
r_rstgr-sign = 'I'. "Include
r_rstgr-option = 'EQ'. "where values equal
r_rstgr-low = l_rstgr. "comparison field
APPEND r_rstgr.
ENDSELECT.
ELSE.
r_rstgr[] = s_rstgr[].
ENDIF.
*--- This section removed b/c of TDS review
SELECT bukrs belnr shkzg wrbtr sgtxt hkont
kunnr rstgr prctr zloc zexp zdtl
FROM bseg
INTO CORRESPONDING FIELDS OF t_bseg
FOR ALL ENTRIES IN t_bkpf
WHERE bukrs = t_bkpf-bukrs "Company code
AND belnr = t_bkpf-belnr "Doc#
AND hkont IN s_hkont "Account# range
AND rstgr IN r_rstgr. "Reason Code range
Override blank Customer number in table from BSEG record.
SELECT SINGLE kunnr FROM bseg
INTO t_bseg-kunnr
WHERE bukrs = t_bkpf-bukrs
AND belnr = t_bkpf-belnr
AND gjahr = t_bkpf-gjahr
AND koart = 'D'.
if sy-subrc > 0.
t_bseg-kunnr = ' '.
endif.
APPEND t_bseg.
ENDSELECT.
*--- End of TDS review removal
*--- This is the new section added b/c of the TDS review
SELECT bukrs belnr gjahr shkzg wrbtr sgtxt hkont
kunnr rstgr prctr zloc zexp zdtl "PG01-
kunnr rstgr prctr xref1 "zloc zexp zdtl "PG01+
FROM bseg
INTO CORRESPONDING FIELDS OF TABLE t_bseg
FOR ALL ENTRIES IN t_bkpf
WHERE bukrs = t_bkpf-bukrs "Company code
AND belnr = t_bkpf-belnr "Doc#
AND hkont IN s_hkont "Account# range
AND rstgr IN r_rstgr. "Reason Code range
Retrieve records from BSEG which have the Customer number
SELECT bukrs belnr gjahr kunnr FROM bseg
INTO CORRESPONDING FIELDS OF TABLE t_kunnr
FOR ALL ENTRIES IN t_bkpf
WHERE bukrs = t_bkpf-bukrs
AND belnr = t_bkpf-belnr
AND gjahr = t_bkpf-gjahr
AND koart = 'D'.
*--- End of TDS review addition
*->Start of RC03
SELECT kunnr
knrza
FROM kna1
INTO TABLE t_kna1
FOR ALL ENTRIES IN t_kunnr
WHERE kunnr = t_kunnr-kunnr.
SORT t_kna1 BY kunnr.
*->End of RC03
ENDIF. "t_bkpf has records in it
MAINLINE - Write Report Details *
detail_section = 'Y'. "Write column headers
NEW-PAGE.
CLEAR sum_wrbtr.
SORT t_bkpf BY bukrs belnr.
MAINLINE - LOOP THROUGH INTERNAL TABLE & PROCESS REPORT.
SORT t_bseg BY rstgr belnr.
LOOP AT t_bseg.
ON CHANGE OF t_bseg-rstgr.
IF sy-tabix <> 1. "If not first time
PERFORM write_detail_subtotal.
ENDIF.
CLEAR sum_wrbtr. "Clear sum for next reason code.
save_rstgr = t_bseg-rstgr.
save_sgtxt = t_bseg-sgtxt. "PG02+
ENDON.
Set amount field, add to sum, and print detail line.
amount_out = t_bseg-wrbtr.
IF t_bseg-shkzg = 'H'.
MULTIPLY amount_out BY -1.
ENDIF.
sum_wrbtr = sum_wrbtr + amount_out.
PERFORM write_detail_line.
Add amount to GL Account total internal table
CLEAR t_hkont_sum-hkont.
CLEAR t_hkont_sum-wrbtr.
READ TABLE t_hkont_sum WITH KEY hkont = t_bseg-hkont.
t_hkont_sum-wrbtr = t_hkont_sum-wrbtr + amount_out.
IF sy-subrc = 0. "GL Account already found.
MODIFY t_hkont_sum INDEX sy-tabix. "Modify existing itab record
ELSE.
t_hkont_sum-hkont = t_bseg-hkont. "Set Account# itab key field
APPEND t_hkont_sum.
ENDIF.
AT LAST.
PERFORM write_detail_subtotal.
ENDAT.
ENDLOOP.
FREE t_bkpf.
FREE t_bseg.
detail_section = 'N'. "Suppress column headers
PERFORM write_summary. "Print Summary page by Reason & GL Account
ENDFORM. " main
*& Form page_header
text
--> p1 text
<-- p2 text
FORM page_header.
Start of RC03
LOOP AT s_monat.
CASE sy-tabix.
WHEN 1.
s_monat1 = s_monat-low.
s_monatlow = s_monat-low. "DB05+
s_monathigh = s_monat-high. "DB05+
WHEN 2.
s_monat2 = s_monat-low.
WHEN 3.
s_monat3 = s_monat-low.
WHEN 4.
s_monat4 = s_monat-low.
WHEN 5.
s_monat5 = s_monat-low.
WHEN 6.
s_monat6 = s_monat-low.
WHEN 7.
s_monat7 = s_monat-low.
WHEN 8.
s_monat8 = s_monat-low.
WHEN 9.
s_monat9 = s_monat-low.
WHEN 10.
s_monat10 = s_monat-low.
WHEN 11.
s_monat11 = s_monat-low.
WHEN 12.
s_monat12 = s_monat-low.
ENDCASE.
ENDLOOP.
End of RC03
CALL FUNCTION 'Z_STANDARD_REPORT_HEADER'
EXPORTING
report_name = sy-cprog
report_width = sy-linsz
report_title = 'Reason Code Summary'.
SKIP.
Print selected Fiscal Year
WRITE AT: /51 text-002,
66 p_gjahr.
Print selected Fiscal Period
WRITE AT: /51 text-003. "DB05
66 p_monat. "RC03-
Start of RC03
IF s_monathigh = 0. "DB05+
WRITE AT: 66 s_monat1 NO-ZERO,
69 s_monat2 NO-ZERO,
72 s_monat3 NO-ZERO,
75 s_monat4 NO-ZERO,
78 s_monat5 NO-ZERO,
81 s_monat6 NO-ZERO,
/66 s_monat7 NO-ZERO,
69 s_monat8 NO-ZERO,
72 s_monat9 NO-ZERO,
75 s_monat10 NO-ZERO,
78 s_monat11 NO-ZERO,
81 s_monat12 NO-ZERO.
ELSE. "DB05+
WRITE AT: 66 s_monatlow NO-ZERO, "DB05+
69 '-', "DB05+
71 s_monathigh NO-ZERO, "DB05+
74 s_monat2 NO-ZERO, "DB05+
77 s_monat3 NO-ZERO, "DB05+
80 s_monat4 NO-ZERO, "DB05+
83 s_monat5 NO-ZERO, "DB05+
/66 s_monat6 NO-ZERO, "DB05+
69 s_monat7 NO-ZERO, "DB05+
72 s_monat8 NO-ZERO, "DB05+
75 s_monat9 NO-ZERO, "DB05+
78 s_monat10 NO-ZERO, "DB05+
81 s_monat11 NO-ZERO, "DB05+
84 s_monat12 NO-ZERO. "DB05+
ENDIF. "DB05+
*End of RC03
Print selected Posting Date range
WRITE AT: /51 text-022. "PG01+
IF s_budat IS INITIAL. "PG01+
WRITE AT: 66 'All'. "PG01+
ELSE. "PG01+
WRITE AT: 66 s_budat-low, "PG01+
77 '-', "PG01+
79 s_budat-high. "PG01+
ENDIF. "PG01+
SKIP.
SKIP.
If we are in the detail section of the report, print column headers.
IF detail_section = 'Y'.
WRITE AT: /21 text-004,
34 t_bseg-rstgr,
39 text-005,
52 t_bseg-sgtxt.
SKIP.
WRITE AT: /1 text-006, "Doc Number"
13 text-007, "Business Unit" "DB05-
28 text-008, "Location" "DB05-
38 text-009, "Account" "DB05-
50 text-010, "Expense" "DB05-
59 text-011, "Detail" "DB05-
69 text-012, "Customer" "DB05-
81 text-025, "Alt Payer "DB05-
93 text-023, "Reference "PG01+ "DB05-
111 text-024, "Ref Key 1 "PG01+ "DB05-
81 text-013, "Amount" "PG01- "DB05-
99 text-014. "Posting Date" "PG01- "DB05-
125 text-013, "Amount" "PG01+ "DB05-
143 text-014. "Posting Date" "PG01+ "DB05-
13 text-027, "Doc Type" "DB05+
23 text-007, "Business Unit" "DB05+
38 text-008, "Loc" "DB05+
44 text-009, "Account" "DB05+
56 text-010, "Exp" "DB05+
61 text-011, "Detail" "DB05+
71 text-012, "Customer" "DB05+
83 text-025, "Alt Payer "DB05+
95 text-023, "Reference "PG01+ "DB05+
113 text-024, "Ref Key 1 "PG01+ "DB05+
127 text-013, "Amount" "PG01+ "DB05+
145 text-014. "Posting Date" "PG01+ "DB05+
WRITE AT: /1 '----
', "Underline Doc Number
13 '-------------', "Underline Business Unit "DB05-
28 '--------', "Underline Location "DB05-
38 '----------', "Underline Account "DB05-
50 '-------', "Underline Expense "DB05-
59 '--------', "Underline Detail "DB05-
69 '----------', "Underline Customer "DB05-
81 '----------', "Underline Alternate payer "DB05-
93 '----------------', "Underline Reference "DB05-
111 '------------', "Underline Ref Key 1 "DB05-
125 '----------------', "Underline Amount "DB05-
143 '------------'. "Underline Posting Date "DB05-
13 '----
', "Underline Doc Type "DB05+
23 '----
', "Underline Business Unit "DB05+
38 '----', "Underline Loc "DB05+
44 '----
', "Underline Account "DB05+
56 '---', "Underline Exp "DB05+
61 '----
', "Underline Detail "DB05+
71 '----
', "Underline Customer "DB05+
83 '----
', "Underline Alternate payer "DB05+
95 '----
', "Underline Reference "DB05+
113 '----
', "Underline Ref Key 1 "DB05+
127 '----
', "Underline Amount "DB05+
145 '----
'. "Underline Posting Date "DB05+
*->Start RC03
81 '----------------', "Underline Reference "PG01+
99 '------------', "Underline Ref Key 1 "PG01+
81 '----------------', "Underline Amount "PG01-
99 '------------'. "Underline Posting Date "PG01-
113 '----------------', "Underline Amount "PG01+
131 '------------'. "Underline Posting Date "PG01+
End RC03
SKIP.
ENDIF.
ENDFORM. " page_header
*& Form Write_Detail_Line
Print a detail line.
--> p1 text
<-- p2 text
FORM write_detail_line.
Retrieve the Posting Date from the header table (BUDAT)
READ TABLE t_bkpf
WITH TABLE KEY bukrs = t_bseg-bukrs
belnr = t_bseg-belnr
gjahr = t_bseg-gjahr.
*--- This is a new section added b/c of the TDS review
Retrieve the Customer number from the 'D' BSEG records
READ TABLE t_kunnr
WITH KEY bukrs = t_bseg-bukrs
belnr = t_bseg-belnr
gjahr = t_bkpf-gjahr.
IF sy-subrc <> 0.
t_kunnr-kunnr = 9999999999.
ENDIF.
*--- End of TDS review addition
*Start of RC03
CLEAR t_kna1.
READ TABLE t_kna1 WITH KEY kunnr = t_kunnr-kunnr.
*End of RC03
WRITE AT: /1 t_bseg-belnr,
13 t_bseg-prctr, "DB05-
28 t_bseg-zloc, "DB05-
38 t_bseg-hkont, "DB05-
50 t_bseg-zexp, "DB05-
59 t_bseg-zdtl, "DB05-
*TDS- 69 t_bseg-kunnr, "DB05-
69 t_kunnr-kunnr, "TDS+ "DB05-
81 t_kna1-knrza, "Alt payer "RC03+ "DB05-
93 t_bkpf-xblnr, "Reference "PG01+ "DB05-
111 t_bseg-xref1, "Ref Key 1 "PG01+ "DB05-
81 amount_out, "PG01- "DB05-
99 t_bkpf-budat. "PG01- "DB05-
125 amount_out, "PG01+ "DB05-
143 t_bkpf-budat. "PG01+ "DB05-
13 t_bkpf-blart, "DB05+
23 t_bseg-prctr, "DB05+
38 t_bseg-zloc, "DB05+
44 t_bseg-hkont, "DB05+
56 t_bseg-zexp, "DB05+
61 t_bseg-zdtl, "DB05+
71 t_kunnr-kunnr, "TDS+ "DB05+
83 t_kna1-knrza, "Alt payer "RC03+ "DB05+
95 t_bkpf-xblnr, "Reference "PG01+ "DB05+
113 t_bseg-xref1, "Ref Key 1 "PG01+ "DB05+
127 amount_out, "PG01+ "DB05+
145 t_bkpf-budat. "PG01+ "DB05+
ENDFORM. " Write_Detail_Line
*& Form Write_Detail_Subtotal
Write the Reason Code subtotal line for the detail section.
--> p1 text
<-- p2 text
FORM write_detail_subtotal.
WRITE AT: /81 '----------------'. "PG01-
WRITE AT: /56 text-015, "PG01-
81 sum_wrbtr. "PG01-
WRITE AT: /81 '----------------'. "PG01-
WRITE AT: /81 '----------------'. "PG01-
WRITE AT: /125 '----------------'. "PG01+ "DB05-
WRITE AT: /56 text-015, "PG01+ "DB05-
125 sum_wrbtr. "PG01+ "DB05-
WRITE AT: /125 '----------------'. "PG01+ "DB05-
WRITE AT: /125 '----------------'. "PG01+ "DB05-
WRITE AT: /127 '----
'. "PG01+ "DB05+
WRITE AT: /56 text-015, "PG01+ "DB05+
127 sum_wrbtr. "PG01+ "DB05+
WRITE AT: /127 '----
'. "PG01+ "DB05+
WRITE AT: /127 '----
'. "PG01+ "DB05+
NEW-PAGE.
Add the total for this reason code to an internal table
for printing the Summary Page at the end.
CLEAR t_rstgr_sum-rstgr.
CLEAR t_rstgr_sum-wrbtr.
t_rstgr_sum-rstgr = save_rstgr.
t_rstgr_sum-sgtxt = save_sgtxt. "PG02+
t_rstgr_sum-wrbtr = sum_wrbtr.
APPEND t_rstgr_sum.
ENDFORM. " Write_Detail_Subtotal
*& Form Write_Summary
Prints the Summary section at the end of the report
--> p1 text
<-- p2 text
FORM write_summary.
NEW-PAGE.
WRITE AT: /20 text-016.
SKIP.
Print Summary by Reason Code
WRITE AT: /20 text-017. "Reason Code Description Total"
SKIP.
CLEAR grand_wrbtr.
LOOP AT t_rstgr_sum.
grand_wrbtr = grand_wrbtr + t_rstgr_sum-wrbtr.
IF first_reason IS INITIAL.
WRITE AT: /27 t_rstgr_sum-rstgr,
33 text-021, "Dollar sign ($) "PG02-
34 t_rstgr_sum-wrbtr. "PG02-
33 t_rstgr_sum-sgtxt,
83 text-021, "Dollar sign ($) "PG02+
84 t_rstgr_sum-wrbtr.
first_reason = 'N'.
ELSE.
WRITE AT: /27 t_rstgr_sum-rstgr,
34 t_rstgr_sum-wrbtr. "PG02-
33 t_rstgr_sum-sgtxt,
84 t_rstgr_sum-wrbtr.
ENDIF.
ENDLOOP.
PERFORM grand_total.
SKIP.
SKIP.
SKIP.
Print Summary by GL Account
WRITE AT: /20 text-018. "GL Account Total"
SKIP.
CLEAR grand_wrbtr.
LOOP AT t_hkont_sum.
grand_wrbtr = grand_wrbtr + t_hkont_sum-wrbtr.
IF first_glacct IS INITIAL.
WRITE AT: /22 t_hkont_sum-hkont,
83 text-021, "Dollar sign ($)
84 t_hkont_sum-wrbtr.
first_glacct = 'N'.
ELSE.
WRITE AT: /22 t_hkont_sum-hkont,
84 t_hkont_sum-wrbtr.
ENDIF.
ENDLOOP.
PERFORM grand_total.
ENDFORM. " Write_Summary
*& Form Grand_Total
*& Replaced below by mod PG02.
Writes Grand Total lines of the two summary page sections.
--> p1 text
<-- p2 text
*FORM grand_total.
*SKIP.
*WRITE AT: /33 text-020. "16 dashes (for underlining)
*WRITE AT: /19 text-019, "Grand Total"
33 text-021, "Dollar sign ($)
34 grand_wrbtr.
*WRITE AT: /33 text-020. "16 dashes (for underlining)
*WRITE AT: /33 text-020. "16 dashes (for underlining)
*SKIP.
*ENDFORM. " Grand_Total
*& Form Grand_Total
*& New column numbers by mod PG02
Writes Grand Total lines of the two summary page sections.
--> p1 text
<-- p2 text
FORM grand_total.
SKIP.
WRITE AT: /83 text-020. "16 dashes (for underlining)
WRITE AT: /19 text-019, "Grand Total"
83 text-021, "Dollar sign ($)
84 grand_wrbtr.
WRITE AT: /83 text-020. "16 dashes (for underlining)
WRITE AT: /83 text-020. "16 dashes (for underlining)
SKIP.
ENDFORM. " Grand_Total
*& Form background
text
--> p1 text
<-- p2 text
FORM background.
*Get print parameters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
immediately = ' '
no_dialog = 'X'
IMPORTING
out_parameters = params
valid = valid.
*Job Open
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = job_name
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
IMPORTING
jobcount = job_count
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
*Background job submittion
SUBMIT zsdl_393_reason_code_report
WITH p_gjahr = p_gjahr
WITH s_monat IN s_monat
WITH s_blart IN s_blart
WITH s_budat IN s_budat
WITH s_hkont IN s_hkont
WITH s_rstgr IN s_rstgr
WITH backgr = ' '
WITH process = 'X'
VIA JOB job_name
NUMBER job_count
AND RETURN.
*Job Close
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = job_count
jobname = job_name
strtimmed = 'X'
targetsystem = sy-host
IMPORTING
job_was_released = job_released
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
ENDFORM. " background
this is a report of pdf
theres is one pdf file could u plz explain this
TABLES: tsp01,
knvh,
scal,
p0001.
I N T E R N A L T A B L E S *
DATA: int_spo LIKE tsp01 OCCURS 100 WITH HEADER LINE.
DATA: int_tsp01p LIKE tsp01psy OCCURS 100 WITH HEADER LINE.
DATA: otf LIKE itcoo OCCURS 100 WITH HEADER LINE.
DATA: pdf LIKE tline OCCURS 100 WITH HEADER LINE.
DATA: doctab LIKE docs OCCURS 1 WITH HEADER LINE.
DATA: int_xpm LIKE btcxpm OCCURS 100 WITH HEADER LINE.
DATA: cancel.
DATA: BEGIN OF int_knvh OCCURS 100,
kunnr LIKE knvh-kunnr,
hkunnr LIKE knvh-hkunnr.
DATA: END OF int_knvh.
DATA: BEGIN OF db_tab OCCURS 100,
filenam(128) TYPE c.
DATA: END OF db_tab.
D A T A C O N S T A N T S *
DATA: numbytes TYPE i,
arc_idx LIKE toa_dara,
pdfspoolid LIKE tsp01-rqident,
rq2name(12) TYPE n,
rqcretime LIKE tsp01-rqcretime,
hkunnr LIKE knvh-hkunnr,
hreffile(30) TYPE c,
jobname LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount,
counter LIKE syst-tabix,
g_count(4) TYPE n,
g_path LIKE rlgrap-filename,
g_filename TYPE string.
DATA: client LIKE tst01-dclient,
name LIKE tst01-dname,
objtype LIKE rststype-type,
type LIKE rststype-type,
dblink LIKE rlgrap-filename,
bothpath LIKE rlgrap-filename,
add_param LIKE sxpgcolist-parameters,
icon_note(5).
DATA: date LIKE scal-date,
weekday LIKE scal-indicator,
days LIKE t5a4a-dlydy,
months LIKE t5a4a-dlymo,
years LIKE t5a4a-dlyyr,
saturday LIKE p0001-begda.
P A R A M E T E R S & S E L E C T - O P T I O N S *
SELECTION-SCREEN BEGIN OF BLOCK box WITH FRAME TITLE text-001.
PARAMETERS: p_client LIKE tsp01-rqclient DEFAULT syst-mandt.
SELECT-OPTIONS: s_spool FOR tsp01-rqident,
s_rqdate FOR sy-datum,
s_otptd FOR tsp01-rqdest NO INTERVALS.
SELECT-OPTIONS: p_rqnam1 FOR tsp01-rq0name NO INTERVALS,
p_rqnam2 FOR tsp01-rq1name NO INTERVALS,
p_rqnam3 FOR tsp01-rq2name NO INTERVALS,
s_rqownr FOR tsp01-rqowner NO INTERVALS,
s_rqtitl FOR tsp01-rqtitle NO INTERVALS.
SELECTION-SCREEN SKIP.
Block PDF description
SELECTION-SCREEN BEGIN OF BLOCK desc WITH FRAME TITLE text-017.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_sfx12 RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-022.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_sfx2 RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-018.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_titl RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-019.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_cust RADIOBUTTON GROUP two.
SELECTION-SCREEN COMMENT 4(27) text-020.
PARAMETERS: pt_tcust(20) TYPE c.
SELECTION-SCREEN COMMENT 52(1) text-024.
PARAMETERS: p_incre AS CHECKBOX.
SELECTION-SCREEN COMMENT (20) text-021.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_date AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(27) text-023.
*PARAMETERS: pt_date LIKE sy-datum DEFAULT sy-datum.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK desc.
*Block download
SELECTION-SCREEN BEGIN OF BLOCK options WITH FRAME TITLE text-003.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_unix RADIOBUTTON GROUP one.
SELECTION-SCREEN COMMENT 4(27) text-007.
PARAMETERS: p_unxpat LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_pcdwn RADIOBUTTON GROUP one.
SELECTION-SCREEN COMMENT 4(27) text-006.
PARAMETERS: p_pcpath LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_test AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(27) text-008.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK options.
*Block Pointer file
SELECTION-SCREEN BEGIN OF BLOCK dbfile WITH FRAME TITLE text-016.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_point AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(27) text-025.
PARAMETERS: p_dbfile LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK dbfile.
SELECTION-SCREEN END OF BLOCK box.
AT-SELECTION-SCREEN *
AT SELECTION-SCREEN ON pt_tcust.
IF p_cust = 'X' AND
pt_tcust IS INITIAL.
MESSAGE e000 WITH 'Please enter custom name'.
ENDIF.
AT SELECTION-SCREEN ON p_unxpat.
IF p_unix = 'X' AND
p_unxpat IS INITIAL.
MESSAGE e000 WITH 'Please enter Unix path'.
ENDIF.
AT SELECTION-SCREEN ON p_pcpath.
IF p_pcdwn = 'X' AND
p_pcpath IS INITIAL.
MESSAGE e000 WITH 'Please enter PC path'.
ENDIF.
AT SELECTION-SCREEN ON p_dbfile.
IF p_point = 'X' AND
p_dbfile IS INITIAL.
MESSAGE e000 WITH 'Please enter pointer file path in Unix'.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pcpath.
*Checks for the selected file
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
mask = ',* ,*.'
mode = '0'
IMPORTING
filename = g_filename
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
IF sy-subrc = 0.
p_pcpath = g_filename.
ENDIF.
TOP OF PAGE *
TOP-OF-PAGE.
PERFORM page_header.
START OF SELECTION *
START-OF-SELECTION.
SELECT * FROM tsp01 CLIENT SPECIFIED WHERE rqident IN s_spool
AND rqclient EQ p_client
AND rqdest IN s_otptd
AND rq0name IN p_rqnam1
AND rq1name IN p_rqnam2
AND rq2name IN p_rqnam3
AND rqowner IN s_rqownr
AND rqtitle IN s_rqtitl.
CHECK tsp01-rqcretime(8) IN s_rqdate.
MOVE tsp01-rqident TO int_spo-rqident.
MOVE tsp01-rq0name TO int_spo-rq0name.
MOVE tsp01-rq1name TO int_spo-rq1name.
MOVE tsp01-rq2name TO int_spo-rq2name.
MOVE tsp01-rqtitle TO int_spo-rqtitle.
MOVE tsp01-rqcretime(8) TO int_spo-rqcretime.
MOVE tsp01-rqdest TO int_spo-rqdest.
APPEND int_spo.
ENDSELECT.
IF sy-subrc NE 0.
Invalid parameters entered! Please correct and re-execute.
MESSAGE s014(zz).
ENDIF.
END-OF-SELECTION.
CLEAR: int_spo.
SORT int_spo BY rqident rq2name.
LOOP AT int_spo.
Sapscript or list
PERFORM sapscript_or_list.
Define PDF description
PERFORM pdf_desc.
Option to download PDF files to local PC
Real-time or test mode
IF p_test <> 'X'.
IF p_pcdwn EQ 'X'.
PERFORM down_to_pc.
Option to download PDF files to Unix
ELSEIF p_unix = 'X'.
PERFORM down_to_unix.
ENDIF.
ENDIF.
Print report
Hello...
Create a new function group and required function module in the RD2 server using SE37. Enter the various parameters and exceptions, then cut and paste the code from one system to another. Create includes and use cut and paste to do that as well.
Similar Messages
-
Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory
Here are a few Links to a helpful Knowledge Base article and a White Paper that should help you out: http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF and http://www.ni.com/white-paper/10435/en/ . The methods for File IO in Real Time are the same for all of the Real Time Targets. The White Paper has best practices for the File IO and goes over how to do it.
Alex D
Applications Engineer
National Instruments -
Could anybody plz send some faq's on modulepool?
Hi experts,
I'm very new to module pool.
could anybody plz send some faq's on modulepool?
regards.
venkatModule Pool Programming
http://www.allsaplinks.com/dialog_programming.html
http://sap.mis.cmich.edu/sap-abap/abap09/
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://sap.mis.cmich.edu/abap-00/
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com
http://www.sapgenie.com/abap/example_code.htm
http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
http://www.allsaplinks.com/dialog_programming.html
http://www.sapbrain.com/TUTORIALS/default.html
http://www.sappoint.com/abap/spmp.pdf
http://sappoint.com/abap.html
http://www.sap-img.com/abap.htm
http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-img.com/abap/
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-img.com/
http://www.sappoint.com/faq/faqdiapr.pdf
http://www.allsaplinks.com/dialog_programming.html
Check the following Link
http://www.sappoint.com/faq/faqss.pdf -
Could someone plz tell me how to get FarmVille 2 on my iPad
Could someone plz tell me how to get farmville2 on my iPad
I don't think its available as an App. You might be able to get it by going to zynga.com and see if it will run through Safari. It will probably require you to log into FaceBook though.
-
Could you plz help me?!?!?!I'm NEW!!!
Hi to everyone!
I'm new at java,I mean that i just started learning how to program in Java and i have a problem while compiling my fisrt program in Java!
Firstly,i have to say that i have downloaded the jre-1_5_0_04-windows-i586-p.exe and installed it in my pc.From the installation a Java folder was being created.
I used Cygwin(an editor on my PC) in order to write the program :
public class HelloWorldApp {
public static void main(String args[ ]) {
System.out.println("Hello World!");
Then after storing the program i tried to compile it using javac and it outputted :
user@owner ~
$ javac HelloWorldApp.java
bash: javac: command not found
I tried then to use sthg else(java only,not javac) and it outputted
user@owner ~
$ java HelloWorldApp.java
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp/java
Well,could you plz help me and tell me where is the problem?
I mean that ,shall i use a different editor or sthg else?
Thanks in advance! : )
Good evening!!!Then save ur prog in bin
folderYou should definitely not do this.
and then compile it will surely work. Bye.You can compile it, though, after saving it to a better place. That's what the path is for. You wouldn't set the path if you were going to store everything in the bin folder.
Instead, store it in a java specific folder under My Documents (Windows) or your home directory. -
Hai friends :)
could u plz ......
i am getting data from db , but the name can have any spection characters like eg : abc"shdjj'\n"fdjhhh
now i am getting the value using c:out
<c:out value="${Object.name}" escapeXml="false"/>
i want 2 assign this value to one java script variable like this
var Obj = "<c:out value="${Object.name}" escapeXml="false"/>";
but it is not accepting " in the string
thanks in advance .........You'll need to escape the quotes. If you don't have single quotes in your data, you could simply make your JavaScript string enclosed in single quotes.
A cleaner and more flexible option might be to use the Apache Commons String Escape Utils [1], see some examples here [2].
[1] http://commons.apache.org/lang/api/org/apache/commons/lang/StringEscapeUtils.html
[2] http://www.java2s.com/Code/Java/Apache-Common/StringEscapeUtils.htm
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
---------------------------------------------------------------- -
Urgent . could you please explain/give solution clearly.
Have ZGDES table in 4.6 c and 4.7 E. I have to do changes in both the systems.
I have to add one field ( for writing comments ) with text of unlimited length ?
I mean is there a practical way to make this 'Comments' field more like an extra text/long text field that is unlimited or at least a few hundred characters long?
If you have done this Kindly help me out.
ZGDES is having table maintenance genereter .so , I have to create TMG for this table also after adding this field.
If you tell me, please tell me how to give bonus points also.
you help will be APPRECIATED.Hi Sam,
1)Declare the new field of type <b>STRING</b>
2)Save and Activate it
3)<b>Regenerate</b> the Table Maintainence.
This should work fine for you.
Regards,
Arun Sambargi. -
Very urgent, vendor down payment clearing - ka doc type
hello gurus,
while clearing vendor down payment, some down payment entries are posted as ka doc type. now i have to clear the invoice down payment with the ka doc type. how to do this.
for retention account we booked in special G now that retention money also paid but that doc is not showing as cleared. still it showing in red colour. but balance is nill. what to do for this..
can anybody help me very urgent friends
thanks
jayaHI ,
CHECK THI SPROCEDURE ,
DOWN PAYMENT;
Vendor A/C--a DR1
TO Bank
Invoice;
Expence a/c dr
to Vendor----
2
down payment clear:
Vendor A/C-----Adr -
3
to Vendor a/c----4.
Hi once you do the Down payment clearing only 1 & 3 line items will be cleared.
but 2&4 line items will show as open items .
This line items you have to clear .Clear this in F-44.
CHANDRA -
hello everyone,
am new to apple.store, i had purchased for a macbook air and another item, at the begining it was cancelled for no reasons, when i contacted my bank they say there is no request for any money withdraw and i was blaming them for thier services.
but then after making order couple of times, my order was done and i got a confirmation from my bank that a specific amount of money was wathdrawn from bank acount. and i was happy that everything is fine now, but the problem started here, the next day i got an email from apple that says that my order was cancelled cus they dont sent to a freight forward address, but hey i already had an order two days before that and it was approved and shiped to my address in US. and i got a msg from my freight forward service that i got an item from apple and it will be shiped to me soon.
as am out of US, i cant use the phone numbers they provided, nor i can find any email address that could help me. i contacted the apple store here in Dubai, but they said this problem should be fixed there cus it was done there..
the money i purchased is around 2300 dollar,, i dont know what to do??? plz help me ..i wanted to have an advice, i thought maybe someone had the same prob, thats why i wrote in the forum,
i spent my last two days looking for any contact that could help me in this, but notheing at all was there, all contact methods were phone numbers for those who are in US or Canada,
anyway, thanks for your reply -
Mr. Frank Could u plz check this ...
Hi,
Could u please guide me wat is the reason of this error...Is this error occuring due to some configuration Problem. I tried to run the backup application, which was running smoothly previous days.
The error-----
C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
[http://waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=;C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\JDK160~1\lib\tools.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\ORACLE\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\ORACLE\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\ORACLE\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\native;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\bin;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\ORACLE\MIDDLE~1\JDK160~1\jre\bin;C:\ORACLE\MIDDLE~1\JDK160~1\bin;D:\9iDS\bin;D:\9iDS\jdk\jre\bin;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jlib;D:\9iDS\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\ORACLE\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Feb 12, 2009 10:16:03 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<Feb 12, 2009 10:16:03 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Feb 12, 2009 10:16:04 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Feb 12, 2009 10:16:05 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:05 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 12, 2009 10:16:05 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Feb 12, 2009 10:16:10 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:17 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Application1 is not versioned.>
Feb 12, 2009 10:16:17 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:16:18 AM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
<Feb 12, 2009 10:16:39 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application DashBoard is not versioned.>
Feb 12, 2009 10:16:39 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Dashboard is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestApplication is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:17:04 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestJith is not versioned.>
Feb 12, 2009 10:17:04 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:22 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'Dashboard'.
weblogic.application.ModuleException: Context path '/Dashboard-ViewController-context-root' is already in use by the module: Dashboard-ViewController-context-root application: DashBoard
at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1076)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:908)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:423)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
Truncated. see log file for complete stacktrace
>
Feb 12, 2009 10:17:22 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "Conti1", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.12:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 88062 ms.
DefaultServer started.
[http://Running application Dashboard on Server Instance DefaultServer...]
---- Deployment started. ---- Feb 12, 2009 10:17:30 AM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2009-02-12 10:17:30.859: Writing WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
2009-02-12 10:17:30.906: Wrote WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
WARNING: Connection G5PS has no password. G5PS-jdbc.xml file not generated for connection G5PS.
2009-02-12 10:17:31.078: Writing EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
2009-02-12 10:17:31.093: Wrote EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
Redeploying Application...
<Feb 12, 2009 10:17:32 AM IST> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application 'Dashboard'. Error is: '[Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.'>
weblogic.management.ManagementException: [Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.
#### Deployment incomplete. #### Feb 12, 2009 10:17:32 AM
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:561)
at oracle.jdevimpl.deploy.weblogic.common.Jsr88WeblogicDeploymentHelper.redeployApplications(Jsr88WeblogicDeploymentHelper.java:259)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:222)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:542)
... 13 more
#### Cannot run application Dashboard due to error deploying to DefaultServer.
[Application Dashboard stopped and undeployed from Server Instance DefaultServer|http://forums.oracle.com/forums/]
Kindly help me to sort this issue.
Thanks in Advance
JitheshHi all,
I got the solution for this issue. Try to do the following steps...
open the admin console (http://127.0.0.1:7101/console) log in (user:weblogic pwd:weblogic). After successful login look in the upper left corner. There you see a button where you can activate pending changes (or revoke them).
If u hv any doubt then open the following URL
The domain edit lock is owned by another session in exclusive mode
Thank you very much to Timo....His tread helped me to solve this problem
Regards,
Jithesh -
I have Labview 7.0 and Matlab 6.5 installed on all the computers at my School. When I tried to use the Matllab Scripting Window for the first time, it worked, but after two days when I was trying to run the program, there was a meesage saying that the License is for instructional Purpose only and not for Research or commercial use and the Labview is getting totally stuck. I need the Matlab Scripting VI for my Project,could anyone suggest what I shd do or is there any other method by which I could do that.
Hello Medha,
Thank you for contacting National Instruments.
From the information you have provided, I am not sure what is causing your problem. Make sure that you do not have an evaluation license for LabVIEW.
What, if anything, was changed in your VI before it stopped working? Will it run without the Matlab script?
If you continue having trouble getting your VI to work, please respond with more information. If you like, you can post your VI (along with any necessary sub-VIs) and I will take a look at it.
Have a great day,
Sean C.
Applications Engineer
National Instruments -
URGENT could now face loosing this project
Main Issue
Towns dropdown stays on Shropshire even if the url shows
gloucestershire
the only way the towns change is manually selecting a
different county
the county url needs to populate the town dropdown and right
hand list
Please someone help I face loosing this project now
I know I have posted comments about this already but if
someone can help I can pay please !!!
http://www.dinewithus.co.uk/new/dining2.php?county_url=gloucestershire&twn_url=chipping-ca mpdenFor the file size, you could have done it yourself (3min of time).
platform : Flash Builder 4.5 on Mac
1) empty Flex Web project
below the result of loading it into a browser (the .swf file is 44kB); there are also some other .swz file providing the flex and spark framework but they are only loaded once on the client side and shared accross all web site needing it (stored in the flash cache, not the browser one)
2) empty Web ActionScript project
the .swf file is 4kB -
Help plz.... its very urgent... plz
Hi
This is very urgent ….
In a table:
Select * from source_table;
Datagrp_Name Query
DG1 select emp_name,Emp_id from emp (Emp table has emp_name ,emp_id and dept_id)
DG2 select dept_name from dept (dept table has dept_id and deptname)
Column name is: (Datagrp_Name,Query)
There r 2 records in the table
Now I want to load the data in the target table:
Select * from Target;
0 records
desc target; (it has 3 fields)Emp_name (insert the emp_name from emp)
Emp_id ((insert the emp_id from emp)
Dept_name (insert dept_name from dept)
Now I want to load data in this target table from emp and dept
Generally we will use: select emp_name,emp_id,dept_name from emp,dept where e.dept_id=d.dept_id;
But in this case as select query is there in the source table
So, I want the logic how to proceed pa….
Can anyone help me in this/Hi,
>>But in this case as select query is there in the source table
I think you need to know about EXECUTE IMMEDIATE statement.
take a look below:
SGMS@ORACLE10> create table query (text varchar2(50));
Table created.
SGMS@ORACLE10> insert into query values ('select 1000 from dual');
1 row created.
SGMS@ORACLE10> commit;
Commit complete.
SGMS@ORACLE10> select * from query;
TEXT
select 1000 from dual
SGMS@ORACLE10> set serveroutput on
SGMS@ORACLE10>
SGMS@ORACLE10> begin
2 declare
3 sql_cur varchar2(50);
4 out varchar2(50);
5 begin
6 select text into sql_cur from query;
7 execute immediate (sql_cur) into out;
8 dbms_output.put_line (sql_cur);
9 dbms_output.put_line (out);
10 end;
11 end;
12 /
select 1000 from dual
1000
PL/SQL procedure successfully completed.See if this link below help you:
http://www.dbasupport.com/oracle/ora9i/execute_immediate.shtml
Cheers -
Issues In Profitability Analysis (Urgent Urgent...Plz)
Dear Frends...
1.i want the <b>sales deduction account</b> should come into COPA,what are the assignments should i di?????
2. is it enough if i assign to cost center or else i have to assign to Profit center????
3.can i activate any thing in OKB9???
Plz give me the solution,,,points will be rewarded.
Thanks in advance
Regards
Sap Guruok ! so.... reward !
ps: you have to extend the structure PAPARTNER (serch for this term in OSS) -
Could u pls clear my doubts?
Hai abapers
I m new to ABAP objects....pls clear my doubts.
1.what is an event? how is it useful in application development?
2.Is it mandatory to give the same name for both object reference variable and object?
Advance thanks
regards,
SelvaHi Selvakumar,
1.what is an event? how is it useful in application development?
An u201Ceventu201D is the occurrence of a special condition during the execution of an ABAP program. This occurrence must be of sufficient importance for the ABAP program to take a special action.
Refer the below link for events.
[http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm]
2.Is it mandatory to give the same name for both object reference variable and object?
Yes. The reference variable oref must be declared as an object reference variable. Instance components of an object created using CREATE OBJECT can only be accessed using object reference variables.
[http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm]
Regards,
Boobalan Suburaj
Maybe you are looking for
-
Can a read-only snapshot site be refreshed from a read-only database?
Hi, Here is the database configuration. Database 1: master site Database 2: has materialized views (read-only snapshot site) If DB1 becomes read-only, is it possible to refresh the materialized views in DB2? I was told that it is not possible because
-
Imovie - Audio overlay not working on some HELP
Hey Guys, i trying to make a movie and i made loads in the past, and managed to get audio over a cut away. For some odd reason it is now not working, it is on one of the clips, but even with that it chooses when it wants to work, on a few it has a ye
-
GE60 Wont Boot and F3 Recovery gives blank screen
Hi, I purchased a MSI GE60 yesterday. On the second reboot the system said it was updating the system and during this time, the laptop went into sleep mode. Now every time I power up the laptop one of 2 things happens. 1) it gives me the MSI logo and
-
Best export for dvd quality using final cut express hd?
hey guys i have final cut express hd...what would be the best export settings to get nice highquality dvd? i am going to put about 25, short 5 minute clips in the dvd..will it be able to fit and all be a nice quality? any suggestions? thankyou!
-
Hi, I was getting the below error in BPEL server console, while trying to read data from oracle database: 06/03/20 11:28:33 OrionCMTConnection not closed, check your code! 06/03/20 11:28:33 Logical connection not closed, check your code! 06/03/20 11: