PM Order Change logging / OIOE
Hello,
Does anybody know if it is possible to enable change logging for PM orders for the text description field? (KTEXT). I understand that overall, logging is governed by t-code OIOE, however it appears that only certain elements are logged from what I have found. Perhaps I am looking in the wrong place, or perhaps this level of logging is not possible?
Basically, I want to be able to look at a specific order number, and be able to see a log of all changes made to the order including everything from status changes to the data that was changed. Is this possible?
From within the order itself (IW33) looking at the 'Changes' as well as 'Action Log' don't quite tell the entire story.
Anybody have any ideas?
Thanks!
Fricis,
Change document is enabled for the KTEXT field on the order header.Not sure why you arent able to see it on the chnage document log.
OIOE transaction does control capturing of changes for certain elements. The field that these elements contain is governed by the change document structures associated to the objects (Transaction :SCDO. ex: ORDER is the Change document object for PM order and Networks). The data element of the fields associated to the structure inturn control whether changes should be captured or not.For order header short text KTEXT, the data element associated to it AUFTEXTwhich does have the change document activated. You could switch on change document(It will result in a modification ) for fields which arent active for logging changes on tables which are already in the change documnet object.
Custom report is probably your only solution to access all the change documents for the order (Order header, operation, header status, operation status, material status etc) in a single screen.You could probably trying copying the action log logic and expanding on the same for everything you need.
Hope it helps.
Regards
Narasimhan
Similar Messages
-
Sales Orders Change Log question
Hi All,
I am currently working on a project that involves querying SAP Database to get custom reports via web browser, I've made a lot of advances and most of the site is ready but I'm missing just one item that I hope you could help me.
Thing is I am working with the Sales Order change log and the problem comes one a user deletes a row. If I go to the change log inside SAP and see the differences a new record will be shown saying that row X was deleted and
if I go to the database (ADOC and ADO1 tables) I don't have a way to see wich row was deleted.
My way of doing this is to check for the number of rows on the current state of the sales order and check the same on the previous instance of the SO and see if a line was deleted. Then I would have to check row by row between instances what rows are there and what row is missing and store that info. I think this kind of approach will definitively kill the server.
I was wondering if some one can give me a hint about how to approach this problem. Does any body know how SAP works on this area?
I'm working with SAP2005A and SQL Server 2005 Standard Edition.
Any help is greatly appreciated.
Thanks!
Alejandro.-Hola Alejandro,
Thanks for your answer, as I see it I'm doing exactly what you proposed but the problem comes with the following scenarios:
a.- If I post a new SO with two lines I will have on the ADO1 table two records with the values 0 and 1 for each line respectively but if I delete the item on LineNum = 1 and then I add a new item, this last item will be also created with LineNum value = 1. This is not a complicated thing to do but the problem comes when the user is used to work with SOs with several items at detail level and is used to add and erase lines once in a while and as I see it it's very difficult for me to track those specific changes. There's also the fact that on the Log table a new instance is created every time the user hits the update button regardless if a modification was actually made or not. I mean I would know that a line was deleted or added but I would have to start comparing each field on each line of a sales order with it's previous instance to check what was actually added/deleted and I'm afraid that this may affect the server performance. I know that SAP does this without affecting to much the system resources and that is what I'm trying to find.
I forgot the other scenario I was considering he he I will post again as soon as I remember it but I hope I'm explaining this ok (I'm not very good at explaining...) If not let me know and I'll try to explain again.
I'm also working on trying to get another approach to see what comes up...
Thanks for checking this thread, your answers are helpful.
Regards. -
Billing Block removal not updated in the sales order change log
Hi Gurus,
A specific Billing Block is automatically assigned to the sales document header (VBAK-FAKSK) when the net value of the sales order is negative. This is an order related billing.
Sometimes the Billing block is getting released automatically and the Negative Invoice is getting created in the Background job run for creating the invoices. When we check the sales order, the Billing block is not existing and the removal of the billing block is not recorded in the Change Log of the sales order.In the CDHDR table also there are no details about the release of the billing block.
This is happening only occassionally. When I tried to replicate the issue, the system is not allowing me to create the invoice as long as the billing block is there in the sales order and if I remove the block, it is recorded in the sales order change log.
My doubt is.,
1. How the billing block is getting released automatically?
2. Even if the block is released, why it is not recorded in the Change Log of the sales order?
Looking forward your for suggestions and solutions.
Thanks,
RaviHi
Did u check in sales doc. details screen.There u can block for billing. -
Credit status change through Sales order - change log
Hi Friends,
I'm currently facing a scenario were it was reported by the client that
credit release is happening automatically.
Brief details :
Order was created on 4th Of Oct and it was blocked (reaches the VKM1 bucket )
since the customer reaches the credit limit.The same order on 5th Oct was not in VKM1
bucket were the status of order in Sales document header states that it's released.
Initial check : (Sales order change log)
1, I've checked the change log on 5th Oct were the field VBUK - CMGST "Overall status of credit checks changed" from B to A.
(( Status and details below
A - Credit check was executed and document is OK.
B - Credit check was exectued and Document is not OK (credit block).
C - Credit check was executed document not OK, Partial release.
D- Document released by Sales representative. ))
2, I tried to replicate the order status for block and release, But when I release through VKM1 / VKM3
the change logs are getting updated with Status - D .(ie from B to D) .
I'm wondering that what could be the reason that causes the system to update in the table - VBUK - CMGST from A to B
or because of what change from the client in the sales document header level could impact this changes.
Note - There is no payment which received from customer on that day.
Please let me know in case if you are getting the clue...
Thanks in Advance..
- Pugal stalinHi
A simple credit check, as the name suggests, is very simple in nature. The functionality is limited and considers only open A/R items and open items from special G/L and sales orders for performing the credit checks. When you create/change a sales order that is relevant for a simple credit check, SAP calculates the payer/customeru2019s credit exposure by adding the open A/R balance for the customer, open item balances from the special G/L, and the net sales order value. This credit exposure is then compared against the customer credit limit maintained in the customeru2019s credit master. If the credit exposure is greater than the credit limit, the system sets the credit check status as u201Cfailu201D and shows a warning, generates an error message, or performs a delivery block
Regards from Pakistan -
Hi Experts,
Am i right to say that when a new Purchase order is created, there can be no change log?
Am i right to say that not any field change in purchase order will result in change log?
best regards
Pascal>
Pascal Gabin wrote:
> Hi Experts,
>
> Am i right to say that when a new Purchase order is created, there can be no change log?
>
> Am i right to say that not any field change in purchase order will result in change log?
>
> best regards
> Pascal
SAP will not show change log for new created POs, as you can only change what is present in the database.
Any change on defaults done during creation are not logged in the PO change logs.
Are you thinking of a certain field which might not be logged? Changes in long texts will not be logged in detail with old and new value, just general that a change to a text had happened. -
Change WBS in CJ20N - Service Order change log
Hi PS experts
Scenario.
Service order 1 has WBS element A.
User goes into CJ20N and changes the WBS ID/ name to A2.
Service order 1 now automatically has WBS element A2. However, if you look at the change logs on the service order, there isn't one for the allocation of this WBS change. Is there a way of updating the change order log for the service order? When saving in CJ20N it must update the service order through the back door.
Thanks for looking.System stores the WBS element using external and internal numbers. What the user has changed in your case is only the external number and the internal number (which is system generated) would remain the same.
That's the reason the external ID is updated in SO. Don't think you can get his logged in change log of order. Is change document activated for the order type? Even if checked I really doubt if this would be logged using standard.
Let's see other views on this.
Regards
Sreenivas -
How to find workcenter and production order change log
Hi,
I am new to PP function.
Due to problem tracking, I want to know where to find the change logs for
1.Work Center
2.Production Order
Many thanks!
StevenHello Steven,
to view change log for production order:
1. you can go to CO03 at the header functions choose GOTO --- CHANGE MANAGEMENT (here you can see if in the order there where Change process been done to the order)
2. Also in CO03 at the header functions choose HEADER --- STATUS CHANGES (with this you can track the user, system status changes, the action done, date, time, user,transaction happen on the production order.
to view change log for work center:
1. go to CR03 choose EXTRAS --- ADMINISTRATIVE DATA (here you can track the date and who made the changes ans status of the work center)
2. you can also check table CRHD which you can see detailed of the work center you wish to see.
Thanks -
Sales order change log problem
in sales order changes are visible in change log but if I want to enter the reason for those changes how to do it?
Hi,
If I understand you requirement right then you want to customize your system in that way,
For e.g If you are changing the payment term in order then there is some place where you mention why you are changing the payment term in order.
I dont think in change log you will get this facility but I can suggest you another way
Maintain the Text id at header and tell every user that whenever they change something in order then they have to mention the reson in Text (Header).
Anyways as per the change log id, senior manager will ask them directly.
So everybody take it seriouly and enter the reason for every change.
Hope this helps,
Regards,
MT -
Hello,
I would like to know if there is any Standard way in SAP to be able to see the modifications for a production order. I would like to see modifications in quantities or components.
Does anybody knows if it is possible to retrieve that information in a standard way?
ThanksDear
Changes in Production Order can be traced through following ways :
1.Order Change Management :
Frist a Overall profile should be configured in SPRO > PRoduction>Shop Floor Control > Operations>Change Management for Production Orders-->Define Overall Change Profile.
Create a Change Number CC01 with Release Key
In Object Types select/tick "Actv", "object", "MgtRec",
You get the Change Number by Saving .
Use this Change Number to Change BOM or Routings
Then Release the Change Number useing Release Key till then you don't find the Change of BOM in Production Order.
Then go to Oder Change Process T Code :- COCM
Tick Change Number and Select the Change Number & Execute
Select the Production Order, click on Procurement element icon you get another screen select and execute again.
You get an Pop-Up screen. "Determine changes, Check changes, Change Original Order.
you see the changes in BOM for Production Order i.e. after COCM.
Then Confirm the Changes in Production Order then New changes will be Active in production Order.
Use COCM1 to find out the details or CO03--Extra --change
Please check link : http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPSFC/PPSFC.pdf
2.To get the changes in Production Order apply SAP Note 390635.
3 .You can use T.code AUT10 to check the changes made to production orders in specified period.
Regards
JH
Edited by: Jiaul Haque on Nov 28, 2010 2:11 PM -
Create change log on Sales order in exit MV45AFZZ
Hello all,
We use userexit MV45AFZZ (FORM USEREXIT_SAVE_DOCUMENT_PREPARE) to set a reason for rejection. We do this by updating the itab xvbap setting abgru.
This works fine.
Now we want that is visible in the change log of the sales order when this reason for rejection is done. How can I fill the sales order change log in a standard sap way?
I've already found FM "VERKBELEG_WRITE_DOCUMENT" but I don't have a clou if it's the correct one and if it is what do I have to fill?
Any help would be great!
Kind regards,
Patrick KeltjensHi,
If you need to highlight that VBAP-ABGRU was set by userexit and not by the user, you should store this information in an application log (SLG1) programmatically.
At first you have to configure your specific application log via SLG0.
Further info can be found here:
[http://wiki.sdn.sap.com/wiki/display/Snippets/ApplicationLogginginSAPUsing+ABAP]
Regards,
Andrea -
Tcode for Purchase order Changes
Hello Expert
I Know there is one Tcode from which we could find changes happen in Purchase order at item level . Can any one let me know on the same which Tcode.
I know the regular option by selecting the line item Environment->Item changes
thanks
AbhiHi,
You have to develope an own ABAP report for this, based on the change tables CDHDR and CDPOS
CDHDR - Header Change
CDPOS - Item Change
EREV - Version Change
Go to SE11 / SE16 / SE16N, here enter Object value as "PO No" in Table CDHDR and get the Document No and then input this in CDPOS and get the changes details. You can also enter EKKO and EKPO tables and see the whole list.
Check the link
Purchase order change log
SAM
Edited by: Saminathan Gopalan on Jun 3, 2010 12:35 PM
Edited by: Saminathan Gopalan on Jun 3, 2010 12:37 PM -
Production order changes Tracing
dear all,
in the production order how can i find out who make changes like delete materials if there are many people can use co02 , I need to make a tracing to a particular order , is there's any log to do this?
thanks in advance
MiladThere is no std T code available for check the changes made in production order
IF you want you need to activate the OCM or apply the note 390635
please refer below thread
Process Order Change Log history
Re: Production Order Change Management -
How to capture the change logs for the order.
Use CO03 transaction to display the production order.
Click on the i adjacent to the status, use menu path Extras --> Change documents
which will display if the change management is active.
Hope this helps you. -
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,GHi 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 -
Changes to an order through Call Transaction not showing up in change log
I m having a problem such that if I update an order programmatically with Call Transaction u2018VA02u2019, the order does get updated updated but I donu2019t see the changes in the change log. I m only updating the order quantities. However if I update the same order quantities manually by going to TCode VA02. The changes do get shown in the change log from the Environment u2013> Changes menu. Can you please help.
Following is the simple recorded code.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBAK-VBELN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'VBAK-VBELN'
'10655'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=POPO'.
PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RV45A-POSNR'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSI'.
PERFORM bdc_field USING 'RV45A-POSNR' '10'.
PERFORM bdc_field USING 'BDC_CURSOR'
v_rowid.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SICH'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RV45A-KWMENG(01)'.
PERFORM bdc_field USING 'RV45A-KWMENG(01)'
'7'.
PERFORM bdc_dynpro USING 'SAPLSPO2' '0101'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=OPT1'.
CALL TRANSACTION 'VA02'
USING t_bdcdata
MODE 'A'
MESSAGES INTO t_messtab.
COMMIT WORK AND WAIT.
IF sy-subrc NE 0.
ENDIF.Could not find answer
Maybe you are looking for
-
I keep getting error message -42408 when I try to open ITunes Store.I sent a email to support and they sent me a link from Roy B,I tried both of his sugegstions and neither worked.Anyone have any other ideas????
-
Is there a manuscript template for use with pages?
I'm attempting to recreate a manuscript i started with an older version of Word. Is there a template available for download to create and proof a full manuscript?
-
Conditional coloring in table row
Hi, I want to show some table cells highlighted with some colors.for different condition.For example if status is active then show in green otherwise show in red. How can i achieve ?
-
After update mac os 10.9 wifi LOST CONNECTION
After I update the lastest operation system, my air lost connection frequently. Each time I have to manually turn off the Wi-Fi for half minute. Then turn it up and it works again. It has happen for dozens of times. Is there anyway to fix it?
-
PO getting terminated(runtime error) for particular user
Dear all, i have a PO and its driver program,it has a functionality ,that when i execute it thru ME9F,i get a pop-up to save the PO in 1. SAP script format 2. PDF format 3. HTML format when the user selects PDF format RB,it ge