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: 

Error while executing Bapi_Alm_Order_Maintain...

Former Member
0 Kudos

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

Former Member
0 Kudos

Try adding following line in IT_METHODS after OPERATION.

RefNumber ObjectType Method ObjectKey

1 SAVE %00000000001

Reward points for all the helpful answers.

2 REPLIES 2

Former Member
0 Kudos

Try adding following line in IT_METHODS after OPERATION.

RefNumber ObjectType Method ObjectKey

1 SAVE %00000000001

Reward points for all the helpful answers.

0 Kudos

Pratiksha,

I solved it my own.

Anyhow for your reply I give you 10 points.

Thanks

Sundar