‎2008 Nov 28 4:10 AM
Hi Experts,
R/3 system is receiving data through an IDOC called WPUUMS[sales data]. It has been seen that when this data is posted in R/3 through XI the data gets reflected in WE02 / WE05, and is similar to when a manual entry is done the transaction WPUK. But the difference is , when manual idoc generation is done, it is updating correct data in database, but when same data is posted from XI, it is updating data base with in correct data!
what I cant get to understand is in both the cases, IDOC is posted, and same data is there in the DATA records, but database is getting upated with diff data.
Also , when I am putting a break point on the inbound function module IDOC_INPUT_POS_SALES_ACCOUNT, it is not hitting the break-point but idoc gets generated successfully with status records like
53 Application Document posted
62 Idoc Passed to application
64 Idoc ready to be transferred to application
50 Idoc added.
Also , i want to know, wether these messeges come step by step or randomly, because, why is the messege 62, before messege 64.
Lastly when I am taking the same IDOC and trying the same in WE19, then it hits the break-point function module IDOC_INPUT_POS_SALES_ACCOUNT successfully.
Experts, comments pls.!
Regards,
Arnab.
‎2008 Nov 28 4:18 AM
Hi,
You are supposed to read the ststus messages from bottom to top. So the actual sequence is:
50 Idoc added.
64 Idoc ready to be transferred to application
62 Idoc Passed to application
53 Application Document posted
Which is correct.
And it is correct that the system bypasses any breakpoint in the background mode. So when the IDoc is coming from XI the posting FM IDOC_INPUT_POS_SALES_ACCOUNT is called in background and so the breakpoint is not called.
Only way to debug the problem is via transaction WE19 in Debug mode.
Regards,
Prakash Pandey
‎2008 Nov 28 5:08 AM
Hi,
thanks for the reply. Yes, I agree WE19 is the right method.
Also I agree that when it comes from XI , it updates in background, so we cannot see it in debugging mode.
But I dont undersatnd why is it that when the functional consultant is manuallly creating the IDOC, in WPUK, it is not hitting the break-point.
Pls feel free if u need clarifications/ any other informations.
Regards,
Arnab
‎2008 Dec 09 4:03 AM
It was my mistake. The breakpoit was applied after the WPUK transaction was opened, ideally it should be applied before we open the WPUK transaction
Thnaks to all!!