How to find the contain of @list_of_cols_val_tab_del
Hi
Could you please tellme how to find the contain of @list_of_cols_val_tab_del
for a given table when we write a stored procedure in SBO_SP_TransactionNotification.
Thanks
Sanjaya
The way I have handled is by inserting the values being passed to this SP to a temp table
INSERT INTO TRANSNOTIFY VALUES (@object_type, @transaction_type, @num_of_cols_in_key, @list_of_key_cols_tab_del, @list_of_cols_val_tab_del)
Use this script to create this table
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo\].[TRANSNOTIFY\](
[ObjType\] [nvarchar\](20) COLLATE SQL_Latin1_General_CP850_CI_AS NULL,
[TransType\] [nchar\](1) COLLATE SQL_Latin1_General_CP850_CI_AS NULL,
[NumCols\] [int\] NULL,
[KeyCols\] [nvarchar\](255) COLLATE SQL_Latin1_General_CP850_CI_AS NULL,
[ColsVal\] [nvarchar\](255) COLLATE SQL_Latin1_General_CP850_CI_AS NULL
) ON [PRIMARY\]
Similar Messages
-
How to find the container in goods receipt table
hi,
how to find the number of containers with respect to each material document. After posting the material document the number of containers cannot stored in MSEG or MKPF table. i can able to find only in QALS table but how to link the material document and inspection lot.
Thanks
Muthuraman.DHi Muthuraman,
Can you check this bapi BAPI_INSPLOT_GETLIST.In this bapi there is a different selection criteria like material,material document no and all. I think you can use this for your report. Check this and post if need help.
Regards,
Madhu. -
How to find the records using contains with the word like this 'some text-some text'?
Hi,
How to find the records using the full text contains keyword and that column contains ‘some text-some text’
In the above some text can be anything.
Does anybody know please let me know.
Thanks,Hello,
You can try to create a Full Text Index on the table and use CONTAINS() to get the record which contains the specify words.
For example:
SELECT * FROM TABLE WHERE CONTAINS(column_name, 'some text')
Reference:
Full-Text Search (SQL Server)
Creating Full Text Catalog and Full Text Search
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How to find the number of links in a website
hi every body
can any one clear my doubt
my doubt is that
in a website how to find the number of links the hole website contains
is there any navigation tool to find that
plz help me yar
i am waiting for the replyIf you're talking about commercial sites (sites you don't have the source code for) I'm not sure.
If you want to count the links in site that you have the source code for, it should be relatively easy to write a Java application to do it. All you really need to do is have a list of the files you want to count links in, read each file line by line and check for the existance of the <a> tag in each line. Anywhere their is an <a> tag there is a link.
Hope this helps. -
How to find the number of fetched lines from select statement
Hi Experts,
Can you tell me how to find the number of fetched lines from select statements..
and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
Thanks in advance
santoshHi,
Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
For ex:
data: itab type mara occurs 0 with header line.
Select * from mara into table itab.
Write: Sy-tabix.
This will give you the number of entries that has been selected.
I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
Hope this helps,
Sudhi
Message was edited by:
Sudhindra Chandrashekar -
How to find the number of occurance of a string in text field of Infopath form?
Hi All,
In Infopath text field, How to find the number of occurrence of a particular string in that field?
Thanks in advance!You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
Example:
String: "1"
Box A - "123451234512345"
Box B - "23451234512345"
Box C - "2345234512345"
Box D - "234523452345"
etc.
We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
How to find the list of all tables populated
How to find the list of tables populated in the implentation of a particular company. DD02L contains all the tables SAP having. But i want only which are configured for a particular company.
Also how to find the list of reports used by all users in a particular company. TSTC contains all transactions. But i require only reports used by a particular company.Hi Mohamed
You use Solution Manager to do the comparison for you. There are some nice features that will highlight all your customised coding. Have a look at the SolMan resources on the Support Portal e.g. using SolMan for upgrade comparisons.
Rgards
Carl. -
How to find the user exits and BADIS from SPRO
Hi all,
please let us know how to find the User exits or BADIS for an application from SPRO.
Regards,
MadhaviHi Varisetty,
Finding user exits and BAdis from SPRO can be cumbsersome. In most instances you know the standard SAP program and want to check (find) an exit called in the flow of the transaction. You can do this as follows:
For User Exit:
Put "/h" in the command box (to start debugging)
Execute your transaction
When you enter debugging - put a breakpoint at statement
CALL CUSTOMER-FUNCTION
the control will stop at all calls to User Exits
For BAdi (it's simpler)
Go to class CL_EXITHANDLER in SE24
Enter method GET_INSTANCE
Put a breakpoint in this method
Run your standard transaction - control will stop at all BAdis called within the flow since this method is used to check BAdi implementations before invoking them
Also, if you want to find enhancements by package - go to SE80, enter the package and check function groups starting with X - those contain function exits (conventional user exits). For BAdis in a package, there is normally a separate tree node (under the package) for Enhancements hence clearly identifiable.
Cheers,
Adi -
How to find the text id for the text in the sales order
Hi all,
How to find the text id for the item-text in the sales order?
There are different Text available in the sales order under item like Warehouse instruction, CSR instruction...
I want to know the corresponding Text id for the text ELECTRONIC ORDER COMMENT.
Table TTXID contains the validation of the Text id.
Please help me in knowing the way to identify the text-id from the text list..
Thanks foryour help
Suresh KumarU can fetch the texts for the items using
Read_text.
Example:
g_f_tdname = xvttp-vbeln.
g_f_obj = p_obj.
g_f_langu = 'DE'.
REFRESH g_t_lines.
CLEAR g_t_lines.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = p_var
language = g_f_langu
name = g_f_tdname
object = g_f_obj
TABLES
lines = g_t_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The Required fields are,
Text-id ,language,name,object.
Let me know if you further require help.
Regards -
How to find the most matched values in the set of map?
Hi friends!
I have two vectors
vector<int> V1; vector<int> V2;
and a map<int, set<int>> M1;
I want to select common values from both V1 and V2 and check those values with the set in the map M1.
For example:
V1 contains;
2 4 6 8 9
V2 contains;
4 5 6 9 10
M1 contains;
1=>1 2 5 9
2=>4
3=>5 10
4=>2 4 8
5=>4 9
6=>4 6
7=>9 12
When we select the common values of V1 and V2 it is 4, 6, 9.
And we search for all 4, 6, 9 from the values of M1 which give more appropriate.
But, no all values in the set of map.
Then, we delete any value from 4, 6, 9, then remaining values would match any values from the map.
From the example, if we delete 6, then remaining 4, 9 will match with 5=>4 9, or if we delete 9, then 6=>4 6. Any one of the keys can be selected.
I know how to select the common values from V1 and V2, but I do not know how to match with the values and select the appropriate key from M1.
Could anyone help me to solve this?This is not the question you asked, except perhaps in the subject. The subject is not the right place to put key features of the question. It is also important to use the body to ask just the question you want
answered. For example your real question has nothing to do with V1 and V2, just the common vector V (e.g. 4 6 9).
One way to solve your problem would be to create a new map
map<int, set<int>> M2;
with the same keys as M1. Each set of M2 should contain the elements of V that are
not in the corresponding set of M1.
Then pick the key of M2 that has the smallest set. If that set is empty, then the whole of V can be used. Otherwise the smallest set tells which elements of V have to be removed, and which is the desired key of M1.
In your example, key 5 of M2 will contain just 6, so you should remove 6 from V and select key 5.
Yes fine. I tried the following code and it creates the map M2 (NewMyMap in my code). But how to find the smallest set starting from size 1?
#include <vector>
#include <algorithm>
#include <iostream>
#include <map>
#include <set>
using namespace std;
typedef vector<int> IntVec;
typedef set<int> IntSet;
typedef map<int, IntSet> SetMap;
bool IsValueNotInSet(int value, IntSet& S);
SetMap CreatNewSetMap();
IntVec IVec; //This vector is for selecting certain keys from mySet map.
IntVec myVec;
SetMap mySet;
SetMap NewMyMap;
int main()
IVec.push_back(3); IVec.push_back(4); IVec.push_back(5); IVec.push_back(6);
myVec.push_back(4); myVec.push_back(6); myVec.push_back(9);
IntSet tempS;
tempS.insert(1); tempS.insert(2); tempS.insert(5); tempS.insert(9);
mySet.insert(make_pair(1,tempS));
tempS.clear();
tempS.insert(4);
mySet.insert(make_pair(2,tempS));
tempS.clear();
tempS.insert(5); tempS.insert(10);
mySet.insert(make_pair(3,tempS));
tempS.clear();
tempS.insert(2); tempS.insert(4); tempS.insert(8);
mySet.insert(make_pair(4,tempS));
tempS.clear();
tempS.insert(4); tempS.insert(9);
mySet.insert(make_pair(5,tempS));
tempS.clear();
tempS.insert(4); tempS.insert(6);
mySet.insert(make_pair(6,tempS));
tempS.clear();
tempS.insert(9); tempS.insert(12);
mySet.insert(make_pair(7,tempS));
cout<<"MYVEC\n";
cout<<"-------------\n";
for(IntVec::iterator itv = myVec.begin(); itv != myVec.end(); ++itv)
cout<<(*itv)<<" ";
cout<<"\n\n";
cout<<"\nMYSET\n";
cout<<"-------------";
for(map<int,set<int>>::iterator its = mySet.begin(); its != mySet.end(); ++its)
cout << endl << its->first <<" =>";
for(IntSet::iterator sit=its->second.begin();sit!=its->second.end();++sit)
cout<<" "<<(*sit);
cout<<"\n\n";
NewMyMap= CreatNewSetMap();
cout<<"\nNEWMYSET\n";
cout<<"-------------";
for(map<int,set<int>>::iterator its1 = NewMyMap.begin(); its1 != NewMyMap.end(); ++its1)
cout << endl << its1->first <<" =>";
for(IntSet::iterator sit=its1->second.begin();sit!=its1->second.end();++sit)
cout<<" "<<(*sit);
cout<<"\n\n";
return 0;
bool IsValueNotInSet(int value, IntSet& S)
IntSet::iterator it=find (S.begin(), S.end(), value);
if (it!=S.end())
return false;
return true;
SetMap CreatNewSetMap()
IntSet TSet;
for(IntVec::iterator it = IVec.begin(); it != IVec.end(); ++it)
SetMap::iterator its = mySet.find(*it);
if (its != mySet.end())
TSet.clear();
int key = its->first;
IntSet& itset = its->second;
for(IntVec::iterator itv = myVec.begin(); itv != myVec.end(); ++itv)
if(IsValueNotInSet((*itv), itset))
TSet.insert(*itv);
NewMyMap.insert(make_pair(key,TSet));
return NewMyMap; -
How to find the transaction code for the particular program or include
Dear All,
Please help me on this queary.
1) How to find what is the transaction assigned for the particular Report
2) How to find the particular include is used in which programs and also transaction codes
I have one ZProgram that contains only includes no selection screen, I have to find where this program is used, in that one include is ther I would like to know in which program and in which transaction that is used,
They have given ME9F, ME21N/22n, wheren this includle is calling.
Please kinely help on this.
Thanks and Regards,
MuralikrishnaHI
1. you can find the transaction for your report by opening in se80. On the left side window it will show the transaction if there is any.
2. to find in which programs particular inclue is called , just open include in se38 and press where used list icon. in the pop up window select programs.
regards
vijay
reward points if helpful -
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected. -
How to find the header and item level status of a CRM contract ?
Hi,
Few questions
A. How to find the header and item level status of a CRM contract ? My req is to select all the contract line items which are in CLOSED status.
B. How to get the BPs associated with a contract ?
Anyone have the list of CRM tables and the relation amongst them. Please mail me in [email protected]CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
Note:
1. It doesnt store the Business Partner
responsible for the transaction. To
get the Partner No, link it with
CRM_ORDER_INDEX.
2. This table can be used for search
based on the Object Id(Business
Transaction No).
CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
CRMD_LINK Transaction GUID set for all the Business Transactions
CRMD_ORDER_INDEX Contains Header as well as Item details for a Business Transaction.
Note:
1. It doesnt store the Business
Transaction No (Object ID).
To get the Business Transaction No
link the table with
CRMD_ORDERADM_H
2. This table can be used for search
based on the Partner No
CRMD_ORDERADM_I Stores the Item information for a Business Transaction. The scenarios where we have a Contract Header and within contract we have Line Items for the contract, this table can be useful.
E.g. Service Contracts
CRMD_CUSTOMER_I Additional Site Details at the Item Level of a Service Contract
Pl.reward points....... -
Sir,how to find the last DML operations
Hi,
Please tell me how to find the last DML Operations at least minimum 30 queries.
Thanks in advance,Shared Pool is a memory location in SGA that contains SQL Statement that are submitted to Oracle for execution. This area is common to the entire database. Its not specific to user.
So what ever Unique SQL statement that is submitted to the SQL Engine will be available here. Shared Pool has a size limit. That is defined by the parameters SHARED_POOL_SIZE and SHARED_POOL_RESERVED_SIZE. So when the Shared pool becomes full the data needs to be removed from it. That is done in FIFO basis.
Oracle provides a visibility to this area through dictionary view V$SQLAREA. So this view will not only contain the SQL executed by you but also by every one. Even the one executed by oracle itself.
So in my opinion what you are asking is not possible to get. You must have some logging mechanism in your application to get this information. -
How to find the patches for perticular concurrent program
HI
How to find the patches for perticular concurrent program. suppose for one concurrent program we create the patch and applied now i want know the which patch applied for perticular concurrent program through back end.
Thank'sQuery the concurrent program in Sysadmin responsibility.
Note the concurrent executable.
Query the concurrent executable in Sysadmin.
Note the file name.
If it is a package, open the package in TOAD and note down the file name.
If it is a report/form, open it in form developer and note down the file name.
Go to patch find screen in metalink. In the advanced search screen, enter the file name and you will see patches that contain it.
Hope this answers your question
Sandeep Gandhi
Independent Consultant
513-325-9026
Maybe you are looking for
-
Did I lose all of my data trying to install XP in Bootcamp???
Ok so I need to know if I am out of luck! I have been using Parallels but decided to use Boot camp. I went through the process of partitioning 12 or 13GB for Windows XP in the Boot camp app within OSX and then rebooted as it told me and put in the Wi
-
How can I get my music from icloud to my ipod?
I;ve beenm trying to put music I bought from Apple into my ipod from icloud It keeps telling me i have wrong apple id I've changed my password 10 times today It's really ******* me off
-
Problems finding drivers for Satellite A100-313
hi This is my first post since i got Toshiba Satellite A100-313 (PSAA9E) yesterday. It had windows media edition in german language. Since i can't understand german i installed WinXP pro with SP2. With laptop i got toshiba recovery cd but it doesn't
-
Dear Fellows......I'm generating a voucher-ID in Post-Insert Trigger n saving it in the table at the base of form(say it Invoice Table) as well as posting in Voucher Master table. but it is only saving in Voucher master table but not in the base invo
-
What is the "alarms" file in the Training folder on the Nano?
Hi, I had my Nano 4G (1.0.3) completely lose a workout. I enabled disk access and looked for an XML or Temp file associated with my workout, but the only file timestamped at the time I ended my workout was one called "alarms". I could not open it, so