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: 

BAPI - List SO

Former Member
0 Kudos

Dear experts.

Looking for some BAPI that retrieve information from SOs, I found the following function:

BAPI_SALESORDER_GETLIST

But I realized that this function don't have a filter based on SO numbers.

Anyone knows a different BAPI that retrieve this information, using VBELN (SO number) as filter?

Thanks!

1 ACCEPTED SOLUTION

krishnendu_laha
Active Contributor
0 Kudos

Please look at BAPISDORDER_GETDETAILEDLIST FM...

Thanks

4 REPLIES 4

krishnendu_laha
Active Contributor
0 Kudos

Please look at BAPISDORDER_GETDETAILEDLIST FM...

Thanks

Former Member
0 Kudos

Hi,

Why don't you simply query SD tables such as VBAK or VBAP?

What information do you need exactly in which context?

Kr,

m.

kesavadas_thekkillath
Active Contributor
0 Kudos

Did you check with [SHP_GET_SD_DATA|http://wiki.sdn.sap.com/wiki/display/ABAP/SHP_GET_SD_DATA-FunctionmoduleforExtractingSalesorderDetails]

madhu_vadlamani
Active Contributor
0 Kudos

Hi Vicari,

If you go with BAPI_SALESORDER_GETLIST here there is no criteria with so.If you go with BAPISDORDER_GETDETAILEDLIST you will get selection as SO.These are two bapi available to extract sales order data.If it is not suitable them make a custom one.

Regards,

Madhu.