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: 

BAPISDORDER_GETDETAILEDLIST

Former Member
0 Kudos

Hi Experts

As you know, TCode BAPI gives us the details of a BAPI through its documentation attached.

In the std TCode BAPI, I could not find BAPISDORDER_GETDETAILEDLIST, whereas in SE37, I could see this.

Since I used SE37, I could not find any associated documentations about this BAPI. Pooru....

Could anybody tell:

1) Why this BAPI is not present in the BAPI code?

2) Where can I find the related documentation for this BAPI?

Please let me know.

Thd

Mairan

3 REPLIES 3

Former Member

I believe you cannot see this in the BAPI t-code because the function module BAPISDORDER_GETDETAILEDLIST is not released. (You can see this in SE37 on the Attributes tab in the lower right corner.) If SAP doesn't want customers using the function module and it's more for "internal" purposes, they don't "release" it. This doesn't mean that the function modules don't work, or that customers don't call them in custom code - it's just SAP's way of saying "We don't support this at upgrades against changes, etc"

As far as documentation goes - one of my tricks that helps to varying degrees - log on to the system with "DE" (German) as the language. Then check if the documentation exists. If it does, I copy it, then go to Google Translate to bring it to English. Sometimes this helps, sometimes it doesn't. Depends grealty on the documentation and translation.

I hope this helps.

Regards,

Mark

Former Member
0 Kudos

go se37 and write

BAPI_SALESORDER_GETLIST

u can see this in se37 if u write BAPI_SALESORDER_GETLIST

david_burg
Participant
0 Kudos

See Mark's answer as to why it doesn't show up.

Additionally you can scrap information from 3rd party sites such as se80.co.uk sapfms/b/bapi/bapisdorder_getdetailedlist which has the english one-line description of each parameter, and saptutorial.org how-to-use-bapisdorder_getdetailedlist-function-to-get-condition-pricing-similar-in-va03 which gives the hint that the import parameters are the classic 'X' flag-like boolean to enable different things. I'm not pasting the full URI because they can lead to the answer not showing up due to RoE do not try to raise traffic to specific locations (I don't own either of these sites).

Empirically I found that you need to further use the SALES_DOCUMENTS table parameter as the input to say which document you want to get the details of from all these tables. You need for each line there the BAPI sales order document number, e.g. 0000008078 (from IDES' sample data), also seen in released in the released BAPI_SALESORDER_GETLIST response as the SD_DOC field of the SALES_ORDERS table.