Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How do we create/update QMEL-REFNUM during quality notification

0 Likes
2,270

Hello,

I have a scenario to create quality notification(QM01) and the BAPI used to create is ' BAPI_QUALNOT_CREATE'. But this BAPI doesnot have the option to pass the reference number(REFNUM) to it.

Any idea on this how to create or update the QMEL-REFNUM

Thanks in advance.

Regards,

Loga

1 ACCEPTED SOLUTION
Read only

0 Likes
1,373

Hi All,

Resolved this issue by implementing BADI NOTIF_EVENT_SAVE, method CHANGE_DATA_AT_SAVE.


While saving the quality notification we use the BAPI 'BAPI_QUALNOT_SAVE'. This BAPI triggers 'NOTIF_EVENT_SAVE' BADI. By implementing this BADI, the above issue got resolved.

Regards,

Loga

Hello,

I have a scenario to create quality notification(QM01) and the BAPI used to create is ' BAPI_QUALNOT_CREATE'. But this BAPI doesnot have the option to pass the reference number(REFNUM) to it.

Any idea on this how to create or update the QMEL-REFNUM

Thanks in advance.

Regards,

Loga

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,373

You could try the same solution than in KBA  1667389 - The BAPI_QUALNOT_CREATE does not

include the field MALFUNCTION DATE. using BAdI NOTIF_EVENT_SAVE ?

Regards,

Raymond

Read only

0 Likes
1,374

Hi All,

Resolved this issue by implementing BADI NOTIF_EVENT_SAVE, method CHANGE_DATA_AT_SAVE.


While saving the quality notification we use the BAPI 'BAPI_QUALNOT_SAVE'. This BAPI triggers 'NOTIF_EVENT_SAVE' BADI. By implementing this BADI, the above issue got resolved.

Regards,

Loga