2007 Jan 30 1:40 PM
Hi to all! this time im having a serious problem...the situation is like this:
I have severals bapis chained.
1- CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
2- CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
3- CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
4- CALL FUNCTION 'BAPI_PO_CREATE1'
5- CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
6- CALL FUNCTION 'BAPI_PO_CREATE1'
7- CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
8- CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
If i put some
breaks
between the Bapis the process finishes well!!!, but if i clear the breaks a DUMP appeared.
Error Position
14 ENDIF.
15
16 ENDMETHOD.
well, as usual, i promise rewarded points for help!
Thanks in advance!
Hi to all! this time im having a serious problem...the situation is like this:
I have severals bapis chained.
1- CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
2- CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
3- CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
4- CALL FUNCTION 'BAPI_PO_CREATE1'
5- CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
6- CALL FUNCTION 'BAPI_PO_CREATE1'
7- CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
8- CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
If i put some
breaks
between the Bapis the process finishes well!!!, but if i clear the breaks a DUMP appeared.
Error Position
14 ENDIF.
15
16 ENDMETHOD.
well, as usual, i promise rewarded points for help!
Thanks in advance!
2007 Jan 30 1:52 PM
Hi,
Try to use this Bapi in between every Bapi you have used.
Call Function 'Bapi_Transaction_commit'
exporting
wait = 'X'.
Regards,
Aman
2007 Jan 30 1:53 PM
Hi Andrew,
Check weather the Exception reaised in program is defined in BAPI or not. This dump is showing xception raise problem.
Ashven
2007 Jan 30 2:51 PM
Hi
Can you pls paste the whole of the shortdump details for better understanding ?
Regards
- Atul
2007 Jan 30 3:05 PM
Serialization of BAPIs would have an issue with database update times. I mean, if the load on your system is high, the actual commit-work may not have happened, even if you called the bapi-transaction-commit! we have faced this issue often, and always resolved it by trying to enqueue the object and dequeue it each time we plan to use it.
Check if your code works in debug-mode, where the execution will be much slower than real-time scenarios. If so, my point above is quite definitely the problem you're facing.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |