How to get Required field from R/3 to  load in Bw.

To get a perticular value from R/3 to BW . in r/3 side I need to go to first table equi from there i pick equipmentno on the basis of this number i need to go to objnr from objnr i need to pick up objnr number and i have to see this number's value in table AUSP. like this same scenario i am facing in master as well as transaction tables , how i should fetch these values and load to BW .
In standard datasources if i want to add the field value of which is derived by the value in two more tables then how do i Enhance the datasource.
Can any one give clue to resolve It.

Hi Srinivas,
   If you want to enhance any data source, by appending any field from any table.. basic rules are
1. All the key fields in that perticular table should be available in your data source.
2. Similar for more fields from different tables.
   Or if you want to extract more fields from different tables try to create a View on these table and go for generic extraction(create data source on this View). Choose which one if best option for your requirement.
Hope it Helps
Srini

Similar Messages

  • How to get additional field from the second list base on lookup information column ?

    Hi everyone,
    Currently I created a SharePoint hosted Apps project and I need to know how can I get additional field from the second list base on lookup information column. example List1 Have 2 columns column1 and column2(Lookup Information from list2 (category)),
    List2 have 3 columns title, and category, and color.  so how can get the title and color from list2 base on this lookup information column (SharePoint Hosted apps and Javascript code)? that is possible?
    Best regards,
    ------------------------------------------------------------ ---Tola---

    You can build one custom lookup control. Refer to the following post
    http://www.stuartroberts.net/index.php/2012/10/03/enhanced-lookup-field-part-1/
    Alternatively, try the following solution from codeplex
    http://sp2010filteredlookup.codeplex.com/
    http://filteredlookup.codeplex.com/
    --Cheers

  • How to get Ethnicity field from IT 77 into BI

    We are in middle a new implementation of BI HCM and users want Ethnicity & Ethnic origin fields in BI. I can see Ethnic Origin as a attribute of Employee but can't find Ethnicity anywhere in standard BI content. What is the simplest way to get Ethnicity field from IT 77 (maintained by client) into BI.

    I would recommend enhancing the 0EMPLOYEE_ATTR DataSource by adding the Ethniticty column in an append structure of the extraction structure for that DataSource. Then to populate that field in the 0EMPLOYEE_ATTR DataSource, create a User Exit in CMOD (Function Module EXIT_SAPLRSAP_002).
    Then on BW, you're going to need to replicate the modified DataSource and in the 0EMPLOYEE InfioObject make sure you identify the attribute for Ethnicity as Navigational or Display. Then update the transformational processes to load into 0EMPLOYEE. Finally, you will need to add this custom InfoIObject to other InfoProvider(s) that you need it in (if any) to meet your end customer reporting requirements.
    Edited by: Dennis Scoville on Sep 10, 2009 8:33 PM

  • How to get private fields from super class?

    Hi.
    I must get protected and private fields from a class. I know that sounds werid but I have a very good reason for doing so, ask if you want.
    I have tried the getDeclaredField(String) method, but it apparently doesn't return the fields declared by the super classes.
    What's the smartest solution to this?
    Thank you all.
    edit: note that the superclass hierarchy's length is 3 and that there are several classes at the bottom level.
    Edited by: bestam on Sep 24, 2009 2:05 PM

    bestam wrote:
    I do not claim I have invented a new programming language Sir, you must be mistaken. This is not turing complete.
    This is a language for describing Cards or a game's rules if you want.
    AspectJ isn't Turing complete but AspectJ is still a compiler.
    This is how I have been working :
    - I have implemented the core library in Java (what is a Player, what is an Effect, what is a Card, what is a BuildingCard, what is a Player's Turn and so on)
    - It also includes packages dedicated to service, able to retrieve and send data to the clients via sockets.
    - Then I have "hardcoded" a dozen of specific cards in Java, for testing and validating the core library. I have been doing so by extending the BuildinCard's class for example.
    - But my ultimate goal is not to code thoses 1.000+ cards of the game in Java. I chosed to design a little language so that I would end up writing cards faster. While I'm traversing the syntactical tree representing the card, I feed the card's fields one by one. Some of them are quite primitive, some other are more complex and have a recursive nature for instance.
    Providing detail for how you implemented it doesn't change anything about what I already said.
    Thus, this is not really a compiler as it doesn't transform a text in language A into a text in language B.
    You really need to understand more about what "compilers" and certainly compiler theory do before you decide what they can and cannot do.
    And your statement still does not change what I said.
    Is this wrose than the bean design pattern from JSP ? I'm not sure.
    Bean design? A "bean" has almost zero requirements.
    Aside of that, it's a bit harsh to be told "read the fucking manual" while I have written my first compiler some years ago.Not sure who that was directed. I suggested some reading material on compiler theory.
    If you think that your idea is ideal then knock yourself out. Since I doubt I will end up seeing it in anything that I must maintain it doesn't matter to me. But you did in fact ask what the best solution was.

  • How to get back fields from INSERT statement in batch mode(getGeneratedKeys

    Hi,
    I wanted to insert records to database and get back some fields.
    I create prepared statement:
    preparedStatement = connection.prepareStatement(sqlQuery, columnIndexes);
    then I set parameters.
    Following code works properly:
    preparedStatement.executeUpdate();
    generatedKeys = preparedStatement.getGeneratedKeys();
    if (generatedKeys.next()) {
    doSomething();
    But when I try to do this by batch I get exception:
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 22
         at oracle.jdbc.driver.T4CNumberAccessor.unmarshalOneRow(T4CNumberAccessor.java:190)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:612)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10644)
         at org.jetel.component.DBOutputTable.runInBatchMode(DBOutputTable.java:619)
    My "batch" code:
    for(...){
    setParameters(preparedStatement);
    preparedStatement.addBatch();
    preparedStatement.executeBatch();
    Isn't it a bug?
    Can I get back fields (eg. from last insert added to batch)?
    I hope somebody can help me.
    Agata

    This code works for me but only inserting one row. More than one causes an ArrayIndexOutOfBoundsException once sendBatch is called.

  • Question reg. how to get a field from a table

    What is EIN? (I think it is employer identification number). My functional consultant told me to get this value from company code. Can you tell me from which table and field I can get this value?
    Thanks,
    Krishen

    i think these tables are helpfull
    /SAPPCE/TDPC01
    /BEV1/RBVBAK
    /BEV1/RBVBAP
    VSVBAK_CN
    VSVBAp_CN
    VBAK and VBAP.
    Regards,
    Pradhan.

  • How to get jhelp field from DefaultHelpBroker

    Since java help 2.0 most of protected fields such as frame and jhelp got disappeared.
    About frame field, I can get this field using "getWindowPresentation().getHelpWindow() method.
    But I can't find any method to get "jhelp" field which was a protected field in earlier version.
    Anyone knows?
    Thanks ahead.

    I would recommend enhancing the 0EMPLOYEE_ATTR DataSource by adding the Ethniticty column in an append structure of the extraction structure for that DataSource. Then to populate that field in the 0EMPLOYEE_ATTR DataSource, create a User Exit in CMOD (Function Module EXIT_SAPLRSAP_002).
    Then on BW, you're going to need to replicate the modified DataSource and in the 0EMPLOYEE InfioObject make sure you identify the attribute for Ethnicity as Navigational or Display. Then update the transformational processes to load into 0EMPLOYEE. Finally, you will need to add this custom InfoIObject to other InfoProvider(s) that you need it in (if any) to meet your end customer reporting requirements.
    Edited by: Dennis Scoville on Sep 10, 2009 8:33 PM

  • How to get a field from an attached excel/csv?

    I currently manage some price lists for the company I work for. They are graphical, and usually created in inDesign and then exported to pdf.
    I'm looking for a way to attach our company's prices in an excel sheet, (or delimited file) and be able to pull a price into the pdf.
    For example, attaching an excel file with 2 columns, SKU & Price. Then saying, if text field SKU= "APPLE" text field PRICE = "0.50". Only I don't want the user to have any inpurt options, I want to do this myself and then save a flat version to distribute in the company.
    I've been working on this for a few weeks. My javascript skills are really rough.
    So far, I have some code in my pdf that looks like this:
    (Price.csv is an attachment in the PDF)
    var oFile = this.getDataObjectContents("Price.csv");
    var sData = util.stringFromStream(oFile, "utf-8");
    function ParseData(sData){
    var oData = {};
    sData.replace(
    new RegExp( "\\[(\\w+)=([^\\]]*)\\]", "gi" ),
    function( $0, $1, $2 ){
    oData[ $1 ] = $2;
    return( oData );
    // Parse the data into an object
    var oData = ParseData(sData);
    // Custom Calculate script for price text field
    (function () {
        // Get the value of the SKU field
        var sku = getField("SKU").valueAsString;
        // Look up the price
        var price = oData[sku];
        // Set the value of this field to the price if it's present,
        // otherwise blank this field
        event.value = price || "";
        console.println(price);
    I have two text fields on the form. One that I have filled in a valid SKU, and a blank one named event.
    I seem to be getting an undefined error on prices. I am completely lost as to where to go from here.
    Does anyone have an idea of where I may be going wrong? I get that undefined error and nothing appears on my form.
    Thank you in advance.
    (I have acrobat X pro)

    First of all, "undefined" is not an error. It just says that the script ended without returning any values.
    I would suggest starting by debugging the code that reads the input file (you have to use a plain-text file, by the way, not an Excel spreadsheet). Make sure that oData actually contains the data you expect it to contain. If that works OK, start debugging your calculation script and see what's going on there...

  • How to get invoice field from SD tables

    Hi, experts,
    what is the "invoice field name" in SD tables.
    please specify in which tables i can find it

    Hi Praveen,
    in SD the order,delivery or invoice , evrything has field name vbeln.
    only difference is which table your are referreing.
    if you are working on VBAk, the vbeln will give the sales order..
    if in LIPs, it will give delivery while in VBRK for vbeln you will get invoice number.
    VBFA will give you the complete flow of order, delivery and invoice
    e.g:-
    Find sales order number and item from the delivery document
    number and delivery item no by using sales document flow table
        select single VBELV POSNV from VBFA into ITAB where
               VBELN = mseg~oivbeln and         "delievry
               POSNN = mseg~oiposnr,     and  "Delivery item
               VBTYP_N = 'J'.

  • How to get required fields in the selection screen while filling a set tabl

    hai,
    i was filling the set up table for 2lis_13_vditm.but while filling the set up table in the selection conditions in the tcode OLI9BW.
    I would like to have the a field added in the selection condition which is not existing in the OLI9BW.
    kindly help me out of ths.
    with regards
    soumya.

    As far as I know, you're just limited to whatever fields are in the transaction... That applies for any of the setup tables processes.
    If you need to limit the data that goes to BW, you can do so by putting the logic in CMOD, EXIT_SAPLRSAP_001, Include ZXRSAU01 for the specific extractor.

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How to get purchasing data from SAP R/3 to OWB (Oracle warehouse builder).

    Hi,
    My name is Pavan Tata. I work as a SAP BW developer. Here is the situation at my client place. Client decided to retire BW system and wants to replace with OWB(Oracle warehouse). In all this currently we have purhchasing application in BW production system and wants to move this application to OWB for the same type of reporting what they are getting currently.
    Here is my question:
    How to get purchasing data from SAP R/3 to OWB(Warehouse) with initial full loads and deltas mechanism in the same way as we do in BW.
    Please help on this, also send me any documentation about this if you have.
    Thanks,
    Pavan.

    Hello,
    here is a short report which converts S012 entries to strings with separator semicolon. Perhaps this will help you?
    Regards
    Walter Habich
    REPORT habitest2 LINE-SIZE 255.
    TYPES:
      strtab_t TYPE TABLE OF string.
    CONSTANTS:
      separator VALUE ';'.
    DATA:
      it_s012 LIKE s012 OCCURS 0,
      wa_s012 LIKE s012,
      strtab TYPE strtab_t,
      strele TYPE string.
    SELECT * FROM s012 INTO TABLE it_s012 UP TO 100 ROWS.
    PERFORM data_to_string
      TABLES
        strtab
      USING
        'S012'. "requires it_s012 and wa_s012
    LOOP AT strtab INTO strele.
      WRITE: / strele.
    ENDLOOP.
    *&      Form  data_to_string
    FORM data_to_string TABLES strtab TYPE strtab_t
                        USING  ittab TYPE any.
      DATA:
        h_zaehler TYPE i,
        line_str TYPE string,
        l_tabellenname(10) TYPE c,
        l_arbeitsbereichsname(10) TYPE c,
        h_string TYPE string,
        h_char(255) TYPE c.
      FIELD-SYMBOLS: <l_tabelle> TYPE ANY TABLE,
                     <l_arbeits> TYPE ANY,
                     <feldzeiger> TYPE ANY.
      CLEAR strtab.
      CONCATENATE 'IT_' ittab INTO l_tabellenname.
      ASSIGN (l_tabellenname) TO <l_tabelle>.
      CONCATENATE 'WA_' ittab INTO l_arbeitsbereichsname.
      ASSIGN (l_arbeitsbereichsname) TO <l_arbeits>.
      LOOP AT <l_tabelle> INTO <l_arbeits>.
        CLEAR: h_zaehler, line_str.
        line_str = ittab.
        DO.
          ADD 1 TO h_zaehler.
          ASSIGN COMPONENT h_zaehler OF
            STRUCTURE <l_arbeits> TO <feldzeiger>.
          IF sy-subrc <> 0. EXIT. ENDIF.
          WRITE <feldzeiger> TO h_char LEFT-JUSTIFIED.          "#EC *
          h_string = h_char.
          CONCATENATE line_str separator h_string INTO line_str.
        ENDDO.
        APPEND line_str TO strtab.
      ENDLOOP.
    ENDFORM.                    "data_to_string

  • How to add related fields from one transaction to other transacction?

    Hi all,
    I have a problem. I need to add an OPPORTUNITY field (SALESCYCLE) to the ACTIVITY transaction because of an upgrade and I'm now in a new world... The CRM 2007 is an unexplored place to me.
    I added some custom fields (Z fields from the CUSTOMER_H) by adding the context node BTCUSTOMERH to the BT126H_APPT component, view ApptDetails, with transaction BSP_WD_CMPWB (thanks Stephen Johannes for your blogs) and all works correctly.
    I tried doing the same with the SALESCYCLE and it doesn't worked... :_(
    I added the context node BTOPPORTH, but I'm sure I failed at the wizard step with the "Higher level context node" or with the "BOL Relation", but I can't find the correct answer. I found the field in the "Configuration tab", I put it in my view but the GET method doesn't work... The field remains always void.
    I don't have problems adding activity related fields, but when I try to add some flow related (opportunity one in my case) fields it's different.
    I have been looking for any solution but I have only seen that I can add this attribute directly to one context node and modify some BAdI or do any thing similar, but I don't know how to do that either. I will accept this solution if someone tells me how to do that... But I think the first solutions could be the most appropiate (I can be wrong... of course!)
    Thanks in advance....
    Sergio

    Thanks for your answer, Subhasis!
    Your solution is correct if I want to add to the Activity a field related to the Activity or some field on the DocFlow structure (the case you described), but it's not my case. I did that with customer fields before and all worked correctly.
    My scene is like this. I have an Opportunity and there is a follow-up Activity created. When I want to see the Activity, I need to show on the Activity transaction the preceding Opportunity field SALESCYCLE, which is at the CRMD_OPPORT_H table (BTOPPORTH context node).
    The problem comes when I add this context node to the Activity. I think the application is trying to get the field from the CRMD_OPPORT_H with ACTIVITY data and it returns void to the field. I think it forgets to get the opportunity data first and after that try to get the SALESCYCLE value from the CRMD_OPPORT_H (with the Opportunity GUID).
    By the moment, I have added the attribute SALESCYCLE to the BTDOCFLOW context node and, at the moment he do the GET, I change the field it gets by the GUID of the opportunity:
         dref = current->get_property( 'SALESCYCLE' ). "#EC NOTEXT
          dref = current->get_property( 'OBJKEY_A' ). "#EC NOTEXT
    Then I go to the CRMD_OPPORT_H directly to get the SALESCYCLE value...
    I know it's a bad solution... but it works and I don't know any other solution by now. If anyone can help me to do it correctly I'll be greatly appreciated!
    Regards,
    Sergio

  • How to get the values from repeated frame?.

    Hi
    how to get the values from repeated frame?. i have to disply the first 3 digits in another place in my report.
    i have field empno in repeated frame and i want to disply first 3 digits in another place in the same report.
    thanks

    How often do you need to display it? It sounds like you might want to base a summary on that formula with a function of first or last. If it's a per page basis, it can be a page level summary. If it's at a higher level repeating frame, then you can create the summary at that level. I'd suggest taking a look at the online help for summaries using the first/last functions.
    Hope that helps,
    Toby

  • How to get Date Format from Local Object.

    Hi All,
    I am new to Web Channel.
    I need to know Date format From date of locale.
    suppose there is a date "01/25/2010" date in date field I want to get string "mm/dd/yyyy". Actually I have to pass date format to backend when I call RFC. 
    Is there any way to get Date format from "Locale" object. I should get date format for local object
    I get local object from "UserSessionData" object but how to get Date format from it.
    I am not looking for Date value. I am looking for current local date format ("mm/dd/yyyy or dd/mm/yyyy or mon/dd/yyyy) whatever local date format.  I could not find example which show how to get date format from "Locale" object.
    Any help will be appreciated with rewards.
    Regards.
    Web Channel

    Hi,
    You can get it from "User" or "Shop" business object.
    Try to get User or Shop Business Object as shown below.
    BusinessObjectManager bom = (BusinessObjectManager) userSessionData.getBOM(BusinessObjectManager.ISACORE_BOM);
    User user = bom.getUser();
    char decimalNotation = user.getDecimalPointFormat().getGroupingSeparator();
    If you are seeing "1,234.00" then above code will return "."
    I hope this information help you to resolve your issue.
    eCommerce Developer.

Maybe you are looking for

  • My Apple ID & password work just fine on all my other Apple devices, but tonight, not on my iPhone.

    I have had trouble in the past with my iPhone suddenly needing me to input my password again for Apple ID, iTunes, etc.  Usually I just reboot the phone and input it successfully.  But not tonight.  This has been a really weird night.  My iMac works

  • AppleScript to Select Groups of 3 Files?

    Hi all, Thanks in advance for any help you can provide. I am trying to create an AppleScript to take groups of 3 files and put them each in their own folder, inside of a master container folder. The files will typically be in DNG format as they will

  • How to Hide File Extensions in URL

    Hello Again! I've tried to edit my .htaccess file to hide file extensions in my URL, but nothing I try works. I get "Page Not Found" when I try to remove the .html from my pages. Here is the code I have used: RewriteEngine On RewriteCond %{REQUEST_FI

  • Second Gen Shuffle - In Restore Loop !

    Upgraded to newest version of Itunes software. Second Gen Shuffle connected.. Sofware says that the ipod cant be used and needs to be reformatted. then it tells me that it needs to be restored. I go thru all the steps, the Shuffle reboots and shows a

  • EP 6.0 WAS 6.20 and BW 3.0B

    Hello, I have a working BW 3.0B sandbox where we would like to evaluate EP 6.0. What are my options in terms of installation. Do I need to install an instance of WAS 6.20 and a separate instance of EP 6.0 ? or can I install WAS 6.20 on the same insta