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: 

Suppressing F4 pop up in BDC for PA30

meenakshi-btp
Explorer
0 Kudos

Hi Experts,

I have done BDC for hiring using PA30. For infotype 185 (personal IDs), there is a F4 pop up for subtypes as part of the infogroup. I want to suppress the F4 pop up.

My code is:

  PERFORM bdc_dynpro USING 'MP001900' '2000'.

  PERFORM bdc_field USING 'BDC_OKCODE'

  '/ENXT'.

  PERFORM bdc_field USING 'BDC_CURSOR'

  'P0019-TMART'.

  PERFORM bdc_dynpro USING 'SAPMSSY0' '0120'.

  PERFORM bdc_field USING 'BDC_CURSOR'

  '05/12'.

  PERFORM bdc_field USING 'BDC_OKCODE'

  '=PICK'.

  PERFORM bdc_dynpro USING 'MP018500' '2025'.

  PERFORM bdc_field USING 'BDC_CURSOR'

  'P0185-ICNUM'.

  PERFORM bdc_field USING 'BDC_OKCODE'

  '=UPD'.

  PERFORM bdc_field USING 'P0185-BEGDA'

  gs_hr-hreq-fbegda.

  PERFORM bdc_field USING 'P0185-ENDDA'

  '31.12.9999'.

  PERFORM bdc_field USING 'P0185-ICTYP'

  gs_hr-pers-ictyp.

  PERFORM bdc_field USING 'P0185-ICNUM'

  gs_hr-pers-icnum.  

I have tried commenting the PICK code:

  PERFORM bdc_dynpro USING 'SAPMSSY0' '0120'.

  PERFORM bdc_field USING 'BDC_CURSOR'

  '05/12'.

  PERFORM bdc_field USING 'BDC_OKCODE'

  '=PICK'.

But still I get the pop up.

Please suggest. Thanks in advance!!

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

AFAIK You should never execute a F1 or F4 in BDC recording...

(ref: Background Processing > Programming with the Background Processing System (BC-CCM-BTC) > Data Transfer > Data Transfer: Overview of Batch Input > The Transaction Recorder, look for "special feature")

Did you execute the recording "simulating background mode" ?

Regards,

Raymond

PS: Did you look for FM HR_INFOTYPE_OPERATION ?

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

AFAIK You should never execute a F1 or F4 in BDC recording...

(ref: Background Processing > Programming with the Background Processing System (BC-CCM-BTC) > Data Transfer > Data Transfer: Overview of Batch Input > The Transaction Recorder, look for "special feature")

Did you execute the recording "simulating background mode" ?

Regards,

Raymond

PS: Did you look for FM HR_INFOTYPE_OPERATION ?

former_member201275
Active Contributor
0 Kudos


When you are doing the recording in PA30 then on the first screen enter the subtype instead of waiting for the popup and then selecting from dropdown.

meenakshi-btp
Explorer
0 Kudos

Thanks for the response Raymond and Anthony. F4 pop us is a part of infogroup, so cannot escape it while recording. Since I am running out of time, I have used HR_INFOTYPE_OPERATION but I would like to know if suppressing F4 (it is not possible to suppress it while recording) is possible or not?

0 Kudos

Did the pop-up execute when you record "simulating background mode" ?

Former Member
0 Kudos

Hello Meenakshi,

As Raymond Giuseppi suggested you make of HR_INFOTYPE_OPERATION function module instead of using BDC for updating the infotype 185.