Display "View Status" link by executing the package in custom menu
Hello All,
I have an EMenu statement (MNU_eDATA_SELECTPACKAGE) to run a package from the custom menu. But once I execute it, I would like to display the view status link similiar to E-data -> view status. Is this feasible?
Or Is it feasible to display a message after a successful package execution?
Thanks.
Hi,
You can use "MNU_eDATA_VIEWSTATUS" for this purpose.
Hope this helps.
Similar Messages
-
Error with Project Parameters when executing the package with dtexec command
Hi,
We have started migrating our SSIS package from 2005 version to SSIS 2012. In SSIS 2005 we were using XML configuration files and executing the packages with dtexec command from the packages folder (without deploying packages to filesystem).
Now in SSIS 2012, we have seen Project Parameters and created couple of package parameters and used those parameters in the package. when executing this package from solution explorer it was working fine but when i try to execute the same package from command
line with Dtexec command, it was showing an error message of 'Not able to map Project Prameters to configurations'.
Could you please give me an idea of how to execute the packages from command line by using dtexex command. basically i would like use project parameters in 2012 similar to configurations?
Thanks,
Venu.Refer
http://msdn.microsoft.com/en-IN/library/hh231187.aspx
you can pass parameter like this
/SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to execute the packaged procedure(having out param) in TOAD for Oracle
Hi.
Could you help me
How to execute the packaged procedure having out parameters in TOAD for Oralce..
Thanks..Use anonymous PL/SQL block to execute it.
Example.
DECLARE
<out variable name> <out variable data type>;
BEGIN
<package name>.<procedure name>(<out variable name>);
END; -
How to execute the package generated from Warehousebuilder ??
Hi,
I am very new to OWB, i have created the mapping and i want to write a oracle job to run the mapping, Can i explicitly execute the Package generated by passing the parameters required,
I have actually created like following,
DECLARE
p_status VARCHAR2 (200);
p_deptno NUMBER;
p_max_no_of_errors VARCHAR2 (200);
p_commit_frequency VARCHAR2 (200);
p_operating_mode VARCHAR2 (200);
p_bulk_size VARCHAR2 (200);
p_audit_level VARCHAR2 (200);
p_purge_group VARCHAR2 (200);
BEGIN
p_deptno := 10;
p_max_no_of_errors := NULL;
p_commit_frequency := NULL;
p_operating_mode := NULL;
p_bulk_size := NULL;
p_audit_level := NULL;
p_purge_group := NULL;
map_filter_parameter.main (p_status => p_status,
p_deptno => p_deptno,
p_max_no_of_errors => p_max_no_of_errors,
p_commit_frequency => p_commit_frequency,
p_operating_mode => p_operating_mode,
p_bulk_size => p_bulk_size,
p_audit_level => p_audit_level,
p_purge_group => p_purge_group
DBMS_OUTPUT.put_line ('P_STATUS = ' || p_status);
END;
I am actually following error,
Line: ----
Connecting to the database bl.
ORA-20013: The workspace has not been set. Please call wb_workspace_management.set_workspace procedure to set workspace first.
ORA-06512: at "OWBSYS.WB_WORKSPACE_MANAGEMENT", line 1356
ORA-06512: at "OWBSYS.WB_WORKSPACE_MANAGEMENT", line 1387
ORA-06512: at "OWBSYS.WB_RTI_UTIL", line 102
ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1020
ORA-06512: at "BL.MAP_FILTER_PARAMETER", line 2798
ORA-06512: at line 19
Process exited.
Disconnecting from the database bl.
I am not able to connect OWBSYS to see whats going on with OWBSYS.WB_WORKSPACE_MANAGEMENT as well.
Please suggest
Regards,
Ashoka BLHi Nawneet,
I tried like the following and getting the results,I searched in the forum to do this,
DECLARE
p_status VARCHAR2 (200);
p_deptno NUMBER;
p_max_no_of_errors VARCHAR2 (200);
p_commit_frequency VARCHAR2 (200);
p_operating_mode VARCHAR2 (200);
p_bulk_size VARCHAR2 (200);
p_audit_level VARCHAR2 (200);
p_purge_group VARCHAR2 (200);
BEGIN
p_deptno := 20;
p_max_no_of_errors := NULL;
p_commit_frequency := NULL;
p_operating_mode := NULL;
p_bulk_size := NULL;
p_audit_level := NULL;
p_purge_group := NULL;
owbsys.wb_workspace_management.set_workspace('ASHOK_WORKSPACE','ASHOK_BL');
map_filter_parameter.main (p_status => p_status,
p_deptno => p_deptno,
p_max_no_of_errors => p_max_no_of_errors,
p_commit_frequency => p_commit_frequency,
p_operating_mode => p_operating_mode,
p_bulk_size => p_bulk_size,
p_audit_level => p_audit_level,
p_purge_group => p_purge_group
DBMS_OUTPUT.put_line ('P_STATUS = ' || p_status);
END;
Do you please let me know what are these,
'PLSQLMAP','CUSTOMER_MAP' == WorkSpace_Name and User_Name ??
Regards,
Ashoka BL
Edited by: user7348859 on May 26, 2009 5:07 AM -
Data conversion Issue while executing the package
I am executing a package for which the source is XML and destination is SQL server. I have created the package by using xsd and xml as source. When I am trying to execute the package I am getting the below error.
Any help here would be appreciated.
-kccrga http://dbatrend.blogspot.com.au/The error is obvious. The datatypes of source and destination table solumns dont match. Please change datatypes of your sqlserver table to correspond to those coming from the XML as given by error message above.
Alternatively apply derived column task after XML source to convert datatype of columns to be same as that of your table assuming you'll have only compatible data values coming from source.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to execute the package in odi
hi
i have a 3 interfaces.i have to put it in package and execute this package.but problem is that it is executing in a infinite loop.
so how to execute these 3 interfaces serielly in package.(without in a loop)If you want to execute your 3 interfaces one by one you just have to define a First Step (Right click "First Step")
And then to link the first interface with the second one with the Green arrow, and the 2nd one with the third with another green arrow...
If after that you link the 3rd with the first it will loop...
So avoid this.
Regards,
Brice -
SQL loader and executing the package
Hi all,
I am trying to load the data from flatfile and execute a package from .cmd / .bat file.
here is the script zip_load.cmd
sqlldr CONTROL=zip.ctl LOG=zip.log DISCARD=Zip.dsc BAD=Zip.bad userid=scott/tiger@mydb
sqlplus scott/tiger@mydb
--sqlplusw scott/tiger@mydb
EXEC pkg_zip_log.prc_zip_log ('zip_load', NULL, 'address', 'begin', 'begin prc_zip');
commit;
EXEC pkg_zip_load.prc_zip_maint;
pkg_zip_log.prc_zip_log ('zip_load', NULL, 'address', 'end', 'begin prc_zip');
commit;
exit;
The above script stopping after loading the data and logging to database from sqlplus.
sqlldr CONTROL=zip.ctl LOG=zip.log DISCARD=Zip.dsc BAD=Zip.bad userid=scott/tiger@mydb
sqlplus scott/tiger@mydb
It's executing the above 2 statments and stopping at
SQL prompt SQL>
Could you guys let me know the fix for executing the all statments in one step.
Thanks in adv.
byeIt happens because SQL+ doesn't know anything about the rows after the connect string. It's just waiting for your input. Here is an example how to make it work.
I've created test package:
create or replace package body test
as
procedure p1
as
begin
dbms_output.put_line('Hello!');
end;
end;
Then on my Unix machine I created a file test.sh:
sqlplus scott/tiger@prod << EOF
set serveroutput on
exec test.p1
quit
EOF
When I run it from command line:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Oracle Data Mining option
JServer Release 9.2.0.1.0 - Production
SQL> SQL> Hello!
SQL> Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Oracle Data Mining option
JServer Release 9.2.0.1.0 - Production
Voila! -
How to execute the packaged procedure
Hello i've written the following package: It's created fine but while running that procedure i'm getting the following error
create or replace package ttt_example as
TYPE ColumnsInfo IS RECORD (
columnName VARCHAR2 (30),
dataType VARCHAR2 (30)
TYPE ColumnsInfoList IS TABLE OF ColumnsInfo;
FUNCTION getColumns (
schemaName VARCHAR2,
tableName VARCHAR2
RETURN ColumnsInfoList;
PROCEDURE fillTable (
schemaName VARCHAR2,
tableName VARCHAR2
end;
create or replace package body ttt_example is
PROCEDURE fillTable (
schemaName VARCHAR2,
tableName VARCHAR2
) IS
i NUMBER;
columnsList ColumnsInfoList;
columnsStr VARCHAR2 (4000);
valList VARCHAR2 (4000) := NULL;
insertTime VARCHAR2 (100);
BEGIN
DBMS_OUTPUT.PUT_LINE ('fillTable - BEGIN');
columnsList := getColumns (schemaName, tableName);
i := columnsList.FIRST;
IF i IS NOT NULL THEN
columnsStr := columnsList (i).columnName;
i := columnsList.NEXT (i);
END IF;
WHILE i IS NOT NULL LOOP
columnsStr := columnsStr || ', ' || columnsList (i).columnName;
i := columnsList.NEXT (i);
END LOOP;
i := columnsList.FIRST;
WHILE i IS NOT NULL LOOP
IF i != columnsList.LAST THEN
IF columnsList (i).dataType = 'NUMBER' THEN
valList := valList || i || ', ';
ELSIF columnsList (i).dataType = 'VARCHAR2' THEN
valList := valList || '''' || i || '''' || ', ';
ELSIF columnsList (i).dataType = 'DATE' THEN
--EXECUTE IMMEDIATE 'SELECT TO_CHAR(SYSTIMESTAMP) FROM dual' INTO insertTime;
--valList := valList ||''''|| insertTime||''''|| ', ';
valList := valList || 'SYSDATE, ';
ELSE
DBMS_OUTPUT.PUT_LINE ('WRONG DATA TYPE ' || columnsList (i).dataType);
END IF;
ELSE
IF columnsList (i).dataType = 'NUMBER' THEN
valList := valList || i;
ELSIF columnsList (i).dataType = 'VARCHAR2' THEN
valList := valList || '''' || i || '''';
ELSIF columnsList (i).dataType = 'DATE' THEN
--EXECUTE IMMEDIATE 'SELECT TO_CHAR(SYSTIMESTAMP) FROM dual' INTO insertTime;
--valList := valList ||''''|| insertTime||'''';
valList := valList || 'SYSDATE';
ELSE
DBMS_OUTPUT.PUT_LINE ('WRONG DATA TYPE ' || columnsList (i).dataType);
END IF;
END IF;
i := columnsList.NEXT (i);
END LOOP;
DBMS_OUTPUT.PUT_LINE ('fillTable - MIDDLE');
EXECUTE IMMEDIATE 'INSERT INTO ' || tableName || '(' || columnsStr || ') VALUES (' || valList || ')';
DBMS_OUTPUT.PUT_LINE ('fillTable - END');
END;
FUNCTION getColumns (
schemaName VARCHAR2,
tableName VARCHAR2
RETURN ColumnsInfoList IS
columnsList ColumnsInfoList;
BEGIN
DBMS_OUTPUT.PUT_LINE ('getColumns - BEGIN');
EXECUTE IMMEDIATE 'SELECT COLUMN_NAME, DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER = ''' || schemaName || ''' AND TABLE_NAME = ''' || tableName || ''''
BULK COLLECT INTO columnsList;
DBMS_OUTPUT.PUT_LINE ('getColumns - END');
RETURN columnsList;
EXCEPTION
WHEN OTHERS THEN
RAISE;
END;
end;
/ While executing that package procedure
SQL> begin
2 ttt_example.fillTable('TEST','EMPE');
3 end;
4 /
begin
ERROR at line 1:
ORA-00928: missing SELECT keyword
ORA-06512: at "ttt.TTT_EXAMPLE", line 60
ORA-06512: at line 2help me in thisI was able to reproduce with NULL for columnstr;
create table t (c1 varchar2(20), c2 varchar2(20));
Table created
create or replace procedure p
tablename varchar2,
columnsstr varchar2,
vallist varchar2
) is
begin
execute immediate 'INSERT INTO ' || tablename || '(' || columnsstr ||
') VALUES (' || vallist || ')';
end;
Procedure created
exec p('t', 'c1,c2', '''a'',''b''');
PL/SQL procedure successfully completed
select * from t;
C1 C2
a b
exec p('t', '', '''a'',''b''');
begin p('t', '', '''a'',''b'''); end;
ORA-00928: missing SELECT keyword
ORA-06512: at "MSCALLION.P", line 8
ORA-06512: at line 2 -
Problem while executing the package
Hi Guys,
I am getting the problem while executin the package for 1 of the interface named PRE_SYNC_EX_ARMY_VEH_DEL.
The source tables are EX_ARMY_VEH_TMP and CONTROL_DEL & target table is CONTROL_DEL
All the three tables are in the same schema named RTO_STAGE.
I am looking in the operator as at the first session is in the process(running mode) with "DROP FLOW TABLE" as the message while all other sessions are in the waiting mode related to that interface PRE_SYNC_EX_ARMY_VEH_DEL.The previous interface before it ie PRE_SYNC_AXLE_DEL & PRE_SYNC_AXLE_DELNR is running okk(with all succesful session).
**In one statement I can summerize that execution of package is halting/stopped at one interface & not showing error in operator(showing running)**
what would be the problem?
Thanx
Edited by: user8849294 on Mar 1, 2010 10:17 PM
Edited by: user8849294 on Mar 2, 2010 9:36 PM
Edited by: user8849294 on Mar 2, 2010 9:43 PMHi,
You didn't mention the exact error.
Did you check if your interface succeeds outside the Package?
If yes, have you included any odiFileWait event which's why other tasks are kept in Wait mode?
In any case, if there's an error, the task with the red-colored icon shows the one with problem. Double-click it & go to the Execution tab to get the exact error -
Calling multi application packages in custom menu
Hi,
I am trying to open a data management and custom package in a custom menu for different applications. My custom menu is set for application A and the custom package is in application B. Is there a way to call this package without changing the CV of the custom menu?
Thanks!Thanks Raman,
I meant to ask if there is a way to specify the application name in the EV_DEFAULT tab of the custom menu. Normally I use MNU_eData_DataUPLoad or MNU_eDATA_SELECTPACKAGE for defining packages but this calls only the packages from the current view application. I am looking for a way to specify other applications also in the custom menu without changing the package itself.
Thanks! -
Right Parameters for running a package in custom menu
Hi Expert,
In one of my project I am creating custom menu where I need to define various macros.I am getting error in one of the VBA code that is as follow:-
Sub Step3_RunAlloc_Click()
Application.Run "MNU_eDATA_SELECTPACKAGE", "Rent Allocation", "ZBPC_RENT_ALLOC", "Company",
"Financial Processes"
End Sub
This code in giving error.Can anyone please suggest the solution and tell me what is the right parameters.I am working in SAP BPC 7.0 M.
Thanks in Advance.
Regards,
PrakashHi,
Please find below the example from the BPC Help.
Syntax for this command is MNU_eDATA_SELECTPACKAGE(ackage name>, <package file path>, <teamname>, <package group>)
For only this menu command, the parameters are part of the MacroName so you must leave the Parameter section blank. For example, if you have MNU_eData_SelectPackage(""import"",""examples/import.dts"",""HQ"") in cell A1, FX Restatement in cell A2, your EvMNU function would be: EvMNU(A1,A2,).
Can you please let me know what the error message you received?
Best regards,
Mihaela -
Can not able to save the data while executing the package/procedure
Hi,
I created one package and schedule this in JOB, job is running successfully but data is not inserting in table,
CREATE OR REPLACE package body LST_RPT as
procedure gender_proc(gender varchar2) is
begin
insert into gender_count
select * from mag_hotline_gender;
end;
end LST_RPT;
after that I am executing this
exec MSREUL.MKE_LST_RPT.gender_proc('M');
but it is not saving the data
can anybody suggest where I am doiing mistakeHi Arun,
Thanks for the suggestion.
I checked my table structure, gender_count was GTT(global temporary table), Now I changed the structure package is executing sucessfully and able to commit the data
exec MKE_LST_RPT.gender_proc('M');
commit;
can you plz help on another point I want to schedule this package on job means it runs on every day and commit automatically, I am using TOAD but unable to create job can you plz help on this issue. -
Web link to pass the parameter to custom web app then update the field
Hi,
I have created the web link in service request object to refer Account Object. I want to let user able to select the account from web link then base on the current SR no and account that have created update the record in CRMOD. My question is how to pass the parameter out to my external web app so that they can update my SR correctly?
Thank youHi Messer,
I have put in the syntax as below :-
https://secure-ausomxega.crmondemand.com/OnDemand/user/AssocAccountPopup?mapBC=Service+Request&OACTRL=Account&ophi=PopupNewForm.Account+Id&pfid=PopupNewForm&OMTHD=AssocPopup&OMTGT=PopupSearchList&assocInit=Y&opht=4&OAOBJ=Service+Request&mapField=Account&ophd=PopupNewForm.Account&ophpd=3&disableclear=Y&ophr=AssocAccountPopup&assocval=&ParentType=Edit
This pop up screen wil let the user to select the account then i will pass the account and the SR to external web app to update back the CRMOD. I am not too sure the above syntax is correct or maybe can you give some example.
I am new in CRMOD, hope that you can advice on this.
Thank you,
SK -
When I click on a link in Thunderbird to open a web page, and Firefox is not already open, I want to have the user profile screen presented so that I can select which profile to use for the Firefox session. Instead, it opens the last used profile. Is there a way to do this?
That is is always a problem when you are using multiple profiles and Firefox isn't running.
It might work if no profile is selected (i.e. marked as Default=1 in profiles.ini).<br />
You can use desktop shortcut that open with a specific profile (-P "profile").<br />
There is also a setting in the Profile Manager (Don't ask at startup). -
Error while trying to Execute the Query with Customer Exit
Hi Experts,
I am having a Query with Customer Exit, it is working fine for all the Employess, except for one. When i try to remove the Customer Exit it is working for her too. Below is the error i am getting.
system error in program SAPLLRK0 and form RSRDR; CHECK_NAV_INIT_BACK
Thanks,
Kris.Hello Kris,
Are you working with multiprovider? Please check if OSS notes 813454,840080 or 578948 are applicable in your case.
Regards,
Praveen
Maybe you are looking for
-
Unable to connect DV6t-7000 to TV
Have been trying to connect my laptop Pasvillion DV6t-7000 to a TV to watch in big screen. I have followed the instructions found, but cannot connect the TV.
-
Podcast problem -- "difficulty downloading episodes from your feed"
I've entered the URL " http://feeds.feedburner.com/MirrorOfIntimacy " and keep getting an error message "We had difficulty downloading episodes from your feed." I read through other discussions, and changed the URL in Tumblr from https to http, but I
-
Installing problems with itunes
I am having problems with installing itunes+quicktime on to my laptop. Quicktime is already present in my laptop and it doesn't uninstall, which is preventing itunes+quicktime to install. Any help and advice on how to sort this problem will be really
-
Can you use full cover tempered glass with spigen case
i got a spigen neo hybrid case for my iphone 6...4.7....and LOVE IT. however the tempered glass screen protector ALSO from spigen doesn't cover all the screen. i didn't realize it was made this way until AFTER application. it allows dirt and such
-
I upgrade to I Tunes version 11.0 (163) today and since this «upgrade» when I connected my I Pod (4th generation) I tunes open, the screen sayind conected on my I pod is on but my I pod will not synchronysed neither will it appear on the bar or the