‎2005 Nov 18 12:40 PM
HELLO,
when running BDC for CJ20n transacction using call transaction method , iam facing a problem regrarding screen resolution , is ther any way that you can caputure the screen settings and change the logic runtime accordingly
chers
‎2005 Nov 18 12:54 PM
Hi,
Use the Options in CALL TRANSACTION as below:
CALL TRANSACTION <TCODE> USING <INTERNAL TABLE> OPTIONS FROM WF_OPT.
In Data Declaration Part WF_OPT should be as below:
DATA: WF_OPT LIKE CTU_PARAMS.
Pass values to WF_OPT as below:
CLEAR WF_OPT.
WF_OPT-DISMODE = P_MODE.
WF_OPT-UPDMODE = 'S'.
WF_OPT-CATTMODE = ' '.
WF_OPT-DEFSIZE = 'X'.
WF_OPT-RACOMMIT = ' '.
WF_OPT-NOBINPT = ' '.
WF_OPT-NOBIEND = ' '.
Hope this helps you.
Thank you.
‎2005 Nov 18 1:20 PM
Hi Bdc's cannot be used with enjoy transactions bcos the batch input recorder does not support the controls used in these transactions.
Satish
‎2005 Nov 18 3:07 PM
Have a look at OSS note 535013. You will run into trouble if you try to run this in background. It suggests using transaction CJ20. Or maybe there's a BAPI.
Rob
‎2009 May 21 7:25 AM
Thanks for your suggestion:)
I finded FM or BAPI to create WBS partner field long time,but not result.
so I try to get answer from BDC.
now , I know control not use in BDC.
3X.
‎2005 Nov 18 4:32 PM
Hi,
You can used standard bapi BAPI_PROJECTDEF_CREATE it will be very easy from coding point of view.
Thanks
Rajeev
‎2009 May 21 8:47 AM
Hi,
Use the Options in CALL TRANSACTION as below:
CALL TRANSACTION <TCODE> USING <INTERNAL TABLE> OPTIONS FROM WF_OPT.
In Data Declaration Part WF_OPT should be as below:
DATA: WF_OPT LIKE CTU_PARAMS.
Pass values to WF_OPT as below:
CLEAR WF_OPT.
WF_OPT-DISMODE = P_MODE.
WF_OPT-UPDMODE = 'S'.
WF_OPT-CATTMODE = ' '.
WF_OPT-DEFSIZE = 'X'.
WF_OPT-RACOMMIT = ' '.
WF_OPT-NOBINPT = ' '.
WF_OPT-NOBIEND = ' '.
Regards,
Munibabu.K
‎2009 May 21 9:50 AM
HI
Please try to run the rprot in backgorund, the report name for transaction is SAPLCJTR.
Regards
Sathish