2008 Aug 13 5:40 PM
Hi,
I have configured an inbound IDOC of basic type ORDERS05. To process this I am using a custom function module which again calls the standard function module IDOC_INPUT_ORDERS. I am trying to create a dummy IDOC through the transaction WE19. If I process the input data through the custom function module by clicking on the button INBOUND FUNCTION MODULE and giving the custom FM name then the IDOC is processed successfully and Sales order is created. But the problem comes when i try to process the IDOC by cllicking on the button STANDARD INBOUND. It gives the error "IDOC & cannot be opened". I am not able to understand the reason for this problem. Please help me out.
Regards,
Sharadendu
Hi,
I have configured an inbound IDOC of basic type ORDERS05. To process this I am using a custom function module which again calls the standard function module IDOC_INPUT_ORDERS. I am trying to create a dummy IDOC through the transaction WE19. If I process the input data through the custom function module by clicking on the button INBOUND FUNCTION MODULE and giving the custom FM name then the IDOC is processed successfully and Sales order is created. But the problem comes when i try to process the IDOC by cllicking on the button STANDARD INBOUND. It gives the error "IDOC & cannot be opened". I am not able to understand the reason for this problem. Please help me out.
Regards,
Sharadendu
2008 Aug 13 5:43 PM
>IDOC by cllicking on the button STANDARD INBOUND. It >gives the error "IDOC & cannot be opened".
This Standard Inbound process which is using Different process code.
Check Both the cases same Functionmodule used for processing the IDoc or not.
That might be one reason.
2008 Aug 13 5:54 PM
The function modules are the same in both the cases. It seems that there is some locking problem but i am not sure how is it happening in there.
Regards,
Sharadendu
2008 Aug 13 5:58 PM
In general if it works with Function module that means every thing is fine. Just to Confirm keep a break point in function module which you are processing and check it once. why it is not creating Idoc or investigate the Locking problem.
2008 Aug 13 6:10 PM
Hi,
Actually the FM IDOC_INPUT_ORDERS calls VA01 in BDC to create a sales order. As soon as the first BDC screen is called i get the error "IDOC & cannot be opened" and it exits from there. Not able to fond out the reason for this. Suggest me if you have some pointers towards this.
Regards,
Sharadendu
2008 Aug 13 6:20 PM
I know that inside the BDC data populated and Call transaction on VA01 will happen.
ok....
if you see can change it to A screen mode in debug mode. then you can see exactly what is happening.
When you run BDC on VA01 , there is a field in the initial screen to enter the Idoc number. That time it is empty , that is the reason it is giving that message,
Some where the Idoc number not set. But when you use the Processing function modue,IDoc number will be set and accordingly it will be filled.
2008 Aug 13 6:42 PM
Hi,
IDOC number is set and I can see it when it calls the BDC. As soon as i click on the button to move on to the next screen ot gives the error.
Regards,
Sharadendu
2008 Nov 11 2:44 PM
Please check if the idoc input function module (e. g. Z_IDOC_INPUT_ORDERS) has input type 2 assigned in transaction BD51
(Individual input with IDoc lock in CALL TRANSACTION; Einzeleingang mit IDOC-Sperre im Call Transaction)
You probably have 1 there.