Skip to Content

Need to change status in IE02/IQ02

Hi Sap Gurus,

I need to update equipment status as inactive & delete. So am using function module STATUS_CHANGE_INTERN_VB & its working fine but it don't have exceptions to handle error messages & even sy-subrc getting 0 if it fails also. So request you to please suggest me how to handle this scenario?

Or is there any BAPI to update status in IE02?

Thanks,

Shabarees

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 15, 2017 at 12:21 PM

    This FM is an ‘update task’ FM, mostly Open-Sql statements, not much check, so no to be called in customer development..

    So best solution would be a BAPI (easy to find with any search tool) and when none available or without required parameter some ‘dialog’ FM like STATUS_CHANGE_INTERN/EXTERN after analysis of the application behavior and if BDC no longer suitable.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 15, 2017 at 01:24 PM

    Check SAP-KBA 2215722 "Status and user status for equipment and functional location (BAPIs)" : link

    • IBAPI_EQUI_SET_INACTIVE
    • IBAPI_EQUI_SET_DELETIONFLAG


    See if these can help you out ...


    Kind regards

    Nic T.

    Add comment
    10|10000 characters needed characters exceeded