Is there any VIEW or FM for pulling data from VBAK, VBAP?also for VBEP,VBBE

Hi Experts,
1) Instaed of using JOINS and FOR ALL ENTRIES, am looking to use any view or FM for pullinmg the data from, VBAK & VBAP,
So, pls let me knwo that, Is there any VIEW or FM for pulling the data from the above  of tables
2) Instaed of using JOINS and FOR ALL ENTRIES, am looking to use any view or FM for pullinmg the data from, VBEP & VBBE,
So, pls let me knwo that, Is there any VIEW or FM for pulling the data from the above  of tables
3) Am guessing FOR ALL ENTRIES is better than JOINS in PERFORMENCE perspective, Is am I correct?
thanq
Edited by: Srinivas on May 9, 2008 5:36 PM

Hi Srinivas,
You can use the view WB2_V_VBAK_VBAP2 for fetching data from VBAK and VBAP instead of using a JOIN. Note that, in the view, item data fields will have a I following the field name (POSNRI, MATNR_I are the item data fields from VBAP). The master data fields of VBAK are the same.
As far as i know, there are no standard views provided by SAP for VBEP and VBBE. Not sure if FM exists either.
While using FOR ALL ENTRIES clause make sure that you specify the entire primary key (EX. if selecting from VBAP specify VBELN and POSNR) as fields for selection or in the selection criteria. Its much better if you have the primary key in both. This is really important because without specifying the entire key and using FOR ALL ENTRIES will drastically bring down the performance. And also, If you are fetching not more than 100 or 200 entries using the clause it is fine, beyond that its same as using a select statement within LOOP...ENDLOOP.
So, you have to decide whether to use FOR ALL ENTRIES or a JOIN while selecting data depending on the requirement. If you don't have the entire key either in fields for selection or selection criteria, then its better to use a JOIN or VIEW.
The following is an example for using FOR ALL ENTRIES clause effectively.
         Select VBELN
                    POSNR
                    MATNR
            From VBAP
              into Table T_VBAP
          For All Entries in T_DATA
          Where VBELN eq T_DATA-VBELN
              And POSNR eq T_DATA-POSNR.
I hope this helps, Please let me know if you need further assistance.

Similar Messages

  • Is there any way to export IT Resource data from OIM using the export tool?

    Hello,
    we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
    Thank you for your help
    Kind Regards

    Well , OIM doesnot provide any such facility to export ITResource data along with ITResource .
    Directly updating the DB could be an option ..
    Thanks

  • Is there any way to get specific app data from iCloud so that when you redoes load an app, you can restore its data?

    Is there any way to get specific app data from iCloud so that when you redoes load an app, you can restore its data?

    no.
    the backup is only for the purpose if you need to wipe the device.

  • My iphone 4s will not turn on or connect to itunes.... is there any way i can get the data from the phone?

    is there any way i can get the data from the phone?

    Hi webby84,
    Welcome to Apple Support Communities.
    It sounds like you're experiencing a hardware issue with your iPhone.
    These links are a good starting point for troubleshooting:
    iPhone Assistant
    http://www.apple.com/support/iphone/troubleshooting/
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Best,
    Jeremy

  • How to write Join View Adaptor which will pull data from Siebel and OID ?

    Hi Experts,
    I wanted to write web service call where OIF will talk to OVD than OVD will have join adaptor which will pull few data like msisdn from Siebel and view data from oid like given name and generate SAML assertion.
    I wanted to know how to write join adaptor for the same
    Help Appreciated.

    Hi Experts,
    Is anyone has any idea on webservice call to OIF which will call OVD that will have join adaptor connecting siebel and oid ?
    any help is appreciated

  • Are there any APIs to access user personalization data from java

    Hi gurus,
    We want to access personalization data for a user from java using API. This includes user mapping also.
    If you are aware of any api please let me know.
    Thanks in advance.
    Regards,
      Pratik Thakkar

    Hi Pratik,
    You can also retrieve a system object and get the user mapping for the system:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    iCtx = new InitialContext(env);
    ISystem pcdSys =(ISystem)iCtx.lookup(sysId);
    ISystemUserMappingData um = pcdSys.getUserMappingData(request.getUser());
    From this object you can get the user, password and other properties.
    As for personalized values of iView attributes, you can an environmental value before create the initial context to indicate to return personalized value, as follows:
    env.put(IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, request.getUser());
    Hope this helps.
    Daniel

  • Is there any function module to get the data from st06?

    Hi,
    I'm new to this forum.
    I would like to know if there is a way (maybe some function modules) to collect information like system architecture, and databases as displayed in transaction st06?
    I would like to call it from external program in order to view part of the data available in st06.
    Thanks,
    Erez Gordon.

    have a look at function group SMON.
    Not sure if these are remote enabled, otherwise create a wrapper function module (RFC).
    Edited by: Micky Oestreich on Dec 11, 2008 9:37 AM

  • Pulling data from table to a flat file

    hi all,
    Good day to all,
    Is there any script which i can use for pulling data from tables to a flat file and then import that data to other DB's. Usage of db link is restricted. The db version is 10.2.0.4.
    thanks,
    baskar.l

    Is there any script which i can use for pulling data from tables to a flat file and then import that data to other DB'sFlat file is adequate only from VARCHAR2, NUMBER, & DATA datatypes.
    Other datatypes present a challenge within text file.
    A more robust solution is to use export/import to move data between Oracle DBs.

  • Is there any way to get rid of this stupid feature in iTunes for Windows? You've subscribed to a podcast but have more than five unplayed episodes. iTunes will stop automatically downloading newer episodes.

    s there any way to get rid of this stupid feature in iTunes for Windows?
    You've subscribed to a podcast but have more than five unplayed episodes. iTunes will stop automatically downloading newer episodes. You may get the following message: 
    iTunes has stopped updating this podcast because you have not listened to any episodes recently. Would you like to resume updating this podcast?
    You can click Yes to continue downloading additional episodes. Or you can just listen to any part of any episode and a new episode will download at the next update.

    I believe that feature was added in order to reduce wasted costs to the Podcaster.
    Podcasts incur costs - that have to be paid for, by someone. That cost will be the cost of hosting the Podcast on a server somewhere and more crucially (with regard to your point), the cost of the Podcast being downloaded to your computer. Every download costs the Podcaster money (typically, charged by bytes downloaded).
    If that Podcaster pays for the whole thing personally, obviously they want to keep down any unnecessary cost to themselves. If the Podcaster is earning money for his or her Podcast (typically from advertising within the programme) then obviously, the advertiser only wants to pay for advertisements heard by listeners. So a download, not heard by the downloader, is waste of the Podcaster's money or no payment from the advertiser.
    My own experience is that I only have to resume downloading once per programme. I'm usually several episodes behind on two different Podcasts that I follow, but I do not recall having to repeat the resume Podcast after that first time.

  • My Old macbook pro that i bought in 2009. I have broke my screen and havent used it for a while, and now i have found out that i can use a monitor , but i have forgot my password is there any way i can make a new password? Thank you for reading this.

    My Old macbook pro that i bought in 2009. I have broke my screen and havent used it for a while, and now i have found out that i can use a monitor , but i have forgot my password is there any way i can make a new password? Thank you for reading this.

    Have you read for possible solutions over in the "More Like This" thread over here?-----------------------> 
     

  • After upgrading to OS Mavericks, I realized that the Partition for Windows is gone. I have really important data on this drive without a back up. Is there any way I can get this data before reformatting. Is there any third party software for receiving the

    After upgrading to OS Mavericks, I realized that the Partition for Windows is gone. I have really important data on this drive without a back up. Is there any way I can get this data before reformatting. Is there any third party software for receiving the data or any possible way? Money is not a limitation to this fix. Please help!!!

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • Is there any way I can have a box sent to my house for my broken iPhone...with out calling?

    Is there any way I can have a box sent to my house for my broken iPhone...with out calling? Preferably online.

    You could try your nearest Genius Bar; in order to decide whether or not a repair/replacement is necessary, a human being would have to troubleshoot and assess the situation by talking to you.

  • HT1665 Hello. Is there any way of finding a list of accessories which hold "made for iPhone" certification?

    Hello. There are a lot of new accessories available for iPhone 5 and iPhone 4 / 4S. Is there any way of finding a list of accessories which hold "made for iPhone" certification? I do not want to buy any accesories which may be harmful for my iPhone.

    Here is the start of the setup:
    Click on the Wi-Fi Options button and provide the needed info:
    Click on the OK button. Now check the Internet Sharing box to turn it all on. If the port box you checked is no longer checked, then uncheck Internet Sharing, check the port box again, then check the Internet Sharing box again.

  • Hello, is there any calender application which keeps historical data for iPad 2?

    hello, is there any calender application which keeps historical data for iPad 2?

    The one built-in keeps whatever historical data you sync to it.

  • Is there any deffirence for master data from flat fime bi 7.0 and 3.5?

    hi friends,
    is there any deffirence for master data from flat fime bi 7.0 and 3.5?
    regards
    suneel.

    you can follow the same 3.x dataflow eventhough u upgrade.
    the only diff
    3.x - would be emulated DS
    7.0 - RSDS
    3.x - file path declared in infopack
    7.0 - is declared in DS (that would be inherted by infopack)
    Infosource - optional - works fine on both the versions
    creating a new DS, it has to be RSDS .. no way out

Maybe you are looking for

  • Stuck while Transfering Purchases

    Hello, I recently bought a new computer. I am trying to transfer my iTunes store purchases from one computer to the other one via my iPod. I have had to do this before. For some reason, while I am transfering my purchases, it gets stuck on one of my

  • Application Express password expiration

    I am new to application express and doing some testing and I noticed that my developer/administrator account keeps on expireing. So you if navagate to the account control: account availiablility is unlocked, but the developer/administrator password i

  • Mac Os 9.1 update wont install

    Well I got the update from here http://docs.info.apple.com/article.html?artnum=75288 and when I transfered the file to the desktop it tells me this "The documentMacOS_9.1Update.smi.bin[] could not be opened, because the application program that creat

  • Struts - blank combobox, what's missing?

    I'm newbie to struts so I hope O can state the question clearly. so...I would like to have a combobox with items on my form (say categories) in my startupMangaer.java I wrote: ArrayList categories = new ArrayList(); categories.add("Classical"); categ

  • GW8 SP3 Feedback on NetWare

    Maybe someone at Novell is reading these posts .... Sorry guys but this SP is not your best effort - fortunately, these are just findings from my test system Where to start .... 1. Get numerous C00F (password passed in open call does not match errors