cancel
Showing results for 
Search instead for 
Did you mean: 

Create Notification via BAPI_QUALNOT_CREATE, with REF_EXT

Former Member
0 Kudos

hi experts,

I wanna create a notification via BAPI_QUALNOT_CREATE. The creation is successful except the field REF_EXT, which represent external reference no., not input into the notification. I learned that to input the external refer. no, those fields as below must be filled.

BAPI2078_NOTHDRI-REFOBJECTTYPE

BAPI2078_NOTHDRI-REFOBJECTKEY

BAPI2078_NOTHDRI-REFRELTYPE

and table KEY_RELATIONSHIPS must be produced.

I tried below code but failed.

<code>

select single logsys from t000 into BAPI_SENDER where mandt = sy-mandt.

BAPI2078_NOTHDRI-REFOBJECTTYPE = 'BUS2078'.

BAPI2078_NOTHDRI-REFOBJECTKEY = 'ExternalRef'.

BAPI2078_NOTHDRI-REFRELTYPE = 'REFZ'.

KEY_RELATIONSHIPS-REFOBJECTTYPE = 'BUS2078'.

KEY_RELATIONSHIPS-REFOBJECTKEY = 'ExternalRef'.

KEY_RELATIONSHIPS-REFRELTYPE = 'REFZ'.

append KEY_RELATIONSHIPS.

</code>

REFRELTYPE = 'REFZ' is copied from BAPI_QNALNOT_CREATE document.

would someone show me what's wrong with this code?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member353207
Participant
0 Kudos

Hi

i'm facing the same problem, did you find a solution ?

regards Joerg