Getting last changed by in a sales order query

Hi there,
I'm creating a query to show sales orders. I need to output to show the "last changed by" username.
This isn't stored in the VBAK or VBAP tables. As far as i can see from results on google and i can see in SE16N, the table needed is CDHDR, but i cant join this with the VBAK table.
I'm trying to join them by using the objectvalue and Salesorder number.
Does anyone know which other table or how to join the tables above?

Hi,
1. In the CDHDR - pass the below values
Object:VERKBELEG     
Object value - ASales order number.
T.code - VA02.
2. here you will have the Name, Date time - on which you can get the lsast changed date
3. This CDHDR / CDPOS are the tables that will have the values for all the changes.
Reg
Dsk

Similar Messages

  • Reports to track changes on Deliveries and Sales order

    Hi All
    Do you perhaps know of a specific report that could possibly track changes made to a Sales order and delivery at line item level.
    The problem is change log only logs the deletion of the line item but not the actual material number.
    Do we have to enhance existing reports to achieve visibility for deletion of line items.
    Regards
    KC

    Hi Lakshi
    Thank you very much for that feedback the thing is that you can search that on an order per order basis and even when you get to the change log you will not be able to see what material number was deleted.
    That is the problem.
    Has anyone experienced this wher the requirement was to have a report to run so see what changes have been made to orders or deliveries that they could view wholistically.
    Kind Regards
    Kasavan Aboo

  • Changes carry forward from sales order to Purchase order in third partysale

    Hi,
    My requirement to carry forward the changes in sales order to Purchase order in third party sale and vice versa.
    As we know most of the changes we do in sales order,get refelected in purchase requestion because PR get created automatically from SO but PO we create manually in third party scenario.
    Now my requirement to refelect the changes (changes qty, request delivery dale,adding or delition item etc.) from SO to PO and text message from PO to sales order automatically.
    Please guide me.

    Hi,
    Thanks for reply.
    In third party PR gets created automatically but PO gets create manually.So changes get refelect in PR only not in PO.
    Can you give me the solution for completing this task.
    Thanks & Regards
    Jalaj garg

  • Change customer address in sales order

    Hi,
    is there any possibility to change the address in an sales order
    for the customer in Field sold-to party.
    i don't want to change it via xk02.
    i don't want to use another ship-t party customer.
    Only one customer shell be used and the address shell only be changed
    for a specific sale-order.
    Any idea?
    thanks.
    regards, Dieter

    if you want to change address in VA01,or VA02 Transaction manually then
    double click on sold to party number ,here you can change -> manually
    if you want to change programtically -> use MV45AFZZ Include ->
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    ENDFORM.
    write the code above routine ,first get the data adrnr from vbpa,then update into ADRC Table
    Thanks
    Seshu

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to prevent change payment term in sales order?

    Hi,
    My client not allow sales admin. to change payment term in sales order. How to do this? (by standard SAP functions or authorization)
    Thanks & Regards,
    Jr.SD

    Either you can run T.Code shd0 or apply User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP to achieve this.
    thanks
    G. Lakshmipathi

  • Change Item Category in Sales Order for KMAT materials

    Hi,
    How can I change item category in sales order/quote for KMAT materials?
    Currently in the sales order/quote, the item category field is grayed out for KMAT/configurable materials and I can change the item category.
    Please help me.
    Sincerely.
    Ketan

    Dear Ketan,
    I hav exactly the same problem.
    Did you finally succeed?
    Thanks.
    Ben.

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Changing the payer in sales order other then BDC, LSMW

    Hi Friends,
    We are working at BHEL,
    here we want to change the payer instead of old payer for all open sales orders is , is there any possibility to change the payer in sales order other then LSMW , BDC , those two are not helpful for us  because there is lot of incompleteness logs in my incomplete procedure,
    please suggest me to proceed further,
    regards,
    Gangi Reddy.

    Hi Gangi,
    I have explained the CATT procedure, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
    Have a look and let me know if you have further doubts.
    Rewards if helps.
    Regards
    Nadarajah Pratheb

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • Change  of Plant in sales order line item

    Hi folks,
         Can someone guide me how to change the line item sales order --plant after saving.
    it is coming as grayed once entered.
    Regards
    Srshkumar

    Hi,
    Good To see few replies, But the field(Plant) is coming grayed after entering the plant in the line Item.
    Need few more suggestions.
    Regards
    Srshkumar

  • Change of customer in sales order

    Hi,
    We are facing problem when our customer is changed for a particular sale order.
    Suppose we've manufactured a transformer under sale order 680700500 for a customer suppose X
    Now due to any payment issue or change in requirement of customer it is not being sold to X
    Suppose another customer let's say Y comes for the same rating of product which  is same as manufactured for X.
    Since the product is lying in our workshop we will be happy to give them.
    Can u please explain me the complete procedure of this change over on SAP right from generating new production order number to consumption of material.
    Strategy: Planning with final assembly
    How to change the customer in sales order

    Hi,
    You can transfer the stock from one customer to another customer by using tcode MB1B. Check with 411 or 413 with special indicator ( sale order to sale order)
    System will ask existing sale order no & new sale order no. You can transfer the stock in same str location.
    Regards,
    Dharma

  • Need FM to get Last change date of Objects in package

    Hi All,
      Is there any Function module to get Last changed date of all Objects in a package .
      How to get the last change date of class,methods,function module.....
      I can get last change date of programs from TRDIR....UDAT....Similarly how can I get for Function Module and Class Methods. 
    With Thanks,
    Dina.
    Message was edited by: Dinamol Sasidharan

    Go/double click on the affected cubes you want to see the time stamp.
    click the Extras(tab on the upper of part of SAP) or simply 'Ctrl + F5'.
    Box will appear.
    Click on Logs for Save/Activate so you will see the linfo for the users who used this cube.
    Then put time restriction for From and To(always the current day and time).
    Then execute, all of the users who changed then saved/activated that cube will appear on that timeframe you view.
    Hope this help.

  • I need to add push button to last extended price unit in sale order item B

    i need to add push button to field  last extended price unit in sale order item additional data B

    i need to add push button to field  last extended price unit in sale order item additional data B

  • Change Confirmed qty. in sales order

    Dear SAP gurus,
                             After creation of sales order i want to change confirmed qty. in sales order how it can be done ??
    Please help,
    Regards,
    Amit Patil

    Hi,
    You can use transaction CO06 to change commitments manually.

Maybe you are looking for