Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Ecatt & Data dictionnary

Hello all,

I've a strange action in my ecatt script.

I need to know RSNUM (reservation number) from table RESB corresponding to KDAUF (sales order number).

An index existing for RESB-KDAUF.

The record exists (se16n).

To execute this select, I've create a function module for simplifying tests :

- When I call the FM in the script, the record is not found.

- When I call the FM by se37, the record is found.

I've created another FM which select KDAUF in RESB by attacking RSNUM (primary key) :

- When I call the FM in the script, the record is found.

- When I call the FM by se37, the record is found.

My questions :

- In script ecatt, can we access to database table with no primary key?

- Is it a bug & is there any OSS Note or my Sap environment isn't good?

- Did someone had already seen this problem?

Thank you for responses!

Djamel.

Former Member
Not what you were looking for? View more on this topic or Ask a question