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

Similar Messages

  • How to get change log for fields if change document flag is not maintained?

    Hi experts,
    My requirement is display the change log details for the transaction FAGLGA32.
    In this transaction we have the Field Groups block.if any change is happened for field group we need to capture the change.
    the field for the field group is RKAL1-FGFLG1 and the data element is FGFLG.
    In the data element FGFLG, the flag CHANGE DOCUMENT is not maintained.
    How to get the change log details for the fields for which the change document flag is not maintained at data element level?
    Regards,
    Ramesh

    do a modification for the data element or try Audit Trail (depends on your release)
        Audit Trail (electronic records) / Tx AUT10, AUT01, XX-PROJ-ELR, OSS 564743,517613,564645
            Note 1058984 - FAQ: Audit Trail (Transactions AUT01-AUT10)
            http://help.sap.com/erp2005_ehp_03/helpdata/DE/fc/89683c1b5fb712e10000000a114084/frameset.htm
    cheers
    carsten

  • 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

  • How can i change the title in the system form 'Sales Order Form'

    hai
    how can i change the title in the system form 'Sales Order Form'  and then how can i call this form?

    Hi Sanjoy,
    You find the form property like this :
    SAPbouiCOM.Form oForm = null;
    oForm = SBO_Application.Forms.Item(pVal.FormUID);
    oForm.Title = "New Title";
    Michael

  • How to make Different Price for same product in one Sale Order

    How can i customizing my system?
    I need to sale for different price same product A in one sale order. And price condition type cant be manually. i can separate them by position. for ex. in first position: product A is one price and in 2nd product A with discount. i tried to do it by changing a price group for 2nd position to determinate a discount condition but it generates invoice split.
    Someone have any suggestions?

    Hi
    you can have it automatically determined after some custo and using userexit_pricing_prepare_tkomp in MV45AFZZ and RV60AFZZ.
    The idea is to use ítem category field (PSTYV) as a part of pricing data to determine different prices for same material by changing manually ítem category when creating a sales order
    - you'll need to create a new ítem category copied from the one you´re using and do all assignments
    - add field PSTYV, if not there, to pricing field catalog. This thread has an example on how to and coding required for userexits
    http://scn.sap.com/thread/1693234
    - Adjust your pricing sequence as per new table
    - Maintain specific prices in new table for materials with this new ítem category
    Finally, when creating a sales order change, when required, default ítem category by new one to get specific price for material.
    Regards,
    JM

  • How to sets the Reason for Rejection of the Open Sales Order Lines

    Hello gurus,
              I want to set the Reason for Rejection of the Open Sales Order Lines, Case is like :
    If current date is exeed the Auto Void Confirmed Back Order Days(for item level) +  date (last responding from customer), then reason for rejection should be set, So i want the logic to find out the date is exceed or not.
    Thanks
    Anjana

    Hello anjana,
       Actually your question is some confusing, but if u want to get eldest change as active sales order then logic is as follows:
    1.  On base of OBJNR u have to get UDATE from JCDS table
    2. then write logic as:
    SORT i_jcds BY objnr stat chgnr DESCENDING.
          LOOP AT i_jcds INTO wa_jcds1.
            CLEAR lv_stat.
            lv_stat = wa_jcds1-stat.
            AT NEW objnr.
              AT NEW stat.
                CLEAR: wa_tab.
                wa_tab-objnr = wa_jcds1-objnr.
                wa_tab-stat = lv_stat.
              ENDAT.
            ENDAT.
            IF wa_jcds1-inact = 'X'.
              CLEAR lv_tabix.
              IF sy-tabix > 1.
                lv_tabix = sy-tabix - 1.
              ELSE.
                lv_tabix = 1.
              ENDIF.
              READ TABLE i_jcds INTO wa_jcds2 INDEX lv_tabix.
              IF sy-subrc = 0.
                wa_tab-chgnr = wa_jcds2-chgnr.
                wa_tab-udate = wa_jcds2-udate.
                wa_tab-utime = wa_jcds2-utime.
                APPEND wa_tab TO i_tab.
              ENDIF.
              CONTINUE.
            ELSE.
              wa_tab-chgnr = wa_jcds1-chgnr.
              wa_tab-udate = wa_jcds1-udate.
              wa_tab-utime = wa_jcds1-utime.
            ENDIF.
            AT END OF objnr .
              AT END OF stat.
                APPEND wa_tab TO i_tab.
              ENDAT.
            ENDAT.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr stat.
          SORT i_tab BY objnr stat udate utime.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr.
    3. now in i_tab table u'll get eldest UDATE
    Hope its work for u.
    Thanks & Regards,
    Sumit Joshi

  • Change log for Z field while doing a direct update

    Hi ,
    I have a Z field added to the EKKO table and the change log is activated . Any change to the Z field from the transaction ME52N is updated in the CDHDR , CDPOS tables .
    The issue I have is now i have a requirement to update this Z field through a program . I could update this field but the change doesnt get into the change log . But the change done from the program appears in the front end screen i.e ME53N.
    Please help me on this.
    Regards,
    Hari.

    Hi Hari hara Kumar,
    As far as my thinking, there is only one solution for this, do a recording/BDC(I know that Enjoy transaction BDCs are not successfull but as you have only 1 field to update,you can have a try) to update the Customer fields  or Using the BAPI you can update the same to get change records, but it will be a long procedure to add Z field in the BAPI structures and then do that required coding, better is to have a try a with the BDC. I will never ever do a direct DB table update using a Z program for Standard tables.
    Thanks & Regards,
    Faheem.

  • How to save change log for a particular standard table in ZTABLE

    Hi Experts,
    Wouldlike to make one ztable in R3 which should  record changes made( say particualr field)  in standard SAP DB table ( say TXPDAT). I  think that there has to beway to do it.
    Could you please share the way to achieve it?
    Will appreciate a quick reply.
    Thank you
    Best Regards

    Hi,
    or else do like this...
    In order to maintain the log changes the main pre reuisite is to checkmark the checkbox in dataelement of table filed.
    To do this...
    goto transaction SE11>enter ur table name>cleck on fields tab>cleick on dataelement->click on Furthercharacterstics tab-->select the checkbox'Change Document'.
    If u dont select dis the u cannot see the log entry of the particuylar field..Do like this for each dataelement for each table field...selecting all the fields is not mandatory..u can choose the table field u want to see the log report..
    Once u done with dat...
    Goto SCDO transaction> click on create>give a name change doc startwith Z or Y only>Follow the prodedure and in-->name of table field>enter u r TABLE NAME->click on individual field checkbox.--->insertentries..
    Once u done with dis..
    Goto SE16->enter CHDIR or CDPOS->press ENTER->enter u r object id>F8
    U can see the new and old value of a table entry.....

  • How to get change documents for Equipment Master Records of a document?

    Hi experts,
    I need a report for changes of Equipment Master for a document.
    There is a way to reach this for every document : Environement - > Display Changes. Then I can get a report for "Changes to Object Links". But this can only show me that which equipments are linked to this document. What I want to search is which documents are linked to the equipment. I want to search with equipment number and get the history of changes for documents, Which documents are attached to this equipments and when did these documents attach to the equipment.
    Can I get this report with standard SAP queries / reports? Where can I get this informations? From which tables?
    PS: If i run a search with Equipment Master Data form CV04N, I can see which documents are linked to this equipment but I can't see when they are attached.
    Thanks in advance.

    .. but I can't see when they are attached...
    In CV04n,in Object Links tab,provide your search input criteria.Once the results are displayed,navigate to Current Layout button.Herein,move the 'Output Date' value to Displayed Column list.
    Once done,you should be able to view the date on which the DIR with associated objects(Eg: Equipment Master) was created.Hope this helps!!
    Regards,
    Pradeepkumar Haragoldavar

  • How to create Subscription Schedule for a Contract created from Sales Order

    Hi Gurus,
    Need help in creating subscription contracts from Sales Orders.
    We know that Service Contract is created from Sales Orders by adding covered item and service item as two lines in a Sales Order.
    1. Does anyone know how to a create Subcription Contract by adding single item or BOM item(Model) to a Sales Order?
    2. Can we have a BOM item created as Subcription item and reference this to the Service Item in the Sales Order, so that we get the Service Contract created with the BOM item as Covered line.
    3. Whenever we create the Service Contracts from Sales Orders, the Billing Schedule Level is set to 'Top Level'. Can we get this changed to 'Equal Amount' by using any profile options.
    Please advise as we are in a critial design phase and need to make a decision quickly.
    Thanks,
    Sid

    Hi Mani,
    I have a similar requirement but i need to transfer the values to the same page... what then. I have seen the developers giude and the example shows how to tansfer values to another page but no clues what so ever if i have to transfer them to the same page different region. Do u have any suggestions ....
    Regards,
    Amit.

  • Change logic for pricing date in CRM sales order

    Hi,
    We have a requirement in B2B sales order where in default pricing date should be set to u201CRequested delivery dateu201D entered by customers in B2B sales order. Is this feasible through IMG configurations in CRM 5.0? I am aware its feasible in R3 while configuring sales order type (In the sales order type configuration, there is a field called as u2018Proposed Pricing Dateu2019). Do we have similar options in CRM 5.0?
    Thanks & Regards,
    Namita Singh

    You can implement the BAdI - method CRM_COND_COM_BADI method ITEM_COMMUNICATION_STRUCTURE
    You can use FM CRM_ORDER_READ to read the current order information, in your case the RDD and use this value to change the pricing date in the item-communication structure.
    CS_ACS_I_COM-PRICE_DATE = l_rdd.

  • How To See Change Log For A Table Entry

    Hi Experts,
    One entry is created in a table. I want to know, when that entry was created/ changed.
    Is there a way to find it out.
    PLZ NOTE: Table doesn't contain any DATE field.
    Regards

    Hi,
    or else do like this...
    In order to maintain the log changes the main pre reuisite is to checkmark the checkbox in dataelement of table filed.
    To do this...
    goto transaction SE11>enter ur table name>cleck on fields tab>cleick on dataelement->click on Furthercharacterstics tab-->select the checkbox'Change Document'.
    If u dont select dis the u cannot see the log entry of the particuylar field..Do like this for each dataelement for each table field...selecting all the fields is not mandatory..u can choose the table field u want to see the log report..
    Once u done with dat...
    Goto SCDO transaction> click on create>give a name change doc startwith Z or Y only>Follow the prodedure and in-->name of table field>enter u r TABLE NAME->click on individual field checkbox.--->insertentries..
    Once u done with dis..
    Goto SE16->enter CHDIR or CDPOS->press ENTER->enter u r object id>F8
    U can see the new and old value of a table entry.....

  • How to get an count for a fields in fields

    Hai All
    I have created a table and the table contains three fields code,date,time and now i need to count that how many times the time come for a day
    for example in this table is calculated for daily attendance
    Code Date Time
    001 01-02-10 0815
    001 01-02-10 1115
    001 01-02-10 1145
    001 01-02-10 1645
    002 01-02-10 0815
    002 01-02-10 1200
    002 01-02-10 1230
    002 01-02-10 1715
    003 01-02-10 0815
    003 01-02-10 1655
    here the example table is there so now i need to count that no times the time count is there for a day
    for eg code 001 has 4, and 002 has 4 and 003 has 2
    I have tried
    select count(*) as ct,barcode from temp_attendance
    group by barcode
    order by barcode
    Like this and works fine with only barcode field and while we give other fields in group by function and it calculate for each time.
    while i using this in cursor i need to all the variable displayed and i need the count the count that code has
    no of time.
    Thanks & Regards
    Srikkanth.M

    Nikhil seems to be correct
    WITH T AS
      ( SELECT '001' barcode, '01-02-10' bar_date, '0815' Systime FROM dual
        UNION
       SELECT '001' barcode, '01-02-10' bar_date, '1145' Systime FROM dual
        UNION
       SELECT '002' barcode, '01-02-10' bar_date, '0815' Systime FROM dual
    SELECT barcode,systime,
      COUNT(*) over  (partition  by barcode,bar_date order  by  barcode)
      from  t;Thanks and regards
    Sen
    Edited by: Oracle beginner on Feb 18, 2010 2:37 PM

  • How to get the keys for a field in the dropdown list?

    The dropdown list of payment terms on an account is unfortunately very big, containing al lot of different values, in our system and therefore very confusing for the user working with Web UI version 5.2 to pick the right one. The keys (code like e.i Z077 or ZO23) are not stated in the list available for user. Is there any way in the system to flag if the different fields should show boths the keys(codes) and the description of the values in the field as Payment terms, etc.
    In the ERP SAP Gui it is possible to activate if you want the keys should be shown in all drop down list.
    If this is not possible for all the fields at one time, what can be a solution to have the keys in the drop down lists, any suggestion will be very valuable for us.
    Kindly regards
    Camilla

    HI Joost
    No it is not that simple, that is not a solution for us. The fields are maintained i our backend system and replicated to CRM, and these fields descriptions are also printed at Order confirmations and invoices, and we do not want the keys that do not give any meaning  to be visible to customers.
    BR
    Camilla

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

Maybe you are looking for

  • Macports/digiKam - install in ADMIN-account or as USER ?

    Hi, for all my main apps, I want to switch over to open source / cross-platform. With the discontinuation of iPhoto, I think this would be a good moment to do this for my photo app, since one has to switch anyway. I chose digiKam. To install it on a

  • Loading XMF file using Sqlloader In Oracle table

    How do load an XML file that is in the following format? <WorkPermit>TEST01</WorkPermit> <WellSerialNum>123456</WellSerialNum> <Depth>1000.00</Depth>

  • Scrolling of dinamani site in firefox using key board not properly configured?

    scrolling of dinamani site in firefox using key board not properly configured? by using down arrow i am unable to scroll instead it goes to end of page previously ie. about 4-5 months back this problem was not there

  • Error message after install-now iPhoto will not open

    After installing iPhoto, a message asks to upgrade the library. Soon, a message says There is a problem in your iPhoto library folder. In the finder, select the iPhoto Library Folder. Then choose file > Get Info. Make sure you have Read & Write permi

  • Move users from free trial to paid Intune group

    Before the free trial ended I paid for a 10 user subscription. Now that the free trial has ended my users can no longer use Intune from Windows Phone 8 devices. I think the problem is my users are still associated with the free trial licenses instead