Skip to Content
0

Error: Transaction 00000001: transaction code not defined in Table T160 Message no. ME528

Dec 01, 2016 at 10:54 AM

139

avatar image

Dear Expert,

I am copy paste abap source code from below source.

Create and mass update of purchase info records from an input excel file.

But, when i run it there is an error:

"Transaction 00000001: transaction code not defined in Table T160 Message no. ME528"

Any idea why the transaction code is 00000001?

Best regards.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Jürgen L
Dec 01, 2016 at 11:17 AM
-1

Can you show the field list of the failed transaction from SM35?

Share
10 |10000 characters needed characters left characters exceeded
Pangkat Alwi Dec 02, 2016 at 01:29 AM
-1

Hi Jurgen,

Thanks for quick reply.

Here the result of transaction in SM35.

Best regards.


sm35-pir.jpg (52.9 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded

This is the log - I asked for the transaction detail in the session.

Also the log says that there is no transaction and no error, when and where did you see the error about which you talked in your question

0

Hi Jurgen,

Is it like this?

The error comes up when i executed the Abap program after a session was created.

Best regards.

sm35-pir-2.jpg (63.5 kB)
sm35-pir-3.jpg (24.9 kB)
sm35-pir-4.jpg (25.5 kB)
0
Jürgen L
Dec 05, 2016 at 05:40 AM
0

you have no transaction in the session. And no transaction means you have no fields, and without fields you have no value, just blanks, in any field.

And there is no blank entry in table T160, hence you get the error.

But forget about this specific error with table T160, care about your recording in general, as it looks as if you have no fields in your recording or at least you did not fill them with values in your program.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Jurgen,

Constant parameter already defined for the tcode (ME11).

But, the these tcode does not adopted by the program.

Best regards.

sm35-pir-5.jpg (43.6 kB)
0

You copied a program from a 2011 wiki: https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=243630173

If you are not a programmer then you should not really copy code into your system without understanding it, and if you are a programmer then you should be able to debug the code to know which statements are processed and where it leaves without writing a record.

There could be countless reasons. Of course will the highlighted constant go to the field, but if the system was not able to read qualified data from your source file then it may exit the coding without writing a transaction.

2011 is almost 6 years ago, many things changed since then, e.g. the file format and extension of MS Excel.

Are you certain that your data file was properly read in form UPLOAD_EXCEL_IT ? That the internal table t_file has valid records?

0

Hi Jurgen,

Yes, our data file was properly read.

Here the result in t_file (internal table)

But, somehow tcode ME11 not adopted into PERFORM create_inforec

Best regards.

sm35-pir-7.jpg (76.1 kB)
sm35-pir-6.jpg (82.7 kB)
0
Jürgen L
Dec 07, 2016 at 12:10 PM
0

now debug further to see what it does in the form create_inforec.

In this form it actually starts reading your source file. see if that works out or if it fails,

see if open_dataset has then some success or if it fails because of missing authorization.

see if there are values transferred in the statement MOVE-CORRESPONDING <fs_wa> TO x_eine.

It is not just a missing ME11, it is missing the complete set of data in your batch input, your batch input session is empty.

Share
10 |10000 characters needed characters left characters exceeded