Skip to Content

BAPI/FM/RFC for Notification create using Tx: IQS1

Hi Experts,

Can you please suggest me which RFC/BAPI/FM supports transaction IQS1(Create Notification)

In Our System, we maintained the below notification types.

In DBM, there are three notification types.

  • D1 S Sales Activity
  • D2 C Complaint
  • D3 D Vehicle Damage Report (only used for the trade-in process)

For Example for Notification Type 'D1', Notification Category is '05'..I tried with BAPI, "BAPI_ALM_NOTIF_CREATE", but it is accepting only '01','02','03' notification Categories.

Please provide me suitable RFC/BAPI or suggest me accordingly.

Thanks,

Syam

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 16, 2014 at 11:28 AM

    Hi Syam,

    Did you check BAPI_SERVNOT_CREATE?

    Thanks,

    Sharath

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Syambabu Allu

      I solved the problem with:

      REPORT ZAVISO_TYPED1.

      DATA: LT_QMEL TYPE STANDARD TABLE OF QMEL,

      ST_QMEL LIKE LINE OF LT_QMEL,

      LT_QMFE TYPE STANDARD TABLE OF QMFE,

      ST_QMFE LIKE LINE OF LT_QMFE,

      I_RIQS5 LIKE RIQS5,

      ST_E_VIQMEL LIKE VIQMEL,

      LT_I_INLINES_T TYPE STANDARD TABLE OF RFC_TLINE,

      ST_I_INLINES_T LIKE LINE OF LT_I_INLINES_T,

      LT_I_VIQMFE_T TYPE STANDARD TABLE OF RFC_VIQMFE,

      ST_I_VIQMFE_T LIKE LINE OF LT_I_VIQMFE_T,

      * E_KEYS TYPE STANDARD TABLE OF RFC_KEY,

      LT_RETURN TYPE STANDARD TABLE OF BAPIRET2,

      LV_QMNUM TYPE QMEL-QMNUM.

      BREAK-POINT.

      LV_QMNUM = '000500000071'.

      SELECT * INTO TABLE LT_QMEL

      FROM QMEL

      WHERE QMNUM = LV_QMNUM.

      SELECT * INTO TABLE LT_QMFE

      FROM QMFE

      WHERE QMNUM = LV_QMNUM.

      READ TABLE LT_QMEL INTO ST_QMEL INDEX 1.

      IF SY-SUBRC = 0.

      I_RIQS5-QMART = ST_QMEL-QMART.

      I_RIQS5-SPART = ST_QMEL-SPART.

      I_RIQS5-VKORG = ST_QMEL-VKORG.

      I_RIQS5-VTWEG = ST_QMEL-VTWEG.

      I_RIQS5-VKBUR = ST_QMEL-VKBUR.

      I_RIQS5-VKGRP = ST_QMEL-VKGRP.

      I_RIQS5-QMTXT = ST_QMEL-QMTXT.

      I_RIQS5-STRMN = ST_QMEL-STRMN.

      I_RIQS5-STRUR = ST_QMEL-STRUR.

      I_RIQS5-ARBPLWERK = ST_QMEL-ARBPLWERK.

      I_RIQS5-QMGRP = ST_QMEL-QMGRP.

      I_RIQS5-QMCOD = ST_QMEL-QMCOD.

      ENDIF.

      ST_I_INLINES_T-REFOBJTYP = 'QMEL'."

      ST_I_INLINES_T-TDLINE = 'Prueba Texto del vehiculo'.

      APPEND ST_I_INLINES_T TO LT_I_INLINES_T.

      LOOP AT LT_QMFE INTO ST_QMFE.

      ST_I_VIQMFE_T-FENUM = ST_QMFE-FENUM.

      ST_I_VIQMFE_T-FEKAT = ST_QMFE-FEKAT.

      ST_I_VIQMFE_T-FEGRP = ST_QMFE-FEGRP.

      ST_I_VIQMFE_T-FECOD = ST_QMFE-FECOD.

      ST_I_VIQMFE_T-POSNR = ST_QMFE-POSNR.

      ST_I_VIQMFE_T-FEQKLAS = ST_QMFE-FEQKLAS.

      ST_I_VIQMFE_T-KZMLA = ST_QMFE-KZMLA.

      APPEND ST_I_VIQMFE_T TO LT_I_VIQMFE_T.

      ENDLOOP.

      BREAK-POINT.

      CALL FUNCTION 'IQS4_CREATE_NOTIFICATION'

      EXPORTING

      I_RIQS5 = I_RIQS5

      I_POST = 'X'

      I_REFRESH_COMPLETE = 'X'

      I_CHECK_PARNR_COMP = 'X'

      IMPORTING

      E_VIQMEL = ST_E_VIQMEL

      * E_RIWO03 =

      TABLES

      I_INLINES_T = LT_I_INLINES_T

      I_VIQMFE_T = LT_I_VIQMFE_T

      RETURN = LT_RETURN

      .

      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

      EXPORTING

      wait = 'X'.

      BREAK-POINT.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.