ECP PRODUCTION SERVER IS DOWN
Hi,
Our ECP PRODUCTION CI INSTANCE is down. I can't even see the instance
in the MMC console. I no longer see the SAPECP_02 service in
services.msc. Please advise and have a look at the system. I am opening
up all connection including terminal services. Please have a look at
it. Please note that this is a clustered environment and the database
is up and running on the database server.
Hi,
Also check with your cluster groups wheather its online or not.
Try on another node if service is available.
To register the service manualy this link will help
http://help.sap.com/saphelp_sm32/helpdata/EN/58/7d8f671e0fa54db744991e200f9111/content.htm
Regards,
Similar Messages
-
The production server is down, so need to switch to Secondary server. What would be the best way of doing it?
That is such a vague question, so call in a consultant that can talk to you about high availability and disaster recovery.
Cheers
John
http://john-goodwin.blogspot.com/ -
Planning BW Production Server Data Patchup
Hi Folks,
My BW Production Server was down for few weeks and we could able to fix the problem, Now we want to load the data that was not loaded since the production server was down (about 2 weeks of data should be loaded on the production server).
Please advice a proper plan to upload the 2 weeks data.
Thank you,
JayHi Jay,
it's not the right forum for this question. Data warehousing would be right.
Anyway, your question can not be answered fully. There are many possible dependencies. Check note <a href="http://service.sap.com/~iron/fm/011000358700000431401997/0731682">731682</a> and related notes.
Regards
Marc
SAP NetWeaver RIG -
Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products
Effective December 13, Adobe disabled the activation server for CS2 products and Acrobat 7 because of a technical glitch. These products were released over 7 years ago and do not run on many modern operating systems. But to ensure that any customers activating those old versions can continue to use their software, we issued a serial number directly to those customers. While this might be interpreted as Adobe giving away software for free, we did it to help our customers.
If your software is affected by the activation server shut down then you will receive an error that the Activation server is unavailable. The specific affected products are as follows:
Acrobat 7.0 - Windows
After Effects 7.0
Audition 3.0
Captivate 1.0
Contribute 2.0
Contribute 3.0
Creative Suite 2.0
Director MX 2004
Dreamweaver MX 2004
Fireworks MX 2004
Flash Paper 2.0
Freehand MX
GoLive CS2
GoLive 9.0
Illustrator CS2
InCopy CS2
InDesign CS2
Macromedia Studo MX 2004
Photoshop CS
Photoshop CS2
Photoshop Elements 4.0
Photoshop Elements 5.0
Premiere Pro 7.0
Production Studio Premium
The activation server being shut down will not affect currently installed and activated Adobe software. You will only face this difficulty if you need to reactivate the software.
To remedy this difficulty we have made available a version of these software titles that does not require activation for Users who have previously purchase the affected software. For additional details and specific links to the software please see:
Error: Activation Server Unavailable | CS2 products, Acrobat 7 - http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.html
Error: Activation Server Unavailable | Macromedia branded products - http://helpx.adobe.com/x-productkb/policy-pricing/macromedia-legacy-activation-error.html
If the software title you have purchased is affected by the activation server being shut down, but is not available for download in the previously referenced pages, then please contact our support team at http://www.adobe.com/support/chat/ivrchat.html. Please be aware our support team will not be able to provide assistance for downloading or installing the Creative Suite 2 software.
System requirements
Creative Suite 2 software was only designed to run in the following operating environments:
Mac OS X v.10.2.8–v.10.3.8. PowerPC® G4 or G5 processor
Microsoft® Windows® 2000/Windows XP. Intel® Pentium® III or 4 processor
Extraction instructions
If you are receiving a message to insert disc two please see the following extraction instructions:
In the English version of the software the file CreativeSuiteCS2Disc2 extracts to C:\Creative Suite\Adobe Creative Suite 2.0\. CreativeSuiteCS2Disc1 and CreativeSuiteCS2Disc3 both extract to C:\Creative Suite CS2\Adobe Creative Suite 2.0\.
Please copy the contents of the C:\Creative Suite\Adobe Creative Suite 2.0\ folder to the C:\Creative Suite CS2\Adobe Creative Suite 2.0\ folder and you will no longer be prompted to insert disc two.
Additional information
Some Users have reported success getting Creative Suite 2 to install under Windows 7 64-bit. Please see http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/windows-7-is-n ot-compatible-with-adobe-photoshop/6f1b4955-7166-4b8f-ad9b-5d19150f803f for more information.
Still facing installation difficulties?
If you are experiencing an installation issue with the software currently available I would recommend creating a new thread in the Downloading, Installing, and Setting up forum - http://forums.adobe.com/community/download_install_setup. If you can please make sure to include the following:
• What software are you trying to install?
• Which operating system are you using?
• Was the software previously installed prior to downloading the non-activating version currently available?
• What specific error messages are you receiving when trying to install?
Please also see the original discussion on this topic at http://forums.adobe.com/message/4919014#4919014.Hello Jeff.
EN version is not so eaqual in all with CZ version, I have PREMIUM one, not Standard.
So I download these EN versions and Acrobat 7Pro separately.
It look that it works, I have it installed on my presentation laptop. I ussualy work on PC and laptop is for bussines trips mostly.
When I was working on my PC I found in menu one interesting option. I have installed CS2 in 2010 so it works OK, still in CZ. What I found in menu is called "Licence Transfer".
I didnt try it because I dont want to loose my activation on PC, but could you please say to me what does this option means?
Is it possible to copy licence on flash disk and use it on laptop, but it still be in PC also? Or it is only for deactivation, so you will loose it, and after this you can do new activation (which is impossible by server shut down)?
And one question to the end, if I buy some later version like CS4 or CS5 (from some graphic studio which have one licence to sell-transfer) so do Adobe plan to shut down server too, for CS4, CS5 or after this non user/customer friendly solution (I mean for CS2) will Adobe do some application which we can install on our local PC and this app will say to CSxx "Your licence is OK, just continue in work" ?? --- this would be much better, I think if Adobe do this so it will be the same like no-activation versions in EN only but without so many complains and impacts on your customers.
Thank you for reply me -
Production server down with corruption error
Hi All,
OS : Solaris 10
Database : 10.2.0.3.0
Our production server down out of sudden.Below are the errors :
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01122: database file 1089 failed verification check
ORA-01110: data file 1089: '+DGVICTORIA/dixie/datafile/undotbs2.1222.702393987'
ORA-01200: actual file size of 2580481 is smaller than correct size of 3932160 blocks
My database is in No Archive log mode.
Size of the database is more than 1 TB.
Please help me to bring the database up.
Thanks ,
VipinHi Chinar,
Yes this is true that no archiving is very dangerous. But because of space crunch we thought for no archiving.
Here are the more alerts :
Tue Jun 15 23:39:44 2010
Errors in file /software/oracle/admin/dixie/bdump/dixie1_ckpt_12076.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01122: database file 1089 failed verification check
ORA-01110: data file 1089: '+DGVICTORIA/dixie/datafile/undotbs2.1222.702393987'
ORA-01200: actual file size of 2580481 is smaller than correct size of 3932160 blocks
Tue Jun 15 23:39:44 2010
Errors in file /software/oracle/admin/dixie/bdump/dixie1_ckpt_12076.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01122: database file 1089 failed verification check
ORA-01110: data file 1089: '+DGVICTORIA/dixie/datafile/undotbs2.1222.702393987'
ORA-01200: actual file size of 2580481 is smaller than correct size of 3932160 blocks
Tue Jun 15 23:39:44 2010
CKPT: terminating instance due to error 1242
Tue Jun 15 23:39:44 2010
System state dump is made for local instance
System State dumped to trace file /software/oracle/admin/dixie/bdump/dixie1_diag_12015.trc
Tue Jun 15 23:39:47 2010
Trace dumping is performing id=[cdmp_20100615233944]
Tue Jun 15 23:39:49 2010
Instance terminated by CKPT, pid = 12076
Wed Jun 16 09:16:39 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 e1000g3 192.168.10.0 configured from OCR for use as a cluster interconnect
Interface type 1 e1000g0 10.192.252.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
WARNING: db_recovery_file_dest is same as db_create_file_dest
Autotune of undo retention is turned on. -
Re: Activation Server shut down for Creative Suite 2, Acrobat 7 and Macromedia products
Software : Adobe Encore DVD 2.0 / UK, purchased october 24, 2006
Operating system : Windows XP home edition / SP3 Computer : Pentium 4 / 1,8GHz - 512 MB
Other software : Adobe Premiere 6.5 / Photoshop Elements 5.0 / QuickTime 7, etc.
My harddrive crashed and I lost all my software. I had to reinstall. Everything is okay now but when I activate Encore DVD 2.0, I get the message "Activation server shut down for ........." I searched for the free download (without activating) of the CS 2 Premium, but I cold not find it. I only found the normal CS 2.
Who can help me.If what you want is not at this link, http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l that would indicate that Adobe did not provide a special version
-
Why This Report Not Working in Production Server But in Development Server
I just need your help in solving one issue. There is one report which is working fine in development server but it is not getting executed in production server.
Although the code is same in both the server. Could you please guide me in locating the problem. I am attaching that report with this mail. Please do the needful help.
TABLES : a363,
mara,
marc,
makt,
ekko,
ekpo,
mkpf,
mseg,
konp,
konh.
SELECTION-SCREEN
SELECTION-SCREEN : BEGIN OF BLOCK cst WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_matnr FOR mara-matnr, "Material Number
s_lifnr FOR ekko-lifnr, "Account Number of the Vendor
s_bedat FOR ekko-bedat, "Purchasing Document Date
s_kschl FOR konh-kschl OBLIGATORY NO INTERVALS, "Condition type
s_bwart FOR mseg-bwart OBLIGATORY NO INTERVALS. "Movement Type (Inventory Management)
PARAMETERS : p_werks LIKE marc-werks OBLIGATORY. "Plant
SELECTION-SCREEN : END OF BLOCK cst.
INCLUDES
INCLUDE zalv_data.
DATA - INTERNAL TABLES AND FIELD LISTS
DATA : BEGIN OF a363_itab OCCURS 0,
matnr LIKE a363-matnr, "Material Number
lifnr LIKE a363-lifnr, "Account Number of the Vendor
werks LIKE a363-werks, "Plant
kschl LIKE a363-kschl, "Condition type
knumh LIKE a363-knumh, "Condition record number
kbetr LIKE konp-kbetr, "Rate (condition amount or percentage) where no scale exists
END OF a363_itab.
DATA : BEGIN OF konp_itab OCCURS 0,
knumh LIKE a363-knumh, "Condition record number
kbetr LIKE konp-kbetr, "Rate (condition amount or percentage) where no scale exists
lifnr LIKE a363-lifnr, "Account Number of the Vendor
END OF konp_itab.
DATA : BEGIN OF ekko_itab OCCURS 0,
ebeln LIKE ekko-ebeln, "Purchasing Document Number
lifnr LIKE ekko-lifnr, "Account Number of the Vendor
bedat LIKE ekko-bedat, "Purchasing Document Date
END OF ekko_itab.
DATA : BEGIN OF ekpo_itab OCCURS 0,
ebeln LIKE ekpo-ebeln, "Purchasing Document Number
ebelp LIKE ekpo-ebelp, "Item Number of Purchasing Document
matnr LIKE ekpo-matnr, "Material Number
werks LIKE ekpo-werks, "Plant
menge LIKE ekpo-menge, "Purchase order quantity
END OF ekpo_itab.
DATA : BEGIN OF v_po_det OCCURS 0, "VENDOR + PLANT + PO DEATILS
lifnr LIKE ekko-lifnr, "Account Number of the Vendor
ebeln LIKE ekko-ebeln, "Purchasing Document Number
ebelp LIKE ekpo-ebelp, "Item Number of Purchasing Document
bedat LIKE ekko-bedat, "Purchasing Document Date
matnr LIKE ekpo-matnr, "Material Number
werks LIKE ekpo-werks, "Plant
menge LIKE ekpo-menge, "Purchase order quantity
kbetr LIKE konp-kbetr, "Rate (condition amount or percentage) where no scale exists
END OF v_po_det.
DATA : BEGIN OF mseg_itab OCCURS 0,
mblnr LIKE mseg-mblnr, "Number of Material Document
ebeln LIKE mseg-ebeln, "Purchasing Document Number
ebelp LIKE mseg-ebelp, "Item Number of Purchasing Document
matnr LIKE mseg-matnr, "Material Number
lifnr LIKE mseg-lifnr, "Account Number of the Vendor
werks LIKE mseg-werks, "Plant
menge LIKE mseg-menge, "Quantity
dmbtr LIKE mseg-dmbtr, "Amount in local currency
bwart LIKE mseg-bwart, "Movement Type (Inventory Management)
END OF mseg_itab.
DATA : BEGIN OF mkpf_itab OCCURS 0,
mblnr LIKE mkpf-mblnr, "Number of Material Document
bldat LIKE mkpf-bldat, "Document Date in Document
END OF mkpf_itab.
DATA : BEGIN OF zeou_pcrdtl_itab OCCURS 0,
matnr LIKE zeou_pcrdtl-matnr, "Material Number
lifnr LIKE zeou_pcrdtl-lifnr, "Account Number of the Vendor
mblnr LIKE zeou_pcrdtl-mblnr, "Number of Material Document
whssn LIKE zeou_pcrdtl-whssn, "Warehouse Records Entry Serial No.
whsdt LIKE zeou_pcrdtl-whsdt, "Warehouse Records Entry date
END OF zeou_pcrdtl_itab.
DATA : BEGIN OF gr_wh_info OCCURS 0, "INFO OF GR & WH BASED ON MVMT TYPE & PO
mblnr LIKE mseg-mblnr, "Number of Material Document
bldat LIKE mkpf-bldat, "Document Date in Document
ebeln LIKE mseg-ebeln, "Purchasing Document Number
ebelp LIKE ekpo-ebelp, "Item Number of Purchasing Document
matnr LIKE mseg-matnr, "Material Number
lifnr LIKE mseg-lifnr, "Account Number of the Vendor
werks LIKE mseg-werks, "Plant
menge LIKE mseg-menge, "Quantity
dmbtr LIKE mseg-dmbtr, "Amount in local currency
bwart LIKE mseg-bwart, "Movement Type (Inventory Management)
whssn LIKE zeou_pcrdtl-whssn, "Warehouse Records Entry Serial No.
whsdt LIKE zeou_pcrdtl-whsdt, "Warehouse Records Entry date
END OF gr_wh_info.
DATA : BEGIN OF bseg_itab OCCURS 0,
ebeln LIKE bseg-ebeln, "Purchasing Document Number
ebelp LIKE bseg-ebelp, "Item Number of Purchasing Document
matnr LIKE bseg-matnr, "Material Number
lifnr LIKE bseg-lifnr, "Account Number of the Vendor
werks LIKE bseg-werks, "Plant
buzid LIKE bseg-buzid, "Identification of the Line Item
bschl LIKE bseg-bschl, "Posting Key
wrbtr LIKE bseg-wrbtr, "Amount in document currency
bukrs LIKE bseg-bukrs, "Company Code
belnr LIKE bseg-belnr, "Accounting Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
END OF bseg_itab.
DATA : BEGIN OF bkpf_itab OCCURS 0,
bukrs LIKE bkpf-bukrs, "Company Code
belnr LIKE bkpf-belnr, "Accounting Document Number
gjahr LIKE bkpf-gjahr, "Fiscal Year
xblnr LIKE bkpf-xblnr, "Reference Document Number
bldat LIKE bkpf-bldat, "Document Date in Document
END OF bkpf_itab.
DATA : BEGIN OF vend_inv OCCURS 0, "VENDOR INVOICE DETAILS
ebeln LIKE bseg-ebeln, "Purchasing Document Number
ebelp LIKE bseg-ebelp, "Item Number of Purchasing Document
matnr LIKE bseg-matnr, "Material Number
lifnr LIKE bseg-lifnr, "Account Number of the Vendor
werks LIKE bseg-werks, "Plant
buzid LIKE bseg-buzid, "Identification of the Line Item
bschl LIKE bseg-bschl, "Posting Key
wrbtr LIKE bseg-wrbtr, "Amount in document currency
bukrs LIKE bseg-bukrs, "Company Code
belnr LIKE bseg-belnr, "Accounting Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
xblnr LIKE bkpf-xblnr, "Reference Document Number
bldat LIKE bkpf-bldat, "Document Date in Document
END OF vend_inv.
DATA : BEGIN OF chckinit OCCURS 0, "CHEQUE INIT INFO
ebeln LIKE bseg-ebeln, "Purchasing Document Number
ebelp LIKE bseg-ebelp, "Item Number of Purchasing Document
matnr LIKE bseg-matnr, "Material Number
lifnr LIKE bseg-lifnr, "Account Number of the Vendor
werks LIKE bseg-werks, "Plant
buzid LIKE bseg-buzid, "Identification of the Line Item
bschl LIKE bseg-bschl, "Posting Key
bukrs LIKE bkpf-bukrs, "Company Code
belnr LIKE bkpf-belnr, "Accounting Document Number
gjahr LIKE bkpf-gjahr, "Fiscal Year
koart LIKE bseg-koart, "Account type
augbl LIKE bseg-augbl, "Document Number of the Clearing Document
END OF chckinit.
DATA : BEGIN OF chckpayer OCCURS 0, "CHEQUE BANK DETAILS
vblnr LIKE payr-vblnr, "Document Number of the Payment Document
zbukr LIKE payr-zbukr, "Paying company code
gjahr LIKE payr-gjahr, "Fiscal Year
chect LIKE payr-chect, "Check Number
zaldt LIKE payr-zaldt, "Probable Payment Date (Cash Discount 1 Due)
hbkid LIKE payr-hbkid, "Short key for a house bank
END OF chckpayer.
DATA : chckpayer_u LIKE chckpayer OCCURS 0 WITH HEADER LINE. "UNIQUE CHEQUE DETAILS
DATA : BEGIN OF chckfinal OCCURS 0, "CHEQUE FINAL INFO
ebeln LIKE bseg-ebeln, "Purchasing Document Number
ebelp LIKE bseg-ebelp, "Item Number of Purchasing Document
matnr LIKE bseg-matnr, "Material Number
lifnr LIKE bseg-lifnr, "Account Number of the Vendor
werks LIKE bseg-werks, "Plant
buzid LIKE bseg-buzid, "Identification of the Line Item
bschl LIKE bseg-bschl, "Posting Key
bukrs LIKE bkpf-bukrs, "Company Code
belnr LIKE bkpf-belnr, "Accounting Document Number
gjahr LIKE bkpf-gjahr, "Fiscal Year
koart LIKE bseg-koart, "Account type
augbl LIKE bseg-augbl, "Document Number of the Clearing Document
vblnr LIKE payr-vblnr, "Document Number of the Payment Document
zbukr LIKE payr-zbukr, "Paying company code
chect LIKE payr-chect, "Check Number
zaldt LIKE payr-zaldt, "Probable Payment Date (Cash Discount 1 Due)
hbkid LIKE payr-hbkid, "Short key for a house bank
END OF chckfinal.
DATA : BEGIN OF mat_desc OCCURS 0,
matnr LIKE mara-matnr,
maktx LIKE makt-maktx,
END OF mat_desc.
DATA : BEGIN OF vend_det OCCURS 0,
lifnr LIKE lfa1-lifnr,
name1 LIKE lfa1-name1,
j_1icstno LIKE j_1imovend-j_1icstno,
END OF vend_det.
DATA : BEGIN OF cst_rep OCCURS 0, "FINAL CST REPORT
lifnr LIKE a363-lifnr, "Account Number of the Vendor
name1 LIKE lfa1-name1, "Vendor Name
j_1icstno LIKE j_1imovend-j_1icstno, " Vendor CST No.
werks LIKE a363-werks, "Plant
kschl LIKE a363-kschl, "Condition type
ebeln LIKE ekko-ebeln, "Purchasing Document Number
ebelp LIKE ekpo-ebelp, "Item Number of Purchasing Document
bedat LIKE ekko-bedat, "Purchasing Document Date
matnr LIKE ekpo-matnr, "Material Number
maktx LIKE makt-maktx, "Material Description.
kbetr LIKE konp-kbetr, "Rate (condition amount or percentage) where no scale exists
mblnr LIKE mseg-mblnr, "Number of Material Document
bldat LIKE mkpf-bldat, "Document Date in Document
menge LIKE mseg-menge, "Quantity
dmbtr LIKE mseg-dmbtr, "Amount in local currency
cst_dmbtr LIKE mseg-dmbtr, "CST Amount in local currency
bwart LIKE mseg-bwart, "Movement Type (Inventory Management)
whssn LIKE zeou_pcrdtl-whssn, "Warehouse Records Entry Serial No.
whsdt LIKE zeou_pcrdtl-whsdt, "Warehouse Records Entry date
buzid LIKE bseg-buzid, "Identification of the Line Item
bschl LIKE bseg-bschl, "Posting Key
wrbtr LIKE bseg-wrbtr, "Amount in document currency
cst_wrbtr LIKE bseg-wrbtr, "CST Amount in document currency
belnr LIKE bseg-belnr, "Accounting Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
xblnr LIKE bkpf-xblnr, "Reference Document Number
koart LIKE bseg-koart, "Account type
augbl LIKE bseg-augbl, "Document Number of the Clearing Document
vblnr LIKE payr-vblnr, "Document Number of the Payment Document
zbukr LIKE payr-zbukr, "Paying company code
chect LIKE payr-chect, "Check Number
zaldt LIKE payr-zaldt, "Probable Payment Date (Cash Discount 1 Due)
hbkid LIKE payr-hbkid, "Short key for a house bank
END OF cst_rep.
DATA : BEGIN OF gt_output OCCURS 0, "ALV OUTPUT
slno LIKE sy-tabix, "Serial Number
lifnr LIKE a363-lifnr, "Account Number of the Vendor
name1 LIKE lfa1-name1, "Vendor Name
j_1icstno LIKE j_1imovend-j_1icstno, " Vendor CST No.
werks LIKE a363-werks, "Plant
kschl LIKE a363-kschl, "Condition type
ebeln LIKE ekko-ebeln, "Purchasing Document Number
ebelp LIKE ekpo-ebelp, "Item Number of Purchasing Document
bedat LIKE ekko-bedat, "Purchasing Document Date
matnr LIKE ekpo-matnr, "Material Number
maktx LIKE makt-maktx, "Material Description
mblnr LIKE mseg-mblnr, "Number of Material Document
bldat LIKE mkpf-bldat, "Document Date in Document
menge LIKE mseg-menge, "Quantity
dmbtr LIKE mseg-dmbtr, "Amount in local currency
cst_dmbtr LIKE mseg-dmbtr, "CST Amount in local currency
bwart LIKE mseg-bwart, "Movement Type (Inventory Management)
whssn LIKE zeou_pcrdtl-whssn, "Warehouse Records Entry Serial No.
whsdt LIKE zeou_pcrdtl-whsdt, "Warehouse Records Entry date
buzid LIKE bseg-buzid, "Identification of the Line Item
bschl LIKE bseg-bschl, "Posting Key
wrbtr LIKE bseg-wrbtr, "Amount in document currency
cst_wrbtr LIKE bseg-wrbtr, "CST Amount in document currency
belnr LIKE bseg-belnr, "Accounting Document Number
gjahr LIKE bseg-gjahr, "Fiscal Year
xblnr LIKE bkpf-xblnr, "Reference Document Number
koart LIKE bseg-koart, "Account type
augbl LIKE bseg-augbl, "Document Number of the Clearing Document
vblnr LIKE payr-vblnr, "Document Number of the Payment Document
zbukr LIKE payr-zbukr, "Paying company code
chect LIKE payr-chect, "Check Number
zaldt LIKE payr-zaldt, "Probable Payment Date (Cash Discount 1 Due)
hbkid LIKE payr-hbkid, "Short key for a house bank
usr_txt1(20) TYPE c,
usr_txt2(20) TYPE c,
END OF gt_output.
*Working Variables
DATA : cst_gr LIKE mseg-dmbtr,
cst_inv LIKE bseg-wrbtr,
usr_txt1(20) TYPE c,
usr_txt2(20) TYPE c.
START-OF-SELECTION.
*Retreiving Data from a363 table for the given input
SELECT matnr
lifnr
werks
kschl
knumh
FROM a363
INTO TABLE a363_itab
WHERE matnr IN s_matnr AND lifnr IN s_lifnr AND werks EQ p_werks AND kschl IN s_kschl.
SELECT *
FROM konp
INTO CORRESPONDING FIELDS OF TABLE konp_itab
FOR ALL ENTRIES IN a363_itab
WHERE knumh EQ a363_itab-knumh.
LOOP AT a363_itab.
READ TABLE konp_itab WITH KEY knumh = a363_itab-knumh.
IF sy-subrc EQ 0.
MOVE : konp_itab-kbetr TO a363_itab-kbetr.
MODIFY a363_itab.
ENDIF.
CLEAR : a363_itab, konp_itab.
ENDLOOP.
SELECT *
FROM makt
INTO CORRESPONDING FIELDS OF TABLE mat_desc
FOR ALL ENTRIES IN a363_itab
WHERE matnr EQ a363_itab-matnr.
SELECT a~lifnr
a~name1
b~j_1icstno
INTO TABLE vend_det
FROM lfa1 AS a JOIN j_1imovend AS b
ON alifnr EQ blifnr
FOR ALL ENTRIES IN a363_itab
WHERE a~lifnr EQ a363_itab-lifnr.
Retreiving Data from EKKO & EKPO table for the given input
And Populating the V_PO_DETAILS itab
SELECT *
FROM ekko
INTO CORRESPONDING FIELDS OF TABLE ekko_itab
FOR ALL ENTRIES IN a363_itab
WHERE lifnr EQ a363_itab-lifnr AND bedat IN s_bedat.
SELECT *
FROM ekpo
INTO CORRESPONDING FIELDS OF TABLE ekpo_itab
FOR ALL ENTRIES IN a363_itab
WHERE matnr EQ a363_itab-matnr AND werks EQ a363_itab-werks AND mwskz NE 'V0'.
LOOP AT ekpo_itab.
MOVE : ekpo_itab-ebelp TO v_po_det-ebelp,
ekpo_itab-matnr TO v_po_det-matnr,
ekpo_itab-werks TO v_po_det-werks,
ekpo_itab-menge TO v_po_det-menge.
READ TABLE ekko_itab WITH KEY ebeln = ekpo_itab-ebeln.
IF sy-subrc EQ 0.
MOVE : ekko_itab-lifnr TO v_po_det-lifnr,
ekko_itab-ebeln TO v_po_det-ebeln,
ekko_itab-bedat TO v_po_det-bedat.
APPEND : v_po_det.
ENDIF.
CLEAR : ekko_itab, ekpo_itab, v_po_det.
ENDLOOP.
LOOP AT v_po_det.
READ TABLE a363_itab WITH KEY matnr = v_po_det-matnr lifnr = v_po_det-lifnr werks = v_po_det-werks.
IF sy-subrc EQ 0.
MOVE : a363_itab-kbetr TO v_po_det-kbetr.
MODIFY v_po_det.
ENDIF.
CLEAR : a363_itab, v_po_det.
ENDLOOP.
Retreiving Data from MKPF & MSEG & ZEOU_PCRDTL table for the given input
And Populating the GR_WH_info itab
SELECT *
FROM mseg
INTO CORRESPONDING FIELDS OF TABLE mseg_itab
FOR ALL ENTRIES IN v_po_det
WHERE ebeln EQ v_po_det-ebeln AND matnr EQ v_po_det-matnr AND bwart IN s_bwart.
SELECT *
FROM mkpf
INTO CORRESPONDING FIELDS OF TABLE mkpf_itab
FOR ALL ENTRIES IN mseg_itab
WHERE mblnr EQ mseg_itab-mblnr.
SELECT *
FROM zeou_pcrdtl
INTO CORRESPONDING FIELDS OF TABLE zeou_pcrdtl_itab
FOR ALL ENTRIES IN mseg_itab
WHERE mblnr EQ mseg_itab-mblnr AND matnr EQ mseg_itab-matnr.
LOOP AT mseg_itab.
MOVE : mseg_itab-mblnr TO gr_wh_info-mblnr,
mseg_itab-ebeln TO gr_wh_info-ebeln,
mseg_itab-ebelp TO gr_wh_info-ebelp,
mseg_itab-matnr TO gr_wh_info-matnr,
mseg_itab-lifnr TO gr_wh_info-lifnr,
mseg_itab-werks TO gr_wh_info-werks,
mseg_itab-menge TO gr_wh_info-menge,
mseg_itab-dmbtr TO gr_wh_info-dmbtr,
mseg_itab-bwart TO gr_wh_info-bwart.
READ TABLE mkpf_itab WITH KEY mblnr = mseg_itab-mblnr.
IF sy-subrc EQ 0.
MOVE : mkpf_itab-bldat TO gr_wh_info-bldat.
ENDIF.
READ TABLE zeou_pcrdtl_itab WITH KEY mblnr = mseg_itab-mblnr.
IF sy-subrc EQ 0.
MOVE : zeou_pcrdtl_itab-whssn TO gr_wh_info-whssn,
zeou_pcrdtl_itab-whsdt TO gr_wh_info-whsdt.
ENDIF.
APPEND : gr_wh_info.
CLEAR : mseg_itab, mkpf_itab, gr_wh_info.
ENDLOOP.
Retreiving Data from BSEG & BKPF table
And Populating the Vendor Invoice Details
SELECT *
FROM bseg
INTO CORRESPONDING FIELDS OF TABLE bseg_itab
FOR ALL ENTRIES IN v_po_det
WHERE ebeln EQ v_po_det-ebeln AND matnr EQ v_po_det-matnr AND buzid EQ 'W' AND bschl EQ '96'.
SELECT *
FROM bkpf
INTO CORRESPONDING FIELDS OF TABLE bkpf_itab
FOR ALL ENTRIES IN bseg_itab
WHERE bukrs EQ bseg_itab-bukrs AND belnr EQ bseg_itab-belnr AND gjahr EQ bseg_itab-gjahr.
LOOP AT bseg_itab.
MOVE : bseg_itab-ebeln TO vend_inv-ebeln,
bseg_itab-ebelp TO vend_inv-ebelp,
bseg_itab-matnr TO vend_inv-matnr,
bseg_itab-lifnr TO vend_inv-lifnr,
bseg_itab-werks TO vend_inv-werks,
bseg_itab-buzid TO vend_inv-buzid,
bseg_itab-bschl TO vend_inv-bschl,
bseg_itab-wrbtr TO vend_inv-wrbtr,
bseg_itab-bukrs TO vend_inv-bukrs,
bseg_itab-belnr TO vend_inv-belnr,
bseg_itab-gjahr TO vend_inv-gjahr.
READ TABLE bkpf_itab WITH KEY bukrs = bseg_itab-bukrs belnr = bseg_itab-belnr gjahr = bseg_itab-gjahr.
IF sy-subrc EQ 0.
MOVE : bkpf_itab-xblnr TO vend_inv-xblnr,
bkpf_itab-bldat TO vend_inv-bldat.
APPEND : vend_inv.
ENDIF.
CLEAR : vend_inv, bseg_itab, bkpf_itab.
ENDLOOP.
Retreiving Data from BSEG & BKPF table
And Populating the Cheque Info Details
SELECT *
FROM bseg
INTO CORRESPONDING FIELDS OF TABLE chckinit
FOR ALL ENTRIES IN v_po_det
WHERE ebeln EQ v_po_det-ebeln AND matnr EQ v_po_det-matnr AND buzid EQ 'W' AND bschl EQ '86' AND koart EQ 'K'.
SELECT *
FROM payr
INTO CORRESPONDING FIELDS OF TABLE chckpayer
FOR ALL ENTRIES IN chckinit
WHERE vblnr EQ chckinit-augbl.
SORT chckpayer BY vblnr DESCENDING.
LOOP AT chckpayer.
ON CHANGE OF chckpayer-vblnr.
MOVE : chckpayer TO chckpayer_u.
APPEND : chckpayer_u.
CLEAR : chckpayer_u, chckpayer.
ENDON.
ENDLOOP.
LOOP AT chckinit.
MOVE : chckinit-ebeln TO chckfinal-ebeln,
chckinit-ebelp TO chckfinal-ebelp,
chckinit-matnr TO chckfinal-matnr,
chckinit-lifnr TO chckfinal-lifnr,
chckinit-werks TO chckfinal-werks,
chckinit-buzid TO chckfinal-buzid,
chckinit-bschl TO chckfinal-bschl,
chckinit-bukrs TO chckfinal-bukrs,
chckinit-gjahr TO chckfinal-gjahr,
chckinit-koart TO chckfinal-koart,
chckinit-augbl TO chckfinal-augbl.
READ TABLE chckpayer_u WITH KEY vblnr = chckinit-augbl gjahr = chckinit-gjahr.
IF sy-subrc EQ 0.
MOVE : chckpayer_u-vblnr TO chckfinal-vblnr,
chckpayer_u-zbukr TO chckfinal-zbukr,
chckpayer_u-chect TO chckfinal-chect,
chckpayer_u-zaldt TO chckfinal-zaldt,
chckpayer_u-hbkid TO chckfinal-hbkid.
APPEND : chckfinal.
ENDIF.
CLEAR : chckfinal, chckpayer_u, chckinit.
ENDLOOP.
Populating the final CST TABLE
LOOP AT v_po_det.
MOVE : v_po_det-lifnr TO cst_rep-lifnr,
v_po_det-werks TO cst_rep-werks,
v_po_det-ebeln TO cst_rep-ebeln,
v_po_det-ebelp TO cst_rep-ebelp,
v_po_det-bedat TO cst_rep-bedat,
v_po_det-matnr TO cst_rep-matnr,
v_po_det-kbetr TO cst_rep-kbetr.
READ TABLE gr_wh_info WITH KEY ebeln = v_po_det-ebeln ebelp = v_po_det-ebelp."matnr = v_po_det-matnr.
IF sy-subrc EQ 0.
MOVE : gr_wh_info-mblnr TO cst_rep-mblnr,
gr_wh_info-bldat TO cst_rep-bldat,
gr_wh_info-menge TO cst_rep-menge,
gr_wh_info-dmbtr TO cst_rep-dmbtr,
gr_wh_info-bwart TO cst_rep-bwart,
gr_wh_info-whssn TO cst_rep-whssn,
gr_wh_info-whsdt TO cst_rep-whsdt.
ENDIF.
READ TABLE vend_inv WITH KEY ebeln = v_po_det-ebeln ebelp = v_po_det-ebelp."matnr = v_po_det-matnr.
IF sy-subrc EQ 0.
MOVE : vend_inv-buzid TO cst_rep-buzid,
vend_inv-bschl TO cst_rep-bschl,
vend_inv-wrbtr TO cst_rep-wrbtr,
vend_inv-belnr TO cst_rep-belnr,
vend_inv-gjahr TO cst_rep-gjahr,
vend_inv-xblnr TO cst_rep-xblnr.
ENDIF.
READ TABLE chckfinal WITH KEY ebeln = v_po_det-ebeln ebelp = v_po_det-ebelp."matnr = v_po_det-matnr.
IF sy-subrc EQ 0.
MOVE : chckfinal-augbl TO cst_rep-augbl,
chckfinal-vblnr TO cst_rep-vblnr,
chckfinal-zbukr TO cst_rep-zbukr,
chckfinal-chect TO cst_rep-chect,
chckfinal-zaldt TO cst_rep-zaldt,
chckfinal-hbkid TO cst_rep-hbkid.
ENDIF.
READ TABLE mat_desc WITH KEY matnr = v_po_det-matnr.
IF sy-subrc EQ 0.
MOVE : mat_desc-maktx TO cst_rep-maktx.
ENDIF.
READ TABLE vend_det WITH KEY lifnr = v_po_det-lifnr.
IF sy-subrc EQ 0.
MOVE : vend_det-name1 TO cst_rep-name1,
vend_det-j_1icstno TO cst_rep-j_1icstno.
ENDIF.
APPEND : cst_rep.
CLEAR : cst_rep, v_po_det, gr_wh_info, vend_inv, chckfinal.
ENDLOOP.
Populating GT_output
LOOP AT cst_rep.
cst_gr = cst_rep-dmbtr * ( cst_rep-kbetr / 1000 ).
cst_inv = cst_rep-wrbtr * ( cst_rep-kbetr / 1000 ).
MOVE : cst_gr TO cst_rep-cst_dmbtr,
cst_inv TO cst_rep-cst_wrbtr.
MODIFY : cst_rep.
CLEAR : cst_rep, cst_gr, cst_inv.
ENDLOOP.
LOOP AT cst_rep.
MOVE : sy-tabix TO gt_output-slno,
cst_rep-lifnr TO gt_output-lifnr,
cst_rep-name1 TO gt_output-name1,
cst_rep-j_1icstno TO gt_output-j_1icstno,
cst_rep-werks TO gt_output-werks,
cst_rep-matnr TO gt_output-matnr,
cst_rep-maktx TO gt_output-maktx,
cst_rep-ebeln TO gt_output-ebeln,
cst_rep-ebelp TO gt_output-ebelp,
cst_rep-bedat TO gt_output-bedat,
cst_rep-mblnr TO gt_output-mblnr,
cst_rep-bldat TO gt_output-bldat,
cst_rep-menge TO gt_output-menge,
cst_rep-dmbtr TO gt_output-dmbtr,
cst_rep-cst_dmbtr TO gt_output-cst_dmbtr,
cst_rep-bwart TO gt_output-bwart,
cst_rep-whssn TO gt_output-whssn,
cst_rep-whsdt TO gt_output-whsdt,
cst_rep-buzid TO gt_output-buzid,
cst_rep-bschl TO gt_output-bschl,
cst_rep-wrbtr TO gt_output-wrbtr,
cst_rep-cst_wrbtr TO gt_output-cst_wrbtr,
cst_rep-belnr TO gt_output-belnr,
cst_rep-gjahr TO gt_output-gjahr,
cst_rep-xblnr TO gt_output-xblnr,
cst_rep-augbl TO gt_output-augbl,
cst_rep-vblnr TO gt_output-vblnr,
cst_rep-zbukr TO gt_output-zbukr,
cst_rep-chect TO gt_output-chect,
cst_rep-zaldt TO gt_output-zaldt,
cst_rep-hbkid TO gt_output-hbkid.
APPEND gt_output.
CLEAR : cst_rep, gt_output, sy-tabix.
ENDLOOP.
END-OF-SELECTION.
*-ALV Routine
PERFORM alv_forms.
*& Form alv_forms
FORM alv_forms.
PERFORM alv_routines.
gx_variant = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
vari = gx_variant-variant.
ENDIF.
PERFORM comment_build USING gt_list_top_of_page[].
PERFORM fieldcat_init USING gt_fieldcat[].
PERFORM layout_build USING gs_layout.
PERFORM print_build USING gs_print.
PERFORM alv_output.
ENDFORM. " alv_forms
*& Form alv_routines
FORM alv_routines.
PERFORM eventtab_build USING gt_events[].
PERFORM e06_t_sort_build USING gt_sort[].
PERFORM sp_group_build USING gt_sp_group[].
g_save = 'A'.
PERFORM variant_init.
ENDFORM. " alv_routines
*& Form eventtab_build
FORM eventtab_build USING p_gt_events TYPE slis_t_event.
DATA: ls_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = p_gt_events.
READ TABLE p_gt_events WITH KEY name = slis_ev_top_of_page
INTO ls_event.
IF sy-subrc = 0.
MOVE slis_ev_top_of_page TO ls_event-form.
APPEND ls_event TO p_gt_events.
ENDIF.
READ TABLE p_gt_events WITH KEY name = slis_ev_user_command
INTO ls_event.
IF sy-subrc = 0.
MOVE slis_ev_user_command TO ls_event-form.
APPEND ls_event TO p_gt_events.
ENDIF.
READ TABLE p_gt_events WITH KEY name = slis_ev_pf_status_set
INTO ls_event.
IF sy-subrc = 0.
MOVE slis_ev_pf_status_set TO ls_event-form.
APPEND ls_event TO p_gt_events.
ENDIF.
SORT p_gt_events BY name.
DELETE ADJACENT DUPLICATES FROM p_gt_events.
DELETE p_gt_events WHERE form IS INITIAL.
ENDFORM. " eventtab_build
*& Form sort_build
FORM e06_t_sort_build USING e06_lt_sort TYPE slis_t_sortinfo_alv.
DATA: ls_sort TYPE slis_sortinfo_alv.
CLEAR ls_sort.
ls_sort-fieldname = 'SLNO'.
ls_sort-spos = 1.
ls_sort-up = 'X'.
APPEND ls_sort TO e06_lt_sort.
CLEAR ls_sort.
ls_sort-fieldname = 'CNCNR'.
ls_sort-spos = 1.
ls_sort-up = 'X'.
APPEND ls_sort TO e06_lt_sort.
CLEAR ls_sort.
ls_sort-fieldname = 'MATNR'.
ls_sort-spos = 1.
ls_sort-up = 'X'.
APPEND ls_sort TO e06_lt_sort.
ENDFORM. " sort_build
*& Form sp_group_build
FORM sp_group_build USING p_gt_sp_group TYPE slis_t_sp_group_alv.
DATA: ls_sp_group TYPE slis_sp_group_alv.
CLEAR ls_sp_group.
ls_sp_group-sp_group = 'A'.
ls_sp_group-text = 'PRODUCT'.
APPEND ls_sp_group TO p_gt_sp_group.
ENDFORM. " sp_group_build
*& Form variant_init
FORM variant_init.
CLEAR g_variant.
g_repid = sy-repid.
g_variant-report = g_repid.
ENDFORM. " variant_init
*& Form comment_build
FORM comment_build USING e04_lt_top_of_page TYPE slis_t_listheader.
DATA: ls_line TYPE slis_listheader.
DATA: l_date(10) TYPE c,
l_time(8) TYPE c,
l_out(255) TYPE c.
WRITE sy-datum TO l_date.
WRITE sy-uzeit TO l_time.
CONCATENATE l_date '/' l_time INTO l_out.
CLEAR ls_line.
ls_line-typ = 'H'.
CLEAR ls_line.
ls_line-typ = 'S'.
ls_line-key = 'RUN BY :'.
ls_line-info = sy-uname.
APPEND ls_line TO e04_lt_top_of_page.
CLEAR ls_line.
ls_line-typ = 'S'.
ls_line-key = 'RUN ON :'.
ls_line-info = l_out.
APPEND ls_line TO e04_lt_top_of_page.
ENDFORM. " comment_build
*& Form fieldcat_init
FORM fieldcat_init USING e01_lt_fieldcat TYPE slis_t_fieldcat_alv.
DATA: ls_fieldcat TYPE slis_fieldcat_alv.
DATA n1(3).
DATA count(2) TYPE c.
DATA h1(10).
DATA: l_week LIKE scal-week,
l_text(17) TYPE c.
DATA cnt TYPE i.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = 1.
ls_fieldcat-fieldname = 'SLNO'.
ls_fieldcat-seltext_m = 'SL.NO'.
ls_fieldcat-hotspot = 'X'.
ls_fieldcat-key = 'X'.
ls_fieldcat-key_sel = 'X'.
ls_fieldcat-just = 'R'.
ls_fieldcat-sp_group = 'A'.
APPEND ls_fieldcat TO e01_lt_fieldcat.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = cnt.
ls_fieldcat-fieldname = 'LIFNR'.
ls_fieldcat-seltext_m = 'VENDOR NO.'.
ls_fieldcat-hotspot = 'X'.
ls_fieldcat-key = 'X'.
ls_fieldcat-key_sel = 'X'.
ls_fieldcat-just = 'R'.
ls_fieldcat-sp_group = 'A'.
APPEND ls_fieldcat TO e01_lt_fieldcat.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = cnt.
ls_fieldcat-fieldname = 'NAME1'.
ls_fieldcat-seltext_m = 'VENDOR NAME'.
ls_fieldcat-hotspot = 'X'.
ls_fieldcat-key = 'X'.
ls_fieldcat-key_sel = 'X'.
ls_fieldcat-just = 'L'.
ls_fieldcat-sp_group = 'A'.
APPEND ls_fieldcat TO e01_lt_fieldcat.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = cnt.
ls_fieldcat-fieldname = 'J_1ICSTNO'.
ls_fieldcat-seltext_m = 'VENDOR CST NO.'.
ls_fieldcat-hotspot = 'X'.
ls_fieldcat-key = 'X'.
ls_fieldcat-key_sel = 'X'.
ls_fieldcat-just = 'R'.
ls_fieldcat-sp_group = 'A'.
APPEND ls_fieldcat TO e01_lt_fieldcat.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = cnt.
ls_fieldcat-fieldname = 'WERKS'.
ls_fieldcat-seltext_m = 'PLANT'.
ls_fieldcat-key = 'X'.
ls_fieldcat-key_sel = 'X'.
ls_fieldcat-just = 'R'.
ls_fieldcat-sp_group = 'A'.
APPEND ls_fieldcat TO e01_lt_fieldcat.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = cnt.
ls_fieldcat-fieldname = 'EBELN'.
ls_fieldcat-seltext_m = 'PO NO.'.
ls_fieldcat-key = 'X'.
ls_fieldcat-key_sel = 'X'.
ls_fieldcat-just = 'R'.
ls_fieldcat-sp_group = 'A'.
APPEND ls_fieldcat TO e01_lt_fieldcat.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = cnt.
ls_fieldcat-fieldname = 'EBELP'.
ls_fieldcat-seltext_m = 'PO ITEM'.
ls_fieldcat-key = 'X'.
ls_fieldcat-key_sel = 'X'.
ls_fieldcat-just = 'R'.
ls_fieldcat-sp_group = 'A'.
APPEND ls_fieldcat TO e01_lt_fieldcat.
cnt = cnt + 1.
CLEAR ls_fieldcat.
ls_fieldcat-row_pos = 1.
ls_fieldcat-col_pos = cntHi ,
This is a sort of performance issue , because your program takes more than the max time set for the program to execute in foreground.
There are many stuff in program which will hamper your performance.
I will list down a few
1. SELECT *
FROM konp
INTO CORRESPONDING FIELDS OF TABLE konp_itab
FOR ALL ENTRIES IN a363_itab
WHERE knumh EQ a363_itab-knumh
in this statement you are using for all entries a363_itab , but before this statement you are not checking if the table has any entry or not , please do remember that for all entries has this characterstic , that if you internal table does not contain any record , then all the records are selected from the database table. So in this case if you table a363_itab is empty , so what you want is no data must be seelcted from table konp , but what will happen is all the records in KONP will be seelcted.
2. While retreiving data you are using seelct * even though you do not require all the fields , an example is
<b>SELECT *
FROM mkpf
INTO CORRESPONDING FIELDS OF TABLE mkpf_itab
FOR ALL ENTRIES IN mseg_itab
WHERE mblnr EQ mseg_itab-mblnr.</b>
in this your internal table contains only 2 fields
<b>mblnr LIKE mkpf-mblnr, "Number of Material Document
bldat LIKE mkpf-bldat, "Document Date in Document</b> , but to get these 2 fields you are selecting all the fields of the table.
3. In select you are using into corresponding fields of table , it is not a good practice., so please avoidd it.
Please understand that you must try to reduce the access to your database tables and try to keep it minimal , because this same thing may happen becasue data in DEV is very less compared to the volume of data in production , so a program working in DEV will take much more time in PRD if not written properly and may result in timeouts , as in your case.
Please try to make chanegs to the prorgam and see if it works.
In case you have more queries , please do revert back.
Regards
Arun
*Reward points if replay is helpful -
New production server PLUS upgrade!
After years of groveling, weekly church visits, and burning incense, it appears that I will finally be able to get a new production server for our 3.3 TB data warehouse. They are also going to add 2 TB of space to our main storage array.
In addition, management wants to upgrade from 10.2.0.3 to 11gR2 as part of that migration. Our current server was not able to handle 11g, according to Oracle.
In recent times, I have had to do some very non-standard things as a dba, mostly due to insufficient resources. So these migrations may not be as straightforward as what you read in the docs, and therefore I would like some opinions about how best to achieve the migration to the new box, and to 11gR2.
Our current environment is a Sunfire 6800 Sparc 64 box with 12 900mhz cpus and 16G of ram, and Solaris 10.
Most of our datafiles are housed on a 3.7 TB Sun 2540 storage array, but due to space and performance constraints, it was decided to put one very large and mostly unimportant tablespace (350G) on a 2.1 TB Sun 3511 array. We also put our 2 temporary tablespaces (about 54G) on that array. Also on the 3511 array is our db_recovery_file_dest area, with all of our archived redo logs and flashback logs. Due to lack of space there, I have to direct our RMAN database file backups, archived log backups, and exports to an unsupported Hitachi SAN, which is 8 years old, like our Sunfire 6800.
The new server is a Sun M4000 with Solaris 10, so the OS will not be an issue. It will have 4 4-way 2.5ghz processors and 32G of ram. The newly expanded 2540 array will have enough space to hold us for a few years. It is currently 3.7TB, using 2.6 of that. When expanded, it will be about 5.8TB.
My mission is to move all of the temporary tablespace and other data files (about 1 TB) and the exports (1 TB) to the newly expanded 2540. We will keep the space (2.1 TB) allocated on the 3511 attached to the new server, but it will be used ONLY for recovery-related files; rman backups, flashback logs, archived logs, etc. My goal is to keep at least two full rman backups in that space, along with all the necessary archived log backups. We are supposed to get everything off of the old SAN. So, there will be a lot of file shuffling, nothing new for this shop.
My plan would be to install 10.2.0.3 (same exact version) on the new server, then hook it up to the existing storage arrays. (My boss thinks that will reformat all of the disks on those arrays, but I don't think that is necessarily true. I believe it is possilble to mount each file system on those arrays to the new box, so long as they have been unmounted from the old one. Then again, I am not a Unix Admin)
Next, I would startup-mount the database, move the necessary files to the 2540 using Oracle and Unix commands, then shut down the db. Then, I would install 11gR2 with all patches on the new server, and upgrade the database manually, in place.
If my boss is right and connecting the new server to the existing arrays means re-initializing them, he asked if we could use our last RMAN backup to restore the database in the new environment. I said if we were still running 10g at that time on the new server, and all the file systems were identical, that should be possible. However, I should note that we do NOT use an RMAN catalog (RMAN uses the controlfile). We have no place to put an RMAN catalog. I have never even had a place to test doing a restore with RMAN.
If anyone out there has been through a migration to a new server along with an Oracle upgrade, I would appreciate any ideas on the best way to go about it.Hi,
Its not recommended to upgrade OS and Database same time. I would recommend :
1) Migrate database from Old Server to new Severs.
-> Install OS, packages, patches, create users, groups, mount points and configure kernel parameters as required.
-> Restore $ORACLE_HOME, inventories, mount all data partitions on same mount points similar to old servers
-> Perform relink for all oracle home binaries using command relink all command.
Refer tech notes:
http://download.oracle.com/docs/cd/B19306_01/install.102/b28053/toc.htm
*Is It Necessary To Relink Oracle Following OS Upgrade? [ID 444595.1]*
*How to Relink Oracle Database Software on UNIX [ID 131321.1]*
2) Then perform an upgrade for your database.
http://download.oracle.com/docs/cd/E11882_01/install.112/e10863/toc.htm#i1011296
http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/toc.htm
Hope helps :)
Regards,
X A H E E R -
Bug in production Server !!!
HI all,
There is a bug in production server. Error message i am getting is :-
"There is an IDoc in the Warehouse outbox that did not arrive in the ALE inbox of the source system."
It is a master data that gets loaded in ODS. I have checked in PSA but there is no request in that ODS. Data has not arived.
Can anyone help me to solve this bug urgently....Hi there,
I don't think there's a bug in your system.
What the message tells you is:
BI have sent a question to a source system. The message has left BI but not reached the source systems inbox.
This is probably due to:
1. RFC connection was down at load time?
2. Not enough resources were availiable to handle the IDOCs
You should be able to re-run the load after having made sure in SM59 that everything is OK with the RFC-connections.
Why are you looking i n PSA if the request of getting data hasn't even reached the source system?
Kind regards
/martin -
PHP/MySQL Test/Production Server best practices
Hello,
I am currently learning PHP/MySql and have setup a test server to develop on and a production server to go live with. I wanted to know what are the best practices for synchronizing the test server with the production. Should I export the database from the test server and import it to the production server each time I make a change or is there better way to incrementally sync the databases. I am using Dreamweaver to design the web site.
Thanks,
NickThanks, but does this mean that after I go live I should make changes on the production database only and not use the development database, if say I need to add a new table or record(s)?
Procedure
1. Take production web site down
2. Export/Save current database
3. Make changes to production database
4. Export/Save new database
5. Bring production web site up
Is this correct? -
Hi,
can you recommend Archlinux as production server? I really like all the cutting-edge technologies.. But I had problems with Arch on my VPS (after-update kind) and I'm not sure if they are caused by Arch or by OpenVZ.. But production server simply cannot be down for a few hours simply because I ran "pacman -Syyu"..
So I am considering both Arch or SL6..
Thanks for your opinions ^_^The main reason that I see for not using archlinux on a production server is that in a production server applications cannot get major upgrades automatically. Arch doesn't follow this. In example, the python command one day changed from python2 to python3. This kind of sutff can't happen in a production server unless explicity requested.
On the other hand, this is also one thing that I like about ArchLinux, because it "enforces" you to stay up to date about newer version of all kind of stuff, making it your way of living to be familiar with present day technologies (or future technologies in case of most production servers). -
How to not run a gateway instance if the target server is down
I have a DirectoryWatcher gateway instance that runs every 10
min looking to do a series of actions when a file is added to a
directory on another server. This other server is down periodically
and my gateway instance fails. Then when the server comes back up,
I have to restart the gateway because it has failed. How do I tell
the gateway instance to not run if the server it is looking at is
down or the directory in this case is unavailable?listeners have a timeout period. if the target computer is going through a reboot cycle, the downtime should be short enough that you can setup a timeout. Set one that is long enough so that you do not trigger a failure event, and the timepsan allows for the target server to come back online before the timeout expiration.
Another way that is more robust is to create a seperate application, perhaps one built on Visual Studio or even a scripthost that does a simple ping of the destination server every 10 seconds or so. When the server is not found, you can do a shutdown of your CF. (you can shutdown any application from another application). Once you can re-ping the server, relaunch your gateway listener. If the listener cannot support what you want to do, just write another program that will perform your logic for you.
People have it within them to change
Proud user of Adobe products, and webmaster of the Theravive counselor network , built on Dreamweaver, and Photoshop. Toss in a little Visual Studio, but who's keeping score! -
How to deploy development changes in to production server
Hi,
We are using scorecard fusion edition, every time after some changes been implimented in Development, we are copying entire thing and pasting it in production server,
Is there any other way which we can use, only changes we can deploy to the production environment?
with out pasting every thing into production, we want to deploy only our new changes.
Thanks
UdayaPerhaps this question is better asked in a forum where people discuss applicaiton and Scorecard.
This forum is dedicated to discussing issues with obtaining the software, not using it.
Consider clicking on the 'Forum Home' link (top of page) and scrolling down until you see something about applications.
The alternate is to wait... -
The Admin Server is up and running but the BI Server is down and is not running. Any idea what it could be?
Checked OPMN and everything works fine there.
C:\oracle\product\obiee11g\instances\instance1\bin>opmnctl status
Processes in Instance: instance1
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
coreapplication_obiccs1 | OracleBIClusterCo~ | 3036 | Alive
coreapplication_obisch1 | OracleBIScheduler~ | 7600 | Init
coreapplication_obijh1 | OracleBIJavaHostC~ | 7180 | Alive
coreapplication_obips1 | OracleBIPresentat~ | 5804 | Alive
coreapplication_obis1 | OracleBIServerCom~ | 7008 | Alive
From the EM website, I found that the BIServer is down and not running.
Tried to run the BI Server from EM (bi_server1->control->start up) but I get the below error:
Status of start operation on server bi_server1 is TASK IN PROGRESS
Status of start operation on server bi_server1 is TASK IN PROGRESS
Status of start operation on server bi_server1 is TASK IN PROGRESS
Status of start operation on server bi_server1 is TASK IN PROGRESS
Status of start operation on server bi_server1 is TASK IN PROGRESS
Status of start operation on server bi_server1 is FAILED
Connection timed out: connect. Could not connect to NodeManager. Check that it is running at COGRADYWIN7:9556.
This is a box standard installation and BIServer worked previously.
Appreciate your help
Regards
BYou must start the NodeManager service.
http://gerardnico.com/wiki/dat/obiee/start_11g#start_oracle_weblogic_node_manager
Success
Nico -
CS5 - Contribute could not connect because the server is down
we have a client who has site hosted with us. They are using Contribute CS5 to connect to our web server and make changes to their site. They've been using Contribute for a month when all of a sudden they started receiving the error:
Contribute could not connect because the server is down or not accepting connections. Please contact your administrator.
Our server is up and running, their site is up, their ftp password is not locked and network said they can see can see end to end FTP transactions, logins and authentications. Communications between the application and the server is being allowed through all the various firewalls and devices along the way.
I've done some research but cannot find a definitive resolution. Any help with your product would be appreciated.Can you please try clearing the Contribute preferences once?
In Windows -
Quit Contribute.
Go to C:\Documents and Settings\<username>\Local Settings\Application Data\Adobe\ and delete the Contribute CS5 folder. (In Windows Vista or Windows 7, go to C:\Users\<username>\AppData\Local\Adobe\ and delete the Contribute CS5 folder.)
Also, run reg delete "HKCU\Software\Adobe\Contribute 6" /f
In Mac -
Quit Contribute.
Go to Users/<username>/Library/Application Support/Adobe/ and delete Contribute CS5 folder.
Also, go to Users/<username>/Library/Preferences and delete Adobe Contribute 6 Preferences file.
Note: Doing this will remove all the existing connections in Contribute. It will be like a fresh installtion of Contribute.
Maybe you are looking for
-
Why FaceTime is not working in UAE
How can I use it there? Is there anyway to install it Or it has to do with the network functionality and no work arounds can be done
-
Hi, I have make a new and clean install of Windows Server 2012 R2 Essentials on my office network server and then i made a new and clean install of Windows 8.1 Enterprise version on one of my office desktops. After all VPN and Anywhere Access where s
-
My ipad2 says Apple won't allow Adobe Flash driver to load. How can I view and hear talking greeting cards?
-
Problem with iTunes ratings synchronization to iPhone/iPad
iTunes 11.4.0.8 (Windows 8.1 64-bit) iOS 8.0 My problem: I use to manage my music library with itunes which i sync to my iphone (5s) and ipad (air). The devices are managed "manually", such that i just drag some albums to the device. When i rate some
-
Need to make JFrame Always on top.
I have the main application window(JFrame).It in turn creates many JFrames , i want the newly created JFrames to be set as ALWAYS_ON_TOP , ie even if i click on the the main window,the new JFrames should be always on top similar to Yahoo messenger an