Multiple Errors for one record in RFC
Hi,
Iam creating RFC.In RFC i have defined output structure in tables.In that structure one field ZMSG and its length is 500.so want to display mutliple errors for one record in ZMSG field output.
Using concantenation...but How to do that?send me Example code...
Regards,
Raj.
clear v_error.
loop on return where type = 'E'.
concatenate v_error return-ZMSG into v_error saperated by spaces respecting blanks.
endloop.
Edited by: Pranu Pranu on May 21, 2010 9:31 AM
Similar Messages
-
Need help with a SQL qurey that returns multiple rows for one record?
I have the following query where I use a CASE WHEN clause to determine the date of a shift that begins with "FRLO" on day1 - day14 of the pay period. It works great if a schedule record contains one day that begins "FRLO", but if more than one day is "FRLO" then it only returns the first day it finds and not the others. Is there some way to get the query to return a ron for every day 1 - 14 that begins "FRLO"? System if Oracle 11G
Order of the results is not important as this is part of a larger query that orders the results.
Thanks in advance for any help,
George
SELECT s.empid,
CASE
WHEN UPPER (SUBSTR (s.Day1, 0, 4)) = 'FRLO'
THEN
pp.startpp
WHEN UPPER (SUBSTR (s.Day2, 0, 4)) = 'FRLO'
THEN
pp.startpp + 1
WHEN UPPER (SUBSTR (s.Day3, 0, 4)) = 'FRLO'
THEN
pp.startpp + 2
WHEN UPPER (SUBSTR (s.Day4, 0, 4)) = 'FRLO'
THEN
pp.startpp + 3
WHEN UPPER (SUBSTR (s.Day5, 0, 4)) = 'FRLO'
THEN
pp.startpp + 4
WHEN UPPER (SUBSTR (s.Day6, 0, 4)) = 'FRLO'
THEN
pp.startpp + 5
WHEN UPPER (SUBSTR (s.Day7, 0, 4)) = 'FRLO'
THEN
pp.startpp + 6
WHEN UPPER (SUBSTR (s.Day8, 0, 4)) = 'FRLO'
THEN
pp.startpp + 7
WHEN UPPER (SUBSTR (s.Day9, 0, 4)) = 'FRLO'
THEN
pp.startpp + 8
WHEN UPPER (SUBSTR (s.Day10, 0, 4)) = 'FRLO'
THEN
pp.startpp + 9
WHEN UPPER (SUBSTR (s.Day11, 0, 4)) = 'FRLO'
THEN
pp.startpp + 10
WHEN UPPER (SUBSTR (s.Day12, 0, 4)) = 'FRLO'
THEN
pp.startpp + 11
WHEN UPPER (SUBSTR (s.Day13, 0, 4)) = 'FRLO'
THEN
pp.startpp + 12
WHEN UPPER (SUBSTR (s.Day14, 0, 4)) = 'FRLO'
THEN
pp.startpp + 13
END
startdate,
NULL starttime,
NULL endtime,
8 hours,
0 minutes
FROM schedules s
JOIN
payperiods pp
ON pp.periodid = s.periodid
WHERE UPPER (SUBSTR (s.Day1, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day2, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day3, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day4, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day5, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day6, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day7, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day8, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day9, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day10, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day11, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day12, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day13, 0, 4)) = 'FRLO'
OR UPPER (SUBSTR (s.Day14, 0, 4)) = 'FRLO';
CURRENT OUTPUT
EMPID STARTDATE STARTTIME ENDTIME HOURS MINUTES
753738, 3/25/2013 , , ,8 ,0
753740, 3/25/2013 , , ,8 ,0
753748, 3/25/2013 , , ,8 ,0
DESIRED OUTPUT
EMPID STARTDATE STARTTIME ENDTIME HOURS MINUTES
753738, 3/25/2013 , , ,8 ,0
753740, 3/25/2013 , , ,8 ,0
753748, 3/25/2013 , , ,8 ,0
753738, 3/26/2013 , , ,8 ,0
753740, 3/26/2013 , , ,8 ,0
753740, 3/28/2013 , , ,8 ,0
753748, 1/1/2013 , , ,8 ,0
753738, 4/3/2013 , , ,8 ,0
753748, 4/3/2013 , , ,8 ,0
CREATE TABLE SCHEDULES
SCHEDULEID NUMBER(12) NOT NULL,
EMPID NUMBER(12) NOT NULL,
PERIODID VARCHAR2(6 BYTE) NOT NULL,
AREAID NUMBER(12) NOT NULL,
DAY1 VARCHAR2(50 BYTE),
DAY2 VARCHAR2(50 BYTE),
DAY3 VARCHAR2(50 BYTE),
DAY4 VARCHAR2(50 BYTE),
DAY5 VARCHAR2(50 BYTE),
DAY6 VARCHAR2(50 BYTE),
DAY7 VARCHAR2(50 BYTE),
DAY8 VARCHAR2(50 BYTE),
DAY9 VARCHAR2(50 BYTE),
DAY10 VARCHAR2(50 BYTE),
DAY11 VARCHAR2(50 BYTE),
DAY12 VARCHAR2(50 BYTE),
DAY13 VARCHAR2(50 BYTE),
DAY14 VARCHAR2(50 BYTE),
NOPTIND1 INTEGER DEFAULT 0,
NOPTIND2 INTEGER DEFAULT 0,
NOPTIND3 INTEGER DEFAULT 0,
NOPTIND4 INTEGER DEFAULT 0,
NOPTIND5 INTEGER DEFAULT 0,
NOPTIND6 INTEGER DEFAULT 0,
NOPTIND7 INTEGER DEFAULT 0,
NOPTIND8 INTEGER DEFAULT 0,
NOPTIND9 INTEGER DEFAULT 0,
NOPTIND10 INTEGER DEFAULT 0,
NOPTIND11 INTEGER DEFAULT 0,
NOPTIND12 INTEGER DEFAULT 0,
NOPTIND13 INTEGER DEFAULT 0,
NOPTIND14 INTEGER DEFAULT 0
CREATE TABLE PAYPERIODS
PERIODID VARCHAR2(6 BYTE) NOT NULL,
STARTPP DATE,
ENDPP DATE
Insert into SCHEDULES
(SCHEDULEID, EMPID, PERIODID, AREAID, DAY1,
DAY2, DAY3, DAY4, DAY5, DAY6,
DAY7, DAY8, DAY9, DAY10, DAY11,
DAY12, DAY13, DAY14, NOPTIND1, NOPTIND2,
NOPTIND3, NOPTIND4, NOPTIND5, NOPTIND6, NOPTIND7,
NOPTIND8, NOPTIND9, NOPTIND10, NOPTIND11, NOPTIND12,
NOPTIND13, NOPTIND14)
Values
(3693744, 753738, '082013', 2167, 'X',
'FRLO<1530>', 'FRLO<1530>', '1530', '1530', '1530',
'X', 'X', '1530', '1530', 'FRLO',
'1530', '1530', 'X', 0, 0,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
0, 0);
Insert into SCHEDULES
(SCHEDULEID, EMPID, PERIODID, AREAID, DAY1,
DAY2, DAY3, DAY4, DAY5, DAY6,
DAY7, DAY8, DAY9, DAY10, DAY11,
DAY12, DAY13, DAY14, NOPTIND1, NOPTIND2,
NOPTIND3, NOPTIND4, NOPTIND5, NOPTIND6, NOPTIND7,
NOPTIND8, NOPTIND9, NOPTIND10, NOPTIND11, NOPTIND12,
NOPTIND13, NOPTIND14)
Values
(3693745, 753740, '082013', 2167, 'X',
'FRLO<1530>', 'FRLO<1530>', '1530', 'FRLO', '1530',
'X', 'X', '1530', '1530', '1530',
'1530', '1530', 'X', 0, 0,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
0, 0);
Insert into SCHEDULES
(SCHEDULEID, EMPID, PERIODID, AREAID, DAY1,
DAY2, DAY3, DAY4, DAY5, DAY6,
DAY7, DAY8, DAY9, DAY10, DAY11,
DAY12, DAY13, DAY14, NOPTIND1, NOPTIND2,
NOPTIND3, NOPTIND4, NOPTIND5, NOPTIND6, NOPTIND7,
NOPTIND8, NOPTIND9, NOPTIND10, NOPTIND11, NOPTIND12,
NOPTIND13, NOPTIND14)
Values
(3693746, 753748, '082013', 2167, 'X',
'FRLO<1530>', '1530', '1530', '1530', '1530',
'X', 'X', 'FRLO<1530>', '1530', 'FRLO',
'1530', '1530', 'X', 0, 0,
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
0, 0);
COMMIT;
Insert into PAYPERIODS
(PERIODID, STARTPP)
Values
('082013', TO_DATE('03/24/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
COMMIT;Do you have the opportunity to change the data model to have one day per row ? It would make this easier to get this result without the need for a 14-way CASE or UNION.
If not...
The case statement will return as soon as it matches one of the conditions. Since you want a match when any column in the row starts with FRLO you can use a UNION ALL treating each column as a separate result. There may be more efficient ways to do this, but here is one way:
Select S.Empid, Pp.Startpp Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day1, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+1 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day2, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+2 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day3, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+3 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day4, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+4 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day5, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+5 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day6, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+6 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day7, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+7 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day8, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+8 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day9, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+9 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day10, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+10 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day11, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+11 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day12, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+12 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day13, 0, 4)) = 'FRLO'
Union All
Select S.Empid, Pp.Startpp+13 Startdate, Null Starttime, Null Endtime, 8 Hours, 0 Minutes
From Schedules S Join Payperiods Pp On Pp.Periodid = S.Periodid
Where Upper (Substr (S.Day14, 0, 4)) = 'FRLO'
; -
Can anybody tell me if it is possible to produce multiple labels for one order. For example a customer orders 4 units. A standard package holds 3 units so an additional package is required for the fourth unit. As a result two packing labels are required. Does OM 11i support this?
Hi Aj
Thanks for your quick response. I was think on the same lines and you have confirmed that we will have to split the line into several lines on sales order.
I am trying to do that now in our ECC box i.e item 10 with payer 1 and item 2 with payer 2. But as soon as I try to change the payer on item 2, i get the following error message which relates to credit management being active.
I am assuming once we decativate CM, we should be good to go. PLease confirm. Also once its time for billing, will SAP automatically split the billing into different invoices per sales order line item based upon number of payers on the line items?
PLease confirm your thoughts.
Regards
Jai -
Total jobs getting more for one record
Hi Gurus,
In the report if I filtered for one record, the result should be TOTAL job scheduled(Key Figure-ZITSCKF) = 1 but since I modified the record for 3 times on different DATES(Character - ZIBFDCH) it is showing as TOTAL job scheduled = 3.
In update rules I mapped the DSO object (ZIBFDCH) to Info Cube object (ZITSCKF), I written a formulae that--- IF( IS_INITIAL( /BIC/ZIBFDCH ), 1, 0 ).
Please help me regarding this issue, points will be assigned.
Regards,
Kiran AHi Kiran,
sice you have multiple modifications dates, what i think is, create intenal table sort baced on dates and read only one value for the combination of key fields like..DATES(Character - ZIBFDCH), DSO object (ZIBFDCH). so that one records for key combination will be updated to data target.
Regards
Daya Sagar -
Error: ORA-16778: redo transport error for one or more databases
Hi all
I have 2 database servers"Primary database and physical standby" in test environment( before going to Production)
Before Dataguard broker configuration , DG setup was running fine , redo was being applied and archived on phy standby.
but while enabling configuration i got "Warning: ORA-16607: one or more databases have failed" listener.ora & tnsnames.ora are updated with global_name_DGMGRL
Please help me how can i resolve this issue .Thanks in advance.
[oracle@PRIM ~]$ dgmgrl
DGMGRL for Linux: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys
Password:
Connected.
DGMGRL> show configuration
Configuration
Name: test
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database
show database
^
Syntax error before or at "end-of-line"
DGMGRL> remove configuration
Warning: ORA-16620: one or more databases could not be contacted for a delete operation
Removed configuration
DGMGRL> exit
[oracle@PRIM ~]$ connect sys/sys@prim as sysdba
bash: connect: command not found
[oracle@PRIM ~]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
[oracle@PRIM ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:48
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 08-OCT-2006 19:52:48
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PRIM_DGMGRLL" has 1 instance(s).
Instance "PRIM", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@PRIM ~]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:46
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
[oracle@PRIM ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
[oracle@PRIM ~]$ dgmgrl
DGMGRL for Linux: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect /
Connected.
DGMGRL> create configuration test as
primary database is PRIM
connect identifier is PRIM
;Configuration "test" created with primary database "prim"
DGMGRL> add database STAN as
connect identifier is STAN
maintained as physical;Database "stan" added
DGMGRL> show configuration
Configuration
Name: test
Enabled: NO
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
DISABLED
DGMGRL> enable configuration
Enabled.
DGMGRL> show configuration
Configuration
Name: test
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database verbose prim
Database
Name: prim
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
PRIM
Properties:
InitialConnectIdentifier = 'prim'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
LogFileNameConvert = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'PRIM'
SidName = 'PRIM'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521))'
StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/PRIM/archivelog/'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "prim":
Error: ORA-16778: redo transport error for one or more databases
DGMGRL> show database verbose stan
Database
Name: stan
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: ONLINE
Instance(s):
STAN
Properties:
InitialConnectIdentifier = 'stan'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
LogFileNameConvert = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'STAND'
SidName = 'STAN'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=STAND)(PORT=1521))'
StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/STAN/archivelog/'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "stan":
Error: ORA-12545: Connect failed because target host or object does not exist
DGMGRL>This:
Current status for "stan":
Error: ORA-12545: Connect failed because target host or object does not exist
says that your network setup is not correct. You need to resolve that first.
As for Broker setup steps how about the doc or our Data Guard 11g Handbook?
It's 3 DGMGRL commands so I am not sure what 'steps' you need?
Larry -
Can you have multiple users for one account?
Can you have multiple users for one account? if so how do you set it up.
We are using it for our department and it would be great to see who created what form instead of it being all one name.Each person should have their own account. You can easily share the forms with other people in your department. You will be able to see who the author of the form is.
More information on how to share :
http://forums.adobe.com/docs/DOC-2462
Information on how to copy a forms to a different account :
http://forums.adobe.com/docs/DOC-1390
Hope this helps
Gen -
How do i scan multiple pages for one attachment
I know how to scan but I don't know how to scan multiple pages for one attachement....Help please
Hi dagda24,
You can scan multiple pages into a single document with the scan to PDF option. Use the following steps to do so:
1. Open MP Navigator.
2. Click One Clcik.
3. Click Save to PC.
4. Change the File Type from PDF to PDF (multiple pages).
5. Make any other changes as needed, then click scan.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
How to open multiple sessions for one user?
Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
select col1 from my_table where row_id = 1
-- shows result is 1
update my_table set col1 = 0 where row_id = 1
select col1 from my_table where row_id = 1
-- shows result is 0and then enter into the second worksheet:
select col1 from my_table where row_id = 1
-- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
Re: Help with Procedure
Edited by: tem on Apr 18, 2012 6:44 AMThanks Jim,
Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
I don't see an option for "Worksheet".
UPDATE:
OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
Edited by: tem on Apr 18, 2012 8:00 AM -
Multiple Values For one Condition in Choose From List
I have used one Business Partner Choose From List in my form but i want to give condition in that choose from list on GroupCode .But the condition will have multiple values like 100,102,104 then how i will write the code to incorporate multiple values for one single condition.
Hi,
Check this thread
How to set a Multiple condition in a single CFL
Hope that helps,
Vasu Natari. -
Multiple currency for one vendor
Hi,
Is there any way to have multiple currency for one Vendor?Hi Siva,
Yes, It is possible to maintain multiple currency for one vendor. How ? The procedure as follows.
During vendor creation using T-code XK01 and currency enter input data screen select Extra option on the top of the screen click and display 'Add Purchasing Data' option click opened new screen and give input data plant, tick mark of the option Data retent.at plant level allowed and tick for OK.
After that, you have enter multiple currency for the same vendor during vendor creation time, then you will create PO using T-code ME21N the currency field you have fill as you required currency by default first currency of vendor created will be display.
Hope, it is useful for you.
Regards,
K.Rajendran -
Multiple choose for one parameter
Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
Select ....
where ....
content.style IN (:p_style)
(content.style is a column in table "content", and "p_style" is a bind variable)
i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
Li<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by whl:
Hi, does Oracle Report support the multiple choose for one parameter? i used a IN statement inside my WHERE conditions as following
Select ....
where ....
content.style IN (:p_style)
(content.style is a column in table "content", and "p_style" is a bind variable)
i want user can have multiple choises on p_style value. but in the parameter form i only can make one choise. Does any one know how to do the multi choise from parameter form? if you do, please help me. Thank you very much.
Li<HR></BLOCKQUOTE>
you can do that by flowing the stap
at first you will write a select statement
select ...
From ...
where Style (colomn name) = &style1
then you create a user parameter soupose wich name is P_style and which valus is x, y, and z you should enter another value soupose that name is 'All' (All means x + y + Z)
then you write in after parameter form trigger...
IF :P_style = 'All' then
:style1 := null;
Else :style1 := 'and style (style means your column name) = :P_style;
end if;
null -
Multiple Vendors for one Document Number in BW
Hello All,
We are getting Multiple Vendors for one document in BW. In R/3, standard table and RSA3, we are able to see correct vendor where as when it is coming into BW it is showing incorrect vendor in PSA and Data Target.
All issues are coming for Process Key 1 only.
*For Example:*
Document: 9400000007
Schedule Line:1
Doc Item: 1
Vendor:
0010019229 - Incorrect Vendor
0010018962 - Correct Vendor
Committed Quantity: 0
Doc Type:
ZNB
ZNPP
Process Key: 1
Not sure how to upload screen shot.
Please suggest.
Thanks,
VijayHi ,
Are you loading for the first time ? If yes have you checked Transaction BF11 settings.
Regards
Rahul Bindroo -
Multiple payers for one sold to party
Hi All,
Can we have multiple payers for one sold to party?
ThanksHi
Yes, you can have multiple PAYER for one Sold-to-party (only in the Customer master).
This Partner relationship is maintained in two places. They are,
> Customer master ( sales area data > partner function tab )
> Sales documents (at Header level and Item level)
In Customer master data, you can have multiple partners ( e.g, multiple Payers) for one Partner function( e.g, SH,BP,PY).
But in Sales document, you can have only one Partner for one Partner function.
So, you can have only in Customer master data multiple pertners. So, first create the different Payers through XD01 ,choosing Account group "Payer".
Then assign all those PAYERS in the master data of the Sold-to-party by going in the change mode XD02 and save it.
When you create the Billing document, system will give a pop-up of those list of Payers and you have to choose one . You can have only one Payer in one Billing document. -
Hello everyone :
I can't switchover to primary. following is error and information.
RHEL 6.3 x86-64
Oracle database 11.2.0.3.0 Enterprise edition
Primary database = orclprmy
Standby database = orclstby1
##### /etc/hosts on orclstby1
[root@orclstby1 admin]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.50.211 ttprmy
192.168.50.212 orclstby1
### DG broker error
DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected.
DGMGRL> show configuration;
Configuration - TTDGConfig1
Protection Mode: MaxPerformance
Databases:
orclstby1 - Primary database
Error: ORA-16778: redo transport error for one or more databases
orclprmy - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
ERROR
DGMGRL>
########### listener.ora on orclstby1
[root@orclstby1 admin]# cat listener.ora
# listener.ora Network Configuration File: /u2/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclstby1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=orcl)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
(SID_DESC =
(GLOBAL_DBNAME=orclstby1)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
(SID_DESC =
(GLOBAL_DBNAME=orclstby1_DGMGRL)
(SID_NAME = orclstby1)
(ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
ADR_BASE_LISTENER = /u2/oracle
############## tnsnames.ora on orclstby1
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl))
orclprmy =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy))
orclprmy_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy_DGMGRL))
orclstby1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1))
orclstby1_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1_DGMGRL))
##### alert log on orclstby1.
Fatal NI connect error 12504, connecting to:
(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=oracle)(HOST=orclstby1)(USER=oracle)))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.50.211)(PORT=1521)))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 06-SEP-2013 13:19:55
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
There is problem in alert log.
In the /etc/hosts file. The standby server (orclstby1) ip is 192.168.50.212. but alert log is 192.168.50.211.
Is any idea?
Thanks for help.
消息编辑者为:user4914135#### on primary database
SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
DEST_NAME STATUS TARGET ARCHIVER SCHEDULE VALID_TYPE VALID_ROLE DB_UNIQUE_NAME
ERROR
LOG_ARCHIVE_DEST_1 VALID LOCAL ARCH ACTIVE ALL_LOGFILES ALL_ROLES orclprmy
LOG_ARCHIVE_DEST_2 VALID REMOTE LGWR PENDING ALL_LOGFILES PRIMARY_ROLE orclstby1
LOG_ARCHIVE_DEST_3 INACTIVE LOCAL ARCH INACTIVE ALL_LOGFILES ALL_ROLES NONE
#### on standby database
SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
DEST_NAME STATUS TARGET ARCHIVER SCHEDULE VALID_TYPE VALID_ROLE DB_UNIQUE_NAME
ERROR
LOG_ARCHIVE_DEST_1 VALID PRIMARY ARCH ACTIVE ALL_LOGFILES ALL_ROLES orclstby1
LOG_ARCHIVE_DEST_2 ERROR STANDBY LGWR PENDING ONLINE_LOGFILE PRIMARY_ROLE orclprmy
ORA-12504: TNS:listener was not given the SERVICE_NAME in
CONNECT_DATA
LOG_ARCHIVE_DEST_3 INACTIVE PRIMARY ARCH INACTIVE ALL_LOGFILES ALL_ROLES NONE
#### log_archive_dest on primary database
SQL> show parameter log_archive_dest
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string location=/u3/arch/orcl vali
d_for=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=orclprmy
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
log_archive_dest_19 string
log_archive_dest_2 string service="orclstby1", LGWR ASYNC
NOAFFIRM delay=0 optional comp
ression=disable max_failure=0
max_connections=1 reopen=300 d
b_unique_name="orclstby1" net_ti
meout=30, valid_for=(all_logfi
les,primary_role)
log_archive_dest_20 string
log_archive_dest_21 string
log_archive_dest_22 string
#### log_archive_dest on standby database
SQL> show parameter log_archive_dest
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string location=/u3/arch/orclstby1 vali
d_for=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=orclstby1
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
log_archive_dest_19 string
log_archive_dest_2 string service=orclprmy ASYNC valid_for
=(ONLINE_LOGFILE,PRIMARY_ROLE)
db_unique_name=orclprmy
log_archive_dest_20 string
log_archive_dest_21 string
log_archive_dest_22 string
log_archive_dest_23 string
log_archive_dest_24 string
log_archive_dest_25 string
#### spfile on standby database
</u2/oracle/product/11.2.0/dbhome_1/dbs> strings spfileorclstby1.ora
orcl.__db_cache_size=1040187392
orclstby1.__db_cache_size=1090519040
orcl.__java_pool_size=16777216
orclstby1.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orclstby1.__large_pool_size=16777216
orcl.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
orclstby1.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=536870912
orclstby1.__pga_aggregate_target=536870912
orcl.__sga_target=1610612736
orclstby1.__sga_target=161061273
orcl.__shared_io_pool_size=0
orclstby1.__shared_io_pool_size=0
orcl.__shared_pool_size=503316480
orclstby1.__shared_pool_size=469762048
orcl.__streams_pool_size=16777216
orclstby1.__streams_pool_size=0
*.archive_lag_target=0
*.audit_file_dest='/u2/oracle/admin/orclstby1/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u2/oracle/oradata/orclstby1/control01.ctl','/u2/oracle/fast_recovery_area/orclstby1/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_file_nam
e_convert='orcl','orclstby1'
*.db_name='orcl'
*.db_recovery_file_dest='/u2/oracle/fast_recovery_area'
*.db_recovery_file_dest_size=5218762752
*.db_unique_name='orclstby1'
*.deferred_segment_creation=FALSE
*.dg_broker_start=TRUE
*.diagnostic_dest='/u2/oracle'
*.fal_client='orclstby1'
*.fal_server='orclprmy'
*.log_archive_config='dg_config=(orclprmy,orclstby1)'
*.log_archive_dest_1='location=/u3/arch/orclstby1 valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstby1'
*.log_archive_dest_2='ser
vice=orclprmy ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orclprmy'
*.log_archive_dest_state_2='ENABLE'
orcl.log_archive_format='orcl_%t_%s_%r.arc'
*.log_archive_format='orclstby1_%t_%s_%r.arc'
orclstby1.log_archive_format='orclstby1_%t_%s_%r.arc'
*.log_archive_max_processes=4
*.log_archive_min_succeed_dest=1
orcl.log_archive_trace=0
orclstby1.log_archive_trace=0
*.log_file_name_convert='orcl','orclstby1'
*.open_cursors=300
*.pga_aggregate_target=536870912
*.processes=
1500
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=1655
*.sga_target=1610612736
*.standby_file_management='AUTO'
*.undo_tablespace='UNDOTBS1'
</u2/oracle/product/11.2.0/dbhome_1/dbs>
Thank you for your help. -
my post processing times have tripeled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .
my post processing times have tripeled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .
Maybe you are looking for
-
Is there a way I can count the number of times a specific name appears in a 14x56 chart. (I'm making a work schedule and need to make sure people have the same number of shifts)
-
Hi, Need a help. Bought BB 3G. I am not able to use interent on my DLink WiFi though i am able to establish the connection between my wifi and handset. Previously i had BB Curve 8520 and i faced same problem. Please help.
-
PCI-6014: unable to change Polarity/Range in MAX3.1
Recently we have needed to change our data input range from +/- 10V to +/- 500mV. The manual says that this occurs by changing the gain levels, however MAX does not display any data ranges other than +/- 10V. I have tried removing the device, uninsta
-
Bridge does not open files. dialog: libmmd.dll missing
bridge does not open files. dialog: "libmmd.dll missing, reinstall bridge." Yet I cannot redownload bridge because when I open creative cloud I see bridge as up to date. How can I redownload installed programs?
-
My latest app, Smithsonian at Home is now in the Windows Store.
My My My new "Smithsonian at Home" App is now in the Windows store http://apps.microsoft.com/windows/en-us/app/smithsonian-at-home/4b6402c4-5939-42a8-bc83-07715f1b6555 Please try it out! I've written it up at http://digitalmediaphile.com/index.php/