CRMD_ORDER User Status Change before Save
Does anyone know where I am able to check what the User Status has been changed to by an action before saving? I would like to be able to retrieve this using ABAP. One of the function modules I used to retrieve statuses only has the current saved Status.
Thanks
Try using FM CRM_ORDER_READ_OW. It reads data from the memory and not from the database. You can probably call in from an ORDER_SAVE badi implementation.
Similar Messages
-
EXIT/ BADI/ Enhancement point for User Status change in Order
Hi all,
I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
Thanks and Regards,
SonalHi,
Use this Enhancement IWO10009 and call these function module to change the User Status
STATUS_TEXT_EDIT --> To Read the existing status.
STATUS_CHANGE_INTERN_VB --> to change the status.
Regards,
Satish -
How to generate a report from crm table to find out user status changes
Dear all,
Could you please help me on generating a report from SAP CRM table level
to find out user status changes in crm orders for a specific period of time?
Thanks in advance,
Regards,
ShaikHi Shaik.
You would not need to write report for this. You need to create a Table view mainenance for the CRMD_ORDERADM_H or CRMD_ORDERADM_I for whichever you need.
Follow the below or search on google for more on table view maintenance.
Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
In the table maintenance generator screen, you should give Authorization Group,
Function Group name (Function Group name can be same as table name),
Maintenance type can be one step or two step, usually you will create with one
step. You should give maintenance screen number. After clicking on create button,
a table maintenance generator will be created.
To check it go to SM30 . In SM30, you find display, Maintain options.
You can view the table contents by choosing Display and supplying the selection criteria of dates.
Regards
Apoorva -
User Status change problem in Process Order
Hi,
We are in process of upgrading our system from 4.6C to ECC 6.0. I have a problem with User status change for process Orders.
In 4.6C we are using the profile x with settings:
10 ZNEW Created process order 10 90 1 1 ZSTA
20 ZLCK Locked process order 20 90 1 1 ZREV
30 ZOPN Reopened process order 20 90 1 1 ZOPN
40 ZMST MES order started 20 90 1 1 ZMST
50 ZMCL MES order closed 20 90 1 1 ZMCL
90 ZTEC Technically completed 20 90 1 1 ZTEC
In ECC 6.0 we also use the same profile settings as above.
The problem is in ECC 6.0 when I do a goods receipt the User status changes to ZTEC . The process followed is ..Create process order, Release Order, Goods issue, Phase partuial confirmations, Goods receipt and then Finla confirmations of phases. Now in 4.6C if i do the above process the User status remains at ZMST and it only changes to ZTEC when i technically complete the order but in ECC 6.0 when I do a goods recipt from above steps the User status changes to ZTEC. THis should not happen.
Any pointers will be very helpful.Hi,
The log for production order preliminiary costing is not saved. Therefore, once the order is saved, there is no log available anymore (this is by the way a question of PP; none of the logs is saved).
Hope that helps...
Regards,
Declan -
User status change in inspection lot
sir,
when i am doing ud in qa11 that there is compulsary a USER STAUS must be QAA Aprroval by QA manager if user staus is QCNA not approvewd by QA manager then it gives error for user status changes must be compulsary.
so where we can change that user status of .I have a one option in qa02 is there any another options.
Please guide meDear Prakash
If you want to manualy change the status in QA11, you can change there itself. Near to the user status there is a change where you can change the user status ( Set status button - tick and change button)
Regards
Gajesh -
There is a requirement , the project will be created and then a user status will be changed in 5 steps as the project goes through approval process and at the end of the process the project will be released. I want to tract down the entire process of the user status change over time. How can I do that, creating change documents for status profile? But in one place I found that change document only created if system status is set to released? In my case system status will be set to release only after all the status change in user status happened.
Hello,
Asides from the obvious adding of a new status to status profile SDADHEAD, you may want to have a look at the SPRO activities:
SAP Solution Manager
-> Scenario-Specific Settings
-> Change Request Management
-> Extended Configuration
-> Change Request Management
-> Change Transaction
-> Change Transaction Types
o Define Status Attributes
Also activity "Make Settings for Change Transaction Types" in the same path is important.
Best regards,
Miguel Ariñ -
2LIS_11_VAITM delta with user status change (JEST, JCDS)
Hi,
I'm using standard datasource '2LIS_11_VAITM' for sales order delta, and I'm trying to add new fileds which is user status in 'Status' tab in sales order.
I thought it would be captured as delta if I change user status of sales order, but it's not captured as delta.
I'm trying to avoid using generic datasource with table 'JEST' or 'JCDS'.
Is there any way that user status change can be captured as delta?
Any help would be much appreciated.
Regards
BryanHi Bryn,
Normally when the status is updating is there flag is updating accordingly.If yes considered that field also for enhamncement then delts records will be picked for user status.
More details check with SD consulatnt they will provide the complete details.
Regards
Ram. -
WBS user status change doesn't trigger changed by update...
Hi all,
I've inherited a program that is used to programmatically change the system and user status of WBS elements. The user has reported an issue where the Change By and Changed On values displayed on the Admin tab of tcode CJ20N are not updated after the user status for a specific WBS has been programmatically updated. The system status update works fine...both fields on the admin tab are updated. I searched the forum and couldn't find anything that speaks specifically to this problem...does anyone have any thoughts?
Thanks in advance.Yeah, that makes sense.
I'm thinking now that if I create a new version in the web gallery and crop it just for the web export the app will probably re-send that image out to the web site because it treats the new version as a different image. Since the new version really doesn't take up any meaningful hard drive space this wouldn't be a deal-breaker, but I would have to remember to NOT delete that version or change the crop ratio before uploading the gallery again. -
Set user status in notification save exit
Hi all,
There is a requirement to set the user status of a TASK during notification save exit. Is there any way to do this.
Thanks in advance..
DeeptiHi ,
You may need to use user exit QQMA0014 (Checks before saving a notification) and in that u need to use FM STATUS_CHANGE_EXTERN - to set or delete user status ..
regrds
pushpa -
Dear All
For an ABAP report , i need to find the table names for date and time of change in the User Status for the Maintenance Order. ( for example from INPR to RETN)
I have tried JEST and CRM_JEST tables but couldn't found the correct result.
Pl advice.
thanks in advance
Regards
Manish BansalTake the object number OBJNR and go to table JCDS
Field Status STAT starting with 'E' i.e., your user status.
You also have time/date fields there.
Regards
Sreenivas -
2 custom events getting triggered on user status change
Hi all,
In IQS21 transaction, once a user changes the user status I need to send a work item to the superior.So for this I have delegated
the business object BUS7051 to ZBUS7051. I have created 2 custom events HOD and APP.
I have even configured all the settings in BSVZ.
There are 3 user statuses 1.Created 2.HOD 3 .APP
Once user changes the status from Created to HOD a work item(notification in change mode) should go to the superior and similarly from HOD to APP also.
The problem is when I change status from Created to HOD,APP event is also getting triggered along with HOD.
Please tell me where I am wrong.
Refards,
NishantNishant,
The APP event is used for Display the notification right? The two events are triggered for the same process. So the two events are linked with same process. Have you done anything in SWEC?
Thanks. -
User Status Change Log for WBS Element
Hi All,
I have a requirement to capture the user and time when the user status has changed for WBS Element in TCODE CJ20N.
How do I enhance the standard table to add these 2 fields and also which enhancement is used to populate these fields?
Thanks
Davidhi david,
if your looking for status changes in WBS for CJ20N tcode then
have changes documents tick marked in OPSA tcode for a particular project profile and then create project in CJ20N with that project profile and go to that respective WBS and click the blue icon and goto
Extras->changedocuments->All---> here click on all changes or history ... here this should give you required data your looking for ...
regards
pushpa -
Online Adobe Interactive Form must be changed before SAVE works properly
HI guys,
We are using Adobe Reader X.
We arr launching an ABAP Web Dynpro application that has an Adobe Interactive Form linked to it.
Our Adobe Form has many "subforms" and we determine what you see based off your Web Dynpro choices
The problem we are having is the display of the Adobe Form will change perfectly, but if you SAVE a copy to your PC using the Adobe buttons, what gets saved to your PC doesn't match what you see on the screen.
However, if you change any data on the Adobe Form and then SAVE, the version on your PC now matches what you see on the screen.
Has anyone else run into this?
Thanks,
AnthonyHi Antony,
At the 1st intance, you have data completly, and on change event you are making the subforms visibility dyanmically.
Fine now once the form is saved locally, and then its opened, the Abobe reader doesn't know the visibility status.
So here again on form ready check the repective field value which treggers its visibility and set its presence.
For example: if the form is like flowing to different users in a workflow, to maintain its earlier status this is how I do it.
which mean I will have a same validation and script for both form ready & change events.
Hope this helps you out.
Cheers,
Sai -
Change of User ID change before user Delete
I want to change user ID as soon as "Delete" button pressed.
I created an Entity adapter and set it at Pre-Delete.
I tested entity adapter changes ID successfully.
But user doesn't delete.
I cannot call this adapter on Post Delete.
Any idea ?I got it work.
Here some clue i got while implementation.
As I had to write 2 Entity adapter one on pre delete and other post delete
Pre Delete adapter changes LogID
Post Delete deletes user using OIM API
But doing so It goes on infinite loop. So to break it I implemented in such a way I changes Login ID once on predelete and breaks and on post delete adapter takes USER.KEY as input parameter and before delete checks if user already deleted or not. -
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.
Maybe you are looking for
-
Is there a shortcut for fading audio to zero and back up between two clips?
I'm trying to determine if there is a shortcut for this situation in FCP 5... You have two audio clips butted adjacent to each other. You want the first clip to fade down to zero (i.e. silence). You want the second clip to fade up from zero. So basic
-
Issue with execution of MessageChoicebean View Object at every row of table
I have a table with 2 columns. First column is showing datatype. Second column is MesssageChoiceBean which is showing values from the VO. This choiceBean VO , i am executing based on the first column data type. Here the issue is, The data type at the
-
Adobe flashplayer is not working or showing in ad-ons list
I have, I think , the latest version of FireFox & the latest Flashplayer. I cannot get Flashplayer to work. It was working before, but then it stopped working. when I uninstalled FireFox plus all of my bookmarks, personal info, etc because I couldn't
-
Just joined and tried to "quit" Creative Cloud and message pops up...
--Quitting will cancel any application installations-- Remaining signed into Creative Cloud a requirement?
-
Trackpad is very finicky..??
I have a Satellite C55-B5246 running Windows 8.1 and I'm really not enjoying the track pad on this thing. I'm hoping for some help to figure out what's going on. I have the icon on my task bar set to display the animated icon so that I can see when