Sie sind auf Seite 1von 5

Product Lifecycle Management (SAP PLM):

Useful classes and FM for PLM-Recipe


Management for process industries
Posted by Parag Parikh Apr 10, 2014
When I started working on a PLM-RM implementation, I could not find simple material like list of classes or FM
useful for this module.
I am presenting here list of useful classes and FM from PLM-Recipe Management for process industries.These
are useful in reading information about recipe and formula in ABAP program. I hope that this would be a useful
reference for consultants implementing this module.
Use method EXT_TO_INT_CONVERT of class CL_RM_INT_RECIPE. This will give us internal number i.e.
GUID of recipe. Input is recipe name.

Read primary output formula of recipe using method PO_AND_PO_FRM_GET. We need internal number
obtained in step above as input here.

Generated by Jive on 2015-07-14+02:00


1

Product Lifecycle Management (SAP PLM): Useful classes and FM for PLM-Recipe Management for process
industries

We see that we have obtained formula's internal number. Next task is what if we want to know external formula
number? We can use class CL_RM_INT_FRM to get formula information. Method EXT_TO_INT_CONVERT
gives internal number for formula.

Generated by Jive on 2015-07-14+02:00


2

Product Lifecycle Management (SAP PLM): Useful classes and FM for PLM-Recipe Management for process
industries

Method ROOT_FOR_FORMULA_GET of class CL_RM_INT_FRM gives us reverse tracing i.e. root for formula
which in this case will be recipe.

Generated by Jive on 2015-07-14+02:00


3

Product Lifecycle Management (SAP PLM): Useful classes and FM for PLM-Recipe Management for process
industries

Use method ITEM_READ to read formula items.

We need to provide internal number for recipe and formula as input. Method gives us details of all substances
in formula along with materials/unit of measure in table ET_ITEM.

Generated by Jive on 2015-07-14+02:00


4

Product Lifecycle Management (SAP PLM): Useful classes and FM for PLM-Recipe Management for process
industries
If the requirement is to read a substance only then we can use FM C1F2_SUBSTANCES_READ. Input will be
scenario which is 01 for read, key date in I_ADDINF, pas I_FLAG_MATJOIN to get material information. Pass
substance internal number obtained from table ESTRH to X_API_HEADER_TAB-RECN.
Parameter E_API_MATJOIN_TAB gives us the material and plant. Using material number we can fetch base
unit of measure from master data.
377 Views Tags: plm, recipe_management

Jan Buchmann
Jan 6, 2015 9:28 AM
Thanks for your great blog! Very informative indeed. I only wished I had come across it a bit earlier - it would
have save me so much time...and headaches.
I've mainly used the following FMs:
RCP301_RECIPES_READ to read recipe data
RCP742_RCP_FRM to read formula data which requires FRML209_RCP_INIT to be called as well
as RCP742_SET_KEYDATE
RCP130_PROVIDE_PO_FRML returns the primary output of a formula

I also found BAPI_BUS1077_GETDETAIL very helpful to read substance data.


Keep it up!

Generated by Jive on 2015-07-14+02:00


5

Das könnte Ihnen auch gefallen