Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Selecting radio button in bdc for IT0021

Hi ,

I generated a recording for IT0021.The recording is unable to select the radio button for fields gender in both foreground and background mode and when I tried to upload the data the data ,it gets uploaded when I left the values for the gender field but when I enter the values of fields for GESC1 as X and GESC2 as blank the value X gets uploaded to position next to gender that is in the FGBDT field so how to solve it.

HERE is the recording I did:

perform bdc_dynpro      using 'SAPMP50A' '1000'.

perform bdc_field       using 'BDC_OKCODE'

                               '/00'.

perform bdc_field       using 'RP50G-PERNR'

                               ITAB-PERNR."'10'.

perform bdc_field       using 'RP50G-TIMR6'

                               'X'.

perform bdc_field       using 'BDC_CURSOR'

                               'RP50G-CHOIC'.

perform bdc_field       using 'RP50G-CHOIC'

                               '21'.

perform bdc_dynpro      using 'SAPMP50A' '1000'.

perform bdc_field       using 'BDC_OKCODE'

                               '/00'.

perform bdc_field       using 'RP50G-PERNR'

                               ITAB-PERNR."'10'.

perform bdc_field       using 'RP50G-TIMR6'

                               'X'.

perform bdc_field       using 'BDC_CURSOR'

                               'RP50G-SUBTY'.

perform bdc_field       using 'RP50G-CHOIC'

                               'Family Member/Dependents'.

perform bdc_field       using 'RP50G-SUBTY'

                               ITAB-SUBTY."'1'.

perform bdc_dynpro      using 'SAPMP50A' '1000'.

perform bdc_field       using 'BDC_CURSOR'

                               'RP50G-PERNR'.

perform bdc_field       using 'BDC_OKCODE'

                               '=INS'.

perform bdc_field       using 'RP50G-PERNR'

                               ITAB-PERNR."'10'.

perform bdc_field       using 'RP50G-TIMR6'

                               'X'.

perform bdc_field       using 'RP50G-CHOIC'

                               'Family Member/Dependents'.

perform bdc_field       using 'RP50G-SUBTY'

                               ITAB-SUBTY."'1'.

perform bdc_dynpro      using 'MP002100' '2000'.

perform bdc_field       using 'BDC_CURSOR'

                               'P0021-FGBOT'.

perform bdc_field       using 'BDC_OKCODE'

                               'UPD'.

perform bdc_field       using 'P0021-BEGDA'

                               ITAB-BEGDA."'1.04.2015'.

perform bdc_field       using 'P0021-ENDDA'

                               ITAB-ENDDA."'31.12.9999'.

perform bdc_field       using 'P0021-FANAM'

                               ITAB-FANAM."'mira'.

perform bdc_field       using 'P0021-FAVOR'

                               ITAB-FAVOR.

  perform bdc_field   using 'Q0021-GESC2'

                                ''.

     perform bdc_field   using 'Q0021-GESC1'

                                'X'.

perform bdc_field       using 'P0021-FGBDT'

                               ITAB-FGBDT."'27.09.1990'.

perform bdc_field       using 'P0021-FGBOT'

                               ITAB-FGBOT."'delhi'.

perform bdc_field       using 'P0021-FGBLD'

                               ITAB-FGBLD."'IN'.

perform bdc_field       using 'P0021-FANAT'

                               ITAB-FANAT."'IN'.



Thanks .


Regards

Nav

replied

Hi Navaratan,

The data declaration and given excel file format are not matching.

Make the field name and data arrange in excel in same manner and then try to debug the program and check how data is arranging in BDCDATA table with respect to FIELD and values.

Regards,

Praveer.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question