12-02-2009 9:32 PM
Hi all,
I try to enter disconnection in disconnection document. Any BAPI or Method I found ask me to create a work order and finish the old work order? Is there any BAPI or object method to perform enter idconnection without creating any work order?
Thanks,
Chaiphon
04-14-2010 7:11 PM
04-15-2010 8:20 PM
I wouldn't use a BDC.
Go to swo1 and enter object DISCONNECT, view the Methods provided by Standard SAP.
There are whole host of methods available that will do what you want. Disconnection.DisconEnter will do what you need, and the 'Dark' methods are highly useful too.
04-15-2010 9:05 PM
Hi seanp7,
Disconnection.DisconEnter does do what I want but it is dialog method. Is there any background method I can use?
Thanks,
Chaiphon
04-21-2010 2:03 AM
Sure.
Try Disconnection.DarkCreateOfDisconnection Create disconnection without dialog
It calls FM ISU_S_DISCDOC_CHANGE (which you could also use, depending on what you are trying to do).
Thanks.
04-21-2010 9:31 PM
seanp7,
I tried Disconnection.DarkCreateOfDisconnection and function ISU_S_DISCDOC_CHANGE. It provided me same error message " Specify the order to be confirmed". The method asks for the work order but my requirement & question is not to create one. Is there any other suggestion?
I debug the function and method.
FORM plausi_check in program SAPLES34.
This is the comment in SAP standard program.
check ordact
if x_ordact is initial then leave the function because this case is
in this release not allowed
Our system is ECC 6.0 ISU4.72. Is the functionality to enterdisconnection without work order allowed in other release?
Thanks,
Chaiphon