Application Development 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: 

bdc_okcode

Former Member
0 Kudos

hi

can you tell me the differance of bdc_okcode '/EBACK'. '=T\01' both are same is there any differance.

example.

PERFORM bdc_field USING 'BDC_OKCODE'

'/EBACK'. or '=T\01'

3 REPLIES 3

naveen_inuganti2
Active Contributor
0 Kudos

Hi...

EBACK --> when you coming back from that screen, by pressing BACK button

T\01 --> When you navingating to other screen by using tabs or any from current screen.

And here 01 is not static for all screen it should be o2, 03, 08, 14...etc..,

You can analyze it from following recording of VA41

perform bdc_dynpro      using 'SAPMV45A' '0101'.

  perform bdc_field       using 'VBAK-AUART'
                           
  perform bdc_field       using 'VBAK-VKORG'
                      
  perform bdc_field       using 'VBAK-VTWEG'
                              
  perform bdc_field       using 'VBAK-SPART'
                              
  perform bdc_field     using 'VBAK-VKBUR'
 
  perform bdc_field     using 'VBAK-VKGRP'
 
  perform bdc_field       using 'BDC_OKCODE'                    
                                '/00'.

  perform bdc_dynpro      using 'SAPMV45A'   '4001'.

  perform bdc_field       using 'VBKD-BSTKD'
               
  perform bdc_field       using 'VBKD-BSTDK'

  perform bdc_field     using 'KUAGV-KUNNR'

 perform bdc_field     using 'KUWEV-KUNNR'

 perform bdc_field       using 'VBAK-KTEXT'
   
 perform bdc_field       using 'BDC_OKCODE'
                                '=HEAD'.                         
 perform bdc_dynpro      using 'SAPMV45A' '4002'.

perform bdc_field     using 'VBAK-VSNMR_V'
  
 perform bdc_field     using 'VBAK-GWLDT'

 perform bdc_field       using 'VBAK-WAERK'
                     

  perform bdc_field       using 'VBKD-PRSDT'
                       
  perform bdc_field     using 'VBKD-KDGRP'

 perform bdc_field     using 'VBKD-PLTYP'

 perform bdc_field     using 'VBKD-KONDA'

  perform bdc_field       using 'BDC_OKCODE'
                                '=T\02'.                    

  perform bdc_dynpro      using 'SAPLV45W' '4001'.

  perform bdc_field       using 'VEDA-VBEGDAT'
                               
  perform bdc_field       using 'BDC_OKCODE'
                                '=T\04'.                      

  PERFORM bdc_dynpro      USING 'SAPMV45A' '4003'.

  PERFORM bdc_field       USING 'BDC_OKCODE'
                                '=T\05'.

 perform bdc_dynpro      using 'SAPMV45A' '4002'.

  perform bdc_field       using 'BDC_OKCODE'
                                '=BACK'.

  perform bdc_dynpro      using 'SAPMV45A' '4002'.
  perform bdc_field       using 'BDC_OKCODE'
                                '/EBACK'.

Thanks,

Naveen.I

0 Kudos

hi

this is the problem....

The program YSDMG_PRONET should be changed in such a way that the field Kundenbezirk (Customer area) from the template files is filled in the field VBKD-BZIRK (header data sales) via u2018call transactionu2019. For this reason, the routines of data transfer from the txt files as well as the data display and data return is customised (INCLUDE YSDMG_PRONET_DATENUEBERN). In the central storage table u2018YSD_PRONET_ALu2019, a new field u2018BZIRKu2019 is included between the field u2018SUBMIu2019 and u2018INT2u2019. The structures YSDAUFN_GESAMT_ST, YSD_ZLSL_ST and YSDAUFN_ROU_ST should also be enhanced to this field. In form u2018batsch_zlslu2019, please go to the header tab u2018Verkaufu2019 (sales), possibly after this coding position, during first time creation of contract.

PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.

PERFORM bdc_field USING 'BDC_OKCODE'

'/EBACK'. ==> possibly replace by '=T\01'

PERFORM bdc_field USING 'VBAK-BSTZD'

wa_zlsl-bstzd.

PERFORM bdc_field USING 'VBAK-SUBMI'

wa_zlsl-submi.

former_member181995
Active Contributor
0 Kudos

Cross Post.