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

SQL QUERY

Former Member
0 Likes
398

Hi Guys,

kan it be possible to write abap code while creating query using tocode sq01,sq02.

i saw ,there is option says code but how to write code code over there.

kan someone tell me .

full points will be rewarded

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
374

Yus we can do code while creating sql query....

go to sq02 and there is a option says extras (click on extras and choose additional field and additonal structure )

-->iside that you can define your structure and field

--->after that there is a tab says coding for addition (inside which ou can write your code)

rewards please if helpful...

2 REPLIES 2
Read only

Former Member
0 Likes
374

Hi Ankur,

if you create a user field in transaction SQ02, then you may write an ABAP coding for computing that field.

For that:

1. Click on button "Extras"

2. Define a new additional field/structure

3. Then click on button "Coding for Addition"

4. Write your ABAP code

I hope this helps. Best regards,

Alvaro

Read only

Former Member
0 Likes
375

Yus we can do code while creating sql query....

go to sq02 and there is a option says extras (click on extras and choose additional field and additonal structure )

-->iside that you can define your structure and field

--->after that there is a tab says coding for addition (inside which ou can write your code)

rewards please if helpful...