07-02-2007 10:40 AM
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.
07-02-2007 10:44 AM
Hi
Populate the BDC for the Pop-up handling in your program.
Regards
Raj
07-02-2007 10:47 AM
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.
07-02-2007 2:17 PM
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.