How to run the APD programmatically with different query variables
Hi All
I have a requirement to run a APD with a query in it programmatically on a series of posting periods from 1 to 10 I want to run the APD once for each posting period.
Any idea how I can do this.
Thanks
Karen
Karen,
Create a variable on posting period in the query.
in tcode RSRT, choose the query name , here you have the option of creating query variants. create different variants and save it.
In APD, when you choose the query, you have the option of choosing query variant, choose the variant you created in rsrt.
You can automate by including the APD with different query variants in a PC.
Sharat
Similar Messages
-
Dis51usr.exe: How to run a multisheet report with different parameter?
Hi,
I have a report ( say 1.dis) with 2 sheets ( X and Y ). X has the parameter
District and Y has the parameter Division. While I saved the report, the sheet X was opened . ( That means I run the report X from Desktop and save the report )
Now I execute the following command to run the X .
C:\Dis10gDesktop\bin\dis51usr.exe /connect <user id>/<password>@connectstring /apps_user
/apps_responsibility "test_Resp" /open "C:\Test\1.DIS" /sheet "X" /parameter "District"
"ABC" /export xls C:\Test\DIS_REPORT_OUTPUT_X.xls /BATCH
It is successfully run and gives the output file.
Now I execute the following command to run the Y.
C:\Dis10gDesktop\bin\dis51usr.exe /connect <user id>/<password>@connectstring /apps_user
/apps_responsibility "test_Resp" /open "C:\Test\1.DIS" /sheet "Y" /parameter "Division"
"DEF" /export xls C:\Test\DIS_REPORT_OUTPUT_Y.xls /BATCH
It is showing the error
District: Unresolved parameter.
If I save the report while the sheet Y is opened , then the second command is running fine,
but the first one is showing the error
Division: Unresolved parameter.
It looks the command can not move to other sheet . How can I resolve it ?
Please help.Hi
Just had an idea. Try removing the double quotes from around the parameter value. Even though it is a string you don't need to provide quotes in the command line. Therefore try again like this:
C:\Dis10gDesktop\bin\dis51usr.exe /connect <user id>/<password>@connectstring /apps_user
/apps_responsibility "test_Resp" /open "C:\Test\1.DIS" /sheet "X" /parameter "District"
ABC /export xls C:\Test\DIS_REPORT_OUTPUT_X.xls /BATCH
and this:
C:\Dis10gDesktop\bin\dis51usr.exe /connect <user id>/<password>@connectstring /apps_user
/apps_responsibility "test_Resp" /open "C:\Test\1.DIS" /sheet "Y" /parameter "Division"
DEF /export xls C:\Test\DIS_REPORT_OUTPUT_Y.xls /BATCH
You also may not need the double quotes around the sheet and parameter names. Typically these are only used when there is a space in the name
As an FYI, if you need to put quotes around a parameter value try using single quotes instead of double quotes and as a tip if you are passing multiple values to a parameter they should be passed with a comma between them and no space either before or after the comma.
Do you have a copy of my Oracle Press book called Oracle Discoverer 10g Handbook? If so, please take a look at pages 503 to 509. If you don't have it I'd strongly recommend doing so as it contains over 1,000 pages of information. You can get it at amazon and can find out more about it on my website here: http://ascbi.com/10g-handbook.htm
Best wishes
Michael
URL: http://ascbi.com
Blog: http://learndiscoverer.blogspot.com -
How to blink the appliaction titlebar with different color ?
Hi guys
I stuck in a problem . actually i want to blink the titlebar color with 2 different color while the window is in minimize state.
just like skype when the message comes the titlebar blinks with two different colors if it is in minimize state.
Please guide me.
Thanks and regards
MohitHi Mohit,
You could try using the notifyUser() method for your native window. See http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/NativeWin dow.html#notifyUser() for more information.
Hope that helps.
Regards,
Sanika -
How to run the runallocation function with following scenario
the cost center 123 has the following property and value
property name CC_PER CC1 CC1_PER CC2 CC2_PER
value 80 456 60 789 40
CC_per contains the percentage of value to be allocated out.
CC1 contains the id of target CC to be allocated to
CC1_PER contains the percentage of value to be allocated to CC1
CC2 contains the id of target CC to be allocated to
CC2_PER contains the percentage of value to be allocated to CC2.
So here what we need to achieve is to allocate 80% of CC123 out.
60% of which go to 456 40% of which go to 789..
How to use runallocation standard function to achieve this? although I can write a customized script for the same.
Edited by: Jianbai on Oct 25, 2010 10:35 PMWhat you see in those posts is correct - drivers (as well as senders and receivers) can be Transaction Data only.
What you confused is how to select those records that hold those drivers. For this you can use Properties of Dimensions. So, basically it will be same as if you populate a variable via *SELECT (from Dimension) and than use that variable in allocation (WHAT or WHERE or USING or TOTAL).
For example,
*DIM Product_Group... USING= [Fruit] = "apples"...
doesn't mean that driver will be taken from Product_Group Dimension where Property FRUIT has value "apples". It means that it will take those members from Dimension Product_Group that have "apples" in FRUIT Property and than select SIGNDATA from those records that have those selected members in the Application.
Yes, it is perfectly fine to use property values in allocations, but you have to keep in mind that
1. It will get that data (key figure) from the Application, not from Dimension;
2. It is possible that there are not records in the Application that comply with that selection. Than no allocation will be executed (depending on SP and OSS Notes applied).
Hope this clarifies things.
Gersh -
Dynamic filtering with BEx query variables in WebI 3.1
Hi experts.
Can anybody help me ?
1) I use BEx query variables in WebI 3.1 . But i can't understand how to order fields of selection screen in WebI reports
2) How can i use Dynamic filtering with BEx query variables in WebI 3.1 ?
It's need that list of second field on selection screen will be accoding to result of selection first field on selection screen and so on .
Need i use BEx user-exit variables ?
Thank youHi,
1) Variable sequence isn't respected in XI3.1 - and can't be modified in OLAP.unv (this enhancement exists in 4.0 )
2) Dynamic filtering? Yes, Exit routines are the best way to go for this.
Regards,
H -
How can I share the home folder with different accounts on the same mac?
Hi, here's a question:
How can I share the home folder with different accounts on the same mac?
The whole point being not to have to install all my apps, and move all my files each time between users.
The second thing would be to be able to modify one document on one account, and have it changed on the other account without having to copy it.
I would like to have a pro and a private account on my mac.
Thanks for you answers,
DougYour apps should not be installed in your home folder--they should be in /Applications where every user can access them.
If you want to share things between users on the same Mac, use the /Users/Shared folder. Keep your home folder private. Trying to defeat the protections on the home folder subfolders just gets messy. I've never bothered to figure out all of the problems associated with it so I can't explain how to do it.
Even with using Shared, you would need to alter the ACLs on the shared folder in order to allow both users to modify the documents.
You must create a Group in Users & Groups and put each user in that group. Then create a folder inside /Users/Shared where you want to share the various files.
Then, add an ACL to the shared folder that gives the group special permissions. on that folder.
sudo chmod -R +a "<sharinggroup> allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Users/Shared/<sharing folder>
Replace <sharinggroup> and <sharingfolder> with the name of your group and your folder. Then, run the command in the Terminal.
With that ACL, each user in <sharinggroup> will be able to alter the files created by any user in the group in that <sharingfolder>.
Essentially, the client OS is not designed for true file sharing among the individual users. It is designed to isolate each user account from the others. -
How to run the same procedure in parallel for different parameter value.
Hi There,
I am currently working on extracting data in to flat file and I am able to do so for one revenue month (e.g. 200101) using PL/SQL procedure(get_rev_data). it takes almost 1 hour to execute the procedure completely and it generates 400 MB data file. Now I have to run this procedure for last 10 yrs of data (i.e. 120 revenue months) . my prolem here is to figure out a way/logic in such a way that I can run the procedure in parallel for each revenue month and at the same time it will write the data in respective data file for each revenue month. so the final result of this exercise would be 120 flat files, one for each revenue month with file names like
EXTRACT_00001001 to EXTRACT_00001120.
where
first five digits : 00001 will indicate the Extract run number and
last three digits : 001 will indicate the thread number for each run.
I am thinking of doing this by creating a table "RevMonth" with two values (revenue_month, thread_num) and calling the procedure in a simple select statement and passing revenue_month as parameter of the procedure like
SELECT get_rev_data(revenue_month, thread_num)
FROM REVMONTH;
But I am not sure if that will do the needful. Any idea on how to achieve this will be of great help. Thank you.Hi Smit,
Thanks for the advise. I am not planning to run for all 120 months at once. actually I am planning to run like 1 year (12 revenue months at a time). I am not sure if that will work well but I was planning to run this through shell script (Unix) and will call the same procedure with different parameter (revenue_month and Thread_number) values and see what happens. I hope that will run in parallel for each revenue month.
Let me know if you have more knowledge about it. THanks a lot.
Thanks,
. -
How to run the Invoices in different groups within the batch in AP
Need to know that how to run the Invoices in different groups within the batch. This will be of very helpful when we deal with lot of lines under one batch. (e.g) like somewhere we issued a Corporate Card to all the employees Via Bank Of America. Every Month they will send the complete details of all the employees who ever swiped the corporate provided BOA. Accordding to Natco all those lines should be loaded as One Invoice so that a Single Payment can be provided to BOA and it will also makes their life easier. This standard program sometimes it works normal sometimes it will run like a TORTOISE. So thats why in the manual they suggested to use GROUP ID to split the Invoice Load.
So plz tell me how we can run it
plz give me the solution
thankscan you give me some material or document on that so that i can read actuaaly i need to make doc on it..
-
How can I edit multiple clips with different frame rates on the same timeline
how can I edit multiple clips with different frame rates on the same timeline
You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
Have fun.
x -
I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?
In iTunes(on a Mac or PC) just tap on 'Albums' rather than 'Artists' and you'll see them all together.
You may find that there are songs mislabelled. In which case right tap on the Album or Artist and tap 'Get Info', then change to the correct name and the songs will join the rest of the songs for that Artist or Album.
Then resync with your iPhone and all will be well. -
How do I copy purchases between 2 itunes libraries on the same computer with different log ins and separate apple user ids?
Load the library which doesn't contain the songs and drag them into the open iTunes application window. If you need to move them between different computer user accounts, put them into /Users/Shared/.
(74502) -
CAn I run Lion and snow leopard on the same computer with different sign-ins?
CAn I run Lion and snow leopard on the same computer with different sign-ins?
Alternatively, partition your internal HD and dual-boot it. Do note that you have to reboot to switch back and forth. You can't do it by logging out and back in.
-
Revision: 18814
Revision: 18814
Author: [email protected]
Date: 2010-11-24 09:31:56 -0800 (Wed, 24 Nov 2010)
Log Message:
Add manual test for BLZ-594 with instructions on how to run the test.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-594
Modified Paths:
blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/remoting-config.mods.xml
Added Paths:
blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/test/
blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/test/RpcTest.java
blazeds/trunk/qa/apps/qa-manual/bugs/BLZ-594/
blazeds/trunk/qa/apps/qa-manual/bugs/BLZ-594/BLZ-594.mxml
blazeds/trunk/qa/apps/qa-manual/bugs/BLZ-594/readme.txtYou do have a very complex looking site and may need several tables in mysql to handle all that data. If you knew to phpmysql I would suggest taking a look at this tutorial it will help get you started in understanding how to $_GET info from a database and also how to $_POST data to a database. I am no expert just learning myself and I found this very helpful. This is the link http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
There are also many tutorials on Youtube to help build a CMS Content Management Site I would suggest the following: -
http://www.youtube.com/user/phpacademy
http://www.youtube.com/user/betterphp
http://www.youtube.com/user/flashbuilding
And many more on my channel here
http://www.youtube.com/user/Whisperingonthewind
CMS's are easier to maintain, add edit and delete content.
I have also recently bought a Book by David Powers Training from the Source very helpful.
Anyway hope you get it sorted. -
HELP!! Authorization in the same laptop with different operation systems
My BF installed Win 7 operation system on his laptop yesterday and re-authorized it when he used iTunes. However, when he finished authorization, a dialog block showing that "*Including this one, you have authorised two computers out of your available 5*" appeared; what's worse, when he connected his iPhone to the laptop, it deleted all the bought apps in the iPhone, instead of synchronizating.
I also want to install Win 7 operation system, but I'm afraid that the same thing would happen again (to my iTouch).
We're quite confused that why the authorization in the same laptop with different operation systems is counted as two times. Friends who know please tell us whether this is the case.. If not, please tell us how to deal with it as we frequently re-install operation system for quicker operation.
Message was edited by: Shiwen
Message was edited by: ShiwenIt's the *operating system* that is authorised, not the particular user profile or the hardware. Before upgrading/reinstalling deauthorise and you won't run out...
tt2 -
Why can't two different users use Itunes on the same computer with different log ins
Why can't two different users use Itunes on the same computer with different log ins
Pmorgan5672 wrote:
Why can't two different users use Itunes on the same computer with different log ins
They can, but not at the same time.
If one user left iTunes running, and another user tries to use iTunes from a different Windows user ID, that second user will get an error message. If they really want to use iTunes, they either have to beg the first user to log in and close iTunes, or else they have to restart the computer.
If you are asking the technical reason why, it is something about context switching.
Maybe you are looking for
-
== Issue == I have another kind of problem with Firefox == Description == Say I turn off my Computer or restart it & then I load up Firefox the pages I was previously at loads up. This is very very very annoying & I see no options in the settings to
-
Transfer of WriteNow 4.0 failed
I want to use WriteNow 4.0 in Classic Mode on my iMac G5 running OS 10.4.2 (with OS 9.2.2 transferred over from my G4 laptop). I have a bootable copy of WriteNow on a USB disk, which I've tested on my G4 Mac in OS 9.2. When I mount the USB disk on th
-
Create transfer order via Function Module
Dear SAP guru, I have the following requirement that the transfer requirements will be created for replenishment into dedicated storage bins from another storage types. To do this, I use a user exit to calculate what is my replenishment quantity requ
-
Installing Elements 10 on mac (Lion)
hi i just purchased Elements !0 online and i can not get download to work on my Mac (lion) ! can anyone advise me ?
-
Hi, In Print Layout Designer there is a fiel called "Next Segment" in the Content Tab in Properties Field. Do anyone of you know how this field is for? It is really a mystery to me. Have test it in many ways, but... not way. So, I would be really gra