2013 Nov 14 4:47 AM
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
2013 Nov 14 5:23 AM
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
2013 Nov 14 5:02 AM
Check when it is calling BAPI_ALM_ORDER_MAINTAIN ,
the tables IT_OPERATION and IT_TEXT are correctly populated...
2013 Nov 14 5:21 AM
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.
2013 Nov 14 5:23 AM
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
2013 Nov 15 12:02 PM
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