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

Reg. BDC.....have ur point.s

Hi all,

What is the concept of subscript in case of BDCDATA table, I heard abt this in case of table control.

Pleas assist me..

<b>Have ur points.</b>

Regards,

pradeep phogat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2007 at 01:21 PM

    This the strucutre of BDCDATA. Never heard of subscript before.

    • PROGRAM

    Name of the program. Length (8). The PROGRAM field is not case-sensitive. Set this field only in the first record for the screen.

    • DYNPRO

    Number of the screen. Length (4). Set this field only in the first record for the screen.

    • DYNBEGIN

    Indicates the first record for the screen. Length (1). Set this field to X only in the first record for the screen. (Reset to ' ' (blank) for all other records.)

    • FNAM

    Name of a field in the screen. Length (35). The FNAM field is not case-sensitive.

    • FVAL

    Value for the field named in FNAM. Length (132). The FVAL field is case-sensitive. Values assigned to this field are always padded on the right if they are less than 132 characters. Values must be in character format.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2007 at 01:23 PM

    Hello Pradeep,

    BDCDATA Is the structure it contains field program name,screen number ,dynbegin,field name,field value.

    Simple example :

    if you are uploading the data from file to SAP R/3 transaction,your abap program should identify the what is program name,screen number ...

    so here we are filling all the data to BDCDATA,we use bdcdata structure to call transaction ,Session method (BDC_INSERT FM)

    BDCDATA will have all transaction screen sequence in run time.

    Thanks

    Seshu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2007 at 03:43 PM

    Hi Pradeep,

    you will use subscript '(' and ')' in case of table control. Since we are looping at the internal table to display the content, each row of the table control will have same name. In order to differenciate the row, we use the brackets. like this

    gs_output-vbeln(01) = value.

    gs_output-vbeln(02) = value.

    gs_output-vbeln(03) = value.

    While coding we will populate the value using variable and then concatenate.

    hope u understand.

    Reward points if usefull,

    Regards,

    Niyaz

    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.