Skip to Content
avatar image
Former Member

Any Interface for transaction IQ01

Hi All ,

I want to create an ISU Meter equipment in a report program.

I used the BAPI interface BAPI_EQUI_CREATE. I see that the BAPI is very different from the IQ01 Material Serial Number Creation.

The BAPI does not have the option to pass the Register Group, Inspection Relevant Field, Initial Meter Reading value and Date etc... which are specific to Utilitites.

The BAPI also do not create an entry in table EGERH which is ISU Device Master Record.

The BAPI also do not create a initial meter reading record as when done from IQ01 due to lack of fields for Initial Meter Reading value and date.

Can anyone suggest any kind of method by which I can create a TRUE ISU Meter equipment with all the standard data that would have been created when using IQ01.

Regards,

Arun Devidas

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 17, 2009 at 01:12 PM

    Hi Arun,

    I have created the device through MDT. You pls follow the same step told by Minal. It should work

    Regds,

    Debraj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 07, 2009 at 06:50 PM

    Hello,

    There is object type DEVICE (SWO1) with the following methods:

    -> Device.CreateFromData (Create Equipment Master Record)

    -> Device.Create (Create Equipment Master Record)

    -> Device.CreateISU (Create IS-U: Modification for IS-U)

    Please check whether you can use method Device.CreateISU for your

    requirement.

    I hope this is of some help.

    Regards

    Olivia

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Srinivas Adavi

      I could not see the field to input the construct year, inspection relevant, and meter reading data in main screen using the master data template. Also we do not have place to enter the plant and storage location for serial (SerData TAB) in master data template.

  • avatar image
    Former Member
    Apr 14, 2009 at 05:44 AM

    Hi,

    You can create MDT (Master data template) with subobject as DEVICE_INFO

    to incorporate this functionality. Transaction to create MDT is EPRODCUST and you need to activate all the fields which you are going to pass to create data. Then you can call FM ISU_PRODUCT_IMPLEMENT to create device. You need to polpulate X_CONTAINER with all the fields which you have activated in MDT.

    Hope this helps...

    - Minal

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      WE also do not have field to input the construct year, inspection relevant, and meter reading data in main screen. Also we do not have place to enter the plant and storage location for serial (SerData TAB)

  • Sep 02, 2010 at 03:13 PM

    Hi Arun,

    Since I didn't find any solution on BAPI I had to create it by my own based on the Standard code on IQ01. Basically you need to popullate EQUI, EQUZ, EQKT, V_EQUI and V_EGER structures manually with all you input data. Please refer to the form EQUIPMENT_SAVE on INCLUDE MIEQ0F90 (program SAPMIEQ0). Put atention on the function modules called in there to create the object Status (STATUS_OBJECT_CREATE, SET_TEXT_OBJECT), then on how to get the equipment number automatically with function module GET_NUMBER_NEXT, and then the CALL FUNCTION 'EQUIPMENT_SAVE' with all the structures popullated and very *important*, after calling that function and before the COMMIT WORK, you HAVE to CALL FUNCTION 'ISU_DB_V_EGER_UPDATE' in order to create the IS-U info for your equipment.

    That's a brief description of what a did, so I hope it provides a tip for anyone else.

    Regards,

    bc

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You can record an BDC and generate an RFC FunctionModule from this. This should work fine, it seems the easiest way

      Regards,

      B├╝lent Cakir