Skip to Content
Author's profile photo Former Member

Mass Uploads in SAP APO using Function_Loader_Inlay

Many-a-times it might be required to create (for whatever reason) certain data directly in SAP APO.  Doing so through a BAPI might be helpful many a times when the numbers are small, say in 1’s or 10’s. How about doing the same when there a few hundreds or more of them.

The following notes and screen shots are all about that.

As an example I will show the upload of unrestricted stocks.

Update the unrestricted stock of a particular product-location through a BAPI to familiarize with the BAPI.

Go to t-code ‘BAPI’. Drill down the path shown below:

  • Supply Chain Management
  •                 Advanced Planning and Optimization
  •                                 StockAPS
  •                                               SaveMultiple2 ==> BAPI_STSRVAPS_SAVEMULTI2

Having known the BAPI to upload the Stocks, try uploading a Unrestricted Stock for any particular Product – Location combination.

/wp-content/uploads/2012/07/1_119354.png

Pass the data as shown in the screenshot below.

Product should be as it comes from external system (18 characters as it is CIFed from SAP ECC in my case)

/wp-content/uploads/2012/07/2_119355.png

Execute the function modules shown in the below screenshots to fetch the Logical System and Business System Group.

/wp-content/uploads/2012/07/3_119356.png/wp-content/uploads/2012/07/4_119357.png/wp-content/uploads/2012/07/5_119358.png

Now use FUNCTION_LOADER_INLAY to upload the same data. Go to SE38 and execute the program.

/wp-content/uploads/2012/07/6_119360.png

Click on ‘Create/Open’ and specify a file name and click ‘Open’ in the popup.

/wp-content/uploads/2012/07/7_119361.png

The ‘Data’ tab contains the excel sheet as below./wp-content/uploads/2012/07/8_119362.png

Go to the Design tab to obtain the upload format of the excel sheet.

Having used the BAPI for upload through se37, all the upload parameters are known, so specify them and proceed as shown in the screen shots below.

/wp-content/uploads/2012/07/9_119363.png/wp-content/uploads/2012/07/10_119364.png/wp-content/uploads/2012/07/11_119365.png

Next, click on the ‘Format Worksheet’ button after the ‘Selected Parameters’ are visible on the right and side.

/wp-content/uploads/2012/07/12_119366.png

Click ‘OK’ on the popup.

/wp-content/uploads/2012/07/13_119367.png

The excel sheet would be populated as shown.

/wp-content/uploads/2012/07/14_119368.png

Populate the data as shown below:

/wp-content/uploads/2012/07/15_119369.png

In this case I am showing only 1 row, you can populate multiple rows as per your requirement.

/wp-content/uploads/2012/07/16_119370.png

After populating the data, click on ‘SAP System’ to upload the data.

/wp-content/uploads/2012/07/17_119371.png

/wp-content/uploads/2012/07/18_119374.png

Go to /SAPAPO/RRP3 to verify the upload of stock.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.