What does "into corresponding field" addition used for?

What does "into corresponding field" addition used for?. I have seen them in open sql statements. Please explain?

before knowing this you have to know how u write select in ABAP....
think you have a str./internal table itab with this strucutre:
data: begin of itab occurs 0,
         vbeln like vbak-vbeln,
         posnr like vbap-posnr,
         netwrt like vbap-netwrt,
       end of itab.
u have to follow the same order in the select statement...
select vbeln posnr netwrt
from vbap
into table itab
where......
Think that u had some concern and coudnt write a select in same order then u write it like this...
Performance wise its very bad...so ppl generally try to eliminate it..
select  netwrt posnr vbeln 
from vbap
into corresponding field of table itab
where......
Award points if helpful

Similar Messages

  • What are the Corresponding fields in CRM for sales order in ECC

    HI! Experts,
    While creating a standard sales order in CRM I want to poulate these fields in ECC Sales order, these fields are
    VBKD-BSARK - Purchase order type
    VBAK-BNAME - Name: user ordered
    VBKD-IHREZ - Web Confirmation Number
    VBAK-TELF1 - Telephone number
    Or the other way round I want to know what are the corresponding fields in CRM for these fields so that when I pass the data in crmd_order in those fields it gets populated in the above mentioned fields.
    Thanks and Regards
    Mayank

    Mayank,
    May I suggest you to create an Order in R/3 with these fields and check that back in CRM. This is not as easy as it may sound. It is possible that some of these fields are "determined" by the system - for example the "Sold-To"'s first telephone number maintained in VBAK-TELF1. So, though it becomes a part of the Order header in R/3, CRM, generally doesn't duplicate them in the transaction but allows to refer back to the master data from the transaction!
    Check the following fields in CRM and see if you find the data you require.
    VBKD-BSARK - Purchase order type There is a field in CRM that "holds" this value. ACTIVITY CATEGORY. This can be found in the ACTIVITY_H set of the transaction. Filed name CATEGORY. Problem with this is, - "Category Type" of a CRM Activity to be mapped to PO type? Didn't workout good for us since the master data for both vary widely. So, we used custom Header Extension data for this (EEWB). So, you have to work
    VBAK-BNAME - Name: user ordered Is usually CREATED_BY in the CRM Order Header (CRMD_ORDERADM_H). But this fills up the VBAK_ERNAM bit not the BNAME.See the next item, that may give a clue if this is related to the next item.
    VBAK-TELF1 - Telephone number is usually "determined". Usually the Sold-To's first telephone number maintained in the Business Partner "Communication" section for that Sold-To.
    VBKD-IHREZ - Web Confirmation Number Actually it is Customer's or vendor's internal reference as per standard use. Looks like your customer is using it for custom purposes. Well, if you maintain the relationship  "Is Correwspondence Recipient for" with the Sold-To partner in CRM, and maintain the details of this Person, then this will be transferred to R/3.
    Hint: Once you have the R/3 order in CRM, try using the Report program (SE38)  CRM_ORDER_READ in CRM. This is a good tool to "dissect and see" and order in CRM. The program needs only the Transaction Number as the input.
    Easwar Ram
    http://www.parxlns.com

  • PROGRESS ANALYSIS: what does COST PROPORTIONAL measurement method use for?

    Hi Experts,
    When I tried to use the COST PROPORTIONAL measurement method, I found 1 thing:
    + actual POC = actual cost / overall value
    + BCWP = actual POC x overall value
    It means that BCWP = ACWP (actual cost) --> Cost Variance (CV) = BCWP - ACWP = 0
    Hence we cannot see the cost variance when we apply the COST PROPORTIONAL method.
    Could you please help me to explain the use of COST PROPORTIONAL method?
    Thanks and best regards,
    Khoa Huynh

    Hi Abdul Khader,
    Thanks for your answer. I got your point.
    But can you explain more about "Cost proportional measurement method is suitable for work packages where costs and services have a constant relationship"
    Thanks a lot,
    Khoa Huynh

  • How to write the quires using into corresponding fields?

    Hi,
      How can i write the below quires using into corresponding fields statement.
    DATA :ws_d_budat TYPE bkpf-budat,
               ws_c_artnr TYPE ce10001-artnr,
    1) SELECT SINGLE budat
                        INTO ws_d_budat
                        FROM bkpf
                        WHERE awtyp = 'VBRK'
                        AND   awkey = wa_vbeln-vbeln.
    2)SELECT vbeln posnr matnr
                   FROM vbrp
                   INTO TABLE i_matnr
                   FOR ALL ENTRIES IN i_vbeln
                   WHERE vbeln = i_vbeln-vbeln
                   AND   matnr = ws_c_artnr
                   AND   posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
                   INTO TABLE i_budat
                     FROM bkpf
                     FOR ALL ENTRIES IN i_awkey
                       WHERE awtyp = 'VBRK'
                       AND   awkey = i_awkey-awkey.
    Sudhakar

    1) SELECT SINGLE budat
    INTO ws_d_budat
    FROM bkpf
    WHERE awtyp = 'VBRK'
    AND awkey = wa_vbeln-vbeln.  -
    > <b>Not possible</b>
    2)SELECT vbeln posnr matnr
    FROM vbrp
    INTO corresponding fields of TABLE i_matnr
    FOR ALL ENTRIES IN i_vbeln
    WHERE vbeln = i_vbeln-vbeln
    AND matnr = ws_c_artnr
    AND posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
    INTO corresponding fields of TABLE i_budat
    FROM bkpf
    FOR ALL ENTRIES IN i_awkey
    WHERE awtyp = 'VBRK'
    AND awkey = i_awkey-awkey.
    Reward points if helpful.
    Regards.
    Srikanta Gope

  • Why we use INTO CORRESPONDING FIELDS OF TABLE

    why we use INTO CORRESPONDING FIELDS OF TABLE

    INTO CORRESPONDING FIELDS OF TABLE  is transferring the value from select clause to itab where the field names are same.
    suppose you have
    data : begin of itab occurs 0,
             matnr like mara-matnr,
             menge like mseg-menge,
            lgort   like mard-lgort,
           end of itab.
    select matnr lgort into table from mard where....
    it may give an error because you are not filling menge here or it may fetch the value in matnr and menge field.
    but if you use INTO CORRESPONDING FIELDS OF TABLE then it will fetch the data to matnr and lgort field only.
    INTO CORRESPONDING FIELDS OF TABLE  is only matching by name not by datatype be careful.
    regards
    shiba dutta

  • Into corresponding fields

    Hi
      I have one performance issue problem, in program i declare structure, internal table and work area. Here in select query i specify into corresponding fields table <it>. here i used into corresponding fields of table is it reduce the performance?
    Please tell me.
    Thanks.

    never use into corresponding fields when we are looking for perfromance issue. as you said 10 fields you are going to display. then
    decalre the internal table body and work area by using those fields (which are required to display output).
    select <require fields> into table <internal table body> from <dbtable> where <condition>.
    if you declare your internal table like below which makes your performance better.
    TYPES: begin of tw_itab,
                end of tw_itab,
             tt_itab type standard table of tw_itab.
    DATA : lw_itab type tw_itab,
               lt_itab type tt_itab.
    regards.
    sriram.

  • ]INTO CORRESPONDING FIELDS OF

    When <u>INTO CORRESPONDING FIELDS OF</u> is used in a select statement?

    HI
    The INTO clause defines the target area into which the selection from the SELECT clause is written. Suitable target areas are variables whose data type is compatible with or convertible into that of the selection in the SELECT clause.
    The SELECT clause determines the data type of the target area as follows:
    ·        The linesspecification in the SELECT clause determines the depth of the target area, that is, whether it is a flat or a tabular structure.
    ·        The colsspecification in the SELECT clause determines the structure (line type) of the target area.
    To read data into one, use the following in the INTO clause
    SELECT ... INTO wa ...
    The target area wa must be at least as large as the line to be read into it. When you read the data into wa, its previous contents are overwritten. However, the components of wa that are not affected by the SELECTstatement retain their previous values.
    If the work area is structured, you can use the CORRESPONDING FIELDS addition. This transfers only the contents of fields whose names are identical in the database table and the work area. This includes any alias column names that you specified in the selection.
    Reward all helpfull answers
    Regards
    Pavan

  • What is the best editor to use for JSP/Servlet?

    Hello,
    What is the best editor to use for JSP/Servlet database development.
    I'm looking at Dreamweaver,Java Studio Creator.
    I want some thing fairly easy to use that has database helper wizards like dreamweaver.
    Thanks for the help.
    Frank

    Is it better to have a servlet do the database work and call it from JSP?No, it's better to have persistence objects do the database work. Servlets handle HTTP requests, and JSPs are HTML factories that should be pure view.
    But there are lots of ways to do things. You just have to understand the tradeoffs when you decide.
    I do not want to hammer out code, I want to learn the
    best way to do things from experienced developers. Sorry, sounded like you just wanted to churn stuff.
    "best way" can be subjective. In one app, "best" might be "delivered fastest". For another, "best" might be "most secure" or "most easily modified" or "best performing" or whatever. You won't get a "best" answer, only different choices. And they aren't always so easy to explain or execute.
    I'd recommend that you start by reading about layered applications (3-tier architectures) and MVC separation. Once you've Googled enough about that, look into a framework like Struts or Spring or WebWork. That'll help you figure out where to put each responsibility in your app.
    I can use dreamweaver to create web apps, but I hate
    the arrays used to define fields. It also seems not
    to take advantage of connection pooling.Don't know what you're talking about here, Frank. What do fields have to do with connection pooling?
    %

  • What are the corresponding field names

    Hi,
    What are the corresponding field names for the followings:
    (1) Last post goods issue date
    (2) No of finished goods movement days
    (3) Unit price per carton
    (4) Per carton quantity
    Thanks.

    hello, friend.
    you can find out the technical names (to include table and field names) by going to the fields themselves, and clicking on 'F1'.  the "Performance Assistant" will appear.  in this latter screen, go to the menu and click on the 'Technical Info' icon that looks like a hammer and wrench.  you will find your info there.
    regards.

  • "Select into corresponding fields" on MaxDB 75

    Dear all,
    we just migrated from Linux/Sap DB to Win2003 64bit /MaxDB (KERNEL 7.5.0 BUILD 030-123-100-791)
    The migration went well and the system is fully available. The perfromances in general have been improved with the new hardware..
    The problem is that there is a customer program, Z* object obviously very important..., that in random way run in very bad way.
    We compared it's execution on the old system and on the new machine , with the same variant.
    In general on the old machine it ran more faster than on new machine, and in these cases on the new machines it need till 3 or 4 times (more than 10 hours) the execution on the old machine.
    Sometimes insted on the new machine, with the same variant, it's executed in very fast way, requiring less time than on the old machine.
    The Data Buffer cache on the new machine has been enlarged, and also the performance parameters from th note for MaxDB 7.5 have beed applied.
    The statistics are refreshed every day.
    When the performances on the new machine become bad for this program there are not exausted resources and there are free work process.
    We noticed only the programm require a lot of time to execute this statement on the new machine:
    SELECT * FROM BSAD
    INTO CORRESPONDING FIELDS OF TABLE TB_BSAD
    WHERE AUGBL EQ P_BELNR
    AND BELNR NE P_BELNR
    AND BUKRS EQ P_BUKRS
    AND GJAHR EQ P_GJAHR.
    Any idea ?
    regards

    Hi Roberto,
    INTO CORRESPONDING FIELDS is the problem.
    The internal table structure ideally should be same as the fields retrieved in the select query.
    Best regards,
    Prashant

  • What brands and type can I use for my iMac 20" internal Hard Drive?

    what brands and type can I use for my iMac 20" aluminium internal Hard Drive?
    can I use WD caviar black?
    is it too hot?

    If you are replacing the drive because the existing one is faulty, that's one thing. If you just want more space, you should take advantage of having a decently fast and relatively small capacity drive in there now (instead of a huge drive). Get an external FireWire drive and off-load most of your user data there. Make your internal drive dedicated to mostly your OS and app files, with plenty of free space. That setup will make your iMac run more efficiently. I won't go into more detail, because I'm not answered your specific question... You can post back with any questions, if interested...
    To answer your questions...
    You should be able to use any SATA 3.5-inch drive internally, but you should probably keep it at or under 1TB. The main concerns are power usage and heat dissipation. A drive like the WD Caviar Green would be ideal in terms of power and heat, but they do have slower (or variable) spin rate. I have one as an external drive (750GB) and it is amazingly quiet and cool. If I had to replace the internal drive because the current drive failed, I'd put it inside. I'll trade a bit of pure performance for the efficiency (including low noise), and these drives are more advanced with higher data density and larger cache, so the trade-off from slower spin rate may not be so bad.
    You can check your current drive's model number (which is shown in System Profiler) to get the specs online. The stock drive in my old +Late 2006+ iMac is a 7200 RPM drive. The Caviar Black is a 7200 RPM drive, with a newer design. So if you want to use a Caviar Black in there, I think it would be OK.

  • What's the best flash to use for nighttime sports games?

    What's the best flash to use for nighttime sporting events? I have a rebel XT and I'm pushing it to its limits trying to stop the action. I've tried a speedlite 430 but it didn't have a hook up for an external battery pack and I was told I'd need the extra power. Just tried the 580ex ll on Friday but at the 1/1 setting, it didn't flash for each frame in a burst, even with the external power. I should have backed it down to 1/4 but didn't know at the time. Any thought on a really good flash for night sports? Is the 580 a good choice?

    JUst as Tim_S said. YOu will want a external battery pack. Unforatannly the 430 does not have the option to plug in a external battery pack so will want to pick up a 580 or one of the new 600 series. 
    Then you start looking at the battery packs. I recommend Quantum power packs
    http://qtm.com/index.php/products/2012-05-17-18-18-59/turbos
    5D III, 8-15L, TSE 24L, 24-105L, 85L, 70-200L, EX600 X2

  • What kind of analysis should i use for these signals?

    i'm developing a lie detection system,i have one respiratory sensor and a hand grip heart rate monitor to acuire the physiological signals from the sensors.i have attached a screenshot of the application.the top signal represents the heart beat and bottom one is respiratory signals.my question is that what analysis mwthods should i be using for these signal types?would you please care to help me on this? thank you.

    Thanks for your replies to this topic.  I just discovered the worm gear option yesterday while talking to a professor.  I think that is the route we are going to take because the DC motor won't be as expensive as a high-torque stepper or servo.  Also, I have three engineers that will be calculating the motor size based on gear reduction, spool size, cable length, and the load that we have to lift (which is about 120 lbs.).  If any of you would like to suggest a motor size, that would be great too.  I'm thinking something around 1HP should probably do it.  My goal is to stay cost-effective while making an easy apparatus.  I know that the worm gears may also be inefficient at times but it seems like the best solution for this application.  Not to mention it's not to hard for our mechanical engineers here to make the spool and bearings.  And I believe you can buy a DC motor that interfaces directly with a worm gear.  However, a follow up question is what computer hardware do I need to control the voltage of the motor so I have speed control?  Is this done through an RS232 board?  My output from the LabVIEW program will be voltages, from which device is that binary signal converted into physical voltage?  Thanks for your help so far.

  • What does the return code 20 stands for in the Transport request log

    Hi,
    When we have retreived the Transport request log by using the Unix command, we have got return code 20.
    Please let us know what does the return code 20 stands for and under what scenerios I will get the return code 20.
    Thanks & Regards,
    Madhuri.

    chk the last return code in this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/57/38e26c4eb711d182bf0000e829fbfe/content.htm

  • What is "FND : Diagnostics %"  profile option used for ?

    What is "FND : Diagnostics %" profile option used for ?
    How is it different from "FND : Debug%" profiles ?

    I guess my above update was misleading (Sorry for that) .. Please find below more details about (FND: Diagnostics) and (FND: Debug Log Enabled):
    Both profile options are used to configure logging, the difference between them is (FND: Debug Log Enabled) is a database profile option used to configure logging while (FND: Diagnostics) is used to configure logging to screen.
    Logging to screen provides:
    - The ability to enable logging on a per HTTP request or per HTTP session basis.
    - Dynamic configuration which does not require restarting any servers or changing any log profiles.
    - A convenient lightweight mechanism to diagnose performance issues. Each message is timestamped to the millisecond.
    If Logging to Screen is enabled, then the Java log messages generated for a particular HTTP Request-Response are buffered in memory and appended to the end of the generated HTML page.
    This feature does not affect any existing configurations of file or database logging. File or database logging continues to behave per the configured middle tier log properties and/or log profile values.
    Note that this mechanism currently provides only Java layer messages. Regular file or database logging should be used if messages from other layers (e.g., PL/SQL) are needed.
    In brief ..
    FND: Diagnostics (Self-Service) --> To see this, Login as that user and navigate to self-service, Click the Diagnostics link in the upper right corner
    - Default = “No”
    - Recommendation = “No”
    - Requires APPS password to use Examine function
    - Usually set to “Yes” during development

Maybe you are looking for