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: 

How to skip POP - Window

Former Member
0 Kudos

Hi Fops,

I have a requirement to delete the Phisical Inventory Documents (MI02) , for this i am running a BDC -Call transaction , but while executing the program , the call gets stopped at a popup window asking for manual-delete (YES/NO/CANCEL).

Can anyone tell me how can i bypass this.

Thanks,

Srikanth.

3 REPLIES 3

Former Member
0 Kudos

Hi

Populate the BDC for the Pop-up handling in your program.

Regards

Raj

Former Member
0 Kudos

Hi,

In a Recording there are ome situations where we cannot capture teh Pop-Up Window.

Pls check whether your Pop-Window has been captured in the Screen and the value you have passed has been captured in your recording.

Regards,

Jack.

0 Kudos

Yes , i am capturing the value too.

LOOP AT i_ikpf INTO wa_ikpf.

PERFORM bdc_dynpro USING 'SAPMM07I' '0701'.

PERFORM bdc_field USING 'BDC_CURSOR'

'RM07I-IBLNR'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=DL'.

PERFORM bdc_field USING 'RM07I-IBLNR'

wa_ikpf-iblnr.

PERFORM bdc_dynpro USING 'SAPLSP01' '0100'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=YES'.

CALL TRANSACTION c_mi02 USING i_bdcdata

MODE 'E'

UPDATE 'A' .

Refresh I_BDCDATA.

clear : wa_ikpf.

ENDLOOP.