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

Error while executing Bapi_Alm_Order_Maintain...

Former Member
0 Likes
1,629

Hi All,

I'm getting this error while executing Bapi_Alm_Order_Maintain.

"BAPI call-up must have a SAVE or DIALOG method"

The following is the input data structures:

IT_METHOD

RefNumber ObjectType Method ObjectKey

1 HEADER CREATE %00000000001

1 OPERATION CREATE %00000000001

IT_HEADER

OrderId Order_Type Short_Text Priority Mn_Wk_Ctr Wbs_Elem

%00000000001 ZWO1 Test 3 1010 00000101

IT_OPERATION

Activity Sub_Activity Description Work_Cntr Plant Control_Key

0010 0010 Test TS-1074 ZWO1

What I need to do to create a work order transaction?

Thanks

Sundar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,532

Try adding following line in IT_METHODS after OPERATION.

RefNumber ObjectType Method ObjectKey

1 SAVE %00000000001

Reward points for all the helpful answers.

5 REPLIES 5
Read only

Former Member
0 Likes
1,533

Try adding following line in IT_METHODS after OPERATION.

RefNumber ObjectType Method ObjectKey

1 SAVE %00000000001

Reward points for all the helpful answers.

Read only

0 Likes
1,532

Pratiksha,

I solved it my own.

Anyhow for your reply I give you 10 points.

Thanks

Sundar

Read only

sath_131108
Explorer
0 Likes
1,466

Hi,

How did you solve the issue. Please Let me Know.

Thanks & Regards,

Sathish

 

Read only

0 Likes
1,440

Asking a user who is no longer active (former user) what he did 17 years ago, very optimistic?

  • In this case, it could have been better to ask a new question in Q&A,
  • BUT the question is already answered.
Read only

sath_131108
Explorer
0 Likes
1,427

Hi Raymond,

Sorry, new to the forum. I have found the solution. Have few other queries will ask a new question.

Thanks.