Restricting the records in RUN ALLOCATION
Hi ALL,
*FOR %DESTIN%=32000,31400
*RUNALLOCATION
*FACTOR=USING/100
*DIM ACCOUNT WHAT=<ALL>; WHERE=<ALL>; USING=CRITERIA1
*DIM ENTITY WHAT=31300; WHERE=%DESTIN%; USING<>31300
*ENDALLOCATION
*NEXT
The above code fetches amount of all Accounts of Entity 31300 and adds to
all accounts of destination Entity 32000,31400 according to the criteria1.
Tha above code is working fine.Now i want to restrict the <ALL>in the where condition.
say 31300 has only 1 account 'A'.,i want the amount of 'A' tobe calculated according to
criteria1 and move to the destination entities 32000,31400.Finally the entities 32000 and
31400 must have the 'A'(calulated according to criteria),but not all records of destination Entities
getting modified.How can i restrict the <all> of where clause???
Manasa,
I may be way oversimplifying this, but you can use properties to restrict the where or simply specify the account if it is just a single account.
Example: GROUP is an account property and "A" is the property value. Any account with that value will get applied.
*FOR %DESTIN%=32000,31400
*RUNALLOCATION
*FACTOR=USING/100
*DIM ACCOUNT WHAT=[GROUP]="A"; WHERE=<<<; USING=CRITERIA1
*DIM ENTITY WHAT=31300; WHERE=%DESTIN%; USING31300
*ENDALLOCATION
*NEXT
Similar Messages
-
How to restrict the records in source qualifier?
What is your source system?If it's Oracle, you could use the following trick:Wrap your original SQL query (which retrieves all the columns which you need plus "ROWNUM AS row_num") into a "common table expression" which returns records based on this "row_num", like this: SELECT a1, a2, a3,... an FROM(select *, rownum as row_num FROM tab1, tab2 WHERE...)WHERE row_num between 11 and 15 Other than that I would recommend you insert an Expression transformation into your mapping right after the Source Qualifier. Within this EXP, define a variable port "v_rownum" of type BigInt with this expression: v_rownum + 1Then define an output port ROWNUM of type BigInt and set it to this expression: v_rownumForward all the data from the SQ plus "ROWNUM" from the EXP into a Filter.Define two mapping parameters $$FIRST_ROW and $$LAST_ROW of type BigInt (if possible, I can't try myself at this moment).Set the Filter expression like this: ROWNUM >= $$FIRST_ROW AND ROWNUM <= $$LAST_ROW This works for all sorts of source systems. Regards,Nico
I Have loading 10 record on first run , inserted in DB,and again load 5 records in second run in this restrict the first 10 records in source qualifier and took only 5 records to the target?
-
Hi All,
I was trying to extract the data using 0HR_PY_1 Data Source (HR-Payroll related). When I use Full update in BW, it extracts all the records from R/3 but when I use Init load to extract the data, it is not extracting all the records(some records are missing).
So I dont know what exactly is happening. I also checked RSA7 and deleted the entry for this data source (this entry was created because we tried to do some test delta in the past).
When I goto RSA3(Extractor Checker) and use update mode "F" (along with some selection criteria employee#284), it shows 550 records which is the correct number.But when I use the update mode "C"(Initialization of the delta transfer), I just get 490 records only.
So I am thinking is there anything I need to do to reset the initialization tables somewhere on r/3 side or do some kind of settings on r/3 by which I can extract all the records by using INIT load.I noticed a weird thing in RSA3,
I tested this without any selection criteria.
Using "F" update mode, the total number of records were 173,654
Using "C" update mode, the total number of records were 176,205
So, even though I was getting less number of records by using "Full" update mode, I was able to see the latest data I wanted. But When I use "C" update mode, even though the number of records is more, still I could not see the latest data (6/2007)???
So dont know what exactly is happening!! -
How to restrict the record selection for PLPO table .
Hi,
Am selecting 'plnnr' and 'vornr' from PLPO table . For one Plnnr their are multiple Vornr including 0001 & 9999.
I want to select only those entries which have only Vornr 0001 & 9999.
Ex : 1) Plnnr - 5689
Vornr - 0001,2536,8989,9999
2) Plnnr - 8787
vornr - 0001
3) Plnnr - 5936
vornr - 9999
4) Plnnr - 2345
vornr - 0001,9999
Here for this example i want to select only the entry with Plnnr = 2345 as it only contains 0001 & 9999.
Can any one let me know how to get this in a select query.
Your help is much appreciated.
Thanks in advance.
Ravi Kasnale.Hi
Try with below code
RANGES:r_vornr FOR plpo-vornr.
TYPES:BEGIN OF ty_plpo,
plnnr TYPE plpo-plnnr,
vornr TYPE plpo-vornr,
END OF ty_plpo.
DATA:it_plpo_temp TYPE STANDARD TABLE OF ty_plpo.
DATA:it_plpo TYPE STANDARD TABLE OF ty_plpo.
DATA:it_plpo_temp1 TYPE STANDARD TABLE OF ty_plpo.
DATA:wa_plpo_temp1 TYPE ty_plpo.
DATA:v_line TYPE sy-tabix.
START-OF-SELECTION.
r_vornr-sign = 'I'.
r_vornr-option = 'EQ'.
r_vornr-low = '0000'.
CLEAR:r_vornr-high.
APPEND r_vornr.
r_vornr-sign = 'I'.
r_vornr-option = 'EQ'.
r_vornr-low = '9999'.
CLEAR:r_vornr-high.
APPEND r_vornr.
SELECT plnnr vornr FROM plpo INTO TABLE it_plpo_temp1 WHERE vornr IN r_vornr.
CLEAR:it_plpo[].
LOOP AT it_plpo_temp1 INTO wa_plpo_temp1.
CLEAR:it_plpo_temp[].
it_plpo_temp[] = it_plpo_temp1[].
DELETE it_plpo_temp WHERE plnnr <> wa_plpo_temp1-plnnr.
DESCRIBE TABLE it_plpo_temp LINES v_line.
IF v_line EQ '2'.
APPEND LINES OF it_plpo_temp TO it_plpo.
ENDIF.
ENDLOOP.
SORT it_plpo BY plnnr.
DELETE ADJACENT DUPLICATES FROM it_plpo COMPARING plnnr.
Regards
Srilaxmi -
How can I restrict the user to run the report based the access level at access table backend?
I have a report which pulls data of servicetickets. Now I have to work on security part which should retrict the people to look for specif sales team tickets based on their access at backend. They should access the tickets of the sales teams which they have
access. Can anyone help on this.
Thanks,
SwapnaGetting error as
Msg 536, Level 16, State 2, Line 7
Invalid length parameter passed to the RIGHT function.
and
(Tut.AdloginID
= RIGHT(@ReportUser,
PATINDEX('%\%',
REVERSE(@ReportUser))
-1)
OR
EXISTS (
SELECT *
FROM dbo.TicketingUserTeams Tut
WHERE Tut.Team
= 'Ticketing Admin'
AND Tut.AdloginID
= RIGHT(@ReportUser,
PATINDEX('%\%',
REVERSE(@ReportUser))
-1)
Swapna -
Need help for report Variable to restrict the key figure value...
Hai gurus,
Now i have data in the cube as follows...
Reuisition HR INTW date LM INTW DATE TEL INTW DATE HR Count LM Count TEL Count
a1 01.01.2010 02.01.2010 01.04.2010 1 1 1
a2 02.02.2010 03.02.2010 02.02.2010 1 1 1
a3 03.03.2010 04.03.2010 03.03.2010 1 1 1
when i execute the report it shd ask the prompts with Date interval as in the below...
HR INTW date
LM INTW DATE
TEL INTW DATE
if i dont give any interval in the variable prompt it should display all the recors as follows
Reuisition HR Count LM Count TEL Count
a1 1 1 1
a2 1 1 1
a3 1 1 1
If i give LM INTW DATE interval as 01.01.2010 to 31.02.2010
then it should display all the other counts as in the output_1 , but for LM count for a3 it should show 0.
Reuisition HR Count LM Count TEL Count
a1 1 1 1
a2 1 1 1
a3 1 0 1
that means wherever i restrict the data depending on the variable that only that interval key figure value shd be in the report..
for this scenario, which variable i need to use... and how i need to restict the KFig value in the report...
Right now i am getting like this but it is restricting the records,,, where it should not restrict the records...in the report..
Please guide me for the same...
If any concerns about the scenario please let me know...
Regards,
VJhi chowdary ,
could you tell me the var. creation in detail and with which reference object i need to create ...
whether i need to take LM_DATE / 0DATE while creating variable...
and i kept this variables it in filter section, based on the LM_DATE Object.
i have tried both.. y'day when i take 0DATE it giving me some results...
But at the same time it is restricting the records..
i think it could be a problem with var.. properties?
need more inputs pls.
Regards,
VJ -
Restrict the Key figure to Variable number of days
Hello Everybody,
How can I achieve the following result in query??
User enters date range e.g. 21.5.2009 - 2.6.2009
Format for your reference
Cal Day Cal Month LOB Material Item Cost Next 90 Day forecast QTY Last 90 Day Usage QTY
(Qty restricted to below range)
21-May May LOB 1 Material A 6.20 21 May + 90 days 21 May - 90 days
22-May May LOB 1 Material B 8.50 22 May + 90 days 22 May - 90 days
2-Jun June LOB 4 Material C 53.35 2 Jun + 90 days 2 Jun - 90 days
I appreciate the responses in anticipation.
Thankshi chowdary ,
could you tell me the var. creation in detail and with which reference object i need to create ...
whether i need to take LM_DATE / 0DATE while creating variable...
and i kept this variables it in filter section, based on the LM_DATE Object.
i have tried both.. y'day when i take 0DATE it giving me some results...
But at the same time it is restricting the records..
i think it could be a problem with var.. properties?
need more inputs pls.
Regards,
VJ -
How to restrict Overwritten records of Info-Cube in Query
Hi ,
In query i am able to see the overwritten/replaced records with Zero values as well the same records with new values i.e. same record with in 2 lines one with zero value and other with replaced value.How i can restrict that only new record should be shown in Query.
With regards,
Abhishek KumarAs in InfoCube if a new record is inserted with same key fields it add the previous record with -ve values and new record with new values having same key fields.Now i can see these records in Info-Cube but when it comes to query it shows all the records ,one with the zero value and the same with the new values.Question is how i can restrict the record with zero value.
Abhishek Kumar -
I have a base template (which has never been sysprep'd) from which I create linked clones. After the linked clone comes up, I run the following command:
c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /reboot /unattend:c:\windows\panther\unattend.xml
This works fine for the first few linked clones, but after about 3-4 linked clones are running, I start to hit "A fatal error occurred while trying to sysprep the machine."
****c:\windows\panther\setuperr.log****
2013-03-29 16:40:07, Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
2013-03-29 16:40:07, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
****c:\windows\panther\unattend.xml****
<?xml version='1.0' encoding='utf-8'?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<Password>
<Value>ca$hc0w</Value>
<PlainText>true</PlainText>
</Password>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>ca$hc0w</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
</UserAccounts>
<TimeZone>Pacific Standard Time</TimeZone>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductKey>7M67G-PC374-GR742-YH8V4-TCBY3</ProductKey>
<ComputerName>*</ComputerName>
</component>
</settings>
</unattend>
****c:\windows\panther\setupact.log****
2013-03-29 16:40:07, Info [0x0f004d] SYSPRP The time is now 2013-03-29 16:40:07
2013-03-29 16:40:07, Info [0x0f004e] SYSPRP Initialized SysPrep log at c:\windows\system32\sysprep\Panther
2013-03-29 16:40:07, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2013-03-29 16:40:07, Info [0x0f0056] SYSPRP ValidateVersion:OS version is okay
2013-03-29 16:40:07, Info [0x0f005e] SYSPRP ScreenSaver:Screen saver was already disabled, no need to disable it for sysprep
2013-03-29 16:40:07, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2013-03-29 16:40:07, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2013-03-29 16:40:07, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2013-03-29 16:40:07, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'REBOOT'
2013-03-29 16:40:07, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
2013-03-29 16:40:07, Info [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
2013-03-29 16:40:07, Info [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [c:\windows\panther\unattend.xml]...
2013-03-29 16:40:07, Info [sysprep.exe] UnattendFindAnswerFile: [c:\windows\panther\unattend.xml] meets criteria
for an explicitly provided unattend file.
2013-03-29 16:40:07, Info SYSPRP SysprepSearchForUnattend: Using unattend file at [c:\windows\panther\unattend.xml].
2013-03-29 16:40:07, Info SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [c:\windows\panther\unattend.xml] either doesn't exist or passed
validation
2013-03-29 16:40:07, Info SYSPRP WinMain:Found unattend file at [c:\windows\panther\unattend.xml]; caching...
2013-03-29 16:40:07, Info SYSPRP WinMain:Processing unattend file's 'generalize' pass...
2013-03-29 16:40:07, Info SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
2013-03-29 16:40:07, Info SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
2013-03-29 16:40:07, Info [0x0f003f] SYSPRP WinMain:Processing 'cleanup' request.
2013-03-29 16:40:07, Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
2013-03-29 16:40:07, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
2013-03-29 16:48:52, Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
2013-03-29 16:48:52, Info [0x0f0059] SYSPRP ScreenSaver:Screen saver was originally disabled, leaving it disabled
2013-03-29 16:48:52, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2013-03-29 16:48:52, Info [0x0f004d] SYSPRP The time is now 2013-03-29 16:48:52Hi,
This is typical of an OEM license issue.
To avoid this in the future you should look at site/volume licensing.
Anyway.
so, first check if you can re-arm by runing the
slmgr.vbs /dlv and check the re-arm counter, if it set to zero.. you need to do the following :
http://support.microsoft.com/kb/929828 (set the <SkipRearm>1</SkipRearm> like in the example, note: this option will make the product key window to appear in the setup process).
you can also try running : slmgr.vbs -rearm, to rearm Windows.
after that, let's come back to the sysprep process.. for syspreping already syspreped machine we have to change few keys in the registry :
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
CleanupState:2
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
GeneralizationState:7
After done with the registry, do the following :
Start -> Run : msdtc -uninstall (wait few seconds)
Start -> Run : msdtc -install (wait few seconds)
Restart the machine
Check the registry for the right registry keys values
sysprep with the new XML answerfile.
Source: Olegm
If you find my information useful, please rate it. :-) -
How to restrict the dropdown values in Att/abs type in Record Working Time
Hello experts,
We are implementing ESS business package. In the Record Working time, within the Weekly View and Daily View tabs, there is a column Att/abs.type which has several drop down values - like: floating value, Funeral Leave, Military Reserve, Regular Attendance, etc. Our requirement is to restrict the dropdown values by means of showing only one of these values (say: Regular Attendance) and others should not be shown. How do we achieve this?
Thanks
Vicky R.Hi Siddarth,
Thanks for the info. By the way, this table info is not mentioned in the Business Package documentation. Which documentation are you referring to?
Thanks
Vicky R. -
How to restrict the last record and not moving to next reocrd
1) how to restrict the last record and not moving to next reocrd.
2) Also for the F6 key(for new record).When you are on the last record, next-record will create a new one, so that my question is do you want to forbid new record creation.
Francois -
Restrict the detail record based on the record indicator
Hi, i have a master detail form
when i query the form at header block it shows all the headers say
header block
header, line num, desc
1, 1, pen
1 ,2, rubber
1 ,3, sketchpen
line block
line num, sub item ,cost
1 ,1.1, 50
1 ,1.2, 60
2 ,2.1, 70
2, 2.2, 5
it shows the output in this way
i want to restrict the line level block (say if my cursor is at record indicating row 1 in header) then in line level it should show
lines pertaining to line num 1 and header 1 --eg pen records
if my cursor is at line num 2 in header block, in line level block it should show only line num 2 details ie rubber details, how can i restrict this.
Thanks,Define the relation between header and detail
join condition : header.line_num = detail.line_num
delete record behaviour : non-isolated
prevent masterless operations : Yes
after this if you navigate, the detail records will automatically gets queried accordingly.
Regards
Dora -
Restrict the creation of customer master records at sales area level
I know that you can supress fields at the company code and sales area level in customer master, but, is there a way in configuration to restrict the creation of a customer master record at the company code and sales area levels? Only the general data level is needed for this customer account group.
Any help would be greatly appreciated!!Hi
Create the Customer Master without entering the Company Code and sales Area. The system will allow and ask you to fill only the General Data.
The other way is that Create a Account Group and suppress its all Fields of Accounting View and Sales Area View, so that for that account group you will have to maitain only the General view.
Regards
Amitesh Anand -
I'm running logic pro 8.0.2 on Leopard 10.5.8. I've recorded an evening of live music, then cut the recording into songs using one audio file folder ad multiple song files. When working on an individual song, I can't access the sampler. I get the message "nothing to display" or "no region or audio file selected" After much research on the web, I believe this is a permanent bug. Does anyone have a good work-around for this type of work. We record live 16T band rehearsals constantly and would love to be able to break individual songs out of the large file and be able to use the sampler. Thanks in advance for your ideas! Cheers.
Another thing - if I copy one of the tracks to another track, then the sample editor works on the copied track. I don't want to have to copy 16 tracks to new tracks to be able to use the sample editor on a project. Thanks again.
-
Restrict the payments according to Doc types while F110 PAYMENT RUN
dears
While doing F110 (Automatic payment run) we want restrict the payment as - the sytem should pick only a particular document type (WE type) sitting as open item or a particular document type for a particular vendor sitting as as open item?
For example KR DOC types only need to pick for a vendor code "XXXXX"
For this what setting is required at FBZP (Automatic payment ment Programme settng) and / or at any other area like XK02 (vendor master data) ?Hello,
You dont need to make any changes in FBZP or vendor master.In F110, in the "Free selection" tab, in the Field selection do F4, choose Document type & in the values field give the Document type you want to include in the Proposal.
In the next line you can again choose the Field name as "Document type" with exclude tick, you can give the document type you dont require.
Save the proposal & run the payment run.
Hope this helps.
Regards,
WNR
Maybe you are looking for
-
How do I transfer apps from Itunes to my iTouch?
Hi! I'm a new apple user.My father bought me a new iPod touch. I have downloaded some apps from iTunes in my PC (Windows 7), and I want to transfer it to my iPod touch. I thought that syncing would do the trick. But there's a pop up message box sayin
-
I updated my iPhone 4S to the ios7 and now have a number 1 showing on my settings icon as if there were an update. I am completely updated. What does it mean? How do I get it off?
-
Raw file previews of .rw2 files (in Finder, etc.) on Macintosh?
I know that this is not necessarily a Photoshop question, but it is the kind of issue that Photoshop users might be able to help me with. I have two computers and two cameras. The computers are both Macs, the cameras are a Canon and Panasonic. For re
-
To recover a database with old and new datafiles.
Hi; Please Give a Solution for the following problem. First I shutdown the databae. Copy all the redolog,control file and Datafile except one. One datafile i miss at the time of copy. Then I start the database and do some transactions. At that time m
-
Website randomly shuts down during access
I am having a problem with a particular website (booking.com) on my ipad (version1). Every time i try to search or even sign in the website randomly shuts down in the middle of the process. I have tried deleting the bookmark, cleared history and cook