cancel
Showing results for 
Search instead for 
Did you mean: 

Custom fields with BAPI_QUALNOT_CREATE and BAPI_QUALNOT_MODIFY_DATA

Former Member
0 Kudos

I added custom fields to QM Notifications with enhancement QQMA0001. They work fine with QM01, QM02 and QM03.

Now I need to create and change Notifications with an interface; including the custom fields.

Is there a way to populate custom fields with the QM Notification BAPI's?

BAPI_QUALNOT_CREATE

BAPI_QUALNOT_MODIFY_DATA

If no, are there other function modules that will do this?

Regards,

Mark

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

My solution was to create the Notification with BAPI_QUALNOT_CREATE without the custom fields, then do a CALL TRANSACTION to QM02 to populate the custom fields.

Sequence is:

1) Call BAPI_QUALNOT_CREATE

2) Call BAPI_QUALNOT_SAVE

3) Call BAPI_TRANSACTION_COMMIT

4) Call Transaction QM02

Regards,

Mark

Former Member
0 Kudos

Hello,

I was struggling with this exact problem and came cross a solution that may help.

1. Enhance the table QMEL in the CI_QMEL with customer fields

2. Append the structure riqs5 with the same fields

3. Call IQS4_CREATE_NOTIFICATION/IQS4_MODIFY_NOTIFICATION instead of standard BAPIs

It works for me.

Regards,

Charlie

Former Member
0 Kudos

Hi charlie,

I have similar requirement and I see that the above said FMs work well, however these FMs have not been released by SAP yet. And it may effect if SAP discards it later in upgrade so do you have any other solution for the same?

Thanks,

Ahmed

Former Member
0 Kudos

Hi Ahmed,

I am afraid I dont have solution to use released FMs in this case. We have no plan to upgrade our system so it is not my concern.

regards,

Charlie