Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Selection from COSP table

Former Member
0 Kudos

hi Experts

How to fetch data from COSP based on OBJNR.

Regards,

Amit Kumar

2 REPLIES 2

Former Member
0 Kudos

Hi,

Objnr is the primary key field of table ONR00 therefore this table is the checked table of COSP.

select * from cosp where objnr = onr00-objnr.

Hope this helps.

Regards,

Darpana.

Firoz_Ashraf
Contributor
0 Kudos

Hi !

You have to concatenate some fields first depending on your data fetch for order, project or cost centre.

For example the object number for cost centre could be a combination of controllng area, cost centre etc.. Hence check the entries in table ONR00 ( the check table for Object number) and then make your select statement.

Regards,

Firoz.