How to get changed by ID in sales order?

Hi all,
In table VBAK, I can only find the created by field. How can I get changed by person? Why the last changed by didn't stored in VBAK?
I can find changed by in change history of S/O. I only want the last changed by, how can I get?
Best Regards
Jean

Hi Jean,
You can use the following FM's to get the required information.
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ_POSITIONS
In FM CHANGEDOCUMENT_READ_HEADERS for the parameter OBJECTCLAS pass the value 'VERKBELEG' and for the parameter 'OBJECTID' pass the value <order number>.
If you do a where you list you will get more info of the same.
Hope this helps
Cheers
VJ

Similar Messages

  • 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

  • How to get the KEY VALUE of sales order

    Hello friends,
                          iam adding a sales order through DI-SERVER to the SAP db.after adding iam getting a key value (i,e Doc no)..i want it to display it in my frontend....can u please tell me how to display the return key value of my sales order
    regards,
    shangai.

    Dear Shangai,
    To retrieve the last Doc/Object added through DI API (DI Server is based on DI API) there is a method called "GetNewObjectCode" which can be used to retrieve the last DocCode which was added into the B1.
    Please try the function for more help please look at the help files RefDI.chm which is installed with the SDK installation for B1.
    Regards
    Arshdeep

  • Condition value getting changed when open the Sales order in VA02

    Hi Experts,
    i have creating Sales order manually in VA01, and for first line item of sale order, i have assigned value in custom field of additional tab B, to populate Condition value for condition type ZK01 and checked in VA02, VA03 same Condition value is there for condition type ZK01.
    And created delivery document and billing document for newly created Salesorder.
    When i have open the Sales order in VA02, then i am getting changed Condition value for conidition type ZK01 in bothe header and first line item and in VA03 there is no change in value.
    Kindly let me know the user exit or any related programs to this issue.Thanks in Advance.

    Hi Rajani,
    this sound like VOFM -> conditions. Do you know which conditions are active during the determination?
    Cheers,
    Stefan.

  • How to get pricing conditions while creating Sales Order

    Hi Guys,
                When we create sales order using VA01, price is automatically determined using pricing condition configured.
    My requirement is, I need to know what would be the price of a particular item.Say i put one item A with quantity x,can I get which price conditions will be applied and what value will come for them.I need this because I need to validate this price with some other price put in a file .

    I would suggest to use the Exit because that will be less efforts and you can implment and debug it easily. Moreover, you can restrict it by any condition e.g. order type, order reason because all the internal tables are available at that point.
    Whereas, accessing the access sequence is cumbersome process. You need to go to all the combinations (tables) in the access sequcen and try to find out the suitable match .
    Regards,
    Naimesh Patel

  • How to get payment term of a sale order ?

    hi,
    in transaction VA02, How can we know the payment term a document ? it is stored in which table ?
    Thanks.

    Hi,
    In VA02 after entering the sales document number,you can find the payment terms in overview screen in Sales tab.
    Goto Header,under billing Document tab you can find the payment terms also.
    Similarly in item details also under billing tab you can find the payment terms for each line item.
    All the payment terms that are created through "OBB8" T.Code will be stored in "T052" Table.
    For your Sales order,the payment terms will be stored in "VBKD" table.Goto SE11/SE16,Enter your sales order number in VBELN field.
    Execute.
    You will find the header details and item details.In each case you can find the payment terms.
    Regards,
    Krishna.

  • How to get status of a particular sales order Number

    hi can anybody tell me the way which we get the status of various SOrders and it should check some seven conditions and display the status , the following are the statuses to be displayed.
    a.     Mark as “O” (open) =  Get the VBUK-LFSTK where VBAK-VBELN, If VBUK-LFSTK is “A” show the sales order status open
    b.     Mark as “H” (on Hold) = Pull the VBAK-VBELN reference to VBAK-LIFSK.  If the sales order has the delivery block (15 IBM Pending BOP file )
    c.     Mark as “D” (Drop/Pull) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is “A” then it is dropped.
    d.     Mark as “N” (pending) = Get LIKP-LIFSK from the LIKP-VBELN where VBAK-VBELN if the status is either “12, 13,14,15,16 and 17”
    e.     Mark as “F” (Floor) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is “C” then it is transferred to the floor.
    f.     Mark as “K” (Kitted) = Get the LIKP-VBELN reference to VBAK-VBELN and give the LIKP-VBELN for VBUK- VBELN and if the VBUK- LVSTK is “B” then it is kitted.
    g.     Mark as “P” (packed)= Get LIKP-VBELN reference VBAK-VBELN and give LIKP-VBELN as an input for VBUK- PKSTK and PKSTK is”C” 
    h.     Mark as “G” (PGI) = Get LIKP-VBELN reference VBAK- VBELN and give LIKP-VBELN as an input for VBUK-WBSTK is “C”
    Mark as “E” (EDI Error) in following two scenarios = If VBUK-LFGSK not equal to C for the sales order, then search VBAK-LIFSK then it is an “EDI Error” if values are:  14 or 17. On the other hand, If VBUK-LFGSK is equal C for the sales order, then search the delivery header… LIKP-LIFSK  it is an “EDI Error” if values are:  14 or 17

    Check field VBUK-GBSTK (Overall processing status of document).
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How system updating the delivery dates in sale order schedule line

    Hello
    i created a sales order with 2 line items. For the first line item the confirmed delivery date in the schedule line is 06.02.2012 and for the second line item the confirmed delivery date in the schedule line is 14.02.2012 . Both the line items are third party items and the PR created against the line items in the sales order .
    We created the PO with reference to the PR of the SO and we find there are different delivery dates coming in the PO document for the 2 line items . For the first line item the delivery date is coming as 14.11.2011 and for the second line item in the PO , the delivery date coming as 11.11.2011 . Firstly we are not understanding from where the delivery dates are picking in the PO.
    Secondly , once we saved the Purchase order and once we come back to the sales order , the schedule line dates are getting changed automatically in the sales order . For the first line item in the sales order the delivery date is changing to 22.11.2011 and for the second line item in the sales order the delivery date is changing to 22.11.2011.
    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .

    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .
    For third party processing, the delivery dates are updated in the purchase order based on the settings in the field Planned delivery time in the MRP2 view of the material master(defined in purchase info record in t.code ME11/ME12) and purchasing processing time defined in t.code OMEW. This means, since the date of PO created, it will take the days mentioned in the planned delivery time field and purchasing processing times to determine the delivery date, which will be copied into the sales order as delivery date. In your case, the purchase order delivery date is not copied into the sales order, hence you may need to check OSS note. How the PO is handled? Any confirmation control functionality is used?
    Regards,

  • 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 get changed data in ALV in Web Dynpro for ABAP

    METHOD on_data_check .
    DATA:
        node_spfli                          TYPE REF TO if_wd_context_node,
        node_sflight                        TYPE REF TO if_wd_context_node,
        itab_sflight2                        TYPE if_display_view=>elements_sflight.
      node_spfli = wd_context->get_child_node( name = if_display_view=>wdctx_spfli ).
      node_sflight = node_spfli->get_child_node( name = if_display_view=>wdctx_sflight ).
      CALL METHOD node_sflight->get_static_attributes_table
        IMPORTING
          table = itab_sflight2.
    this code is ..get all data(changed and not changed)
    but i want get changed data only, not all data.
    how to get changed data?
    Edited by: Ki-Joon Seo on Dec 27, 2007 6:04 AM

    Hi,
    To get only the changed data in the ALV grid of a WD, you need to capture the "ON_DATA_CHECK" of the ALV grid.
    To this please do the following in the ALV initialization of the ALV table settings :
        lr_table_settings->set_data_check(
                IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CELL_EVENT ).
    You may also do this:
        lr_table_settings->set_data_check(            IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CHECK_EVENT)
    The above two ways would depend on when do you need to check for the changed data. If you want to check the data as soon as it is entered, then use the first method. Else, use the second method.
    You need to register an EVENT HANDLER for this event.(You may do this in your VIEW or Component Controller).
    In this Event handler, you would find an importing parameter R_PARAM which is a ref type of      IF_SALV_WD_TABLE_DATA_CHECK.
    The attribute T_MODIFIED_CELLS of this interface IF_SALV_WD_TABLE_DATA_CHECK will contain the modified cells of the ALV with the old & new values.

  • 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 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

  • How to get change date in Production Order ?

    Dear Friends,
    I want to know it, how to get change date in Production Order "Administration-TAB".
    F1-Help, It is displayed with "Change date for Order Master". and Structure table "CAUFVD".
    But, CAUFVD is not Transp. Table.
    Which table should I read ?
    Thanks in advance
    Yamazaki-H

    Dear Friend
    Thank you for an answer.
    It was settled.
    Best regards.

  • 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

  • How to Stop Forward scheluding process in Sales order(VA01)

    Hi ,
    How to Deactivate forward scheduling proposal in sales order.....
    In current systen, we have both forward and Backword scheduling process based on the material availability.
    What is the customization required to do in SPRO or Master dsata changes to stop forward scheduling proposal in sales order....
    Thanks & Regards
    Sudheer Madisetty

    HI Gopal,
    Thanks for your reply
    Apart form OVLY, Any other customization required to be done...?
    Regards
    Sudheer

Maybe you are looking for

  • ASN Contact Info

    Dear All, Few days back I got Bronze ASN membership. Since I am new for Debug Version of applications so I am facing a lot of problem in using it. Please let me know how to caontact them. I am having only on support case and I want to use this in ver

  • Strange problem with DATE

    Hi, I am having a strange problem in the following piece of code : this._calendar = new GregorianCalendar(); this._calendar.set(Calendar.YEAR, 2001); System.out.println("definition 152 " + this._calendar.get(Calendar.YEAR)); this._calendar.set(Calend

  • Lost the thumbnails in safari top sites homepage.

    Ok, confession time... I think I actually turned them off playing around with a free trial of Cocktail. Then, the next time I launched cocktail, it told me I had reached the end of my free trial and wouldn't let me do anything, i hadn't even realisee

  • Info Window

    Hi, Is there a way to format the custom info window (MVInfoWindowStyle1 or MVInfoWindowStyle2) so text does not continue outside the window on some of my map foi's ? MV auto adjusts the window size nicely in the JDBC theme based FOI. Thanks, Marlene

  • My computer needs dvd Help

    I just joined the mac world From the lathargice pc world. i bought a power mac g4 350 pci i want to up date the os from an older os x to the new tiger i bought also. here is the thing it only has a cdrom drive not a dvd drive. a few questions 1. i ha