Clear Package Using Selection File
I want to have a clear package to not have propmpts and to recieve the selection from the selection file automtically without the user input. In this way I can schedule the clear. How is this done??
Phil
Hello,
IF you are looking into the dynamic script, this is the instruction which is taking the parameters from the user interface:
'prompt for a selection of data to clear
PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",%DIMS%)
In case you want to not use this, you can hardcoded anf fill the %SELECTION% variable with your selection.
This variable is used at the end of dynamic script:
BEGININFO(%SQLDUMP%)
select %FACTDIMS%,0 as SIGNEDDATA
FROM
( SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFACT%APP% WHERE %SELECTION%
UNION ALL
SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFACTWB%APP% WHERE %SELECTION%
UNION ALL
SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFAC2%APP% WHERE %SELECTION%
) as ZeroTable
group by %FACTDIMS% OPTION(MAXDOP 1)
ENDINFO
The format of the variable should be:
"DIM1=value1, DIM2=value2, ..."
Hope this helps you,
Mihaela
Similar Messages
-
How to generate XML file using select files manually option in MOPz
Hi Guru's!
Can someone tell me how can I generate XML file not using the calculate automatically option but using select files manually. thanks!Hi Maix,
You may manually add the files into download basket and then approve it.
Use the SCN document below for the steps.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b14f0c-b9af-2e10-ba83-f05ebcfbc3c2?QuickLink=index&…
Hope this helps.
Regards,
Deepak Kori -
How to Add Multiple Driver Packages Using Reference File via PowerShell
Hey All -
I've got a task I'm working on which would be much easier via PowerShell. I tried figuring it out, but couldn't so thought I'd post.
The Task
I need to create about 50 new, empty driver packages (most are in the same folder in the console) and am trying to find a method of doing so where I may use a source text file / csv file as reference in the command line. Each package has a unique name
and source path. Here are examples:
- Latitude E5440 Win7 x86 [A01] \\server\drivers\5440x86
- Latitude E5440 Win7 x64 [A01] \\server\drivers\5440x64
The Structure
All of the ones I want to add via PowerShell will go into the same folder in the console. They will be in the folder "root\New Drivers\Dell CAB Drivers"
Any ideas or will this just take more time than it's worth for 50? Thanks!
Ben K.Also, the creation of the driver package won't be your biggest challenge, as it's as simple as New-CMDriverPackage (see:
http://technet.microsoft.com/en-us/library/jj821724(v=sc.20).aspx).
The biggest challenge is relating your models to a share name (unless they're all Latitude).
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
When we want to use the applet. we must choose the applet using SELECT file commad. is that any solution that we can auto select the applet and directly transfer apdu command? thank you !!
How do I know if the GP card support this feature? Do I need to contact my vendor or I would only be able to know during runtime or installation? This usually is supported on deployable cards. Not many developer cards support this feature. Because the default applet is protected by the GP, the Issuerer Secure Domain can always set it's applet the default. On developer cards, where the keys are known, the ISD isn't secure, so you can overwrite the default applet.
Is this mean that the last installed applet with default selection will always be the only default selected applet in the card?Think ! How can two applets be default selectable ? How would the JCRE know which one to send the APDU command to if there were two default applets. That defeats the definition of default ! -
Clear Package Taking 2 Hours for 3000 recs - two filters
Hello All,
We are running clear package and selecting 3 filters and rest of them are <all> . It is taking 2 hours. Weu2019ve been told by consultants it is normal and efficient to clear out it at SQL level .
I `m wondering what is the best practice out there, if you all clear out via BPC why clear package taking so long.
Thanks,
SaquibBPC's clear is not real "clear" the data in FACT tables. It is kind of submit opposite value to given intersections to make cell's value to zero. So, sometimes it is taking long time. Based on how big your appliation is.
However, if you do not have reason, take many filters as possbile could help performance. If you put <ALL> to dimension, it is going to calculate all base members of that dimension.
I think most of time in 2 hours is for populating list of base members and calculating current value in SQL server. Appending 3000 records is not taking long time. So, speed of gathering data in SQL server is important for performance. Typical SQL server tunning is always recommened such as IO setup. -
Clear Data package - "The data file is empty." Error
Hi,
When I run the Clear package in Data Manager, I get the error "The data file is empty". We are running BPC 7.5 SP3. There are no calculated members selected. Any suggestions?
Thanks.
TomHi Tom,
If i'm not mistaken when we run the clear data package, BPC inserts -ve values for the combination of dimensions selected.
For ex if you have selected time as 2010.DEC it would reverse out all these values by inserting negative values which would then total up to zero.
So i still think it could be a problem with the Transformation file.
P.S. Maybe you can try using the Clear from Fact table package.
Santosh -
How to load hierrarchies using dtp using flat file in bw ineed clear ste
how to load hierrarchies using dtp using flat file in bw ineed clear steps
Hi,
If you want to load InfoObjects in the form of hierarchies, you have to activate the indicator with hierarchies for each of the relevant InfoObjects in the InfoObject maintenance. If necessary, you need to specify whether the whole hierarchy or the hierarchy structure is to be time-dependent, whether the hierarchy can contain intervals, whether additional node attributes are allowed (only when loading using a PSA), and which characteristics are allowed.
1.Defining the source system from which you want to load data:
Choose Source System Tree ® Root (Source System) ® Context menu (Right Mouse Button) ® Create.
For a flat file, choose: File System, Manual Metadata; Data via File Interface.
2.Defining the InfoSource for which you want to load data:
Optional: Choose InfoSource Tree ®Root (InfoSources) ® Context Menu (Right Mouse Button) ® Create Application Component.
Choose InfoSource Tree ® Your Application Component ® Context Menu (Right Mouse Button) ® Create InfoSource ® Direct Update
Choose an InfoObject from the proposal list, and specify a name and a description.
3.Assigning the source system to the InfoSource
Choose InfoSource tree ® Your Application Component ® One of your InfoSources ® Context Menu (Right Mouse Button) ® Assign Source System. You are taken automatically to the transfer structure maintenance.
The system automatically generates DataSources for the three different data types to which you can load data.
Attributes
Texts
Hierarchies (if the InfoObject has access to hierarchies)
The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
4.Maintaining the transfer structure / transfer rules
Choose the DataSource to be able to upload hierarchies.
Idoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject, for which hierarchies are loaded. With this transfer method, during loading, the structure is converted to the structure of the PSA, which affects performance.
PSA transfer method: The transfer methods and the communication structure are also generated here.
5.Maintaining the hierarchy:
Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields. This option allows you to load characteristic values having a length greater than 32 characters.
Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
Description
Field Name
Length
Type
Node ID
NODEID
8
NUMC
InfoObject name
INFOOBJECT
30
CHAR
Node name
NODENAME
32
CHAR
Catalog ID
LINK
1
CHAR
Parent node
PARENTID
8
NUMC
First subnode
CHILDID
8
NUMC
Next adjacent node
NEXTID
8
NUMC
Language key
LANGU
1
CHAR
Description - short
TXTSH
20
CHAR
Description - medium
TXTMD
40
CHAR
Description- long
TXTLG
60
CHAR
The system transfers the settings for the intervals and for time-dependency from the InfoObject maintenance. Depending on which settings you have defined in the InfoObject maintenance, further table fields can be generated from the system.
The valid from and valid to field is filled if you select Total Hierarchy Time-dependent in the InfoObject maintenance. The time-dependent indicator is activated if you select the Hierarchy Nodes Time-dependent option in the InfoObject maintenance.
6.Save your entries.
Depending on which settings you defined in the InfoObject maintenance, additional fields can be generated from the system. Also note the detailed description for Structure of a Flat Hierarchy File for Loading via an IDoc and for Structure of a Flat Hierarchy File for Loading via a PSA.
Also find the below blog for your reference...
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
You can load hierarchy using process chain...
Find the below step by step procedure to load hierarchy using process chain...
http://help.sap.com/saphelp_nw70/helpdata/EN/3d/320e3d89195c59e10000000a114084/frameset.htm
Assign points if this helps u...
Regards,
KK.
Edited by: koundinya karanam on Apr 8, 2008 1:08 PM
Edited by: koundinya karanam on Apr 8, 2008 1:09 PM -
Clear Package Not Working - Data File is Empty
Hi
I am trying to run a clear package against a precise section of data. However the package keeps erroring and the log file shows me the below:
TOTAL STEPS 3
1. Export_Zero: completed in 1 sec.
2. Load Cube: Failed in 1 sec.
3. Clear: completed in 1 sec.
[Selection]
ENABLETASK= Yes
CHECKLCK= Yes
(Member Selection)
Category: OPM
Time: 2011.P01,2011.P02,2011.P03,2011.P04,2011.P05,2011.P06,2011.P07,2011.P08,2011.P09,2011.P10,2011.P11,2011.P12
Entity: TOT_ENTITY
AccLabour: WEIGHTED_EFF_ALL2
DataSrc: INPUT
Line: FB1
Machine: TOT_PROCESS
Product: NOPRODUCT
WIP: 56088876
[Messages]
The data file is empty. Please check the data file and try again.
I know there is data in this section of the database as I am running a report which looks at the same place and data can be found. From looking at other threads it has been recomended to turn off Data Audit. I've checked this and can confirm that this is switched off for this particular application (in other applications it is swithced on).
Please can someone advise what else I need to do in order to run this clear package successfully.
Thanks,
JamieThanks Roberto
Having just read that thread I see that they mention that they are not clearing from a calculated member. I think the member we have been trying to clear from is a calculated one.
Would a clear from fact table allow us to clear the data against this member? Or would we need to clear the data against the non-calculated members which go into the calculation?
Kind Regards,
Jamie
UPDATE
I've managed to run the clear package, I was trying getting this error because I was running it against calculated members. When I chnaged it to run against the non-calculated members the package ran successfully and cleared the data values.
Thanks for your help
Edited by: jamiet440 on Nov 10, 2011 12:28 PM -
Select File name using routine
I am trying to write a routine in the info package for flat file extractionwhich will select the flat file automatically according to sy-datum ( the flat file is saved with system date). Here is my example code. Please help me in writing a correct code.
program filename_routine.
Global code
$$ begin of global - insert your declaration only below this line -
TABLES:
DATA: str1(60) TYPE c,
str2(10) TYPE c,
str3(10) TYPE c.
str4(100) type c.
str1 = 'C:\Documents and Settings\Yadavalli\Desktop'.
str2 = 'Sy-datum'.
str3 = 'csv'.
$$ end of global - insert your declaration only before this line -
form compute_flat_file_filename
changing p_filename type RSFILENM
p_subrc like sy-subrc.
$$ begin of routine - insert your code only below this line -
concatenate str1 str2 str3 into str4.
p_filename =
CONCATENATE str1 '\' str2 '.' str3 INTO str4.
p_subrc = 0.
$$ end of routine - insert your code only before this line -
endform.
Regards
NagaI thought of using below Function Module but it is not loading the data. It is showing red. Please let me know whether i have mentioned logical_filename correctly.
$$ begin of routine - insert your code only below this line -
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
CLIENT = SY-MANDT
logical_filename = 'C:\'
OPERATING_SYSTEM = SY-OPSYS
PARAMETER_1 = ' '
PARAMETER_2 = ' '
PARAMETER_3 = ' '
USE_PRESENTATION_SERVER = ' '
WITH_FILE_EXTENSION = ' '
USE_BUFFER = ' '
ELEMINATE_BLANKS = 'X'
IMPORTING
EMERGENCY_FLAG =
FILE_FORMAT = 'csv'
FILE_NAME = sy-datum
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Naga -
How to use packages and jar files for applet?
Hi!
My applet takes a class say a.class.
Now this class depends on other classes that are packaged
in a directory and put separately.
I want to put this applet on the web.
So how do I manage the .class files in he package.
I have tried using jar file format.But I was not able to get it working.
Can someone please help me?
ThanksUse Archive instead of codebase:
<APPLET CODE="MyApplet.class" ARCHIVE="MyApplet.jar" WIDTH=400 HEIGHT=300></APPLET> -
How to use utl_ftp package to transfer files from one system to another
Hi all,
How to use utl_ftp package to transfer files from one system to another using plsql procedure .
I failed to find the appropriate document ,kindly help me .
Thanks,
P Prakashprakash wrote:
I am sorry tell you, this blog is not enough to for me.It's not a blog, it's Chris' website where you download the package from. Once you download the package and unrar it, then the package spec gives instructions (and I think there's instructions on how to install it too).
Kindly let me know if there is any oracle documentation for this .It's not an Oracle created package, it was created by Chris. It's based around the UTL_TCP package if you really want to get into the nitty gritty of how it works, but I don't think you do. -
Hi there, I've been trying to deploy one of my AIR apps on the BlackBerry Tablet (PlayBook) Simulator and and have run into a problem packaging the .bar file using the command line. I started this off by reading the article at:
http://www.adobe.com/devnet/devices/articles/blackberry_playbook_battery.html
I followed some of the steps there, but found this article on how to package my files using a command line more helpful (the Adobe article doesn't even explain how to package the .bar file using the command line):
http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Compile-and-Debug-witho ut-Flash-Builder-Using-a-Command-Line/ta-p/628675
Everything was going great until I went to compile my application and received the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: com/qnx/bbt/airpackag
er/BarAirPackager
Caused by: java.lang.ClassNotFoundException: com.qnx.bbt.airpackager.BarAirPacka
ger
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: com.qnx.bbt.airpackager.BarAirPackager. Program
will exit.
Has anyone run into this issue when trying to package a .bar file for the BlackBerry Tablet (Playbook) Simulator? I've tried using a SWF published in CS5 and CS4.Just thought I'd reply to my own post, in case someone else runs into this problem. Make sure you have the latest and greatest versions of the JDK and JRE installed on your system, in addition to the requirements listed in BlackBerry's list of installs:
http://us.blackberry.com/developers/tablet/adobe.jsp -
Change selected file in automator using applescript ???
So I'm getting better at using Automator to create useful Services but still a bit of a newbie with doing powerful things with AppleScript... and I think this task requires some applescripting. Here's what I want to do:
1. Based on a selected text file I want to run a pre-existing script that converts this file into an HTML file. This new file has the same name as the text file but has the .html extension rather than the .txt extension. (This step is easy enough with Automator and it works just fine already.)
2. BUT NOW, I want to take that resulting HTML file and run another pre-existing script that converts the HTML file into an RTF file. The problem is that I basically want to change the selection from selectedfile.TXT to selectedfile.HTML so that I can proceed to this next step...
3. AND THEN, I want to launch an app with this resulting RTF file. Again, I need to change the selection to selectedfile.RTF.
Right now this requires me to run three different automator services, and changing the selected file between each step... But I'm sure there's an easy applescript way (or other way) to do this using just one service -- probably involves some filename parsing and some magic to change the selection??? -- or something like that...
Could anyone point me in the right direction???
Thank you thank you thank you!
~zyyyyHave you considered using a bash script? You can even write the script in an Automator Service.
Open Automator and select Service from the main screen. Set the ‘Service Receives Selected’ pop-up menu to Files or Folders, and set the ‘in’ pop-up to Finder. Drag Run Shell Script from the Utilities section of the actions library into the workflow area. Set Pass Input to As Arguments. Replace the sample code in the input area with this:
for f in "$@"
do
file_ext="${f##*.}"
if [ $file_ext = "txt" -o $file_ext = "TXT" ] ; then
/usr/bin/textutil -convert html "$f"
/usr/bin/textutil -convert rtf "${f/$file_ext/html}"
/usr/bin/open -a /Applications/TextEdit.app "${f/$file_ext/rtf}"
fi
done -
Has anyone used PS to Backup Sql 2005 DTS packages to individual files
Looking for a backup script to store all of the SQL DTS packages in seperate files on a Network folder.
Thanks.http://stackoverflow.com/questions/16309263/script-to-export-all-dts-packages-on-is-to-file-system
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx -
Packaging Multiple Quiz Files Created in CP3 Using CP4 SCORM Packager
Previously, I created several quizzes using Captivate 3. I just upgraded to the eLearning suite and now would like to package those mulitple quizzes into a single multi-sco SCORM package, using the SCORM Packager. I am looking for a step-by-step explanation as to the most efficient way to do this. Any advice or direction to a tuturial would be greatly appreciated!
Thanks!Ignore this post. There must have been an artifact in my data. I went through the entire process again this morning and the masteryscore was added correctly to the MULTI-SCORM package.
Maybe you are looking for
-
Re: Reference field to change red alert message. How?
Hi FICO Consultant, We are using T-Code: FBL1N, using our com code and execute the report. In this report, we have used the reference field for company purpose key in the same reference no.: (EX: 789100). The same number appeared again on the scr
-
Info about configuring queuespace?s size in Tuxedo 6.5
Hi I am looking for infomation about how I can calculate the size of a Tuxedo/Q queuespace. What are the parameters that I have to analyze in order to make a good "setting"? Merci
-
Photoshop Elements 9 Lasso Tool problem
When making a selection with the standard lasso tool, the screen will jump and then the path traced by the lasso does not display from that point on. A "Program not Responding" message displays in the upper left corner of the display. When the mouse
-
No support for Muvo NX 128 mb mp3 player data recove
I'm from Singapore, one of the reason I'm posting this on the forum is to seek help and broadcasting of my helpless situation I'm in, for awareness. I have a Creative Muvo NX 28 mb mp3 player, own for more then three years, without giving me problems
-
Pls advise how can view the same on CNA ?