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

Former Member
0 Likes
1,266

HI,

can anyone tell me where are all the screen numbers field name n values are stored which are recorded in bdc?? i mean where r they stored ?? are they stored in table or can they can retrieved using a function module?????

<b>HELPFUL ANSWERS WILL BE HIGHLY APPRECIATED</b>

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,243

Hi,

SCreen no fieldname and fields values will be stored in BDC_DATA table which is used to upload data using BDC_INSERT or call transaction.

Jogdand M B

11 REPLIES 11
Read only

Former Member
0 Likes
1,243

you define a table type bdcdata what you append while recording and pass while call transaction or BDC_Insert FM while sessiom method. That table has a field

which hold the screen no and program anme.


CALL TRANSACTION ‘MM01' USING  i_bdcdata[]
                            MODE   p_mode
                            UPDATE p_update
                            MESSAGES INTO i_message.

CALL FUNCTION 'BDC_INSERT'
 EXPORTING
      tcode            = ‘MM01'
TABLES
      dynprotab        = i_bdcdata
EXCEPTIONS

…..

FORM bdc_dynpro  USING p_program TYPE any
                       p_dynpro  TYPE any.

  CLEAR wa_bdcdata.
  wa_bdcdata-program  = p_program.
  wa_bdcdata-dynpro   = p_dynpro.
  wa_bdcdata-dynbegin = 'X'.
  APPEND wa_bdcdata TO i_bdcdata.

ENDFORM.                    " bdc_dynpro

FORM bdc_field  USING   p_fnam TYPE any
                        p_fval TYPE any.

  CLEAR wa_bdcdata.
  wa_bdcdata-fnam = p_fnam.
  wa_bdcdata-fval = p_fval.
  CONDENSE wa_bdcdata-fval.
  APPEND wa_bdcdata TO i_bdcdata.

ENDFORM.                    " bdc_field


open type bdcdata in se11, you will understand.

Read only

Former Member
0 Likes
1,243

hi,

go to SE11 and enter the table name BDCDATA.

DYNPRO = SCREEN NUM - screen number is stored here

DYNBEGIN = SCREEN START

FNAM = FIELD NAME - the field name is stored here

FVAL = FIELD VALUE - the field values are stored here

Reward if useful

regards

Dinesh

Read only

Former Member
0 Likes
1,243

Hi kiran,

use the table APQI, APQD and APQL.

Reward points if useful.

Regards,

Atish

Read only

Former Member
0 Likes
1,243

hai hiran,

u can see all screen no's field names in shdb transaction or they are avialable to u in bdcdata [ internal table]

if helpful reward some points.

with regards,

suresh babu aluri.

Read only

Former Member
0 Likes
1,243

HI,

i know that are the screen realted details are stored in bdcdata internal table which we declare in program, but i want 2 know whether any data base table stores the Program Dynpro Dynbegin and Fnam???

Read only

0 Likes
1,243

structure bdcrec stores them

regards,

padma

Read only

0 Likes
1,243

Hi Kiran,

I replied it to yesterday only.

tables are APQI, APQD and APQL.

Reward points if useful.

Regards,

Atish

Read only

0 Likes
1,243

Hi Atish,

cud u plz tell me what are the fields that stores the zprogram name and the sap program name and screen number fnam

Read only

0 Likes
1,243

Hi,

check the table WDKSCRIPTBDC.

rgds,

bharat.

Read only

Former Member
0 Likes
1,244

Hi,

SCreen no fieldname and fields values will be stored in BDC_DATA table which is used to upload data using BDC_INSERT or call transaction.

Jogdand M B

Read only

dev_parbutteea
Active Contributor
0 Likes
1,243

Hi,

goto trnx shbd, new recording, enter transaction code, start recording

enter values in sel. screen

then go to Environment,Outbound Delivery monitor

it will give you all the required data to pass as parameters for bdcdata.

Regards,

Sooness