Enable change logs for item level of Sales Document

Hi,
On transaction VA02, additional screen field (Booking Date) is added (& consequently 2 appends with date field in the tables VBAK & VBAP).
When this date is changed in the header, the corresponding dates are changed in the item level as well.
However, the change documents are created only for table VBAK (though item data is updated in VBAP also).
When the date is changed at the item level, the change logs are created for the corresponding field in table VBAP.
The data element has 'Change Document' checked.
How can I activate the change to be logged for the item level (VBAP), when the date is changed at header level (VBAK)?

Hi Nidhi,
Maybe set a breakpoint in include MV45AF0C_CHANGE_DOCUMENT_CREAT
Then check in UPDATE debug mode the value of upd_vbap and the contents of xvbap which are passed on to function VERKBELEG_WRITE_DOCUMENT .
This function creates the change documents based on the data changes.
I would have thought that since the date values are changed at item level as well when you only change it at the header, they should get a change document created automatically, since the dates must be in the XVBAP table (as their value is changed at the DB).
So I would compare the various internal tables for both scenarios (header change,  item change) to determine their differences.
After this use one of the user-exits to populate the internal tables for the header scenario based on the values of the item scenario. I would feel this to be a last resort though, since something appears not to be working correctly (I think).
Hope this makes sense,
Robert

Similar Messages

  • How to get change log for z-fields in VBAk(Sales order)

    Hi All,
    Please help me in this.
    My requirement is get the change log for z-fields in sales order.
    In the sales order header level we have one tab Additioanl data.
    In this we have z-fields, if we change any of the field value, it is accepting the same and updating in data base as well.
    But it is not appearing in change log<. I.e. Environment->changes.
    How to get the change log for the z-fields.
    In data element level enable the check box of change document.
    Please help me in this.
    Thanks in advance
    Jaya,G

    Hi Jaya,
    For this you need to do some coding. Here is a link which tells you, step by step procedure how to activate Change log for the Z tables.
    THe Object that you need to use for Sales Document   is VERKBELEG
    [https://wiki.sdn.sap.com/wiki/display/ABAP/Maintaining%20Change%20Log%20for%20Database%20Tables]
    Hope this helps..
    This is Primarily a Technical Consultant Job. Take his help before you make any changes.
    Thnks
    Srini

  • Tax classification screen for item level not appearing in sale order under Billing Doc tab

    Hi Expert
    while creating sale order Tax classification screen is not appearing for item level under Billing document tab.
    Tax classification for customer and Material has already maintained. Tax classification screen is not appearing for USER but same time from our USER ID we can able to see that screen.
    please help in above issue. is this related to Authorization issue or other thing need to check.
    Regards
    Pash@SD

    Hi,
    As per standard in Sales Order Document you will be able to see the Tax Classification fields in Billing Tab at Header level (for Customer Tax Classification) and at Item level for (Material tax Classification). The values from Customer M<aster is not populated at Header level as per standard but you can populate the value by using the Exit. Material tax classification populated from material master as you can see that at item level.
    If for one User you are able to see and for other you are not able to see, kindly check first whether both are using same customer and material, and if yes, then check the User Exit.
    Thanks and regards,
    Amitesh Anand

  • Two different Incompletion log in item level for one sales document type

    Hi All,
    we are using one sales document type for 5 different sales org, now we are implemented new sales org.
    pervious all 5 sales org we have setup incompletion log at item level 5 fileds.now for new sales org we need to setup out 5 fields we need to setup 3 field.
    how to maintain same sales document type 2 different incompletion log.
    i have checked in forum i found out below link.but is not matching for my requirement.
    http://forums.sdn.sap.com/thread.jspa?threadID=1433420
    Thanks,
    Kumar

    Hi ,
    Thanks for your responds.
    i will check with my ABAP  person if any thing is required i will come back to you.
    Thanks,
    kumar

  • Change documents log for Header texts of Sales order

    Hi ,
    Does any body came across seeing the changes in the texts in the change logs in the sales order ?
    Can anyone of you provide me the way to activate the change logs for the long texts
    Regards,
    Ajai.

    Kapil,
    Before my current project I was with the same opinion. But at my current client I saw the header texts being logged for the purchase order. I.e if we change the header texts for the PO, we can see the changes in the change log history of the PO.  Thats where I got trouble into.  The business shows the PO history and expecting the same in SO too.  I was unable to figure out how the PO header texts changes were being logged.
                Coming to performance, the clients volume of orders is not too high.
    Lets see any of our SDN friends come up with some hints..
    Regards,
    Ajai.

  • Creating change log for sales order

    hi all,
    i want to create change log for any given sales order if it exists.
    can any one tell me how to do that??

    Hi Gouri,
    CDHDR and CDPOS are the tables for all change history.
    CDHDR contains the details such as who made the change, when, using what tcode and the change type ie. update, delete.
    CDPOS contains the field name which was changed, its old value and its new value.
    The change document object is VERKBELEG for sales documents.
    The object value is the SD document number with leading zeros.
    The following link will be also useful.
    http://www.sap-img.com/ab024.htm
    Regards,
    Nitin.

  • How do we chcek change Logs for any stndrd transaction

    Hi gurus,
    Are there any tables to check change Logs for any SAp standard t-code ?
    Thanks
    Kylie

    ALex ,
    For eg :if its a t-code related to Purchasing : then Purchase Order and it's corresponding item level details are retrieved.
    But i m thinking in a different way: i need to check LOGS of a t-code which might have a transport request
    following such a transport request i can get the USER details who migrtaed the changes of t-code (for eg:ME23n)
    from SAP QA to SAP PROD.
    Thanx
    Kylie
    Edited by: kylietisha on May 31, 2010 8:15 AM

  • PO number prints only if it is at header level not for item level

    Hi All,
    I am not able to print the PO number in my order acknowledgement and COA printout when I enter the PO number in the sales order at item level of only. It prints fine when it is at the header level.
    Please assist.
    Thank you,
    Shanu Jain

    Hi,
    BSTKD Field in the VBKD is dependent on two things . IF the Header PO Number is same as the Item number if u change at Header level it will be changed at all items level also. If both are diff then if u change the PO Number at Header level it will change PO numbers of the Items which is having same value as Header Po Number otherwise it wont change the Item PO Number .
    Ex " Order Number 1000 is having PO Number at Header Level is PO1. And the sales order is having Item 010 and 020.
    IF Item 010 and 020 is having PO1 at item level if u change the value of PO1 at header Level if will be applicable to items 010 and 020.
    If Item 010 is having Po Number PO1 and 020 is having PO2, if i change value of PO number at header to PO3 then it will change Item 010 PO Number to PO3 and Item 020 PO Number will be same as PO2.
    Try to Take The VBKD - BSTKD where Item Number POSNR is blank that means Header PO Number .
    IF u want Item Po Number then pass the item number in POSNR and get it.
    Regards,
    Srinivas.

  • Delivery block at item level in sales order,Qty should not be confirmed

    Dear all
    We have a below requirment
    We will have multiple line items in sales order and put delivery block at item level.If delivery block is put at item level it should not confirm the qty and pass on to MRP
    But if we put at header level delivery block,schedule line qty at item level are not getting confirmed.So requirements are not passed to MRP-This is correct .Working as per SAP standard configuration.
    Can you tell how to activate the same for item level delivery block.if same delivery block is put at item level,it is confirming the quantity.But we don't want confirmation of qty to happen.
    Can you give us solution
    Regards
    Sudha

    We had similar issue , there will be confirmed quantity but the requirement will not transfer to MRP , We used Item category configuration ( Copied new item category assignment and it should behave as Inquiry item category)
    Check OVZ7 T code for customizing the u201CDelivery Blocku201D in your sales document to block Confirmation block
    Check the  customizing OVZ8: if the flag  Transfer of Requirement
    Transfer of requirements of the requirement class should be ON.
    In the sales order the requirement type is determined by the combination sales order item + MRP type.
    Refer SAP Help URL below
    [Setting a Delivery Block |http://help.sap.com/saphelp_470/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]

  • Enable Change logs in tcode

    Hi All,
    I need to enable Change logs in CJ20n as
    it is available in VA02
    CJ20n is an Project System module T-code.
    Please its urgent.
    Thanks & Regards,
    Amit.

    You can change the setting of the below transaction CJ20n by going to settings->options , where  we have the option to change or display.
    When  you change the setting to  'change' mode then you can open a new project where the option of scheduling can be done for a new project.
    Hope this is what you have asked for.

  • Change Logs for customer master data in 3.1 H version

    Hello All
    Are they any existing reports or change logs for viewing changes to customer master data in 3.1h version.  I want to be able to report based on changes made to customer master.
    I know there is a good report in 6.0 version for this- S_ALR_87012182.
    If I have to develop a custom program for this in 3.1h. Which table I should use? KNA1 or CDPOS.
    Any ideas will be appreciated.
    Hema.

    Hi,
    Please check the filter settings maintained for the adapter object CUSTOMER in R3AC1. The same filter settings can be referred in tables Table: CRMFILTAB (R/3) and SMOFFILTAB(CRM) as per srinivas's reply.
    Check the sales area of the customer maintained (Sales Area, Division, Distribution Channel etc.) and see if the current filter settings are restricting the customer from getting replicated in CRM. If everything is maintained fine then check for any failure Bdocs in SMW01 or SMW02.
    Regards,
    K

  • Change logs for Shopping cart

    Hi,
    Is it possible to get the change logs for a shopping cart in SRM as to who deleted a line item after approval? We are in the SRM 4 version ( classic scenario).
    The problem is that the batch job user seems to be coming up in the last update for the shopping cart and the backend PO is deleted with the RFC user name.
    Are there any tables in SRM where the change is logged? I checked CDHDR/CDPOS tables but it is difficult to get the logs for the shopping cart especially for the deleted action.
    Any clues/ideas would be appreciated.
    Regards,
    Rajesh

    Hi
    expand the shopping cart
    in the right top corner you can see
    Display Changes
    shopping cart might be deleted by BATCHRFC
    if the BUYER deleted a PO and the status will be updated in the shopping cart by BATCHRFC user.
    Muthu

  • How can we revise the pricing both at header and item level of sales order?

    Dear All,
      Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
      So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.

    Dear Lakshmipathi,
      Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
      I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
      And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
      I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot.

  • Change log for CRM service order

    Dear Experts,
      I've created log profile in CRM under IMG path Customer Relationship Management->Basic Functions-> Change log with protocolo " Changed document "  & segment " PRICING_I ". This log profile is attached to transaction type service order.
    Basic idea is to capture the changes made on the pricing in service order. Now with this setup where can i see the trace of changes done in service order. Is there any table that fills with the log  ? 
    Basically i'm trying to find log DB table for pricing with this setup.Can anyone pls suggest me to resolve the issue.
    Regards
    Devika.S

    Hi,
    there are no change logs for CUMULAT_H object because this is only a temporary object in CRM Order buffer. Check for example the function module CRM_CUMULAT_H_READ_OB. You will find out the this module does not read the CUMULATE_H from the DB cumulates the values by reading the item values.  Because of that you will also see that in view CRMV_OBJECTS the change document relevance is not maintained for this object.
    So you will not a change entry for CUMULAT_H in CDHDR/CDPOS. As a workaround for your requirement you can read the changes of CRMD_PRICING_I-NET_VALUE from the change document tables or write a change entry on save into a customer field and/or table.
    Regards
    Nicolai

  • Change Log for Custom fields

    Hi All,
    I need the change log for custom fields added in BP transaction codes.
    Basically, for tracking the changes of master data in CDHDR and CDPOS tables we will enable the checkbox of dataelement related to custom field.
    As for SAP fields in BP transaction code the change history is reflecting in CDHDR/CDPOS tables. i have enabled that for custom fields added to BP transaction code but i could not see the change history for such fields.
    Please let us know if iam missing any other thing?

    Hi Amit Singh,
    Apart from clicking the checkbox in dataelement...
    There are some settings need to be done by BASIS
    and some settings and entries should be made in SCOD t-code
    create entriy for change document here..
    also hv a look on below links...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm
    Custom Table values in CDPOS and CDHDR
    scdo
    wat do these fields in scdo stand for?
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

Maybe you are looking for

  • Button Templates in database not shwn in CUCM admin Phone Button Templates

    Hi, I was looking around the database of CUCM (v8.6), and i have found some gap between the 'phonetamplate' table and the "Phone Button Templates" page. Following items are not shown in the front-end: StandardCN622 Standard_Cisco_TelePresence_400 Sta

  • FINALLY added Turbojet2 to AUR, now I have a build problem...

    (PKG location: https://aur.archlinux.org/packages.php?ID=54658 ) I, again, have to point out (for fairness and honor) that I got help from someone (I think two people, iirc) in the main IRC channel to get this pkg working initially at least 6 months

  • Background processing Function modules

    Hi guys, Can any one give me the list of function modules for background processing. I found only one RS_EUIN_BACKGROUND_PROCESS. Regards, Raghu.

  • Regarding SCAN ABAP SOURCE PROGRAM

    Hi Friends, I am using SCAN ABAP PROGRAM in my code .         SCAN ABAP-SOURCE  source_sub         TOKENS     INTO  i_tokens_sub         STATEMENTS INTO  i_statements_sub         KEYWORDS   FROM  i_keywords_sub         LEVELS     INTO  i_levels_sub  

  • MAC Clean Access Agent - Temp Certificate

    Trying to get a Mac OS X client working with Clean Access. Got the agent loaded however everytime we try to authenticate it prompts with an error about communication issues and says that if we are using a temporary certificate (which we are) we need