Question:
Well, if anyone would like to know the solution:
when recording in transaction SHDB the checkbox 'Not a Batch Input Session' should be checked.
Answer:
Hello,
I recorded QPV2 as you mentioned. But I could not run the program generated from SHDB (Batch Input Recorder) . The same screens appear...How can you make it?
Regards,
Didem
Answer:
Hi, didemg!
You also have to copy include BDCRECX1 and change / add following code:
Hi, didemg!
You also have to copy include BDCRECX1 and change / add following code:
*begin of added code
DATA: ctu_params TYPE ctu_params.
ctu_params-dismode = ctumode.
ctu_params-updmode = cupdate.
ctu_params-cattmode = ''.
ctu_params-defsize = 'X'.
ctu_params-racommit = ''.
ctu_params-nobinpt = 'X'.
ctu_params-nobiend = ''.
* end of added code
* adjusted code for needs of my program
CALL TRANSACTION tcode USING bdcdata
OPTIONS FROM ctu_params
* mode ctumode
* update cupdate
MESSAGES INTO messtab.
Then you have to call your include instead of the standard one from your generated program.
But you could expirience problems afterward, when you try to put data into this transaction (with changing value of sy-ucomm).