Look up tables
what are look-up tables.....jena
some more links
Lookup method from GUI mapping can be called using any of the following ways.
RFC lookup using JCO (without communication channel)
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
RFC lookup with communication channel.
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Lookup using JDBC adapter.
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
CSV file lookup.
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
3.2 Call lookup method from GUI mapping:
The steps are as follows:
Develop and test ABAP function module.
Develop and test Java method within Integration Repository/message mapping tool.
refer the below ays of lookup:
Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
Lookups in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
/people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
/people/sravya.talanki2/blog
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
Thanks
Swarup
Similar Messages
-
I want to prepare a look up table for voltage vs acceleration level in my program. This look up table will be used to search for the level of voltage to be fed to DAQ card for the desired acceleration in my application. Also how to read the look up table...
Hi Puneet,
Take a look at the "write to spreadsheet file.vi" and the "read from spreadsheet file.vi". This is one way to accomplish what I think you're looking to do.
cheers,
--Russ -
Maintaining Remote key in look up tables for Production data
Hi,
me
SEE in DEV and QA to maintain the Remote key for Look up tables.First i have exported those look up table values and again imported with mapping Remote keys (clone the field and map it to Remote key.). By this i have maintained the Remote keys to all look up tables. Now for Production what should i do. Is it the same process extract all records from production into our desktop and then again import it using IM, clone the field and map it to Remote key.
1. Is this the right process?
2. What happens if there are huge data present in production how to proceed furthr then?
Required your suggestion please.
Thanks,
PradeepHI Pradeep,
I dont see any problem with this method if I am getting it right
You are updating remote keys by reimporting lookup data, and this way you have multiple remote keys for data in lookup table,right?
This will help you to automap entries in Import process for different Remote systems.
I did not get your 2nd point?
Thanks,
Ravi -
Code is not working check for solution . The code is not working after look up table.
In this code i am multiplying two binary images , one is a rectangle and another is an image. i am getting the rectangle, but not the image. The image part is not working after the look up table. Waiting for the solution
Attachments:
binary morphology.vi 33 KBHey. I'm thinking the problem is in theis block:
LOOP AT C_T_DATA INTO WA_MC17I30HDR.
READ TABLE LT_AFIH
WITH KEY AUFNR = WA_MC17I30HDR-AUFNR
INTO WA_AFIH BINARY SEARCH.
IF SY-SUBRC = 0.
WA_MC17I30HDR-ZZNPLDA = WA_MHIS-NPLDA.
MODIFY C_T_DATA FROM WA_MC17I30HDR.
ENDIF.
ENDLOOP.
You are reading LT_AFIH into WA_AFIH. But then you are assigning NPLDS from WA_MHIS. From what I can see, WA_MHIS hasn't been filled with anything. Try changing:
WA_MC17I30HDR-ZZNPLDA = WA_MHIS-NPLDA.
To:
WA_MC17I30HDR-ZZNPLDA = WA_AFIH-NPLDA.
Hope that does the trick.
Thanks
Edited by: Siboda_Eric on May 26, 2010 3:49 PM -
How to use database look up table function in xsl mapping
Can anybody tell me how to use database look up table function while mapping xsl between 2 nodes.
I have an XML file coming in and depending on one of XML elements we need to decide which further path to take. But, using this XML element, we need to query database table, get metadata and accordingly take appropriate path. I have written lookup function which returns metadata value.
Now, the issue is how do I pass the XML element valu as input to look up function? When I tried to drag it to the input node of lookup function, it throws an error like "Maximum number of parameters exceeded"
Thanks,If the lookup table is always going to remain the same (e.g. a character generator or something similar) you can place the values in a 2D array constant on your diagram, with the input value as one column, the equivalent as the other. When you need to perform the lookup you use an index array to return all the values in the "input column", search it using "search 1D array" and use the resulting index number to index the other column's data. If the values may change, then it would probably be best to load an array control with your equivalent values from a file.
P.M.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
ABAP Code Problem in Start Routine to Fill the value from Look-up Table ???
Hi all,
I am trying to fill the values of DOC_NUMBER & PLANT from look-up table /BIC/AZSD_O0700 (Billing Item ODS) for each BILL_NUM in Start Routine for Update Rules of Billing Header ODS and modify the data_package.
What is wrong with the below ABAP code, PLEASE ???
data: it_data type standard table of data_package_structure
with header line
with non-unique default key initial size 0.
types: begin of billing_item_type,
BILL_NUM like /BIC/AZSD_O0700-BILL_NUM,
DOC_NUMBER like /BIC/AZSD_O0700-DOC_NUMBER,
PLANT like /BIC/AZSD_O0700-PLANT,
end of billing_item_type.
refresh it_data.
clear it_data.
it_data[] = DATA_PACKAGE[].
refresh DATA_PACKAGE.
clear DATA_PACKAGE.
loop at it_data.
select DOC_NUMBER PLANT into (it_data-DOC_NUMBER, it_data-PLANT)
from /BIC/AZSD_O0700
where BILL_NUM = it_data-BILL_NUM
and FISCVARNT = it_data-fiscvarnt.
endselect.
if sy-subrc = 0.
move-corresponding it_data to DATA_PACKAGE.
endif.
endloop.
modify DATA_PACKAGE.
Thanks,
Venkat.Hi Venkat,
Two things -One is the performance and the other ... there is no Append within the loop.
Try moving the select statement ousdie the loop to improve performance and move the modify statement into the loop ... change modify to append. Code below.
Let me know if you need more help.
Best regards,
Kazmi
data: it_data type standard table of data_package_structure
with header line
with non-unique default key initial size 0.
types: begin of billing_item_type,
BILL_NUM like /BIC/AZSD_O0700-BILL_NUM,
DOC_NUMBER like /BIC/AZSD_O0700-DOC_NUMBER,
PLANT like /BIC/AZSD_O0700-PLANT,
end of billing_item_type.
refresh it_data.
clear it_data.
it_data] = DATA_PACKAGE[.
refresh DATA_PACKAGE.
clear DATA_PACKAGE.
loop at it_data.
select DOC_NUMBER PLANT into (it_data-DOC_NUMBER, it_data-PLANT)
from /BIC/AZSD_O0700
where BILL_NUM = it_data-BILL_NUM
and FISCVARNT = it_data-fiscvarnt.
endselect.
if sy-subrc = 0.
move-corresponding it_data to DATA_PACKAGE.
Append DATA_PACKAGE.
endif.
endloop. -
Looking for table that links a PM Reservation to a MM Purchase Requisition
Looking for table that links a PM Reservation to a MM Purchase Requisition
Hi,
Typically the way most SAP systems are configured, there are two scenarios here:
1. The component reserved in the PM order is item category 'N'. This is a non inventory item and must be directly procured for consumption against the PM order at the point of goods receipt. In this case no reservation is created and instead a requisition is directly created (in table EBAN) and the requisition is account assigned directly to the PM order (in table EBKN - field AUFNR).
2. The component reserved in the PM order is item category 'L'. In this case no requisition is directly created, instead a reservation is created against the item in stock (in table RESB). If there is sufficient stock of the item already then the item is consumed when it is goods issued to the PM order from stock using MIGO and there is no requisition created. In the event that there is not sufficient stock of the item for the reservations that exist, when MRP is run, a requisition will be created to replenish the stock, but this requisition will not be assigned to a specific PM order as it could be replenishing stock of the item for several reservations which are all for different orders. So in this scenario there is no direct link from the reservation generated by the PM order to the requisition. -
How to make a magnifying glass link to a look up table ?
Dear Friends,
Hello. I am developing the accounting application of journal entry. In journal line, I use the image "magnifying glass" next to each chart field. When we click on the magnifying glass, it's supposed to come up a look up table( a chart and name mapping table), and we select the proper chart to input into the chart field.
I understand to create another record and page for the look up table. But I don't understand how to make a magnifying glass link to a look up table. Can anybody tell me how to do that ? Thanks.
LucyThis is how it works,
Table A (which stores chart fields). You have used fields from table A on a page so that users can input data.
You don't need to put a magnifying glass image or create a new page to achieve look up page.
all you need to do is create another table say Table B which should have the chart field and corresponding description you want to show on lookup page. Then open record-field property of the chart field on Table A and mention Table B as prompt table. -
How to read data from spreadsheet as a look up table
Hello Can anybody please help me out in this..??
I want to read data from a spreadsheet file as it is a look up table.
I want to create a program which lets the user enter an element which is be found in the data in the spreadsheet file and gives back the number which is to the adjoining column of the element in the spreadsheet file.
Example i have the following data in spreadsheet file:
Range Count
2 10
4 49
6 60
Etc.
If i enter 2 to search the data in the spreadsheet file, i do expect the program replies back with the answer 10 and so on...
Can anyone please help out...
Thanks in advance...apok wrote:
Why autoindex the output? You should only have 1 output. Besides, the Search 1D Array is simpler (no loop needed).
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Lookup Table.png 11 KB -
Looking for Table to CSS Converter
I'm asking the Dreamweaver Community for HELP...
I currently own CS3 of Dreamweaver and while there are some
ways to convert tables to a css format manually.
Is anyone using a software or a work-a-round to automate this
process of converting TABLES to CSS automatically.
For example i have DOZENS OF HTML pages that are loaded with
Nested Tables... and all i want to do is run that HTML page through
a TABLE to CSS converter.
And then that’s it... you're done!... no tedious copy
and pasting converting one table at a time.
Does CS3 have something I’m missing that would remedy
this or make Converting Tables to CSS more automated and not
one-at-a-time converting?
Thanks for any suggestions or links.A well built page with tables is infinitely more
representative of your work
than the train wreck that results when you convert tables to
layers.
Put a 5x5 table on the page, merge and split some of the
cells, add some
content to each cell, and convert to layers. Look at the
incredible mess
you have now in your code. Preview in a browser, and expand
your text size
in the browser. Look at the incredible mess you have in the
browser.
I think your approach is COMPLETELY wrong.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"RegGFX" <[email protected]> wrote in
message
news:[email protected]...
> Thanks for helping me find the Convert to Divs button...
i'll test it out.
> I
> went on the web and googled Table2CSS and found some
interesting tools...
> In regards to the question about Converting Tables to
Divs or pure css....
> In reply too:
>
quote:
Question is why do you want to do this? To say that there are
no tables
> in
> the page?
> Well that seems to be the NEW RAGE(actually its not new
though)... create
> websites without TABLES.... google it on the Web and
you'll see all the
> responses. Its almost as big a argument as MAC vs. PC
all though we know
> that
> "Talent" is what drives creativity... the tool is just a
tool to
> accomplish
> your job...but thats for another discussion
> Anyway back to the CSS design vs. Table design website.
>
> I had 2 friends who went on job interviews where they
showed samples of
> their
> websites to 3 different large corporations and all 3
interviews said "we
> want
> to see websites .
WITHOUT tables and using only CSS and or DIVs." as
> samples for their portfolios
> WOW... i thought so....
> I've talked to a number of other friends in large
companies and this is
> the
> going trend now... Design TABLELESS Websites (if you
google that you'll
> find
> that as well) and use only pure CSS. Many company's are
doing this I think
> its
> because knowone can seem to figure out Tables.
>
> Now i personally have been designing websites for a
little over 10 years
> and
> have never had issues with Tables to design a website
although i do
> understand
> the arguments behind load times... I think its because
some out there
> still
> haven't got the nack of how to design a website and
limit the load times
> while
> still using Tables.
>
> So in view of the feed back i've been getting about this
pure CSS website
> and
> no tables trend, I've been converting some of my 10 page
client websites
> to
> PURE CSS just because i got an inside tip that company's
will pay big
> bucks to
> convert their website to PURE CSS and no tables just
becuase another
> I.T.executive consultant said that is the route to go.
>
> Again... for me... its all about knowing how to optimize
your webpages
> whether
> you're doing Tables or Pure CSS.
> Its also about if your website makes the user have to
"THINK TO MUCH"...
> you
> can build a cool website design with out making the user
"Think To Much"
> such
> as How long is this website going to take to load, or
why is it so
> complicated
> to navigate with all these uncessary tables and
etc...but again the "Don't
> Make
> Me Think" syndrome is for yet another discussion
>
> Anyway... thanks for the tip about Dreameweaver's
"Convert" button....
> i've
> tried it and its ok... but it needs alittle refinement
on automation. (for
> example it would be nice if it put the CSS in a TAG up
in the head like a
> Table2Css conversion tool i found.)
>
> Best Regards,
> -
Sum the value of look up table based on two filter criteria
Hello Everyone
I am new to Powerpivot and would appreciate if someone could help me on the following problem.
You can download the example of this excel file form the following DropBox link:
Dropbox Link
The first table is tOrders
Week number
Work center
order number
Production time in minutes
2
a
111
60
2
a
112
70
2
b
113
60
3
b
114
50
3
a
115
40
3
b
116
60
4
a
117
90
4
b
118
40
The second is dLookupList
Week number
Work center
mantenace in minutes per week
Break dows in minutes per week
2
a
10
10
2
b
20
5
3
a
15
12
3
b
30
10
4
a
20
10
4
b
10
10
I’m trying to create Pivot that has filter on Week number to show the number of orders, Sum of Production time in minutes and the total of the values form the lookup table dLookupList that matches the work center and the selected week
numbers. So that I can calculate the total time for each work center. Filter criteria is Week number and Work center.
For example if someone select all weeks numbers the result sould look like this
Week number
(All)
Work center
Count of order number
Sum of Production time in minutes
mantenace in minutes per week
Break dows in minutes per week
Total time
a
4
260
45
32
337
b
4
210
60
25
295
Grand Total
8
470
Result for week 2
Week number
2
Work center
Count of order number
Sum of Production time in minutes
mantenace in minutes per week
Break dows in minutes per week
Total time
a
2
130
10
10
150
b
1
60
20
5
85
Grand Total
3
190
How can I relate these two tables to get the above result?
Any help is highly appreciated.
Regards
PriyanHi Recio
Thank you very much for the swift response. I was able to get it work.
I got two questions:
How do you add a total time column to the pivot table like you did? Because there are no calculated field in power pivot.
I prefer that the filter is based on the Orders table. So that if you select all Week numbers in the filter, that pivot will show result for all orders and relevant sums from the lookup list.
Link download the example file
For example: I add Week number 5 to the work center “a”
Week number
Work center
WNandWC
mantenace in minutes per week
Break dows in minutes per week
2
a
WN2WCa
10
10
2
b
WN2WCb
20
5
3
a
WN3WCa
15
12
3
b
WN3WCb
30
10
4
a
WN4WCa
20
10
4
b
WN4WCb
10
10
5
a
WN5WCa
1
1
In the orders table there are no records for week number 5
Week number
Work center
WNandWC
order number
Production time in minutes
2
a
WN2WCa
111
60
2
a
WN2WCa
112
70
2
b
WN2WCb
113
60
3
b
WN3WCb
114
50
3
a
WN3WCa
115
40
3
b
WN3WCb
116
60
4
a
WN4WCa
117
90
4
b
WN4WCb
118
40
4
a
WN4WCa
119
50
But the pivot sums up the week number 5 also.
Do you have any idea how to solve it?
Thank you very much.
Regards
Priyan -
In a book titled "Oracle Database 10g:A Beginner's Guide", there is mentioned tables named "customers", "products", "sales", "costs", "promotions". But I can not find those tables in Oracle Database Express Edition.
From where I can get those tables?
Thanks1) You are asking in the wrong forum. Try the Oracle Database - General or Oracle Database - XE forum
2) Many technical books have a book-related download area hosted by the book publisher. Try the book publisher's site.
3) A good Oracle book that references a schema will describe how to get that schema. Try re-reading the preface/introduction to see whether it is described.
4) It so happens that the tables are part of the XE-installed HR schema. Apparently you either have a botched install or you are not looking at the database correctly. See 1) -
Main table vs Look up Table in MDM 7.1
Hi All,
I was looking at major differences between Main table and flat table.My question is what stops me from using my lookuptable as the main table as I can do Syndication,key mapping etc even with my flat tables.(Unless I am wrong in my assumption).
Regards,
PremjitHi ,
Maintable will hold data for a particular maste. It contains primary information about a business object such as a product or supplier. Lookup table will be a field which describes the master. you cannot use lookup as a main table because:
1. The data model flexibility to accomodate different data types: such as hiererchies, taxonomies, QT wont be possible using flat lookup tables.
2. Storing such a huge amount of data(lacs of records) in lookup will have lots of performance related issues and will slow down your MDM instance.
3. During integration with Portal it'll be very difficult and will require huge effort to use MDM JAVA API's to fetch/enter data to MDM.
These are few reasons which makes the case of using lookups as MT very weak. There will be more reasons im sure.
Manish -
CSS Styled DIVs that look like tables?
I've just redesigned my entire home web site using CSS div
positioning and I am now about 80% table free. However I have
several pages that I like lined up the way they are in multi
column, multi row tables like this:
http://www.cmhager.com/test/tabletest.shtml
Anyone have some good tutorials on how to accomplish this?
Thanks...Al Sparber- PVII wrote:
> "Thierry | www.TJKDesign.com"
<[email protected]> wrote in
> message news:[email protected]...
>> Let me remind you that the original poster asked how
to design his
>> web site
>> to be *table free*.
>> AFAIK, I answered his question.
>> So what did *you* bring to this thread exactly
besides your smart *ss
>> remark? (excuse my French)
>
> All I have to say to that, is Viva Italia :-)
Do you think because I'm French I care? LOL
I thought after all these years you'd know be better... FYI,
I didn't watch
yesterday and I was not watching 8 years ago.
> Look, Thierry, a poster could ask how to make an income
statement
> table-less and some folks will tell him how, while other
folks will
> advise him to keep it in a table. I think that perhaps
both Gary and I
> saw the fella's page and saw a matrix of images. If he
wants to do
> away with the images or the matrix and use a UL to
display a single
> column of links, then that's fine. I didn't read it that
way.
I'm sorry but nobody suggested the OP should "do away with
the images or the
matrix and use a UL to display a single column". The one
"column" display
was suggested as an advantage of the UL over the table in a
small viewport.
> By the way, replacing the "a" in "***" with an asterisk,
does not
> sanitize or add polish to your propensity for
name-calling. "Mr.
> Semantic" is a much nicer and could have been taken as
an honorific -
> in a good-natured way.
You can insult people without calling them names and I'm sure
you know that
1. The OP asks a question
2. I answer his question.
3. You say that it would be not logical.
4. I list my arguments for using an UL rather than a table
and politely ask
why it would not be logical to use CSS for layout.
5. Rather than answering my questions (or simply chose to not
reply at all)
you decide to come up with:
"Mr. Semantics, I beg your forgiveness. Now I must go make up
my laundry
list. I'm sure the original poster will have a grand old time
making a list
just for you."
I'm sorry but in my book I find this reply insulting. It's
like when you're
talking to someone and he turns your back on you before
you're finished
answering his question. That's the kind of behavior that
makes me call
people smart *ss. I could have used "Mr" though... ;)
Thierry
Articles and Tutorials:
http://www.TJKDesign.com/go/?0
The perfect FAQ page:
http://www.TJKDesign.com/go/?9
CSS-P Templates:
http://www.TJKDesign.com/go/?1
CSS Tab Menu:
http://www.TJKDesign.com/go/?3 -
OBIEE 11g - How to create clean looking pivot tables
Hi, does anyone have a good way to clean up the appearance of pivot tables in OBIEE 11g? I'm a big fan of Stephen Few and firmly believe in the "minimize non-data ink" theory. Unfortunately, there seems to be a lot of stuff on OBIEE pivots that I can't easily clean up. Does anyone have ideas for:
1. How to remove the "gray" / "beige" coloring from column and row dimension? I opened a ticket with Oracle 6 months ago, and basically they've just responded that it is a "enhancement request" for a future version (aka not going to see it for a LONG time)
2. For my "across" dimension, I don't seem to have a good way to show the dimension name. There is an option under "column properties" to "display heading" - but when this is turned on it scrunches the heading up directly over the column that has the down dimension members. I really want this to go across the pivot.
Any help on this would be greatly appreciated.
Thanks!
ScottHi,
Steps,
Just create DSN (odbc connection for the excel data source) then try to import via rpd that time u must need to select "System Tables"
For more steps,
http://allaboutobiee.blogspot.com/2012/03/excel-as-data-source-in-obiee.html
http://oraclebi.blog.com/working-with-excel-datasource-in-obiee
http://www.ascentt.com/2012/01/importing-excel-file-into-obiee-11g
http://obiee101.blogspot.com/2008/06/obiee-excel-import-prepping-data.html
Note: user id and password u can set it u r own and need to be updated in your connection pool alos else u can go with empty user id and password
Thanks
Deva
Maybe you are looking for
-
How to seperate current page fields in a pdf form using javascript
Hi, Is that possible to seperate current page fields(textbox, Chesckbox) in a pdf form using javascript. I have coding to get all the fields in a pdf form. But i want to take CURRENT PAGE alone. Please help me out. Thanks and regards, Christy
-
HT201317 Where do my photos over 1000 go in photostream?
So, I have an iphone 4 and an ipad 2 and a MacBookPro with iOS 10.5.8. I've enabled iCloud on by my iPhone and iPad devices and they communicate just fine. My MacBookPro is old enough that it does not support iCloud. What happens to all the photos ov
-
Access migration - error handling field default value "=Now()"
Hi All, I'm doing an Access - Oracle Migration. I've exported the structure, captured the model and generated the SQL. When I run the SQL I get: SQL Error: ORA-00907: missing right parenthesis 00907. 00000 - "missing right parenthesis" It looks like
-
DES, Java version dependency?
Hi, this is my first posting so please be patient :) i've written a module that writes DES-Encrypted email-addresses into my MySQL-database. Everything works fine, decription is working too. The problem is, after I've changed the Java - Version (from
-
Dates within a key period.
hi all, I have a abap program to develop, where in i have a period key which i am getting from a table, for a particular BP, CA, CO. Now i want the all the dates falling in that period key, or may be even the first date of that period key. For exam