Creating a custom change document for a standard table field
Hi
Is it possible to create a change document for a field in a standard table?
I have searched the forum and only found threads about creating change document to a custom table.
Will the creation of change documents to a standard SAP table be a modification?
Thanks.
Regards
Sowbhagya.L
Yes it will be a modification on standard table, but you can always create change document for any field by assigning it to custom change object.
Regards,
Krishna.
Similar Messages
-
How to create or update 'change document' for crm order
Hi all,
i want to create or update change document records via program . And which method could be used (FM or ...) ?
I find there is a fm 'CRM_ORDER_WRITE_DOCUMENT' . But seems not available?
any good idea ?
BR.Hello
You can refer to FM:CRM_ORDER_CHANGE_DOCS_CREATE. In this FM, the change documents are set.
But I don't recommend to create or change standard change document by your own logic because of view of the internal control. Changing the change document by user own logic has possibility to make the falsification.
Regards,
Masayuki -
Change documents for a Z table
Hi,
We have a Ztable with 4 fields, Due to some business reasons.. . We have given access to users for changing the contents of the table. Now For audit purpose Customer wants to track the changes made to the table. I came know that this can be achieved by using the change documents concept. I am little confused in using this concept. After clicking on the generate update program, system will ask us to give an include name and functiona group. After giving these two system will create include object as <change document object>_write_document. This Include inturn calls some more includes like F<K4>CDC,F<K4>CDT,F<K4>CDF,F<K4>CDV.
Here my questions are
1. Wher do we need to write our owncoding for capturing the changes?
2. is it possible to share the sample code starting from the First Include <changedocument>_Write_Document to ending.
3. Does this change document functionality will be called automoatically when we use Transaction SM30(Table maintainance) for changing the contents of the tables?
4. What is the difference between single case and Multiple case. My scenario falls into single/Multiple?
Awaiiting for all the expert responses
Thanks and Best Regards
Jagadeesh AmbatiHi Srinivas,
you can activate in DDIC that your entry changes will be logged.
Go to SE11 -> Your Tablenname -> CHANGE
Button TechnicalSettings -> Activate checkbox Log data changes.
From now on any chenge will be logged in table DBTABLOG.
Kind Regards
Henner -
Is there a simple way to create a custom item list for a List Picker field?
I have created a List picker field and added it to my customized version of the Incident Management form. I need to populate this List Picker with custom items (Departments) and everything I am reading about how to do that is that I have to write a
bunch on XML code. Is there a relatively simple way to populate a List Picker field with custom entries that does not require me to know scripting or XML?
Thanks in advance for any help
MarkAssuming that you have created a Enumeration picker (i.e.
you used the authoring tool and dragged what it calls a list picker in, and then selected a list that you created in the authoring tool), then you can edit the contents of those Enum Lists using
the Lists view in the Library pane, or by editing the XML as in the last reference.
You might also be interested in the
Bulk Enum creation tool, which automates the process of creating that XML -
Activating change documents for standard tables
Hi all,
Can someone please tell me how I can activate change documents for a standard table.
I created a change document object in SCDO and included the standard table I am working with. This table does not have "LOG DATA CHANGES' enabled in its technical settings. I checked the data element of the field I am interested in and it has "Change Document" enabled.
Is there any way to activate change documents for a std table without writing code to create change documents?
Thanks.Hi,
Check this transaction SCU3, this is to activate the change logs for the tables.
Regards,
Satish -
Custom change document is not tracking changes for SAP tables
Hi gurus,
I have created a custom change document for tables EKBE and KONV. But the change document is not tracking changes in BDCP table for changes in EKBE or KONV.
Please help me out.........HI,
Use this link for change pointers concept.
change pointers
let me know if u have any issue.
~linganna -
How to Create Authorization Group for SAP Standard Tables
All,
I have 10 standard tables which are required to maintain by the user in Production environment.
Is there any way to create a custom auth group for the standard table?
Is it possible to assign same table in two different auth groups?
Please advice
Thanks,
KoteshMultiple tables can be linked to an auth group, but one table can be linked to only one auth group.
You cannot link one table to more than one auth group.
It is always advised to try to find an existing auth group having tables of same functinality and criticality, before creating a new auth group.
In case you don't have any such auth group, I feel you can create a Z auth group using se16->tbrg.
You can also create auth group using tcode se54. -
Dear Experts,
I need to create a customizing change event for LIKP,
but I couldn't find the change document for LIKP.
Did anyone has ever create change doc. for LIKP and
share experience ?
thanks in advance.
MinterDear Ramki,
Thanks for ur first reply.But after I create event
for the object LIEFERUNG, I could not see fields for table LIKP in SWEC.
Regards,
Minter -
Using a change document for Z table maintenance generatro to log changes
Hi Forum,
I have created a a change document for one of the Z tables now I want to use it in the table maintenance generator of this table so that any changes made to this table using maintenance generator are logged in table CDHDR and CDPOS.
I am using the event 02 After saving the data in the database
and have created a new FORM..ENDFORM for this event and it is working fine till here.
But I am unable to find any table or structure where the information of the action performed in maintenance generator is kept for eg. what action was performed like add, delete or change and on how many records and contents of those records.
I can update the tables CDHDR and CDPOS only if I have the above information.
Please guide me as to where can I find all this information within the maintenenace generator program?
Thank you,
AnubhavHello Anubhav,
Are you calling the change document function module in your save event ? The function module needs to be first created using SCDO for your Z table, select the fields on which you want to track the changes. Auto generate the programs for this change object. Once the FM is generated, you will have to call this FM in your SM30 event.
The change document tracking also needs to be enabled at the data element level..
Regards,
Jay -
Change documents for created for Customer Master
An existing program makes changes to the Customer master table KNA1. The changes are made at the table level using the UPDATE command. Since the changes are being made at table level, the change documents are not created.
I need to create IDocs for all changes. So the question is, how to create change documents for changes to the particular fields being UPDATEd in the report program.
I understand that a BDC program on XD01 screen should have been the best way for this, but I'm here to break-fix and trying to identify solutions with least development effort.Hi ganadeep,
When an application makes any changes to an object it wrties change documents which are stored in the table CDHDR and CDPOS for each change made.
BDCP table holds the change pointers which point to the change documents in the CDHDR table.
Regards
Parag -
Need to create a Change document for tracking Purpose on standard table
Hi Experts,
I am updating a field in standard table so need to create a change document for tracking the changes being done on the field.
I created the change Document with transaction SCDO but I am stuck at point - How to call that in the report program to enable the change document.
Please advice.
Thanks!!Hi
U can assign your transaction to Z-report like this:
PARAMETERS: TAB1 RADIOBUTTON GROUP R1 DEFAULT 'X',
TAB2 RADIOBUTTON GROUP R1,
TAB3 RADIOBUTTON GROUP R1.
DATA: TABNAME TYPE TABNAME.
START-OF-SELECTION.
CASE 'X'.
WHEN TAB1. TABNAME = 'BSID'.
WHEN TAB2. TABNAME = 'BSAD'.
WHEN TAB3. TABNAME = 'BKPF'.
ENDCASE.
CALL FUNCTION 'RS_TABLE_LIST_CREATE'
EXPORTING
TABLE_NAME = TABNAME
* ACTION = 'ANZE'
* WITHOUT_SUBMIT = ' '
* GENERATION_FORCED =
* NEW_SEL =
* NO_STRUCTURE_CHECK = ' '
* DATA_EXIT = ' '
* IMPORTING
* PROGNAME =
* TABLES
* SELTAB =
EXCEPTIONS
TABLE_IS_STRUCTURE = 1
TABLE_NOT_EXISTS = 2
DB_NOT_EXISTS = 3
NO_PERMISSION = 4
NO_CHANGE_ALLOWED = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Displaying change documents for custom fields in FPP2
I have added a new subscreen to the Business partner via BUPT. The new fields are on a custom table. I have created change documents for the new fields and all that is working fine - details are being written to CDHDR/CDPOS as expected. In the standard FPP2 transaction the user can select Extras / Partner changes which will display a list of the change documents. This does not include my custom fields.
Does anyone know if it is possible to include my custom field changes in this list? I have searched several forums but cannot find any reference to this.Hi,
Fix a break-point in the following function modules and check whether you are passing custom fields
CHANGEDOCUMENT_SINGLE_CASE
or
CHANGEDOCUMENT_MULTIPLE_CASE
SAP uses the above said function modules to update change documents. Its have two import paratmeters
WORKAREA_OLD
WORKAREA_NEW
or
TABLE_OLD
TABLE_NEW
a® -
I want to trigger a new change object behind the standard tcode . In exit I need to call Y_DEBI_WRITE_DOCUMENT to update my Y_DEBI custom change object . But when I am trying to update Generation prg on SCDO it asks a Table_frame func module ..
Is the custom change document objects are designed for custom tables ?.
Edited by: carlos eduardo on Aug 6, 2008 7:50 AMYes Carlos,
It is desined for Custom Tables.
For more information you can look into the following link:
http://www.sapdevelopment.co.uk/tips/changedoc/cdhome.htm
Regards,
Rizwana -
Generate change documents for characteristic value changes in material master
Hello,
I am currently using material class (class type: 001) and assign some characteristics to material master. I am going to create a query/custom report to track all changes in the characteristic values in that material master. However, I could not find any change document in CDHDR table.
I have activated "Change Docs" parameter in class type 001 customizing as described in SAP note: 65124 Classification Change Documents as follow:
Is it possible to generate change documents for characteristic values in material master?
Regards,
JulianHi Rajen,
Thanks for your reply. It seems that I missed one more step in the customizing. Once the multiple object is activated, I need to activate the change document parameter for each assigned object.
Thread closed.
Regards,
Julian -
Change document for NETWR_AK
Hi,
I thinking activated Change document flag for data element NETWR_AK (Net Value at Sales order header). Now if I change the price of an item or add a line item in a sales order,there is no change document created for it in CDPOS (Obviously the net value of the sales order will change).
I would expect a change document to be created in Table CDPOS every time the Net value of the Sales order is changed.
What is the implication is i mark the change document for this field, because when i try to activate it, it will warn me the dependability of this field to other table and structure which is quiet a lot....Will it jam my CDPOS in future?
Thanks in advance for any help.I need this help because I need to create a SO history log report that captures this netwr value..the current standard in SAP is capture for item line....
Or anyone with a SO history log report smaple also can reply me....
Regards,
Raymond
Maybe you are looking for
-
All pictures/videos ever taken with my iPad are missing
I have the newest version of iPad (purchased in June). Recently my camera app was not working (it's the third time it's happened since I got my iPad) so I reset my iPad without erasing media/content, because that's the only thing I've found that wil
-
URGENT: Need to read file on client side from a 9i form
Hi I have developed a 9i form and I assumed I could use TEXT_IO to read a file on the client side and insert the data into a database table. However, I have just tested the form and discovered that TEXT_IO only looks for files on the application serv
-
Content not loading in Dev app.
Hello, I'm producing our companies first DPS publication, this is the first time I've built an app in DPS, so apologies if I'm missing something obvious. Here's the problem, everything is working fine in Adobe Content Viewer (both the emulator and ap
-
hi, i just got an iphone 5 today and whenever i try to sync it on my computer itunes says it is waiting for changes to be applied, what does that mean??
-
Hi All When i run the following query am getting the below results: SELECT STG_ITS_EMISSIONFACTOR.OPERATION,STG_ITS_EMISSIONFACTOR.SPEED,STG_ITS_EMISSIONFACTOR.VOC,STG_ITS_EMISSIONFACTOR.CO,STG_ITS_EMISSIONFA CTOR.NOX from STG_ITS_EMISSIONFACTOR resu