Hi
friends iam doing bdc for pa40 hiring .My problem
is after entering and saving the values in 0,1 and 2 infotype i have to come out and do action for other employee but after saving iam getting another screen
which i dont want ..i tried by ok code too .
The ok code is =upd for saving after this i coded perform transaction pa40 .
but then too its going on to another screen .
regrds
answer will be awarded points
code:-
loop at itab
perform bdc_dynpro USING 'MP000100' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0001-BTRTL'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'P0001-BTRTL'
itab-btrtl. PERFORM bdc_field USING 'P0001-GSBER'
itab-gsber. PERFORM bdc_field USING 'P0001-ANSHVH'
itab-anshvh.
perform bdc_dynpro USING 'MP000100' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0001-BTRTL'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_transaction USING 'PA40'.
endloop.