What is" LINE-COL2 = SY-INDEX ** 2."
can u explain what is '' ** "
FIELD-SYMBOLS <FS> LIKE LINE OF ITAB.
DO 4 TIMES.
LINE-COL1 = SY-INDEX.
LINE-COL2 = SY-INDEX ** 2. "what this will do
APPEND LINE TO ITAB.
ENDDO.
Hi sunil,
1 ** means "To the power of"
2. eg. 5 ** 2 = 25
(5 To the power of 2 = 25)
regards,
amit m.
Similar Messages
-
What is difference between sy-index and sy-tabix and where both are using ?
what is difference between sy-index and sy-tabix and where both are using ?
hi nagaraju
sy-tabix is in Internal table, current line index. So it can only be used while looping at the internal table.
sy-index is in Loops, number of current pass. This you can use in other loop statements also (like do-enddo loop, while-endwhile)
SY-INDEX is a counter for following loops: do...enddo, while..endwhile
SY-TABIX is a counter for LOOP...ENDLOOP, READ TABLE...
Here is an example from which you can understand the difference between sy-tabix and sy-index.
Itab is an internal table with the following data in it.
id Name
198 XYZ
475 ABC
545 PQR.
loop at itab where id > 300.
write :/ itab-id, itab-name , sy-tabix, sy-index.
endloop.
My output will be :
475 ABC 2 1
545 PQR 3 2
Sy-tabix is the index of the record in internal table.
sy-index gives the no of times of loop passes.
So, for the first record in the output (475 ABC), 2 is the index of the record in internal table and as it is first time loop pass occured, sy-index value is 1.
Regards,
navjot
award points -
I need in more lines of the Index some words in Bold text and some others in Kursiv text. How can i get it? It seems to me that either I can edit a Style only in Bold Text or in Kursiv Text
I make you an example to clear what I really need:
Index
Introduction
I. Leonardo's Monnalisa
II. Leonardo's Battaglia
Bibliography
Please HELP HELP HELPWhat version of Pages are you referring to?
Basically if you are talking about the Table of Contents in Pages and want to have different character styles within paragraphs in the T.O.C. you will have to export the T.O.C. and bring it back in as text and change that.
Peter -
"Incompatible line delimiter near index"
G’day
I’m doing a search and replace of \t\r\n, replacing it with just \r\n. CFB says to me "Incompatible line delimiter near index", in red, down the bottom of the Find/Replace dialogue.
What does that mean?
Also, if I click the Help icon next to the message, I just get "The context help for this user interface element could not be found".
AdamYou're trying to use \n instead of \r\n in the replace.
I got it when I matched:
\n\t*foo
in order to match the whitespace formatting in my source code. The fix for me was to use
\r\n\t*foo instead. -
What is line item dimension and cardinality in BI 7.0
Can u plz suggest me what is line item dimension and cardinality in BI 7.0..
Thanks in advance.
VenkatHi Babu
Line item: This means the dimension contains precisely one characteristic. This means that the system does not create a dimension table. Instead, the SID table of the characteristic takes on the role of dimension table. Removing the dimension table has the following advantages:
¡ When loading transaction data, no IDs are generated for the entries in the dimension table. This number range operation can compromise performance precisely in the case where a degenerated dimension is involved.
¡ A table- having a very large cardinality- is removed from the star schema. As a result, the SQL-based queries are simpler. In many cases, the database optimizer can choose better execution plans.
Nevertheless, it also has a disadvantage: A dimension marked as a line item cannot subsequently include additional characteristics. This is only possible with normal dimensions.
Note: In SAP BW 3.0, the term line item dimension from SAP BW 2.0 must a) have precisely one characteristic and b) this characteristic must have a high cardinality. Before, the term line item dimension was often only associated with a). Hence the inclusion of this property in the above. Be aware that a line item dimension has a different meaning now than in SAP BW2.0.
SAP recommends that you use ODS objects, where possible, instead of InfoCubes for line items.
Hope this helps.
Plz check these links:
SAP Help:
http://help.sap.com/saphelp_nw04s/helpdata/en/a7/d50f395fc8cb7fe10000000a11402f/frameset.htm
Thanks & Regards
Reward if helped
Edited by: Noor Ahmed khan on Aug 5, 2008 2:36 PM -
What is the effect of INDEXING on Cube? and on DSO?
Hi,
I am trying to figure out the effect of indexing on a Cube and DSO.
1. My findings so far indicates that Indexing is a database concept but so is partition but partitioning applies in the case of a Cube. Right?
2.What is the effect of Indexing on a cube? How is it related to the "database concept that I keep reading?
How is it implement in BI?
3.What is the effect of Indexing on a DSO? How is it related to the "database concept that I keep reading?
How is it implement in BI?
ThanksHi,
thanks for the detailed information. I will appreciate some help on these follow ups on your posting:
On your answer to 1:
I read that there are 2 partitions, logical and physical. It is the physical partitioning which takes place at the database level, so can I assume that when you said u201CEven DSO can be partitionedu201D you meant the physical partition? And that logical partitioning is not possible in DSOs?
On your answer to 2:
So in the above you suggested that indexes apply not only to cubes but also to DSO with the statement that u201C..secondary indexes can be built on DSO u2026u201D
If so, how come there is not feature to drop and rebuild indexes for data load to DSOs?
I will appreciate a hint on the difference between u201Cindexesu201D and u201Csecondary indexesu201D. I am ok with what u201Cindexesu201D is, is the use of u201Csecondaryu201D that threw me off.//
On your answer to 3:
i.
Based on the link, there does not appear to be a simply way to drop and rebuild indexes in DSOs. It appears an ABAPer needs to be involved. Isnu2019t there a simply way as in cubes, to click on buttons for the index implementation for DSOs?
ii.
It suggests one must choose between B-tree and Bit map indexes, right? Is this the function of the BI consultant or as DBA? If the BI consultant should be able to do this, where is it implemented in BI?
Can you explain what you meant by u201Ccardinality of a column is lowu201D?
iii.
I know how in rsa1, a Cube can be partitioned on 0calmonth and 0fisper. If this is done at the database level, then can it be done also for DSO? If so, where in BI is it done for DSOs?
You also noted that SAP DB does not support table partitioning but Oracle does.
I know in my environment, the BASIS consultants are always talking about Oracle so I am assuming we have Oracle and not SAP DB.
I never heard of SAP DB, is it a substitute for Oracle in SAP BI environments?
Is it a DB that comes directly from SAP; if so, why do companies not keep the total SAP package but prefer to use Oracle? Is it because the SAP DB does not support table partitioning?
Thanks -
What is the use of Indexes in ODS&Infocube??
What is the use of Indexes in ODS&Infocube??
An Index can improve the reading performance when data is searched for values of fileds contained in the index.
The fact whether the Index is used or not depends on the database optimizer, which decides it after taking the following under consideration:
- Size of the table
- Fields in the index compared to the fields in the statement
- The quality of the index (its clustering factor)
One backdraw of Index is that they decrease writing performance, as they are maintained during the write to the table.
Hope it helps you,
Gilad -
What is line item datas,how can u check line item in Infocube?
Hi friends,
what is line item datas,how can u check line item in Infocube?hi konda,
line item data
i shall give u an example .
consider a super market bill,
the bill has 1.customer name 2. bill number 3. date of purchase
the above line will be header.
line item data are the items which u purchase.
item 1 pencil 2 rubber 3. sharpner 4. cryon 5. sketch pens
above are line item datas. for a particular set of header data u may have many line item datas.
reward points if helpful.
bye. -
What is line item display? Explain in detail.
what is line item display? Explain in detail.
hi rama,
there are two type of data in database table.
header data: means data will be unique, there will be single row for key fields.
like bkpf , vbak, kna1 etc these have the unique data.
and second one is line item data.
LINE ITEM DATA: That have the multiple entries regarding key fields.
like bseg, vbap etc .
when you go for coding first you take the header data from header table because that are unique then on the reference of that unique data we pick up line item data from item table by joining those two table.
for ex bkpf have unique documnet no belnr so on the basis of belnr we picked the line item data from bseg.
jus take the refrence of below code that have the header and line item data from bkpf and bseg respectively.
*& Report ZVIJ_TEST1
REPORT ZVIJ_TEST1 NO STANDARD PAGE HEADING LINE-SIZE 105 LINE-COUNT 36(3).
TABLES: BKPF,BSEG.
DATA: BEGIN OF T_BKPF OCCURS 0,
BUKRS LIKE BKPF-BUKRS,
BELNR LIKE BKPF-BELNR,
GJAHR LIKE BKPF-GJAHR,
BLART LIKE BKPF-BLART,
TCODE LIKE BKPF-TCODE,
END OF T_BKPF.
DATA: BEGIN OF T_BSEG OCCURS 0,
BUKRS LIKE BSEG-BUKRS,
BELNR LIKE BSEG-BELNR,
GJAHR LIKE BSEG-GJAHR,
BSCHL LIKE BSEG-BSCHL,
END OF T_BSEG.
DATA: BEGIN OF T_FINAL OCCURS 0,
BUKRS LIKE BSEG-BUKRS,
BELNR LIKE BSEG-BELNR,
GJAHR LIKE BSEG-GJAHR,
BLART LIKE BKPF-BLART,
TCODE LIKE BKPF-TCODE,
BSCHL LIKE BSEG-BSCHL,
END OF T_FINAL.
DATA: COUNT LIKE SY-TABIX.
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH frame title TEXT-001.
SELECTION-SCREEN: SKIP 1.
SELECT-OPTIONS: BELNR FOR BKPF-BELNR.
PARAMETERS: FISC_YR LIKE BKPF-GJAHR,
CHK AS CHECKBOX.
SELECTION-SCREEN: END OF BLOCK B1.
START-OF-SELECTION.
PERFORM READ.
END-OF-SELECTION.
PERFORM DISPLAY.
WRITE:/5 'Page No :',14 SY-PAGNO,60 'No of Records :',76(6) COUNT.
TOP-OF-PAGE.
WRITE:/35 'Report for SET INDIA' COLOR 6.
FORMAT COLOR 1 ON.
WRITE:/5 'Date:',11 SY-DATUM,50 'Created By:',65 SY-UNAME.
WRITE:/2 'COMPANY CODE',15 'DOCUMENT NO', 35 'FISCAL YEAR',
50 'DOC TYPE',65 'TCODE', 75 'BSCHL'.
FORMAT COLOR OFF.
WRITE:/2(80) SY-ULINE.
END-OF-PAGE.
WRITE:/5 'Page No :',14 SY-PAGNO,60 'No of Records :',76(6) SY-TABIX.
*& Form DISPLAY
text
--> p1 text
<-- p2 text
FORM DISPLAY .
FORMAT COLOR 5 ON.
COUNT = 0.
LOOP AT T_FINAL.
WRITE:/2 T_FINAL-BUKRS,14 SY-VLINE,15 T_FINAL-BELNR,34 SY-VLINE,35 T_FINAL-GJAHR,
49 SY-VLINE, 50 T_FINAL-BLART,64 SY-VLINE,65 T_FINAL-TCODE,74 SY-VLINE,
75 T_FINAL-BSCHL.
COUNT = COUNT + 1.
ENDLOOP.
FORMAT COLOR OFF.
ENDFORM. " DISPLAY
*& Form READ
text
--> p1 text
<-- p2 text
FORM READ .
SELECT BUKRS BELNR GJAHR BLART TCODE FROM BKPF INTO CORRESPONDING FIELDS OF
TABLE T_BKPF WHERE
GJAHR = FISC_YR AND
BELNR IN BELNR.
SELECT BUKRS BELNR GJAHR BSCHL FROM BSEG INTO CORRESPONDING FIELDS OF TABLE
T_BSEG FOR ALL ENTRIES IN T_BKPF
WHERE BUKRS = T_BKPF-BUKRS AND
BELNR = T_BKPF-BELNR AND
GJAHR = T_BKPF-GJAHR.
SORT T_BKPF BY BELNR.
SORT T_BSEG BY BELNR.
LOOP AT T_BSEG.
T_FINAL-BUKRS = T_BSEG-BUKRS.
T_FINAL-BELNR = T_BSEG-BELNR.
T_FINAL-GJAHR = T_BSEG-GJAHR.
T_FINAL-BSCHL = T_BSEG-BSCHL.
READ TABLE T_BKPF WITH KEY BUKRS = T_BSEG-BUKRS
BELNR = T_BSEG-BELNR.
T_FINAL-BLART = T_BKPF-BLART.
T_FINAL-TCODE = T_BKPF-TCODE.
APPEND T_FINAL.
CLEAR T_FINAL.
ENDLOOP.
ENDFORM. " READ
regards
vijay dwivedi
rewards if usefull to you* -
What causes lines trough monitor
what causes lines through monitor
Take a screen shot & view that in Preview, move the Preview window around, if you see double lines it's a Video card/VRAM problem, if the lines do not move moving the pic around then it's the LCD or cable.
Have you blown the dust out lately?
Get Temperature Monitor to see if it's heat related...
http://www.macupdate.com/info.php/id/12381/temperature-monitor
iStat Menus...
http://bjango.com/mac/istatmenus/ -
Can any one explain to me what smart line phone access is? Am I paying to use my own Wi fi???
Thanks, lingo, for your contribution.
Hello Perona,
Lingo, is correct. If you currently have the Share Everything Plan on your account your bill will reflect a monthly line access per device. This description is indicating the monthly access of a Smartphone on your plan. If you have any additional questions don't hesitate to ask.
DaisyP_VZWSupport -
How To Determine from what modifier line a pricing attribute is called
Hello,
We would like to know from what modifier line a pricing attribute is called.
When creating the attribute mapping you have the global record structure to your disposal,
however do you also have the opportunity to determine the modifier line id.
We would like to create some modifiers with some pricing attributes (using attribute mapping)
and those pricing attributes should return different results based on the modifier they are attached to.
Many thanks!
rgds
Leen
Edited by: user798765 on Apr 13, 2010 6:25 AMThe only one I know is using java version 1.4:
http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getStackTrace() -
In making .ard file what command line argument
In making .ard file what command line argument must be kept
Taken form SAP Business One Development Environment Project.
.bat file:
"SAPAddOnRegDataGenFileFolder\AddOnRegDataGen.exe" "YourAddOnInstallXMLFolder\YourAddOnInstall.xml" "1.1" "YourAddOnInstallFolder\YourAddOnInstall.exe" "YourAddOnInstallFolder\YourAddOnInstall.exe" "YourAddOnFolder\YourAddOn.exe"
.xml file:
<AddOnInfo partnernmsp="YOU" contdata="Your Name" addonname="YOUR ADD-ON" addongroup="M" esttime="60" instparams="" uncmdarg="/x" partnername="YOU" unesttime="30" />
Hope it helps.
D. -
What command line parameters will QuickTimePlayer.exe accept?
What command line parameters will QuickTimePlayer.exe accept?
I wish to create a shortcut that will open URL to a .mov with the QuickTime application.Hi,
I found the Script at the Task schedulder /libary/ Microsoft/defrag
There was some discussion of this topic here:
https://social.technet.microsoft.com/Forums/windows/en-US/7fc46461-daf5-4004-b1a7-ca645e370ee5/defrag-on-ssd-the-volume-system-reserved-was-not-optimized-because-an-error-was-encountered-the?forum=w8itprogeneral
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
What new line character in string is needed to show new line
If i need to show java string in a html text area with new lines(that is 2 -3 lines of text ) what new line character i need to add.
I tried \n and /n but these are not working fine. Can anyone help me.If i need to show java string in a html text area
with new lines(that is 2 -3 lines of text ) what new
line character i need to add.
I tried \n and /n but these are not working fine. Can
anyone help me.HTML ignores line breaks. You will need to use markup (<br>) to force a new line.
Maybe you are looking for
-
Saved Logic 9 projects will not open.
Hi all, wondering how many other people are running into this issue. Basically ever since I upgraded to Lion, none of the projects I save in Logic Pro 9 (updated to 9.1.6) will open when I double click on them. Logic will launch just fine to my def
-
Black Screen on Windows 7 boot - Boot Camp
I am getting a black screen on reboot of Windows. It just started last night during a viewing of a video. The system shut down and started to reboot and went to black screen after the partition was selected from pressing the option key. The system ha
-
If I buy an iPhone 5 can you sent it to Vietnam
If I buy an iPhone 5 in USA can you ship into Vietnam
-
Hi all i m trying to compare the value of text where text is a string and values is a string array as shown below if(text.equals(values[0]) ) but it is not giving the desired result when i try this if(text.equals(values[0]) | text2.equals(values[9]))
-
Targeting SWF via JS with Active Content update
Hi all, I've tried the DW8 forum without success, can anyone here help please? I have to upgrade an old site which uses Javascript to control Flash content. If I allow Dreamweaver 8 to implement the Active Content code fix for the IE interactivity wo