cancel
Showing results for 
Search instead for 
Did you mean: 

SPP: Create and Update schedule line for /n/SAPAPO/SPPDRPSB

former_member213851
Active Contributor
0 Kudos

Hi All,

My requirement is to create and update schedule lines in  TCODE :/n/SAPAPO/SPPDRPSB.

I tried searching for BAPI but couldn't succeed.

Can anybody let me know BAPI or Class for the same

Thanks and Regards,

Sachin

Accepted Solutions (1)

Accepted Solutions (1)

binodbihary
Discoverer
0 Kudos

Hi Sachin,

As I see you have already looked into this FM below.

BAPISPP0002_SDL_MODIFY_MULT

You should be able to use this and create schedule lines..Infact we have used this to create lines with an input of product, location, means of transport, Schedule agreeemnt, availability date...

So I suggest you please check with your ABAPer to look into this again.

Best regards,

Binod Sahu

former_member213851
Active Contributor
0 Kudos

Hi Binod,

I am an ABAPer.. I checked the import and table parameters and there is no provision to enter the product. I am not sure how you people used this BAPI to create schedule lines is SPP.

Also, SAP uses get and set methods of class /SAPAPO/CL_TDL_LC_DS__DAO.

I am using the same approach now.

Regards,

Sachin Adak

Answers (2)

Answers (2)

RahulHanda
Active Contributor
0 Kudos

Hi Sachin,

Have you checked:

  • BAPISPP0002_SDL_APPR_MULTIPLE
  • BAPISPP0002_SDL_MODIFY_MULT

(under object type SPP0002)

Let me know if it resolved your issue.

Regards

Rahul

former_member213851
Active Contributor
0 Kudos

Hi Rahul,

Thanks for your reply..

My requirement is to create the Schedule lines in SPP using ABAP conversion program.

Manual creation of these SPP schedule lines is done using TCODE '/SAPAPO/SPPDRPSB' .

Input file for mass uploading program will have below details:

1. Product

2. Location

3.Order Reason

4.Availability date

5.Schedule Line quantity

6. Purch Doc Num/Line item

7.Fixed Indicator Means of Transport.

I checked both the BAPIs suggested but they don't have all of the above mentioned fields. Also, first BAPI description indicates that it is for approval of schedule lines and not for creation.

Please correct me if I am wrong.

Regards,

Sachin Adak

RahulHanda
Active Contributor
0 Kudos

Hi Sachin,

As of now I don't have access to SAP but I hope the second should have mentioned fields. Yes the first one is for approval.

Regards

Rahul

former_member213851
Active Contributor
0 Kudos

Hi Rahul,

But second BAPI is not for creating the Schedule lines. So is there any BAPI for creating the schedule lines.

Regards,

Sachin

RahulHanda
Active Contributor
0 Kudos

Hi Sachin,

I am really not sure when you say its not for creating the SL. The BAPI is for mass load for DRP schedules lines and notes. Did you checked standard documentation of the BAPI for parameter SCHEDULE?

Regards

Rahul

former_member213851
Active Contributor
0 Kudos

Hi Rahul,

BAPISPP0002_SDL_MODIFY_MULT do not have any input parameter for providing Product and Location. So I guess it won't be used for creating Schedule lines.

Regards,

Sachin

RahulHanda
Active Contributor
0 Kudos

Go into BAPI and put "product" in find. You will see selection parameters for product & location. Take help of an ABAPer.

Regards

Rahul

former_member213851
Active Contributor
0 Kudos

HI Rahul,

In IMPORT and Table section of BAPI there is no provision for Product and Location.

Former Member
0 Kudos
former_member213851
Active Contributor
0 Kudos

Hi Riyazahmed,

Thanks for the reply . I have already checked this link.