Professional Documents
Culture Documents
Table of contents
Introduction of APO Technical document Useful tables Useful Function modules Useful BAPIs Useful BADIs UsefulReports UsefulUserExits
AdditionalInformation Commontransactions
TATAConsultancyServicesInternaluse
Page2
IntroductionofAPOTechnicaldocument
This document is specifically meant for collecting relevant technical information for APO. Useful Tables, Function modules BAPIs, BADIs, user-Exits and reports are placed here.
Usefultables
The useful tables are listed in the table1:
Table Name
/SAPAPO/APPLOCS /SAPAPO/LOC /SAPAPO/LOCMAP /SAPAPO/PLANNER /SAPAPO/MATKEY SAPAPO/MATLOC
Details
Location Types in APO Location Details in APO Mapping Table for Location between APO and R/3 Planner Codes in APO Product Master details in APO - equivalent to MARA table in R/3 Location Product Master details in APO (use /SAPAPO/V_MATLOC) - equivalent to MARC table in R/3 Lot Size related details in APO Source of Supply - contains both PDS and Transportation Lane reference Resource Header details in APO
TATAConsultancyServicesInternaluse
Page3
USEFULFUNCTIONMODULES
The useful Function modules are listed in the table 2:
Details
Logical System fo current logged-on system Checking RFC connection to the partner system To convert between 16, 22 and 32 digits Quantity conversion based on Product master Function modules related to Selection profiles (save,Change,Delete,Get,Rename,Show,Descr)
TATAConsultancyServicesInternaluse
Page4
/SAPAPO/DM_ORDKEY_SELECT_ORDNO GUID of Order from live Cache /SAPAPO/ADV_ALERT_SET /SAPAPO/MSDP_NOTE_WRITE /SAPAPO/TS_PLOB_CREATE /SAPAPO/TS_LCM_PLOB_DELTA_SYNC Generate Alert Write notes in Creates CVC After all char combos have been created call the sync function. CVC Deletion
/SAPAPO/TS_PLOB_DELETE Table - 2
TATAConsultancyServicesInternaluse
Page5
USEFULBAPIS
The useful BAPIs are listed in the table 3.
BAPI Name
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 BAPI_STSRVAPS_SAVEMULTI2 BAPI_SLSRVAPS_SAVEMULTI2 BAPI_POSRVAPS_SAVEMULTI3
Details
Planned Independent Requirement i.e. Forecast Procurement Order (Purchase Requisition / Stock Transfer Requisition) Planned / Production Order I.e. Manufacturing Order Sales Order / Deliveries To remove the Stocks from live cahce Locations Products Resources Transportation Lane Procurement Relationship To create the stock categories in Live cache To create the sales orders in live cache To create the intra Affiliate stock transfer orders in live cache To create C0-packaging purchase orders in live cache. To delete the sales orders from the live cache. To delete the co-packaging orders from the live cache.
BAPI_MOSRVAPS_SAVEMULTI3
TATAConsultancyServicesInternaluse
Page6
USEFULBADIS
The useful SCM BADIs are listed in the table 4.
BADI
/SAPAPO/DM_PO_OP_DA2
Short description
BAdI: Change Opening Period and Calendar PP/DS Heuristic: Save/Merge/Delete Own Data Additional Columns in Navigation Tree BAdI for Selecting Source of Supply, Creating Planned Orders Enhancement for PP/DS PDS Explosion POV: BADI for Columns Time Parameters for Receipts in the Days' Supply Calculation User-Exit for Enhancement of the Order View Configuration of Interface for Error-Tolerant Scheduler Product Number Conversion Product Usages (Deletion Blocks) Change Curve Data for the Resource Utilization Chart Change to Curve Data for Product Stock Chart SDP: Interactive Planning
For Transaction
Product Overview, Product View, DS Planning Board, Interactive SDP Product Overview, Product View, DS Planning Board Product Overview, Product View Product Overview, Product View Product Overview Product Overview Product Overview, Product View Product View DS Planning Board DS Planning Board, Interactive SDP DS Planning Board, Interactive SDP DS Planning Board DS Planning Board Interactive S&D Planning
TATAConsultancyServicesInternaluse
Page7
UsefulReports
The useful reports are listed in the table 5.
Reports
For
Remarks
Need to provide Order GUID. Need to provide Model Name Need to provide Planning Book
/SAPAPO/OM_DELETE_INCON_ORDERS Delete inconsistent orders /SAPAPO/VERSION_CREATE /SAPAPO/RMDP_CHANGE_SEL_ORG /SAPAPO/RSDP_CALC_SAFETY_STOCK /SAPAPO/TS_D_OBJECTS_COPY l /SAPAPO/TS_REALIGN_COPY /SAPAPO/AMON_REORG /SAPAPO/VERSION_COPY_PAR Create Version Maintain Selection Id's Safety Stock Calculation Activate Standard Objects (Info Objects) Performs Realignment Deletion of Alerts For copying the data from one version to other version Load Data from Excel Sheet using BAPI
FUNCTION_LOADER_INLAY
TATAConsultancyServicesInternaluse
Page8
R/3 Report
For
Remarks
Refer OSS Note 538111
RCIFORDER_RESERVATIONS_COMPARE Reconciliation of Order Reservations SDRQCR21 Table - 6 Reconciliation of Sales Order from R/3
UsefulUserExits
The useful user-Exits are listed in the table 7.
Exit Name
EXIT_/SAPAPO/SAPLCIF_LOC_001 EXIT_SAPLCLOC_004 EXIT_/SAPAPO/SAPLCIF_PROD_001 EXIT_SAPLCMAT_001 EXIT_/SAPAPO/SAPLCIF_RES_001 EXIT_SAPLCRES4_001 Table - 7
Details
APO CIF Inbound - Location R/3 CIF Outbound - Location APO CIF Inbound - Product R/3 CIF Outbound - Material APO CIF Inbound - Resource R/3 CIF Outbound - Resource
TATAConsultancyServicesInternaluse
Page9
Additional Information
Common terminologies in APO are listed in the table 8.
Terminology
Planned Order Production Order Purchase Requisition / STR Purchase Order / STO Independent Requirement / Demand Sales Order Stock Pegging Area GUID
Details
Manufacturing Order created in APO resulting from Production Planning run for In-house Produced Product Planned Order is converted to a Production Order in R/3 which is then executed up (actual production carried out) Planned requisition resulting from Production Planning run for an Externally Procured Product Requisition is converted to a firmed Order in R/3 for subsequent execution Requirement for a finished product coming from customer. This may not be the firm demand but just a plan Firm demand from customer with a confirmed requirement date and quantity Quantity of product available at a location either after production or procurement Combination of Product - Location - Account Assignment Object - Planning Version = Planning Segment in R/3 Unique ID used to identify each Master and Transaction Data element in APO. 40 character alpha-numeric code automatically system generated All Transaction and many Master data in APO stored in live Cache against a planning version. Default Planning Version to use is 000 - Active Version
Planning Version
Table - 8
TATAConsultancyServicesInternaluse
Page10
Transaction Name
Master Data Related Location
Transaction Code
Details
/SAPAPO/LOC3
Plants (Manufacturing / DC), Vendors, Customers, MRP Areas in R/3 all map to Location master in APO differentiated by Location Type (1001, 1002, 1011, 1010, 1007) Material in R/3 is mapped to Product in APO. Have multiple tabs similar to that in R/3. Many field values come from R/3 while APOspecific field values are either manually populated or automatically during CIF transfer from R/3 to APO Work Center (or Capacity) in R/3 defines the machine or equipment used for Production, Storage or Transportation Combination of Bill-of-Material and Routing in R/3 (Production Version). Used for In-house Produced Products to determine components and resource (capacity and time) requirements Purchasing Info records and Contracts in R/3 map to Transportation Lanes in APO that define from where - to where products can be moved and the transportation duration
Product
/SAPAPO/MAT1
Resource
/SAPAPO/RES01
PDS
/SAPAPO/CURTO_SIMU
Transportation Lane
/SAPAPO/SCC_TL3
TATAConsultancyServicesInternaluse
Page11
Planning Board
/SAPAPO/CDPSO
/SAPAPO/CDPS_REPT /SAPAPO/SDP94
/SAPAPO/SNPTLB /SAPAPO/OM16
liveCache Browser
/SAPAPO/OM19
Table 9
TATAConsultancyServicesInternaluse
Page12