VBUK Table

Hi
I have a question regarding VBUK table. For ex: the sales order Overall Blocked Status header is blocked. When i go and check in the VBUK table for status, the status is C - Completely processed. There is no options like Not Blocked / Blocked. But in the sales order we can see the status as either Blocked or Not Blocked.
My question is where from the status description is coming if not from VBUK table.
Regards
M

Hi Ajinkya
Thanks for your reply... but it didnt solve my problem. Let me clarify my question again...
When we see in sales order header status...Overall Blocked Status > It can be either Not Blocked / Blocked. But for the same thing if we go and check in table VBUK...we see either Blank - Not Relevant or C - Completely Processed. So my question is where from the description Not Blocked / Blocked is coming from..
Thanks
Murali

Similar Messages

  • BAPI_GOODSMVT_CREATE not updating VBUK table and field WBSTA

    Hi all,
    We post good receipt for the inbound delivery using BAPI_GOODSMVT_CREATE. Upon the successful completion of GR, however, field WBSTK & GBSTK in VBUK table and field WBSTA & GBSTA in VBUP table are not getting updated from A to C for the inbound delivery.
    Wondering anybody here has experienced the similar issue before? And so, how to get it fixed without having to switch to a BDC program?
    Thanks,
    Franc

    It seems this BAPI dose not update the VBUK  fields.
    Edited by: Franc on Aug 11, 2008 3:12 PM

  • Fecthing data from a huge table VBUK

    Hi,
    I am fetching data from VBUK table based on LFGSK ne 'C' and KOSTK ne 'C'...both are not the key fields...and this table has some 19 lacs records.
    When i am running the code it goes to dump showing TIME_OUT errror....
    I am fetchin all the open sales doc number i.e. VBELN fields from VBUK table.
    Can anybody suggest how to solve this..
    Thanks in Advance,
    Mayank Verma
    Edited by: Mayank Verma on Feb 25, 2010 8:52 PM

    >
    Dave L wrote:
    > First of all, don't select using NOT operators, like NE...
    This has been disdussed here recently How to improve the performance of one program in one select query
    NE is not always a performance problem.
    Rob

  • Open Order + VBUK + VBAP

    hi
    all
    Plz look at this code
    i m trying to loop at VBFA table and Read VBUk table
    actually i have to found the open delivery .so i m looping on table T_VBPA_TAB (bcoz for 1 order there may be multiple Delivery) and check VBTYP_N eq 'J'in T_VBFA
    .now read T_VBUK to find WBSTK and get open quantity .
    But it gives wrong result..my logic is correct but what i
    have to put for corresponding cases.
    Plz check it.
    Loop at T_VBPA_tab
    Loop at T_VBFA where vbelv eq T_VBPA_tab-vbeln
                      and posnv eq T_VBPA_tab-posnr
                      and vbtyp_n eq 'J' .
      Read T_VBUK with key vbeln eq T_VBFA-vbeln
       if sy-subrc eq 0.                                    
      case t_vbuk-wbstk.                                 
        when c_a .                                       
          w_open_qty = t_vbfa-rfmng + w_open_qty.   
        when c_b .                                       
          w_open_qty =T_VBAP-kwmeng - t_vbfa-rfmng+w_open_qty
           when  c_c.                                       
          w_open_qty = '0.000' + w_open_qty      .       
      endcase.  
    endloop.  
       if sy-subrc ne 0.            
      w_open_qty = hldmatl-kwmeng.
    write : W_OPEN_QTY.
    endloop.
    Thanks
    Saurabh

    Hi Tiwari ,
    check ur values with VA05 and table entries of KUNNR In S066/67.
    Regards
    Prabhu

  • Delivery Status in VBUP/VBUK is showing as 'C' completely processed though

    Hi All,
    Delivery Status in VBUP/VBUK is showing as 'C' completely processed though invoice for the delivery is already cancelled, and delivery in document flow says being process. So now I cannot invoice this delivery. Is there any utility to correct the VBUP/VBUK status from 'C' completely to 'A' Not yet processed  As I belive SDVBUK00 is to update the VBUP/VBUK status from A to C only.
    Please help...

    Try using SD_ACTUAL_OPEN_DATA_RESET & SD_ORDER_SUBSEQUENT_ALLOWED FMs to change the values in VBUK table. I have not used it myself but i think this would be of some use to you.
    Regards,
    Mani

  • VEPVG Table Updation

    Is anybody aware of how exactly VEPVG table gets updated ? Functionally VEPVG gets updated when
    we create an order with some schedule line data. But is anybody aware of the include/program where exactly
    VEPVG table gets populated ?? Also i believe the updation of VEPVG is done based on VBUK table however i need to know the piece of code where VEPVG gets updated.
    My issue is with multiple entries sitting in VEPVG table when the shipping dates are changed on the order.

    You can check and even trigger the delivery due index update from ABAP RVV05IVB. Enter the sales order and flag parameter 'Shipping due date index'. From there I can see the function module RV_INDEX_REORG is called and in there function module RV_SALES_DOCUMENT_INDEX_ADD. From there the form INDEX_VEPVG_SCHREIBEN.
    Best regards Jack

  • Open RMA Statuses Abap Tables

    I am a .NET programmer and new to SAP system.  Please pardon me if I post this question to the wrong forum.
    Recently, I am assigned a task to build a u201CLIVE DATAu201D report to report open RMA request.  However, through researching, I found that an RMA is just a sale order of different document type.  By looking at the VBAK and VBUK tables, which are the sale order header tables, I found a bunch of statuses.  My problem running into is that I canu2019t seem to figure out what would be the field(s) that indicate an overall status of an RMA.  In my case, I need all open RMAs.  Any help would be greatly appreciated.
    It would also be very helpful if someone could point out where I should go and learn more about SAP database structures.  How information are stored and organized?  For instance, when looking at an SAP transaction screen, having access to data fields on the front-end, beside hitting F1 to get field's information, which only show the data structure type, how would one go about tracing out to see from which transparent table (physical sap table) that the data are coming from?
    Edited by: Frank Do on Jan 31, 2012 4:19 PM
    Edited by: Frank Do on Jan 31, 2012 4:20 PM

    To be honest, I think your answer do address a minimal case; however, on a larger picture of SAP tables structures, I am looking for book, information, and recommendation of where to look when it comes to locating a specific piece of information before I even go and build an abap program to get the data.  Jump in and start programming blindly seem to be the norm here.  It's time consuming.  Beside, you would have to run the code to see if the result is correct.  The separation of concerns seem to be very inefficient in SAP development.  The business logic of data access and controller code seem to be tightly couple.  In Microsoft, I can just run the SQL script in Query analyzer to make sure it works before I employ it into my controller code.  Not to mention the SQVI in SAP is not very good software.  I have to scrap all my work to rebuild a new query on every mistakes.  Just imagine how much time would be wasted.  I still don't understand why SAP is the most expensive piece of software.  May be other software company aren't that good as jacking up their price?

  • Table for system status

    Hi,
    Does anyone know in which table, does the CRM register the status (and the previous status history) for a service order at header leavel. (in the r/3 system it's the vbuk table).
    Thanks in advance.
    Hugo.

    Hi,
    check table CRM_JEST with the service order's GUID.
    Regards
    Wolfgang

  • DEBMAS failed in target R/3 system - one entry is missing in VBUK.

    Hi,
    I have got an issue while sending a customer from one R/3 to another R/3 system using BD12.
    The inbound IDoc in the receiving system got failed by stating " Entry 0050001076 does not exist in VBUK - check your entry ", means one entry is missing in the table. VBUK table is holding data of sales documents, i sent the customer alone from the source system but i am not sure why this sales documents involved in that IDoc. I couldn't find the segment for the error data in the IDoc too. looks weird for me.
    Please let me know your idea on how to resolve this issue.
    Thank you.
    Regards
    Lakshman.V

    Hi Laksman,
    Looking to your error it seems that the receiving system is failing the inbound IDOC as it might be configured to accept the sales documents informations though it is not maintained in your IDOC.Check your SPRO settings.
    Also check for the record values of the customers that you are trying to post.There can be a possiblity that you are posting the record for which the sales related information is already maintained. In that case you might get this error.Check for that particular record in the receving system.
    Hope it helps.
    Thanks,
    Minaz

  • "vbuk" fields for selection

    Hi experts,
    we could check the status of the sales documents in VBUK table.
    if i want to check the status of the sales documents basing on sales organization. when i check the fields for selection " sales org" not avaiable.
    how to add sales org field in selection screen.
    please guide me how to go about it.
    Thanks in advance

    Hi,
    use SQVI (quick viewer) to join tables VBUK and VBAK (here you´ll find sales organization).
    Regards,
    JM

  • TABLES TO BE VIEWED IN LO EXTRACTION

    Hi experts,
               In direct delta method i am uploading the data from documents tables to delta queue directly.in this process what are the tables we can see when data flows from document tables to delta queue.when the setup tables came into existance ?

    hi,
       in direct delta how the data flows from tables to extract structure ?in this direct delta we won't use setup tables? on what cases we go for direct delta?
       could you say elaborately how the data flows from document tables to delta queue.
    say example :vbuk table to delta queue
    thanks in advance.
    regards,
    sekhar.

  • How to connect tables

    hi...gurus.....
    i hav a problem.....there is a alv requirement where most of fields are from vbak,vbap,kna1 vbuk table....but there is a field vsmng from vbepd table.....and i dont have an idea how to connect this table with other tables...becas at last i want all fields in a final table.....
    Please help me....
    thanks & regards
    Arijit

    hi..vinod ....according to ur suggestion i write the code
    IF NOT IT_VBAk[] IS INITIAL.
        SELECT VBELV                             
                    posnv
                  VBTYP_N
                  VBTYP_v
                  RFMNG
          FROM VBFA
          INTO corresponding fields of  TABLE IT_VBFA
         FOR ALL ENTRIES IN IT_VBAK
          WHERE VBELV = IT_VBAK-VBELN
           and posnv = it_vbap-posnr
           AND  VBTYP_V = 'C'
           AND  VBTYP_N = 'J'.
    becas i hav to put all data in final table......i think i made a mistake to write  a query...so plzzz check thsi query and correct it.....
    becas when i write for all entries it shows error that " vbap is a internal table with no header line" and when i commnet for all entries line then in output it cant show any thing...just show "0.00"
    so plzz help me....
    i will wait for ur rply
    Thanks & regards
    Arijit

  • DSO transformation problem

    Hi ,
    Can any one give me the some hints for the follwoing two problems..
    1) I have one original DSO (NAME A) and created new DSO (NAME B) copy of the A. Both structures and fields are same.
    While creating transformationsbetwen A and B, one field is missing from source DSO (A). but that field is available in DSO A and B. In transformations iam not able to see in souce DSO. Any suggessions..on this..?
    2) DS in R/3 2LIS_!!_VAHDR having some fileds.all those fields are based on the table VBUK...
         While extracting data or looking data in he table VBUK  field AEDAT (Changed on) is empty... Even though i was created new sales document and chaned that sales document..
    when it will be filled AEDAT filed in VBUK field..? which change is this..?
    Thnaks
    BK

    Hi,
    1) NO it is not 0recode mode... It is 0rate type. It is in DSO A .But in transformation it is missing to map with DSO B 0rate_type.(DSO B is copy of DSO A)
    2) I did changes to the sales document(Changed the qty and saved) ,but even after that also it is empty.Same changes i can get it from other VBAP and AK tables .but i need from VBUK table AEDAT field. Is this field capturing those changes ..? or any other changes it will sve in aedat..?
    Thanks
    BK

  • R3 data not matching with BW

    Hi Experts,
    we have an issue here. We are using 2LIS_11_VAITM and 2LIS_11_VASCL to load SD data. We use the fields RFSTK and RFGSK in BW to filter out orders that are processed. Now we find that these fileds dont match with the ones in R3. At R3 side i looked at VBUK table and it indicates properly the status of the order.
    But in the BW side when we pull these the status fileds are not correct and they dont match R3 at all...How do i fix this.. Where can find or how can find from which table BW is actually pulling the information for these two fields.
    Please reply.
    DV

    Hi Anil,
    <b>How these fields were added to the ES of those DS ?</b>
    How do i check this?
    <b>Have you done any Customer Exit (append method) to get the values for these fields?</b>
    Iam not  sure, It was done formerly by someone.
    <b>If so, remember that we ca not get deltas that occured with the change to only appended fields of ES.</b>
    Does that mean the appended fileds dont work with Deltas.. they dont pick up the chnages??
    DV
    null

  • How to find open orders with amount and open deliveries?

    Hi All,
    I want to find out the open orders with open amount and open deliveries for a particular customer.
    We need this for credit check purpose.
    Kindly guide us for this.
    Regards,
    Satish.

    Hi,
    To find out open order:
    data: c_bef_pgi(1) TYPE c VALUE 'A',
    RANGES: rg_wbstk FOR vbuk-wbstk."range for wbstk
      rg_wbstk-sign = 'I'.
      rg_wbstk-option = 'EQ'.
      rg_wbstk-low = 'C'.
      APPEND rg_wbstk.
      rg_wbstk-low = 'A'.
      APPEND rg_wbstk.
    1.first put query on vbak table
    2.Put query on vbuk table as
          SELECT vbeln bestk lfstk gbstk FROM vbuk
                  INTO TABLE it_vbuk_open
                  FOR ALL ENTRIES IN it_vbak
                  WHERE vbeln = it_vbak-vbeln AND
                        bestk IN rg_wbstk AND
                        lfstk = c_bef_pgi.
    so this wil give u open orders.
    3. Then according to vbuk, get the details from vbap.
    To find open delivery
    1. First put query on vbak table
    2. Put query on vbfa as
      SELECT vbelv posnv vbeln posnn vbtyp_n vbtyp_v FROM vbfa
                 INTO TABLE it_vbfa
                 FOR ALL ENTRIES IN it_vbak
                 WHERE vbelv = it_vbak-vbeln AND
                       vbtyp_n = 'J' AND
                       vbtyp_v = 'C'.
    3.Then from VBfa,get the details from LIkp
    4.Then put entry on vbuk as
    *entries from vbuk
          SELECT vbeln wbstk fkstk gbstk FROM vbuk
                 INTO TABLE it_vbuk_del
                 FOR ALL ENTRIES IN it_likp
                 WHERE vbeln = it_likp-vbeln AND
                       wbstk IN rg_wbstk AND
                       fkstk = c_bef_pgi.
    Thanks & Regards,
    Anagha Deshmukh

Maybe you are looking for