Skip to Content
0
Former Member
Feb 10, 2011 at 04:12 AM

BDC Program

114 Views

Moderator message: please use more descriptive subject lines and code tags for your posts.

Hi Experts,

Please help me, i am alone here.

I develping one bdc program for the Tcode(iw51).

The data updataion is Good,But Some popiup is coming like we need click YES or NO.

but when i runn in A mode,Manually we need to move No Botton.

whene i run In N mode,it is takaing Yes.

I want set as No by defult?

for that i cheke in recording,but i am not getting the statment(code) for that.

Please guide me any one, i past my mapping code as shon beloow.

perform bdc_dynpro      using 'SAPLIQS0' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'RIWO00-QMART'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RIWO00-QMART'
                               record-qmart_01.
perform bdc_dynpro      using 'SAPLIQS0' '7200'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'VIQMEL-QMTXT'
                               record-qmtxt_02.  "'tool magazine motor faulty'.
perform bdc_field       using 'RIWO1-EQUNR'
                               record-equnr_03.  "'100000006'.
perform bdc_field       using 'VIQMEL-PRIOK'
                               record-priok_04.  "'1'.
perform bdc_field       using 'VIQMEL-AUSWK'
                               record-auswk_05.  "'1'.
perform bdc_field       using 'VIQMEL-STRMN'
                               record-strmn_06.  "'07.02.2011'.
perform bdc_field       using 'VIQMEL-STRUR'
                               record-strur_07.  "'09:30:59'.
perform bdc_field       using 'VIQMEL-LTRMN'
                               record-ltrmn_08.  "'10.02.2011'.
perform bdc_field       using 'VIQMEL-LTRUR'
                               record-ltrur_09.  "'10:00:00'.
*perform bdc_dynpro      using 'SAPLSPO1' '0500'.
*perform bdc_field       using 'BDC_OKCODE'
*                              '=OPT2'.
*perform bdc_dynpro      using 'SAPLIQS0' '7200'.
perform bdc_field       using 'RQM02-PARNR_VERA'
                              record-pernr_vera_10. "'00004500'.
perform bdc_field       using 'VIQMFE-FEGRP'
                              record-Fegrp_11.  "CSDMECH'.
perform bdc_field       using 'VIQMFE-FECOD'
                              record-FECOD_12. "M11'.
perform bdc_field       using 'VIQMFE-FETXT'
                              record-fetxt_13. "tool magazine motor faulty'.
perform bdc_field       using 'VIQMUR-URGRP'
                              record-urgrp_14. "CSCMECH'.
perform bdc_field       using 'VIQMUR-URCOD'
                              record-urcod_15. "M41'.
perform bdc_field       using 'VIQMUR-URTXT'
                              record-urtxt_16. "tool magazine motor faulty'.

*PERFORM BDC_DYNPRO      USING 'SAPLIQS0' '7200'.
PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                              '=10\TAB05'.
PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                              'VIQMEL-QMTXT'.
PERFORM BDC_DYNPRO      USING 'SAPLIQS0' '7200'.
*PERFORM BDC_FIELD       USING 'BDC_OKCODE'
*                               '=10\TAB06'.
*PERFORM BDC_FIELD       USING 'BDC_CURSOR'
*                              'VIQMEL-AUSBS'.
perform bdc_field       using 'VIQMEL-AUSVN'
                               record-ausvn_19. "11.02.2011'.
perform bdc_field       using 'VIQMEL-AUZTV'
                               record-auztv_20. "06:27:47'.
perform bdc_field       using 'VIQMEL-AUSBS'
                               record-ausbs_21. "09.02.2011'.
perform bdc_field       using 'VIQMEL-AUZTB'
                               record-auztb_22. "09:28:08'.
perform bdc_field       using 'VIQMEL-MSAUS'
                              'X'.
perform bdc_field       using 'RIWO00-EAUSZT'
                               record-eauszt_23. "'21.00'.
perform bdc_field       using 'VIQMEL-MAUEH'
                               record-maueh_24.  "'HR'.

*AT END OF Count_00.
PERFORM BDC_DYNPRO      USING 'SAPLIQS0' '7200'.
PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                              '=BUCH'.

PERFORM BDC_TRANSACTION USING 'IW51'.

please tell me what statment i have to write for that.

thaks advance

Edited by: Thomas Zloch on Feb 10, 2011 10:08 AM