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
1,249

what is the purpose of BDC_SUBSCR in transaction recording method ?

and if BDC_OKCODE is '=LTXT' and '/EESC' , what does it means?

1 ACCEPTED SOLUTION
Read only

former_member188594
Active Participant
0 Likes
909

Hi,

The purpose of BDC_SUBSCR is to code for tabstrip on the subscreen area. For example:

fnam = BDC_SUBSCR

fval = SAPLKMA1 0300SUBSCREEN_EINZEL

or

PERFORM bdc_field USING 'BDC_SUBSCR' 'SAPLKACB'

& '0001BLOCK'

The okcodes associated with enter, save, tab sequences, etc are captured in BDC_OKCODES, so LTXT is related to long text and EESC is related to escape sequence, I believe.

Reward points if useful.

Best Regards,

Sekhar

5 REPLIES 5
Read only

former_member188594
Active Participant
0 Likes
910

Hi,

The purpose of BDC_SUBSCR is to code for tabstrip on the subscreen area. For example:

fnam = BDC_SUBSCR

fval = SAPLKMA1 0300SUBSCREEN_EINZEL

or

PERFORM bdc_field USING 'BDC_SUBSCR' 'SAPLKACB'

& '0001BLOCK'

The okcodes associated with enter, save, tab sequences, etc are captured in BDC_OKCODES, so LTXT is related to long text and EESC is related to escape sequence, I believe.

Reward points if useful.

Best Regards,

Sekhar

Read only

0 Likes
909

Hi Thanks for giving answer.

Could you please tell me the significance of ok code '=PI' , '=ENTE' , '=ACCPT'. and '=RW' please ?

Edited by: meena gupta on Jul 8, 2008 8:21 AM

Read only

0 Likes
909

Hi Meena,

the meaning of function codes '=PI' is choose/display, '=ENTE' is continue and '=RW' is cancel.

Best Regards,

Sekhar

Read only

Former Member
0 Likes
909

Hi Meena,

The concept of Subscreen during the BDC is that while writing the module pool, we have a tabstrip and when ever i select a tab then the subscreen is going to called on the mainscreen.

The subscreen is going to tell which tab i have selected from the tabstrip.

I hope I am clear.

Thanks,

Mahesh.

Read only

Former Member
0 Likes
909

Hiii!

Check out this link

http://www.sap-img.com/abap/learning-bdc-programming.htm

Regards

Abhijeet Kulshreshtha