How to find the value of STO
hi SAP gurus,
pls help me out.
is there any T-code to find the values of STO made.
Hi Gaurav
PLease use the Tcode ME81
Regards
Aasif
Similar Messages
-
How to find the value of a variable in other program
How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
Regards
VinHi Vinayak,
you will be having your first program values in internal table or some variables,
when you are calling the second program you wii use like this,
SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
WITH s_emp(second program select-options) IN t_emp(first program variables)
WITH p_chk EQ t_chk
WITH p_r1 EQ t_r1
WITH p_month EQ t_month
WITH s_cust1 IN t_cust1
WITH p_r2 EQ t_r2
WITH s_cust2 IN t_cust2
WITH s_week IN t_week
AND RETURN.
you have pas like this to get your first program details. -
How to find the Values of SAP Gateway Server Host and Gateway Service Valu
Hi All,
I installed SAPR/3 4.7 EE on Windows. For configuring SLD and LDAP i am unable to give the SAP Gateway Server Host and Gateway Service values.
Can any one plz suggest me how to find these values.
Regds
PhanikumarHello, SAP Gateway Server Host and Gateway Service are used to set up rfc connectivity, that is the host name and the system number where your sld and ldap is responding, if you have no sld and no ldap , just simply uncheck that options while installing.
Have a nice week end, Luciano. -
How to find the value that is in structure???
hi experts,
i am changing standard form QM_INSP_RESULT I have an field MITTELWERT in QGRES
ie QGRES-MITTELWERT where QGRES is a structure .i need the value that is present in the field.How to find it.Hi Manikandan Muruganandham ,
To find fields the refined search is through Transaction SE84.
Go there and find the fields of your choice.
1> <b>ABAP DICTIONARY</b>
2> <b>FIELDS</b>
3> Select <b>Table fields</b> to know where you can find the field of your choice.
Reward Points if useful.
Thanks,
Tej.. -
How to find the value of date char used as exception aggregation reference
Hi BI Gurus,
On a BEx report I need to list three things by material:
1) the open (not yet delivered) Purchase Order quantities
2) the PO quantity to be delivered next and
3) the date that belongs to the next delivery
The model supports these data i.e. for each material I can list all open quantities by Purchase Order / Item / Schedule line and the scheduled delivery dates are also available as a characteristic.
Determining 1) is easy as the drilldown is fixed (materials only) the open quantities get summarized for all PO-s belonging to the materials.
To determine 2) I used a Calculated KF simply including KF 1) =Open PO Qty in the definition and setting Exception Aggregation (first value) with a reference char of the delivery date. This gives back the Open PO Quantity to be delivered first.
My question is about how to determine the 3rd value (actually this is not a KPI but a characteristic value). In other words, for each materials I would need to determine the first among all of the possible delivery date char values of the open PO Items / schedule lines. This is the date the quantity shown in the 2nd KPI will be delivered on.
Does anybody have an idea how to approach this issue?
Thanks for you help in advance,
AttilaHi Olivier,
Thanks for your suggestion. I got a bit closer with the replacement path formula variable and the CKF. I tried to apply the same logic of KPI 2) but for some reason it did not work. Actually, it delivers the right value but only when 0SCL_DELDAT (Scheduled delivery date) is in the drilldown But what I need is the first delivery date by Material only, and without this 0SCL_DELDAT drilldown.
Any other ideas?
Thanks and bye,
Attila -
How to find the value in the table in database ?
Hi, Could you please advise me, How to findout the data-value in the table in database ?
what do you mean by value ?
--Girish -
How to find the value variable
Hi, I am doing looping and dynamically creating the variable, after this, I will get the string that is the variable. In this stage how can I get the variable value.
For Example, pls look into the follow proc
CREATE OR REPLACE PROCEDURE VALUE_TEST AS
MYSTRING1 VARCHAR2(100);
MYSTRING2 VARCHAR2(100);
A VARCHAR2(100);
B VARCHAR2(100);
BEGIN
MYSTRING1 := 'FIRST VALUE';
MYSTRING2 := 'SECOND VALUE';
FOR I IN 1..5 LOOP
A := 'MYSTRING' || I;
B := 'MYSTRING' || I;
DBMS_OUTPUT.PUT_LINE(A || ' ' ||B);
END LOOP;
END;
When I print the value of A, I should get the value of MYSTRING1, that is 'FIRST VALUE'.
If anybody know, how to do that, pls let me know ASAP.
Thanx a lot.
Vijay.PHi Vijaykumar...
In A := 'MYSTRING' || I; you are NOT replacing your variable named 'A' with the variable named 'MYSTRING' concatenated to the value of the loop counter.
You are replacing you variable named 'A' with a character string 'MYSTRING' concatenated to the value of the loop counter. The confusion may come from the fact that the name of the variable is a character string that is identical to the character string in your replacement statement.
So you get...
MYSTRING1 MYSTRING1
MYSTRING2 MYSTRING2
MYSTRING3 MYSTRING3
&....The PL/SQL compiler intreprets the characters between the 's as a character string.
To get...
FIRST VALUE1 FIRST VALUE1
FIRST VALUE2 FIRST VALUE2
FIRST VALUE3 FIRST VALUE3
&....remove the ' so the PL/SQL compiler will reconize it as a named variable.
If you are trying to construct a variable name using concatenation, that cannot be done in PL/SQL without dynamic sql, a somewhat more complicated endeavor.
Good luck. Hope this helps. -
How do I find the value of GWYUID from within a form?
Hi, can someone help me with the below?
I'm trying to determine the value of the environment variable GWYUID from within a form so I can pass this value to the fnd_webfile.get_url function at runtime to display the output of a concurrent program in a web browser.
I've tried the below but this just brings back null. Any ideas on how to find the value at runtime in 11i?
v_gwyuid varchar2(100) := name_in('$environments$.gwyuid');
fnd_message.set_string('GWYUID:'||v_gwyuid);
fnd_message.show;
Thanks, Geoffwow, many, many, many.... and many thanks!
Just add a tiny modify to check out the Batch_type
doc_id = (select batch_id from gme_batch_header where batch_no='&batch_number' and batch_type = 0)
Because the batch_no can be duplicated as we also create Batch and Filrm Planned Order.
Many thanks for your support!
P/S: Sorry for my terrible English :P -
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 nearlest value in 1-D array ?
Hi.. everybody..
I need to seperate the raw data(1-D) into 2 group of array by the center value and then make the average value in each array. But I also still have the problem about if the center value is not the same of some value in the 1-D array. I cannot use the split function.
"How to find the nearlest value to the center point that I calculated, in the 1-D array ?"
Thanks a lot for anybody helpIn a general sense, since I'm not sure what your data values are or how far away your calculated center is from the true value, I would do it one of two ways:
1) Use a threshold value and scan the array until the threshold is reached (assumes constantly increasing values in the array).
2) Use either a) round to nearest integer b) round to + Infinity (round up) or c) round to - infinity (round down). If you don't have decimal values, you'll have to devide the values by a power of 10.
2006 Ultimate LabVIEW G-eek. -
How to find the inserted values in alv
Hello All,
How to find the inserted and deleted values in ALV.
Regards,
lisa.Hi,
copy the output table before calling set_table_for_first_display and refresh_display
then in your event call
CLASS lcl_alv_handler_1100 DEFINITION.
PUBLIC SECTION.
METHODS:
handle_data_changed
FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING er_data_changed,
ENDCLASS.
after this here you can find modified new output table
then compare the new output table with older one
aRs -
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 can i find the value category code in CJVC
Hi Gurus
how can i find the value category code in CJVC and which tables its stored.can any one tell me.please pleaseRead TPIK3 in an internal table, then search COEP-KSTAR in this table, with KSTAR between TPIK3-KSTRF and TPIK3-KSTRT, and other keys like Controlling Area and application/component (eg "PS" in project-system as in CJVC or "PM" in Maintenance as in IW33, multiple application use this table). You can also use a FM like PS_FIND_ACPOS_FOR_KSTAR.
Regards,
Raymond -
How to find the FND_PROFILE.VALUE(ORG_ID) in custom apex schema
Hi,
How to find the FND_PROFILE.VALUE('ORG_ID') from dual in custom schema......
Actually I have integrated Apex 4.2 version with EBS r12
select FND_PROFILE.VALUE('ORG_ID') from dual ; in apps schema I m getting 198 value
but the same query(select apps.FND_PROFILE.VALUE('ORG_ID') from dual ) in custom schema (XXCVBB) returning null value..
Is there any pre steps I have to do...
kindly provide the useful inputs to retrieve the profile value..........
Regards,
PavanHi,
fnd_profile.value('ORG_ID'); will fetch you value only if there is a organization assigned to any application [or only if its a single Org], being it custom application you should have used set policy context or mo_global.init to populate the global temporary table which will hold all the Org's which that specific user has access too.
in your custom code use MO_GLOBAL.SET_POLICY_CONTEXT('S','ORG ID WHICH YOU NEED TO SET');
after setting the policy context, you should be able to see value from fnd_profile.value('ORG_ID');
Hope this Helps!!
MO_GLOBAL.SET_POLICY_CONTEXT
This procedure has two parameters
p_access_mode
Pass a value "S" in case you want your current session to work against Single ORG_ID
Pass a value of "M" in case you want your current session to work against multiple ORG_ID's
p_org_id
Only applicable if p_access_mode is passed value of "S"
MO_GLOBAL.INIT
Purpose of mo_global.init :-
It will check if new Multi Org Security Profile is set, to decide if new Security Profile method will be used.
If the new MO security profile is set, then mo_global.init inserts one record, for each Organization in Org Hierarchy, in table mo_glob_org_access_tmp
Regards,
Yuvaraj -
Hi,
How to find the average of table row values it should display in next row in libwindow/CVI
Please let me know the solution.There isn't a built-in function to perform calculations on thable cells. What you can do is to retrieve thable cells values and calculate the average by yourself.
To retrieve a bunch of cells in a single instruction you can use GetTableCellRangeVals: prerequisite for this function to work correctly is that cells are all included in a Rect structure (shortly, a rectangle) and are all of the same data type. See the help for the function for some explanations and the link to an example of its usage. In Cell range parameter you can pass VAL_TABLE_ROW_RANGE (row) macro to retrieve an entire row. See here for details.
Once you have retrieved cell values in an array, you can pass it to Mean function to calculate the average.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Maybe you are looking for
-
Hi, I have a table with two columns as follows child parent mom grandma daughter mom How can I write a single query so that the result will be daughter,mom,grandma? Thanks Ravi.
-
Hi, I write the some asp code to save the word file from client machine to server machine , and convert it into the html file. it working fine when i debug the code into the visual studio but when i deploy code on iis it give me a error 'This command
-
Cover Flow and pictures of album...
Alright, hey peeps, I have a SLIGHT(ya right) problem. When I take songs from my comp to my iPod classic (80g), when I go on "Songs" it shows an album right? Yeah, well, the thing is, when I go on SONGS, it only shows ONE album picture. Thats ok, but
-
I got a software update message this morning and clicked install and restart. Now my e-mail icon has disappeared from the dashboard. How do I get it back?
-
Need to merge multiple files into pdf automatically
Guys, I need to automate merging files into one pdf, i have looked everywhere and cannot seem to find an answer for it. I need to know if there is a command line tool for acrobat so i can use it in my batch file to combine files?