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

F110 - BDC ERROR

Former Member
0 Likes
1,086

Hi Friends,

In Tcode - F110, when we submit Run Date and Identification, the templete pop-ups in the Parameter Tab.

I've reqirement to change all the values of

Next payment date (Next/p Date) field (based on selection perameter) in the Table Control under the Tab- Parameter.

I have developed the BDC program by recording the transaction F110. This program is changeing the first 3 line items and after that it is throughing an error 'screen does not find the filed' (Below is the program). Please help me in correcting this issue.

Thanks in Advance,

Saya

-


perform bdc_dynpro using 'ZSAPF110V' '0200'.

perform bdc_field using 'BDC_CURSOR' 'F110V-LAUFI'.

perform bdc_field using 'BDC_OKCODE' '=PABE'.

perform bdc_field using 'F110V-LAUFD' w_laufd.

perform bdc_field using 'F110V-LAUFI' w_laufi.

  • End of screen 1.

perform bdc_dynpro using 'ZSAPF110V' '0200'.

perform bdc_field using 'BDC_OKCODE' '=CP'.

perform bdc_field using 'BDC_CURSOR' 'F110C-BUDAT'.

perform bdc_field using 'F110C-BUDAT' w_laufd.

perform bdc_field using 'F110C-GRDAT' w_nedat.

  • End of screen 2.

perform bdc_dynpro using 'ZSAPF110V' '1108'.

perform bdc_field using 'BDC_CURSOR' 'F110V-COPYD'.

perform bdc_field using 'BDC_OKCODE' '=GO'.

perform bdc_field using 'F110VCOPYD' w_prdat.

perform bdc_field using 'F110V-COPYI' w_laufi.

perform bdc_field using 'F110V-XFKTV' c_mark.

  • End of screen 3.

perform bdc_dynpro using 'ZSAPF110V' '0200'.

perform bdc_field using 'BDC_OKCODE' '=STA'.

perform bdc_field using 'BDC_CURSOR' 'F110C-BUDAT'.

perform bdc_field using 'F110C-BUDAT' w_laufd.

perform bdc_field using 'F110C-GRDAT' w_nedat.

perform bdc_field using 'F110V-NEDAT(01)' w_nedat2.

perform bdc_field using 'F110V-NEDAT(02)' w_nedat2.

perform bdc_field using 'F110V-NEDAT(03)' w_nedat2.

perform bdc_field using 'F110V-NEDAT(04)' w_nedat2.

perform bdc_field using 'F110V-NEDAT(05)' w_nedat2.

  • End of screen 4.

perform bdc_dynpro using 'SAPLSPO1' '0100'.

perform bdc_field using 'BDC_OKCODE' '=YES'.

  • End of screen 5.

perform bdc_dynpro using 'ZSAPF110V' '0200'.

perform bdc_field using 'BDC_CURSOR' 'F110V-LAUFD'.

perform bdc_field using 'BDC_OKCODE' '=VOEX'.

perform bdc_dynpro using 'ZSAPF110V' '1106'.

perform bdc_field using 'BDC_CURSOR' 'F110V-XSTRF'.

perform bdc_field using 'BDC_OKCODE' '=EP'.

perform bdc_field using 'F110V-XSTRF' c_mark.

call transaction c_trans using t_bdcdata mode 'N' update 'S' .

4 REPLIES 4
Read only

Former Member
0 Likes
862

Hi,

Execute your call transaction in mode E and it will stop where the error occurs. This could give you some more information about what exactly is wrong.

Read only

0 Likes
862

Hi kris,

Per my understand when the program is changing the 4th record in the table control then the transaction is not finding the field. Because 4th and 5 th records are displayed after scrolling down. How do I handle this records?

  • perform bdc_field using 'F110V-NEDAT(04)' w_nedat2.

  • perform bdc_field using 'F110V-NEDAT(05)' w_nedat2.

Thanks & Regards,

Saya

Read only

0 Likes
862

You should program that scrolling in your BDC.

Page down = bdc_okcode P+

( or even better - if available - a menu option "go to -> item" )

Read only

0 Likes
862

Hi,

Is there any way to get number of entries in the table control in my BDC program.

Thanks & Regards,

Saya