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

Former Member
0 Kudos

hi,

in va02, in main screen sapmv45a 4001, i hit the head button to go to sapmv45a 4002.

PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.

PERFORM bdc_field USING 'BDC_OKCODE' 'HEAD'.

PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.

PERFORM bdc_field USING 'BDC_OKCODE' 'T\03'.

PERFORM bdc_field USING 'VBKD-FKDAT' v-fkdat.

PERFORM bdc_field USING 'BDC_OKCODE' 'BACK'.

i am expecting billing tab but in bdc mode, the tab shows is sales tab and ok-code box shows BACK with a message field vbkd-fkdat does not exist in the screen sapmv45a 4002.

it seems like T\03 not executed.

may i know what steps missing?

thanks

rgds

4 REPLIES 4

Former Member
0 Kudos

after OK-CODE T\03 ... giv code for selecting sales tab.

and the BDC_CURSOR for 'VBKD-FKDAT'

0 Kudos

hi,

i put cursor at vbkd-fkdat in between the below yet still the same.

PERFORM bdc_field USING 'BDC_OKCODE' 'T\03'.

PERFORM bdc_field USING 'BDC_CURSOR' 'VBKD-FKDAT'.

PERFORM bdc_field USING 'VBKD-FKDAT' v-fkdat.

thx

rgds

0 Kudos

do the VA02 recording one more time .. may be in diff system if possible.. and see... whether the field you are giving is 'VBKD-FKDAT'

Can you tell me which value are you inserting through VA02 in FKDAT?

0 Kudos

hi,

what do you mean which value? just a billing date i pass in.

thx