cancel
Showing results for 
Search instead for 
Did you mean: 

Bdc_OkCode Tree Expand All

former_member216215
Participant
0 Kudos

Hi EveryBody,

I urge trees on a screen using a BDC.


But Three is coming off.


How can we open all in BDC ?


Best Regards,

Rasim BASCH.


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Rasim, ALV tree is part of SAP Enjoy Controls and cannot be used with BDC, because these controls needs to communicate with the frontend.

Is this a standard transaction? if yes, you could find a bapi or a non-Enjoy tcode.

Regards,

Felipe

former_member216215
Participant
0 Kudos

Thank you Felipe,

But, No, transection is not standard.

I created a transection own.

I have a screen, working in the tree structure.

When you click to another alv I'm calling it.

But coming off the tree.

I want all of you to come open.


Regards...


former_member216215
Participant
0 Kudos

*&---------------------------------------------------------------------*
*&      Form  GO_TO_Z2
*&---------------------------------------------------------------------*
FORM GO_TO_Z2 .
perform bdc_dynpro      using '/ATOM/SP0010' '1000'.
perform bdc_field       using  'BDC_CURSOR' 'S_PJID-LOW'.
perform bdc_field       using  'BDC_OKCODE' '=ONLI'.
perform bdc_field       using  'S_PJID-LOW' gt_proj_alv-pjid.
perform bdc_field       using  'S_DATE-LOW' '01.01.1800'.
perform bdc_field       using  'S_DATE-HIGH' '01.01.9999'.
perform bdc_field       using  'R_ALL' 'X'.
perform bdc_dynpro      using '/ATOM/SP0010' '0110'.
perform bdc_field       using  'BDC_OKCODE' '=FN_CHA'.
perform bdc_field       using  'BDC_SUBRC' '/ATOM/SP0010 0110SUBSCREEN'.
perform bdc_field       using  'BDC_CURSOR' 'GT_PJ01-PJID'.
perform bdc_field       using  'BDC_SUBRC'
      '/ATOM/SAPLSP_FG001                      0101PROJE_SCA'.

perform bdc_field       using  'BDC_SUBRC'
      '/ATOM/SP0010                            0110SUBSCREEN'.

...

....

....

.....

....

? ? ? ?


I called up here. Opened, the tree came off.

former_member216215
Participant
0 Kudos

Batch input a chance to intervene in the tree yet?

Former Member
0 Kudos

You will have to develop your own function module/bapi/report/class to update the data, as the report was made by you, it will not be difficult.
Check this note, it will explain you in details why enjoy controls and bdc cannot work together.

311440 - Batch input and controls

Regards,

Felipe