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

BAPI FOR QM01

bastinvinoth
Contributor
0 Likes
3,308

Hi all,

i'm trying to create notification(QM01) through BAPI_QUALNOT_CREATE.

but am getting the following error.

Partner maintenance: Mandatory function AG was not maintained for object.

NOTIFPARTNER what are all the things i have to maintain in that particular internal table ?

function module documentation didnt cover this one

anyone already tried with this BAPI means, please share with your sample code.

Regards,

Bastin.G

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,859

So your customizing made ​​the entry of such a partner mandatory.

Partner maintenance: Mandatory function AG was not maintained for object.

Didn't you notice the NOTIFPARTNR parameter, the structure should be easy to understand, inthe worst case perform some tests on an already created notification with BAPI_QUALNOT_GETDETAIL and anlyze returned NOTIFPARTNR or analyze source of MAP2I_BAPI2078_NOTPARTNRI_IHPA / MAP2E_IHPA_BAPI2078_NOTPARTNRI.

Regards,

Raymond

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,860

So your customizing made ​​the entry of such a partner mandatory.

Partner maintenance: Mandatory function AG was not maintained for object.

Didn't you notice the NOTIFPARTNR parameter, the structure should be easy to understand, inthe worst case perform some tests on an already created notification with BAPI_QUALNOT_GETDETAIL and anlyze returned NOTIFPARTNR or analyze source of MAP2I_BAPI2078_NOTPARTNRI_IHPA / MAP2E_IHPA_BAPI2078_NOTPARTNRI.

Regards,

Raymond

Read only

0 Likes
1,859

hello raymond,

Thanks for the reply.

here ,now we made as customer partner function is not mandatory while creating notification in QM01 by SPRO settings.

so in bapi , that RETURN internal table doesn't have any error messages,it shows empty only,after

that i m running BAPI_TRANSACTION_COMMIT also.there is no error n at all.

but notification number is not generating.

Input am passing Notification Type, Sales order No, Item no. that's it.

i dont know why notification is not create ?????

Regards,

Bastin.G

Read only

0 Likes
1,859

If no RETURN error message is returned, did you check on late errors, update task, in transaction SM13 ?

(I suppose you read BAPI documentation and called BAPI_QUALNOT_SAVE before COMMIT )

Regards,

Raymond

Read only

0 Likes
1,859

BAPI_QNOTIFICAT_CREATE

is the correct one.

thanks raymond for your instant reply