VBAP Table

Hi Group,
This issue I am facing is on R3T that is a testing server.
In the selection screen if I enter a particular user for Created By field (ernam) its taking ages to show the records, and finally its going to time out dump.
Could you share you ideas on this?
Regards,
Kumar.

Hi virgo rhyme,
in Table VBAP
VBELN
POSNR
are two primary key fields...
As u r fetching data without giving primary key fields the system will take a lot time to retrive all the data created by user ERNAM...
As There will be so mch of records present for the user in VBAP for that particular user....
I would like you to use VBAK first....
Specify ERNAM there get all VBELN and
then pass this VBELN in VBAP and you will get the result...
As VBELN is the KEY field here..
and it will improve the performance as well...
Use FOR ALL ENTRIES here...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7

Similar Messages

  • Material text is not getting updated in the VBAP table

    Hi All,
    There is an customized field in the sales order which picks up the addition material information maintained for a material. When we create the sales order the text appears. After we save the sales order, when we open the sales order(VA01/VA02), the text does not appear. If you check the VBAP table, the field which stores this text is blank. It will not update when we save the sales order.
    Could someone please let me know how can we check this problem.
    Regards,
    Swathi

    Hi
    Usually, this fields (zzfield) are populated with the subroutine userexit_move_field_to_vbap in include MV45AFZZ.
    I hope this helps you
    Regards
    Eduardo

  • How to get the conition price by dividing the price from vbap table

    Hi Experts,
    i am given below one assisnment in which when user click on vbeln column which is common column in vbak and vbap table it goes to second interactive alv report in which contains Sales order items details from VBAP table.so please help me to solved my problem.So try to send me some reponse or u can send me report of step which i have given to you below.
    Assignment
    Qty field refers to the Target Qty field in the table VBAP.
    To get Price in the unit divide the price by Condition Pricing Unit.
    If SHKZG field is set, then multiply the amount by -1, making it negative.
    Report Layout
    Item Type Item Number Material Number Material Group Qty Unit
    Material Number used by Customer Plant Net Price Pricing Unit Net value Currency
    Moderator message: you've been asked ten times now to not dump your specs here. Once more, and your user ID will be deleted.
    Edited by: Thomas Zloch on Dec 1, 2011 12:08 PM

    Hi
    Assuming you are using Jdev 11g.
    Try with this
    public void selectionRow(SelectionEvent se) {
    String val = getManagedBeanValue("bindings.AttributeName.inputValue");
    public static Object getManagedBeanValue(String beanName) {
    StringBuffer buff = new StringBuffer("#{");
    buff.append(beanName);
    buff.append("}");
    return resolveExpression(buff.toString());
    public static Object resolveExpression(String expression) {
    FacesContext facesContext = getFacesContext();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp =
    elFactory.createValueExpression(elContext, expression,
    Object.class);
    return valueExp.getValue(elContext);
    Vikram

  • Can any one tell me how to make a join in between RESB & VBAP Table

    Hi.
    can any one tell me how to make a join in between RESB & VBAP Table. Please do the needful.

    u have Sales order number and sales order item number in RESB table..
    KDAUF   Sales Order Number
    KDPOS   Item Number in Sales Order

  • ENQUEUE DEQUEUE  FM's for updating VBAP table record

    HI all,
    I am updating records of vbap table. so i want to lock those records while am updatin them .
    which FM's should i use to update them ?

    Thanks for ur replies Himanshu and Sayed,
    I have already used these FM's. But i didnt feel like it is working. I went in debugging mode and executed ENQUEUE FM and the i went in VA02 transaction and for the same sales order i tried updaing the quantity and it is updated in the table.
    How come this has happened even though i have locked the table with the help of FM. ?
    I have used the FM something like this  :
        CALL FUNCTION 'ENQUEUE_E_TABLE'
         EXPORTING
           MODE_RSTABLE         = 'E'
           TABNAME              = 'VBAP'
           VARKEY               = 'VBELN'
          X_TABNAME            = ' '
          X_VARKEY             = ' '
          _SCOPE               = '2'
          _WAIT                = ' '
          _COLLECT             = ' '
         EXCEPTIONS
           FOREIGN_LOCK         = 1
           SYSTEM_FAILURE       = 2
           OTHERS               = 3
        IF sy-subrc EQ 0.
          UPDATE vbap FROM TABLE li_vbap.
         CALL DEQUEUE.
      ENDIF.

  • User exits for VBAP table

    hi,
    i want to add 3 custom fields to the VBAp table. so i need the user exit for the VBAP table .
    can any one help me in finding it out.
    thanks.
    suki

    hello Erwan,
    yes the link was useful.
    i found the include MV45AFZZ useful .
    is there a way to find out the function exit for vbap?
    or else in which function exit this MV45AFZZ include is used ?
    because i have to use a Function exit to include 3 fields in VBAP table.
    waiting for ur reply.
    thanks
    suki

  • Wrong VBAP table updation

    Hi
    Facing a problem with wrong VBAP table updation.
    Sales order shows Business Area" A " at both header and Item Level but in VBAP table the business area updated is " B ". can't understand why it is happening.
    Changelog doesn't indicate anything
    Thanks and regards
    Nikhil

    Hi,
    Can you check how the business rule that is assigned at SPRO-> Sales and distribution -> basic functions -> Account assignment/Costing -> Business area account assignment?
    Regards

  • How to link VBAP table to field IB SYMBOL

    Hello,
    How to link VBAP table to field IB SYMBOL
    I have checked in transaction SQVI if any relationship exists between the
    two tables but there is none
    Is there any third table which is common and can be used to link VBAP and
    IB SYMBOL
    I require this bcz IB SYMBOL contain the charecteristic's of KMAT material
    (configurable material ) which need to be printed in the o/p
    Is there any other way i can link VBAP to get these characteristc's in the output.
    Regards
    Harish Madhavan
    Edited by: Madhavan Harish on Oct 11, 2010 12:58 PM

    Check with your Basis admin if it would be possible to back up and restore the data. They must have something in case of emergency anyway.
    Changes in the table fields do not delete the data. I bet someone just used the Database Utility incorrectly and instead of doing the table adjustment with saving the data delete it (there is literally a radio-button for it). Just don't let people do this in Production and you'll be OK.
    Also between DEV and PRD you should have another test run in the QA system. If it didn't work well in both DEV and QA I wouldn't ever put this changes in Production, to be honest.

  • VBAP table display

    Hi,
    We are checking the VBAP table for NETWR and NETPR values for line items of an order. These values are being picked in a specific sales report which is customized.
    The table shows net values which are multiplied by 10.
    For example if the value of line item in the record is 60, in VBAP table for the same line item the value shows 600.
    On clicking a particular line item in VBAP display screen we can see the actual value of 60 as in the record.
    Can anyone explain the reason behind this strange behaviour.
    Await your valuable inputs.
    Regards

    Hi,
    The issue is standard behaviour. Please refer to SAP note 886532.
    If you set the calculation type(V_T685A-KRECH) to percentage (%), then on database table it shows the entered
    condition rate of 10,000 as 100,00.  For percentage values we use three decimals.  So 10,000% at the UI becomes 100,00 at the database.
    At the database the value fields has two decimals. For percentage values
    we use three decimals. Please note that the data format in which data
    are stored and displayed in SE16/SE16N can be different from the result
    you finally get when using the data in a document.
    Thanks and best regards,
    Smile

  • Link between Prps and Vbap table

    Hi all,
    How can i link PRPS and VBAP table .
    Please suggest.
    Thanks and regrads
    Neha Kapoor

    hi,
    neha try this.
    PRPS-PSPNR = VBAP-PS_PSP_PNR
    rgds
    anver

  • OBJNR is blank at VBAK and VBAP tables

    Dear collegues,
    There´s a strange situation on customer´s system. When end-user create a new quotation, the OBJNR field at VBAK and VBAP tables doesn´t fill itself, it remains blank. I believed that the field was filled when the document was saved. What´s wrong?
    Regards, Otávio.

    Hi,
    This might  be due to many reasons.Please check if there any dumps related to it in ST22/SM21.
    Also check if there any enough dialog/bckg work process to process the job.
    filling up takes more time depending on the no of records in the application tables.
    regards
    Nagaraju

  • Article number is missing for a sales document in VBAP table compared to BW data.

    Hi,
    We are loading data from 2LIS_11_VAITM and 2LIS_11_V_SSL to 0SD_O01, when we execute a report based on this DSO we are getting Article number 2224859 (for example) for sales order 573345 (for example) but when we check in VBAP/VA03 for the same sales order/document (573345)  we don't have the Article Number.
    It is delta load to the DSO from the two datasources and will executed daily once.
    Please suggest me any one on this.

    All,
    Thanks for your replys.
    Here are the more details about this.
    We are using 3.X flow in BW. (3.x Data sources)
    In BW                                           Mapping                In ECC     
    0DOC_NUMBER    Sales document  ----------->  VBELN          Sales Document
    0MATERIAL           Material  -----------------------> MATNR           Article Number
    In VBAP table, I have entered Sales document 573345 and executed then I got so many Article Numbers and Filtered with Article Number 2224859 then got no data.
    As I told earlier in BW for the same Sales Document number we have Article Number.
    We have start routine.
    PROGRAM UPDATE_ROUTINE.
    *$*$ begin of global - insert your declaration only below this line  *-*
    *$*$ end of global - insert your declaration only before this line   *-*
    * The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS2LIS_11_VAITM.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    *$*$ begin of routine - insert your code only below this line        *-*
    * fill the internal table "MONITOR", to make monitor entries
      LOOP AT DATA_PACKAGE.
        IF DATA_PACKAGE-doc_categ NE 'C' AND
           DATA_PACKAGE-doc_categ NE 'I'.
          DELETE DATA_PACKAGE.
        elseif DATA_PACKAGE-recordmode eq 'R'.
          DATA_PACKAGE-recordmode = 'X'.
          modify DATA_PACKAGE.
        ENDIF.
      ENDLOOP.
    * if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    *$*$ end of routine - insert your code only before this line         *-*
    ENDFORM.
    I think there is no much more lookups. ( I don't have much knowledge in ABAP)
    I have checked in another tables also like VBFA VBAG VBAK, VBKD, VBUK and VBUP but in those tables I don't have Article (MATNR) field.
    One more Question.
    Can any one tell me how the Queued Delta mechanism will work.
    As of now I know that, when ever any changes have been done to the tables this will pickup the changes and move into LBWQ after that RSA7.
    My Question is, If some one has forcefully deleted one Article number from the table for a Sales Order then this Queued delta will pick that also?
    Please let me know If you need any more details

  • Using VBAP table fields in VOFM ??

    Hi Guys,
                  I have an requirement where i have to add an z field in vbap table.... the value in this field will
    come from an screen enhancement in trx va01 for item level .......then using
    VOFM  trx in the menu  FORMULA --> CONDITION VALUE i have created a routine
    901 where i will be using fields KOMP-MGAME, XKOMV-KBETR and VBAP-ZFIELD
    Following problem arises
    1. VBAP is not available in the routine.
    2. while CHECKING the routine an information is displayed saying "there is no main
    program for include RV64A901" and is getting activated but when i CHECK the main include
    RV64ANNN i am getting an error message the field VBAP is unkown
    i have run the pgm RV80HGEN and RV80HGEN and checked entries in table TFRM and TFRMT
    every thing seems to be fine....
    looking fwd for ur help....
    Mayank

    thanks Vinod,
                          ......but can u tell me why while CHECKING the routine an information is displayed saying "there is no main program for include RV64A901"  and is being activated even if there are errors in my code any way to solve it.

  • Add a Z field in the VBAP table and include that in the custom IDoc Struct

    Hi All,
    I have appended a z field in the table VBAP and want to populate that in the BAPI structure for sales order change. This z field is coming at the line item level. I need to find a user exit to populate this field in the BAPI structure.
    Thanks,
    MSDent009

    Hello,
    I need to do the same for retail and the procedure is not pretty clear yet. Could you please tell how you have it done?
    I need namely to add aditional fields to material master data to display them on additional data tab. I have created append-structure in MARA and also have created a subscreen for all the additional fields. Now some customizing should be done to adjust this subscreen. What should i do after it? These additional fields need to be sent with Pricat IDOC later.
    Any hints on that would be very requiered.
    Thanks,
    Marina

  • Any way to restore deleted record from VBAP table.

    Hi Guru,
    Is their any way to restore deleted record from vabp.
    Back is taken but , All quality server back is taken, any way to restore only
    deleted VBAP data from all Back.
    Regards
    Durgesh

    Hi Sahu ji,
    you will not be able to get those records.
    Check this : If this issue is in Development than no need to worry.
    If in quality and production , then usually a copy of the system is there , and this can help you.
    Also , check is there any report that exports this data in some other form for backup.
    Hope it help you.

Maybe you are looking for

  • Switched to shared plan-bill on old account sent to collection agency without notice!

    On 9/16/12, my husband and I visited a Verizon store to upgrade our phones and enroll in a 2-year renewal contract, as we have done for years.  While speaking with an in-store representative, we were encouraged to combine our plans into a family shar

  • HP Laserjet 6P delay in printing issue

    Long lapse of time between initiating "print" and HPLaserJet 6P actually printing. What could be causing delay?  Thanks for any help.

  • I can't acces microsoft apps on 701

    Hi, when i try to acces microsoft apps it tells me that service not setup and it asks for (domain,e-mail,password,username) and i don't know what to do. Any advice? Solved! Go to Solution.

  • Widcomm 5.0.1.1200 drivers on Qosmio G20-127

    Is there any possibility to install Widcomm Bluetooth software drivers on Qosmio G20-127? I want to use them instead of Toshiba and Microsoft Bluetooth stacks. I have modified btwusb.inf file in Widcomm 5.0.1.1200 with my own PID and VID (taken from

  • Admin Console consolidation

    I have a client that has 4 physical machines. Using Windows BEA 9.2 MP3...They installed an application in domain X (managed server ms1) Each box is exactly the same. (except different machine IPs). Each machine has a Node Manager and Admin Console c