on 12-14-2006 10:08 AM
Hi all,
I have created some test scripts which I want to execute with clicking just one button.
Therefore I created 19 Testscripts which in the end call another script which should write some results in a specified table.
This all works fine but when I try this with the transaction STWB_WORK (all scripts are processed, all scripts work fine) only the values of the first script are entered in the table.
With this code the values are entered into the table.
ABAP.
data: wa_draw type ypdm4t001.
read table V_LT_DRAW into wa_draw index 1.
INSERT INTO ypdm4t001 VALUES wa_DRAW.
commit work.
ENDABAP.
Does anyone has any idea why this works fine when the scripts are executed one by one but not when are executed by the transaction?
regards
Manuel
Hi Manuel,
inspect the eCATT log you get after execution.
Are all the scripts processed ?
Is your Inline ABAP processed ?
If this does not bring further hints to explain the reason, have a look at abap variable SY-SUBRC directly after your INSERT statement. You can move SY-SUBRC to a local variable of your testscript and write it to eCATT Log by using LOG statement of eCATT. That SY-SUBRC should be 0.
Look at ABAP docu about other values ...
If it does not bring further hints come back here
Best regards
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.