Av check query
SETTING: Availability check is activated both at schedule line level(VOV6) as well as the delivery item category level (OVLP).
So according to the settings the availability check will be carried out in sales and delivery as well.
I can see that availability check is carried out for the item while creating a sales document(OR).
Question: While creating delivery with reference to that sales document, is the availability check carried out again in the delivery document?
Please clarify?
Hi,
Check the link
http://wiki.sdn.sap.com/wiki/display/ERPLO/AvailabletoPromise+(ATP)
And also run V_V2- for rescheduling
Thanks
Chidambaram
Similar Messages
-
We are interested to know how/where to check query runtimes for any Query in SAP BW?
We are interested to know how/where to check query runtimes for any Query in SAP BW?
Is there any table or program to get the query run time details per query for a particular day.Hello Sravan,
Bex statics tables would be 'RSDDSTATHEADER','RSDDSTATINFO' & 'RSDDSTATEVDATA'. all these can found in one view 'RSDDSTAT_OLAP'.
above can give historical statistic.
For current Query statics : T-code RSRT, and select debug mode select display statistics and then execute.
Once you get the output press F3(one step back), there you can see statics of the query for that particular execution.
Thanks,
Mallikarjuna -
No upgrade check query for B1 8.8 in Note 1000846
Hi Experts,
I see that there is no upgrade check for B1 8.8 in SAP note 1000846 untul present. Is it difficult to develop it or just use existing one ? I am not sure if we can go on to upgrade without the query of upgrade check.
SteveDear Steve,
In Business One 8.8 version Pre-Upgrade checks are a part of the Upgrade Wizard. SAP Note [1357462|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1357462] encloses all the SAP Notes for pre-upgrade checks. Always refer to this collective SAP Note for the latest pre-upgrade check list and details.
For more information regarding Pre-Upgrade Checks under 8.8 please refer to the "Upgrade Wizard Online Help" or to the "Administrator's Guide 8.8 SQL", which can be found on the Documentation Resource Centre on the Portal.
hope it helps,
Regards,
Ladislav Meszaros
SAP Business One Forum Team -
Check query used to create system views
Hi Group,
I would like to know if there is any way to check the TSQL query used by SQL to create system views. I know for user created views, you can open it in Designer or script the view. Use SQL 2012 as an example when selelcting the top 1000 records no underlyng
query is visible.
Thanks and Regards,You can see most of them using sys.all_objects and sys.system_sql_modules. For example
select o.name, m.definition
from sys.system_sql_modules m
inner join sys.all_objects o on m.object_id = o.object_id
where o.name = 'dm_exec_requests'
Be very careful that you don't ever run the code that creates the view. There are additional tricks behind the scene that give some system views special actions. So if you run the code, your code might not work the same way as the original system
view.
Also, anything which is not documented can be changed by Microsoft at any time.
Tom -
Entity Attribute Existence Check - Query Result Parameter not possible ?
I already read the section of the ADF BC Developer Guide (9.6.2 Implementing an Efficient Existence Check).
That works and maybe is the best solution, however I am working with a group of Forms Developers which are much more comfortable with writing SQL statements.
Natural thing for them in this case was to define a declarative compare validator with the following Query Result:
select PROD_ID from Products where PROD_ID=:ProdId
where :ProdId is ServiceRequest.ProdId
Is this possible with ADF BC ?
Other possibility is to define a List Validator with the following Query Result:
select PROD_ID from Products
but this is not performant.
I know the programmatic approach is always possible, but to make migration easier for Forms developers into the ADF BC world, the declarative SQL option should be available.
Thanks,
Claudio.This isn't possible out of the box in 10.1.3 since we don't support a mechanism to set the values of the bind variables. In 10.1.3, you would need to build a custom validation rule class (explained in section 26.9 "Implementing Custom Validation Rules") to make this declarative for others on your team.
I wouldn't recommend the list validator in 10.1.3 for anything but the most trivial uses. This is because it's current implementation retrieves all rows from the query, then does the attribute comparison in memory.
Among many, many other enhancements, we are greatly enhancing declarative business logic features of ADF Business Components for our 11g/Fusion release (the next major release), where this will be super-easy. -
Query to check index rebuild progress check query
alter index EB.GL_TRN_PK_PRIM rebuild; its big index with millions rows, want to see its progerss, is there any query to check that how its doing?
Hi,
its big index with millions rowsI hope that you are running it in parallel. With 35 processes you should be able to do a million row index in under 10 minutes.
When I rebuild indexes, I pass the time run running a tablespace map on the target TS.
You can watch Oracle build the index nodes.
is there any query to check that how its doing?I use a script like this one:
http://www.dba-oracle.com/data_warehouse/tablespace_reorganization.html
Because Oracle retrieves the indoes in pre-sorted order, you can watch the new tree build in real-time . . .
Hope this helps . . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference"
http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm -
Checking Query and Web Template Authorizations
Hi, I have some code that does an authority-check to determine if a user has access to a specific query.
AUTHORITY-CHECK OBJECT 'S_RS_COMP'
ID 'RSZCOMPID' FIELD '__________'.
I need to be able to test to see if a user has access to a specific Web Template.
Any ideas how to do this?
Thanks!Kenneth,
1. Find the roles a template is assigned to : Yes, use AGR_1251 table.
2. Find the roles a user is assigned to : Yes, use AGR_USERS.
3. check if the user has the role the template is assigned to? by joining both the tables.
By using these tables, programatically you can check it.
You cannot check this using C-Command AUTHORITY-CHECK OBJECT. As this checks only the authorizations for the user who is executing it. This command is more useful in the following scenario.
Eg.In BW if you have written a program for some reasons to read the values of an ODS active table. On this ODS you have authorization relevant infoobject. Lets say profit center. In order to check the profit center that the user is assigned to and populate the data for only profit centers for which he is eligible to view the data.
Hope this helps,
GSM. -
Hi all,
For a material whose stock is 30 qty and for which availability check is active , we are unable to create partial deliveries for sales order of 50 quantities , even though customer master and sales order allows the for created partial deliveries upto 9.
We have also checked the scope of availability check and have found that it includes dependent reservations as well.
Kindly suggest if some specific config related to SD is to be checked.
Regards,
Ujjwal Diwakarhi,
in regard of the above query,delivery is being created using a Batch Job(Z-Development)
however , even thru Manual activity Partial delivery is allowed when created using VL01n and not allowed when created using VL10A.
Can any one please suggest me regarding fuctionalities and differences in these two T codes.
Regards,
Ujjwal -
Hi all,
How can you tell if a sql query is poorly written or not ( optimized or not)?
Is it by using Explain Plan ? There should be no full table scan it the report? and cost less than < what number?
Thanks a lotI will just in continue to Sybrand i.e. if you get the output of below query :
SELECT * FROM
(SELECT
sql_fulltext,
sql_id,
child_number,
disk_reads,
executions,
first_load_time,
last_load_time
FROM v$sql
ORDER BY elapsed_time DESC)
WHERE ROWNUM < 10
This finds the top SQL statements that are currently stored in the SQL cache, you can take them "Poor SQLs".
You could find disk intensive full table scans with something like this:
SELECT Disk_Reads DiskReads, Executions, SQL_ID, SQL_Text SQLText,
SQL_FullText SQLFullText
FROM
SELECT Disk_Reads, Executions, SQL_ID, LTRIM(SQL_Text) SQL_Text,
SQL_FullText, Operation, Options,
Row_Number() OVER
(Partition By sql_text ORDER BY Disk_Reads * Executions DESC)
KeepHighSQL
FROM
SELECT Avg(Disk_Reads) OVER (Partition By sql_text) Disk_Reads,
Max(Executions) OVER (Partition By sql_text) Executions,
t.SQL_ID, sql_text, sql_fulltext, p.operation,p.options
FROM v$sql t, v$sql_plan p
WHERE t.hash_value=p.hash_value AND p.operation='TABLE ACCESS'
AND p.options='FULL' AND p.object_owner NOT IN ('SYS','SYSTEM')
AND t.Executions > 1
ORDER BY DISK_READS * EXECUTIONS DESC
WHERE KeepHighSQL = 1
AND rownum <=5;
Source:http://stackoverflow.com/questions/316812/top-5-time-consuming-sql-queries-in-oracle
Regards
Girish Sharma -
I am trying to install Mariner's 'Write' program - it tries to install then quits. I found the log which Mariner says is showing that a corrupt font is causing the crash. I use the same company's Macjournal with no problems.
How do I find out which font is corrupt? Font Book will not open so I cannot use the following advice from Apple Support's pages :- "The easiest way to install and manage fonts is by using Font Book. Font Book is located in your Applications folder. For more information about using Font Book, see Font Book Help, available in the Help menu when Font Book is open."
Is there another approach I can use, or means of discovering which font is the corrupt one?
Marjorie Dawson
867 MHz PowerPC G4 256 MB Mac OS X (10.4.7)Marjorie,
I would recommend that you check out Font Management in Mac OS X Tiger and Panther, by Kurt Lang. It has a link for Font Finagler which may prove to be useful for you.
;~) -
Archivel log generation check query
I am wondering what query i can use to get this report of archived log generation ?
Arch_Date Arch_MB
2007-09-04-00:00 43198.4
2007-09-05-00:00 79303.9
2007-09-06-00:00 134935.8 ***
2007-09-07-00:00 30292.7
2007-09-08-00:00 302.1
2007-09-09-00:00 108240.2 ***
2007-09-10-00:00 15865.5
2007-09-11-00:00 19325.5select name,blocks*block_size inbytes from v$archived_log
Message was edited by:
Reega -
How to check query is getting reused after changing parametr cursor_sharing
Hello,
Oracle Version: 11g
OS Version: Windows 2003 64Bit
How to find if a particular query is getting reused after change in a cursor_sharing parameter from EXACT to SIMILAR.
Which set of Views/DD's should i query go get the relevant details.
Thanks in advance.
-Vijay.SQL> desc v$sqlarea
Name Null? Type
SQL_TEXT VARCHAR2(1000)
SQL_FULLTEXT CLOB
SQL_ID VARCHAR2(13)
SHARABLE_MEM NUMBER
PERSISTENT_MEM NUMBER
RUNTIME_MEM NUMBER
SORTS NUMBER
VERSION_COUNT NUMBER
LOADED_VERSIONS NUMBER
OPEN_VERSIONS NUMBER
USERS_OPENING NUMBER
FETCHES NUMBER
EXECUTIONS NUMBER
PX_SERVERS_EXECUTIONS NUMBER
END_OF_FETCH_COUNT NUMBER
USERS_EXECUTING NUMBER
LOADS NUMBER
FIRST_LOAD_TIME VARCHAR2(19)
INVALIDATIONS NUMBER
PARSE_CALLS NUMBER
DISK_READS NUMBER
DIRECT_WRITES NUMBER
BUFFER_GETS NUMBER
APPLICATION_WAIT_TIME NUMBER
CONCURRENCY_WAIT_TIME NUMBER
CLUSTER_WAIT_TIME NUMBER
USER_IO_WAIT_TIME NUMBER
PLSQL_EXEC_TIME NUMBER
JAVA_EXEC_TIME NUMBER
ROWS_PROCESSED NUMBER
COMMAND_TYPE NUMBER
OPTIMIZER_MODE VARCHAR2(10)
OPTIMIZER_COST NUMBER
OPTIMIZER_ENV RAW(797)
OPTIMIZER_ENV_HASH_VALUE NUMBER
PARSING_USER_ID NUMBER
PARSING_SCHEMA_ID NUMBER
PARSING_SCHEMA_NAME VARCHAR2(30)
KEPT_VERSIONS NUMBER
ADDRESS RAW(4)
HASH_VALUE NUMBER
OLD_HASH_VALUE NUMBER
PLAN_HASH_VALUE NUMBER
MODULE VARCHAR2(64)
MODULE_HASH NUMBER
ACTION VARCHAR2(64)
ACTION_HASH NUMBER
SERIALIZABLE_ABORTS NUMBER
OUTLINE_CATEGORY VARCHAR2(64)
CPU_TIME NUMBER
ELAPSED_TIME NUMBER
OUTLINE_SID VARCHAR2(40)
LAST_ACTIVE_CHILD_ADDRESS RAW(4)
REMOTE VARCHAR2(1)
OBJECT_STATUS VARCHAR2(19)
LITERAL_HASH_VALUE NUMBER
LAST_LOAD_TIME DATE
IS_OBSOLETE VARCHAR2(1)
CHILD_LATCH NUMBER
SQL_PROFILE VARCHAR2(64)
PROGRAM_ID NUMBER
PROGRAM_LINE# NUMBER
EXACT_MATCHING_SIGNATURE NUMBER
FORCE_MATCHING_SIGNATURE NUMBER
LAST_ACTIVE_TIME DATE
BIND_DATA RAW(2000) -
Speed Checker Query & FTTC for Stamford Exchange
Couple of queries, here goes.
I live in Ryhall which is attached to the Stamford exchange, hence the line attenuation is pretty high at 63dB. I've had a fixed rate 1Mbps service on this line for a few years now and after a few tweaks been rock solid. My old Belkin router used to report a Signal Margin of ~12dB, this has now been replaced by a 2Wire unit and the Signal Margin has now improved to 20dB. Interestingly, the Speed Checker on SamKnows has changed its readings to say a fixed 2Mbps is now available (previously a X) and ADSL2+ now 3Mbps. Is this because of the new router and would these rates be achievable in the real world?
FTTC RFS date is now set for the Stamford exchange 01/03/2011 would this include the cabinets in Ryhall?
Thanks, OzzWelcome Darren,
Bt Total Broadband is a rate adaptive product, and for new lines a period of line training needs to take place.
The training can last up to 10 days, and during that time no assumptions can be made as to the performance of the line, as various line configurations and speed will be applied by the exchange dslam.
Only at the end of training will you get a true picture.
It's important to leave the hub/router connected 24/7 with no manual resets during this period, so that a line solution can be applied and associated IP profile and SNRm then set.
At times the dslam will drop the connection, as part of the training, all normal.
If after the training period the connection is poor, then effort can be applied to investigate any line and noise issues.
If you think your line training is finished, then post your hub stats, and a BT speed test and the line connection can be evaluated.
Hope this helps -
Accesed Denied when Checking Query Syntax
Hi,
I was trying to create a condition for a workflow rule using the expression builder but kept getting Accessed Denied (SBL-ODS-50085) when i clicked the "Check Syntax" button. If i just saved my expression it did not complain and seems to work OK?
I was just doing something simple like [<ExpectedRevenue>] > 0. on the opportunity object
Does anyone know why this occurs and is it likely something i am doing or a system issue?
Cheers
Message was edited by:
user597809I received the Access Denied error message when trying to create a formula for a workflow and here's why:
I took the Oracle recommended approach and copied my admin role to be Admin - CRM and have been using that role to create everything. When I tried to create a workflow formula and clicked check syntax i got Access denied. I copied that formula, signed out and signed in with a user account that has the original out of the box administrator account and it saved fine.
I would appear that the system does not copy an Admin role exactly, check your priviledges for your admin account and tick anything that is unticked.
Hope this helps. -
Invalid Character in Email Address Check Query [SOLVED]
I have been asked to identify a list of all email addresses on our system which contain invalid characters.
Acceptable characters are: 1-9, and a-z, and also '\','.','@'.
Is this something a regular expression would be able to handle?
I have made a start via:SELECT fu.user_id
, fu.user_name
, fu.email_address fu_email
FROM applsys.fnd_user fu
WHERE (
fu.email_address LIKE '%(%'
OR fu.email_address LIKE '%)%'
OR fu.email_address LIKE '%,%'
OR fu.email_address LIKE '% %'
OR fu.email_address LIKE '%+%'
OR fu.email_address NOT LIKE '%@%'
OR fu.email_address NOT LIKE '%.%'
);But that seems pretty clunky, because I will have to add a new line for every character I want to search for. I have seen regular expressions being used for similar in the past, but I cannot tailor regexpressions to suit my need, because I find them really confusing.
Thanks
Message was edited by:
jimrThank you very much Frank and Anthony. We're not on Oracle 10 so the Translate option worked brilliantly - here's the answer, in case it is of help to anyone else who might have the same issue:
SELECT fu.user_id
, fu.user_name
, wlr.notification_preference
, wlr.email_address
, DECODE(
TRANSLATE(
LOWER(wlr.email_address)
, '+0123456789abcdefghijklmnopqrstuvwxyz.@/-'
, '+'
, ' ', 'SPACE'
TRANSLATE(
LOWER(wlr.email_address)
, '+0123456789abcdefghijklmnopqrstuvwxyz.@/-'
, '+'
) invalid_character
FROM applsys.fnd_user fu
, applsys.wf_local_roles wlr
WHERE wlr.NAME = fu.user_name
AND wlr.orig_system = 'PER'
AND TRANSLATE(
LOWER(wlr.email_address)
, '+0123456789abcdefghijklmnopqrstuvwxyz.@/-'
-- + followed by all the acceptable characters
, '+'
) IS NOT NULL;
Maybe you are looking for
-
Okay, i have 2 bugs with maverick. First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it. Second, I work on a network of computers and the search feature is now buggy...
-
hi folks, I have an text file with records, each record has several field values and there is blank space between them, I need to remove the blank spaces, is there a way that i can do with all records at one stretch? Instead doing it for each record
-
SWT window disappear while running Runtime.getRuntime().exec()
Hello, I have create a SWT application. I am executing the folloiwng code from my SWT application. Process process = Runtime.getRuntime().exec(param); BufferedReader in = new BufferedReader(new InputStreamReader(process.getInputStream())); String lin
-
Widget insertion not working DW CS5 Mac
I've got a template open and am trying to insert the JBuilder Accordian widget. I've done all the necessary processes to download the widget from Adobe and put it into my "My Widgets" in the browser. I click on Insert / Widget and get nothing, no d
-
How to add RadioButtonGroup?
I put 2 RadioButton on stage and specify them as belonging to the same group. However, when I export them as a symbol and try to use it in AS3, I can't access that group, only individual buttons? How can I get the group into my symbol too?