2006 Oct 12 9:03 AM
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.
2006 Oct 12 3:54 PM
Can u explain what exactly u want I mean what are the preforms you where to break............
2006 Oct 12 3:54 PM
Can u explain what exactly u want I mean what are the preforms you where to break............
2006 Oct 12 4:03 PM
>>I am getting another screen which i dont want ..
You mean another infotype screen for the same employee.. it could be coming from Dynamic Actions.. you cannot bypass it altogether..but can use the 'Cancel' ie 'F12' on all such infotypes that you do not want to process in the BDC..
~Suresh