/SAPAPO/OO_TS_PAREA – To get all FM related to Time series of planning area/SAPAPO/PBMLKEY - Table which stores the Key figures in a planning book. /SAPAPO/PBDVWLK - Assigned Key Figures on the X or Y Dimension Check this function group /SAPAPO/MSDP_PB - It has all the planning book related functions. /SAPAPO/TS_PAREA_VERSIO_GET - To get storage bucket profile or series for planning area To get time Important SAP APO Function Modules! These are some of the SAP APO functional modules I have worked with. If you need any help with parameters please drop a line. Order / SAPAPO/DM_ORDER_GET_ORD ID BAPI_MOSRVAPS_CREATESNP ORDER BAPI_POSRVAPS_SAVEMULTI3 / SAPAPO/OM_ORDER_GET_DAT Get the 22 char GUID of planned order Create planned order. Table parameter “mapping_data” will return the created planed order number. Create orders Get planned order details Pass 'EDITQUAN' to “iv_object_type” to edit quantity.A / SAPAPO/CTM_LC_FIXPEG_CHA NGE Resource OWN_LOGICAL_SYSTEM_GE T BAPI_RSSRVAPS_GETLIST / SAPAPO/CRES_RESOURCE_ READ / SAPAPO/CRES_SAVE_FROM _BT / SAPAPO/CRES_OBJECT_UPD ATE Get current logical system Get resource header Read Resource Save resource set for update Set resource for edit. Planning Object Related / SAPAPO/TS_PSTRU_SINGLE_GE T / SAPAPO/TS_PSTRU_TAB_NAME S_GET /SAPAPO/TS_PLOB_LIST_GET SLS_MISC_GET_LAST_DAY_OF_ MONTH FIRST_DAY_IN_PERIOD_GET LAST_DAY_IN_PERIOD_GET Quota Management BAPI_QTASRVAPS_SAVEMU LTI2 BAPI_QTASRVAPS_DELMUL TI Create fix pegging for purchase order and planed order Get grouping conditions for planning object Get structure of CVC combination of planning object Get CVC combinations Get last day of the month Get first day in the period Get last day of the period Modify quota arrangement Delete Quota arrangement . g. Data_view. 'B' Week 'C' Month). Planning_Version. ww.LC doesn't DERS storage store the names of the MRP location) elements and ATPcategory . Date_From and Date_To (format e. Period_Type Values (as in the Planning BAPI_PBSRVAPS_GETDETAIL2 domain Book data /SAPAPO/CPDS_PERIOD_TYPE e. SAPAPO/RRP_LC_PEGID_GET_I from Live Determine pegid by using the O Cache function module '/SAPAPO/DM_MATERIAL_GET _PEGID' To get data from LC at matches the You will just have to specify PEGID (= the ATP-categories that match / plant.yyyy) Pegging For pegging relationship across /SAPAPO/EFPL_ORD_NET_GET relationship the entire strucuture EXIT_/SAPAPO/SAPMMCP6_005 User exit Add code in ZXDMUSERU05 ZXDMUSERU05 macro to get the data from live cache. Pass the pegid to the / MRP Data export parameter 'it_pegarea'. like to retrieve . the MRP elements you would SAPAPO/OM_PEG_CAT_GET_OR material.g.Transport Lanes BAPI_TRLSRVAPS_SAVEMU LTI BAPI_TRLSRVAPS_GETLIST BAPI_POSRVAPS_SAVEMULTI3 Save transport lanes Get transport lane detail Delivery ATP Category BR in APO DRP Input Parameters Planningbook. details from If you only want to have the liveCache OUTPUT_FIXED indicator it would be faster if you use the FM I suggested and then only request ET_ORDKEY as an output table . To load a KF of planning book To create stocks in Parameter for Version SNP quantitiy. and Order from SIMID liveCache EXPORTING iv_heur_id = heur_id iv_langu = sy-langu IMPORTING ev_heur_text = Heuristic lv_heur_text EXCEPTIONS details heur_id_not_valid = 1 package_id_not_valid = 2 OTHERS = 3. play Mode in Group By parameter . GUID and Pegging Sales Order Area id but the sales order Fetch in APO number RRP_USEX_COLS_GET_TEXT_ Additional 01 method Columns in APPEND 'column1' to Product CT_COLS_TEXT./ SAPAPO/OM_ORDER_GET_DATA / SAPAPO/DM_ORDKEY_SELECT_ ORDNO / SAPAPO/RRP_HEURISTIC_GET_ DATA BAPI_PBSRVAPS_CHANGEKEYFI GVAL BAPI_STSRVAPS_SAVEMULTI2 / SAPAPO/RRP_LC_PEGID_GET_I O BAPI /SAPAPO/RRP_IO_COL /SAPAPO/TS_DM_LOCK To retrieve all information of an order from LC that corresponds to an order id. View APPEND 'Column2' to CT_COLS_TEXT User Pass Values for GUI Id of Change/Dis Planning Area. Data Selection.this table contains the OUTPUT_FIXED indicator GUID of Need to provide Order No. You just have to use the field IS_GEN_PARAMS-SIMVERSION = '000' and fill the table Order IT_ORDER with your order id. CVC Pass Plob ID and Selection /SAPAPO/TS_PLOB_DELETE Deletion Conditions for Characteristics Pass Infocube. 22 and 32 digits GUID_CONVERT / Quantity conversion based on Product SAPAPO/FOT_CONVERT_QUANTIT master Y Function modules related to Selection profiles /SAPAPO/MCPSH_SELECTION_* (save.Show.D escr) USer Change/Display mode in Interactive /SAPAPO/TS_DM_LOCK Planning /SAPAPO/TS_PLOB_CREATE Create CVCs /SAPAPO/TS_PLOB_DELETE Delete CVCs /SAPAPO/DPBW_CUBE_READ Infocube Data read / SAPAPO/DM_ACCID_GET_ORDER S /SAPAPO/EFPL_ORD_NET_GET For pegging relationship across entire .Delete.Get.Change./SAPAPO/ADV_ALERT_SET /SAPAPO/MSDP_NOTE_WRITE /SAPAPO/TS_PLOB_CREATE Interactive Planning Generate Alert Write notes in SDP Creates CVC Pass Plob ID and Selection Conditions for Characteristics After all char combos / have been SAPAPO/TS_LCM_PLOB_DELTA_ Pass Plob ID created call SYNC the sync function. List of RSDRC_CUBE_DATA_GET Read Infocube Characteristics and key Figues OWN_LOGICAL_SYSTEM_GET RFC_TRUSTED_CHECK Logical System fo current logged-on system Checking RFC connection to the partner system To convert between 16.Rename. BAPI_PPMSRVAPS_DELMULTI_PLAN PPM Deletion BAPI_PRDSRVAPS_GETCLASSES Product Classes / classifications .e.e. Forecast Procurement Order (Purchase Requisition / Stock Transfer Requisition) Planned / Production Order I.strucuture / SAPAPO/DM_MATERIAL_GET_PEG ID /SAPAPO/RRP_LC_PEGID_GET_IO / SAPAPO/OM_PEG_CAT_GET_ORD ERS / SAPAPO/RRP_HEURISTIC_GET_D ATA /SAPAPO/RRP_LC_PEGID_GET_IO BAPI_PIRSRVAPS_GETLIST BAPI_POSRVAPS_GETLIST3 BAPI_MOSRVAPS_GETLIST2 BAPI_SLSRVAPS_GETLIST2 BAPI_STSRVAPS_GETLIST2 BAPI_LOCSRVAPS_GETLIST2 BAPI_PRDSRVAPS_GETLIST2 BAPI_RSSRVAPS_GETLIST BAPI_TRLSRVAPS_GETLIST BAPI_PROCRELATION_GETLIST2 Determine PEGID for Material Fetching MRP related data from liveCache Fetch Order elements by ATP Categories Heuristic Related Data Fetch Sales Ooder from liveCache Planned Independent Requirement i. Manufacturing Order Sales Order / Deliveries Stocks Locations Products Resources Transportation Lane Procurement Relationship BAPI_PPMSRVAPS_DELMULTI_PPM.