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 Subscreen

Former Member
0 Likes
2,035

Hi

I am trying to write BDC for TCode-C223.

While giving Input fields & pressing "Enter" & screen below gets activated.

Could anyone give me idea how to proceed.

Regards.

7 REPLIES 7
Read only

abdul_hakim
Active Contributor
0 Likes
1,144

Hi

Are you facing any problem while uploading the data into table control?

Cheers,

Hakim

Read only

0 Likes
1,144

Thanks for Reply Abdul

Actually when I am running BDC, its shwing the fields which are in table control doesn't exist in Main Screen(1000).

I am using concatenate & loop for table control.

Right now, I am totally confused how to take subscreens in program.

Regards.

Read only

0 Likes
1,144

Hi Nikil,

Screens may vary in batch mode than in online. Im still not clear about your exact problem. but i guess you are viewing different fields in batch input mode than online.This will happen by default.

Cheers,

Hakim

Read only

0 Likes
1,144

Hi Abdul

Problem is my Recording is running fine, but when running report the pointer is not going to "activated subscreen" & fields are not getting updated there.

Moreover steps after that are woring fine.

Regards.

Read only

Former Member
0 Likes
1,144

populate some data into subscreen. that means do some action into subscreen while recording. then ur subscreen will reflect in the recorded code.

So u can proceed with coding later.

Regards,

Ajay

Read only

0 Likes
1,144

Hi Ajay

I have done that but it is not coming in report.

Regards.

Read only

Former Member
0 Likes
1,144

the tcodes like C223, CT04, Cl22n are not supporting the recording. can you use any BAPI or Function module. or in your program you can call twice your code like...

PERFORM bdc_dynpro USING 'SAPLCLMO' '0100'.

PERFORM bdc_field USING 'BDC_CURSOR'

'RMCLM-CLASS'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=DOKM'.

PERFORM bdc_field USING 'RMCLM-CLASS'

wa_unit-class.

PERFORM bdc_field USING 'RMCLM-KLART'

wa_unit-klart.

PERFORM bdc_dynpro USING 'SAPLCLMO' '0100'.

PERFORM bdc_field USING 'BDC_CURSOR'

'RMCLM-CLASS'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=DOKM'.