cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is SP Classes in terms of SAP Extended Warehouse Management?

0 Kudos
1,719

Recently, I have been started working and understanding SAP EWM Module, there are many times discussion to use SP Classes instead of any Select queries, can anyone explain on what is SP Classes and when to use them and when not to? Also, if there is any preference criteria on using SP Classes?
It'd be of great help to me. Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member230160
Active Participant

Hi,

If you can not open the links then please directly access the note 14141795 and view the attachements there.

Best regards

Markus

former_member230160
Active Participant

Hi,

I suppose that this referrs to "Service Provider" as SP.

You can find more information in note 14141795 "Technical documents for software development in EWM".

It contains three PDF attachements:

  • DelivServiceProviderCallExamples.pdf
  • TransactionHandlingInEWM.pdf
  • EnhancingEWM-DeliveryObjects.pdf

The first document explains the service provider. Please especially note that there is an /SCWM/* Serviceprovider (which is only for a specific UI) and /SCDL/ Serviceprovider. You should only use the SCDL-Serviceprovider. But this is also described in the document.

For reading deliveries, in the document also methode /SCWM/CL_DLV_MANAGEMENT_PRD->QUERY is proposed.

Also I propose to have a look at the other documents.

And indeed it is proposed to use APIs to read data rather then doing direct SQL selects. The reason is that several information are calculated and not contained in the database. Also if you use APIs you are usually more save in case data model changes are done. A third reason is that the database model may be complex and in some cases the information may be stored at one place and in an other case somewhere else. So usually APIs help to reduce this complexity.

Best regards

Markus

0 Kudos

Thanks for the detailed explanation, Markus. However, I am not able to open the Hyperlinks you mentioned. But I got the point of using SP Classes in place of Select Queries. Thanks 🙂

Daniil
Active Contributor

Hi Atul, SP = Service Provider

You can check here how-to guide for service provider call:
https://wiki.scn.sap.com/wiki/display/SCM/How-To+Guides+for+SAP+EWM

BR, Daniil

0 Kudos

Thanks for the information Daniil.