PO structures or tables that hold the values at Routine level
hi
can any one tell me what are all the MM structures or tables that holds value of mode of transport (OIC_MOT) and Order acknowledgment requirement (KZABS) values at VOFM routine level.
if we caunt find these values at the routine level through structures, is there any other method to get those values at the routine level
vamsi
hi Mav,
it's normal to have + and - records in infocube, the way infocube work is always ADD/INSERT records, any changes to data will be - first then insert new value, e.g
Data come from transaction
Date Customer Order Qty
12.12.2005 A 100
Data go to infocube
Date Customer Order Qty
12.12.2005 A 100
Then transaction change :
Date Customer Order Qty
12.12.2005 A 50
so in infocube will have 3 records :
12.12.2005 A 100
12.12.2005 A -100
12.12.2005 A 50
-- total = 50 (correct)
so its' normal to have - in infocube
you can eliminate these records by do infocube compression.
hope this helps.
Similar Messages
-
Create a new column in a table that compares the value of one column with its previous value
The DDL:
DECLARE
@T TABLE
IDNO
int,
name
varchar(40),
[Date]
datetime2,
Price1
float,
Price2
float
DECLARE
@K TABLE
IDNO
int,
name
varchar(40),
[Date]
datetime2,
Price1
float,
Price2
float
INSERT
INTO @T
VALUES(22,'C_V_Harris','2014-01-02 10:23:49.0000000',
23.335,
23.347)
INSERT
INTO @T
VALUES(21,'C_V_Harris','2014-01-02 10:05:13.0000000',
23.357,
23.369)
INSERT
INTO @T
VALUES(20,'C_V_Harris','2014-01-02 09:56:15.0000000',
23.364,
23.377)
INSERT
INTO @T
VALUES(19,'C_V_Harris','2014-01-02 09:45:26.0000000',
23.351,
23.367)
INSERT
INTO @T
VALUES(18,'C_V_Harris','2014-01-02 09:43:20.0000000',
23.380,
23.396)
INSERT
INTO @T
VALUES(17,'C_V_Harris','2014-01-02 09:34:28.0000000',
23.455,
23.468)
INSERT
INTO @T
VALUES(16,'C_V_Harris','2014-01-02 09:30:37.0000000',
23.474,
23.486)
INSERT
INTO @T
VALUES(15,'C_V_Harris','2014-01-02 09:18:12.0000000',
23.419,
23.431)
INSERT
INTO @T
VALUES(14,'C_V_Harris','2014-01-02 09:16:06.0000000',
23.360,
23.374)
INSERT
INTO @K
SELECT
ROW_NUMBER()
OVER (ORDER
by IDNO)
AS RN,*
FROM
@T
SELECT
* FROM
@K
--not working:
SELECT
a.RN,a.Price2
FROM
@K a
INNER
JOIN @K
b
ON
a.RN=b.RN-1
WHERE
a.Price2>b.Price2
I need to create a view with a column (say 'Comp' below) that compares the value of each row in Price2 with the previous Price2 row, and it is greater then +1, the
same 0, and less -1.
The processed table should be:
IDNO
name
Date
Price1
Price2
Comp
22
C_V_Harris
1/2/2014 10:23:49
23.335
23.347
0
21
C_V_Harris
1/2/2014 10:05:13
23.357
23.369
1
20
C_V_Harris
1/2/2014 9:56:15
23.364
23.377
1
19
C_V_Harris
1/2/2014 9:45:26
23.351
23.367
-1
18
C_V_Harris
1/2/2014 9:43:20
23.38
23.396
1
17
C_V_Harris
1/2/2014 9:34:28
23.455
23.468
1
16
C_V_Harris
1/2/2014 9:30:37
23.474
23.486
1
15
C_V_Harris
1/2/2014 9:18:12
23.419
23.431
-1
14
C_V_Harris
1/2/2014 9:16:06
23.36
23.374
-1
How can I structure the statement to get (the most recent - order by date ) result for Comp?Satheesh Variath, I just had to make some corrections from your script to get the correct answer:
CREATE
VIEW vw_Comp
AS
SELECT
TOP 1 t.IDNO,t.name,t.[Date],t.Price1,t.Price2,
CASE
WHEN t.Price2
> LAG(Price2,1)
OVER (PARTITION
BY name
ORDER BY IDNO)
THEN 1
WHEN t.Price2
< LAG(Price2,1)
OVER (PARTITION
BY name
ORDER BY IDNo)
THEN -1
ELSE 0
END
AS Comp
FROM
@T t
ORDER
BY DATE
DESC
The adjustments: the selection of the most recent comparison (Top 1) and the use of the function LAG (instead of LEAD) to get the previous value of the column. -
Is there any table that holds the history of BEx queries
Hi, I just wanted to know if there is any table that keeps the history of changes done to BEx queries?
HI,
Below tables helps you
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSRREPDIR Directory of all reports
RSZCOMPDIR Directory of reporting components
RSZELTDIR Directory of the reporting component elements
RSZELTDIR Directory of the reporting component elements
RSZRANGE Selection specification for an element
RSZSELECT Selection properties of an element
RSZCOMPIC Assignment reuseable component <-> InfoCube
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZELTPRIO Priorities with element collisions
RSZGLOBV Global Variables in Reporting
RSZELTATTR Attribute selection per dimension element
RSZCHANGES Change history of reporting components
RSZELTPROP Element properties (settings)
Regards,
rvc -
Table name holding the material document
hi friends....plz tell me any table name holding the value of material document(migo) and purchase order.
Hello,
The table for this EKBE -
BAPI OR RFC THAT RETURNS THE VALUE TABLE CONTENTS THAT IS SPECIFIED IN DOM
HI ALL,
i have requirement of BAPI or RFC that returns the value table contants(text table) in CRM..
for ex:
if i pass the dataelement or domain or checktable as input parameter,could i get the contents of its text table associated with it....
please if there is way help me on this..
thanks and regards,
goutham,Check these FM
RFC_READ_TABLE
RFC_GET_TABLE_ENTRIES -
Open Directory Attribute that hold the dn value
Hi,
Does anyone know what's the attribute name that hold the dn value?
e.g. in Active Directory is "distinguishedName; in open LDAP is
"entryDN"
What is it called in open directory?
Thanks
CloudLong123
CloudLong123's Profile: http://forums.novell.com/member.php?userid=73615
View this thread: http://forums.novell.com/showthread.php?t=395843CloudLong123;1904846 Wrote:
> Hi,
>
> Does anyone know what's the attribute name that hold the dn value?
>
> e.g. in Active Directory is "distinguishedName; in open LDAP is
> "entryDN"
>
> What is it called in open[sic] directory?
>
entryDN is an operational attribute available in eDir 8.8 ... not sure
how far back it was introduced. You can see this with
Code:
ldapsearch -x -b cn=bob,o=bobnest entryDN
-->
dn: cn=bob,o=bobnest
entryDN: cn=bob,o=bobnest
Don't have 8.7.3 around to test... will look AM tomorrow.
-- Bob
Bob Mahar -- Novell Knowledge Partner
Do you do what you do at a .EDU? http://novell.com/ttp
"Programming is like teaching a jellyfish to build a house."
http://twitter.com/BobMahar http://vimeo.com/boborama
Bob-O-Rama's Profile: http://forums.novell.com/member.php?userid=5269
View this thread: http://forums.novell.com/showthread.php?t=395843 -
How to hold the value in List box.
Hi All,
On my screen painter Screen I am displaying the Sold to party and ship to party with thier address.
I am also displaying the Shipping condition based on ship to party. To display the shipping condition i am using list box. Once the user enter the sold to party automatically all the field is going to populate in their respective fields. I am facing the problem that, The list box getting populated with shipping condition but once you choose the shipping condition and hit the enter the list box getting refreshed. I am using this code in PAI event. And I can Only use this in PAI.
The Function i am using for list box is CALL FUNCTION 'VRM_SET_VALUES'.
Pls suggest me how to hold the value in List box.
Thanks,
RakeshHi,
Now i am using in PBO.
the code below in in PBO.It is still not holding the value.
if list[] is initial.
perform SHP_COND.
endif.
form SHP_COND .
*DATA: SHOP(80).
clear : GT_VSBED, list.
refresh : GT_VSBED, list.
select vsbed
from knvv AS K
into table GT_VSBED
where Kvkorg = vbak-vkorg "Kkunnr = GV_STPH
and K~vtweg = vbak-vtweg
and K~spart = vbak-spart.
select VSBED vtext
from TVSBT
into table list
for all entries in GT_VSBED
where spras = sy-langu
and vsbed = GT_VSBED-VSBED.
*break-point.
NAME = 'SHP_CON'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = NAME
values = LIST[]
EXCEPTIONS
ID_ILLEGAL_NAME = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " SHP_COND
Thanks,
Rakesh -
Using a session object to hold the value of a record set?
Hi,
I'm trying to hold the value of a record set (or literally the content of a column in a query in a db) in a session variable so that I can call on this later and insert into another table.
I'm not sure of the correct syntax, I've already made a connection to the DB. I'm trying the following but it doesnt seem to like the code:
<% session.setAttribute("code",rs("column_name")); %>
<%String attrib =
String.valueOf ( session.getAttribute("code")); %>
Hello <%= attrib %>
Any ideas, I dont know how to reference the record set, I declared the recordset previously as rs. Help! Can't find examples anywhere on the net!So just to recap. I appear to be seeing the column name "custorderno" within the Microsoft Access query "lastcust". But I get "no data found" when I run the following code (which I have sectioned off)
<!-- connect to database and lastcust query --!>
<%
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
Connection conn = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/Tomcat/jakarta-tomcat-4.1.31/webapps/ROOT/Oatcake.mdb","","");
Statement statement = conn.createStatement();
String sql = "SELECT * FROM lastcust";
ResultSet rs = statement.executeQuery(sql);
while (rs.next()) {
%>
<TR><TD><%= rs.getString("custorderno") %></TD>
</TR>
<% session.setAttribute("code",rs.getString("custorderno")); %>
<% String attrib =
String.valueOf ( session.getAttribute("code") ); %>
Hello <%= attrib %> [B]
<%
%>
</TABLE>
<%
if (statement != null)
statement.close();
if (conn != null)
conn.close();
catch (Exception e) {out.print(e);}
%>
</BODY>
</HTML>
No as mentioned I am (as you can see) declaring everything as a string when in actual fact the contents of the "custorderno" within the query is set to a autonumber within MS Access.
The while loop does work by returning the contents but the session object part is not working correctly with the following result returned:
[B]java.sql.SQLException: No Data Found
Help please! -
Holding the value in screen-field
Dear All,
I m facing the problem ,while i m putting the value in screen-field and then pressing enter,
value in that screen-field is becoming null automatically.
wht shld i do for holding the value even after PAI.
Thanks in advance.Hi,
You should define a corresponding variable for that screen field in your program.
data: my_input_field type ... "same name and type as the one used in screen for field
so when you enter data to that field and press ENTER, the data will be transported to that variable and in PAI you have its value there.
Regards
Marcin -
How to hold the values as it's not holding the values when it cross 255
DATA : fval1 TYPE edidd-sdata.
DATA : fval2 TYPE edidd-sdata.
DATA : fval3 TYPE edidd-sdata.
DATA : fval4 TYPE edidd-sdata.
DATA : fval5 TYPE edidd-sdata.
DATA : len(3) TYPE n.
values1 = wa_final-low.
values2 = wa_final-high.
IF wa_final-high IS NOT INITIAL.
CONCATENATE values1 values2 INTO fval1 SEPARATED BY '-'.
ELSE.
fval2 = values1.
ENDIF.
IF fval3 IS NOT INITIAL.
IF fval1 IS NOT INITIAL.
fval = fval1.
CONCATENATE fval3 fval INTO fval3 SEPARATED BY '/'.
ENDIF.
IF fval2 IS NOT INITIAL.
fval = fval2.
CONCATENATE fval3 fval INTO fval3 SEPARATED BY '/'.
ENDIF.
ELSE.
IF fval1 IS NOT INITIAL.
fval3 = fval1.
ENDIF.
IF fval2 IS NOT INITIAL.
fval3 = fval2.
ENDIF.
ENDIF.
DATA : len(3) TYPE n.
len = STRLEN( fval3 ).
IF len > 250.
fval4 = fval3+0(250).
fval3 = fval3+250(5).
* CONCATENATE fval4 fval3 INTO fval5.
ENDIF.
IF fval4 IS INITIAL.
wa_final1-varbl31 = fval3.
ELSE.
CONCATENATE fval4 fval3 INTO fval5.
wa_final1-varbl31 = fval5.
ENDIF.
MODIFY it_final1 FROM wa_final1
TRANSPORTING varbl31 WHERE agr_name = wa_final-agr_name.
at this point also it's not holding the values when it exseds 255
kindly please helpH friends ,
i am not the expert at the same time i know some thing in abap
fval4 = fval3+0(250).
fval3 = fval3+250(5).
in the above case fval3 have 255 char at that time iam transporting 250 char to fval4 with this statment
fval4 = fval3+0(250).
and iam keeping the remaining 5 char in fval3 with this statment
fval3 = fval3+250(5)
so that i can push some more values in fval3 and at i am
CONCATENATE fval4 fval3 INTO fval5.
so that fval5 may get all values this is the way i try but fval5 is not holding all the values
i asked solution for that
fval 3 = fval3+250(250)
dosen't have any meaning i know that friend
my question is how to hold the remaining value -
Table that gives the relation between plant and company code
Hi gurus,
I actually have plant number and using this plant value i need to get the company code.
Is there any table that gives the relation between plant and company code. So,that i can get the company code details.
Thanks in advance.Hi Bhanuphani,
Use T001K where BWKEY is the plant
Reward if useful
Thanks Arjun -
Name of data_dictionary table that holds...
oracle dudes...does anyone know the name of the data_dictionary view that holds the name of the column of a table and indicates if it is a primary key or not?
much appreciated
satnamHi,
to find out the columns in a constraint,
ask the dba_cons_columns and dba_constraints
or modify this script:
break on CONSTRAINT_NAME skip 1
column ATTRIBUTE format a30
select c.constraint_name "CONSTRAINT_NAME",cc.column_name "ATTRIBUTE",
c.constraint_type "TYP",c.r_constraint_name "REF"
from all_constraints c, all_cons_columns cc
where c.constraint_name=cc.constraint_name
and c.owner=cc.owner
and c.constraint_type in ('R','P','U')
--and c.constraint_type in ('C')
and c.table_name=upper('&Tabelle')
and c.owner = (select user from dual)
order by decode(c.constraint_type,'P',1,
'U',2,
'R',3,
99),
c.constraint_name,
cc.position
Hope that helps
Detlev -
Table that holds time of transactions
Hi,
Is there a table in Oracle that holds the times of transactions? I know some tables old times and dates in the same field but was wondering if there is a table that just holds times?
Thanksuser10590173 wrote:
Hi,
Is there a table in Oracle that holds the times of transactions? I know some tables old times and dates in the same field but was wondering if there is a table that just holds times?
Thanksno -
How can i do a variable User exit that present the values before execute
Hi Gurus,
How can i do a variable User exit that present the values before execute, i need this:
a variable that calculate SYS-DATUM until 30 days before (I got the code) but this variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , helpHi,
Refer the below links,
http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
http://www.erpgenie.com/component/content/article/1097
http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
Hope it helps you,
Regards,
Ravindra. -
Table that has the hier text names and the corresponding hier ID
Hi,
Would anyone happen to know the table that has the hier name text as it appears from the infoObject level and the corresponding Internal hierarchy ID (unique ID) for data element RSHIEID. I would want ot be bale to match the text name o f the hier to the hier ID.
Thanks
WillTrying to make it simpler taking the 0material hierarchy note that the 0material has been loaded with 3 different hierarchies:
fields in the H table:
HIEID - 434FLR9O6DX0XXJS3CLIYZODD (Refers to the particular hierarchy as mentioned I have 3 hierarchies loaded to 0Material)
OBJVERS - Active and so on
NODEID - 4 digit internal number of the hierarchy
These are the Keys that identifies the hierarchy uniquely in my case the 1st hierarchy.
Now if you want to find the nodes then based on the example above I will take the hierarchy id ie 434FLR9O6DX0XXJS3CLIYZODD for the field HIEID that would give me all the nodes of this hierarchy
Note: the HIEID for a particular hierarchy can be found from the HEADER info
Thanks,
Raj
Maybe you are looking for
-
Where can I find a detailed tutorial on how to use iTunes for Mac?
I need to get a really good tutorial on iTunes for Mac 12.0.1.26. I am really hung up on being able to download artwork for 2 Albums that I have recently purchased. I have been using Macs since the 128K Classic. However I never got into using iTunes
-
ITunes will not install on my Windows 8 laptop
I have a laptop with Windows 8.1 on it. I have tried installing iTunes a bunch of times (with different browers) and have also tried to follow the instructions that Apple usually posts in response to these complaints...but no luck. It looks like it
-
Error when inserting Web Dynpro script
Hello, I am trying to create a new form using fields from KNA1 and am using ISR controls. When I try to insert Webdynpro scripts i get message "Error when inserting Web Dynpro script" Message no. FPUIFB094. Has anyone faced this error? no notes are a
-
Can the text in the header row be slanted?
In Excel the text in the header row can be slanted at an angle in order to show a long header text in a narrow column. Can this be done in Numbers?
-
Electronic PDF Submit - extend.dat file ??
Hi, I am a website designer and this part of my job feels out of my league. My clients assigned me to convert a hard copy PDF into an electronic PDF document that can be filled out on the computer, saved, and then directly sent to the recipient. I us