Skip to Content
Author's profile photo Ragini Upadhyay

Batch Management – Custom SAP Fiori Transactional App (ECC)

Batch Management – Custom SAP Fiori Transactional App (ECC)

This document covers the details of the custom SAP fiori Transactional App developed Batch Management using FIORI 2.0.  SAP does not provide standard solution (FIORI App) that covers all these functionalities for ECC. The entire code is not shared but all FMs/Tables/Logic are listed in the last part of the document as pointers. 

The document focuses on two aspects depending on the target audience:

  • Features covered in the app (Functional/Business/End Users Audience)
  • High level Technical details for each functionality (Technical Audience)

Features of the App

  1. BMBC Cockpit Display
  2. Create/Change/Display Batch
  3. Create with Reference
  4. Stock Overview Report
  5. Top Down / Bottom Up Report
  6. Search for Inspection Lots Based on Given Search Parameters
  7. Value helps for all fields with wild card search/case sensitive search wherever possible
  8. Variant Management ( as in SAP ) – Create / Update / Delete / Setting Default Variant
  9. Print Report ( Sap script Form/Smart form/Adobe in PDF format)
  10. Decimal , Date User format as per the user profile
  11. Multiple Language support
  12. Lock Mechanism
  13. Authority checks done as per Client requirements
  14. Security Roles assigned to Catalogs , Groups , OData Services on Gateway and Backend

 

These features covers functionalities of transactions BMBC, MSC1n/2n/3n, MMBE, and MB56

Most of the functionalities (points 6 to 14) are common to previous app. Refer below link for common functionalities.This document focuses on the Batch Management specific functionalities (points 1 to 5).

 https://blogs.sap.com/2018/03/12/quality-management-results-recording-custom-sap-fiori-transactional-app-ecc/

 

  1. BMBC Cockpit Display

The app opens the search selection screen where the search results are similar to the results returned by BMBC.

  1. Create/Change/Display Batch

User can create/change/display batch as well as the characteristics. While creating batch, the user gets an option to generate an internal batch number or can also explicitly specify a batch number.

For few pharmaceutical materials, batch gets created after Digital Signature process only.

After creation of batch, the created batch details are displayed and user can also change the details.

Provision of auto calculating the SLED, based on Date of Manufacture is available in the app. After selecting the Date of manufacture, the BBED/SLED gets auto calculated and populated on screen.

Other features: Changing Batch Status, Validating the numeric characteristics as per the templates set for the characteristics.

  1. Create with Reference

App displays the latest 10 batches created by the logged in user.  User can create a new batch with reference to an existing batch in this list.

On save, user gets an option for entering the batch number or accepting the system generated batch number.

 

Digital Signature may be required for completing the process and after creation of batch the list gets refreshed with the new batch number.

  1. Stock Overview Report

This displays the standard Stock Over report displayed in MMBE transaction. Select record form the search results and click on Stock Overview button. This displays the stock overview report.

  1. Top Down / Bottom Up Report

Standard MB56 top down and bottom up reports.

High Level Technical Details

This part of the document would be more appealing for the technical people as most of the time is lost in finding the correct logic/function modules/tables/enhancements and testing them. The aim is only to give high level details and not the exact step by step process done to achieve the functionalities.

Functionality Technical Details
Create Batch with Reference VB_CREATE_BATCH
Create/Change/Display Classification

QMSP_MATERIAL_BATCH_CLASS_READ

BAPI_OBJCL_CONCATENATEKEY

BAPI_OBJCL_GETDETAIL

BAPI_OBJCL_CREATE

BAPI_OBJCL_CHANGE

Link internal object number to batch

CUOB_GET_NUMBER

VB_CHANGE_BATCH

Create Batch

BAPI_BATCH_CREATE

BAPI_BATCH_SAVE_REPLICA ->change batch status

Display Batch BAPI_BATCH_GET_DETAIL
Change Batch BAPI_BATCH_CHANGE
Batch Top Down/Bottom Up Reports CHVW_EXPLODE_ALL
Calculate SLED

MARA ->Get the total shelf life from material master

ADD_TIME_TO_DATE -> Get the SLED date

Stock Overview Report Table : V_BF_MARD

 

Thanks!!!

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Srinivas Rao
      Srinivas Rao

      Hi Ragini

       

      Thanks for sharing such a wonderful post. 🙂

      Author's profile photo Former Member
      Former Member

       

      Thanks for sharing...