10-05-2008 11:54 AM
Hi all.
Somehow I can't activate COGI transaction via abap code for a spesified parameters (plant and PP order).
Can someone help?
My code:
SET PARAMETER ID 'WRK' FIELD i_werks.
SET PARAMETER ID 'ANR' FIELD i_aufnr.
CALL TRANSACTION 'COGI' AND SKIP FIRST SCREEN.
It open COGI for all parameters (I think it clears the PP order selection field somewhere).
Thanks,
Rebeka
10-08-2008 5:36 AM
Hi,
I think it's because only S_WERKS that has memory id. Check the program CORUAFFW. There you can see S_WERKS has memory id WRK. Thus set parameter for this one works. But for S_AUFNR, it is not working. You can try for other parameters.
You might want to use another way to execute COGI. You can use CALL TRANSACTION using BDC, or use SUBMIT.
Regards,
Teddy Kurniawan
11-01-2008 10:03 PM