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

Alternative For Select Queries

Former Member
0 Likes
2,075

H All,

Is there a way to extract sales doc. number of corresponding billing doc. number with out using select query in a report?

H All,

Is there a way to extract sales doc. number of corresponding billing doc. number with out using select query in a report?

5 REPLIES 5
Read only

Former Member
0 Likes
1,229

hi Ravi chandra

use Views or SQVI- QUickView, SAP query ( SQ01 , SQ02 , SQ03)to get Report

Regards

Deva

Read only

former_member585060
Active Contributor
0 Likes
1,229

U can use

READ TABLE dbtab [WITH KEY key] -- but it is Obsolute

Ex

PARAMETERS p TYPE c LENGTH 4 DEFAULT '100T'.

t100-sprsl = 'E'.

t100-arbgb = 'BC'.

t100-msgnr = '010'.

READ TABLE t100 SEARCH FKEQ VERSION p.

IF sy-subrc = 0.

...

ENDIF.

Read only

Former Member
0 Likes
1,229

You Can use :

BAPI

Views

SQVI

Read only

Former Member
0 Likes
1,229

Ravi,

Is there a way to extract sales doc. number of corresponding billing doc. number with out using select query in a report?

I want to take shower without getting Wet?

Try with BAPI_SALESORDER_GETDETAILBOS,and see the details from BAPISDFLOW structure.

Amit.

Read only

Former Member
0 Likes
1,229

Hi,

The best way is to search for view.

Search for standard views via SE11( search for standard(sales,billing) starts with which letter)

Another approach is search for BAPI'S all depends

on requirment.

Regards,

Naveen.