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_ALM_ORDER_MAINTAIN - avoiding Notification creation

Former Member
0 Likes
1,522

Hi Experts,

I am able to create a Work Order using BAPI_ALM_ORDER_MAINTAIN. It is creating a new Notification by default.

Even if I pass Notification number to the Object list it is creating a new notification along with the Notification number passed.

Is there any way that we can avoid creating the Notification?

Please advice.

Thanks in Advance.

-Chandra

10 REPLIES 10
Read only

Former Member
0 Likes
1,201

hai chandra,

it is bcos ur notification number is internal number

so whenever u pass external number it will create a new internal number within range defined for it

and it will return both internal and external numbers

to avoid that the control key has to be configured for external numbering which is funcitonal configutarion

m.a

Read only

0 Likes
1,201

Thank you Afzal.

Well, what exactly I am trying to do is to replicate the process of iw34(Creating Work Order with reference to Notification)

So, the notification number I'm passing is already created.

I'm not passing any external number.

Thanks,

Chandra

Read only

0 Likes
1,201

Hi Chandra,

Were you able to create and Order that references a Notification?

Kind Regards,

Danny

Read only

0 Likes
1,201

Hi Chandra,

were you able to create Service order with reference to notification.

if do so, could you please let me know.

I too have the same problem.

Thanks and regards,

Venkat.

Read only

0 Likes
1,201

Hi Venkat,

I could not find the solution to use the BAPI to create an Order for Notification.I ended up using the bapi to Notification the Order and using the BDC to create an order with reference to the Notification. This was the only solution i could come up with at the time.

Hope it helps!

D

Edited by: Danny Molepo on Nov 16, 2009 9:28 AM

Read only

0 Likes
1,201

Hi Chandra,

Were you able to replicate IW34 using the bapi BAPI_ALM_ORDER_MAINTAIN. Iam passing the nofification number in the HEADER and OBJECTLIST structures. Order is created but not referenced to the notification. Could you please provide details on how you created order with refernce to notification

Lucky

Read only

0 Likes
1,201

Hi,

Please check whether you have passed the method:CREATETONOTIF (Create with reference to a notification) to the IT_METHODS table. please go through the documentation of that BAPI. it will give you much information.

Hope it helps you.

Regards,

Venkat.

Read only

Former Member
0 Likes
1,201

Hi, I on the contrary, would like to have the notification created automatically when an order was created.

But wasn't able to do so with BAPI_ALM_ORDER_MAINTAIN.

Have I missed out something?

Any advice will be greatly appreciated.

Read only

0 Likes
1,201

Hi Vnkotb,

are you able to create Service order based on the notification.

if so could you plz suggest me how.

I too have the same requirement and facing the same problem.

Thanks in advance.

Venkat.

Read only

0 Likes
1,201

Hi Venkat,

In my case, I wanted to have the notification automatically created when the order was created. However, I wasn't successful using the BAPI.

To get around this, I created the order using the BAPI and then called a BDC to edit the order I just created and saved it.

Then the notification was created.

Regards,

VNKOTB