Application Development and Automation 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: 
Read only

BDC Issue

Former Member
0 Likes
414

The very last item below: gv_component_xfer = '23'

'RK70E-LST_SETNR' '11'

is not processing in my BDC. Does anybody see why?

Thank-You.

*new BDC start here for subs raw material
        gv_component_raw_mats = '02'.
        PERFORM dynpro1 USING:
        ' ' ' ' ' ' 'RK70E-LST_SETNR' '5',
        ' ' ' ' ' ' 'RK70L-TYPPS(05)'  p_typps,
        ' ' ' ' ' ' 'RK70L-MENGE(05)'  zpeinh,
        ' ' ' ' ' ' 'RK70L-MEEHT(05)'  gs_rpt-meins,
        ' ' ' ' ' ' 'RK70L-LTEXT(05)'  gv_component_txt_raw,
        ' ' ' ' ' ' 'RK70L-lpreis(05)' it_bdcfields-raw_mats,
        ' ' ' ' ' ' 'RK70L-LPEINH(05)' zpeinh,
        ' ' ' ' ' ' 'RK70L-ELEMT(05)'  gv_component_raw_mats.

*new BDC start here for subs packaging
        gv_component_pack = '03'.
        PERFORM dynpro1 USING:
        ' ' ' ' ' ' 'RK70E-LST_SETNR' '6',
        ' ' ' ' ' ' 'RK70L-TYPPS(06)'  p_typps,
        ' ' ' ' ' ' 'RK70L-MENGE(06)'  zpeinh,
        ' ' ' ' ' ' 'RK70L-MEEHT(06)'  gs_rpt-meins,
        ' ' ' ' ' ' 'RK70L-LTEXT(06)'  gv_component_txt_pack,
        ' ' ' ' ' ' 'RK70L-lpreis(06)' it_bdcfields-pack,
        ' ' ' ' ' ' 'RK70L-LPEINH(06)' zpeinh,
        ' ' ' ' ' ' 'RK70L-ELEMT(06)'  gv_component_pack.

*new BDC start here for subs activities
        gv_component_acts = '04'.
        PERFORM dynpro1 USING:
        ' ' ' ' ' ' 'RK70E-LST_SETNR' '7',
        ' ' ' ' ' ' 'RK70L-TYPPS(07)'  p_typps,
        ' ' ' ' ' ' 'RK70L-MENGE(07)'  zpeinh,
        ' ' ' ' ' ' 'RK70L-MEEHT(07)'  gs_rpt-meins,
        ' ' ' ' ' ' 'RK70L-LTEXT(07)'  gv_component_txt_acts,
        ' ' ' ' ' ' 'RK70L-lpreis(07)' it_bdcfields-acts,
        ' ' ' ' ' ' 'RK70L-LPEINH(07)' zpeinh,
        ' ' ' ' ' ' 'RK70L-ELEMT(07)'  gv_component_acts.


*new BDC start here for subs from IE01
*     IF it_bdcfields-subs_ie01 <> space.
        gv_component_xfer = '20'.
        PERFORM dynpro1 USING:
        ' ' ' ' ' ' 'RK70E-LST_SETNR' '8',
        ' ' ' ' ' ' 'RK70L-TYPPS(08)'  p_typps,
        ' ' ' ' ' ' 'RK70L-MENGE(08)'  zpeinh,
        ' ' ' ' ' ' 'RK70L-MEEHT(08)'  gs_rpt-meins,
        ' ' ' ' ' ' 'RK70L-LTEXT(08)'  gv_component_txt_subs_ie01,
        ' ' ' ' ' ' 'RK70L-lpreis(08)' it_bdcfields-subs_ie01,
        ' ' ' ' ' ' 'RK70L-LPEINH(08)' zpeinh,
        ' ' ' ' ' ' 'RK70L-ELEMT(08)'  gv_component_xfer.
*     ENDIF.

*new BDC start here for subs from NO01
*     IF it_bdcfields-subs_no01 <> space.
        gv_component_xfer = '21'.
        PERFORM dynpro1 USING:
        ' ' ' ' ' ' 'RK70E-LST_SETNR' '9',
        ' ' ' ' ' ' 'RK70L-TYPPS(09)' p_typps,
        ' ' ' ' ' ' 'RK70L-MENGE(09)' zpeinh,
        ' ' ' ' ' ' 'RK70L-MEEHT(09)'  gs_rpt-meins,
        ' ' ' ' ' ' 'RK70L-LTEXT(09)' gv_component_txt_subs_no01,
        ' ' ' ' ' ' 'RK70L-lpreis(09)' it_bdcfields-subs_no01,
        ' ' ' ' ' ' 'RK70L-LPEINH(09)' zpeinh,
        ' ' ' ' ' ' 'RK70L-ELEMT(09)'  gv_component_xfer.
*     ENDIF.

*new BDC start here for subs from PH01
*     IF it_bdcfields-subs_ph01 <> space.
        gv_component_xfer = '22'.
        PERFORM dynpro1 USING:
        ' ' ' ' ' ' 'RK70E-LST_SETNR' '10',
        ' ' ' ' ' ' 'RK70L-TYPPS(10)' p_typps,
        ' ' ' ' ' ' 'RK70L-MENGE(10)' zpeinh,
        ' ' ' ' ' ' 'RK70L-MEEHT(10)'  gs_rpt-meins,
        ' ' ' ' ' ' 'RK70L-LTEXT(10)' gv_component_txt_subs_ph01,
        ' ' ' ' ' ' 'RK70L-lpreis(10)' it_bdcfields-subs_ph01,
        ' ' ' ' ' ' 'RK70L-LPEINH(10)' zpeinh,
        ' ' ' ' ' ' 'RK70L-ELEMT(10)'  gv_component_xfer.
*     ENDIF.
*new BDC start here for subs from US01
*     IF it_bdcfields-subs_us01 <> space.
        gv_component_xfer = '23'.
        PERFORM dynpro1 USING:
        ' ' ' ' ' ' 'RK70E-LST_SETNR' '11',
        ' ' ' ' ' ' 'RK70L-TYPPS(11)' p_typps,
        ' ' ' ' ' ' 'RK70L-MENGE(11)' zpeinh,
        ' ' ' ' ' ' 'RK70L-MEEHT(11)'  gs_rpt-meins,
        ' ' ' ' ' ' 'RK70L-LTEXT(11)' gv_component_txt_subs_us01,
        ' ' ' ' ' ' 'RK70L-lpreis(11)' it_bdcfields-subs_us01,
        ' ' ' ' ' ' 'RK70L-LPEINH(11)' zpeinh,
        ' ' ' ' ' ' 'RK70L-ELEMT(11)'  gv_component_xfer.
*     ENDIF.
    endif.
*end of CM014197

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
350

Prolbably because you ran out of visible rows in the table control, and you didn't page down before entering the next line.

Regards,

Rich Heilman

2 REPLIES 2
Read only

Former Member
0 Likes
350

hi,

Have you checked the value '23' is getting populated in the field gv_component_xfer while debugging ???

Regards,

Santosh

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
351

Prolbably because you ran out of visible rows in the table control, and you didn't page down before entering the next line.

Regards,

Rich Heilman