Grouping Packages for Execution
I have created several packages that are single process focused and would like to execute each in a specfic order. How do I do this? I tried creating a package to process the packages, but that is not allowed.
Do I have to create one hugh package to process everything? I would like to execute package1 then package2, etc. I want to reuse these packages for other processes.
Any help would be appreciated. I'm new to ODI, currently converting HAL Integrations to ODI.
Thanks, Mike
YOU can use scenarios instead.
in a package you can do something like
scen1-->scen2-->scen3...
where scen1 is scenario created from package 1..etc..
hope this helps
Thanks
Venkat
Similar Messages
-
Generated RoboHelp Packager for Adobe Air Errors
Generated RH 8 to AIR 2 help yesterday and it is working. Now I want to package the AIR file
for deployment using the RoboHelp Packager for Adobe AIR utility. My Finish Dialog box displays" The Adobe AIR package was not generated".
The 1st grouping of errors are: Error(DirAssist&GreenPub_Icon.Bmp): The file names should not contain '&'.
I had taken the '&' out of the .bmp name before generating the file.
2nd grouping of errors are: Warning (Acct_Password_Auth.bmp): Adobe AIR 1.0 cannot render BMP image format in HTML. Hence it is converted to png.
This is fine.
3rd grouping of errors are: Warning (Back_Office_Management\Billing\About_BIlling_Processes.htm): Adobe AIR 1.0 does not support DHTML Effects and Triggers in HTML.
This one worries me. I have DHTML effects all over the help file.
MichelleQuite. RH8 creates the AIR file for you. The packager was for RH7.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Cannot load script for execution.
hi
iam creating the sisi package with in script task . script task was build successful . but when i was executive the ssis packages vs 2012.
it get error :Cannot load script for execution..
the code is
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
using System.IO;
namespace ST_8cdbf584a74b48abb384d8f03cf42f4d.csproj
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
The execution engine calls this method when the task executes.
To access the object model, use the Dts property. Connections, variables, events,
and logging features are available as members of the Dts property as shown in the following examples.
To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
To post a log entry, call Dts.Log("This is my log text", 999, null);
To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
To use the connections collection use something like the following:
ConnectionManager cm = Dts.Connections.Add("OLEDB");
cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
To open Help, press F1.
public void Main()
byte[] dataByte = null; String errInfo = "";
try
String sDirectory = Dts.Variables["User::Directory"].Value.ToString();
String CreatePartitionFileXMLA = sDirectory + "\\partitionssales20010701to20010731.XMLA";
String ProcessPartitionFileXMLA = sDirectory + "\\partitionssales20010701to20010731.XMLA";
// Create XMLA Script
Dts.Variables["User::CreatePartitions"].Value = ReadFile(CreatePartitionFileXMLA, errInfo);
if (errInfo.Length > 0)
Dts.Log("Error while reading XMLA file: " + errInfo, 0, dataByte);
Dts.TaskResult = (int)ScriptResults.Failure;
//Process XMLA Script
Dts.Variables["User::ProcessPartitions"].Value = ReadFile(ProcessPartitionFileXMLA, errInfo);
if (errInfo.Length > 0)
Dts.Log("Error while reading XMLA file: " + errInfo, 0, dataByte);
Dts.TaskResult = (int)ScriptResults.Failure;
Dts.TaskResult = (int)ScriptResults.Success;
catch (Exception ex)
Dts.Log("Error Message: " + ex.Message, 0, dataByte);
Dts.TaskResult = (int)ScriptResults.Failure;
public String ReadFile(String FilePath, String ErrInfo)
String strContents;
StreamReader sReader;
try
sReader = File.OpenText(FilePath);
strContents = sReader.ReadToEnd();
sReader.Close();
return strContents;
catch (Exception e)
MessageBox.Show(ErrInfo);
ErrInfo = e.Message;
return "";
how to solve this issue
pleasse help me..Hi sheshu0022,
Based on my research, the issue can be occurred due to something get corrupted in the script task. To fix this issue, please copy the code in the task, then rebuild the script task with the same code to test again.
The following similar thread is for your reference:
http://stackoverflow.com/questions/15165760/ssis-script-task-fails-on-server-with-error-cannot-load-script-for-execution
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Reports available in the Business Package for MSS and ESS
Hi,
I have searched sdn.sap.com throughout looking for a comprehensive list of reports available in the business packages for both MSS and ESS, i got a little bit of joy and found some of the MSS reports but not all on sdn.sap.com, can anyone please advise where i would find such information on both these packages, just to re-iterate, i am looking for a list of reports these business packages offer? any help much appreciated.
Thanks
John
P.s any documents can be sent to [email protected]@John
(1) ESS- We built our own custom PORTAL role/workset in which one of the worksets we created is called "Tools and Forms". Under that workset, we placed various pages/iViews that either are simple URL iViews that link to external documents and such (like vacation request forms since they do not do online leave requests yet) as well as a couple ot t-code iViews that run reports in ECC for the employee. Nothing very mind blowing there. Just some content creation on the portal side.....oh, and some config on the backend to create a Homepage Framework Area Page and all for it (I liked that part!)
(2) Wow....talk about perfect timing...I just had to document the way MSS sees the MDT reports in it's "reporting" area yesterday! haha Here goes the quick explaination....in configuration for MDT, you have various "scenarios". These kinda determine which "groups" of reports will show in MDT. For MSS for the Reporting webdynpro/service, the scenario is RPT0 (in ECC 5.0, at least). Soooo if you look at the function CODES assigned to RPT0, you will see several for Training and one for Accounting (Cost Centers)...you can reference the function CODES listed back to the "pool"/library of function codes a bit up/previous in the same config area for MDT(I think it is called "Define Function Codes"). However, there is one more piece you will see listed under RPT0....it is a DIRECT call to function MODULE "HR_HIS_READ" (this was a bugger to find because I could not find the "Maternity" report listed in the function codes and had to figure out where the heck it was coming from! haha). Anyways....what the function MODULE actually does is call the HR Information System (HIS) passing it the RPT0/MSS scenario. This returns the particular reports for Employee Data and Time&Attendance. You can see this if you run the HR_HIS_READ function directly and enter RPT0 for the second input value (first and third are not needed or you can just enter "*". Sooooo that is how the "magic" happens. Hope that explained it. From there, you can simply config you own scenario/reports to add into MSS if you like.
Hope this helped! -
IPhoto '09 how to group package photos?
Is there a way in iPhoto ('09, v8.1.2 on my Intel 24" desktop iMac) to somehow "group package" 4 or 5 individual photos so that I can upload this "single" file to, in this case, one of the online photo printing companies to fit their "single photo" card template? I'm trying to put maybe 4 photos side-by-side in a blank 4x8" photo card. The upload wizard allows "one photo" in Shutterfly for this particular card and size and their tech support says I can game this "one photo" upload by "group packaging" my 4 individual JPEG snapshots. Sounds promising, but how do I do this? Put my 4 photos in a folder and upload the folder, or ??
Yes. Export them to a folder on the desktop and: 1 - add the folder to the email or 2 - Control (right) - click on the folder and select Compress "XXXX" from the contestual menu. That will zip the folder and files which can be added to the email. The recipient will have to unzip the file to access the folder and image file.
OT -
Procedure is taking more than 25 hours for execution
Hi,
The below procedure is taking more tahn 25 hours for execution.
The Table CA.CR_L_D is having around 15 crores records.
Please suggest me the valuable tips to reduce the the execution time
CREATE OR REPLACE PROCEDURE NM.L_de_pro
IS
Type W_Bk_1 Is Table of Number Index By Pls_Integer;
Type W_Bk_2 Is Table of W_Bk_1 Index By Pls_Integer;
Type W_Bk_Ct Is Table of W_Bk_2 Index By Pls_Integer;
Type Lo_Ac Is Table of Number Index By Pls_Integer;
Type Lo_Ac_2 Is Table of Lo_Ac Index By Pls_Integer;
Wo_BK_Co W_Bk_Ct;
L_L_Ac Lo_Ac_2;
Begin
Delete From NM.L_WO_C_B;
For Sim in 1..10 Loop
For j in 1..17 Loop
Select /* + FIRST_ROWS */ CS.LAL+CS.LNAL
BULK COLLECT INTO Wo_BK_Co(Sim)(j)
from CA.CR_L_D CS, NM.CR_L_D_PD PD
Where CS.INS = PD.INS_NBR
and PD.C_B_N <> j
and CS.Sc = Sim;
End Loop;
End Loop;
For Sim in 1..10 Loop
For j in 1..17 Loop
L_L_Ac(Sim)(j) := 0;
For i in 1..Wo_BK_Co(Sim)(j).Last Loop
L_L_Ac(Sim)(j) := L_L_Ac(Sim)(j) + Wo_BK_Co(Sim)(j)(i);
End Loop;
--DBMS_Output.Put_Line(L_L_Ac(Sim)(j));
End Loop;
Insert Into NM.L_WO_C_B
(Sc, W_Bk_1, W_Bk_2, WO_Bkt_3, WO_Bkt_4,
WO_Bkt_5, WO_Bkt_6, WO_Bkt_7, WO_Bkt_8, WO_Bkt_9, W_Bk_10, W_Bk_11, W_Bk_12, W_Bk_13,
W_Bk_14, W_Bk_15, W_Bk_16, W_Bk_17)
Select Sim, L_L_Ac(Sim)(1), L_L_Ac(Sim)(2), L_L_Ac(Sim)(3),
L_L_Ac(Sim)(4), L_L_Ac(Sim)(5), L_L_Ac(Sim)(6),
L_L_Ac(Sim)(7), L_L_Ac(Sim)(8), L_L_Ac(Sim)(9),
L_L_Ac(Sim)(10), L_L_Ac(Sim)(11), L_L_Ac(Sim)(12),
L_L_Ac(Sim)(13), L_L_Ac(Sim)(14), L_L_Ac(Sim)(15),
L_L_Ac(Sim)(16), L_L_Ac(Sim)(17) From Dual;
Commit;
End Loop;
End;
/Well...
No guarantees and completely untested as I don't have your tables, data or know what indexes you have on the table or even whether I've understood the purpose of what you are trying to do...
CREATE OR REPLACE PROCEDURE NM.L_de_pro IS
BEGIN
INSERT INTO NM.L_WO_C_B
(Sc
,W_Bk_1
,W_Bk_2
,WO_Bkt_3
,WO_Bkt_4
,WO_Bkt_5
,WO_Bkt_6
,WO_Bkt_7
,WO_Bkt_8
,WO_Bkt_9
,W_Bk_10
,W_Bk_11
,W_Bk_12
,W_Bk_13
,W_Bk_14
,W_Bk_15
,W_Bk_16
,W_Bk_17)
WITH sim AS (select rownum sim from dual connect by rownum <= 10)
,j AS (select rownum j from dual connect by rownum <= 17)
SELECT sim.sim
,SUM(DECODE(j.j,1,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,2,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,3,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,4,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,5,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,6,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,7,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,8,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,9,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,10,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,11,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,12,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,13,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,14,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,15,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,16,SUM(cs.lal + cs.lnal)))
,SUM(DECODE(j.j,17,SUM(cs.lal + cs.lnal)))
FROM CA.CR_L_D CS JOIN NM.CR_L_D_PD PD ON (CS.INS = PD.INS_NBR)
JOIN sim ON (CS.SC = sim.sim)
JOIN j ON (PD.C_B_N != j.j)
GROUP BY sim.sim;
COMMIT;
END;My understanding is that your PL/SQL code was loading a list of numbers (lal + nlal) into a 2D array (effectively making it a 3D array), then processing that array to add up the list of numbers in each location of the 2D array to store in another 2D array and then looping through that array, inserting the records.
Hopefully, I've got the same calculation achieved in just SQL. ;)
Edited by: BluShadow on Oct 3, 2008 9:53 AM
forgot some commas -
Need Business Package for CRM 5.0
Hi,
We are installing EP 7.0 and integrating it to CRM 5.0.Can someone provide us with pointers where I can download the Business Packages for CRM 5.0 and also whether it is Restricted/Unrestricted shipment.Ive searched in SDN under Portal-->Portal Content Portfolio but was unable to locate them Please provide me with inputs where to Download the Business packages.
Thanks in Advance.
Best Regards,
Vijaya Sai.VVijayasai,
there was one step missing ;-):
logon to http://service.sap.com/patches
navigate to
Entry ba Application Group / SAP Application Components / SAP CRM / SAP CRM 5.0 / Entry by Component / Portal Content-PeopleCentricUI
there are the BPs fpr CRM
kr, achim -
RoboHelp Packager for Adobe AIR is GM
RoboHelp Packager for Adobe AIR is GM now and you can
download it now for FREE from Adobe site –
http://www.adobe.com/products/robohelp/robohelp-packager-for-air
Adobe AIR runtime enables applications to deliver both the
benefits of server connectivity and the compelling end user
experience of a desktop application. With a seamless offline-
online experience, end-users of Adobe AIR applications can continue
to work when they are temporarily offline. RoboHelp Packager for
Adobe AIR now enables you to publish in Adobe AIR format. Neither
of the popular help output options - CHM or WebHelp or WebHelp on a
Server provide the array of features as RoboHelp Packager for Adobe
AIR does today. That said, in my opinion, RoboHelp Packager for
Adobe AIR is a beginning, beginning of a new revolution in help
authoring. Here is a list of what you get today
· Auto Update - Adobe AIR applications that can update
themselves when online connection is available and that can work
perfectly when desktop is offline. For example, Adobe AIR help file
created with RoboHelp Packager for Adobe AIR will prompt the
end-users when an update is available. With a single click, the
help file will update itself.
· Get Web 2.0 features - Adobe AIR applications can
store information locally – for example, when you add
comments to Online Help, they are stored locally and can be viewed
after you have closed the application. End users can also comment
on external pages and store the comments as part of help file.
Comments are still available when Online Help has been updated
(provided file names don’t change) or when you are offline.
· Extensibility - Unlike HTML Help which depends on the
CHM viewer, the functionality of the Adobe AIR is extensible and
customizable. For example, organizations can add branding
information to Adobe AIR help file, including icons for help file,
branding imagery on the top of the help file and so on.
· Multiple tab – never before end user experience
- Adobe AIR help file also allows you to open multiple tabs within
the tri-pane enabling multiple help topics and threads to be
navigated at the same time.
· Integrated interface to everything your end users need
- You can also add resource links to your help files –
enabling a single access point for product pages, user forums,
knowledge base, online help and external web pages.
· Multiple templates to choose from - Organizations get
to chose from several of the templates and can select a particular
skin or theme for each of these templates. With RoboHelp Packager
for Adobe AIR, there are three templates come out of the box -
Multi-Tab Accordion, Unipane and Classic Help.
· End user preferences - RoboHelp Packager for Adobe AIR
enables the help users to customize their help by selecting their
preferences (something they can’t do for a CHM or for WebHelp
output – which is not hosted on a Server).
· Cross Platform - Adobe AIR is cross-platform and
cross-browser, supported on Windows, Mac and Linux (currently in
pre-release).
Needless to say, Adobe AIR has attracted a lot of interest
among the help community and some of the experts believe that
within two years, Adobe AIR will be the preferred help format for
40% of all help authors.
If you have not tried it, you can download it now from
http://www.adobe.com/products/robohelp/robohelp-packager-for-air
Thanks and regards
Vivek Jain
Group Product Manager, Adobe Systems
Adobe Technical Communication Suite, FrameMaker and RoboHelp
www.adobe.com/products/technicalcommunicationsuite/
blog-
http://blogs.adobe.com/techcomm/When you are comparing this to Flash, does this comparison
extend to the requirement for each end user to install the Air
runtime on their PCs before they can access our RoboHelp system?
And that they will also get reminders to update to the latest
version of Air runtime? -
RoboHelp Packager for Adobe AIR - Beta 2 Announced
RoboHelp Packager for Adobe AIR is now updated. You can
download the new version for FREE from Adobe labs -
http://labs.adobe.com/technologies/robohelp/.
It has added a long list of novel features - first time for a HATT.
Now, besides multiple tabs, favorites, commenting and multiple
skins like Multi-Tab Accordion and Uni-pane Help, you have another
set of new features.
Designed for End Customers - Adobe AIR based Help templates
have been designed keeping in view the end customer. They have some
high-end navigation features like Mini TOC, Breadcrumbs, etc. Apart
from these capabilities, the new Adobe AIR based Help also empowers
the end customers to customize the Help. An end customer can set
their own preferences and customize Help as desired.
Compelling Rich Branded Experience- RoboHelp Packager for
Adobe AIR provides a compelling rich user experience. It includes
templates that help authors package the same content into three
completely different styles – Multi-Tab Accordion, Uni-Pane
or the Classic Tri-Pane Help. Apart from this it also helps the
Authors brand the Help as per Corporate Branding Guidelines. It
provides support for the addition of a Company Logo and a Punch
line in the main Help window. Apart from this it also provides an
About Box in the Help that details the version, description,
copyrights, logos etc.
Auto Update -Adobe AIR based Help applications provide an
Auto Update feature using which updates can be pushed to all
installed connected versions of Help. Usually, the Help content
bundled with the application is never updated, while the web
content is updated with current feature enhancements and additional
resources. Adobe AIR based Help provides you with the option to
publish updates for your end users at a common server location. The
Adobe AIR based Help is intelligent enough to check for updates and
prompts users to apply updates when it detects a new version is
available.
Review Workflows / Personalization of Help
Adobe AIR based help files can be configured in such a way
that you can add comments to topics and publish those comments at a
common location. This feature enables a complete review workflow,
whether or not the reviewer is a part of your group/organization.
* Reviewers within your network: Reviewers can publish their
comments to an XML file on a shared folder. They can also
synchronize the comments from other reviewers on the same network.
This enable multiple reviewers to simultaneously view the comments
being made by other reviewers as they review.
* Reviewers outside your network: You can send the .air file
to these reviewers who can then export their comments to an XML
file and send it to you. You can import these comments into your
Adobe AIR application.
Apart from the rewire workflow, the feature is designed to
help an end customer personalize Help by adding comments on the
same. These comments will not be uploaded to the server, however
can be exported to a file and shred with friends over email.
New Classic help Template - A new template called Classic
Help has been added. It is named Classic because it is a Tri-Pane
Help. Apart from that it has got all the power of any other Adobe
AIR based Help template. This template has a new feature called
“How do I” that lists all the browse sequences defined
in the WebHelp. We recommend that authors design their browse
sequences in such a way that they provide complete workflow
information to end customers.
Supports Packaging of Merged WebHelp- RoboHelp Packager for
Adobe AIR now supports merged WebHelp. If an author specifies the
WebHelp folder of a Master project, the Packager is intelligent
enough to detect and convert all referenced projects in the Master
Project. However, one needs to be careful while using this feature.
It doesn’t provide as much flexibility as Merged WebHelp. A
new Package needs to be created every time even when you update any
of the sub projects.
In Beta 2, zoom works flawlessly and search results has been
further improved.
If you have not tried the RoboHelp Packager for Adobe AIR,
you can download it now for FREE (Adobe RoboHelp 7 required).
Thanks and regards
Vivek Jain
Group Product Manager, Adobe Systems
Adobe Technical Communication Suite, FrameMaker and RoboHelp
www.adobe.com/products/technicalcommunicationsuite/
blog-
http://blogs.adobe.com/techcomm/
RoboHelp Packager for Adobe AIR-
http://labs.adobe.com/technologies/robohelp/When you are comparing this to Flash, does this comparison
extend to the requirement for each end user to install the Air
runtime on their PCs before they can access our RoboHelp system?
And that they will also get reminders to update to the latest
version of Air runtime? -
Wait for execution to complete
Hello,
I have a simple question about the "wait for execution to complete" option by using new execution:
does the caller wait for the end AFTER executing the Cleanup, or just after the Main sequence?
regards
Solved!
Go to Solution.At the end of Cleanup at the <End Group> tag.
Hope this helps,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~ -
Action had to be described for execution
I am getting a strange error message in the apache error log:
[Fri Jul 13 15:45:07 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwexp_api_engine.action had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
Has anyone seen this?This is all documented in the "Troubleshooting" section. If you are seeing these warnings for Portal, there is nothing much you can do. We will be attempting to address (or reduce) this benign warning in a future version of Portal.
Here is the text for everyone's benefit
B.7 Overhead Problems
While executing some of the Portal stored procedures, mod_plsql is incurring a Describe overhead which results in two extra round trips to the database for a
successful execution. This has performance implications.
B.7.1 The Describe Overhead
In order to execute PL/SQL procedures, mod_plsql needs to know about the data type of the parameters being passed in. Based on this information, mod_plsql
binds each parameter either as an array or as a scalar. One way to know the procedure signature is to describe the procedure before executing it. However, this
approach is not efficient because every procedure has to be described before execution (unless the procedure descriptions are cached).
To avoid the "describe" overhead, mod_plsql looks at the number of parameters passed for each parameter name. It uses this information to assume the datatype of
each variable. The logic is simply, "if there is a single value being passed, then the parameter is a scalar, otherwise it is an array".
This works for most cases but fails if someone tries to pass a single value for an array parameter. Then the PL/SQL procedure execution fails because it binds an
array as a scalar. In such circumstances, mod_plsql issues the Describe call for the procedure and binds each parameter based on the information retrieved from the
describe call, reexecutes the procedure and sends back the results. This happens transparently to the procedure, but internally mod_plsql has encountered two extra
round trips (one for the failed execute and the other for the "Describe" call).
B.7.2 Avoiding the Describe Overhead
You can avoid performance problems by doing the following:
Use Flexible Parameter Passsing.
Always ensure that you pass multiple values for arrays (for single values, you can pass dummy values which will be ignored by your procedure).
Using the following workaround. The workaround defines a two-parameter style procedure which defaults the unused variables.
1.Define a scalar equivalent of your procedure which internally calls the original procedure. For example, if the original package is similar to the following,
create or replace package testpkg as:
TYPE myArrayType is TABLE of VARCHAR2(32767) index by binary_integer;
procedure arrayproc (arr myArrayType);
end testpkg;
2.If you are making URL calls like "/pls/.../testpkg.arrayproc?arr=1", change the specification to be similar to the following:
create or replace package testpkg as
TYPE myArrayType is TABLE of VARCHAR2(32767) index by binary_integer;
procedure arrayproc (arr varchar2);
procedure arrayproc (arr myArrayType);
end testpkg;
3.Create or replace package body testpkg as:
procedure arrayproc (arr varchar2) is
localArr myArrayType;
begin
localArr(1) := arr;
arrayproc (localArr);
end arrayproc;
B.7.3 The Flexible Parameter Passing (four parameter) Overhead
A similar round-trip overhead exists if a PL/SQL procedure is using the older style four parameter interface. The PL/SQL Gateway first tries to execute the
procedure by using the two parameter interface. If this fails, the PL/SQL Gateway tries the four parameter interface. This implies that all four parameter interface
procedures will experience one extra round-trip for execution.
B.7.4 Avoiding the Flexible Parameter Passing Overhead
To avoid this overhead, it is recommended that you write corresponding wrappers which use the two parameter interface and internally call the four parameter
interface procedures. Another option is to change the specification of the original procedure to default the parameters which are not passed in the two parameter
interface. -
Change deployment package for software updates
Hi there
Currently we have different deployment packages and software update groups based on year, product, etc.
In the near future i'd like to rearange our software deployment process in configuration manager 2012:
1x Deployment Package for all updates
1x "Full" Software Update Groups with all updates in it. Additional to that we'll create a "Diff" Software Update Group at the Patchday and merge the updates later via edit membership in the "Full" Software Update Group.
Are the following steps which i would perform correct?
1. Select all updates which are deployed and not expired and not superseeded
2. Create a new Software Update Group "Full"
3. Select the new Software Update Group --> Download --> Create my new deployment package
4. Deploy the new software update group to my collections
5. Delete the obsolete software update groups / deployment package
6. Delete the old updates source folders on our filer.
I current don't know if the redownload process let the updates "forget" the old deployment package. With the above described steps i should get rid of all expired and superseeded updates.
Thanks for any advice :-)
Regards,
SimonThat is correct they only receive and install the updates they require, but don't confuse the metadata and deployments with the updates themselves. They will still receive the metadata and the policies for every update you deploy to them and that's where
the problem lies. Each and every update assigned to a client (using a deployment) has it's own policy which of course must be downloaded by the client and stored in WMI causing the bloat. Note that I haven't experienced this first-hand but am relying on the
accounts of others here in the forums but to me, if there is any chance of this being an issue, I would avoid it.
For Update Groups, just a few categories is sufficient to break things up and I typically do three: workstations, server, office. These are often on different patching schedules anyway so it makes sense to have three separate ADRs for them anyway.
For packages, I typically organize based on the calendar creating a new package every 3-6 months with the package containing all updates. There's really no need to divide the package up by product unless you have DPs dedicated to a specific product. Note
that pre-R2, to change the package an ADR referenced you had to use PowerShell -- it's been added into the GUI in R2 though.
Jason | http://blog.configmgrftw.com -
Can we make one package for Multiple OS Updates
Hi All,
In my environment possess windows Server 2003 and 2012 (newly added 2012), recently we have added 2012 server for our environment so we suppose to push security updates from SCCM.
already we have created one package for Windows updates (for server 2003), if we added 2012 security updates also in to this package it will be impact to other OS ? or it will be deploy to complaint devices only ?
Appreciated if you could resonances to this
Thank you
Fazal
Fazal(MCTS)Hi,
It will only be installed on the computers that macth the detection rule of the update, so yes you can have updates for more than on OS in the Software Update Group / Package
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec -
ERP Package for client deletion
Hi experts,
I have a problem when I do the client deletion using the process type"ERP Package for client deletion".
After the first time execution of deleting the datas of table TD09P_*...,
I received the follows below.
State of sub-activity State Sub-activities
Aborted 5
Completed successfully 10,203
Completed with warning 0
Completed with error 0
Running (In process) 0
Not yet started 0
There are 5 aborted jobs
(TD09P_T313I
TD09P_T313J
TD09P_T313K
TD09P_T313L
TD09P_T313LD).
I checked the logs, which said all these 5 like this:
Message text
Job started
Step 001 started (program /TDM/9_300_90007_02208_C, variant &0000000000007, user ID LEEE03)
Error while reading cluster CNVMBTCLU, Key 0144703489
Job cancelled
I searched in note1175565 and found that it was fixed since I have updated to sp11 already.
Also I tried to re-run the cancelled jobs manually using sm37, the error is like this:
Job started
Step 001 started (program /TDM/9_300_90007_02208_C, variant &0000000000007, user ID LEEE03)
Session ID C1290007000000000010 is not valid
Job cancelled
according to these above, could anyone tell me the reason?
Thanks& Best Regards,
EricHi
I had the exact same issue, and what i have found was that the tool drop all the authorization data and if you had specified a cust profile that handle the RFC authorization then the RFC connection to the receiver system then no longer works.
The way I managed to solve the issue was to change the SAP_TDMS_MASTER role and added in object S_RFCACL with all permissions and generated and activated it.
This allowed the RFC to work again and then you could restart the process from the central system
Regards
Alex Tender -
Program is taking lot of time for execution
Hi all,
TYPES: BEGIN OF TY_MARA,
MATNR TYPE MATNR, " Material Number
ZZBASE_CODE TYPE ZBASE_CODE, " Base Code
END OF TY_MARA,
BEGIN OF TY_MAKT,
MATNR TYPE MATNR, " Material
MAKTX TYPE MAKTX, " Material Description
END OF TY_MAKT,
BEGIN OF TY_MARC,
MATNR TYPE MATNR , " Material Number
WERKS TYPE WERKS_D, " Plant
END OF TY_MARC,
BEGIN OF TY_QMAT,
MATNR TYPE MATNR, " Material Number
ART TYPE QPART, " Inspection Type
END OF TY_QMAT,
BEGIN OF TY_MAPL,
MATNR TYPE MATNR, " Material
PLNTY TYPE PLNTY, " Task List Type
END OF TY_MAPL,
BEGIN OF TY_PLKO,
PLNTY TYPE PLNTY, " Task List Type
VERWE TYPE PLN_VERWE, " Task list usage
END OF TY_PLKO,
BEGIN OF TY_KLAH,
CLASS TYPE KLASSE_D, " Class Number
END OF TY_KLAH,
BEGIN OF TY_FINAL,
MATNR TYPE MATNR, " Material Number
MAKTX TYPE MAKTX, " Material Description
ZZBASE_CODE TYPE ZBASE_CODE, " Base Code
WERKS TYPE WERKS_D, " Plant
CLASS TYPE KLASSE_D, " Class Number
ART TYPE QPART, " Inspection Type
VERWE TYPE PLN_VERWE, " Task list usage
MESSAGE TYPE STRING, " Message
END OF TY_FINAL.
DATA: I_MARA TYPE STANDARD TABLE OF TY_MARA ,
I_MAKT TYPE STANDARD TABLE OF TY_MAKT ,
I_MARC TYPE STANDARD TABLE OF TY_MARC ,
I_QMAT TYPE STANDARD TABLE OF TY_QMAT ,
I_MAPL TYPE STANDARD TABLE OF TY_MAPL ,
I_PLKO TYPE STANDARD TABLE OF TY_PLKO ,
I_KLAH TYPE STANDARD TABLE OF TY_KLAH ,
I_FINAL TYPE STANDARD TABLE OF TY_FINAL ,
WA_MARA TYPE TY_MARA,
WA_MAKT TYPE TY_MAKT,
WA_MARC TYPE TY_MARC,
WA_QMAT TYPE TY_QMAT,
WA_MAPL TYPE TY_MAPL,
WA_PLKO TYPE TY_PLKO,
WA_KLAH TYPE TY_KLAH,
WA_FINAL TYPE TY_FINAL.
DATA: V_MTART TYPE MARA-MTART,
V_MATNR TYPE MARA-MATNR,
V_ZZBASE_CODE TYPE MARA-ZZBASE_CODE,
V_WERKS TYPE T001W-WERKS,
V_BESKZ TYPE MARC-BESKZ.
*selection-screen
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_MTART FOR V_MTART DEFAULT 'halb' TO 'zraw',
S_MATNR FOR V_MATNR,
S_ZZBASE FOR V_ZZBASE_CODE,
S_WERKS FOR V_WERKS OBLIGATORY,
S_BESKZ FOR V_BESKZ.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
SELECT MATNR
ZZBASE_CODE
FROM MARA INTO TABLE I_MARA
WHERE MTART IN S_MTART "Material Type
AND MATNR IN S_MATNR "Material
AND ZZBASE_CODE IN S_ZZBASE."Base Code
IF NOT I_MARA IS INITIAL.
SELECT MATNR
MAKTX
FROM MAKT INTO TABLE I_MAKT FOR ALL ENTRIES IN I_MARA
WHERE MATNR = I_MARA-MATNR.
ENDIF.
IF NOT I_MARA IS INITIAL.
SELECT MATNR
WERKS
FROM MARC INTO TABLE I_MARC FOR ALL ENTRIES IN I_MARA
WHERE MATNR = I_MARA-MATNR
AND WERKS IN S_WERKS "plant
AND BESKZ IN S_BESKZ."Procurement Type
ENDIF.
IF NOT I_MARA IS INITIAL.
SELECT MATNR
ART
FROM QMAT INTO TABLE I_QMAT FOR ALL ENTRIES IN I_MARA
WHERE MATNR = I_MARA-MATNR
AND WERKS IN S_WERKS.
ENDIF.
IF NOT I_MARA IS INITIAL.
SELECT MATNR
PLNTY FROM MAPL INTO TABLE I_MAPL FOR ALL ENTRIES IN I_MARA
WHERE MATNR = I_MARA-MATNR.
ENDIF.
IF NOT I_MAPL IS INITIAL.
SELECT PLNTY
VERWE
FROM PLKO INTO TABLE I_PLKO FOR ALL ENTRIES IN I_MAPL
WHERE PLNTY = I_MAPL-PLNTY.
ENDIF.
LOOP AT I_MARA INTO WA_MARA.
CALL FUNCTION 'CLFC_BATCH_ALLOCATION_TO_CLASS'
EXPORTING
MATERIAL = WA_MARA-MATNR
PLANT = WA_MARC-WERKS
CLASSTYPE = '023'
I_IGNORE_MATMASTER = ' '
I_BATCHES_ONLY =
I_IGNORE_BUFFER = ' '
IMPORTING
CLASSTYPE =
CLASS = WA_KLAH-CLASS
EXCEPTIONS
WRONG_FUNCTION_CALL = 1
NO_CLASS_FOUND = 2
NO_CLASSTYPE_FOUND = 3
OTHERS = 4 .
*IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
APPEND WA_KLAH TO I_KLAH.
ENDLOOP.
LOOP AT I_MARA INTO WA_MARA.
WA_FINAL-MATNR = WA_MARA-MATNR.
WA_FINAL-ZZBASE_CODE = WA_MARA-ZZBASE_CODE.
APPEND WA_FINAL TO I_FINAL.
SORT I_MAKT BY MATNR.
READ TABLE I_MAKT INTO WA_MAKT WITH KEY MATNR = WA_MARA-MATNR BINARY
SEARCH.
IF SY-SUBRC EQ 0.
WA_FINAL-MAKTX = WA_MAKT-MAKTX.
ENDIF.
APPEND WA_FINAL TO I_FINAL.
SORT I_MARC BY MATNR.
READ TABLE I_MARC INTO WA_MARC WITH KEY MATNR = WA_MARA-MATNR BINARY
SEARCH.
IF SY-SUBRC EQ 0.
WA_FINAL-WERKS = WA_MARC-WERKS.
ENDIF.
APPEND WA_FINAL TO I_FINAL.
SORT I_QMAT BY MATNR.
READ TABLE I_QMAT INTO WA_MARC WITH KEY MATNR = WA_MARA-MATNR BINARY
SEARCH.
IF SY-SUBRC EQ 0.
WA_FINAL-ART = WA_QMAT-ART.
ENDIF.
APPEND WA_FINAL TO I_FINAL.
SORT I_MAPL BY MATNR.
READ TABLE I_MAPL INTO WA_MAPL WITH KEY MATNR = WA_MARA-MATNR BINARY
SEARCH.
IF SY-SUBRC EQ 0.
SORT I_PLKO BY PLNTY.
READ TABLE I_PLKO INTO WA_PLKO WITH KEY PLNTY = WA_MAPL-PLNTY BINARY
SEARCH.
ENDIF.
WA_FINAL-VERWE = WA_PLKO-VERWE.
APPEND WA_FINAL TO I_FINAL.
ENDLOOP.
LOOP AT I_KLAH INTO WA_KLAH.
WA_FINAL-CLASS = WA_KLAH-CLASS.
APPEND WA_FINAL TO I_FINAL.
ENDLOOP.
LOOP AT I_FINAL INTO WA_FINAL.
WRITE:/ WA_FINAL-MATNR,
WA_FINAL-MAKTX,
WA_FINAL-ZZBASE_CODE,
WA_FINAL-WERKS,
WA_FINAL-CLASS,
WA_FINAL-ART,
WA_FINAL-VERWE.
ENDLOOP.
This is my program. it is giving out put.but it is taking lot of time for execution. what might be the porblem.pls let me know.
Thanks,Hi Mythily,
Try the following code.
TYPES: BEGIN OF ty_mara,
matnr TYPE matnr, " Material Number
zzbase_code TYPE zbase_code, " Base Code
END OF ty_mara,
BEGIN OF ty_makt,
matnr TYPE matnr, " Material
maktx TYPE maktx, " Material Description
END OF ty_makt,
BEGIN OF ty_marc,
matnr TYPE matnr , " Material Number
werks TYPE werks_d, " Plant
END OF ty_marc,
BEGIN OF ty_qmat,
art TYPE qpart , " Inspection Type
matnr TYPE matnr , " Material Number
werks TYPE werks_d, "Plant
END OF ty_qmat,
BEGIN OF ty_mapl,
matnr TYPE matnr , " Material
werks TYPE werks_d , "Plant
plnty TYPE plnty , " Task List Type
plnnr TYPE plnnr , " Key for Task List Group
plnal TYPE plnal , " Group Counter
zkriz TYPE dzkriz , " Counter for additional criteria
zaehl TYPE cim_count, " Internal counter
END OF ty_mapl,
BEGIN OF ty_plko,
plnty TYPE plnty , " Task List Type
plnnr TYPE plnnr , " Key for Task List Group
plnal TYPE plnal , " Group Counter
zaehl TYPE cim_count, " Internal counter
verwe TYPE pln_verwe, " Task list usage
END OF ty_plko,
BEGIN OF ty_klah,
class TYPE klasse_d, " Class Number
END OF ty_klah,
BEGIN OF ty_final,
matnr TYPE matnr, " Material Number
maktx TYPE maktx, " Material Description
zzbase_code TYPE zbase_code, " Base Code
werks TYPE werks_d, " Plant
class TYPE klasse_d, " Class Number
art TYPE qpart, " Inspection Type
verwe TYPE pln_verwe, " Task list usage
message TYPE string, " Message
END OF ty_final.
DATA: i_mara TYPE STANDARD TABLE OF ty_mara ,
i_makt TYPE HASHED TABLE OF ty_makt
WITH UNIQUE KEY matnr,
i_marc TYPE SORTED TABLE OF ty_marc
WITH NON-UNIQUE KEY matnr,
i_qmat TYPE SORTED TABLE OF ty_qmat
WITH NON-UNIQUE KEY matnr werks,
i_mapl TYPE SORTED TABLE OF ty_mapl
WITH NON-UNIQUE KEY matnr werks,
i_mapl_tmp TYPE STANDARD TABLE OF ty_mapl ,
i_plko TYPE SORTED TABLE OF ty_plko
WITH NON-UNIQUE KEY plnty
plnnr
plnal,
i_final TYPE STANDARD TABLE OF ty_final,
wa_mara TYPE ty_mara,
wa_makt TYPE ty_makt,
wa_marc TYPE ty_marc,
wa_qmat TYPE ty_qmat,
wa_mapl TYPE ty_mapl,
wa_plko TYPE ty_plko,
wa_klah TYPE ty_klah,
wa_final TYPE ty_final.
DATA: v_mtart TYPE mara-mtart,
v_matnr TYPE mara-matnr,
v_zzbase_code TYPE mara-zzbase_code,
v_werks TYPE t001w-werks,
v_beskz TYPE marc-beskz.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_mtart FOR v_mtart DEFAULT 'halb' TO 'zraw',
s_matnr FOR v_matnr,
s_zzbase FOR v_zzbase_code,
s_werks FOR v_werks OBLIGATORY,
s_beskz FOR v_beskz.
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
SELECT matnr
zzbase_code
FROM mara
INTO TABLE i_mara
WHERE mtart IN s_mtart "Material Type
AND matnr IN s_matnr. "Material
AND zzbase_code IN s_zzbase."Base Code
IF NOT i_mara[] IS INITIAL.
SELECT matnr
maktx
FROM makt
INTO TABLE i_makt
FOR ALL ENTRIES IN i_mara
WHERE matnr EQ i_mara-matnr
AND spras EQ sy-langu.
SELECT matnr
werks
FROM marc
INTO TABLE i_marc
FOR ALL ENTRIES IN i_mara
WHERE matnr EQ i_mara-matnr
AND werks IN s_werks "plant
AND beskz IN s_beskz."Procurement Type
IF sy-subrc EQ 0.
SELECT art
matnr
werks
FROM qmat
INTO TABLE i_qmat
FOR ALL ENTRIES IN i_marc
WHERE matnr EQ i_marc-matnr
AND werks EQ i_marc-werks.
SELECT matnr
werks
plnty
plnnr
plnal
zkriz
zaehl
FROM mapl
INTO TABLE i_mapl
FOR ALL ENTRIES IN i_marc
WHERE matnr EQ i_marc-matnr
AND werks EQ i_marc-werks.
IF NOT i_mapl[] IS INITIAL.
i_mapl_tmp[] = i_mapl[].
SORT i_mapl_tmp BY plnty
plnnr
plnal.
DELETE ADJACENT DUPLICATES FROM i_mapl_tmp
COMPARING
plnty
plnnr
plnal.
SELECT plnty
plnnr
plnal
zaehl
verwe
FROM plko
INTO TABLE i_plko
FOR ALL ENTRIES IN i_mapl_tmp
WHERE plnty EQ i_mapl_tmp-plnty
AND plnnr EQ i_mapl_tmp-plnnr
AND plnal EQ i_mapl_tmp-plnal.
ENDIF.
ENDIF.
ENDIF.
LOOP AT i_mara INTO wa_mara.
wa_final-matnr = wa_mara-matnr.
wa_final-zzbase_code = wa_mara-zzbase_code.
READ TABLE i_makt INTO wa_makt
WITH KEY matnr = wa_mara-matnr
TRANSPORTING
maktx.
IF sy-subrc EQ 0.
wa_final-maktx = wa_makt-maktx.
ENDIF.
REFRESH i_final.
LOOP AT i_marc INTO wa_marc
WHERE matnr EQ wa_mara-matnr.
CLEAR wa_klah-class.
CALL FUNCTION 'CLFC_BATCH_ALLOCATION_TO_CLASS'
EXPORTING
material = wa_mara-matnr
plant = wa_marc-werks
classtype = '023'
IMPORTING
class = wa_klah-class
EXCEPTIONS
wrong_function_call = 1
no_class_found = 2
no_classtype_found = 3
OTHERS = 4.
IF sy-subrc EQ 0.
wa_final-class = wa_klah-class.
ENDIF.
READ TABLE i_qmat
WITH KEY matnr = wa_mara-matnr
werks = wa_marc-werks
TRANSPORTING NO FIELDS.
IF sy-subrc EQ 0.
LOOP AT i_qmat INTO wa_qmat
WHERE matnr EQ wa_mara-matnr
AND werks EQ wa_marc-werks.
wa_final-art = wa_qmat-art.
READ TABLE i_mapl
WITH KEY matnr = wa_marc-matnr
werks = wa_marc-werks
TRANSPORTING NO FIELDS.
IF sy-subrc EQ 0.
LOOP AT i_mapl INTO wa_mapl
WHERE matnr EQ wa_marc-matnr
AND werks EQ wa_marc-werks.
LOOP AT i_plko INTO wa_plko
WHERE plnty EQ wa_mapl-plnty
AND plnnr EQ wa_mapl-plnnr
AND plnal EQ wa_mapl-plnal.
wa_final-verwe = wa_plko-verwe.
APPEND wa_final TO i_final.
ENDLOOP.
ENDLOOP.
ELSE.
APPEND wa_final TO i_final.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT i_mapl INTO wa_mapl
WHERE matnr EQ wa_marc-matnr
AND werks EQ wa_marc-werks.
LOOP AT i_plko INTO wa_plko
WHERE plnty EQ wa_mapl-plnty
AND plnnr EQ wa_mapl-plnnr
AND plnal EQ wa_mapl-plnal.
wa_final-verwe = wa_plko-verwe.
APPEND wa_final TO i_final.
ENDLOOP.
ENDLOOP.
ENDIF.
ENDLOOP.
CLEAR wa_final.
ENDLOOP.
LOOP AT i_final INTO wa_final.
WRITE:/ wa_final-matnr ,
wa_final-maktx ,
wa_final-zzbase_code,
wa_final-werks ,
wa_final-class ,
wa_final-art ,
wa_final-verwe .
ENDLOOP.
Maybe you are looking for
-
Is there a tool for viewing Empathy logs?
The new location of Empathy logs seems to be ~/.local/share/TpLogger/logs/<account> These files are formatted as xml and aren't very easy to read. Is there no longer any simple viewer? I thought there had been one as outlined on this page https://he
-
Search criterias in one page, the query results in another page?
Hi, can I put search criterias in one page, and get query results in another page? Need help Thanks in advance karman
-
I have just created an ABE on a SAN device, upgraded it and then booted from it. Its been a long journey, and involved a SR with oracle. I was new to it and am astonished at how hard it has been. Not hard in the sense that anything was over complicat
-
What's impact of changing DSN preferences?
Based upon my inability to update my iPad2 with its latest iOS 5.0.1, I was encouraged to and did change my DSN preferences in system preferences to the two Google ones (8.8.8.8 and 8.8.4.4). I think what I replaced were the original preferences put
-
Cannot reinstall Lion on my iMac
I have tried to no avail to reinstall Lion on my iMac. I had experienced a problem with the "setup assistant" poping up everytime I logged into my account. I decided to reinstall, and went through the proper procedure, booting up and starting the int