Change of USER status for SDHF transaction type though CRMD_ORDER
Hi,
We have a requirement to change the user status of transaction of type "SDHF" creted using CRMD_ORDER.
We are using FM " CRM_STATUS_CHANGE_EXTERN" for the above requirement, but stuck with the following error "Status REL is not allowed". On analysis of error, it is observed that the FM is not changing the user status to a status with higher status number than the present status.
Eg: If the current status number(Code - PMAP) is 35 and the required status number (Code - REL) is 40, then the FM is throwing the above error. we cannot change the status numbers, as this will lead to re-alignment of statuses which is not acceptable.
kindly help with the solution for the above error or is there any FM or other method of achieving the same requirement.
Points wil be awarded for the helpful amswers.
Regards,
Imran
Hello,
Since the status has no number it will appear under statuses W/O number bottom right in status overview window.
These status will appear as additional text beside current user status. For example if user staus is BUG and status without number is DFL and sets when deletion flag is set and gets deleted when it is revoked than user status will appear as
BUG DFL -
Deletion flag set.
BUG -
When deletion flag revoked.
You have to live with it. I don't think there is a way out for that.
Thanks
Saikishore Ganga.
Similar Messages
-
Change of User Status for SDHF transaction type
Hi,
We have a requirement to change the user status of transaction of type "SDHF" creted using CRMD_ORDER.
We are using FM " CRM_STATUS_CHANGE_EXTERN" for the above requirement, but stuck with the following error "Status REL is not allowed". On analysis of error, it is observed that the FM is not changing the user status to a status with higher status number than the present status.
Eg: If the current status number(Code - PMAP) is 35 and the required status number (Code - REL) is 40, then the FM is throwing the above error. we cannot change the status numbers, as this will lead to re-alignment of statuses which is not acceptable.
kindly help with the solution for the above error or is there any FM or other method of achieving the same requirement.
Points wil be awarded for the helpful amswers.
Regards,
ImranHello,
Since the status has no number it will appear under statuses W/O number bottom right in status overview window.
These status will appear as additional text beside current user status. For example if user staus is BUG and status without number is DFL and sets when deletion flag is set and gets deleted when it is revoked than user status will appear as
BUG DFL -
Deletion flag set.
BUG -
When deletion flag revoked.
You have to live with it. I don't think there is a way out for that.
Thanks
Saikishore Ganga. -
Changing the System status for previous transactions
Hello,
Could some body help me with this ?
I have a User status profile with user status ABC which triggers system status Inprocess. This is applicable for all the new transactions for which we set the status ABC which works fine. But we have some previous transactions ( Prior to this config ) with status ABC , but system status is not Inprocess.
How can we change the system statuses for all these transactions? do we have a report for this?
Best Regards,Hi,
You can use 'STATUS_CHANGE_INTERN' FM to change the system status. Pass Object number and status ID as inputs to the Function Module.
Regards,
Lakshmi.Y -
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. -
How can i set automatic change of user status(for WBS)?
Hi,
Everytime when i create invoice for customer shipment using transaction code VF01, i need to change user status of WBS element manually in project to INTG in order to recognize the revenue. Is there any possiblity to change user status of WBS automatically after invoicing?
If it is, could any one please help me to resolve this problem?I have Compressor 4 already, defined an own parameter set there (with 1024x680 resolution) but this was not displayed as an option in FCP X. I want to produce my resolution directly from FCP X, not produce it in another resolution and then convert it via Compressor. Let alone the fact that non of the FCP-included resolutions has a width-to-height ratio of 3:2 like mine. The solution would be to know where FCP stores its presets and to be able to modify them or add new presets.
-
Is it possible to change the user status of a TECO Order
Hello Folks
Is it possible to changes the user status of a TECO Order?
I have tried to change it using the FM 'STATUS_CHANGE_EXTERN'. Its working fine for NON TECO Orders but not for TECO Orders.
On the other hand I was able to manually change the user status for a TECO Order in transaction IW32.
I need to change the user status from NFBK to FBK.
Please provide some inputs for the same.
Thanks n Regards
RameshThe simple way is via the Internationalization settings via ARD or RDP or Screen Sharing, either via System Preferences or (if enabled) via the menu bar. If you're looking for a lower-level approach, there's not AFAIK a direct command for this. As for one possible approach, might [threadID=2106201|http://discussions.apple.com/thread.jspa?threadID=2106201] help?
-
FM STATUS_UPDATE to Change WBS User Status
Greetings,
I need to fine the best way to change the user status for WBS, I found STATUS_UPDATE function module and it can update the status , however, the changes does not get reflected in the Change Document log, any idea ?Hi,
I would suggest using BAPIs instead of "regular" function modules. With BAPIs you are sure that they won't change, the API is stable. You can't be sure about internal FMs. I know that chance of changing STATUS_CHANGE_EXTERN by SAP is seriously low. You can also use FM incorrectly. Using BAPI incorrectly is almost impossible. What I just want to say is that preferring BAPIs is a really good practice.
Cheers -
Function Module to change the user status of a business transaction
Hi,
I want to change the user status of a business transaction. Plz let me know if there is a function module to change the user status.I found some FMs.
- CRM_STATUS_MAINTAIN_OW
- BBP_PROCDOC_STATUS_CHANGE_DIRE
- CRM_ORDER_CHANGE_STATUS
But these FM says that it has to be used for changing system status.
Thanx,
Sivagami.Rhi Siva,
here is some sample code :
data :
ip_guid type crmt_object_guid,
ls_status type crmt_status_com,
lt_status type crmt_status_comt,
ls_input_field type crmt_input_field,
ls_input_field_names type crmt_input_field_names,
lt_input_fields type crmt_input_field_tab,
lt_obj_guids type crmt_object_guid_tab,
ip_guid = <your guid>.
ls_status-ref_guid = IP_GUID.
ls_status-ref_kind = 'A'.
ls_status-status = lv_newstat.
ls_status-user_stat_proc = 'ZCRMCOM1'.
ls_status-activate = 'X'.
INSERT ls_status INTO TABLE lt_status.
ls_input_field-ref_guid = IP_GUID.
ls_input_field-ref_kind = 'A'.
ls_input_field-objectname = 'STATUS'.
ls_input_field_names-fieldname = 'ACTIVATE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE lt_input_fields.
ls_input_field_names-fieldname = 'STATUS'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE lt_input_fields.
insert IP_GUID into table lt_obj_guids.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_status = lt_status
CHANGING
ct_input_fields = lt_input_fields.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
it_objects_to_save = lt_obj_guids
EXCEPTIONS
OTHERS = 2.
COMMIT WORK.
please award points if helps
cheers -
User exit for Previous and current system status for 5 transactions
Hi Experts
My Objective to capture the Previous and current status of system status for 5 transactions in their user exits .
Description Business Object Transaction
Production Order operations BUS2005 CO02 to edit Production Order
Maintenance Orders BUS2007A IW32 to edit Plant Maintenance Order
INTernal ORDER BUS2075 KO02 to edit Internal Order
WorkBreakdownStruct BUS2054 CJ02 To edit the WBS element
Project System Network BUS2002 CN22 to edit Network
Activities Network
For Both Production order and Project System Network Activities Network ,
i got User exit " EXIT_SAPLCOBT_001 "
But i am not sure whether we can use this or not for our purpose . When i am changing status and then saving , my break point comes to EXIT_SAPLCOBT_001 .
But can we capture JEST or JCDS related data in that user exit or How can we capture both Previous status and Current ( Means New changed status ) . For eg From Released to Technically complete etc.
I want Status changed and its immedtiate previous status.
Do i need to check Exit or BADI before and after Saving .
Thanks
Regards
Gaurav
Edited by: TheGaurav on Sep 8, 2011 10:28 AMHi Himanshu
Many Thanks for the reply .
I also had some other processing needs to be done on the basis of those status. .
So do you have any idea or how to find what all exits or BADIs i can use for all of these 5 transactions , where
i can get data for JCDS ( or JEST ) .
CO02 to edit Production Order
IW32 to edit Plant Maintenance Order
KO02 to edit Internal Order
CJ02 To edit the WBS element
CN22 to edit Network
can we use EXIT_SAPLCOBT_001 for CO02 and CN22 .
Edited by: TheGaurav on Sep 8, 2011 1:21 PM -
Exit or Badi for controlling the change of user status in notification
Hi,
I want to check the current user status of notification while saving the notificaton. If the current user status satisifies particular situation, then the notification should be save else not.
Is there any user exit or Badi which can be used to control the change of user status in notification.
Thanks
SUMITHi Pushpa,
Thanks for the reply.
the problem over here is that the BADi IQS0_STATUS_MAINTAIN only allows to disable the user status.
the other function module STATUS_READ only fetches the data from JEST.
whereas my problem is that i want to check on the changed status on the screen(which is not saved also).
Appreciate your reply on the same.
Thanks
SUMIT -
Change user status for WBS Elements
Hi All,
I am working on a workflow related to PS milestones.
When a milestone is achieved the user status has to be set for that WBS element and to all the WBS elements that are next to it.
I have tried to use the FM (ran FM independently as standalone), CJDW_INTEGRATED_USRSTAT_CHANGE with PROJECT NUMBER as input, but it throws an error NOT FOUND.
I have gone through the documentation of it also, which says that user has to prefil the structure PROJ before this FM is called, which i could not understand.
So can please anyone tell me, about the usage of this FM and how to run it so as to change the user status.
Thank you all in advance,
regards,
vijayit is possible to have status with radio button and check box, by keeping status with status number and without status number.
But I doubt about your requirement whether it is possible in standard or not.
Please search SDN forums for some exit / BAdii which you can modify status profile. -
Authorization for changing the user status
Hi all,
I need to give authorization in such a way that after the initiator has creataed a DIR...:
1. When it goes to the next approval, the person should be only able to change the user status and save.
he should not be allowed to change anything else.
I have tried using different authorization objects but none of them worked. Is there any tcode in DMS for just approving the DIR (changing it to next available user status), similar to release strategy. For ex ME29N for approval of PO (Purchase order) ?
Thanks
AnishHi Anish,
Based on your requirement, I would like to suggest to go by workflow to approve the document..
With the help of workflow, you can approve the document in workflow inbox itself (workitem), no need to go to DIR, the status will get automatically change in the DIR.
for this you have to use function mudule (set/get next status).
you can do this by taking the help of Workflow consultant and abap.
regards,
nitin
award point if useful -
How to release user status for sales documents automatically
Hi All,
We have configured status profile for third party sales document type. This will stop creating PR from sales order. After chaning the status from STP to GO, system will create PR. But the problem here is user is going and changing the object status manully.
The business wants to release at a time many records automatically. Do we have any transaction code which we can use for changing the user status automatically for many orders?
We have tried V.26, but this is just report we can not change the status automatically,
Thanks in advance!
Regards
LakshmikanthHi,
No standard program exists for it, as statuses are always customized.
create a BDC program for status change and run in backgram as batch job. -
Find active user exit for a transaction code
Hi All,
Please help to find the active user exit for a transaction code.
for Ex. below is the list of user exits for package VA ( for creation of sales order and changing sales order). Let me know which user exit is active and which is not active.
Exit name Short text
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Thanks & Regards,
SabuGoto TADIR table give program id as R3TR ,Objec type as CMOD and execute.
You will get all active exits in system.
Exits related to SD may be in ZSD package. -
U00BFMultiple user status for WBS Element?
Hello,
I need to create multiple user status for a WBS element.
I'm using the BAPI: BAPI_BUS2054_SET_STATUS
CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
Importing
return = ls_returnbapi1
TABLES
I_WBS_SYSTEM_STATUS =
i_wbs_user_status = it_wbs_user_status"--> This table contais 2 record, with the same WBS elements and diferent status
e_result = it_result.
I put several rows (two) in the table it_wbs_user_status., I put two rows, the WBS elements for the same item with two different status, but I get error because it says that the WBS element is repeated.
¿Can you have multiple user status for the same element PEP? I try it in the transaction CJ20N too, and I don't Know.
Thanks.In transaction CJ20N you can change user status for each WBS elements.
Menu --> Edit --> Status --> User Status --> you can choise betwen "Set" or "Set & Pass On".
I want BAPI, function , etc.... that do the same thar "Set" , not "Set & Pass On".
BAPI_BUS2054_SET_STATUS = "Set & Pass On"
Thanks
Maybe you are looking for
-
iTunes reports error 37 when I try to restore my iPhone 3GS. This phone was sent to me direct from Apple when I paid $200 to repair my last phone. They could not repair my old phone so they sent this replacement. This problem started when iTunes t
-
i am using iphone5 and when sending sms within 160 characters i am getting 2 sms counts deduction & i hear the message send sound twice. what is wrong here. can some one please help me here??? APPLE need to do something here!!!!!!1
-
Sending a file as a http response
I am accessing a file on the file system and sending it back to the HttpResponse with the below code. My only problem is that every now and then the file transfer gets cut and the file is now downloaded completely. This does not happen after a certai
-
How to make a rectangle at say 75 degrees to simulate as branch of a tree
I am making a game, I need to make a tree with branches with which, leaves can be attached. I am using rectangle as trunk of tree. What I want now is to use rectangles as branches of tree. I need to make rectangle like structure that is biased to say
-
I accidentally deleted Candy Crush off my phone, and when I went to reinstall it, it reinstalled but has now disappeared from my screen. I went to the app store and it says there that it is still installed. How do I get it back?