‎2009 Oct 01 7:35 AM
Dear All,
I am creating a Quality Notification using the BAPI_QUALNOT_CREATE with reference to and existing notification no.
I have passed the following fields in the header and the table key_relationship.
wa_notifheader-refobjecttype = 'BUS2078'.
wa_notifheader-refobjectkey = i_viqmel-qmnum. "Parent Notification
wa_notifheader-refreltype = 'REFZ'.
and have passed the all the other required data.
The notification is created successfully, but the relation is not established between the Parent and the new notification and the field QWRNUM is not populated.
CALL FUNCTION 'BAPI_QUALNOT_CREATE'
EXPORTING
notif_type = lv_notif_type
notifheader = wa_notifheader
sender = lv_bapi_sender
IMPORTING
notifheader_export = wa_notifheader_export
TABLES
notitem = it_notitem
notifcaus = it_notifcaus
notifactv = it_notifactv
notiftask = it_notiftask
notifpartnr = it_partner
longtexts = it_longtexts
key_relationships = it_keyrelation
return = it_notif_return.Please help.
regards,
Jinson
‎2009 Oct 01 10:06 AM
Hi,
have a look at documentation for this BAPI. It looks like you have to fill field SENDER as well.
transferred in the export table KEY_RELATIONSHIP. If the fields SENDER,
REFOBJECTTYPE, and REFRELTYPE are filled, an object relationship can be
created at notification header level.
Cheers
‎2009 Oct 01 12:11 PM
>
> Hi,
>
> have a look at documentation for this BAPI. It looks like you have to fill field SENDER as well.
>
>
> transferred in the export table KEY_RELATIONSHIP. If the fields SENDER,
> REFOBJECTTYPE, and REFRELTYPE are filled, an object relationship can be
> created at notification header level.
>
>
> Cheers
Dear Martin,
Thankyou for the reply.
I am already passing the current logical system as the SENDER.
But even then the relation is not getting created.
Thanks,
Jinson
‎2013 Mar 28 5:49 AM
Hello Jinson,
I am facing the same issue as you did.
Do you get any solution for it? Please let me know if you solve your problem. Thank you!
regards,
CAI