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 in CALLFUNCTION 'IBAPI_PROC_METHOD_TABLE_EXEC'

Former Member
0 Likes
1,596

hello experts,

1. I am stuck in this critical issue. My functional consultant is having a problem with 52 status idoc - indicating as( Error in updating  the standard text key to  AC02N)..see fig-1

2. So when i debugged the zfunctionModule in that the standard function module BAPI_ALM_ORDER_MAINTAIN was giving me error mesg in return statement saying:(see fig 2)

3. Next i debugged the std FM BAPI_ALM_ORDER_MAINTAIN , there at one point  in the

CALLFUNCTION'IBAPI_PROC_METHOD_TABLE_EXEC' , sy-subrc  picks up value as 3 and showing me the mesg IW0_BAPI2 113. (See fig 3.)

4. I read all the posts, but  still no clue of why i am getting this.......what could be the reason, how it can be rectified.

Should i apply snotes to this?

<removed by moderator>..... BElow are the 3 images

Regards

Sona

fig-1:

fig-2

fig-3

plz help me out

Message was edited by: Matthew Billingham

Message was edited by: Matthew Billingham

1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,363

You are trying to change an order operation 0010 which does not exist. Did you check in the transaction whether it has this operation or not.. If not then you know the reason

4 REPLIES 4
Read only

Former Member
0 Likes
1,363

Check when it is calling BAPI_ALM_ORDER_MAINTAIN ,

the tables  IT_OPERATION and IT_TEXT are correctly populated...

Read only

Former Member
0 Likes
1,363

Hi,

The best approach would be to put a breakpoint in IBAPI_PROC_METHOD_TABLE_EXEC to check where the ERROR_IN_PROCESSING is raised

In the function module,the exception is raised on many occassions and as a generic message.So the exact source of exception needs to be pinpointed with more debugging which will give the right indicator to the root cause of the error.

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,364

You are trying to change an order operation 0010 which does not exist. Did you check in the transaction whether it has this operation or not.. If not then you know the reason

Read only

Former Member
0 Likes
1,363

Hi experts,

thanks for your timely guidance, its resolved now.

wa_methods-objecttype = 'OPERATION'. , here the value should get chnanged to 'HEADER'

bcz i am trying to update the std text key in a line item, so i should pass the object type correctly.

Regards

Sona