Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC

Former Member
0 Likes
709

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

7 REPLIES 7
Read only

Former Member
0 Likes
674

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.

Read only

Former Member
0 Likes
674

Hi Bdc's cannot be used with enjoy transactions bcos the batch input recorder does not support the controls used in these transactions.

Satish

Read only

Former Member
0 Likes
674

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

Read only

0 Likes
674

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.

Read only

Former Member
0 Likes
674

Hi,

You can used standard bapi BAPI_PROJECTDEF_CREATE it will be very easy from coding point of view.

Thanks

Rajeev

Read only

Former Member
0 Likes
674

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

Read only

Former Member
0 Likes
674

HI

Please try to run the rprot in backgorund, the report name for transaction is SAPLCJTR.

Regards

Sathish