2014 Jan 16 11:39 AM
unable to create customer service notification as i m going to debug the program it is still not working as debugger is not entering into the fm
IQS4_CHECK_NOTIF_TYPE_PM_CS do suggest ?
unable to create customer service notification as i m going to debug the program it is still not working as debugger is not entering into the fm
IQS4_CHECK_NOTIF_TYPE_PM_CS do suggest ?
2014 Jan 16 1:05 PM
2014 Jan 16 1:12 PM
Hi Upkar,
if you have not got even a single reply, why you have marked as assumed answer,
if you will do like this, people will think that it has been already answered.
And no one will look around this.
2014 Jan 17 6:26 AM
actually it was done by mistake, working on it debuger goes out of it it does not enters into the
fm IQS4_CHECK_NOTIF_TYPE_PM_CS it directly comes out of it??
2014 Jan 17 6:34 AM
Hi Upkar,
Are you using the BAPI BAPI_ALM_NOTIF_CREATE?
The FM is under enhancement point have you seen this?
2014 Jan 17 6:36 AM
Hi Upkar,
please put a break point on return or on any other parameters, and execute
see it stops or nor, let me know ( i ahve used these parameters, you may have more than this
so put break point on any parameters in exporting / tables)
CALL FUNCTION 'IQS4_CHECK_NOTIF_TYPE_PM_CS' "
EXPORTING
i_qmart = viqmel-qmart
i_qmnum = viqmel-qmnum
TABLES
return = bapiret2.
.
2014 Jan 17 6:54 AM
after debugging the debogger directly goes into the below screen.
it is not going into fm to crete notification
2014 Jan 17 7:00 AM
Hi,
It is triggering for me!
Hi put the external break point inside the function module and try!
2014 Jan 17 7:09 AM
Hello Upkar,
how are you putting break point, i have debugged the same , see in screenshot
2014 Jan 22 8:28 AM
hi
here are the codes
DATA: EXTERNAL_NUMBER TYPE QMNUM.
DATA: NOTIF_TYPE TYPE QMART.
************************************************************************
* Intrnal Table Declaration *
************************************************************************
DATA: it_nothdri TYPE STANDARD TABLE OF bapi2080_nothdri WITH HEADER LINE,
it_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE,
it_nothdre TYPE STANDARD TABLE OF bapi2080_nothdre WITH HEADER LINE,
it_notfulltxti TYPE STANDARD TABLE OF bapi2080_notfulltxti WITH HEADER LINE,
it_notitemi TYPE STANDARD TABLE OF bapi2080_notitemi WITH HEADER LINE,
it_notcausi TYPE STANDARD TABLE OF bapi2080_notcausi WITH HEADER LINE,
it_notactvi TYPE STANDARD TABLE OF bapi2080_notactvi WITH HEADER LINE,
it_notifpartnr TYPE STANDARD TABLE OF bapi2080_notpartnri WITH HEADER LINE.
data: g_type LIKE bapi2080-notif_type.
PERFORM call_bapi.
*&---------------------------------------------------------------------*
*& Form CALL_BAPI
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM call_bapi .
DATA ls_notifheader TYPE bapi2080_nothdre.
*Call BAPI to create Notification
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
EXPORTING
* EXTERNAL_NUMBER =
notif_type = g_type
notifheader = it_nothdri
* TASK_DETERMINATION = ' '
* SENDER =
* ORDERID =
IMPORTING
notifheader_export = it_nothdre
TABLES
notitem = it_notitemi
* notifcaus = it_notcausi
notifactv = it_notactvi
* NOTIFTASK =
notifpartnr = it_notifpartnr
longtexts = it_notfulltxti
* KEY_RELATIONSHIPS =
return = it_bapiret2.
*Save Notification
CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
EXPORTING
number = it_nothdre-notif_no
IMPORTING
notifheader = ls_notifheader
* TABLES
* RETURN =
.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
.
ENDFORM. " CALL_BAPI
notification is not created by these.
2014 Jan 17 6:44 AM
2014 Jan 17 8:30 AM
hi sanjeev
that is what i m saying dat notification is not created as if notification type is 04 but there is no notification created as for the purpose of which we are using bapi
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |