Skip to Content
author's profile photo Former Member
Former Member

regarding BDC at TABLE CONTROL

hey guys,

I have seen a look at below link for BDC at table control.

but could not understand where the table control portion is used here..

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Actually i want to write bdc program to insert 5 rows in screen..where as i have to scroll my screen to enter 2more rows..how to use BDC in this case.

ambichan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 31, 2005 at 06:23 AM

    Hi Ambi,

    Loop at the table where u have all the line items u want to enter and then use a variable say field to hold the fieldname and the no. like in the bdc recording if u see.

    PERFORM bdc_field USING 'SMEINH-UMREN'(01) it_success3-umren.

    Here u can add the count as many times the loop executes for each line item.

    CONCATENATE 'SMEINH-UMREN' '(' count ')' INTO field.

    PERFORM bdc_field USING field

    it_success3-umren.

    Regards,

    Vinotha

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 31, 2005 at 08:05 AM

    HI

    DATA : IDX TYPE N

    THIS IS HOW I DID BDC FOR TRANSACTION 'FB60' FOR A TABSTOP IN THE SCREEN

    LOOP AT ITAB

    if idx > 4.

    idx = 4.

    endif.

    CONCATENATE 'ACGL_ITEM-HKONT(' IDX ')' INTO FNAM.

    perform bdc_field using FNAM

    IT_DATA1-HKONT.

    IDX = IDX + 1.

    ENDLOOP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.