Batch

Question: Hi All,

Can someone please tell me what is this error mean: "No batch input data for screen SAPMF05A" in SM35 and how to rectify this error.appreciate your responses.

Thanks

Answer:
That screen is the next logical screen in your input... I.e. it would be displayed if you were entering data maually.

You just haven't supplied it with any data in your BDC...
_________________
The Doc
Magna Grand Docot of the Tuly Idiot Order

2007 Basic Rules

Answer:
Thanks doc. for your quick response,

Could you please elaborate your answer and what is the approach should I take to solve this error.I think they are loading the data from legacy system through some program, as far my understanding, I think the batches are created automatically.I am a functional person and we dont have the developer here at this moment.I would appreciate your help.

Thanks again for the help.

Answer:
The BDC table is written like this:

FORM batch_line USING    l_program
                         l_dynpro
                         l_dynbegin
                         l_fnam
                         l_fval.

  wa_bdcdata-program  = l_program.
  wa_bdcdata-dynpro   = l_dynpro.
  wa_bdcdata-dynbegin = l_dynbegin.
  wa_bdcdata-fnam     = l_fnam.
  wa_bdcdata-fval     = l_fval.

  APPEND wa_bdcdata TO tab_bdcdata.
  CLEAR wa_bdcdata.

ENDFORM.                    " batch_line

To start a new screen: You need to supply the program name, the screen name, and a flag saying start...
To fill the fields: You need to supply the field name, and the value to put in that field...
To press a key (such as save): You need to supply the OK_CODE code, and its value...

So your table might look like this:

PROG001/0501/X/space/space
space/space/space/BKPF-BKTXT/This is header text
space/space/space/BKPF-BUDAT/01012006
space/space/space/OK_CODE/F11
PROG001/0502/X/space/space

The next screen terminates the first...

It looks like the logic of your batch input wants you to populate screen: SAPMF05A/xxxx but your BDC table doesn't cater for this... It goes off to some other screen..


_________________
The Doc
Magna Grand Docot of the Tuly Idiot Order

2007 Basic Rules

Answer:
Easiest way to find out what needs doing is to run the Batch Input in Errors Only mode, then when it gets to the part of the program where there is no batch input data it will bring you directly into the screen concerned. From there you should be able to work out what you need to add / ask to be added to the program (or manually correct the problem if you are using SM35 to process the BDC session).

HTH
_________________
Kind Regards

Rosie Brent

Please remember to search the forum and check the FAQ before posting questions, thank you.

Tuly Idiot most of the time, part-time Guru

Answer:
It's more than likely going to be a cursor issue whereby the BDC is attempting to place the curson within a certain field which no longer exists. This is very common for recorded sessions for transactions that have suddenly changed to config changes. If this is the case then can simply remove the CURSOR statements from your BDC code.

If not, then please ignore this and I'll slip back under my rick. :]

Dr Sidewalk
_________________
"In the middle of difficulty lies opportunity" - Albert Einstein
"Money isn't everything in life, unless you don't have it". David King
"Fail to plan, plan to fail"
"Success is a journey, not a destination."
Copyright ?2007 - 2008 www.jt77.com