2006 Sep 07 8:12 AM
I'm not getting any result from this function. I supplied the material number and the storage location. I'm not supplying any warehouse number because we have only one warehouse.
What could be the problem?
I'm not getting any result from this function. I supplied the material number and the storage location. I'm not supplying any warehouse number because we have only one warehouse.
What could be the problem?
2006 Sep 07 8:16 AM
u have to commit ur work:
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
for example:
LOOP AT t_return.
WRITE: / t_return-message_v1.
WRITE: / t_return-message_v2.
WRITE: / t_return-message.
ENDLOOP.
READ TABLE t_return with KEY type = 'E'.
if sy-subrc NE 0 AND cb_test EQ ''.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
else.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
endif.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |