Application Development and Automation 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: 
Read only

select statement

Former Member
0 Likes
262

hi all,

please write a select query for the following description.

A1

Go to CDPOS and pass OBJECTID where EINE-INFNR=OBJECTID. Get the CHANGENR where TABNAME=EINE and FNAME=NETPR and get VALUE_NEW

A2

Go to CDHDR and pass OBJECTID where EINE-INFNR=OBJECTID. Get the CHANGENR based on the UTIME. Ascend UTIME and get the CHANGENR last but one. Pass the CHANGENR to CDPOS, get VALUE_NEW where FNAME=NETPR

A3

Go to CDHDR and pass OBJECTID where EINE-INFNR=OBJECTID. Get the CHANGENR based on the UTIME. Ascend UTIME and get the last CHANGENR. Pass the CHANGENR to CDPOS, get VALUE_NEW where FNAME=NETPR

thanks & regards

Suprith

1 ACCEPTED SOLUTION
Read only

JanStallkamp
Advisor
Advisor
0 Likes
242

Hi.

Please open an ABAP editor, type SELECT and press F1. You will get all the information you need to do this task. If there any questions left after reading the documentation feel free to come back to the forums and explain your issue.

Best regards,

Jan Stallkamp

1 REPLY 1
Read only

JanStallkamp
Advisor
Advisor
0 Likes
243

Hi.

Please open an ABAP editor, type SELECT and press F1. You will get all the information you need to do this task. If there any questions left after reading the documentation feel free to come back to the forums and explain your issue.

Best regards,

Jan Stallkamp