Finding Deleted operations in a Order
Hi all,
I need a way to find the deleted operations in an order for a smartform. if a operation is deleted in a particular order it should not be printed in the form. What i need is where to find the indicator that the operation in the particular order is deleted. It would be great if anyone can help me with this.
Thank You.
HI all,
I have the same problem in PP smartforms, someone has solved? thanks
Similar Messages
-
Add component and Delete Operation in Process order Using COR2
Hello,
I need to update any process order (Add components in it and delete some operations of it) on the save of the process order.
Transaction for change PO: COR2.
I have found a badi to change in process order (WORKORDER_UPDATE) Method: BEFORE_UPDATE.
But this badi has all the parameters as Importing. Hence we can not change them.
If we use field symbols in this badi to change the values,will it make any other issues?
I have also identified a user exit EXIT_SAPLCOBT_001 but this exit is called very late in the processing, and you cannot change data into that user exit ...check Note (86553 - Documentation on user exits).
Kindly post your valuable comments and answers.
Thanks in advance.
Edited by: Nitin Nyati on Sep 1, 2010 1:09 PMHi ,
Possibility , in C202 , user may have changes the BOM first and re-assign the phase but in process order level Read PP master did not call
Another possibility manually change the process order component and assign this in Phase in COR2 .Please check whether it has been added manually in order level .
Regards
JH -
Table in which deleted operations are stored.
Hi,
We are writing a report and for that i need the value of work hrs , so i would like to know in which table deleted operations of Maintenance order are stored ....
regrds
pmHi,
All the operations time values are found in AFVV, this includes the deleted operations. Also read AFVC for operation number, etc. The key to both these tables is AUFPL field (available in AFKO via order number).
To decide if a particular AFVV record is deleted or not it is necessary to look at the JEST table. JEST can be accessed via Object Number, this has the format OV + AUFPL + APLZL. If the entry with status I0013 is active (no inactive flag) then this operation is deleted.
-Paul -
Make Deletion Status for Operation in Prodcution Order
Hello Experts,
Is there any Function Module or BAPI to make status for Operation as deletion in production order. i.e I0013 is the status for the operation.
Thanks In Adavnce
Dhiraj Dangore.Hello,
Thanks for reply..
Let me explain the process we are following
I have two operations in an order.
Operation 1) Control Key M111(Internally Processed) - One component attached for this operation ( its a not stock item)
PR, PO and GR has been done and no issues in that.
Operation 2) Control key M222( Externally Processed) -
a) One Service attached with this operation which i want to delete from the order.
b) One Component also attached ( non stock item) and PR , PO, GR has been done for same.
For point a : Service is present in PR but not released therefore no PO , GR is done.
Now when i try to delete this serive from the operation then system does not allow me to do so. Also i want to delete from PR too and again i was not able to delete from it.
Please let me know how this can be possible.
Rgds
Himanshu -
Custom exit or badi for changing the user fields in operation of process order
Hi all
I want to find a exit or badi to set default value to the user fields in operation of process order when COR1.
I have tried exit 'PPCO0001', but this exit is call after commit work, so I can not change any thing
I also tried to use badi 'workorder_update', 'before_update', but all parameters in this BADI are importing, can't be changed, I've tried to change it and then program dump.
Do you have any solution for this question?
ThanksDo a Implicit Enhancement at the PBO of this subscreen.
-
Deleting deliveries and sales orders using BAPI
Hello all...I am making some changes to the existing program which uses call transaction to VL02 and VA02 doe deleting deliveries and sales orders. This program is running for ever. So I want to use BAPI BAPI_OUTB_DELIVERY_CHANGE and BAPI_SALESORDER_CHANGE instead of call transaction. I just want to now what values should the input tables contain or please guide where I will find documentation over this. Please give me a little insight how to use these BAPI's in my program.
Thanks,Hello,
I got the following error when tried to execute my program with the BAPI function module.
The field "LT_DELIVERY" specified here has a different
field
type.
I am posting some part of my code here. Please help.
CONSTANTS: c_X TYPE c VALUE 'X'.
DATA: lt_header LIKE bapiobdlvhdrchg OCCURS 0 WITH HEADER LINE,
lt_control LIKE bapiobdlvhdrctrlchg OCCURS 0 WITH HEADER LINE,
lt_delivery LIKE bapiobdlvhdrchg OCCURS 0 WITH HEADER LINE,
lt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
lt_header-deliv_numb = sdel-vbeln.
lt_delivery-deliv_numb = sdel-vbeln.
lt_control-dlv_del = c_X.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
HEADER_DATA = lt_header
HEADER_CONTROL = lt_control
DELIVERY = lt_delivery
TECHN_CONTROL =
TABLES
HEADER_PARTNER =
HEADER_PARTNER_ADDR =
HEADER_DEADLINES =
ITEM_DATA =
ITEM_CONTROL =
ITEM_SERIAL_NO =
SUPPLIER_CONS_DATA =
EXTENSION1 =
EXTENSION2 =
RETURN = lt_return
TOKENREFERENCE =
IF sy-subrc EQ 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
Please suggest how to proceed.
Thanks,
Naren -
Select Statement Blocking Delete Operation
Hi Experts,
In a Single table am trying to do delete operation but it has been blocked by simple select query.
Database setting : Read Committed Snapshot already set to ON for that database.
Any Idea why SELECT blocking DELETE.
FYI : Before Select statement I could noticed the following setting "set transaction isolation level read committed".
Kindly Advise
Regards,
NandhuFYI : Before Select statement I could noticed the following setting "set transaction isolation level read committed".
Hi NandhuJana,
1. Did you read
Uri Dimant's response?
Please try to remove this statement and check again
2. When we ask you for DDL+DML , the idea is to let us the option to (1) reproduce the issue in some cases, (2) get the best information which is the real database structure, queries, etc'. In this case for example I do not see the isolation level statement
in your code and we need it to understand what is happening :-) The order and structure (nested transactions for example) of statements is what important here.
3. you can check your isolet level using one of those options to make sure what is going in your script:
SELECT TRANSACTION_ISOLATION_LEVEL = CASE transaction_isolation_level
WHEN 0 THEN 'Unspecified'
WHEN 1 THEN 'ReadUncommitted'
WHEN 2 THEN 'ReadCommitted'
WHEN 3 THEN 'Repeatable'
WHEN 4 THEN 'Serializable'
WHEN 5 THEN 'Snapshot'
END
FROM sys.dm_exec_sessions
where session_id = @@SPID
GO
DBCC USEROPTIONS WITH NO_INFOMSGS
GO
I hope this is helpful :-)
Ronen Ariely
[Personal Site] [Blog] [Facebook] -
Deleted operation in workorder
Hi
I had deleted operation in the work order after release of work order
How can change the material group in the operation which is deleted
sicne it is not allowing for teco
when the operation was created the material group restiction was not there
but after 2 years we have put the material group restriction
How can I change the material group of that operation which I am able to retrieve in work order
Regards
pratapPratap,
Ideally you may want to change your TECO validations logic to NOT to consider operations with the "DELETION FLAG" set. That should take care of your current issue and future problems of similar nature.
Regards
Narasimhan -
Deleted operation item still appear in IW49N
Hi Gurus,
I create a maintenance order, with operation as below:
0010 Replace Fuel Filter
0020 Replace Dust Filter
But then the first operation item I delete, and I create a new line item, and it become
0020 Replace Dust Filter
0030 Replace Oil Filter
It done and document can be saved.
But while I open the maintenance report using t-code: IW49N, the whole operation item appear
0010 Replace Fuel Filter
0020 Replace Dust Filter
0030 Replace Oil Filter
Why it can happen ? I think, report must only show:
0020 Replace Dust Filter
0030 Replace Oil Filter
Can anyone give me suggestion ?
Thx in advance.hi trick ,
Yes you would be getting all the operations .. but if you dont want deleted one then use the option of status inclusive and status exclusive option like for removing deleted operations from display in status inclusive you can put REL , in exclusive DLT and select outstanding tick mark and check up ..you can also use selection profile for better selection purpose..
regrds
pushpa -
Remaining capacity requirements scheduled for operation in Planned Order
Hi all,
I'm workig with planned orders, and I need the "Remaining capacity requirements scheduled for operation" data to list it in a Z Report, but I don't know how to get it.
You can see the info in the "Detail Scheduling" of the planned order in MD13.
Anyone knows how to get the info? Any table or any FM to get it?
Points will be given for helping
Thanks in advance!Did you ever find out where the planned order capacity information lives? I can find the production capacity information in table KBEZ, but it appears that there is no planned order info there.
Thanks,
Matthew Bruckner -
Impact deletion flag set process order
If i have "Set deletion flag for old process order" after the same any impact in Finance or production side.
ChintanHi,
You should set the deletion flag only for orders:
which are delivered or technically completed
for which variances have been calculated
for which you do not anticipate any further follow-up costs
If follow-up costs must be charged to the object, you can remove the deletion flag (DLFL). Deletion indicators (DLT), however, cannot be withdrawn.
As long as the accounting period is not yet closed, data (such as from results analysis) can still be transferred to Financial Accounting (FI). The FI period should be closed before you can set the deletion indicator (DLT), since no more costs can be settled to FI after that point.
When the orders are deleted, the quantity information on the routing operations is also deleted.
Regards,
Antje -
Set deletion flag on process order.
Hi Friends,
My requirement is i want to set deletion flag on process order.
For this system gives error as
1. System status CRCR is active (ORD 93000112)
2. System status ORRQ is active (ORD 93000112)
Here i have solve the problem number one through transaction code BS22 (i.e. under System status I0241 -CRCR , previously LKZS - Set deletion indicator & LVMS -Mark for deletion was maintain as Forbidd now i have made it under No influence )
after saving this customization system give only error two ( System status ORRQ is active (ORD 93000112)
Same way when i try to find ORRQ but here i havenu2019t found ORRQ.
Could you plz help me.
Best Regards,
Parag Save.Dear,
The system sets this status when you release the order, provided that the Order record required indicator is set in the order type-dependent parameters (see Customizing for Process Order)....
This setting is there in SPRO....
Production Planning for Process Industries - Process Order-Master Data-Order-Define Order type Dependent parameters...
In this you set the option Order record Required....
Requirements are that the process orders are settled, associated PI sheets, inspection lots and any linked purchase orders are complete.
Following are prerequisites for closing a process order
1 The order must have the status Released (REL) or Technically completed (TECO)
2 The order balance must be 0
3 There can be no open purchase requisitions, purchase orders.
4 There can be no future change records from confirmation processes.
.Now Calculate Overheads using Tcode : KGI2 - Individual Processing
CO43 - Collective Processing
Step to be follow,
1.Calculate WIP using Tcode : KKAX - Individual Processing
KKAO - Collective Processing
2.Calculate Variance by using Tcode : KKS2 - Individual Processing
KKS1 - Collective Processing
3.Finally do the settlement of Order in Tcode : KO88 - Individual Processing
CO88 - Collective Processing
Please refer this thread also,
https://forums.sdn.sap.com/click.jspa?searchID=17422319&messageID=5934846
The transaction COA5 (Archive Administration Preprocessing).
This will allow you to set the deletion flag
Hope this helps.
Regards,
R.Brahmankar -
Finding deleted Delivery Reference
Great gurus
Delivery is Sales Order Related. Once Delivery PGI is made . and afterword we Reverse the PGI, Delete the delivery. is there any way we can finde out the Delivery & Sales Order reference ( After deleting delivery ).
Regards\AdnanDear Babu,
No we can't find the Delivery & Sales Order reference After deleting delivery .
I hope this will help you,
Regards,
Murali. -
Database Auditing to record DELETE operation on a schema for all tables.
Hi,
I am using ORACLE DATABASE 11g. I want to apply the AUDIT feature to record all the DELETE operations happening on the schema tables.
I did the following steps but dint got the proper output :-
I logged into the SYS as sysdba user and set
alter system set audit_trail=DB,EXTENDED scope=spfile;then i executed this command to record the sql which will use the DELETE privileges
AUDIT DELETE ANY TABLE;Then i bounced back my DB and for testing purpose i created a table in SCOTT schema and inserted 10 rows in it and then DELETE all the rows from it.
As per expectation i check the view
select * from aud$
where spare1 like '%MACHINE1%'
and USERID='SCOTT'
order by ntimestamp#;The output i got is :-
34 168368 1 1 SCOTT I-DOMAIN\MACHINE1 MACHINE1 100 0 Authenticated by: DATABASE; Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=2565)) MACHINE1 5 21-DEC-11 07.02.58.621000 AM 0 928:5024 0000000000000000 983697018 <CLOB> <CLOB> But here i don't see the SQL generated in the last column.
What i was expecting is that if i fire a DELETE statement in the schema it will get logged here and with the help of this view i will be able to see that which user from which machine executed a DELETE statement and what that statement was?
Please let me know what step i have missed here.
PS:- The ACTION# column shows 100 , is it the code for DELETE action. I also accessed the DBA_AUDIT_TRAIL view but din't found any usefull info their.
Thanks in advance.Try instead:
audit delete table;AUDIT DELETE ANY TABLE is auditing use of DELETE ANY TABLE privilege. -
Hello Experts,
I have an issue regarding process order.
If i add an operation while process order creation then will it get updated in recipe master table PLPO.
Or suggest me an table in which i can find this updated values of operations.
Thank you.
Regards,
Ashish
Moderator message:
Locked. Reason: improper use of capitals in subject line.
Please read rules of engagement before posting.
Edited by: Csaba Szommer on Feb 1, 2012 8:37 AMHI
Check Table S022: SFIS: Order Operation Data for Work Center for order no AUFNR as input.
Regards
Anupam Sharma
Maybe you are looking for
-
Hi all, I am having an issue with the cube data. I am trying to check the data in the cube which has many records loaded in it. While doing a display data , it doesnt show any records on the screen. I am not giving any filter criteria here. I tried t
-
Since i've upgraded to itunes 8.1. im experiencing nothing but problems. i don't know what the apple experts claim that itunes 8.1 does, but is much much slower for me. Allow me to elaborate, i'm using time capsule store all of my music library. I re
-
I have just bought McSudoku and it quits after about a minute every time. How do I correct it or get a refund?
-
Spry validation disables Submit button
Hey, I'm using spry validation on text boxes and dropdown menu's .. for some reason, on certain pages when the form is submitted and validated, if there's a problem with one of the fields, the submit button is disabled and won't enable again. Any ide
-
Under reset subscriber services on the iPad, how do I learn the passcode when I never set one?