Application Development 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: 

Assign of Service order to Service Notification using BAPI_ALM_NOTIF_CREATE

Former Member
0 Kudos

Dear Guru's,

I am using BAPI_ALM_NOTIF_CREATE for creation of Notification.

Then BAPI_SERVNOT_SAVE & At last BAPI_TRANSACTION_COMMIT.

Notification is getting created .

But I want to assign the service order to this notification. ( IW52 ).

The Service order is getting generated background , while creating a inquiry.

I have tried with the filing the data of REFOBJECTTYPE = 'BUS2088'.

REFOBJECTKEY = ' 003120007' &

REFRELTYPE. = 'ASGN'.

But it is not getting assigned.

Needed Help.

Regards,

Amitav

6 REPLIES 6

Former Member
0 Kudos

Have you tried passing service order number to import parameter ORDERID in the same BAPI?

Regards,

Aparna .

0 Kudos

Hi Aparna ,

After Filling up the ORDERID , the notification number is not getting generated.

which are all parameters to be passed...

Regards,

Amitav

0 Kudos

There are no specific things mentioned in BAPI documentation regarding 'ORDERID'. So even I can not say anything.

What error is returned after BAPI execution?

Regards,

Aparna.

0 Kudos

Document flow not updating .

0 Kudos

Dear Guru's,

Is there any solutions for this. ????

I want to assign the service order ( iw32 ) while creating a service notification ( iw52 ).

I ahave tried with BAPI_ALM_NOTIF_CREATE ,

By passing ORDERID = service order

Notification type : 'Z1'.

Filled up notification header data , Partner data and longtext data .

I am able to to a notification number.

Then i am using BAPI_SERVNOT_SAVE BY PASSING notification header_exp - notif no.

After this function module ( BAPI_SERVNOT_SAVE ) , notification number. is getting cleared.

,

Have also tried with BAPI_TRANSACTION_COMMIT. .

There is no error message also appering.

It is not getting stored in DB.

Can any body will tell the paraneters to be filled for the BAPI's.

Regards,

Amitav

Former Member