In which table chenges in sales orders are getting saved

Hi Experts,
I have a query
<b>in which table chenges in sales orders are getting saved</b>
Thanks & Regards
Prashant Gupta

Hi
goto SE16/se16n and enter the table name as CDHDR for header changes
here enter the transaction code in the selection screen as VA02 so that it will give the details of all sales order which have changed.
You can get the change doc object or document number in cdhdr enter the same in
CDPOS in SE16n if you want to know the changes done at item level or you also have the option of entering TABLE name in CDPOS in SE16N selection screen if you want to know changes done in a particular table
regards

Similar Messages

  • Which table stores the Sales Order--Header--Texts--EDI Text?

    Hi Experts,
    I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
    So, I am looking which table stores, this text for my_sales_oders_12345678.
    [ actually, i got some info from sdn, like,
    Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
    Now all the text types i.e. text ids are stored in table TTXID
    So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
    but, no use this ]
    thanq
    Edited by: Srinivas on Jul 10, 2008 11:06 PM

    Hi Srinivas,
    Generally to access the text we use READ_TEXT function Module.
    we need to pass the four parameters
    ID
    LANGUAGE
    NAME
    OBJECT
    You can find these parameters in the sales order it self.
    Goto ---> Header ---> Texts
    Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
    Text Name
    Language
    Text ID
    Text Object
    You need to pass these parameters to the function Module to text the text.
    You can also fins the text in Table STXH
    Best regards,
    raam

  • CRM sales order is not saved in CRM but in ECC

    Hi,
    I am new CRM area and will not some hints on where to check.
    When the the Sales orders are successfully created in CRM, they are replicated to R/3 but the sales orders are not saved in CRMD_ORDERADM_H table of the CRM system.
    Also, I dont know see any details of the sales order in the interaction record document flow.
    Can you please help me with any hints on where to check to fix this issue..

    Hi Sangameshwar,
    In CRM you can have two scenarios for ERP Sales Order.
    1. ERP Sales offer and Sales order, using the CRM User Interface to create directly the ERP Sales Documents with LORD interface. The document is only saved in ERP. I believe this the scenario you are using.
    2. CRM Sales offer and Sales order, the document is saved both CRM and ERP. The documents are replicated via Middleware.
    In both scenarios the interaction record should add the document in the doc. flow, it's probably a missing customizing in the interaction record.
    Hope this information help you.
    Regards,
    Jorge G.

  • In which table,i could find order quantity for sales order..??

    In which table, i could find order quantity for sales order..??
    and also in which table i could find delivery for sales order..
    need help..??
    Moderator message: please search.
    Edited by: Thomas Zloch on Feb 23, 2012

    Check the table AUFM.
    Give the order number in AUFNR.
    For movement type 261 (GI) & 101 (GR), you can get the material document number (MBLNR), Material (MATNR), Qty (MENGE) & UoM (MEINS).

  • BAPI/Function module TO block material which is mentioned in sales order

    Hi All
    Is there any BAPI to block material which is mationed in sales order....
    I am using BAPI_MATERIAL_AVAILABILITY to check material availibility
    how to block quantity if it is available whicl creating sales order via
    "BAPI_SALESORDER_CREATEFROMDATA2"
    ..Thanks

    The normal SAP ATP done in the sales orders use the figure ''committed qty'' meaning that if the ATP has been done and confirmed, that quantity will not appear in the next sales order as available.
    So if You're using the normal BAPI to create the sales order, the normal ATP function will be called in the processing.
    Nevertheless another solution to this issue is to have the MTO (Make-to-order) solution where the requirements are ''attached'' to one sales order/line only.....like this the problem of the stock being taken to another customer disappears.
    To do this you'll have to configure the following :
    - Go to SPRO and go to Sales and distribution -> Basic functions -> Availability check and transfer of requirements -> Determination of requirements using transaction - Here insert the entry with your sales order type - MRP type (from material master - you might want to consider create one only for this solution) and you should use one of the following:
      - KEL      Make-to-order, mat. variants
      - KELV     Make-to-ord.variant + consump
      - KP       Make-to-order with project 
    and choose the origin of your requirement - 1 - Item category + MRP Type
    - Than configure the association of the requirement type above to the requirement class (normally is the same code) transaction *OVZH*
    - Than configure the requirement class (this is what will tell the system the MTO) transaction *OVZG* - On the screen in the field Special stock - E - Sales order stock and please ask for help from an FI consultant because the area of *Account assignment is very important to be well configured*
    About the BAPI you're using - Its correct - That's the normal BAPI to be used, taking only into consideration the product allocation issue - MARA-KOSCH
    Explaining a little the BAPI you're using :
    The program should check if the selected material is allocated or non-allocated.
    This information is stored in a field MARA-KOSCH.
    We should check this field and if the field is not empty then material is allocated, otherwise is not:
           select kosch into l_kosch
            from mara
           where matnr = <VBAP-MATNR>. " Selected material
            if subrc = 0.
               if l_kosch is initial.
                  +" Perform calculation for non-allocated materials+
               else.
                  +" Perform calculation for allocated materials+
              endif.
           else.
         " Material not found, skip it ...
          endif.
    For allocated materials it will be checked allocation for the netting market of that Order.
    The calculation rules for allocated and non-allocated materials are different.
    For Non-allocated materials
    BAPI 'BAPI_MATERIAL_AVAILABILITY' should be used for getting the ATP quantity.
    Bapi should be called as follows --
    data: lfl_bapiwmdvs type bapiwmdvs,
    lit_bapiwmdvs type standard table of bapiwmdvs,
    lfl_bapiwmdve type bapiwmdve,
    lit_bapiwmdve type standard table of bapiwmdve,
    l_dialogflag type bapicm61v-diafl.
    call function 'BAPI_MATERIAL_AVAILABILITY'
    exporting
    plant = <VBAP-WERKS>
    material = <VBAP-MATNR>
    unit = <VBAP- VRKME>
    check_rule = 'A'
    +* STGE_LOC =+
    +* BATCH =+
    +* CUSTOMER =+
    importing
    +* ENDLEADTME =+
    +* av_qty_plt =+
    DIALOGFLAG = l_dialog
    +* RETURN =+
    tables
    wmdvsx = lit_bapiwmdvs
    wmdvex = lit_bapiwmdve.
    Please note that table lit_bapiwmdvs is the input table and to this following input should be passed -
    lfl_bapiwmdvs-req_date = sy-datum. "Current date
    lfl_bapiwmdvs- REQ_QTY = <Unconfirmed Quantity> in Sales Order Unit
    append lfl_bapiwmdvs to lit_bapiwmdvs.
    The return value l_dailog will be --
    ' ' --- Quantity can be Delivered -- Item to be displayed in the Report!
    'X' --- Complete quantity cannot be delivered -- ATP failed, Item not to be displayed.
    'N' --- Material not relevant for ATP --- Item not to be displayed in the Report.
    For Allocated materials
    For the allocated Materials, we have to first do the ATP check in same fashion as for Non-allocated Materials and then in addition to this ATP check, we have to also check for Allocation from SIS table S941.
    If ATP check fails, straight away the Item should be ignored from Output display.
    If ATP check passes, we further check allocation as follows --
    Valid entry should select from S941 as -
    data: l_period like s941-spbup,
    l_BUPER LIKE T009B-POPER,
    l_GJAHR LIKE T009B-BDATJ,
    lfl_s941 type t_s941.
    data: l_bukrs type tvko-bukrs,
    l_periv type t001-periv.
    * Select company code
    select single bukrs into l_bukrs
    from tvko
    where vkorg = <VBAK-VKORG>.
    * Select fiscal year variant
    select single periv into l_periv
    from t001
    where bukrs = l_bukrs.
    * Get Period
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    EXPORTING
    I_DATE = sy-datum
    I_PERIV = l_periv
    IMPORTING
    E_BUPER = l_buper
    E_GJAHR = l_gjahr
    EXCEPTIONS
    INPUT_FALSE = 1
    T009_NOTFOUND = 2
    T009B_NOTFOUND = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    * Ignore entry and skip further processing
    ENDIF.
    concatenate l_gjahr l_buper+1(2) into l_period.
    select single kcqty aemenge from s941
    into corresponding fields of lfl_s941
    where SPBUP = l_period
    and KONOB = 'OBJ_ALL_MATERIALS'
    AND MATNR = <VBAP-MATNR>
    and zzcnetmark = <VBAK-ZZCNETMARK>
    and VRSIO EQ '000'.
    IF SY-SUBRC <> 0.
    *Ignore entry and skip further processing
    ENDIF.
    Remaining Allocation = difference between product allocation quantity and incoming order quantity
    i.e. (S941-KCQTY - S941-AEMENGE). Now we have to compare this qty with the Unconfirmed qty.
    Ensure same Material UOM for quantity comparison as follows --
    IF <VBAP-VRKME> NE <S941-BASME>.
    CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
    EXPORTING
    i_matnr = <VBAP-MATNR>
    i_in_me = <VBAP-VRKME>
    i_out_me = <S941-BASME>
    i_menge = <Unconfirmed qty in Sales UOM>
    IMPORTING
    e_menge = l_menge
    EXCEPTIONS
    error_in_application = 1
    error = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    * Ignore entry and skip further processing
    ENDIF.
    ELSE.
    *If both Units are same no need for conversion
    l_menge = <Unconfirmed qty in Sales UOM>
    ENDIF.
    Then, compare if Remaining Allocation > = l_menge i.e. Unconfirmed quantity converted to S941-BASME unit, then there is enough allocation for this Material for the Unconfirmed quantity and should be displayed in the report.
    Else, the Item should be ignored.

  • Third party sales orders are not showing in Billing due list (VF04 )

    Hi,
    In Billing due list Third party sales orders are not appearing because VKDFS table those entries are there. How can we get Third party sales orders in VKDFS table as well as VF04 ?
    Please suggest me.
    Regards,
    KUR

    Hi Kur & Sandepp,
    Check this notes:A) Note 210500 - Billing status of a third-party item,B)2) Note 210561 - When is a third-party item displayed in VF04.
    Re
    Regards,
    Madhu.

  • Tables for archived sales order data

    Hi,
    ABAP Gurus would like to know in which tables will I be able to see data of archived sales orders (it is not VBAK)
    Any help would be greatly appreciated.
    Thanks in advance.
    Mick

    Hi,
    If I am understanding correctly, your system has data archiving implemented.
    If that's the case then there is no table which will store archived sales order.
    For that you need to go to T.Code SARA.
    Choose object name SD_VBAK.
    Click on READ.
    This will show a screen giving a name of program and option to execute in background or foreground.
    This is how you can retrieve the info about archived Sales Order.
    Hope this helps
    Regards
    Nishant
    Message was edited by:
            Nishant Rustagi

  • Tables identification for sales order fields

    experts
    1)I am having an order and it may have multiple deliveries.
    in what way i need to fetch all the deliveries for that order?
    lips-vgbel = vbap-vbeln , lips-vgpos- posnr will this work ?  or something else i need to use to get all the deliveries for that order?
    2)and for that deliveries i will be having shippiments and how to get that?
    3) from which table i can see whether return order exists for the sales order ?
    4) how can we identity whether credit memo there for the sales order or not?
    5)where(table) can we find the atp qunatity field which is there in sales order scheduline line data tab?
    thank you for all the help

    Hi
    1)I am having an order and it may have multiple deliveries.
    in what way i need to fetch all the deliveries for that order?
    lips-vgbel = vbap-vbeln , lips-vgpos- posnr will this work ? or something else i need to use to get all the deliveries for that order?
    Goto VBFA table, give your sales order number as VBFA-VBELV and fetch VBFA-VBELN where VBTYP_N = J
    2)and for that deliveries i will be having shippiments and how to get that?
    Goto VBFA table, give your Delivery number as VBFA-VBELV and fetch VBFA-VBELN where VBTYP_N = 8.
    3) from which table i can see whether return order exists for the sales order ?
    Goto VBFA table, give your sales order number as VBFA-VBELV and fetch VBFA-VBELN where VBTYP_N = H.
    If sy-subrc = 0
      return order exists
    else not.
    4) how can we identity whether credit memo there for the sales order or not?
    Goto VBFA table, give your sales order number as VBFA-VBELV and fetch VBFA-VBELN where VBTYP_N = K.
    If sy-subrc = 0
       credit memo exists
    else not.
    Hope this is sufficient for your. Rest you can do R&D.

  • Some Sales Orders are not replicating into CRM

    Hi guys,
    when I check SMQ2 in CRM,  I find that some sales orders are not replicating into CRM, then check the error, its says check SMW01..
    when I check the SMW01 it says validation error and BDOC status is F05 (information no processing). I tried to search the sales order in CRMD_Order transaction could not find the sales order...
    *Error in SMW01*
         Processing of document with Guid E01D11C71856C4F1AEBF0024E84DD0CE is canceled     CRM_ORDER
         Validation error occurred: Module CRM_DOWNLOAD_BTMBDOC_VAL, BDoc type BUS_TRANS_MSG.     SMW3
    It's not giving much clue what's the error is...
    I tried to setup a request to replicate those sales orders.. those request also end up in the same error...
    any help on this?
    thanks,
    Ken

    Hello Ken,
    When reprocessing a BDoc(via SMW01) you might need to set a flag.
    Goto trxn. SMW01. Start the debugger using command '/h' and reprocess the BDoc. After going into the debug mode press SHIFT+F7 and put a breakpoint at 2nd Tab in : class:cl_smw_flow and method 'restart_processing'. Keep debugging(F5 or F6 accordingly) until you find the requisite flag l_retry_allowed and set it as 'X'. This will allow you to reprocess the Bdoc.
    Thanks,
    Rohit

  • How PIR's are consumed by the customer requirements even though the sales orders are blocked?

    Dear experts,
    I am using strategy 40 for material A with Backward/Forward consumption of 60 days backward and 60 days forward.
    My PIR is as follows :-
    Material Month #1 Month #2 Month #3 Month #4 Month #5 ....
    material A 100 100 100 100 100 ....
    I created a Sales Order for material A with the quantity of 600 in Day 4 of Month #1.
    After MRP run, planned order conversion and production order has been completed.
    Month #1, Month #2 and Month #3 PIR's are consumed even though we made the setting in Such a way that the sales orders should just display but not planned  . and the sales orders are into the blocked requirements list in the result of /n/afs/MD02.
    1)but why it is consuming the PIRS?
    2)is there any affect of backward and forward consumption on this?
    Thanks in advance.
    Regards
    Bhargavi Desai

    Hi,
    Normally it is recommended that, not to delete PIR's one by one or remove quantity from previous periods/ requirement manually. If the PIR's of previous month is not consumed it is normally a feedback to sales people to do a analysis at their end.
    In PP point of view, normally a re-organization run is carried out by MD74, MD75 or MD76. The same can be done by  scheduling batch job to run on month ends basis w.r.t. period you specify.
    Regards,
    Narresh

  • Table Name for Sales Order Header Text.

    Hi.
    Whats the Table name for Sales Order Header Text???
    Reg,
    Amol

    Hi Amol,
    please Try to check the below link
    http://scn.sap.com/thread/1361272
    http://scn.sap.com/thread/416757
    https://scn.sap.com/thread/1909247
    https://scn.sap.com/thread/811915
    Regards,
    Gurunath

  • Table name for sales order with Customer info

    Hi Gurus,
    Could you please provide me table name for  sales order with customer no and customer name.
    I have list of sales order number (more than 1000 no's ) i need to identify customer number and customer name (ship to party and sold to party information). I am running this report every week. so i plan to create sqvi for this report.
    Thanks and regards,
    B.Deethya.

    Hello,
    Access Tables VBAK & VBAP.
    From the above tables you will get Solt to Party & Ship to Party Codes.
    For Customer names you have to pass the Customer Codes to Table - KNA1
    Hope this clarifies.
    Thanks,
    Jignesh Mehta

  • TABLE/FIELD FOR SALES ORDER'S SHIP TO LOCATION

    Hi everyone,
    Does anyone tell me what is the related tables/fields for Sales Order's Ship To Location? Since I want to display the Ship To Location information in the Oracle Report in Oracle Apps R11i.
    I tried to use the following SQL select statement to retrieve the Ship to address:-
    -- SHIP TO LOCATION
    select a.address_id, c.customer_name, C.CUSTOMER_ID, A.SITE_USE_ID from ra_Site_uses_all a, ra_addresses_all b, ra_customers c
    where a.site_use_code = 'SHIP_TO' and
    a.status = 'A' and
         b.address_id = a.address_id and
         c.CUSTOMER_ID = b.CUSTOMER_ID and
         b.status = 'A' and
         c.customer_id in (select customer_id from ra_customers) and
         c.status = 'A' and
         c.customer_name like 'CLARION (H.K.)%'
    But I found that the data is BILL TO address. Can anyone help me? Thanks.

    Hi all, I managed to solve my problem. Here's the query in case someone need it. Thanks
    SELECT party.party_name "Send to" (SELECT party.party_name
    FROM hz_cust_site_uses_all bill_su,
    hz_cust_acct_sites_all bill_cas,
    hz_party_sites bill_ps,
    hz_locations bill_loc,
    hz_parties party,
    oe_order_headers_all h
    WHERE h.invoice_to_org_id = bill_su.site_use_id
    AND bill_su.cust_acct_site_id = bill_cas.cust_acct_site_id
    AND bill_cas.party_site_id = bill_ps.party_site_id
    AND bill_loc.location_id = bill_ps.location_id
    AND bill_cas.party_site_id = bill_ps.party_site_id
    AND bill_ps.party_id = party.party_id
    AND h.order_number = 'your_order_number') "Invoice to"
    FROM oe_order_headers_all h,
    hz_cust_site_uses_all ship_su,
    hz_cust_acct_sites_all ship_cas,
    hz_party_sites ship_ps,
    hz_locations ship_loc,
    hz_parties party
    WHERE h.ship_to_org_id = ship_su.site_use_id
    AND ship_cas.party_site_id = ship_ps.party_site_id
    AND ship_su.cust_acct_site_id = ship_cas.cust_acct_site_id
    AND ship_cas.party_site_id = ship_ps.party_site_id
    AND ship_ps.party_id = party.party_id
    AND ship_loc.location_id = ship_ps.location_id
    AND h.order_number = 'your_order_number';

  • Select aentries from table Z-Table for all sales order line items

    Hi friends,
    can anyone please explain me about the "Select entries from table Z-Table for all sales order line items".
    Thanks.

    Moderator message - Welcome to SCN.
    But
    Moderator message - Please search before asking. Press F1 on SELECT and look at the FOR ALL ENTRIES addition. - post locked             
    Rob

  • Open sales order not getting updated in FD32

    HI
    We are configuring Credit management, and found that the open sales orders are not getting updated in FD32.
    I have checked all the settings in OVA8 and all are working fine. This is a Static credit check and system is blocking the customer in case, the limit is exceeded. But the values are not getting reflected in FD32, for open sale orders, that are not blocked.
    Info structure S066  in OMO1 all are configured perfectly. I have run F.28 and no log was issued.
    Request to suggest other reasons for not getting updated in the table.
    I have gone thru the previous threads, but cud not find any solution.
    Regards
    Vamsi Javaji.

    Hi Vamsi Javaji
    First of all check in OVA8 wheather you have checked Open sales orders feild or not . Secondly check in your pricing procedure wheather you have maintained Subtotal A or not for the Net Value .Also check wheather you have assigned to your sales document type correctly or not  Finally check in OMO1 wheather S066 has been assigned correctly or not
    Check wheather you have assigned the Credit control area to the customer in CMR , in sales tab
    Regards
    Srinath

Maybe you are looking for

  • Storage location wise stock

    hi all mm expert, in mb5b , stock come plant wise ie opening stock, closing stock, receiving stock, issue stock and thier values. now i required these opening, closing, receiving, issue, value storage location wise with date. a plant has 3 to 5 stora

  • Error during Sync

    BBerry 8330 and I just started getting an error:  Error code 0X80040fb3 when I sync my Outlook Address book.  This error just started. I deleted the Desktop Manager and reinstalled but no change.  I tried finding some files that were referenced in th

  • JFrame add and remove panel repaint issues

    I'm not really sure what is wrong with the code. I have tried different things. What I am trying to do is to remove a panel and then add a different panel that contains a table into a frame, so the frame displays the table panel instead of the origin

  • End user dashboard

    Hi Can somebody give some info for how to we give reports and dasbiard for endusers how we configure the settings which permissions we have to give clean the recent history clean all in the home menu like bipublisher,create,browse,getstarted options

  • Hi, can anyone help with a speakers question????

    Will using unsheilded speakers near my iPod touch damage it? I have a jvc speaker case which is unsheilded. I had it 5 inches from my touch and it froze. Coincidence?