RSRV Check Check if characteristic values of text table exist in SID table
Hello Guys,
I have run the RSRV check Check if characteristic values of text table exist in SID table and I got a warning
when I check the Text table and compare it to attribute table, total entries in text table is more than entries in attribute table..
TEXT TABLE DONT HAVE ANY LANGUAGE...
is it possible that there are more entries in text rather than attributes... again THERE are no language..
Many Thanks
try to do a 'select * from table' and catch the
exception as it might fail if the table doesn't exist.Which might take quite a time if the table is big! If you really want to do that I'd use SELECT * FROM table WHERE 1=2
A better way is, to ask the DatabaseMetadata object to retrieve information about the table...
Thomas
Similar Messages
-
How does APEX check for null values in Text Fields on the forms?
Hello all,
How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
Declare
v_valid boolean;
Begin
IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := FALSE;
ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := FALSE;
END IF;
return v_valid;
END;
My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
ThanksSee SQL report for LIKE SEARCH I have just explained how Select list return value works..
Cheers,
Hari -
BW Upgrade from 3.5 to version 7 - RSRV check fails in conversion exists
Hi All,
We are in the process of doing preupgrade checks for version 3.5 and for infoobject 0MATL_GROUP (material group) RSRV checks fails and throughing conversion exit issue for some SID's ,
Error Message:
Check values of characteristic 0MATL_GROUP for conversion exit
There are 41 values with the wrong internal format in the SID table
The first 10 errors are:
Value in SID table 4350/ correct value 000004350/ SID in SID table 2732
Value in SID table 10000000/ correct value 010000000/ SID in SID table 2716
Value in SID table 12000000/ correct value 012000000/ SID in SID table 2717
etc...
I just want to check do we need to fix this error before doing the actual basis upgrade 7.0 tasks orelse is it OK to do upgrade without fixing this error .
Pls advice is there is any way to fix this issue in system without deleting the above SID's in the system.
Is this error will create major issues afterupgrade to 7 without fixing this SID issues in 3.5 - Pls adivce us.
With regards,
HariHi Hari,
From the error message it seems that you had data loaded to 0MATL_GROUP before the EXIT (I guess it is an ALPHA exit)
was switched on. Now the system find values that are not ALPHA converted with the RSRV check. You should correct this
problem before doing the upgrade. It should be possible to do the ALPHA conversion using the transaction RSMDCNVEXIT.
The reason for doing the ALPHA conversion before the upgrade is that transaction RSMDCNVEXIT is no longer available in BI
7.0, Since some objects of the new data flow in BI 7.0 ( for example BIA) are not covered by RSMDCNVEXIT it has been set to obsolete.
Customers cannot use transaction RSMDCNVEXIT anymore in release BI 7.0.
Best Regards,
Des. -
Loop not working for check of duplicate values in a repeating table
I have a form that is used for marking down problem items, describing the problems and assigning a value to the specified item. In some cases the problems belong to the same class. When they do, the value associated with the problem should only be marked once. If another problem in the same class is documented the value should not be recorded the second time. I have a variable that is called based on a switch statement in the exit event of the field that records the problem item number. The script in the variable is then supposed to check for duplicate values in the table. If no other problem item in that class is selected, then the problem value should be assigned a number. If another item from the same class has already been entered, then the problem value should just be left blank. I will paste the script for the variable below as well as the switch statement. When I used to call the variable based upon the change event for the problem item, the script work. At that time, the switch statement was related to a drop-down menu. We decided to get rid of the drop-down and just have the used type the item number. But to do so, I had to move the switch statement to the exit event for the field. when I did this, the script in the variable no longer worked properly. Here is the switch statment followed by the script in the variable:
this.rawValue = this.rawValue.toLowerCase();
var bEnableTextField = true;
var i = "Inspection Criteria: ";
var r = "Required Corrections: ";
switch (this.rawValue)
case "1a": // 1a- First debit option
CorrectionsText.CorrectionLang = r+"Correction description for 1st debit";
ViolCorrSection.ViolationsText.DebitVal = "C";
ViolCorrSection.Reference.RefLanguage = i+"1st debit reference";
break;
case "1b": // 1b- Second debit option
CorrectionsText.CorrectionLang = r+"Correction description for 2nd debit";
ViolCorrSection.Reference.RefLanguage = i+"2nd debit reference";
myScript.group1();
break; //the script continues for various item numbers...
________________ variable script ________________________
function group1()
//Used in checking duplication of violations
var oFields = xfa.resolveNodes("form1.MAINBODYSUB.ViolationsTableSubform.ViolationsTable.ViolCorrSectio n[*].ViolationsText.ItemNo"); // looks to resolve the repeating rows
var nNodesLength = oFields.length; //assigns the number of rows to a variable
var currentRow = xfa.resolveNode("form1.MAINBODYSUB.ViolationsTableSubform.ViolationsTable.ViolCorrSection ").index;
var currentDebit = xfa.resolveNode("form1.MAINBODYSUB.ViolationsTableSubform.ViolationsTable.ViolCorrSection [" + currentRow + "].ViolationsText.DebitVal");
for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) // this loops through Item Numbers looking for duplicate violations
//console.println("nNodeCount: " + nNodeCount);
var nFld = xfa.resolveNode("form1.MAINBODYSUB.ViolationsTableSubform.ViolationsTable.ViolCorrSection [" + nNodeCount + "]");
//console.println("nFld.ViolationsText.ItemNo: " + nFld.ViolationsText.ItemNo.rawValue);
if (nFld.ViolationsText.ItemNo.rawValue == "1a" || nFld.ViolationsText.ItemNo.rawValue == "1b" || nFld.ViolationsText.ItemNo.rawValue == "1c" || nFld.ViolationsText.ItemNo.rawValue == "1d") // looks for other 1s
currentDebit.rawValue = "";
nNodeCount = nNodesLength; // stop loop
else
currentDebit.rawValue = "5";
So, if you enter 1b the first time, you should get a value of 5 appearing in the debit value field. If you enter 1c next, because it belongs to the same group of class of problem items, there should be no value assigned. What happens now is that the values for 1b and 1c don't appear at all because the form thinks that the first 1b entry already existed.
Any ideas? I have a stripped down version of the form that I can email to someone for reference if that would help. Thanks
P.S. I am working with LiveCycle Designer ES 8.2.1....Hi,
I can have a look at your form, but can you host it somewhere like Acrobat.com or google docs and add a link to it here.
Regards
Bruce -
How to use expressions to check if a value is containted in another table.
Hello,
I have a flat Material table ("Material_table" with a Mat_ID) and a main table that stores MAT_ID and (e.g) Manufacturer. I DO NOT want to use a lookup table (since I don`t want to use the drop-down boxes), but I want to create a (simple) validation that checks, if the MAT_ID that is entered into field MAT_ID in the main table is contained in the Material table.
This serves as a simple "foreign key" check, checking if a value into a table can be found in another table.
Can anyone post the code that has to be written into the validations-Editor.
The expression in the main table could look something like:
Logically:
Check IF (MAT_ID IS_CONTAINED_IN(Material_table[MAT_ID]) then return true
or something like:
HAS_ANY_VALUES(MAT_ID,Material_table[MAT_ID])
Thanks a lot!
(I couldnt find any solution for that in the forums - We are using MDM 5.5. SP6)See thread: "How to create a validation that access another MDM-Table?" in this forum.
-
QM Module - How to get the Inspection Method & Characteristic value(Urgent)
Hi All,
I have inspection lot number (PRUEFLOS), batch number
(CHARGE), plant (WERK) & material number
(MATNR) , using these fields how to get the inspection
method (PMETHODE) & Characteristic Value (ATWRT) ?
I dont know the relation among them.
Could you please help?
Thanks in advance.
SaketHi Jose,
Thanks for your help, could you please look into my requirement.
For all inspection characteristics listed in the selected COA profile, I have to retrieve the Inspection Method for all listed inspection characteristics. And also I have to retrieve the characteristic value(uncertainty). Additionally, for inspection characteristics that are quantitative, being checked, the characteristic value(uncertainty) from that Inspection method will be retrieved from class 3050_UNCERTAINTY, class type 006, characteristic, P2150_UNCERTAINTY.
Please help me out.
Thanks,
Saket . -
Numc characteristic values are not saving in AUSP
Hi All,
I am unable to save numc/Date type characteristic values in AUSP table using CL20N tcode. i am able to retrive CHAR values from AUSP table but NUMC / DATE values are not saving in this table.
Regards,
PraveenHi Praveen,
If you are fetching ATINN from AUSP table, then you need to use conversion routine..
Call the FM CONVERSION_EXIT_ATINN_* & you will get the converted value.
Thanks,
Sharath -
Issue in getting Characteristic Values of Contract
Hi Experts,
Can anyone let me know, how to get all the Characteristics entries for a line item in a Contract ( i.e. VA43 -> Extras -> Configuration ).
I have used VC_I_GET_CONFIGURATION_IBASE, VC_I_GET_CONFIGURATION, and CUCB_GET_SINGLE_INSTANCE,
however all these FMs are missing a particular characteristic of a material.
Kindly let me know if you have an workaround.
Many Thanks,
Prasad.Hi Prasad,
Welcome to the SDN forum,
You can know the Characteristic values from the Table AUSP go to SE16N give the table AUSP and get the Characteristic
value. For tables relevant to characteristics are given below.
CABN Characteristics ( o.a. batch/vendor)
CABNT Characteristics description
CAWN Characteristics ( o.a. material)
CAWNT Characteristics description
AUSP Characteristic Values
Regards
Ram -
Alternative to text table?
Hi All
I have created a custom table where the superannuation fund code (data element P13Q_FCODE), along with a start date and end date are primary keys.
The texts for the superannuation fund code are maintained in table T5QSD.
What I am after is as follows: when a user wants to see the contents of the table I want to also include the description (from table T5QSD).
I cannot use the text table concept as table T591A is already using table T5QSD as a text table.
Does anyone know if there is an alternative way to perform the task. Should I be looking at creating an event?
Thanks in advance.
Rajdeep KumarRajdeep Kumar
Text table for the field Fcode and data element P13Q_FCODE is T591S.
Check how this is ?
Click on below link.
[http://bp2.blogger.com/_O5f8iAlgdNQ/R_rThSm1qyI/AAAAAAAAA98/P1bxw8tUWzE/s1600-h/Superannuation-785278.jpg|http://bp2.blogger.com/_O5f8iAlgdNQ/R_rThSm1qyI/AAAAAAAAA98/P1bxw8tUWzE/s1600-h/Superannuation-785278.jpg]
Double click on search help H_T591A for the field FCODE and data element P13Q_FCODE .
Then check the below link.
[http://bp1.blogger.com/_O5f8iAlgdNQ/R_rTiCm1qzI/AAAAAAAAA-E/SVvdn3DJvtw/s1600-h/H_T591A-788788.jpg|http://bp1.blogger.com/_O5f8iAlgdNQ/R_rTiCm1qzI/AAAAAAAAA-E/SVvdn3DJvtw/s1600-h/H_T591A-788788.jpg]
Here you can see Check tabel T591A and Corresponding Text table T591S for the field FCODEand data element P13Q_FCODE.
I hope that it helps u.
Regards,
Venkat.O -
How to check if all values from a dataset has come to an internal table
How to check if all values from a dataset has come to an internal table ?
Hi,
After OPEN DATASET statement check if sy-subrc = 0 if its success then proceed with split statement and save the dataset values into a internal table and while debugging the internal table you will find that whether all values get into internal table.
Checking sy-subrc after OPEN DATASET statement is must to fill up the values in the internal table.
For e.g.
OPEN DATASET p_inpfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
WRITE :/ 'No such input file' .
EXIT.
ELSE.
READ DATASET p_inpfile INTO loc_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
CLEAR loc2.
*Spliting fields in the file-
REPLACE ALL OCCURRENCES OF '#' IN wa_string WITH ' '.
SPLIT wa_string AT const INTO loc2-pernr
loc2-werks
loc2-persk
loc2-vdsk1.
Hope you get some idea.
Thanks,
Sakthi C -
Check Code (PK) When type in to text field,Exist or not
Hi,
i want to create a Language Master.I have take two fields LAN_CODE and LAN_NAME in LANG_MASTER Table. Here LAN_CODE is my Primary Key.
Now problem is when i type New LAN_CODE into Text Field Item and when i press Submit then it show me Error LAN_CODE Already Exist .
I need when i Type New LAN_CODE in Language Code TEXT FIELD then it should be check LAN_CODE Already Exist or not. if LAN_CODE Already Exist .then Cursor should not point (go) to Next Item.
My LAN_CODE Formate is
HIE-------Hindi
ENG------English
PAN------PANJABI
How can i check code when i type new code in to text field.Code Exist or Not.
How can i do this.
Thanks
Vedant
Edited by: Vedant on Jun 2, 2011 11:39 PMHi Paul ,
Thanks to reply me.
I have created a form with report and
i did apply that code ,It's working BUt Now Problem is when i press TAB then it's show me error Value Already Exit But Here it's change into APPLY_CHANGE Mode .
How can i prevent to page not in Apply Change Mode.
i want when TAB Press and check for Duplicate VAlue it should be in Create New Language Mode.
How can i do this.
Thanks
Vedant
Edited by: Vedant on Jun 5, 2011 11:19 PM -
Authorization checks for filter values
Hi,
I'd need to apply authorization checks to filter values in web reporting. The authorizations should be limited with an attribute of the characteristic, not the characteristic itself.
A practical example:
There are two companies A and B. The companies are not allowed to see any data from each other.
There is a report that displays sales orders. It is used by both companies. The selection of sales orders is limited with the characteristic 'distribution channel', so the initial display is fine.
customer sales order
cust1 so1
cust1 so2
cust2 so3
cust2 so4
Users should be able to filter the sales orders by customer. As filter values, the users should only be able to see and select customers from their own company.
Access to customers should be limited with an attribute of the customer, e.g. company code, because it would be impossible to maintain authorization profiles that contain lists of customers.
However, it seems that BEx and web reports don't care about the authorization restrictions applied to the company code. When a user from company A clicks on the characteristic 'customer' and selects filter values (e.g. with F4), he can choose from all customers.
So, how could we apply authorization checks to filter values?
Message was edited by: Arto PihlajaHi Dirk,
and thanks for your tip!
Unfortunately I haven't yet been able to test it out. Meanwhile, I'll just review the theory and check that I've understood your idea.
Continuing with the customer & sales order example, the report could look something like this:
customer comp. sal.ord.
cust1......A......so1
cust1......A......so2
cust1......A......so3
cust2......A......so4
cust2......A......so5
cust3......A......so6
when a user from company A runs it.
What happens if there is a filter for the characteristic Customer, and the user changes the filter values? What values are displayed as possible filter values? Do you mean that BW limits the values of 'customer' based on authorizations to the attribute 'company'?
Message was edited by: Arto Pihlaja -
Hi Friends,
I have to run a RSRV check for the some Characteristic Infoobjects.
When i schedule the analysis for an infoobject in background, i constantly get a short dump with this run time error TSV_BTR_PAGE_ALLOC_FAILED and DBIF_REPO_PART_NOT_FOUND.
I would really appreciate if some one could help me out with what this error is.
Thank you very much for all your efforts.
NeelHi Bhanu,
Thanks for looking for the CD. Anyways I actually did figure out how to run RSRV checks for the cubes.
But we landup in problem, when we run RSRV check for Infoobjs.
My qustion is how to find out which notes have been already applied to this 2.0B sys.
I also looked at the note: 314044, it say it is for 2.0A, wanted to make sure if this could be used for 2.0b also.
Also i tried running RSRV check with just few tests for Char, when no other bkgnd jobs were scheduled. The job got cancelled with the same error.
Please do suggest how i should proceed further.
Thanks -
Hi
How can I have a check box that a user checks and populates a field with read only text, then if another check box is checked it will allow user text input into that same field, her is my javascript
var a ="Not Applicable"
if (this.getField("Do").value == "Yes")
a=""
if (this.getField("DoNot").value =="Yes")
a=a + ""
event.value=a
say if the "Do" cb is checked, Not Applicable would populate the text field, and if the "DoNot" cb is checked it would allow user input into the same text field, the javascript I have will not allow user input,
thanks for any help I am new to javascriptAre these fields mutually exclusive?
-
How to check for null values in bpel?? Please Help! very urgent!!!
Hello Guys,
I have a problem. I have an external webservice to which I have to post my request. My task is to create an Webservice and Service Assembly to which others would post request and get response. I have to create SA to deploy onto the bus.
The problem is that there are optional elements in the request and response xsd's. In the Response sometimes certain feilds may come or they may not. for Example:- my response could contain a tag like this <firstName></firstName>
I have to copy these feilds in my bpel process from one variable to another.(like in the mapper).
My Question is , Is there any way in BPEL process or BPEL mapper where I could Check for null values in the request or response???
Your inputs would be very helpful.
Thanks
RajeshThanks for replying man :)
Ok I will be more clear.
Here is a snippet of one of the xsd's that I am using.
<xs:element name="returnUrl" nillable="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Partner specifies the return URL to which responses need to be sent to, in case of
Async message model.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:anyURI">
<xs:maxLength value="300"/>
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
This means that the return URL field can be there or it may not be there. But if it is there it cant be null because nillable=false. But the whole <returnURL> </returnURL> can be there or it may not be there because minOccurs=0.
My requirement is , if returnURL is there in the response with a value, then in my BPEL mapper I should map it else I should not map it.
Thats the issue.
and Yes kiran, the node be non-existant.
So can you please help me with this.
Thanks
Rajesh
Maybe you are looking for
-
Error While Posting the Asset Down Payment
Dear Members, When I am doing Asset down payment through F-48, I am getting the following error. Before that I would like to inform you that I created 2 GL Accounts. i.e. Down Payments on Assets ( Recon A/c Assets ) and Second GL A/c is Asset Cleari
-
Alright I know this is gonna seem ridiculous, but I've done it a few times and something always goes buggar.. so using a button already made from a template the code is this: onClipEvent (load) { num = 5; link_num = _root.getMenuSystemOrder
-
Deploying web application on OAS
Hi, I have created a web application in eclipse. It is up and running in tomcat and OAS server on my local system. The host address is given as : localhost We also have a development server which is also runs on OAS. I have the dev server address/use
-
Fixed width file outgoing with header,detail and trailer in one map
we have a scenario where in we have to create an output file. the file is fixed width with three different kinds of records namely header, details and trailer. if the specification of the metadata of the file is specified how will we incorporate the
-
Solaris 8 (Intel) install - graphics adaptor
This product seems to operate with a limited range of graphics cards. I have a TX Pro motherboard with an SIS 6326 AGP graphics chip, and 8 Mbytes of on-board VGA memory. I can't install Solaris unless I can configure the display adaptor correctly, a