Status QM* for a work order from FM: STATUS_READ_MULTI.
Hi All
We are calling the function module
CALL FUNCTION 'STATUS_READ_MULTI'
EXPORTING
client = sy-mandt
only_active = 'X'
all_in_buffer = 'X'
* GET_CHANGE_DOCUMENTS = ' '
* NO_BUFFER_FILL = ' '
TABLES
objnr_tab = gt_objnr
status = gt_status
gt_objnr contains two entries:
OV*1
OV*4. These are operation statuses.
In the gt_status, we are getting a range of values:
1) OR*.I believe these are order status.
2) OV*. This should be operation status.
3) QM*. NOT SURE WHAT ARE THESE STATUSES FOR???
Can anyone please tell me what does QM* statuses stand for.
Thanks in advance.
Harsh
PS: '*' indicates a range of characters.
These statuses stand for the quality notifications which you can check in QM03 tcode.
Nabheet
Similar Messages
-
Values for various work order status
Hi Guys,
In AUFK table(which is the order master data table), there is a field ASTNR, which indicates the order status.
But I couldn't get any values for each status of the orders.
If anyone knows the status and the value for the corresponding status of the order, please let me know.
</b> I specifically want the value of ASTNR, for which the status is Closed </b>.
Points will be awarded for helpful answers...
Thanks and regards,
SP.Hey,
ASTNR is not the field you should be evaluating for your requirement. You should look into the system/user status tables of the work order.
The system status master table is TJ02T and the user status master table is TJ30T. To derive the user statuses assigned to work order you need to know the status profile assigned to the work order type.
The various statuses assigned to a work order in its entire life cycle can be found in the table JEST.
In your case first get the user status code from the TJ30T table and then get all records from JEST for the derived user status code. JEST-OBJNR contains the work order number.
~Kiran -
Purchase and release order not allowed for TECO work orders
Hi
We are typically setting maintenance work orders to TECO once the physical work as been performed as that sets the reference date for showing the history of when the maintenance was performed, and when the maintenance call was completed. However, we have invoices that may come in significantly later than when the physical work was performed.
Once the order is in TECO a purchase or release order (for services against a contract) cannot be created for the work order. Additionally it appears that even if we have a release order,or purchase order, if it is not for the exact amount of the invoice the release or purchase order cannot be ammended - we get the sameerror mssage (BS007) as when creating a new purchase order for the TECO order.
I had wondered about using BS22 to change TECO to continue to allow purchase and release orders when the order is in TECO status.
Any input on pros/cons or other approachs appreciated.
PhilipThanks
That was what I initially thought. However I was informed that if the invoice is not for the originally determined amount that to post the invoice means having to change the PO, and changing the PO appears to hit the same business transaction as creating a PO, and so we get the error mssage.
The issue is that we may know we need to have services estimated at, say, $5.000. But we do not know what the actual final invoice will be. So the actual amount may end up being $4,500 or $5,500 as an example, and it may come ni late from the vendor. The Purchse Order side is not my expertize, but I am being informed that the invoice must match the PO amount, otherwise the PO must be ammended to match. As the order is in TECO, the user cannot amend the PO.
I would be happy to know of other options, or at least good questions to ask. I want the end user to be able to post the invoice against the PO, after the order is in TECO, even it the invoice amount is not exactly the same as what was originally anticipated.
regards
Philip -
Issue during automatic Creation of Work Order from Notification
Hi,
I have a issue during automatic Creation of Work Order from Notification.
BADI implemented: NOTIF_EVENT_POST
BAPI called in BADI: BAPI_ALM_ORDER_MAINTAIN
I am able to create Work Order successfully but after that i need to update notification header with created work order number.
But i am unable to update the same (VIQMEL-AUFNR).
Can anybody provide solution for the same!
Thanks,
Kumar.Hi,
Any inputs on above posted issue!
Thanks in advance.
Thanks,
Kumar. -
Intercompny billing for maintenance work orders
All,
I have two scenarios dealing with intercompany activities for maintenance work orders. The first scenario involves a maintenance work order in Company B doing work on equipment also in Company B. The work order requires labor services and material from Company A. What is the most efficient way to consume the labor and material into the Company B work order? My client requires intercompany billing anytime labor services and/or material crosses into another company. So for this scenario, should I execute a cross-company labor confirmation and material consumption and then, create intercompany invoicing from this activity? Or, should Company B provide a purchase order to Company A for the labor and material and then, Company A executes intercompany billing to facilitate the correct intercompany financial postings?
The second scenario requires a maintenance work order settlement from Company A to Company B. How should the intercompany billing be done for this? Should I settle to the cost object in company B and then do the intercompany billing? Or, should I settle to a sales document (i.e., debit memo) and then execute the intercompany billing?
Pleases advise.
Thanks!Alex,
You should be able to use the List edit transaction iw38 to select and print Multiple Orders simultaneosuly. Once you have selected the orders in the Output screen, use the menu path ORDER > PRINT ORDER.
Regards
Narasimhan -
FM for Uploading Delivery address for Components for PM Work Order (IW31)
Can any one please help me out in finding any Function module or any other method for uploading the Delivery address for Components to SAP system in transaction IW31 for PM Work Order.
Hi
I am using text items (T Text item).Therefore, there will be no checking for those items form a MM prespective.
There is no error appear. The only thing is that i have status MANC (Mat.availability not checked) on my WO
I'm just trying to figure out if status should be removed some how, or if this is the normal behaviour.
Many thanks
Joana -
SAP PM Work Order from SAP SD order
Hi ,
Is that possible to create SAP PM Work Order from SAP SD order in IS - U?
What will be the trigger points for this?
Thanks & Regards,
VEERHello All,
sorry for updating the thread so late.
Actually the issue here was the memory ID. We changed that and the print started coming fine.
Thanks to all who replied,
Amit. -
Lock work orders from custom transaction
Hi,
I have created a custom tcode that has functionality similar to IW32.
I need to implement locking similar to what iw32 implements ( not allowing to open work orders by 2 users at a time.)
Please provide me with sample code, how i can implement the same for my custom tocde.
Is there any possiblity to lock users from opening the work order from iw32 when they have already opened the same in my tcode.
CO_ZF_ORDER_LOCK_MULTI....is this the correct FM to use...Hello Narendra
Function module <b>CO_ZF_ORDER_LOCK_MULTI</b> is the right one for locking. Use similar coding like in routine <b>ORDER_CHANGE</b> (include <b>LCOIHF3G</b>):
*--- Sperren (nicht im Anzeigen) --------------------------------------*
if tc10-trtyp <> y_trtyp_anz.
move-corresponding caufvd to ordt_pre.
if caufvd-prueflos is initial.
ordt_pre-kein_prlos = yx.
endif.
append ordt_pre.
call function 'CO_ZF_ORDER_LOCK_MULTI'
exporting
lock_mode = 'S'
tables
enqueue_tab = ordt_pre
not_locked = ord_pre.
describe table ord_pre lines sy-dbcnt.
if not sy-dbcnt is initial.
Regards
Uwe -
Error while creating work order from purchase order
Dear All,
We are having a subcontracting scenario where we are creating a Work order from PO but getting the below error.
Error - "No master data assigned to partners-locations-product combination."
Done all the setting mentioned in the below thread but the error still persist.
Error in Generating Work order from Purchase Order
Any suggestions on which master data we need to check?
Thanks,
mahesh.Hi Mahesh
In the below transaction
/SCA/MFGCFG - Work Order Configuration
Can you maintain Master data Assigment properly
Valid From
Valid To
Active---Checked
Can you please list what you maintained
Regards
Vinod -
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 -
Purchase Info Record for Frame work Order
Hi Friends,
Do we have Purchase info record for Frame work Order(FO) ?. If yes, Please tell me which info category should i need to select to create a Purchase Info Record.
ThanksHi
Is that means, Framework PO will also use the same standard Purchase info record ?
Thanks -
Internal Order report for PM work order
Hi There Experts,
My question is related to Plant Maintainance (PM) & Internal orders. Is there any standard report in SAP controlling or anywhere else which provides for each Internal Order number the list of Work Orders which have been charged to the Internal order and also if the Work Orders have PO's then a list of POs for each Work order.
A rough picture of the report is as below:
Internal Order Work Order/s PO's
11112222 5673910 4567890
6789155 1122445
22555111 77889933
If anybody could answer this it would really really help me.
Thanks in Advance
JohnHi,
Thanks for your quick replies.
Can we get the report as follows.
1. Total Po's value for the internal Order (through Table EKKN) xxx
Less: Value already posted to Internal order after creation of cost elements (S_alr_87013019) xxx
Less: Total Value to be invoiced (Tcode -ME2N) xxx
Net amount to be posted to Internal Order manually xxx
Is it correct?
Regards
Madhusekhar Gupta G
Edited by: gms gupta on Feb 20, 2012 4:33 PM -
Automating the services for object for a work order
Hi All,
Can anyone post an ABAP code using which we can automate the process of creating a note for a Work order at the time of saving the work order. I need to create a note with the work order at the time of saving it. This note needs to be attached automatically. Can anyone help me with the code to do this?Uhm... If you want us to do your job, how much are you willing to pay?
How is the note "attached"? If it's an attachment using GOS then the code has already been posted on SDN - look it up. You'll need to add it to the work order creation (I'm guessing there should be some kind of BAPI or FM). -
Settlemnt Required For Bulk Work Orders
Hi All,
How to create settlement rule for Bulk Work Orders?
Is there Any T-code is there
or using LsmwSettlement rule can be created during Order release or TECO. By defining Settlement Profile, Allocation Structure with Default Object, appropriate details in Equipment / Functional Location Master data, will do the trick.
Order release or TECO can be done in mass in IW38.
If you have any other settlement rule different than these settings, then you should use LSMW. -
Termination error while creating and saving Work Order from a Notification
Hi All,
While creating Work Order from a Maintenance Notification, we get a error message "Update Termination OPROL Initial Number". This happens even while creating Maintenance Notification & Work Order separately and assigning the Notification in the Objects tab of the Order subsequently.
Could any body please help in this issue.
Thanks,
SSHi Sourabh,
Please check the link:
Express Document Update terminated while Scheduling Preventive single Plan
it will help you, it is actually the Number range issue.
Regards,
Yawar Khan
Maybe you are looking for
-
How can i use iweb to work on both of my .mac accounts?
I have 2 seprate .mac accounts, one is for my personal, other is more work based. How can I create on both with the same computer? I have created a different user on my mac, and then logged in on that name , which has worked, however I would like to
-
Adobe reader and the video card
We are experiencing an issue on a couple of PC's with a pdf created in Adobe Pro 9. It appears that when the PDF is opened the video graphics card is affected. Colors and images do not display properly. The only resolve is to remove the PDF document
-
Hello Freinds, Could you please help me out for the below issue. My client requires document no to be appear in the transaction SP01. Say for ex: currently if we use tcode SP01 we get the fields like, Spool no, Type, user name, Date, Time, status etc
-
Clarification on IDOC flow from XI to R/3 system
Hi After successful syndication it will create XML which will be taken by XI and push to R/3 system. If am facing some issues in R/3 Inbound IDOC processing, how do I track the same in XI ? or is there any alternate kindly advice. thanks in adv Ale
-
Select tables filed name by using global variables
Hi I try to redesign a BODI jobs for monthly statistics. At the moment, I have a job for every month because in the source system (MS Axapta) the source table have the following design: YEAR JAN FEB MARCH ... 2010 100 231 2