Need code for Generic Extraction using FM using multiple tables.

Hi Experts,
We are doing a generic functional module extraction based on four tables - say,
Table TT1 u2013 with fields AA, BB.
Table TT2 u2013 with fields CC, DD.
Table TT3 u2013 with fields EE, FF.
Table TT4 u2013 with fields GG, HH.
The value of the field BB = DD.
The value of the field DD = FF.
The value of the field FF = HH.
The key field with which we have to extract data is AA.
We have created a structure for the above tables u2013 say STR containing all the fields from the above tables.
Now as such all the data from the tables is in the internal table ITF.
This data from the internal table is passed to the structure STR.
Somewhere, I think we are making a mistake. I do not know where.
When we check the datasource extraction in RSA3, we find that there is data only from the Table TT1. Data from other tables does not populate in the datasource.
We do not know where we went wrong.
Kindly help us.
Thanking you all in advance.
With Kind Regards,
Shreeem.

Hi,
You will have to use the select query with joins as given in the below example,
SELECT  pcarrid pconnid ffldate bbookid
  INTO  CORRESPONDING FIELDS OF TABLE itab
  FROM  ( ( spfli AS p
            INNER JOIN sflight AS f ON pcarrid = fcarrid AND
                                       pconnid = fconnid    )
            INNER JOIN sbook   AS b ON bcarrid = fcarrid AND
                                       bconnid = fconnid AND
                                       bfldate = ffldate     )
  WHERE p~cityfrom = 'FRANKFURT' AND
        p~cityto   = 'NEW YORK'  AND
        fseatsmax > fseatsocc.
But I would suggest you to better create a Data base View with all the required tables and then use that view for data selection in your FM.
Regards,
Durgesh.

Similar Messages

  • Need code for sales order create report using bapi's

    need code for sales order create report using bapi's

    Hi,
    Go through below link
    http://www.saptechies.com/bapi_salesorder_createfromdat2/
    <b>Reward points if it helps,</b>
    Satish

  • Delta for generic extraction using FM

    Hi All,
    I am trying to create generic datasource using function module. I need to set delta functionality for this DS but I don't know how to set delta for FM.
    Do I need to give delta specific field in RSO2? My delta specific field is either AEDAT or ERDAT? Is it possible? how to write code for this?
    I have around 13 tables & there is no stadard DS for these table so is it correct way to use generic using FM or is there any other way?
    plz suggest & if u have any step by step document for FM plz provide.

    Hi Manesh,
    Yes you need to set up your delta enabled field in RSO2 when you click the delta button for the datasource.
    Usually for generic datasources we use any date field to genarete deltas and looks like you have the same (AEDAT and ERDAT a re date fields).
    You dont need to write any code for this. Just provide any field for executing delta and initialize. It will get you the delta based on the date.
    In some scenarios, we get postings happening on an older date and hence dates cannot be used, in those scenarios we can go by numeric pointer.
    Creating a datasource on 13 tables, i ma not sure how efficient it would be (mainly depends on the data volume on these tables) but yah writing a function module will be fine.
    Let me know in case of any clarification
    Thanks
    Sachin

  • Code For Delta Extraction Using Function Module

    Dear Experts,
    I want a sample code for Delta Extraction using Function Module ( If it is customized already working code very helpful ), I have already created Function Module but Full update is happening. If I give delta update again it is retrieving all records. It is very urgent, if you have please send me to the following mail ID.
    [email protected]
    Best Regards,
    SGK.

    Dear KJ,
    Thank for your response. I saw the code that you sent, you have used some ztables like ZSC_DELTA_IP, ZSC_SAFETY_DELTA, ZSC_SET_EXT_TIME
    What are the fields that you have created in these tables , what is use of these tables, can you send the fields that you have used in these tables.
    Thanks & Regards,
    SGK

  • Need code for Sales order creation in oops using xi as integration server

    Need code for Sales order creation in oops using xi as integration server.

    hi rocky,
              could you pls give a bit explanation on what you are expecting.
    regards,
    Pavan

  • When to go for generic extraction using view and infoset query?

    Hi,
                        Can anyone clarify me when we should go for generic extraction using view and when we should go for generic extraction using infoset query....
    Also what is the difference between view and infoset?
    I tried but could not find out....
    Regards,
    Kalyani.

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • [svn] 4634: First part of glue code for allowing Halo components to use the new Text Layout Framework , in order to get functionality such as bidirectional text.

    Revision: 4634
    Author:   [email protected]
    Date:     2009-01-22 17:38:56 -0800 (Thu, 22 Jan 2009)
    Log Message:
    First part of glue code for allowing Halo components to use the new Text Layout Framework, in order to get functionality such as bidirectional text.
    Background:
    TLF is making this possible by implementing a TLFTextField class. It is a Sprite that uses TLF to implement the same properties and methods as the legacy TextField class in the Player. Thanks to the createInFontContext() bottleneck method in UIComponent, it can be used by a properly-written Halo component (such as those in Flex 3) without any modifications to the component.
    Note: Text should render similarly -- but is unlikely to render identically -- when a component uses TLFTextField vs. TextField. The width and height may be different, affecting layout; text could wrap differently; etc. This is a fact-of-life based on the fact that TLF/FTE and TextField are completely different text engines.
    Whether a Halo component uses TLF or not to render text will be determined in Flex 4 by a new style, textFieldClass. (Gumbo components always use TLF.)
    TLFTextField is currently only partially implemented. It does not yet support scrolling, selection, editing, multiple formats, or htmlText. Therefore it can only be used for simple display text, such as a Button label.
    Details:
    The TextStyles.as bucket 'o text styles now includes a non-inheriting textFieldClass style. It can be set to either mx.core.UITextField or mx.core.UITLFTextField. These are the Flex framework's wrapper classes around the lower-level classes flash.text.TextField (in the Player) and its TLF-based workalike, flashx.textLayout.controls.TLFTextField.
    The global selector in defaults.css currently sets it to mx.core.UITextField using a ClassReference directive. For the time being, all Halo components will continue to use the "real" TextField.
    The new UITLFTextField is a copy of UITextField, except that it extends TLFTextField instead of TextField. This class has been added to FrameworkClasses.as because no classes in framework.swc have a dependency on it. It will get soft-linked into applcations via the textFieldClass style.
    The TLFTextField class currently lives in a fourth TLF SWC, textLayout_textField.swc. This SWC has been added to various build scripts. The external-library-path for building framework.swc now includes all four TLF SWCs, because UITLFTextField can't be compiled and linked without them. However, since they are external they aren't linked into framework.swc.
    Properly-written Halo UIComponents access their text fields only through the IUITextField interface, and they create text fields like this:
    textField = IUITextField(createInFontContext(UITextField));
    (The reason for using createInFontContext() is to support embedded fonts that are embedded in a different SWF.)
    The createInFontContext() method of UIComponent has been modified to use the textFieldClass style to determine whether to create a UITextField or a UITLFTextField.
    With these changes, you can now write code like
    to get two Buttons, the first of which uses UITextField (because this is the value of textFieldClass in the global selector) and the second of which uses UITLFTextField. They look very similar, which is good!
    Currently, both Buttons are being measured by using an offscreen TextField. A subsequent checkin will make components rendering using UITLFTextField measure themselves using an offscreen TLFTextField so that measurement and rendering are consistent.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Deepa
    Modified Paths:
        flex/sdk/trunk/asdoc/build.xml
        flex/sdk/trunk/build.xml
        flex/sdk/trunk/frameworks/projects/framework/build.xml
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITLFTextField.as

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • What is the pairing code for an HP Photosmart 309a using windows 7?

    what is the pairing code for an HP Photosmart 309a using windows 7?

    Hi,
    The Default priting code is 0000.
    If you changed the code, you may locate the current on by clicking the Setup Menu,
    Scroll to the Bluetooth Menu and then click Passkey.
    For any issue, you may find a step by step bluetooth configuration guide below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02530249&cc=us&dlc=en&lc=en&product=3737195&tmp...
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Bussiness  Scenario for GENERIC   EXTRACTION

    Hi friends,
       can any one  explain me... in what situation we go for Generic Extractions..
    The normal reason is  When  the Bussiness Content  Datasource is not matching with our requirement.. we go for Generic extraction.. 
         I told like this only... but they are not satisfied with my answer.. and they asked .. tell me the  bussiness scenario( in what situation u  done  generic extraction)
      so, friends... could any one plz explain  me any scenario... which you done for generic extraction...
             i will appriciate  by giving   points  to the appropriate  answers..
    Thanks
    babu

    Hi,
    These 2 below links may be helpful,
    <u>GENERIC DATA EXTRACTION USING FUNCTION MODULE</u>
    <u>Difference between Generic Extraction and Enhancement of existing Extractor</u>
    1)Go to RSA6 and find the data source you need to enhance.--> Display
    2)Double click on the Extract structure.
    3)Now click on the append structure button to add the required field on to the existing structure.
    4) add your required fields with ZZ appended to your field.
    5) Save & Activate the append structure. Then go back and make sure you activate the extract structure also.
    6) Now again go back to RSA6 and select your Data Source. But this time go to change Data Source to remove the hide option to the enhanced fields. By default they’ll be in hide mode. If you don’t remove the hide field then this field will not be seen in BW side.
    7) Now go to SE38 to write the logic to populate the data into the enhanced field. Program name to write the logic is ZXRSAU01.
    8) Check + Save + Activate.
    9) Check in RSA3 if data is populated as per your requirement.
    10) Replicate your Data Source.
    11) Now go to Data Source/ Trans. Structure screen. Now you can see the enhanced field on the right hand side.Enhancements:
    <b>Enhancements:BW Side:
    Go to CMOD.</b>
    1. To Save&#61664; give Description &#61664; create&#61664;create new project—give the project name
    2. Select the radio button Enhancement Assignment and give the Enhancement name you want and press Enter.
    3. If the Enhancement is already assigned to some other project it will display the same message saying it is already assigned it some other project. Click on&#61664;
    4. If the Enhancement is not assigned to any project save.
    5. Give RSR00001 (For Variable Exits)
    6. Activate the Project.
    7. and click on the components button.&#61664;Now go to Display
    8. Now Double click on EXIT_SAPLRRS0_001. In that you can see an include ZXRSRU01.
    9. Double click on that include, it will say program name ZX…… are reserved for includes of exit Functions groups.
    10. Just Press Enter.
    11. It’ll Pop-Up a window Create Object.&#61664;saying Include ZX…. Does not exits
    12. That is where you have to write the code for the variable exits. BW: Virtual&#61664;
    13. RSR00002 Chars and Key Figures. BW: Moving Characteristics.&#61664;
    14. RSR00003
    Thanks,
    Aby Jacob

  • Delta for Generic Extraction

    Hi all,
    Can anyone tell about delta for generic extraction i.e 3 options in detail and when do we use it.
    thanks in advance,
    chandra sekhar

    When you want to customize existing datasources at R/3 sides then you can do that with customer exits.
    Suppose if you want to add a column to the existing datasource then you will use append structures (Transaction SBIW-> Edit Data sources - Enhance Datasource) then to fill the column you will write the code in these Exits.
    There are 4 types of Exits available.Function Group (XRSA)
    EXIT_SAPLRSAP_001 Customer Function Call for Supplying Transaction Data
    EXIT_SAPLRSAP_002 Customer Function Call for Supplying Master Data (Attributes)
    EXIT_SAPLRSAP_003 Customer Function Call for Supplying Text
    EXIT_SAPLRSAP_004 Customer Function Call for Supplying Hierarchies
    As you are aware there 4 types since the datasources in R/3 are predefined to fill the data of BW viz, attributes,Text,Hierarchy and Transaction.
    Check the below forum discussion for more information..
    DataSource Enhancement
    Regs
    Gopi
    Assign point if it helps ...

  • Need code for padding (spacing) 5 navigation links in my #topnavbar internal style

    need code for padding (spacing) 5 navigation links in my #topnavbar internal style

    I'm new at this and the below code is regarding the navigation bar and links
    I started using a template to create the first html page and made copies of it to create the other four.
    All the links work but I wanted to space them apart further.
    They look basically like this horizontally: Home About Us Photo Gallery Services Contact Us
    #topnavbar {
    text-align:center;
    #topnavbar a:link a:visited{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 100%;
    font-weight: bold;
    color: #039;
    text-decoration: none;
    margin: 0 25px:
    #topnavbar a:hover a:active {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 100%;
    font-weight: bold;
    color: #039;
    text-decoration: none;
          <div id="topnavbar">
          <nav>
          <p><a href="index.html">Home</a>  
             <a href="aboutus.html">About Us</a>  
             <a href="photogallery.html">Photo Gallery</a>
             <a href="services.html">Services</a>
             <a href="contactus.html">Contact Us</a></p>  
          </nav>
           </div>

  • Deltas for generic extraction.

    Hi,
    if i want use time stamp & calday  for my generic extraction , i can use uppercase and lower case, wher can i give timings suppose want run deltas for 10am-10.30am.
    regards
    anitha

    Hi,
    Security interval upper limit The delta-relevant field is a timestamp.
    The timestamp that was read last is 12:00:00. Delta extraction begins at 12:30:00. The security interval for the upper limit is 120 seconds. The selection interval for the delta request is: 12:00:00 to 12:28:00. When the extraction is finished, the pointer is set to 12:28:00. Security interval lower limit The delta-relevant field is a timestamp. After images are transferred. In BI the record is overwritten with the post-change status, for example, for master data. Any duplicate data records do not affect BI. The last read timestamp is 12:28:00. Delta extraction begins at 13:00. The security interval for the lower limit is 180 seconds. The selection interval for the delta request is: 12:25:00 to 13:00:00. When the extraction is finished, the pointer is set to 13:00:00.

  • I'm new to jsf VWP..i need code for searching

    Hi,
    i need code for search...
    just populate records from database using jsf VWP5.5.1
    how to bind in table.
    we enter name r value in textbox click button related records display to table.how write code in button.
    pls help me....

    Don't crosspost. Please proceed here: http://forum.java.sun.com/thread.jspa?threadID=5211369

  • Need help for writing extract program

    hi
    i need help for writing extract program to retriew data from legacy system.
    i already developed bdc programs for me31k and me21.
    my requirement is to write extract program s for those t.codes.
    to retriew data from legacy system and stored in flat file.

    i need help with a java program. it is a program that allows the user to enter a student's GPA, number of extracurricular activities, and number of service activities. The user can not enter a gpa above 4.0 or below 0. The user can not enter a negative number for the number of both activities. If the student meets the following criteria: 1) GPA of 3.8 or above and at least one extracurricular activity and one service activity, 2) GPA below 3.8 but at least 3.4 and a total of at least three extracurricular and service activities, 3) GPA below 3.4 but at least 3.0 and at least two extracurricular activities and three service activities, the message "Scholarship candidate" should display. If the student does not meet the criteria above, then the message"not a candidate" should display. Can you help me, please?
    You haven't posted ANY 'java program' for us to help with.
    The forum is NOT a coding service. It is to help you with YOUR code.
    Post the code you have written and SHOW us (don't just tell us) how you compile it and execute it and the results you get. Then we can help you with any problems you are are having.
    If you need help understanding just what the program should be doing you need to ask your instructor to clarify the assignment.

  • Any docs regarding Table/View,Function Module for Generic Extraction

    Hello All
    I need to do Generic Extraction,for that if anyone has docs., I need docs on how to create table,view,Function module and infoset query ,on that pl forward to my id
    [email protected]
    Many Thanks
    balaji

    hi Amit
    Thanks for your docs,but this docs i have already,do u have any thing different one,if so please forward?
    Facing a Problem
    Iam trying to create view(database view)for <b>vbak</b> and <b>vbap</b> and given in Tables in <b>Table/Join Conditions</b> tab and clicked in <b>Relationship</b> and the relantionship has been generated automatically,now when i tried to activate this view its saying like "<b>No tables and/or fields are defined for view xxxxx</b>(xxxx-> name of a view)
    what will be the problem?pl let me know how to create a view?
    And also I need to know the diffference between database view,Manintenance view,Projection view and help view?
    Pl let me know on this?
    Many Thanks
    balaji

Maybe you are looking for

  • Nat/pat asa 5505 asdm ver 8.4

    hi all, i have a problem with portfoarwarding on asa 5505. i have this situation: internet ---> pubblic ip address-> router albacom -- 10.0.0.15 ---> -nat farward port 80--10.0.0.1 -outside -firewall asa -inside - 192.168.0.1------------server web 19

  • CCX 10.5 Script Editor Not Working Win7 Enterrpise 64 Bit

    Anybody else running into this?  Other colleagues stated that they have CCX 10.X editors working with Windows 7 32 bit. My issue is that the initial splash screen comes up for a quick sec and goes away.  I've tried Win XP compatibility and Run As Adm

  • Only 0 serial numbers entered instead of 30

    Hi Experts, I am facing one problem during Usage decision in QA32 TRANSACTION, After saving the Usage decision , the system saying that +'Only 0 serial numbers entered instead of 30'+, due to that i am unable to save the usage decision so that goods

  • Shows 'ORA-01435: user does not exist' for the existing user

    Hi All, when I am trying to import this dump into oracle 10g, I am getting following error. I have created a talespace 'EXIM' for this already this is my user creation command CREATE USER EXIM PROFILE DEFAULT IDENTIFIED BY pass DEFAULT TABLESPACE USE

  • How to import a dbf file to oracle

    Hi, Please anybody can help me how to imprt an dbf file to oracle. Thanks