Change system status

Hi all!!
Can any one please tell me how to chenge the system status of the object number from "ACTIVE" to "INACTIVE" ?
Can anyone please suggest a function module to do that?
Thanks,
Sachin.

check the function STATUS_CHANGE_INTERN , try to pass OBJNR and status to the table parameter

Similar Messages

  • FM for changing system status in Service Notification

    Hi all,
    I have a tough situation here.
    To change the system status in service notification, the system use "IQS4_CHANGE_STAT_NOTIFICATION".
    CALL FUNCTION 'IQS4_CHANGE_STAT_NOTIFICATION'
      EXPORTING
        i_qmnum                  =
        i_vrgng                  =
        I_CHECK_ONLY             = ' '
        I_SPRAS                  = SY-LANGU
        I_BEZDT                  = SY-DATUM
        I_BEZUR                  = SY-UZEIT
        I_POST                   = 'X'
        I_COMMIT                 = ' '
        I_WAIT                   = ' '
        I_REFRESH_COMPLETE       = 'X'
      IMPORTING
        E_VIQMEL                 =
        E_STTXT                  =
        E_ASTXT                  =
      TABLES
        RETURN                   =
    2 main fields are required; i_qmnum and i_vrgng.
    I am able to provide i_qmnum (as this is the service notification number that i need to change).
    However, i_vrgng is a field in table (TC33-VRGNG). The values in the table does not make sense to me.
    Example. To change the status to NOPR (Put in progress), the FM uses PPM2 or PPM6 for i_vrgng. If we take a look at the table TC33, it doesn't indicate in anyway how NOPR is related to PMM2 or PMM6.
    Is there a guideline (ie, to change status to OSTS, i use a certain value in TC33-VRGNG to run the FM)?
    Please see BAPI_SERVNOT_POSTPONE & BAPI_SERVNOT_PUTINPROGRESS for a clearer picture of what I'm saying.
    Thanks,
    Earl

    Please try using FM STATUS_CHANGE_INTERN for changing System Status as i was not able to find any link between status and the field provided in FM in ur post.
    This FM directly changes system status of any object.But this FM requires System Status Value not Text.
    NOPR, NOCO etc are system texts.The main table for system status  is TJ02T which will give u the status value for the status text.
    For eg NOPR status text will have status value as 'I0070'.
    Reward Points if useful
    Edited by: Pratyasha Shishodia on Mar 14, 2008 11:07 AM

  • Change System Status of SO item dynamically based on Reason for Rejection

    Hi ppl,
    Our SAP user has raised a requirement as described below:
    In sales order (in creation mode (VA01) or change mode (VA02)), if at the item level, the reason for rejection is mentioned, then the system status for that item should be automatically set to Technically Complete SET (TECO); and if the user removes the reason for rejection for the item, then the system status Technically Complete should be RESET automatically.
    We are looking for any user-exit or BADI available which would be allow this dynamic change of system status based on the reason for rejection field. (No manual interaction for setting or resetting the system status).
    Technically, the functionality is based on the below fields:
    Reason for Rejection: VBAP-ABGRU
    System Status: JEST-STAT
    Please provide suitable inputs.
    Thanks,
    Dawood
    Edited by: Dawood.S.Ghasletwala on Jun 29, 2009 3:14 PM

    program: SAPMV45A
    User exit: USEREXIT_SAVE_DOCUMENT_PREPARE.
    loop at xvbap where updkz NE 'D'.
      if not xvbap-abgru is initital.
        "set your system state here.
      else.
       "reset your system state here.
      endif.
    endloop.
    hmmm you can as well try if you got all you need to know already in userexit: USEREXIT_CHECK_VBAP.
    Edited by: Florian Kemmer on Jun 29, 2009 11:53 AM

  • Change system status from PDLV to DLV

    Hi All
    Please help me with this error. Already tick the delivery compeleted in Goods Receipt Tab but then system status won't change from PDLV to DLV. Is there any other way wherein I could change it?
    Thank you
    Jesielle

    Hi Jesielle,
    We're facing the same issue with you. The status remains at PDLV even though we had set the "Delivery Completed" indicator. This only happens to Production Orders that having multiple Items.
    Please share on how you resolved this issue?
    Thanks.
    Regards,
    Hooi Chia

  • How to change system status of order created in IW31

    Hello All,
    I created a maintenance order in IW31. System status of that Order is like this,
    Now i have a requirement to change the system status.
    But the BAPI : BAPI_ALM_ORDER_MAINTAIN has option to change user status. Please suggest what i have to do?
    Thanks in Advance

    EXIT_SAPLBSVA_001 will fulfill your requirement.
    Try to change your system status inside this exit.
    You will get both User status and System status.

  • Change client after changing system status

    first we registered our system as develop. after that we have to change its status to productive. on service.sap.com we changed the system status to productive. in transaction USMM we changed the system type to production. as far as i concern also we had to change the mandat status to productive.how can we do it? can you help me with the documentation or to write how to do it.
    thanks in advance

    Hi Andrey,
    You can change the client status to "Production" in SCC4. Is this what you mean?
    Gary

  • Changing system status depending on user status

    Hello All,
    What I need to do is, when the user sets the user status to, let's say, "Finished", I have to detect it and change the system status to "Concluded".
    Does anybody have any idea about how could I manage this situation?
    Thanks in advance.

    If you set the system status from within the transaction online, the solution by Richard is indeed correct. However, if you change a user stauts using an action, you have to perform two actions: set the user status (FM CRM_STATUS_CHANGE_EXTERN) and set the system status (FM CRM_STATUS_CHANGE_INTERN) as well.
    In this case, you also must check if you have to set this status only on header level, or also on item level, but a good developer can help you out on this one.
    Hope this helps you.

  • MTO; change system status of sales order lines after settlement to "Closed"

    HI
    Is there a program (or transactin), to do mass change of system status for MTO sales order lines to "Closed" ?
    Thank you, Dejan

    Try using transaction "MASS" and object type "BUS2032".
    Shail

  • I can change system status without canceling lot,,"CRTD CHCR SPRQ"

    HI
    A insp lot have (System status) "CRTD CHCR SPRQ" system can not allow for any recording at the lot,, But Question is that i want to change status without cancleing this lot, Have any idea for this lot status.. "CRTD CHCR SPRQ"
    thanks Expert
    regards
    kazz

    Hi kazz, i can't tell if your issue was resolved but if not then you should check the 'valid from' date on the ECM used to setup the inspection plan.  this is assuming that you are using ECMs to create inspection plans and maintain revisions on the material.  the valid from date on the ECM used to create/assign the inspeciton plan to the material must have a date that is equal to or before the valid from date on the ECM used to assign the revision to the material.
    for example,
    ECM 123 has a valid from date of 01.01.2013 and was used to assign revision A to the material
    then the ECM used to create/assign the inspection plan to that same material must have a valid from date of 01.01.2013 or prior...otherwise SAP will not find a valid inspection plan that's valid on the date for the inspection lot and revision of the material in the inspection lot.
    hope this helps!
    nicole land

  • Change system status in Product Master - Urgent

    Hi,
    How to change the Sales Status in Product Master for the products which has been downloaded from R/3 to CRM?
    Sales Status field is appearing in Gray colour and it is not allowing for changes of the status?
    It is urgent.
    Thanks in advance

    Hello,
    When you download a product from R/3 to CRM, R/3 remains the 'master' for your product. Since there is no two-way synchronization of products between R/3 and CRM you should change that field in R/3 and perform a new initial load.
    This is only true for R/3 related fields, CRM specific fields (like links with accessoiries, related products....) are always changeable in CRM since they do not occur in R/3. This mechanism is to protect desynchonization of your product master in a distributed environment.
    Hope this helps,
    Reward points if useful!
    Regards,
    Joost

  • System status change of WBS element

    Hi everyone,
    We need to change system status of WBS element programmatically.
    So can anybody suggest me which function module can I use?
    Thanks & Regards,
    Anirban

    system stauts is set when some function is executed e.g.
    REL is set when WBS is set to REL - CJ20N edit->status-> release
    SETC ise set when settlement rule on WBS is creaed
    BUDG is set when you carry out budgeting via txn CJ30
    so it depends on what system status you want set, then execute the following business transaction manually or via program/ development.
    However for setting REL or TECO you might be able to use some function modules
    For WBS elements I would check out the following
    CNIF_STATUS_2054               Set/Read Status for BUS2054                                     
    BAPI_BUS2054_GET_STATUS        Read Status for BUS2054 (Work Breakdown Structure)              
    BAPI_BUS2054_SET_STATUS        Set/Reset Status for BUS2054 (Work Breakdown Structure)         
    CNIF_STATUS_2054_CANC_AALK                                                                     
    CNIF_STATUS_2054_CANC_CLSD                                                                     
    CNIF_STATUS_2054_CANC_DLFL                                                                     
    CNIF_STATUS_2054_CANC_LKD                                                                      
    CNIF_STATUS_2054_CANC_MDLK                                                                     
    CNIF_STATUS_2054_CANC_TECO                                                                     
    CNIF_STATUS_2054_CANC_USER                                                                     
    CNIF_STATUS_2054_SET_AALK                                                                      
    CNIF_STATUS_2054_SET_CLSD                                                                      
    CNIF_STATUS_2054_SET_DLFL                                                                      
    CNIF_STATUS_2054_SET_LKD                                                                       
    CNIF_STATUS_2054_SET_MDLK                                                                      
    CNIF_STATUS_2054_SET_REL                                                                       
    CNIF_STATUS_2054_SET_TECO                                                                      
    CNIF_STATUS_2054_SET_USER

  • How to change user status in maintenence order

    Hi all,
    I want to change system status in maintenence order by customizing kindly share how we can change it.

    Once you print the order, system status will get changed automatically to PRT.
    What else you are expecting to change?? You can't change the system status by any business transaction as per your wish. System status changes have been defined by SAP directly.

  • How to see system status in spro. How to assign business transaction to user status.

    Hi All,
    How to see system status in spro. can we change system status in spro for maintenance order.kindly share.
    Also share how can we assign business transaction to user status for maintenance order

    Peter,
    You cannot see the system-status in SPRO.
    You can view the system-statuses via BS23.
    Be warned - it is NOT advisable to change the system-status setting as you may screw-up your system. Remember that many statuses are used across multiple objects and multiple modules.
    PeteA

  • Set System status in CRM

    Hi ,
    This is requirment
    Based on the guid & status the FM CRM_STATUS_MAINTAIN_OW would update the order user status as approved/not approved & the system status as u201CDistribution locku201D.
    As per the above requirement how to set the system status? please guide me
    Thanks,
    Sen
    Edited by: sentchan on Apr 14, 2010 8:54 PM

    Hi Wiktor,
      Look at Changing system status depending on user status maybe it helps.
    Regards.
    Manuel

  • System Status update

    I am tyring to change user status to "X" in an action expecting system should change system status to "Rel" and "Activate"
    the config is if we set to "X"  system status will be "Rel" and once "Rel" it should set to Activate. This is success sometimes and sometimes it will be "Rel".
    Even if we repeat the action, it still doesnt work. However if we re-open and trigger the action, then it will work.
    Can we explicitly change system status in an action. will there be any issue. Are we missing something..

    Actually, in SPRO, it shows as "Released" status, however when i re-open and then call action to set to "X" then i see two system status "Rele" and "Act",
    if i dont re-open and if i trigger actioon when it is "X' and when we try to set to "X" again through action, then no change.
    is there any issue in action... ?...

Maybe you are looking for

  • MOVED: need help with finding gpu for win 7

    This topic has been moved to MSI Notebook. https://forum-en.msi.com/index.php?topic=128552.0

  • Getting video from friend's dvd

    I wanted to get some footage from a friend's dvd and convert it to then edit in FCP. Is there a how-to somewhere? I have a MB Pro, 2.33, FCS 2.

  • How to display 2560x1080 on external monitor from MBP or MBA?

    Is there any way to make MBP 17 (Intel HD and nVidia GT graphics, SnowLeo) or MBA 13 (Mountain Lion) display 2560x1080 on external monitor (LG 29" ultrawide)? My MacPro with RadeonX1900 card (10.5.8) does it perfectly but I cannot find a way to get t

  • Blackberry wireless headset HS-500

    could some one please please please let me know where I can get a replacement ear loop for  my HS-500 headset David Black

  • Keynote no longer updates on ipad?

    I am getting a message from iTunes that Keynote (and the rest of iWork) cannot be installed on my iPad.  I have resisted upgrading to IOS 5 because apparently it trashes the older sim card readers in both the 3 GS and original iPad (which is what I h