cancel
Showing results for 
Search instead for 
Did you mean: 

In ecatt - how to check at database level using ABAP

Former Member
0 Kudos

Hi,

How to check at database level using ABAP in Ecatt tool.

say,for example I want to check a particular sales order is invoiced or not ,at the database level and if it is invoiced I have stop proceeding to invoicing of that sales order number.

Could anybody suggest on this with an example?

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you can use the command GETTAB to access single db records.

Full specified or partitial specified keys can be use at GETTAB. It will return always only one record, also if a couple could match your selection.

For more advanced scenarios you can also use eCATTs Inline ABAP. In a block between the commands ABAP. ENDABAP. you can code ABAP statements, e.g. SELECT ... INTO TABLE ...

eCATT script parameters of type 'V' defined in that script using ABAP/ENDABAP will be transfered into the ABAP block and back to script after ABAP perform.

Best regards

Jens

Former Member
0 Kudos

I'm using the "select statement" inside ABAP...ENDABAP block.

but it is not working.

any reason why ??

former_member585451
Active Participant
0 Kudos

Hi Bilal,

There are 2 ways of doing it..

One use a GETTAB or another use the select statement in ABAP-ENDABAP.

What is the error message you are getting from your Select statement. Check the syntax and try again..

For any other queries, open a new question/thread so that others searching for the same answers would be able to trace the question easily.

Best regards,.

Harsha