ā2013 Nov 26 1:01 PM
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
| INDEX | PROGRAM | DYNPRO | DYNBEGIN | FNAM | FVAL |
| 1 | SAPMF02D | 100 | |||
| 2 | 0 | BDC_CURSOR | RF02D-KTOKD | ||
| 3 | 0 | BDC_OKCODE | /00 | ||
| 4 | 0 | RF02D-KUNNR | 151 | ||
| 5 | 0 | RF02D-VKORG | 1000 | ||
| 6 | 0 | RF02D-VTWEG | 12 | ||
| 7 | 0 | RF02D-SPART | 00 | ||
| 8 | 0 | RF02D-KTOKD | 0004 | ||
| 9 | SAPMF02D | 110 | |||
| 10 | 0 | BDC_CURSOR | KNA1-ANRED | ||
| 11 | 0 | BDC_OKCODE | /00 | ||
| 12 | 0 | KNA1-ANRED | Mr. | ||
| 13 | 0 | KNA1-NAME1 | Rajesh | ||
| 14 | 0 | KNA1-SORTL | R | ||
| 15 | 0 | KNA1-STRAS | KPHB | ||
| 16 | 0 | KNA1-ORT01 | HYD | ||
| 17 | 0 | KNA1-LAND1 | IN | ||
| 18 | 0 | KNA1-SPRAS | EN | ||
| 19 | SAPMF02D | 120 | |||
| 20 | 0 | BDC_CURSOR | KNA1-LIFNR | ||
| 21 | 0 | BDC_OKCODE | /00 | ||
| 22 | SAPMF02D | 125 | |||
| 23 | 0 | BDC_CURSOR | KNA1-NIELS | ||
| 24 | 0 | BDC_OKCODE | /00 | ||
| 25 | SAPMF02D | 130 | |||
| 26 | 0 | BDC_CURSOR | KNBK-BANKS(01) | ||
| 27 | 0 | BDC_OKCODE | =ENTR | ||
| 28 | SAPMF02D | 340 | |||
| 29 | 0 | BDC_CURSOR | KNVA-ABLAD(01) | ||
| 30 | 0 | BDC_OKCODE | =ENTR | ||
| 31 | SAPMF02D | 360 | |||
| 32 | 0 | BDC_CURSOR | KNVK-NAMEV(01) | ||
| 33 | 0 | BDC_OKCODE | =ENTR | ||
| 34 | SAPMF02D | 310 | |||
| 35 | 0 | BDC_CURSOR | KNVV-BEGRU | ||
| 36 | 0 | BDC_OKCODE | /00 | ||
| 37 | SAPMF02D | 324 | |||
| 38 | 0 | BDC_CURSOR | RF02D-KUNNR | ||
| 39 | 0 | BDC_OKCODE | =ENTR |
ā2013 Nov 26 1:28 PM
Hi,
it's not really easy to undestand your grid
when you start a new dynpro, for example your index 1.
| 1 | SAPMF02D | 100 |
you must put an 'X' into the column DYNBEGIN
that's all
regards
Fred
ā2013 Nov 26 1:28 PM
Hi,
it's not really easy to undestand your grid
when you start a new dynpro, for example your index 1.
| 1 | SAPMF02D | 100 |
you must put an 'X' into the column DYNBEGIN
that's all
regards
Fred
ā2013 Nov 27 7:11 AM
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??
ā2013 Nov 27 7:51 AM
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.
ā2013 Nov 27 8:12 AM
Hi,
you use CALL TRANSACTION instead of creating a batch-input ? (SM35)
it's more simple to manage batch-input
regards
Fred
ā2013 Nov 26 3:01 PM
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.
ā2013 Nov 26 3:02 PM
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