Revision updation on work orders
Dear All,
I want to know that there is any way to update the dates on work orders which is holding revision value.
user input a revision into work order
user changes the dates on the revision.
if user want to apply the changed date values, then user must change the work order by manual, need to input the same revision number once again.
our customer want to apply the changed values automatically or by mass.
please advise me and thanks for your help in advance.
Best Regards,
Hi CHOI JIHOON,
As per suggested by Pete, for Single order you may process it going to iw32 --> Order --> Revision--> Refresh Dates.
If you want to do it in Mass you may:
1. go to IW38, give your selection (Revision in particular) for displaying the list of orders,
2. Select all the orders whose dates you wish to refresh,
3. Go to Order --> Revision --> Refresh Dates your order dates will be refreshed.
(For Mass you may use IW37N also as suggested by Pete but, that will give you list of Operations together with order).
Hope this helps.
Chin2.
Similar Messages
-
Work Center update during work order save (SAP PM) using exit IWO10009
Hi All,
I am updating the work center in the operation record of a work order using exit IWO1009. In the debug, the internal table for operation is updated successfully. But once the processing is done and I see the order though t-code IW33, I couldn't see the updated workcenter. And surprisingly, plant field which I am updating with work center, is getting updated in the operation and I can see this in IW33.
Pls help.
Thanks,
BhaskarHere is the code:
REFRESH : lt_afvgd.
Getting Operation details
CALL FUNCTION 'CO_BO_OPR_OF_ORDER_GET'
EXPORTING
aufnr_imp = caufvd_imp-aufnr
TABLES
afvgd_get = lt_afvgd.
IF caufvd_imp-AUART = lc_auart1 or caufvd_imp-AUART = lc_auart2 .
Determination of Work Centre for Operation Relevent To PTE Eng.
CLEAR : ls_afvgd.
READ TABLE lt_afvgd INTO ls_afvgd WITH KEY usr00 = 'PTE'.
IF sy-subrc eq 0.
ls_afvgd-arbpl = caufvd_imp-VAPLZ.
ls_afvgd-WERKS = caufvd_imp-VAWRK.
MODIFY lt_afvgd FROM ls_afvgd TRANSPORTING arbpl WERKS WHERE usr00 = 'PTE'.
ENDIF.
endif.
**-- Updating operations buffer
CALL FUNCTION 'CO_BO_UPDATE_OPR_OF_ORDER'
TABLES
afvgd_upd = lt_afvgd. -
Unable to Update EAM Work Order
Hi Team,
I want to update the attribute columns of EAM Work Order. The eam_work_orders_v.attribute10 has to be updated with a quote number that is generated from order management. I tried using the following api
set serveroutput on;
Declare
l_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
l_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
l_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
l_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
l_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
l_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
l_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
l_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
l_out_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
l_out_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
l_out_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
l_out_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
l_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
x_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
x_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
x_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
x_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
x_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
x_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
x_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
x_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
x_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
X_status VARCHAR2(4000);
X_msg_cnt NUMBER;
X_msg_data VARCHAR2(4000);
Begin
fnd_global.apps_initialize (user_id => 27789,
resp_id => 23119,
resp_appl_id => 426
COMMIT;
l_eam_wo_rec := null; Record Group need to be initialized at the beginning
l_eam_wo_rec.WIP_ENTITY_NAME := '665443';
l_eam_wo_rec.organization_id := 12384;
l_eam_wo_rec.attribute10 := '2112000245';
l_eam_wo_rec.NOTIFICATION_REQUIRED := NULL;
l_eam_wo_rec.TRANSACTION_TYPE := '2';
l_eam_wo_rec.ASSET_NUMBER := '11234';
l_eam_wo_rec.ASSET_GROUP_ID := 481810;
l_eam_wo_rec.SCHEDULED_START_DATE := sysdate;
l_eam_wo_rec.SCHEDULED_COMPLETION_DATE := SYSDATE;
l_eam_wo_rec.STATUS_TYPE := wip_constants.released; -'Unreleased';
l_eam_wo_rec.OWNING_DEPARTMENT := 6003;
l_eam_wo_rec.PRIORITY := 10 ;
l_eam_wo_rec.SHUTDOWN_TYPE := null;
l_eam_wo_rec.class_code := 'WS0';
--l_eam_wo_rec.material_issue_by_mo := 'N';
--l_eam_wo_rec.issue_zero_cost_flag := 'Y';
--l_eam_wo_rec.po_creation_time := 1;
--l_eam_wo_rec.job_quantity := 1;
--l_eam_wo_rec.notification_required := 'N';
/* Additional Parameters to be passed Start */
l_eam_wo_rec.ACTIVITY_TYPE := 1; --It should be the lookup code value for the activity_type
l_eam_wo_rec.maintenance_object_source := 1;
l_eam_wo_rec.maintenance_object_type := 3;
l_eam_wo_rec.maintenance_object_id := 26005;
l_eam_wo_rec.requested_start_date := SYSDATE;
l_eam_wo_rec.job_quantity := 1;
l_eam_wo_rec.wip_supply_type := null;
/* Additional Parameters to be passed End */
apps.EAM_PROCESS_WO_PUB.PROCESS_WO
( p_bo_identifier => 'EAM'
, p_api_version_number =>1.0
, p_init_msg_list =>TRUE
, p_commit => 'Y'
, p_eam_wo_rec =>l_eam_wo_rec
, p_eam_op_tbl =>l_eam_op_tbl
, p_eam_op_network_tbl =>l_eam_op_network_tbl
, p_eam_res_tbl =>l_eam_res_tbl
, p_eam_res_inst_tbl =>l_eam_res_inst_tbl
, p_eam_sub_res_tbl =>l_eam_sub_res_tbl
, p_eam_res_usage_tbl =>l_eam_res_usage_tbl
, p_eam_mat_req_tbl =>l_eam_mat_req_tbl
, p_eam_direct_items_tbl => l_out_eam_direct_items_tbl
, x_eam_wo_rec =>x_eam_wo_rec
, x_eam_op_tbl =>x_eam_op_tbl
, x_eam_op_network_tbl =>x_eam_op_network_tbl
, x_eam_res_tbl =>x_eam_res_tbl
, x_eam_res_inst_tbl =>x_eam_res_inst_tbl
, x_eam_sub_res_tbl =>x_eam_sub_res_tbl
, x_eam_res_usage_tbl =>x_eam_res_usage_tbl
, x_eam_mat_req_tbl =>x_eam_mat_req_tbl
, x_eam_direct_items_tbl => x_eam_direct_items_tbl
, x_return_status =>X_status
, x_msg_count =>X_msg_cnt
, p_debug =>'Y'
, p_output_dir => '/user/temp'
, p_debug_filename =>'Amit_6_EAM_WO_DEBUG2.log'
, p_debug_file_mode => 'a'
commit;
DBMS_OUTPUT.PUT_LINE('Status : '||X_status);
IF X_msg_cnt > 0 THEN
DBMS_OUTPUT.PUT_LINE('Error Occurred in WO Creation : '|| X_msg_cnt||' : '||SQLERRM||' : '||SQLCODE);
END IF;
DBMS_OUTPUT.PUT_LINE('First record inserted.......');
END;
The Result:
anonymous block completed
Status : E
Error Occurred in WO Creation : 3 : ORA-0000: normal, successful completion : 0
First record inserted.......
Can i know if missed something over here??
Thanks
MohanHi,
If you have a maintenance BOM and Routing for the activity in use for your work order
The work order created will get the data defaulted from those BOM and Routing ie operations , BOM and Routing.
Please check whether you have the BOM and routing and also please compare the BOM and routing information with the information you are adding.
Also make sure that you are passing all the mandatory inputs.
thanks
Krishna -
How to update PM work Order Tasklist
Hi all , hoping i can get some help on this one.
We have release a pm workorder and then updated the tasklist.
What i would like to know is how to get the updated tasklist to appear and already released pm order.
This would be similisr to re-exploding a BOM in PP.
Thanks for all your helpThere's no standard way of doing this other than deleting the operations and re-importing the relevant task list
PeteA -
BAPI/FM Help Needed for PM Work Order Update and Notification create
Hi,
I am using BAPI - BAPI_ALM_ORDER_MAINTAIN to update the work order details and create notifications for the object list but i am getting errors in doing that.
IWO_BAPI 203 -Changing the execution factor in the BAPI is not supported
And i have to create notifications to each object in the object list. This BAPI is not supporting that.
So i used another BAPI BAPI_ALM_NOTIF_CREATE to create notification and passed the order number , counter etc to it but in the order it is creating a new row for that equipment and linking the notification to it.
Need some help on these.Dear
1. If you want a Notification mandatory to be created for Order using IW31 you can once make this happen by User Status in Order , i would suggest if you are doing implementation better Use Order Types which has got Notification integrated in it .
Check Order type PM05 in Ideas server you have PM05 Order with notification fields integrated , which created notification in Background when order is Created or released.
2.For Work Order B --> Notification A , Not Allowing I donot have any idea check whether is there any User exit from experts or ask ur Abaper
Regards,
Edited by: Srinivas Narayana Gowda on Jun 11, 2009 1:10 PM -
Resetting the "DO not Execute " in closed work orders.
Hi Guys,
I have a scenario where I have to open old and closed work orders to make some changes and then save it. I am facing problem wit some work orders which were closed by using the "do not Execute" option, is there a way to reverse it so that I can update the work orders and then closed them again?
Thanks and regards
Anoop SharmaReference [Thread|changing of system status do not execute]
-S.N -
DI: Completing a work order
Hi,
I've got a problem after upgrading from SDK 6.2 to SDK 6.5 with setting the status of a work order (WorkOrders-Object):
Function SetWorkOrderComplete(ByVal woCode as Long, ByRef ErrMsg as String)
Dim WO As SAPbobsCOM.WorkOrders, rc as Long, success as Boolean
success = False
On Error GoTo ex
' get the workorder object from current company
Set WO = vComp.GetBusinessObject(oWorkOrders)
If Not WO.GetByKey(woCode) Then
ErrMsg = "No work order document found with number = " & Format(woNumber)
GoTo ex
End If
' set the work order = completed
WO.Status = wk_ProductComplete
' update the work order => this fails in most cases!
rc = WO.Update
If rc <> 0 Then
' retrieve the error message
Call vComp.GetLastError(rc, ErrMsg)
Goto ex
End if
' coming by at this point, everything is ok
success = True
ex:
SetWorkOrderComplete = success
End Function
For materials (bill of materials), which are provided with serial numbers, we got the following error:
"[OIBT] , 'The selected quantity of serial/batch numbers is greater than the quantity in row Id'"
The table OIBT belongs to batch-numbering, but out material is marked for serial-numbering!
Anyone who knows the problem or a solution?
Thanks a lot!We tried the same process in the SBO-GUI, there it works fine. Since I have started this posting, the problem was escalated to the SAP Development, they confirmed this problem as a known bug and will correct it.
Thank you for your reply. -
Work Order based Purchase Requisition
Hello,
We currently create purchase requisitions from work orders in our SAP system today. The issue we face is can we add additional lines to these purchase requisitions without updating the work order.
We want to add the new line in the purchase requisition directly from transaction ME52N.Hi All,
I have a situation in which i have to populate values for the fields in the 'custom data' tab in Purchase Requisition. But here I am not creating Purchase Requisition, instead when a Work Order(Plant Maintenance related) is created, Purchase Requisition automatically gets created. So, i want an exit which relates Work order with Purchase Requistion so that i could populate values to the fields in the 'Custom data' tab when i save the Work Order. -
Work Order Confirmation -Zero Hours is allowed !
Dear Experts,
Can any one update, why work order confirmation is allowing Zero hours in IW41 transaction. Is there any significance for booking zero confirmation hours as SAP standard is allowing.
We need to restrict the same, is there any way to restrict without ABAP Team help.
Regards,
SahuReasons for allowing '0' hours can be like if some does not want to account for a particular job. Possible some technical constraints were there while developing. As far as How to restrict is concerned, I do not see options other than using user-exit CONFPM05. This is because even if you set this field mandatory (Actual Work AFRUD-ISMNW_2) in Tcode OIZN, it does not prevent confirmation with Zero value. You can also try by setting this fields as Req. in this SPRO tcode.
KJogeswaraRao -
Multiple 261 movements allowed over required qty in work order
Does anyone know why 2, 261 movements can be performed for the same components in a work order using MIGO? The transactions were performed within 2 seconds apart. Is it possible that SAP didnt update the work order within those 2 seconds?
I have tried to duplicate this issue and I keep getting the correct message that I cannot perform over the required qty.It has to do with the configuration setting for the order type, verifty
confirmation parameters for the given order type (at the header level)
Under checks tab(Tcode: OPK4), it should be maintained as
" Error when overdelivery tolerance is not checked"
If you maintain the above setting, he system would not allow you to do excess Goods Issue (mvt type 261) for the given work order
Please come back if you have further ?s
Edited by: Eshwer . on Jan 24, 2009 4:42 PM -
How to update Serial Number from Work Order to Sales order in MTO flow
Helo Experts,
I have a requirement to update automatically the Serial number in Make to Order flow, from the Work order to the sales order and then to delivery.
In fact the flow is the following, when raising the sales order we don't know the SN, it will create a Work order with stock type E, when work order is released a Serial Number is assigned to the material created. After Goods receipt of WO, We need to have the SN updated in the sales order and then in the delivery.
I tried with the parameters of Serial number profile, i was not able to update from WO to Sales Order.
DO you have any idea how this requirement could be fullfiled? is it possible in standard?
ThanksI don't think that it is possible in standard.
-
No phone service; Trying to update information in repair work order
The only thing on this website that works is posting this forum and reading my bill. I have no phone service since last week and opened a repair work order. I am now trying to check status and update my contact # in that request. I had to buy a cheap prepaid phone at Best Buy so we had phone service at home and would like to provide that number in the work order. All I get when trying to check status of repair is a gateway error as the proxy server cannot communicate upstream. So if a Verizon tech reads this forum please send me an email so I know what is going on. I do not have enough minutes on my pre paid phone to stay on hold for hours trying to get through to a human. I tried that all week using a phone at work.
Your issue has been escalated to a Verizon agent. Please go to your profile page for the forum, and look in the middle, right at the top where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
Under “My Support Cases” you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis as the agent may be waiting for information from you before they can proceed with any actions. Please keep all correspondence regarding your issue in the private support portal.
If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer that solved your issue as the accepted solution. -
BADI for Updating work order component data
Hi,
I need to update the field special stock indicator for the work order component data when it is saved. I am using the BADI WORKORDER_UPDATE for the same, but when I implemented the ZWORKORDER_UPDATE_IM using the standard defenition WORKORDER_UPDATE , the code does not allow me to change the it_component internal table belonging to the BEFORE_UPDATE method. Could you please help me in this.
Basically if we are implementing a standard defenition how to change the parameters of the methods in it.
Regards,
Prabaharan.GHi ,
It is giving the below dump. The parameter is importing parameter and it does not allow to change even using field symbol. Is there any other way. Is there an user exit which will be called when pressing enter button in component screen. The exit EXIT_SAPLCOBT_001 did not work for this.
Error analysis
The program tried to assign a new value to the field "<F_FS1>" even though
it is protected against changes.
The following objects are protected:
- Character or numeric literals
- Constants (CONSTANTS)
- Parameters of the category IMPORTING REFERENCE for functions
and methods
- Untyped field symbols to which a field has not yet been assigned
using ASSIGN
- TABLES parameters if the corresponding actual parameter is protected
against changes
- USING reference parameters and CHANGING parameters for FORMs if
the actual parameter for this is protected against changes
Regards,
Prabaharan.G -
Revised Price Updation in Sales Order
Hi Gurus,
I have 1000 Open Sales order to update revised price (Sales Orders created with backdated ).
I have updated all Sales Orders pricing date with revised pricing date(using MASS tcode MASSSDHEAD_S-PRSDT) and all Sales orders revised pricing date is updated.
After i ran the VA05 and selected my desired Sales Orders and EDIT->Mass Change->New Pricing.
After this activity, system deleted old basic price in Sales order and nothing is updated.
Can you please suggest me how to update.
Regards
SKIn program MV75AF01_OKCODE_MPRF, field SY-UCOMM must be saved.
Please refer following SAP Note for further details:
- Note 189121 - Mass change new pricing does not function
Regards
JP -
Work Order - Update special stock indicator in components tab
Hi ,
The requirement is to update the special stock indicator in the components tab of work order based on material number. I tried using the BADI Workorder_update but there was no changing parameter in it and hence it did not work, I also tried using the field symbol option to explicitly change the value but that too failed since it went to short dump prompting that a protected field is being changed.
I am thinking of calling a custom function module at last and updating the value, but for the orders which are being created newly the BADI / user exits contains the temporary number . How could I get the Order number and update the indicator for those orders.
Regards,
Prabaharan.GI used the EXIT_SAPLCOMK_014 to accomplish this.
Regards,
Prabaharan.G
Maybe you are looking for
-
How do you make the creative cloud actually load?
On the task bar for Mac, when I click on the Adobe Creative Cloud icon, it pulls up. But it never actually loads. How do I fix this?
-
Windows USB Stick will not show up as a bootable volume
I've been doing a ton of research on this and just can't seem to get it to work. I recently bought a mac mini, the 2011 version with the Radeon video card. I want to dual boot the machine using bootcamp and I have a windows 7 iso image. I bought a
-
Nano 2nd. Gen. on PC AND MAC
I have the Mac at home and have to work on a PC for work, can the 2nd gen nano run on both at the same time? I know I can format the nano to work for a PC, but will I have to format it again to work at home on the mac and reload everything? And is th
-
Adobe Flashplayer 12 creates problem with Kaltura setting access
After installing Flashplayer 12 I have the following screen: problem with Kaltura 'can't access settings' (Have screen shot but cannot paste it here ...) <pre><nowiki> Looks like: Captions Settings FONT SIZE Stroke ON Background OFF SAVE CANCEL *****
-
DRF1 Save as draft -- Throws an error
Hi, We have the following situation: 2005PL16. We duplicate a transfer stock operation and then try to save it as draft. When doing that the following error appears: "Another user-modified table DRF1 (ODBC 2039)" No one more was working, but only one