10-22-2007 10:41 AM
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
10-22-2007 10:53 AM
after OK-CODE T\03 ... giv code for selecting sales tab.
and the BDC_CURSOR for 'VBKD-FKDAT'
10-22-2007 11:53 AM
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
10-22-2007 12:03 PM
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?
10-22-2007 12:25 PM
hi,
what do you mean which value? just a billing date i pass in.
thx