UNDEPLOY PCK procedure in PI 7.1
Can any one tell me how to undeploy PCK in PI 7.1 becoz of this i'm unable to launch PI tools.
i tried UNDEPLOY SAP_XIPCK command directly it give me unknown command at OS level.We don't have NWDI configured correctly.
so i'm unable to use NWDI .
Praveen
Hi Praveen...
Defaultly PCK will not install with PI7.1.. First of all use Configuration Wizard in order to complete PI 7.1 Post installation.. or if your expert use manual Configuration.Rigister Local SLD.. and then use this url to Login PI Tools
In PI 7.0 URL of PI TOOLS:
http://<hostname>:50<InstanceNo>0/rep/start/index.jsp
In PI 7.1 URL of PI TOOLS:
http://<hostname>:50<InstanceNo>0/dir/start/index.jsp
Stll if you un able to launch PI Tools Post Error what u getting in ur browser.
Similar Messages
-
Exec procedure as parsing schema, not APEX_PUBLIC_USER
We have a package with a procedure:
CREATE OR REPLACE PACKAGE XGN4.xgn_generator$pck
AUTHID DEFINER AS
PROCEDURE cr_tab(tab_id IN NUMBER);
END;
CREATE OR REPLACE PACKAGE BODY XGN4.xgn_generator$pck
PROCEDURE cr_tab(tab_id IN NUMBER)
IS
BEGIN
execute immediate('CREATE TABLE test(......)');
END;
END;
When I call this procedure from apex, it's always executed as 'APEX_PUBLIC_USER', but it should be as the parsing schema 'XGN4'.
I thought 'AUTHID DEFINER' should do the trick (it's standard when you're not using AUTHID), but it looks like it has no effect on APEX...
Anyone?Ok Scott, you are right.
I used sys_context('USERENV','CURRENT_USER') to identify the user and it's the right parsing schema (XGN4).
But why won't my code execute right in apex when it does straight from SQL-DEVELOPER (or another tool)?
Eg:
In toad: EXEC packagename.procedure(parameter);
in Apex: begin; packagename.procedure(parameter); end;
the procedure contains an execute immediate('alter tabel ...') and will do his job in the first case, but returns an error insufficient privs from apex. -
How to put Stored Procedure in Receiver JDBC channel
Hi all,Good Evening,Iam using a JDBC to JDBC scenario in which I have to move the data from database into XI and we all know that the Interfaces which require stored procedures on Oracle database server for publishing the data needs to be called in combination of BPM & Receiver JDBC adapter.
In this method, a dummy interface will be created for triggering the process. This interface could be designed using any adapter which works on polling mechanism (sender JDBC/File). Dummy interface will invoke a small BPM designed for each business object. BPM will make a synchronous call to Oracle database by calling underlying stored procedure. Stored procedure will return the result set by using a cursor. BPM will send this result set to target application.
Now my question is how to put a stored procedure in a receiver JDBC channel which need to collect the data from database when BPM makes a synchronous call.
Because it is required in my scenario,can any one tell me how and where to put stored Procedure in JDBC receiver channel.
Thanks in advance,
Regards,
PrajwalYour action should be EXECUTE for stored procedures in Message mapping.
<StatementName5>
<storedProcedureName action=u201D EXECUTEu201D>
<table>realStoredProcedureeName</table>
<param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
</storedProcedureName >
</StatementName5>
action=EXECUTE
Statements with this action result in a stored procedure being executed. The name of the element is interpreted as the name of the stored procedure in the database. If you use the optional <table> element, the value specified here is used as the stored procedure name. This enables you, for example, to define stored procedure names containing non-XML-compatible characters or characters that prevent them from being used in interface definitions in the Integration Builder/PCK. If specified, <table> must be the first element in the block within <dbTableName>.
The elements within the stored procedure are interpreted as parameters. They can optionally have the attribute isInput=u201C1u201C (input parameter) or isOutput=u201C1u201C (output parameter) or both (INOUT parameter). If both attributes are missing, the element is interpreted as an input parameter. The parameter names must be identical to those of the stored procedure definition.
The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).
http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
/people/sap.user72/blog/2005/10/15/jdbc-adapter-execution-mode-chained-or-unchained
/people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi -
How to create a package with procedures?
By referring through net I have written the following PCK file. I have installed my Oracle 11g database in VirtualBox(Win XP). I can able to select the tables using query from the host(Windows 7)
CREATE OR REPLACE PACKAGE APEX_SYS_PCK
AS
TYPE refcursortype IS REF cursor
PROCEDURE GET_USER_DETAILS(
D1 OUT refcursortype,
P_USER IN VARCHAR2,
P_PASS IN VARCHAR2);
END APEX_SYS_PCK;
CREATE OR REPLACE PACKAGE BODY APEX_SYS_PCK
AS
PROCEDURE GET_USER_DETAILS(
D1 OUT refcursortype,
P_USER IN VARCHAR2,
P_PASS IN VARCHAR2)
IS BEGIN
OPEN D1 FOR SELECT * FROM APEX.PERSONS;
END GET_USER_DETAILS;
END APEX_SYS_PCK;
When I try to run the script I am getting the following error. How to solve this problem? If there is any error in this package please do correct it!!!
Project: sqldev.temp:/IdeConnections%23vAPEX.jpr
F:\PACKAGES\APEX_SYS_PCK.sql
Error: PL/SQL: Compilation unit analysis terminated
Error(1,14): PLS-00905: object APEX.APEX_SYS_PCK is invalid
Error(1,14): PLS-00304: cannot compile body of 'APEX_SYS_PCK' without its specificationSTATUS in USER_OBJECTS
"OBJECT_NAME"
"SUBOBJECT_NAME"
"OBJECT_ID"
"DATA_OBJECT_ID"
"OBJECT_TYPE"
"CREATED"
"LAST_DDL_TIME"
"TIMESTAMP"
"STATUS"
"TEMPORARY"
"GENERATED"
"SECONDARY"
"NAMESPACE"
"EDITION_NAME"
"CUSTOMERS"
70645
70645
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:17:59:09"
"VALID"
"N"
"N"
"N"
1
"CUSTOMERS_PK"
70646
70646
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:17:59:09"
"VALID"
"N"
"N"
"N"
4
"DEPARTMENTS_PK"
70656
70656
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:32"
"VALID"
"N"
"N"
"N"
4
"EMPLOYEES"
70657
70657
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:57"
"VALID"
"N"
"N"
"N"
1
"DEPARTMENTS"
70655
70655
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:32"
"VALID"
"N"
"N"
"N"
1
"EMPLOYEES_PK"
70658
70658
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:57"
"VALID"
"N"
"N"
"N"
4
"SUPPLIERS"
70659
70659
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:20:25:41"
"VALID"
"N"
"N"
"N"
1
"SUPPLIERS_PK"
70660
70660
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:20:25:41"
"VALID"
"N"
"N"
"N"
4
"PRODUCTS"
70661
70661
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:20:28:32"
"VALID"
"N"
"N"
"N"
1
"PRODUCTS_PK"
70662
70662
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:20:28:32"
"VALID"
"N"
"N"
"N"
4
"PERSONS_PK"
70687
70687
"INDEX"
10-AUG-13
10-AUG-13
"2013-08-10:22:37:34"
"VALID"
"N"
"N"
"N"
4
"PERSONS"
70686
70686
"TABLE"
10-AUG-13
10-AUG-13
"2013-08-10:22:37:34"
"VALID"
"N"
"N"
"N"
1
"APEX_SYS_PCK"
70776
0
"PACKAGE"
13-AUG-13
15-AUG-13
"2013-08-15:19:56:47"
"INVALID"
"N"
"N"
"N"
1
"GET_LOGIN_CREDENTIALS"
70775
0
"PROCEDURE"
13-AUG-13
13-AUG-13
"2013-08-13:22:26:49"
"INVALID"
"N"
"N"
"N"
1
"APEX_SYS_PCK"
70792
0
"PACKAGE BODY"
15-AUG-13
15-AUG-13
"2013-08-15:19:56:47"
"INVALID"
"N"
"N"
"N"
2
"EMP_MAINT"
70802
0
"PACKAGE"
15-AUG-13
15-AUG-13
"2013-08-15:19:54:39"
"INVALID"
"N"
"N"
"N"
1 -
Undeploy an sda file through command-line
Hi All,
I want to undeploy an .sda file through command-line,what is the procedure to undeploy an sda file through command-line and send me the procedure for this
Thanks & Regards,
guruHi
Please find below the steps to undeploy thro command line :
Shut down the sdm server
1)SDM shutdown "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program" "sdmguiport=50018" "sdmhostname=<hostname>" password="<password>" "shutdownmode=abort"
2)sdm jstartup "mode=standalone" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
3) sdm undeploy "sdmhome=D:\usr\sap\J2E\DVEBMGS00\SDM\program" "compname=c:\test.sda"
4)sdm jstartup "mode=integrated" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
5)start the sdm server again
SDM server "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program"
Hope this helps. do not forget to reward points
regards
rajeshkr -
Delete and update records in Stored procedures
I AM NOW STUDYING A STORED PROCEDURE ,AND I ENCOUNTER SOME PROBLEM WITH
UPDATE AND DELETE SOME RECORD WHICH ONE IS UPDATED OR DELETED,
THIS IS MY CODE:
PACKAGE table_of_array IS
type emp_rec is record(
empno emp.empno%type,
ename emp.ename%type,
sal emp.sal%type,
deptno emp.deptno%type
type arr is table of emp_rec
index by binary_integer;
procedure get_data(a in out table_of_array.arr);
procedure do_insert(a in out table_of_array.arr);
procedure do_update(a in out table_of_array.arr);
procedure do_delete(a in out table_of_array.arr);
END;
PACKAGE BODY table_of_array IS
procedure get_data(a in out table_of_array.arr)
is
i number:=0;
begin
for cur in (select empno,ename,sal,deptno from emp) loop
a(i):=cur;
i:=i+1;
end loop;
end;
procedure do_insert(a in out table_of_array.arr)
is
i number:=0;
cnt number:=a.count;
begin
for i in 1..cnt loop
insert into emp(empno,ename,sal,deptno)
values(a(i).empno,a(i).ename,a(i).sal,a(i).deptno);
end loop;
end;
procedure do_update(a in out table_of_array.arr)
is
begin
/* WHICH RECORD AND ITEM HAD BEEN UPDATED */
end;
procedure do_delete(a in out table_of_array.arr)
is
begin
/* WHICH RECORD HAD BEEN DELETED */
end;
END;when you want to update, delete or insert records with a stored procedure you have to provide a procedure that locks the records
i'll send you an example of an update procedure and a lock procedure
PROCEDURE p_upd_devices ( resultset IN devtab) IS
BEGIN
FOR i IN 1..resultset.COUNT LOOP
IF resultset(i).zone <> resultset(i).zone_ref THEN
p_update_zone(resultset(i).zone, resultset(i).mdv_seq);
END IF;
END LOOP;
EXCEPTION WHEN OTHERS THEN
mecoms_general.logging(0, sqlerrm, 'pck$fill_error_devices.p_upd_devices');
END; -- p_upd_devices
PROCEDURE p_update_zone (pi_zone in metering_devices.zne_code%type, pi_device in metering_devices.seq%type) IS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
UPDATE metering_devices
SET zne_code = pi_zone
WHERE seq = pi_device;
commit;
EXCEPTION WHEN OTHERS THEN
mecoms_general.logging(0, sqlerrm, 'pck$fill_error_devices.p_update_zone');
END;
PROCEDURE p_lock_devices( resultset IN OUT devtab) IS
BEGIN
null;
END; -
JDBC adapter Stored Procedure error: parameter was not supplied
I am trying to call a Stored Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' in our SQL Server database.
XI 3.0 Sp13
Jdbc Url: jdbc:microsoft:sqlserver://161.241.255.91:1433;databaseName=FusionDB;SelectMethod=Cursor
I am getting following error:
beging of error-----
Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' (structure 'Statement1'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' expects parameter '@control_no', which was not supplied.
End of error-----
I have defined the field "control_no" in the interface defenition but I am not sure what causing this error, error message is mis-leading.
Please let me know if you have any hints/comments?
thanks,
Laxman moluguHi Laxman,
maybe you have checked this already...from the following help link....DECIMAL might be something you might want to try out....
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
<i>action=EXECUTE
Statements with this action result in a stored procedure being executed. The name of the element is interpreted as the name of the stored procedure in the database. If you use the optional <table> element, the value specified here is used as the stored procedure name. This enables you, for example, to define stored procedure names containing non-XML-compatible characters or characters that prevent them from being used in interface definitions in the Integration Builder/PCK. If specified, <table> must be the first element in the block within <dbTableName>.
The elements within the stored procedure are interpreted as parameters. They can optionally have the attribute isInput=1 (input parameter) or isOutput=1 (output parameter) or both (INOUT parameter). If both attributes are missing, the element is interpreted as an input parameter. The parameter names must be identical to those of the stored procedure definition.
The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).
The following SQL data types are supported:
INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).</i> -
SOAP Sender to JDBC Receiver via PCK Scenario
Hello all,
I have the following scenario:
an external program is calling my XI system which has a webservice enabled as a SOAP sender communication channel.
now, i need to pass the input over to a remote system with PCK installed on it which needs to execute a stored procedure on an oracle database via the jdbc adapter.
The jdbc adapter is deployed and working well on the PCK engine.
When I pass an xml message over to the Webservice, its also OK (in the adapter monitoring).
my question is - how can i pass the input parameters from the WS over to the PCK and then over to the JDBC adapter to execute the Stored procedure (which only writes the data).
I saw that the data type and message types of the message going to the JDBC need to be in special format including the name of the SP, action=execute and all the parameters with attribute type=datatype.
all of that is done already.
However, i still do not understand where/how does the PCK get the message and invokes the JDBC adapter for processing.
Many thanks for you help!!!Hi Natti,
Check these..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6f83d790-0201-0010-629d-ab5bf10c94e4
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3f9fc190-0201-0010-0cbd-87f50e404d91
cheers,
Prashanth
P.S Please mark helpful answers -
I am trying to test sample adapter in PCK Server (Scenario PCK -Sender to PCK-Receiver, cc - sample Adapter). I configured scenario per help.sap.com. in CC Monitoring, it shows as it is functioning and in green legend. Even though I configured sender agreement and receiver agreement, it is not picking file and not doing anything.
I configured NWA with relevenat config (authorization of user, isconfig url, internal, user, password etc ) as per help.sap.,com.
Did any one come across this issue? I appreciate your help.
NOTE: you will get double points for right answer, with my subscription
Thanks,
Ravi Appala
919 386 0221May be some basic check can help:
1) file location and filename(alongwith extension) are maintained properly in the channel
2) if possible use the IP address of the file server from where the file is to be picked up.
3) In case of XI/ PI when such a thing happens, it is blamed on the adapter being locked. If the adapter is locked it will just show message in CC monitoring like processing started (something similar), however in reality the channel is not able to pick the file because the adapter is locked...check if it is the issue for you...not sure if the procedure to check for adapter is the same for PCK and XI/ PI....it is done through Visual Admin in 7.0 and in NWA for 7.1
Regards,
Abhishek. -
Hi,
While creating action in Guided Procedure i am getting error.
i am using Sneak preview version 9.
the error is
com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to get Related Model Object for the object ontoBrowser, relation UsedComponent.
at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:640)
at com.sap.tc.webdynpro.progmodel.repository.IWDComponentUsageInfo$Implementation.getUsedComponentInternal(IWDComponentUsageInfo.java:216)
Can any one help me out..
Regards,
sekhar.c
Message was edited by:
sekhar chebroluHi Sekhar,
Redeploy the SCA SAP-EU (if redeployment does not help undeploy and deploy again) components:
caf/eu/gp/ui/dt/comp/cons,
caf/eu/gp/ui/dt/comp and
caf/eu/gp/ui/actions from software component SAP-EU
Thanks
Som -
Signatures in Guided Procedures
Hello,
what is the best practise to integrate signatures in a workflow with guided procedures? There are any tutorials?
Regards
RomanHi Sekhar,
Redeploy the SCA SAP-EU (if redeployment does not help undeploy and deploy again) components:
caf/eu/gp/ui/dt/comp/cons,
caf/eu/gp/ui/dt/comp and
caf/eu/gp/ui/actions from software component SAP-EU
Thanks
Som -
PLN PCK No in BAPI for service entry
Hi,
I am creating service entries via BAPI_ENTRYSHEET_CREATE for planned services.
If I am using one PO line item then I am able to create service entries with proper PLN_PCK number and all.
But if I use mutliple line items in PO(not sublines) then PLN PCK number are not correct and I am getting message 'buffer table not upto date' in the service entry.
Anybody who has done this please help me.
Thanks.
Edited by: PS on May 24, 2010 11:38 PMhi,
have you used the commit function too in se37, then only the values get updated.
se37- bapi_entrysheet_create
select header-- function module---> test sequence.
here you enter the two function modules -Bapi_entrysheet_create,bapi_transaction_commit.
do the same procedure as followed by you before in addition to this.
REgards,
velu -
Check the date of last modified procedure
Hi,
could you please tell me how to check last modified function or procedure.
for example: INVO_75.PCK.PrintInvoices_fct
Thanks in advance.891933 wrote:
could you please tell me how to check last modified function or procedure.Well, depends on what you mean by modified. In any case, use LAST_DDL_TIME column in DBA/ALL/USER_OBJECTS:
SQL> create or replace
2 procedure p1
3 is
4 begin
5 null;
6 end;
7 /
Procedure created.
SQL> select to_char(created,'mm/dd/yyyy hh24:mi:ss'),
2 to_char(last_ddl_time,'mm/dd/yyyy hh24:mi:ss')
3 from user_objects
4 where object_name = 'P1'
5 /
TO_CHAR(CREATED,'MM TO_CHAR(LAST_DDL_TI
10/17/2012 10:55:57 10/17/2012 10:55:57
SQL> create or replace
2 procedure p1
3 is
4 begin
5 null;
6 end;
7 /
Procedure created.
SQL> select to_char(created,'mm/dd/yyyy hh24:mi:ss'),
2 to_char(last_ddl_time,'mm/dd/yyyy hh24:mi:ss')
3 from user_objects
4 where object_name = 'P1'
5 /
TO_CHAR(CREATED,'MM TO_CHAR(LAST_DDL_TI
10/17/2012 10:55:57 10/17/2012 10:55:57
SQL> create or replace
2 procedure p1
3 is
4 begin
5 null;
6 end;
7 /
Procedure created.
SQL> select to_char(created,'mm/dd/yyyy hh24:mi:ss'),
2 to_char(last_ddl_time,'mm/dd/yyyy hh24:mi:ss')
3 from user_objects
4 where object_name = 'P1'
5 /
TO_CHAR(CREATED,'MM TO_CHAR(LAST_DDL_TI
10/17/2012 10:55:57 10/17/2012 10:56:28
SQL> Keep in mind, LAST_DDL_TIME didn't change when I issued CREATE OR REPLACE without any actual changes in procedure body. And, by actual changes I mean at least one character in procedure body is different from original. In the above example the only difference is there are no spaces in line
null;SY. -
Procedure / function highlighter
I would loved to have this features in SQl developer.Or if it is already present can some one please highlight it
1)Does SQL developer highlight the proc /function name of the current line in a package ,EX: In a package called pck if there are 10 procedures and i am in some x line number ,Does sql developer show this line belongs to proc1 , proc2 etc?..its extremly helpful when we read through a big package body to know the current proc i am in.
2)on placing the cursor on the variable name ,will sql developer show all its usage in the code by highlighting the variable in all occurance.
Regards
AmarnathNo - neither one of those is available.
-
[PCK] Install test version
Hey,
I installed SAPNW2004sJavaSP9_Trial on my local PC. Now I want to
test the PCK to connect to our SAP XI on a central server.
Is it possible to download a PCK trial version? I can't find anything on
service.sap.com.
greets
chrishi,
have a look at installation procedure
(you can deploy on java WAS) :
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4256 [original link is broken]
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Maybe you are looking for
-
Delivery date in Third party sales order
Hi, If a sales order is created on 15th of October with TAS item category, system is proposing the delivery date as 22nd October. PR was released on 20th of Oct after backward scheduling and the plnd delivey time is 1 and GR time is 1 and the 18 & 19
-
Access the adobe form pdf data in abap or java programs
Hi, We created an adobe form, with few text boxes, and emailed to user for filing his data into the pdf file. He filled the text boxes and saved the pdf, and sent back the pdf file by mail. Now our requirement is: we need to read the values entered b
-
Hello, I'm trying to scan a document to send to my email and I get the Server Connection Error message. I've tried several possible solutions that I saw online but nothing has worked. I've also added the Scan to Email app and it gives me the same m
-
How to Fix Photoshop CS5 Install Issues
To find the Complete installer log which can be found at <drive>\Program Files\Common Files\Adobe\Installer ---> if you are on 32 bit else at <drive>\Program Files (x86)\Common Files\Adobe\Installers ---> If you are on 64 bit Then go to th
-
Quicktime Export Audio greyed out
I have QT Pro. When I try to export a movie in any format the audio is always greyed out and I can't switch it on. I tried with different files from different sources and it always the same case. What is wrong with my Quicktime? How can I fix it plea