cancel
Showing results for 
Search instead for 
Did you mean: 

When I use BDC TO CALL TRANSACTION VA05,There are NO data return in internal table:lt_message

Amyshen
Explorer
0 Kudos
158

My code are as follow:
  DATA: ctu_parameters TYPE ctu_params.
  ctu_parameters-dismode = 'N'.  "后台更新模式
  ctu_parameters-updmode = 'S'.  "同步更新
  ctu_parameters-racommit = 'X'. "No abortion by COMMIT WORK 
CALL TRANSACTION 'VA05' USING bdcdata[] OPTIONS FROM ctu_parameters
     MESSAGES INTO lt_message .

And then i change the code as follow,It still doesn't take effect
 *  DATA: ctu_parameters TYPE ctu_params.
*  ctu_parameters-dismode = 'N'.  "后台更新模式
*  ctu_parameters-updmode = 'L'.  "后台更新
*  ctu_parameters-defsize = 'X'.  "默认大小
*  ctu_parameters-racommit = 'X'. "No abortion by COMMIT WORK
*  ctu_parameters-nobinpt = 'X'. "批输入处理活动
*  ctu_parameters-nobiend = 'X'. "批输入处理活动 

Sandra_Rossi
Active Contributor
0 Kudos
Maybe it's normal, if there was no message at all. You must test SY-SUBRC too. See ABAP documentation of CALL TRANSACTION USING.
View Entire Topic
Amyshen
Explorer
0 Kudos

Besides, I have another question. If the batch update is executed, only the first one is successful, and the others are not updated successfully