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

Problem Creating Order Using BAPI_ALM_ORDER_MAINTAIN

Former Member
0 Likes
2,347

Hi Experts,

I am facing issue while creating order using mentioned BAPI.

Here is the list of inputs i am giving :

Methods :

Operation and Corresponding Flags in Operation_UP

Header and Corresponding HEADER_UP:

Output :

I am getting the order number created but with a new notification number.

I don't want the notification to be created, instead i want the order to be assigned with the existing notification number.

Can anyone please suggest to fit in my requirements.

Thanks

Shashank

6 REPLIES 6
Read only

custodio_deoliveira
Active Contributor
0 Likes
1,702

Hi,

Are you passing your notification number in  IT_HEADER-NOTIF_NO? Also, try method CREATETONOTIF instead of CREATE, for OBJECTTYPE HEADER

Regards,

Custodio

Read only

0 Likes
1,702

Hi Custodio,

Yes i passed notification number in  IT_HEADER-NOTIF_NO and tried changing the method name too.

But still i can see a new notification number created.

Thanks

Shashank

Read only

0 Likes
1,702

Humm... My next try would be passing NOTIF_NO in  IT_OBJECTLIST.

Read only

0 Likes
1,702

Doing this i can create a new order and can link the same with the existing one . But at the same time its creating a new notification.

Missing a minute thing 😞

Read only

arno2
Discoverer
0 Likes
1,702

It is not standard to create a new notification with a new work order. Is there perhaps an enhancement or some sort of configuration that your company has done that would be creating these notifications?

Read only

Former Member
0 Likes
1,702

The requirement is to assign an order to existing notification.

The t-code for this is iw22.

Not sure if the BAPI ORDER_MAINTAIN will suffice this purpose.