Updation of status in the transaction CLOCO
Hi Gurus,
I am using the transaction CLOCO for setting up the task and I am planning to update the status pro grammatically. I will appreciate if someone can let me know about a function module which does this task or any other way available for the purpose.
Regards,
Sandeep
Such question has a better chance in the kernel / drivers forums.
Similar Messages
-
Status is not updated after Save in the transaction but after closing and
Hi
In CRM GUI and PCUI,
1) Opening a transaction (say an Invoice)
2) Changing the status from 'Open' to 'Completed'.
3) Save it
4) after save, the status shows as 'Open' (but it should show as completed) but if we come out of the transaction and come again to the same transaction, we can see now that it is in completed status.
Is there any thing to be checked or SAP usually works like this?
As whenever an user change the status from open to completed, an follow up activity is created, since here the user see the open status again in the same transatcion (after saving), he/she again change the status from open to completed and save.. so it now creates two follow-up activity..
Please help.HI
i had similar issue when I planned callback after saving document (function module with commit was doing sth).
This commit caused that status displayed on my document was previous not actual. When entering document again status was ok.
So check if there are any function modules with commit launched after you save document (of course I do not mean standard commit for saved document).
Regards
Radek -
How to update user status in the QM notifications
Dear Experts,
PLz tell how to update/change user status in the QM notifications..I have maintained the user status profile and assigned the same to the notification type,but user status are not getting updated in the notifications..
Thanks in advance
AnkushHi,
SPRO - Quality Management - Quality Notifications - Overview of Notification Type.
In that select the concerned notification and click on the status profile and there you can assign the status profile for the concerned notification Type.
There will be two types,
status profile for notifications and status profile for tasks, assign as per the requirement.
Regards,
Naveen. -
Automatic Update of Dates in the Transaction based on the date rule assigne
Hi Friends,
This might sound very basic but, it is a major issue at the moment in our project
I have a date type Today-20 days
I have created a Date rule Today-20 days
and assigned to the Date type and then to the Date profile and the date profile to the Transaction type
when i create an Opportunity it takes the system date as Todays date and the Today-20 days is also calculated correctly.
Till now everything is fine.
But the next day when i open and see the opportunity the Todays date is still the system date from yesterday and also the Today-20 days is the same what i saw yesterday
Unless i explicitly click and change something in the dates, they dont refresh automatically
I need a mechanism to trigger the automatic update of dates in the Business Transactions
so as to trigger an action if an opportunity is open but not touched for 20 days
Any advise would be appreciated and rewared as points.
Thanks and Regards,
RajHi Raj
As any other determination the date determination takes only place as long as no dates are filled. It is triggered then only after dates are changed.
Nevertheless your szenario sounds a bit strange to me: What is the sense of always having the actual date / actual date -20 days in the date scheme? As this can easily be calculated on request you do not put this into the date scheme; only information that stays over time is put in schemes (and saved along with the opportunity main data in the DB).
So if you want to stay with the concept the only thing you can do is to re-trigger the date determination of the opportunity by e.g. modifying the dates whenever you are changing / saving the opportunty. This can be done in the ORDER_SAVE badi or in an event (search the CRMC_EVENT_CALL table for an appropriate one). In both cases you need to code some lines of ABAP though.
Hope this helps,
Kai -
FM to read yellow status requests from transactional InfoCube
Hi,
I am using the FM RSDRI_INFOPROV_READ to read data from the transactional InfoCube. My problem is that my code using this FM should be able to read data requests that have the yellow status for the transactional InfoCube.
My code using this FM is able to read data from the green requests only but not the yellow requests. I was told in BPS, the yellow requests should turn green automatically after 50K of records have been queue up and ready to be turned green by itself.
Has anyone come across this and help me solve this issue of reading data using FM RSDRI_INFOPROV_READ to read yellow request data. Is there another FM to read both the green and yellow requests?
Please advise. Thanks
RTHi Rob,
The function module mentioned by you is correct and it will read the yellow requests please try this, by default the parameter i_rollup_only is set as true set it to false (blank) while calling the function module.
Please see the attached code
CALL FUNCTION 'RSDRI_INFOPROV_READ'
EXPORTING
i_infoprov = p_infocube
i_th_sfc = t_sfc
i_th_sfk = t_sfk
i_t_range = lt_range
I_PACKAGESIZE = p_pksize
i_rollup_only = rs_c_false
IMPORTING
e_t_data = <fsl_data_read>
e_end_of_data = w_end_of_data
CHANGING
c_first_call = l_first_call
EXCEPTIONS
illegal_input = 1
illegal_input_sfc = 2
illegal_input_sfk = 3
illegal_input_range = 4
illegal_input_tablesel = 5
no_authorization = 6
ncum_not_supported = 7
illegal_download = 8
illegal_tablename = 9
trans_no_write_mode = 10
inherited_error = 11
x_message = 12
OTHERS = 13.
Hope this was helpful.
thanks -
In transaction code BBP_PD the status of the workitem is not updating showi
Hi Gurus,
We have implemented N-Step BADI BBP_WFL_APPROV_BADI For Approvals Levels in SRM.
Work flow is triggering correctly and workitem is sent at all the levels. But in transaction code BBP_PD the status of the workitem is not updating showing the error message "NO WORKITEM FOUND" also status is not updating in BBP_PD.
Please reply with your suggestions.
Thanks in advance.
MadhukarHi
Thanks for your reply.
We are getting "No workitem found" status in BBP_PD transaction. But all approval process is happening perfectly and when we check status through "Status Monitor " through web it is updating correct status.
Status is updating in BBP_PD .Status of main workflow is displaying correctly and approval levels and corresponding approver names are displaying correctly, but only the status and time of approval is missing.
can you suggest something on this issue.
Workflow Item:
Workitem-ID 000002009126
Task WS90000040
Text Shopping Cart Approval N-Step 185522 (BADI)
Status STARTED
Statustext In Process
Date 09/24/2008
Time 08:18:09
Node ID Agent User State Workitem Created at
0040000000 Kotesh APP APP_KOTESH No workitem found
0040000002 No workitem found
0040000001 shiva APP APP_SHIVA No workitem found
0040000004 No workitem found
0040000003 shiva APP APP_SHIVA No workitem found
0040000006 No workitem found
0040000005 SM1 NNA_FA_SM_1 No workitem found
0040000008 No workitem found
Regards
Madhu -
XI: How to update the Message Status (shown by transaction SXMB_MONI )
Hi
My question might be stupid, but I need you help.
I would like to know how can I update the message status what we see while using trasaction SXMB_MONI . The Scenrio is, I have a Custom Interface program build on the Abap Proxy interface method called EXECUTE_ASYNCHRONOUS.
If I am not wrong, transaction SXMB_MONI is on the XI system and also on the SAP Application system. ( But I am not sure in what way the same transaction differ in two systems )
My issue is, when I receive the xml data into a structure in abap proxy, I am doing some validation on the received message data. If I found some error in the data , then I need to update the Message status of the SXMB_MONI to ERROR flag. How to implement this ? I have not done one before. And I am not sure, if any exception like error message is raised, will it stop the proxy from processing further and update the Message Status and this can be viewed using SXMP_MONI in the SAP application system to be ERROR flag?
Or is there a BAPI or function module to handle this ?
Appreciate your help
DavidHi
I am not sure If I had understood you reply. But Would need your help to have a bit more insight to your answer. I am not completely into XI , but I am from ABAP side.
At the R/3 side , Abap Proxy object geneted has the INTERFACE and its associated METHOD, in which I am building my own abap code to do any validation on incomming data. But If I want to Raise a Exception, I understand that this Expection has to be first defined .
But do I have to define a new Z Expection class or can I just add a exception in the Proxy -Interface-method.
I have not understood this process.
All I need to do is, if I find any incomming data error , during my validation at the R/3 side, I need to stop the METHOD processing ( by any means ) and Update the Message Status flag show in SXMB_MONI to Error .
What is the trigger that i can implement in myown code that will update the Message status to Error , from R/3 perspective of using SXMB_MONI.
Thanks
David -
How to change the user status from CJ01 transaction
Hello All,
I am doing a BDC in CJ01 transaction where there is a field called "User Status" .
This field is not editable. However the requirement is to populate this field with some value based on some other entries.
Is there any Function module / BAPI to update user status from CJ01.
Thanks in advance.
Regards
IndrajitHi Anbu
Thanks for your kindness.
I had got the proper badi definition ( RECN_CONTRACT ) before. I have try to implement the badi in my implementation YCL_IM_RECN_CONTRACT and below is my example codes. It can update the user status when the SAVE button is pressed. My example codes are below:
METHOD if_ex_recn_contract~check_all.
DATA:
cl_recn_contract TYPE REF TO cl_recn_contract.
DATA: r_status_mngr TYPE REF TO if_reca_status_mngr.
DATA: lv_status_profile TYPE j_stsma.
DATA: lt_status TYPE re_t_status,
ls_status TYPE LINE OF re_t_status.
DATA: r_message TYPE REF TO if_reca_message_list.
cl_recn_contract ?= io_object.
CHECK if_before_store = 'X'.
CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->get_current_status
IMPORTING
ed_status_scheme = lv_status_profile
et_status = lt_status.
lv_status_profile = 'ZBCIA01'.
CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status_profile
EXPORTING
id_status_profile = lv_status_profile.
READ TABLE lt_status INTO ls_status INDEX 2.
ls_status-stat = 'E0001'.
ls_status-inact = ''.
MODIFY lt_status FROM ls_status INDEX 2.
CALL METHOD cf_reca_message_list=>create
RECEIVING
ro_instance = r_message.
CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status
EXPORTING
it_status = lt_status
if_only_user_status = 'X'
io_msglist = r_message.
REFRESH lt_status.
ENDMETHOD. -
Seperate DB Update not working at the end of transaction after polling DB
I am using DB Adapters in OSB(built using JDveloper) to poll a DB. I am doing logical delete on one of the field(PROC_RSLT) on table by updating read column to 0.
The issue is after I have done the polling and send the polled data to external party, external party send me a response which I have to again update to PROC_RSLT field.
1. This update is not working if my JCA adapter proxy service having "transaction" and "Same Transaction For Response " options are disabled.
2. When I enable the "Same Transaction For Response" option my DB update after external system with external system response is possible but logical delete(update to 0) on PROC_RSLT happen only after transaction is completed.
Since PROC_RSLT is not updated to 0 same record is polled by adapter multiple times. I want my PROC_RSLT to be updated as soon as it poll and also my DB update to happen with external system response
Can anyone help?
ThanksPlease refer section "Update a Field in the [Table_Name] Table (Logical Delete)" at below link -
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_db.htm#BABEEBIH
Database Configuration: A status column on the table being polled must exist. If it does not exist already, you can add one to an existing table.
Support for Polling for Updates: Given that rows are not deleted with each read, it is possible to repetitively read a row multiple times. You must add a trigger to reset the mark read field whenever a record is changed, as follows:
create trigger Employee_modified
before update on Employee
for each row
begin
:new.STATUS := 'MODIFIED';
end;
Support for Concurrent Access Polling: Just as a single instance should never process an event more than once, the same applies to a collection of instances. Therefore, before processing a record, an instance must reserve that record with a unique value. Again, the status column can be used:
<operation name="receive">
<jca:operation
ActivationSpec="oracle.tip.adapter.db.DBActivationSpec"
PollingStrategyName="LogicalDeletePollingStrategy"
MarkReadField="STATUS"
MarkUnreadValue="UNPROCESSED"
MarkReservedValue="RESERVED${IP-2}-${weblogic.Name-1}-${instance}"
MarkReadValue="PROCESSED"
The polling query instead appears, as shown in the following example:
Update EMPLOYE set STATUS = 'RESERVED65-1-1' where (CRITERIA) AND (STATUS = 'UNPROCESSED');
Select … from EMPLOYEE where (CRITERIA) AND (STATUS = 'RESERVED65-1-1');
The after-read UPDATE is faster because it can update all:
Update EMPLOYEE set STATUS = 'PROCESSED' where (CRITERIA) AND (STATUS = 'RESERVED65-1-1');Your second aaproach should work -
2. With option ”Same transaction for Response” Enabled : PROC_RSLT is not updated to 0 as soon as record is polled. Instead it is updated to resultcode from CSM at the end of transaction. By that time DB adapter poll for multiple times as PROC_RSLT is still considered unread(not 0).Regards,
Anuj -
why is it when i update my status on facebook from iphone it splits the updates into two differents boxes with some funky symbols at the beginning.. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app where it says to update staus text to FBOOK i have already update my phone too.
if i go on the facebook site and update there through a brower on iphone it will work fine just cant us IPHONE mobile upload, . But its a pain of not using my IPHONE APP for facebook cause it does that.The warranty entitles you to complimentary phone support for the first 90 days of ownership.
-
The transaction is no longer active - status: 'Committed'.
Hello -
We are attempting to use a design where a connection will remain in use over multiple
transactions.
Is there any way to get weblogic to allow this?
We are currently experiencing the stack trace below, when a database read is
attempting to use the same connection as the previously committed tx.
Thanks for any advice.
Tyson
org.springframework.jdbc.UncategorizedSQLException: (HibernateAccessor): encountered
SQLException [The transaction is no longer active - status: 'Committed'. No further
JDBC access is allowed within this transaction.]; nested exception is java.sql.SQLException:
The transaction is no longer active - status: 'Committed'. No further JDBC access
is allowed within this transaction. java.sql.SQLException: The transaction is
no longer active - status: 'Committed'. No further JDBC access is allowed within
this transaction. at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:118)
at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:127)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:324) at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:426)
at com.benefitpoint.cmp.hibernate.AbstractDataManager$2.doInHibernate(AbstractDataManager.java:501)
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:150)
at com.benefitpoint.cmp.hibernate.AbstractDataManager.execRawSqlPreparedStatement(AbstractDataManager.java:568)
atTyson Norris wrote:
Hello -
We are attempting to use a design where a connection will remain in use over multiple
transactions.
Is there any way to get weblogic to allow this?No, at least not jts connections. Non-XA connections need our management to
ensure all the work gets committed or rolled back atomically. It doesn't
cost anything to always obtain jts connections in the context of the tx
they are needed.
Besides XA, you could get a plain non-transactional connection and do your
own jdbc commits/rollbacks...
Joe
>
We are currently experiencing the stack trace below, when a database read is
attempting to use the same connection as the previously committed tx.
Thanks for any advice.
Tyson
org.springframework.jdbc.UncategorizedSQLException: (HibernateAccessor): encountered
SQLException [The transaction is no longer active - status: 'Committed'. No further
JDBC access is allowed within this transaction.]; nested exception is java.sql.SQLException:
The transaction is no longer active - status: 'Committed'. No further JDBC access
is allowed within this transaction. java.sql.SQLException: The transaction is
no longer active - status: 'Committed'. No further JDBC access is allowed within
this transaction. at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:118)
at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:127)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:324) at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:426)
at com.benefitpoint.cmp.hibernate.AbstractDataManager$2.doInHibernate(AbstractDataManager.java:501)
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:150)
at com.benefitpoint.cmp.hibernate.AbstractDataManager.execRawSqlPreparedStatement(AbstractDataManager.java:568)
at -
For one Urgent Change while performing the one of the Approval before changing the status to 'To Be Tested'
We are getting below error.
The system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.
COuld anyone please help us to know, How it can be resolved?
We also have this below error.
System Response
If the PPF action is a condition check, the condition is initially considered as not met, and leads to another warning, an error message, or status reset, depending on the configuration.
If the PPF action is the execution of a task in the task list, and the exception is critical, there is another error message in the document.
Procedure
The condition cannot be met until the cause is removed. Analyze all messages in the transaction application log.
Procedure for System Administration
Analyze any other messages in the task list application log, and the entries for the object /TMWFLOW/CMSCV
Additional Information:
System cancel RFC destination SM_UK4CLNT005_TRUSTED, Call TR_READ_COMM:
No authorization to log on as a trusted system (Tr usted RC=0).
/TMWFLOW/TU_GET_REQUEST_REMOTE:E:/TMWFLOW/TRACK_N:107
For above error Table /TMWFLOW/REP_DATA_FLOWwas refreshed as well but still the same error.If you are in Test System, you can use function module AA_AFABER_DELETE to totally delete the depreciation area (tcode SE37, specify chart of depreciation and depreciation area), After that recreate your depreciation area and run AFBN. But before you do that, have you created a retirement transaction type that limits the posting on your new depreciation area? If not create one.
Hope this helps.
Thanks!
Jhero -
PCR: Status in the Status Overview table is not updated
Hello,
In MSS, a manager can look at a status of submitted Personnel Change Requests (PCRs). The status field always displays "open". It doesn't get updated.
I saw a few notes on this issue.
Note 1004470 ISR status overview: Status change incorrect
Symptom: The system does not refresh the ISR status overview for a request in the WebDynpro iView although the status of the request has changed.
Solution Implement the attached correction.
Later execute the QISRSTATUS_REP correction report contained in Note 947790.
But the note 1004470 is already applied because we are on SAP_APPL version 17. Will the report help me out? I'm not a core abaper/hr consultant. So, if someone could help me explain what the report does, i run it.
Also, can any one point out which data source (name of the RFC/workflow/others) fills up this data?
Thanks!
ak.
PS: Points handy for valuable answers.clocing
-
Status for the transferred Suppliers is not updated in ROS client!
Hi all,
We are running on SRM 5.0(Sp6).After i transfer the propects from ROS to EBP and when i convert them to VENDOR in EBP,then the status of the suppliers become "RELEASED" in EBP but the status is not updated in ROS client.
What is to be done so that once the prospect is saved as a VENDOR in EBP,its status should be updated /set as RELEASED in ROS client too?
Any help is appreciated...Points will be rewarded.
BR,
Disha.Deepti / Ramakrishna,
As per Rama's comments, the BP status is released only when we use SUS and the information is passed via XI. However in our case we have ROS (without SUS) and EBP in same client. In this scenario XI is not required to transfer the Business partner status as per OSS note 1134978.
So any idea how do we change the status from ACCEPTED to RELEASED?
Deepti - in one of the thread you did mention about a workaround to update the status? Did you manage to crack it?
Do you recommend having separate client for ROS, so that system automatically trigger XML message by standard?
Regards,
Sandeep Parab -
Kindly let me know the transaction for checking the Status of par.User?
Kindly let me know the transaction for checking the Particular Users Status?
I mean to say,Which Transaction is he into?
Or Is he/She Logged on to a particular System?
Regards,
Shashank.Hi,
Go to Transaction SM04.You will find the List of Users And the List of transactions ther are currently using.
Regards,
Sujit
Maybe you are looking for
-
How to use .mod files from a JVC camcorder?
Hi All, I'm trying to find the proper workflow for using .mod files from a JVC Everio model camcorder. I was able to transfer the files onto my system by simply using the included usb cable from the unit. It simply mounted the camera's flash card on
-
External hard drive permissions frozen to "read only"
Hi I have an external hard drive (windows formated) and I am using it on my imac but the permission won t change from read only I need to copy files into it and I can't right now... Thanks for your help if you have an idea! Matt
-
White background of extracted image prints in pdf
Hi'ya Using the "Extract" filter to crop a photo in Photoshop 7.0 allowed me to extract a person from a photo and it was saved as a .psd file. In my InDesign 2.0.1 layout, the psd file looks great and as it was an extracted image, I can put things in
-
I have a bunch of photos assigned various keywords. When I use the keyword panel to select pictures containing one or more keywords, often there are a few pictures missing. If I do a Show Info on a missing pictures I can verify that the correct keywo
-
Hi Friends.. I have developed one workflow for po using standard workflow 20000075. its working fine.But now i copied that workflow but its not working.. if iam creating po the link in pftc automatically come into deactive status. so anyone suggest w