‎2009 May 20 11:34 AM
Hi Friends,
There is a standard Tcode CJ8G. Since the Tcode CG8J's program is not an executable program I cannot create a batch job for this.
Hence, I have to write a Zprogram to populate the standard screen with values. I know I can do that with parameter ID. After populating the screen with values, I have to code to automatically click the execute button on this screen.
Can someone tell me how to code to click the execute button on the standard screen using a Zprogram.
Thanks in advance.
Regards,
Dikshitha
‎2009 May 20 11:52 AM
hi diksha,
create a zprogram and record the tcode cj8g ... pass the values to the bdc program..
i have recorded the bdc program for the above transaction.. its very simple.
‎2009 May 20 11:44 AM
Try using CALL TRANSACTION 'CJ8G' AND SKIP FIRST SCREEN. after setting all the parameter ids.
regards,
Jinson.
‎2009 May 20 11:51 AM
Hi,
Please try the following steps:
SET Parameter ID 'XXX' FIELD V_Field.
CALL TRANSACTION 'CJ8G' AND SKIP FIRST SCREEN. after setting all the parameter ids.
Rgds,
Ramani N
‎2009 May 20 11:52 AM
If I use the Call Trasaction, will the Tcode get executed after being filled with values ?
Regards,
Dikshitha
‎2009 May 20 11:52 AM
hi diksha,
create a zprogram and record the tcode cj8g ... pass the values to the bdc program..
i have recorded the bdc program for the above transaction.. its very simple.
‎2009 May 20 12:08 PM
Can I create a batch job with a BDC recording ?
Regards,
Dikshitha
‎2009 May 20 12:57 PM
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
call TRANSACTION 'CJ8G' USING BDCDATA
MESSAGES INTO MESSTAB.
‎2009 May 20 1:39 PM
Call transaction will just call the Tcode. What do i have to code in order to execute that Tcode ? Can you please help me with that ?
I am not very well versed with ABAP, so please elaborate.
Thanks in advance.
Regards,
Dikshitha