How to know the status of workflow?
Hi all,
When i create a Sales order in VA01 my workflow should get triggered.
When the workflow status is 'In progress' the user should not be allowed to change the sales order that was created.
How to do this and in which table can i get the status of a particular workflow.
Regards,
Gautham P
Don't check any tables. The tables have changed between versions.
Use two of the function modules from the workflow API instead.
1) SAP_WAPI_WORKITEMS_TO_OBJECT to find the work items in which the object (your sales order BOR object) is used.
2) SAP_WAPI_GET_WORKITEM_DETAIL to find work item status and more.
Similar Messages
-
How to know the status of concurrent program from back-end in oracle apps
Hi,
Can you please explain me step by step how to know the status of the concurrent program from back end in oracle apps.
Thanks,
RajWhen a record is being updated by a form, if you create a Pre-Update trigger on the block, the trigger will run for each record being updated.
Same thing happens with a Pre-Insert and Pre-Delete trigger. -
How to know the status of stream played using NetStream.Play method ?
I am playing stream data published by third party server
similar to FCS by creating NetStream object and calling Play method
on it. Now the problem is, sometimes I am not able to view the
published stream by playing it using Play method. Also it does not
call OnStatus method of NetSteam. How can I know the status(or
result) of Play method ?
Note: NetConnection gets created successfully. I get status
of NetStream.Play.Start / Stop when I put local flv as a first
parameter to Play methodHi
There are SQL reports in the following zip which has SQLDeveloper reports for runtime objects such as mappings and process flows;
http://www.oracle.com/technology/products/warehouse/htdocs/Experts/owb_sqldeveloper.zip
Cheers
David -
JSms 2.1.6:- how to know the status of message sent through GsmSmsService
hi,
i am using jSms 2.1.6
can any one help in knowing the status of the messege which i sent through GsmSmsService,
wheather messege reached the destination or not
is there any way to know this
please it is urgent
nalinI need jsms 2.1.6 package.
could you send that file? -
How to get the status of workflow
Hi all,
Please help me with a query to get the status of a worflow. For Eg: The close order line wf has fired for a particular order line in Oracle Apps (item type = OEOL). I just want to find the status of this using a query. Any hints will be very helpful.
thank you.Look in the ORABPEL database schema. There you will see a lot of tables related to workflow.
Marc -
How to know the status of equipment on a particular date
hi experts,
when we go to IE02 t.code there is a field showing the status of the equipment on particular date( Valid from and valid to ). If it is assigned to a particular functional location its status is displayed INST and its not assined its AVBL . Can i know from which table i can get the status of the equipment on particular date.hi expert,
I could not get the status whether it is AVLB or INST from those table, i could see who has changed it.Could you be a bit clear regarding it -
How to determine the status of Maintenance Order while working in workflow
Hello Experts,
I am working on a workflow to release production related maintenance order.In this workflow I need to determine the status of the Maintenance Order (BOR object BUS2007) whether it has been released or not.I am trying to do this by condition step type.I can't understand which field of BUS2007 object I need to check to know the status of the maintenance order.
Can somebody help please?
Regards,
ManasHi,
Have you not getting any value in Status Profile attribute.
For new attribute u need to write coding, getting the value of that released field.
First, u need to implement by going to Edit->Change Release Status ->To implemented.
Then check your BO and generate it. If any error occurs in Menu bar Goto->Error List and see what is the error.
After generation of your BO, test your BO.
If test works fine, then Delegate with the standard BO.
To delegate, u need to be in initial screen of SWO1 and goto Settings->Delegate. Give Super type as Std BO and delegate type as your custom BO and use the Std BO in your workflow. -
Tables to know the status of the workflow
Hi,
I am using a standard workflow for aproval of Appropriation Requests (App. Req.)
We have 5 approvals(persons) in the heiarachy.
I want to know the status of a App. Req.
i.e which persons are approved
at which person it is pending
or whether it is approved by all the 5 persons
In which table I get this information ois there any Function module to get this info?
Plz reply
ThanksHi Narendra,
You can check the following tables..:-)
SWW_OUTBOX Lists Workflows in outbox together with status
SWW_CONT Container Contents for Work Item Data Container
SWW_CONTOB "Container Cont. for Work Item Data Container
(Only Objects)"
SWWLOGHIST History of a work item
SWWORGTASK Assignment of WIs to Org.Units and Tasks
SWWUSERWI Current Work Items Assigned to a User
SWWWIHEAD Header Table for all Work Item Types
Regards,
Kanika -
Workflwow query to know the status of the PO, Action, performed by
can any one help me to get the workflow query to know the status of the PO, Action, performed by. or the table which can show the Action, Performed by.
please help me with action history table
Edited by: user11309801 on Jun 20, 2010 1:13 AMNot sure what workflow has to do with PO action history, but pl see if MOS Doc 394787.1 (How to Tell What had been Changed and Who had Made the Changes to a Purchase Order?) can help.
HTH
Srini -
Hi Team,
R12 Instance :
Oracle Installed Base Agent User Responsibility --> Item Instances -->
Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
In the above page there are two table regions.
Notes.
-------------------------------------Table Region---------------------------
Attachments
-------------------------------------Table Region---------------------------
--the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
I want to know what are the document types are displayed in this page ?
--We developed a custom program to attach the attachments to the services contracts and the above seeded OAF page displays those ..as needed.
But after recent changes..the Attachments--> table region is not showing the attachments.
I have verified the query..and could not find any clue in that..
but i need some help if you guys can provide..
SELECT *
FROM
*(SELECT d.DOCUMENT_ID,*
d.DATATYPE_ID,
d.DATATYPE_NAME,
d.DESCRIPTION,
DECODE(d.FILE_NAME, NULL,
*(SELECT message_text*
FROM fnd_new_messages
WHERE message_name = 'FND_UNDEFINED'
AND application_id = 0
AND language_code = userenv('LANG')
*), d.FILE_NAME)FileName,*
d.MEDIA_ID,
d.CATEGORY_ID,
d.DM_NODE,
d.DM_FOLDER_PATH,
d.DM_TYPE,
d.DM_DOCUMENT_ID,
d.DM_VERSION_NUMBER,
ad.ATTACHED_DOCUMENT_ID,
ad.ENTITY_NAME,
ad.PK1_VALUE,
ad.PK2_VALUE,
ad.PK3_VALUE,
ad.PK4_VALUE,
ad.PK5_VALUE,
d.usage_type,
d.security_type,
d.security_id,
ad.category_id attachment_catgeory_id,
ad.status,
d.storage_type,
d.image_type,
d.START_DATE_ACTIVE,
d.END_DATE_ACTIVE,
d.REQUEST_ID,
d.PROGRAM_APPLICATION_ID,
d.PROGRAM_ID,
d.category_description,
d.publish_flag,
DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
d.URL,
d.TITLE
FROM FND_DOCUMENTS_VL d,
FND_ATTACHED_DOCUMENTS ad
WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
*) QRSLT*
WHERE ((entity_name ='OKC_K_HEADERS_V'-- :1
AND pk1_value IN ( 600144,599046) --:2
AND category_id_query IN (1, :3, :4, :5, :6, :7) )
AND datatype_id IN (6,2,1,5)
AND (SECURITY_TYPE =4
OR PUBLISH_FLAG ='Y')))
--='000180931' -- 'ADP118'
The above seeded query is the one which is used for table region to retrieve the data..
how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
--SridharHi Patricia,
is it working for restricted key figure and calculated key figure ??
Note Number Fisc Period Opening Days
1 1 2
2 1 3
3 1 0
because I have other restriction, so I create two restricted key figure..
RK1 with restriction : Total Number of Note,
RK2 with restriction : Total Opening Days ,
then I Created a calculated key figure, average opening days in a period
CK1 = RK2 / RK1..
in this case, I am not sure if it will work or not..
for example, during RK2 calclation, it might be this 2+3 = 5, the line with 0 will be ignored..
during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
could you please confirm.. -
How to change the status of a production order
Dear All,
May i know how to change the status of a production order.I want to de-active the status like OPGN (Operation generated).This status is updated as there was no routing assigned to that particular production order during its creation
Thanks and Regards,
Varun SiddharthDear,
When you create a production order, an operation created by the system is generated automatically if no routing is used for the creation. As a result the order header receives the status HOGAN; the operation created automatically also has this status.
If you delete the operation created automatically and then do not have the status HOGAN.
To avoid this maintain the Routing for the material or delete the setting of default operation from OPJG.
Regards,
R.Brahmankar -
How to change the status of updated record?
Hi All,
how to change the status of updated record?
new record should be active version(X) and old version will be deleted.
Plz suggest..
Thanks in advance...Steve,
In the actual question, you mentioned that the old record needs to be deleted and hence the solution provided.
Now, you are talking about field. May I know which field are you talking about??
Jst get in to ABAP Editor and try debugging the code with the solution provided and let us know if that is working fine or not.
Also, I recommend you to take a look at the transaction ABAPDOCU. There you wil find hell lot of examples explaining all the scenarios. You will get a good idea .
Please check that and try to implement it yourself. You will be able to make it after doing mistakes.
If you stuck up again after many attempts, paste your code here. We will help you out
Hope you got my concern.
Thanks,
Babu Kilari -
How to change the status of test cases in Test Plan from Design to Ready using Excel VBA
HI,
How to change the status of test cases in Test Plan from Design to Ready using Excel VBAThanks Florin,
Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
Points have been rewarded for your help.
Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
Note: The Exit will be executed if "exit_cancelled" statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
Please check the link for adding the code in Work Item Exits.
http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
Please find the Code:
method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
Get the context of the workitem
me->wi_context = im_workitem_context.
After execution of the workitem call the method AFTER_EXECUTION
if im_event_name eq swrco_event_after_execution.
me->after_execution( ).
endif.
endmethod.
METHOD AFTER_EXECUTION.
This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
DATA: LCL_L_WID TYPE SWW_WIID,
L_STATUS TYPE SWR_WISTAT-STATUS,
L_NEW_STATUS TYPE SWR_WISTAT,
L_SWR_MESSAG TYPE STANDARD TABLE OF SWR_MESSAG,
L_SWR_MSTRUC TYPE STANDARD TABLE OF SWR_MSTRUC.
Get work item
CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
RECEIVING
RE_WORKITEM = LCL_L_WID.
L_STATUS = 'READY'.
CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
EXPORTING
WORKITEM_ID = LCL_L_WID
STATUS = L_STATUS
USER = SY-UNAME
LANGUAGE = SY-LANGU
DO_COMMIT = 'X'
IMPORTING
NEW_STATUS = L_NEW_STATUS
RETURN_CODE = SY-SUBRC
TABLES
MESSAGE_LINES = L_SWR_MESSAG
MESSAGE_STRUCT = L_SWR_MSTRUC.
IF SY-SUBRC EQ 0.
ENDIF.
ENDMETHOD.
Thank You Once Again,
Ajay Kumar Chippa -
How to set the status for a customer plan to RELEASED.
Hello all,
I created a program for mass creation of customer plans. But after the creation of a plan, the status should be set to released, so that the user can go about creating the trade promotions for the customer plan. Can anybody tell me how to set the status of a customer plan to RELEASED.
Thanks,
Disha.Hi Clemens,
I am not talking about doing it in the CRM_UI transaction..I created a program..which would create the customer plans based on the planning account data provided. I was succesfull in creating the plans, but I am not knowing how to release it, if only anybody can tell me about a Function module or method, which can help me do this, that would be great
Thanks,
Disha. -
How to make the status of a sales order complete of which PART DELIVERY
How to make the status of a sales order complete of which PARTIAL DELIVERY has already done. <b>(Assigning rejection status not accepted)</b>
Hi Gyana
There is no document with me. But I can confidently say that because I am using this functionality.
In my case I have created a Order Reason as "Short Closed". once you short close this order only the balance quantity gets rejected (provided you have already made previous delivery and PGI).
Try it in one of your test clients if you have. Once it is short Closed it wont also show in the orders due for processing in Production.
Also you can generate reports based on this if your customer wants to know how many order he has short closed, qty of item short closed etc.
Try it.
Rgds
Sunil
Maybe you are looking for
-
Material Master Data Loading Error
Hi All, I am loading master data for material. i got the following error. 1. 0material_attr : Record 1 :0MATERIAL : Data record 1 ('000000000000010220 '): Version '000000000000010220 ' is not valid Process : If this message appears during
-
How to get uploaded file name and path in BefExportToDat event script
I would like to get hold of the uploaded file name and full path in the event script "BefExportToDat", as I need to extract values from particular fields. However I have not yet found a way to do this. - The input variable "strFile" returns the .Dat
-
How to get the RFC destination from logical system
Dear all , i am working on one system and want to fetch data from another R3 sys i have written call ' FM' dest 'HPCR3' where HPCR3 is hardcoded. now if i want to remove the hardcoding i need to find out the RFC dest ( HPCR3) form logical sy
-
Creating a SQL Stored procedure to call a CF function
I need to create a method to migrate data from a DMZ inside a firewall. To do this I was thinking of making a call from the DMZ web server (using CF) to an internal SQL server database stored procedure. The stored procedure would then call a CF tem
-
Hello, I've been trying to save and load back in an Object File by using Object Serialization and ObjectOutputStream and ObjectInputStream. Everything works without casting any exceptions except when I load the fiel back in, it is null. I don't know