2009 Aug 18 2:10 PM
Hi,
I'm using one Z function module for Production order confirmations which inturn calls 'BAPI_PRODORD_COMPLETE_TECH'.
There is 'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK' also present.
My issue is, this functionality works perfectly fine when I execute the program in foreground mode, but does not go through sometimes when I schedule it in background.
Note : Its not completely skiping the entries in background mode. It works sometimes and sometimes doesn't.
Can anyone comment if they have faced similar issues ?
Regards,
Shiva
Hi,
I'm using one Z function module for Production order confirmations which inturn calls 'BAPI_PRODORD_COMPLETE_TECH'.
There is 'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK' also present.
My issue is, this functionality works perfectly fine when I execute the program in foreground mode, but does not go through sometimes when I schedule it in background.
Note : Its not completely skiping the entries in background mode. It works sometimes and sometimes doesn't.
Can anyone comment if they have faced similar issues ?
Regards,
Shiva
2009 Aug 18 2:30 PM
Hi,
Create some error log using messages if the select fails
Some time if you are trying to select very large number of records then you may get dump for the select statement like DBIF_RSQL_INVALID_RSQL
Regards,
Shamma
2009 Aug 18 3:01 PM
Hi,
The entries passed through this selection are very few per execution. Maybe 3 - 4 orders going to this FM for execution. Moreover, if there is dump generated, it would stop program execution. It has never been so. Program works fine with processing other functionalities.
Can you think of any other possible reasons that might be cauing this problem ?
Regards,
Shiva
2009 Sep 23 4:58 PM
Hi !
In my opinion it fails, when there is a popup coming from the BAPI.
We have the issue that when we process in background the orders where a popup should be shown (e.g. the popup asking if setting TECO is OK although reprocessing records exist).
When we reprocess our IDOC (which are calling that BAPI) in BD87, the popup is even shown in BD87 !
Any idea how to tell the BAPI to ignore such messages and still set the TECO ?
Any other way to set the TECO ?
thx a lot !
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |