on 07-25-2006 5:18 PM
Hi,
I want to create a sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT2". I did configuration in TWO ways, either one not working.
Option 1: Called BAPI with RFC receiver adapter and commint control handled in communication channel.
Option 2: Wrote a custom wrapper to call Commit BAPI followed by Sales order create BAPI.
In both cases, getting success message , but sales order is not commitng to database. When I do manual testing using SE37, it works fine.
Any ideas?
Message was edited by: Venkat
Hi Venkat,
both ways you mentioned, work. I did it in several projects. In the wrapper case, where I did the BAPI_TRANSACTION_COMMIT, I set the WAIT parameter.
Did you do that, too?
regards
Dirk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Option 2: Wrote a custom wrapper to call Commit BAPI
> followed by Sales order create BAPI.
Do you describe that correct?
The commit BAPI has to be the last.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>>Option 1: Called BAPI with RFC receiver adapter and commint control handled in communication channel.
this should work in standard
>>>>Option 2: Wrote a custom wrapper to call Commit BAPI followed by Sales order create BAPI.
are you sure the <b>BAPI_TRANSACTION_COMMIT</b> is being correctly invoked?
if not you can always try debugging the call
/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-
but it seems that you're not commiting it
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.