on 01-15-2013 7:30 AM
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?
Hi
i'm facing the same problem, did you find a solution ?
regards Joerg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.