08-28-2007 4:37 PM
Hi All,
I am using BDC to create sales orders using transaction VA01. Most of the time I have no problems using this method. However, for some orders no order number is returned.
I know that BDC is not the best way of doing things, but we have customized the sales order screens a lot and therefore can't use BAPI, so we need to use BDC.
I have used display mode 'A' when calling the transaction and I know that all the screens populate correctly. Then when the order saves, no order number is provided. The just created order can't be found by searching using the sold-to party, so the order appears to not have created. However, when I look in the table of messages returned from the transaction, there are no errors.
<b><REMOVED BY MODERATOR></b>
Thanks in advance,
Dan
Message was edited by:
Alvaro Tejada Galindo
08-28-2007 4:45 PM
Why don't use update mode called 'S'.
call transaction 'VA01' using BDCDATA
MODE 'N'
update 'S' -> use this one.
messages into bdcmsgcoll.
Thanks
Seshu
08-28-2007 4:45 PM
Why don't use update mode called 'S'.
call transaction 'VA01' using BDCDATA
MODE 'N'
update 'S' -> use this one.
messages into bdcmsgcoll.
Thanks
Seshu
08-28-2007 4:51 PM
Maybe you didn't provide data for a screen (some popup?).
I would expect sAP to report it though.
08-30-2007 7:45 PM
Hi all,
I discovered that my problem was in some code that a former employee put in the userexit_save_document_prepare. After fixing the problem code everything works fine.
Thanks for the responses,
Dan