2023 Jun 13 2:52 PM
Hi,
While i am trying to run bdc i am getting popup which is asking yes or no buttons.errorscreenpopup.jpg .
How to overcome in code
PERFORM bdc_dynpro USING 'SAPLIQS0' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RIWO00-QMNUM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RIWO00-QMNUM'
p_qmnum.
PERFORM bdc_dynpro USING 'SAPLIQS0' '7200'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ADDR'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VIQMEL-ZZCALLTYPE'.
PERFORM bdc_field USING 'VIQMEL-ZZCALLTYPE'
p_caltyp.
* Functional Location2
PERFORM bdc_field USING 'VIQMEL-ZZTPLNR2'
ls_itob-READ_FLOC.
PERFORM bdc_dynpro USING 'SAPLSZA1' '0201'.
PERFORM bdc_field USING 'BDC_CURSOR'
'ADDR1_DATA-STR_SUPPL2'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=CONT'.
PERFORM bdc_field USING 'ADDR1_DATA-NAME1'
p_name1.
PERFORM bdc_field USING 'ADDR1_DATA-SORT1'
lv_sort1.
PERFORM bdc_field USING 'ADDR1_DATA-SORT2'
lv_sort2.
PERFORM bdc_field USING 'ADDR1_DATA-ROOMNUMBER'
p_room.
PERFORM bdc_field USING 'ADDR1_DATA-FLOOR'
p_floor.
PERFORM bdc_field USING 'ADDR1_DATA-BUILDING'
p_bldng.
PERFORM bdc_field USING 'ADDR1_DATA-STR_SUPPL1'
p_stret2.
PERFORM bdc_field USING 'ADDR1_DATA-STR_SUPPL2'
p_stret3.
PERFORM bdc_field USING 'ADDR1_DATA-STREET'
p_stret.
PERFORM bdc_field USING 'ADDR1_DATA-POST_CODE1'
p_zipcde.
PERFORM bdc_field USING 'ADDR1_DATA-CITY1'
p_city.
PERFORM bdc_field USING 'ADDR1_DATA-COUNTRY'
p_land1.
PERFORM bdc_dynpro USING 'SAPLIQS0' '7200'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BUCH'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VIQMEL-ZZCALLTYPE'.
PERFORM bdc_field USING 'VIQMEL-ZZCALLTYPE'
p_caltyp.
CALL TRANSACTION lv_tcode USING bdcdata
MODE lv_batchmode UPDATE lv_updatmode
MESSAGES INTO lt_messtab.
1 IW52 SAPLSZA1 0201 E E R5 517 København DK CTU ADDR1_DATA-STR_SUPPL2