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 PA40

Former Member
0 Kudos
86

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
52

Can u explain what exactly u want I mean what are the preforms you where to break............

2 REPLIES 2

Former Member
0 Kudos
53

Can u explain what exactly u want I mean what are the preforms you where to break............

0 Kudos
52

>>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