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

Similar Messages

  • 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
    Ramesh

    The 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?

  • 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
    SUMIT

    Hi 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

  • TO change the user status in the PM order

    Hi,
    My requirement is that a techician is assiged to do the work using MRS and based on that user status is update in the PM when the save button is clicked on the MRS board.
    Now according to my requirement if anybody click on the save button and the technician is assigned to do the operation is done through MRS than the User status in the PM order should get changed.
    As a part of standard functionality the user status is not updated.
    A new user status is created in the trasaction BS02.
    Can anybody please let us know how to achieve this functionality
    Thanks
    Mohit

    We had a similar requirement and this is what we did :
    1) Set up a task as a reciever for the WORKORDER SAVE event.
    2) In this task called a method of a business object.
    3) In the method called STATUS_CHANGE_EXTERN to change the user status.

  • 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.R

    hi 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

  • 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,
    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.

  • 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.

  • Automatic trigger of WBS user status

    Hi Guys,
    I have scenario here
    WBS Element--> User status phase I WIP, Phase I Complete, Phase II Wip....
    Network Header Phase I
    Activity 1
    Activity 2
    Activity 3
    Activity x--> When confirmed should trigger WBS user status to Phase I complete
    Network header Phase II
    Similarly.
    How do i do this in PS? I need the WBS user status to be triggered Automatically from activity confirmation.
    Regards,
    Paval.

    Hi ,
    I think it is possible throuugh Event Linkage Method( SWETYPV transaction), can get help from your ABAPer/workflow guy.
    I am just giving hints which may help your ABAPer .
    Get Business object for Network BUS2002,
    Check for Event of Confirmation if not available , create the event for custom Business object (copy of BUS2002).
    Maintain this through SWETYPV transaction,
    in Detail level enter Receive function module that should consist of actual logic.
    Thanks
    Ramesh

  • User exit for WBS User status ?

    Hi All,
    I want to trigger emails from WBS user status settings.
    If the WBS user status is 'AA' it should trigger emails to a business unit with a message, if it is set to 'BB' it should trigger e-mail to another business unit with a message.
    Which user exit should i use?
    Please help.
    Thanks,
    San

    Ramesh,
    Thanks again for your response.
    The problem with my project is, i am <b>not using any networks</b> at all !
    I am using project with only WBS (about 20) for easy cost planning functionality to generate quotation based on DIP profile.
    Business team needs communication linked with WBS user status settings.
    Your suggestion may work for project which has networks of category 20, but here, i am afraid it wont work.
    comments please.
    Thanks,
    Santosh

  • IW32 : User-Exit/BADI on Change of User Status

    Dear All,
                                     My requirement is to do some validations when a user changes the User Status of a Service Order to  'Cancel'.
    I am unable to find a user-exit/badi which will get trigerred when the above process occurs. I did find some user-exit at save but none of them will get me the new user status, so that I can check whether the Service Order going to be set as 'Cancel' .
    Regards,
    Antony

    Dear Wolfgang,
                         Thanks for your answer, it was indeed very helpful. I didnt find any luck with the FM you had mentioned but found some other FM:  QMEM_STATUS_OLD_NEW_READ , may be this will help me in solving my problem..There is one more Question which I hadnt mentioned in my post, If my validation over User Status  fails how can I get the old status back.. Because since the EXIT you had mentioned is at SAVE I dont think throwing an Error message will be the right option
    Regards,
    Antony

  • 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
    Anish

    Hi 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

  • WBS User Status issue

    Hi All,
    I have configured WBS User status with one user status as LFI - Locked for Financial posting.
    For this user status following buiness transactions are forbiddesn:
    Create billing document --> Forbidden
    Create sales document --> Forbidden
    I have tested one scenario as :
    I have created one sales order on WBS Element not having LFI User status and then I have activated LFI user status for that WBS Element. Now when I try to create billing document for sales order created earlier -- whther system shoul allow me or not?
    - Swapnil Kharul

    LFI User status has following Business Transaction control as forbidden:
    Acct. assignment order/project
    Actual activity allocation
    Assignment order/WBS
    Create billing document
    Create sales document
    FI: Postings
    Funds commitment
    Goods Movement
    Goods issue delivery
    Goods receipt for purch. order
    Incoming invoice
    Manual cost allocation
    Material purchase order
    Material purchase requisition
    Post goods issue
    Schedule order
    Hi Srini,
    Thanks a lot for your help in this matter.
    My test results are - system is allowing to create billing document but FI document not got posted.
    Also in my sales order used WBS Element is billing element. I know about substitution rule for determination of higer level billing element.
    Please suggest.

  • 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.

  • 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.

  • STATUS_UPDATE error to update USER STATUS - Update termination error

    Hi All,
    I am using status_update FM in sales order user exit MV45AFZZ in a perform routine for updating user status in line item for sales order. There are 4 custom statuses created for the sales order line item. 1,2 3, and 4 by configuration. My job is to select one of those based on user selection.
    Scenario: During change order process using  VA02, I have to change the existing status to a third status when user selects the second one. That is for example, in VA02, user selects status 4 from previous status 3, and save, I have to make the status 4 inactive and save the new status 2 instead of 3 though user selected 3. How do I achieve this.?  ????Any programming example is really appreciated. Thanks!!!
    I am right now using STATUS_READ and reading the existing status 4. Then making it inactive using status_update FM. And updating the new status 2 as active one and 3 as inactive again. Two inactive updates and one active update is throwing an update termination error while saving the sales order.
    Any help is really appreciated. 
    Thanks
    Ricky

    Hi ricky,
    For saving any changes you need to have a Z-table.
    In programs we can't store the user selection. In your case you can create a z-table and store the status there and delete the last status. The process would be faster as you will always have one record in the table.
    . One more advantage is you can even track the changes through the Z-table(User who is changing it.)
    Hope this solution will surely help you.
    Cheers
    Suvi

Maybe you are looking for

  • Need Help HP DM3 (DM3-1130us) Laptop will not power on. No power at all except for light on a/c jack

    Hello, I need some help. I have a HP DM3-1130us Laptop that will not power on at all. the only thing that happens when I plug it in is the power jack lights up. When the power button is used absolutely nothing happens. No power, no fans, no leds, no

  • Time capsule and IP config problems = no internet... please help!!

    Dear all, No wireless internet for a month, Apple won't help without £35 from me and my ISP is stumped. This forum saved me from myself before... I'm keeping the faith! The problem is a D-link DSL-300 T configured to provide DHCP into a Time Capsule

  • RFC-JDBC error

    Hi, I am doing an RFC-JDBC scenario. My input file is being generated in the following format: - <T_SOMASTER> - <item>   <CUSTOMERID>0000001033</CUSTOMERID>   <ORDERDATE>0000-11-82</ORDERDATE>   <PARTIALSHIP />   <SALESORDERID />   <SYNCIND />   </it

  • Silent Startup

    Is there anyway to silently start the Mac (Powerbook G4) (in case people are sleeping, or I am at the library etc.) WITHIN the operating system? (WITHOUT installing third party software) What is the best way to submit this this and other ideas to dev

  • Can't set up personal domain

    I've reviewed the .Mac Help to use my personal domain for my web site, but when I go to my account settings page on the .Mac home page, there is no button that says "Personal Domain"...so I can't complete this step. Anyone have any suggestions? Thank