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

Need help on BDC

Former Member
0 Likes
877

I have created a program and when am running it gives STOP message "Start screen doesn't exist"

I debugged the program and I see BDC internal table is building up, so can anyone let me know what might be the problem

Thanks

INDEXPROGRAMDYNPRODYNBEGINFNAMFVAL
1SAPMF02D100
20BDC_CURSORRF02D-KTOKD
30BDC_OKCODE/00
40RF02D-KUNNR151
50RF02D-VKORG1000
60RF02D-VTWEG12
70RF02D-SPART00
80RF02D-KTOKD0004
9SAPMF02D110
100BDC_CURSORKNA1-ANRED
110BDC_OKCODE/00
120KNA1-ANREDMr.
130KNA1-NAME1Rajesh
140KNA1-SORTLR
150KNA1-STRASKPHB
160KNA1-ORT01HYD
170KNA1-LAND1IN
180KNA1-SPRASEN
19SAPMF02D120
200BDC_CURSORKNA1-LIFNR
210BDC_OKCODE/00
22SAPMF02D125
230BDC_CURSORKNA1-NIELS
240BDC_OKCODE/00
25SAPMF02D130
260BDC_CURSORKNBK-BANKS(01)
270BDC_OKCODE=ENTR
28SAPMF02D340
290BDC_CURSORKNVA-ABLAD(01)
300BDC_OKCODE=ENTR
31SAPMF02D360
320BDC_CURSORKNVK-NAMEV(01)
330BDC_OKCODE=ENTR
34SAPMF02D310
350BDC_CURSORKNVV-BEGRU
360BDC_OKCODE/00
37SAPMF02D324
380BDC_CURSORRF02D-KUNNR
390BDC_OKCODE=ENTR
1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
840

Hi,

it's not really easy to undestand your grid

when you start a new dynpro, for example your index 1.

1SAPMF02D100

you must put an 'X' into the column  DYNBEGIN

that's all

regards

Fred

6 REPLIES 6
Read only

FredericGirod
Active Contributor
0 Likes
841

Hi,

it's not really easy to undestand your grid

when you start a new dynpro, for example your index 1.

1SAPMF02D100

you must put an 'X' into the column  DYNBEGIN

that's all

regards

Fred

Read only

0 Likes
840

Thanks, dynbegin = 'X' fixed the issue.

But I have one query:- The excel sheet which was used to upload the data contains some improper data

for example it was saying "KUNNR 153 doesnot belong to Bill to Party group, you need to enter values between 80000 t0 90000".

I understand that it is field check message but what I wanted to understand is, in the program I have implemented an alv to display all the error records by capturing the error messages in an ITAB using BDCMSGCOLL why the error record doesnt go there instead of prompting to change the data??

Read only

0 Likes
840

Okies fixed this issue as well.

When mode = A, it displays all the screen and the field message and when we close that particular message it prints the ALV.

But when mode is N, it directly displays the ALV.

Thanks everyone.

Read only

0 Likes
840

Hi,

you use CALL TRANSACTION instead of creating a batch-input ? (SM35)

it's more simple to manage batch-input

regards

Fred

Read only

Former Member
0 Likes
840

Hi Naveed,

First check whether you are calling the Required transaction transaction with that internal table or not (Bold part  in the example).

Secondly, check the  wa_bdcdata-dynbegin = 'X' is mentioned or not whenever you are going for new screen.

Ex:


  LOOP AT t_bdc INTO wa_bdc.

    wa_bdcdata-program = 'SAPMF02K'.
    wa_bdcdata-dynpro = '0100'.
   wa_bdcdata-dynbegin = 'X'.
    wa_bdcdata-fnam = 'RF02K-LIFNR'.
    wa_bdcdata-fval = wa_bdc-lifnr.


    APPEND wa_bdcdata TO t_bdcdata.

  CALL TRANSACTION 'XK01' USING t_bdcdata." MODE 'N'.

  REFRESH t_bdcdata.

  ENDLOOP.

Read only

Former Member
0 Likes
840

Did you record your BDC thru SHDB?

One of the things that you have to understand about BDC is that they can run threw different screens in the foreground than in the background.

SO, could you give us a few more details about what you are attempting?

Neal