What is the usage of I_ALL_ATTRS_FREESTYLE in trex_ext_create_index
hi,
how to use I_ALL_ATTRS_FREESTYLE while creating index using trex_ext_create_index.
what are the benefits it is offering.
hoping for your reply
Hi,
you know that you have posted your ABAP coding question in a KMC / Portal Forum.
So the most guys are very familar with KMC and some are also familar in KMC java programming.
So you can post some KMC configuration question to this forum.
Or some KMC API question and so on......
Now you wanna know something about the function module in ABAP o an ERP system.
Which version do you have ERP 6.0 EhP4 or another?
This is important because you wanna use a not supported and released function module in ABAP.
This function module has changed during the time. Not in all versions there exists the import parameter I_ALL_ATTRS_FREESTYLE in the function module trex_ext_create_index.
So for implementing something in ABAP please use the public function modules of SES or embedded search.
Do not use the TREX function modules. Or you can use this function modules but this will not supported by SAP.
Best regards
Frank
Similar Messages
-
What is the usage of for all entries ?
What is the Usage of read table after using for all entries ?
In the following example what exactly it is doing ?
Usage of 'for all entries' in Select Statement
FORM data_retrieval.
DATA: ld_color(1) TYPE c.
DATA: BEGIN OF T_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN,
MATNR LIKE VBAP-MATNR,
POSNR LIKE VBAP-POSNR,
END OF T_VBAP.
DATA: BEGIN OF T_VBFA OCCURS 0,
VBELV LIKE VBFA-VBELV,
VBELN LIKE VBFA-VBELN,
VBTYP_N LIKE VBFA-VBTYP_N,
END OF T_VBFA.
DATA: BEGIN OF T_VBAK OCCURS 0,
VBELN LIKE VBAK-VBELN,
IHREZ LIKE VBAK-IHREZ,
END OF T_VBAK.
DATA: BEGIN OF T_KNA1 OCCURS 0,
KUNNR LIKE KNA1-KUNNR,
NAME1 LIKE KNA1-NAME1,
END OF T_KNA1.
DATA: BEGIN OF T_MAKT OCCURS 0,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
END OF T_MAKT.
SELECT likpvbeln likplifex likpbldat likpwadat likpwadat_ist likpkodat likp~lfart
likpkunnr likpvstel lipsposnv lipslfimg lipsvrkme lipslgmng lips~meins
lipswerks lipslgort lipscharg lipsvbelv lipsposnr lipsmatnr
lipsvbeln LIPSVGBEL LIPSVGPOS vbupkosta vbupwbsta vbupposnr vbup~vbeln
VBAKIHREZ VBAKVBELN VBAP~VBELN
INTO CORRESPONDING FIELDS OF TABLE it_itab
FROM ( likp
INNER JOIN lips
ON lipsvbeln = likpvbeln
INNER JOIN vbup
ON vbupposnr = lipsposnr
and VBUPVBELN = LIPSVBELN )
left outer join VBAK
on VBAKVBELN = LIPSVGBEL
inner join VBAP
on VBAPVBELN = VBAKVBELN )
WHERE likp~vbeln IN so_vbeln
AND likp~lifex IN so_lifex
AND likp~lfart IN so_lfart
AND likp~kunnr IN so_kunnr
AND likp~vstel IN so_vstel
AND likp~bldat IN so_bldat
AND likp~wadat_ist IN so_wadat
AND vbup~kosta IN so_kosta
AND vbup~wbsta IN so_wbsta
AND LIPS~LFIMG NE 0.
SELECT VBELN IHREZ INTO TABLE T_VBAK
FROM VBAK
FOR ALL ENTRIES IN IT_ITAB
WHERE VBELN = IT_ITAB-VGBEL.
APPEND T_VBAK.
ENDSELECT.
SELECT VBELN MATNR POSNR INTO TABLE T_VBAP
FROM VBAP
FOR ALL ENTRIES IN IT_ITAB
WHERE VBELN = IT_ITAB-VGBEL AND
MATNR = IT_ITAB-MATNR AND
POSNR = IT_ITAB-VGPOS.
APPEND T_VBAP.
ENDSELECT.
SELECT VBELV VBELN VBTYP_N INTO TABLE T_VBFA
FROM VBFA
FOR ALL ENTRIES IN IT_ITAB
WHERE VBELV = IT_ITAB-VBELN AND
VBTYP_N = 'M' .
SELECT KUNNR NAME1 INTO TABLE T_KNA1
FROM KNA1
FOR ALL ENTRIES IN IT_ITAB
WHERE KUNNR = IT_ITAB-KUNNR.
APPEND T_KNA1.
ENDSELECT.
SELECT MATNR MAKTX INTO TABLE T_MAKT
FROM MAKT
FOR ALL ENTRIES IN IT_ITAB
WHERE MATNR = IT_ITAB-MATNR.
APPEND T_MAKT.
ENDSELECT.
*Populate field with color attributes
LOOP AT it_itab INTO wa_ITAB.
Populate color variable with colour properties
Char 1 = C (This is a color property)
Char 2 = 3 (Color codes: 1 - 7)
Char 3 = Intensified on/off ( 1 or 0 )
Char 4 = Inverse display on/off ( 1 or 0 )
i.e. wa_ekko-line_color = 'C410'
REFRESH color.
colourize 'VBELN' 0. " .
WA_ITAB-farbe = color[].
ld_color = ld_color + 1.
Only 7 colours so need to reset color value
IF ld_color = 3. "8
ld_color = 1.
ENDIF.
CONCATENATE 'C' ld_color '10' INTO wa_ITAB-line_color.
WA_ITAB-NAME1 = ''.
WA_ITAB-MAKTX = ''.
WA_ITAB-IHREZ = ''.
WA_ITAB-VBELV = ''.
READ TABLE T_KNA1 WITH KEY KUNNR = WA_ITAB-KUNNR.
IF SY-SUBRC = 0.
WA_ITAB-NAME1 = T_KNA1-NAME1.
ENDIF.
READ TABLE T_MAKT WITH KEY MATNR = WA_ITAB-MATNR.
IF SY-SUBRC = 0.
WA_ITAB-MAKTX = T_MAKT-MAKTX.
ENDIF.
READ TABLE T_VBAK WITH KEY VBELN = WA_ITAB-VGBEL.
IF SY-SUBRC = 0.
WA_ITAB-IHREZ = T_VBAK-IHREZ.
ENDIF.
READ TABLE T_VBFA WITH KEY VBELV = WA_ITAB-VBELN.
IF SY-SUBRC = 0.
WA_ITAB-VBELVA = T_VBFA-VBELN.
ENDIF.
READ TABLE T_VBAP WITH KEY VBELN = WA_ITAB-VGBEL
POSNR = WA_ITAB-VGPOS
MATNR = WA_ITAB-MATNR.
IF SY-SUBRC = 0.
WA_ITAB-IHREZ = T_VBAK-IHREZ.
ENDIF.
wa_ekko-line_color = 'C410'.
MODIFY it_itab FROM wa_itab.
ENDLOOP.
ENDFORM. " data_retrievalhi Jyotirmoy,
The explanation below can give u an idea of wat is going in ur code..
Use of FOR ALL Entries
Outer join can be created using this addition to the where clause in a select statement. It speeds up the performance tremendously, but the cons of using this variation are listed below
Duplicates are automatically removed from the resulting data set. Hence care should be taken that the unique key of the detail line items should be given in the select statement.
If the table on which the For All Entries IN clause is based is empty, all rows are selected into the destination table. Hence it is advisable to check before-hand that the first table is not empty.
If the table on which the For All Entries IN clause is based is very large, the performance will go down instead of improving. Hence attempt should be made to keep the table size to a moderate level.
Not Recommended
Loop at int_cntry.
Select single * from zfligh into int_fligh
where cntry = int_cntry-cntry.
Append int_fligh.
Endloop.
Recommended
Select * from zfligh appending table int_fligh
For all entries in int_cntry
Where cntry = int_cntry-cntry.
Thankyou,
Regards. -
What is the usage of START_FORM and OPEN_FORM
Hi,
In sap script,exactly what is the usage of START_FORM,OPEN_FORM,CLOSE_FORM and END_FORM.Could you please help out.
Thanks,
MadhuHai Madhu
For START_FORM
SAPscript: Start a form
The layout set can be changed in the current print procedure with START_FORM. It is therefore possible to combine several different layout sets in one printer output. Before a new layout set is opened with START_FORM, an open layout set must be closed with END_FORM.
Parameters
ARCHIVE_INDEX
FORM
LANGUAGE
STARTPAGE
PROGRAM
MAIL_APPL_OBJECT
LANGUAGE
Exceptions
FORM
FORMAT
UNENDED
UNOPENED
UNUSED
SPOOL_ERROR
CODEPAGE
For OPEN_FORM
SAPscript: Open form printing
The module OPEN_FORM opens layout set printing. This function must be called up before you can work with other layout set functions (WRITE_FORM, ...).
It is not obligatory to enter a layout set name to open it. If a layout set is not specified, one must be opened with START_FORM.
For information on DEVICE MAIL see function module SO_NEW_DOCUMENT_SEND_API1
Parameters
APPLICATION
ARCHIVE_INDEX
ARCHIVE_PARAMS
DEVICE
DIALOG
FORM
LANGUAGE
OPTIONS
MAIL_SENDER
MAIL_RECIPIENT
MAIL_APPL_OBJECT
RAW_DATA_INTERFACE
SPONUMIV
LANGUAGE
NEW_ARCHIVE_PARAMS
RESULT
Exceptions
CANCELED
DEVICE
FORM
OPTIONS
UNCLOSED
MAIL_OPTIONS
ARCHIVE_ERROR
INVALID_FAX_NUMBER
MORE_PARAMS_NEEDED_IN_BATCH
SPOOL_ERROR
CODEPAGE
For CLOSE_FORM
SAPscript: End layout set printing
Form printing started with OPEN_FORM is completed. Possible closing operations on the form last opened are carried out.
Form printing must be completed by this function module. If this is not carried out, nothing is printed or displayed on the screen.
Parameters
RESULT
RDI_RESULT
OTFDATA
Exceptions
UNOPENED
BAD_PAGEFORMAT_FOR_PRINT
SEND_ERROR
SPOOL_ERROR
CODEPAGE
For END_FORM
SAPscript: Terminate a form
Closes the current layout set. Final operations required on this layout set are carried out.
CAUTION: END_FORM is not a replacement for CLOSE_FORM.
Parameters
RESULT
Exceptions
UNOPENED
BAD_PAGEFORMAT_FOR_PRINT
SPOOL_ERROR
CODEPAGE
Thanks & regards
Sreenivasulu P -
What does the usage of CURSOR word mean in an SQL statement?
Hey folks,
Please check out the following query and do please explain me what does the usage of CURSOR keyword in an SQL statement mean.
select deptno,cursor(select ename from emp a where a.deptno=b.deptno) from dept b;
well, the output was like this,
DEPTNO CURSOR(SELECTENAMEFR
10 CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
CLARK
KING
20 CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
SMITH
JONES
SCOTT
ADAMS
FORD
30 CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
ALLEN
WARD
MARTIN
BLAKE
TURNER
JAMES
6 rows selected.
40 CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
no rows selected
Your favour'll be deeply appreciated.
Cheers,
PCZThis returns a non-square result set. Each row of the result is a deptno and then a result set of the enames in that deptno.
This can be useful when you need to send a lot of data to a client application in a single query that would otherwise contain a lot of redundancy. It tends to be a relatively unusual construct (I've only found one situation where it was appropriate in my career) and requires some relatively sophisticated understanding on both the database and client sides.
Justin -
What is the usage of Request Variable ? and how we can use it ?
Hi All,
What is the usage of Request Variable ? and how we can use it ?
Thanks in advanceHi,
A Request variable is the same as a Session variable:
http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_Variables4.html
Cheers,
Daan Bakboord
Scamander Solutions -
OS:RH71
ORACLE RELEASE 8.1.7
what's the usage of function dbms_standard.client_ip_address of
sys? THX.Johnny.Danger wrote:
We have a somewhat mini scale network. We have anywhere from 40 to 60 ranging from WLan and Lan devices. Right now we have been using opendns for content filtering but we would like to limit certain sites to just certain groups and if someone goes onto a site they shouldn't then what we would like to know is the IP of the user and there mac address If we could somehow find a captive portal software or hardware that would be perfect because it takes a lot of guess work out of things. We use Apple Wireless router's and run 2 server's one running Mac OSX Server 10.6.7 and a 2nd server running the same which act's as our OD replica
So my question is what do you guys use?
Were looking for the more user friendly the better and by that i mean I don't want to be using ww-rt on some router or something
Thank you for your time.
Have a look at Vicomsoft and their Intergate Inspect package. This runs on a Mac server and lets you link to Open Directory for authenticating users and lets you set filtering for users or for groups of users. Sounds exactly what you want.
See http://www.vicomsoft.com/products/filter/index.html -
Can I begin prepaid service with a $100.00 card good for one year and if so what are the usage terms?
Yes; phone is for Verizon PREPAID plans. Sri I did not state that correctly. I see that there are prepaid plans with monthly usage etc. I see some offers on line for a $100.00 card that's good for one year. Trying to determine if that is available from a Verizon store to begin a new plan. Checked with two different Verizon stores and got two opposite answers and neither was sure of the terms. Simply trying to get a low cost backup. Thank you for responding.
-
What is the usage of flag "closed" in the 'Quantities/Dates' of item in PR?
What is the usage of the flag "closed" in the 'Quantities/Dates' view of a item in PR?the help document said:'Closed: Purchase Requisition Closed
Flags a purchase requisition as closed, that means that no further purchase orders are to be created for this purchase requisition...",But I flagged this indicator,
entered the tcode:me21n,I can create a po reference this PR successfully.Why?
Please tell me what is the true usage of this flag.Thank you !
My msn:[email protected]Hi YuLin,
SAP Documentation does'nt say that no further PO's can be created after you flag the PR as closed. Please see the following documentation:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
Give attention to the note which says:
"You can still create purchase orders by referencing a requisition if this indicator has been set in the requisition concerned"
Hope this clarifies,
Naveen -
What's the usage of jusched.exe?
What's the usage of jusched.exe, which is automatic started after the J2SE 1.4.2_02 installed under Microsoft Windows Platform?
Anyone help me to know it is appreciated.Process File: jusched or jusched.exe
Process Name: Sun Java Update Scheduler
Description: Application that is an update scheduler. The application checks the Sun site to see if newer Java versions are available.
I hope this helps.
Thanks,
Rashmi. -
What's the usage of package interface?
Hi Experts:
Who knows what the usage of package interface is? How to use it in ABAP development?Process File: jusched or jusched.exe
Process Name: Sun Java Update Scheduler
Description: Application that is an update scheduler. The application checks the Sun site to see if newer Java versions are available.
I hope this helps.
Thanks,
Rashmi. -
What are the usage caps, if any for each DSL plan?
Hello Verizon users and staff.
I am considering purchasing one of your DSL plans, and I am wondering what the maximum usage cap is for each plan. I can not find this information officially on this website, but I read on another website that the cap was around 5GB a month. If someone could tell me the usage limit for all three plans, I would appreciate it!
Thank you,
--kosmosThere are no usage caps for the DSL plans. DSL is not a pay-per-usage service. You pay for the service and you can use it as much as you want. The 5 gig cap is ONLY for the data plans from Verizon Wireless for tethering from your phone, etc.
If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
"All knowledge is worth having." -
In IS-Retail , what is the usage of ASSORTMENT ?
Hi Gurus,
I need clarification regarding the usage of ASSORTEMENTS in IS-RETAIL, currently i am dealing with a IS-Retail implementation project .
kindly let me know the expert solutions for the same and also let me know in which areas it is used.
points will awarded suitably - let me know ASAP.
Advance Thanks in anticipation.
Regards
Madhuhi
An assortment defines which materials a store, a distribution center or a customer can be supplied with at any given time and can therefore be used to check purchase orders and sales orders.
Every retail site is assigned one (and only one) assortment. This assortment is created when the retail site is created, but is not assigned materials until the listing stage, where materials are assigned to assortments using the assortment modules to which these materials belong
WB70 Create assortment class
WB71 Change assortment class
WB72 Display assortment class
WB73 Delete assortment class
WB74 Maintain assortments to classes
WB75 Maintain classes to classes
WB76 Maintain assortments in class
WB77 Display assortments to classes
WB78 Display Class for Classes
WB79 Display assortments in class
WSOA2 Change assortments
WSOA3 Display assortments
WSOA4 Delete assortment -
What's the usage of the associated columns?
In business model, logical columns are associated to a level of dimension. But the columns are nether primary key nor used for display. What's the purpose of these associated columns?
To flesh out our example a little more.
You have a Day Dim, and a Month Dim table. Your month name logical column is mapped to both tables via different Logical table sources. Your content levels are set accordingly for those LTS's.
You have a fact table at grain Day and an aggregated fact table at grain Month. You have a measure (dollars, quantity, whatever) mapped to both physical tables through two LTS's with content levels set (like the Time Dimension).
So when you query Month Name and Dollars, the BI Server uses the aggregate table as it can serve up both the dimension attribute and the measure from the aggregate table. It knows its more efficient because the ratio of the number of elements you defined in the hierarchy tells it that there is approx 30 times less data in the month aggregate, by the ratio of 12 months to 365 days.
So far so good.
Lets introduce more dimensions, a.n.other dimension is joined to the base fact table but is NOT in the Month aggregate. You model it all as per normal, when you drop this extra dimension into your report, the BI Server recognises that there are no aggregate sources that can give the correct answer across all required fields in the report so drops to the next best fit at the grain requested in the report, in this simple case it would default back to the base fact table as that is the only fact table capable of serving up the month and any attributes from the other dimension. In more complex models you might have a few aggregate tables with both higher grain (higher levels) or less dimensionality (less rows). The existance of physical layer joins tell the BI Server what can be joined for the correct dimensionality, the setting of LTS levels tells it which aggregate tables would be more efficient.
Dont get confused with setting a level on a measure - thats something different (level based totals, % of Year etc. etc)
Got it?
These might help :
http://gerardnico.com/wiki/dat/obiee/fragmentation_level_based
http://www.rittmanmead.com/2006/11/aggregate-navigation-using-oracle-bi-server/
http://obiee101.blogspot.com/2008/11/obiee-making-it-aggregate-aware.html
let us know if any more Q's. -
What's the usage of Digital Output.vi (kei224v6.llb)
I would be gratefull if you could inform me for the usage of Digital Output.vi in kei224v6.llb.
I'm using Keithley 224 Programmable Curent Source.
ThanksHi thanserwood,
the Model 2243 is an optional IEEE-488 interface for the Model 224 Programmable
Current Source. This interface adds extra versatility to the Model 224 by allowing the transmission of data and commands
over IEEE-488 bus. The interface provides all the logic necessary to interface the Model 224 to the bus using standard
IEEE-488-1978 protocol. Additionally, the Model 2243 incorporates a separate digital I/O port that may be used to
interface the Model 224 to other digital instrumentation.
The digital I/O port consists of four input and four output lines as
well as IEEE-488 common and +5VDC. The outputs will drive one TTL load.
The instrument can be programmed to generate an SRQ upon any change in
the four bit input data.
In the manual you will find further information.
Regards
Indiana -
What is the usage of itunes app in the IPAD?
I understand that itunes is required in the pc in order to transfer the files on IPAD/ Iphone. Thus, it is required in PC.
My question is why itunes app is required in the IPAD? What is the utility of itunes app in the ipad. It's utility in the PC is well understood, but I am not sure about it's utility in the IPAD - the itunes app in the IPAD.iTunes on an iPad is just the iTunes store - it allows you to buy and download (and potentially redownload) music, films and TV programmes directly on an iPad without needing to use a computer to buy and sync the purchases. Similarly there is an App Store app on iOS devices for buying/downloading apps directly on the device.
Maybe you are looking for
-
Formatting a Date Parameter Field
I created a Date/Time Parameter because the column is date/time. However, I only want the used to have to input the date portion. I know I can create the parameter as a Date but it returns a negative records even though there are records that meets
-
Newbie here I NEED HELP!!!!!!! 750 (former sprint
HI all I am a newbie I have been trying to figure out how to get pictures off my treo without having Sprint service. I bought a data cord and downloaded sync4.5. For some reason I am not able to get synced up with my computer which is running XP home
-
Action to start when application loads?
I am actually just wondering if it is possible to get Final Cut Pro to automatically go to System Settings every time I load the program. How do I do this?
-
I just purchased a subsription to the Adobe Cloud yesterday, and have yet to be able to get past the sign in page as it tells me the site is down for Maintenance. I have things I need to do in Illustrator, but have no way to access site. Is there a
-
Applications quit when printing
I have a weird problem with printing on a MacBook running 10.4.8. Any time I try to print something using COMMAND+P or File/Print, the active application that I am in crashes. Doesn't matter whether it's a Universal or Rosetta app. and it doesn't mat