06-23-2010 8:14 AM
Hello,
Does anyone know (is that even possible) how to get the "test run" value (checked/unchecked) of a standard transaction like CJ44 into a Z-program...I'm using the CALL TRANSACTION statement
thx
petr
06-23-2010 8:26 AM
Hii,
Try using SUBMIT statement by passing values for selection screen instead of call transaction statement.I think it should work.
Regards,
Twinkal.
06-23-2010 8:29 AM
Isn't it that using SUBMIT statement, you can only call the program category "1" - executable program...unfortunately, the CJ44 calls the function pool...
Or how do I do that using SUBMIT?
thx
06-23-2010 8:29 AM
Hello
To get the "test run" value ?
This value is always checked by default.
06-23-2010 8:31 AM
Yes I know that it's checked as default...but I need to perform my own code after the CJ44 transaction and I need to perform it only after the real run of this tcode and not after the test run...that's why I need to know the value after the user performs that
any suggestions?
06-23-2010 9:31 AM
06-23-2010 9:39 AM
hi twinkal,
Thanks a lot for your response, but the bdctab solution uses batch input to fill the parameters and no to get them.
I can't see how this can help me to get the parameter "test run" value into my program after the cj44 run.
There is no parameter assigned to the "test run" check box like it is with "project" - this has a parameter 'PSP' and everything is so simple.
Petr
06-23-2010 10:00 AM
Hi,
i tried using following code for 'detail lists' for cj44 tcode checkbox as my test run check box comes default checkd.and this code is working fine.
DATA: it_bdcdata TYPE STANDARD TABLE OF bdcdata,
wa_bdcdata TYPE bdcdata.
wa_bdcdata-program = 'SAPLKAZB'.
wa_bdcdata-dynpro = '1000'.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR: wa_bdcdata.
wa_bdcdata-fnam = 'RKAUF-LIST'.
wa_bdcdata-fval = 'X'.
APPEND wa_bdcdata TO it_bdcdata.
CALL TRANSACTION 'CJ44' USING it_bdcdata
mode 'E'.
Regards,
Twinkal.
06-23-2010 10:18 AM
Hello Twinkal...thanks for the code.
I need the user to have the features of the CJ44 available (also test run).
I do need to give the user freedom to run it in the test run and after it, I need to know if the run was actually "test run" or real run -> in case of real run I need to run additional code.
The call transaction statement is not gicing me back the value of the test run parameter and I think neither does your batch input solution...or does it?
thx and sorry for the unconvenience,
petr
06-24-2010 8:33 AM
Does anybody of you have some experiences with implementing the enhancement spots...I've found many of them in the function pool of the CJ44 - could this be a solution, couldn't it.
thx
06-29-2010 1:24 PM
solved on a system with enhancement points in include LKAZCF01. The problem still exists on other systems.
06-23-2010 10:03 AM