13
1. MÓDULO DE PP E PM

Tabelas Pp Pm Sap

Embed Size (px)

DESCRIPTION

Tabelas Pp Pm Sap

Citation preview

Page 1: Tabelas Pp Pm Sap

1.

MÓDULO DE PP E PM

Page 2: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

ÍNDICE

1. Estrutura de Tabelas............................................................31.1. Cadastro de Materiais........................................................................31.2. Lista de materiais..............................................................................41.3. Roteiros.............................................................................................41.4. Gerenciamento de Demanda.............................................................51.5. MRP....................................................................................................61.6. Planejamento de Capacidade............................................................61.7. Ordem de Produção...........................................................................71.8. Produção Repetitiva...........................................................................91.9. Controle de Alterações.....................................................................10

April, 23 2 de 12

Page 3: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

2. Funções1.1 Função para montar calendário no tempo.

F4_DATE

3. Estrutura de Tabelas

3.1. Cadastro de Materiais

SAP AG

Table Structure: Material Master

MARA

MARC

MAKT MARM MVKE MLAN

MBEW MLGN MVER MAPR MKAL

MARD MLGT MBPR

TABELA

Descrição

MARA General dataMAKT Descriptions MARC Material data per plantMARD Material data per storage locationMLGN Material data per WM warehouseMLGT Material data per WM storage typeMBPR Stock per issue storage locationMVER Consumption dataMBEW Valuation dataMARM Conversion factors (conversão para unidade de medida)MAPR Forecast dataMVKE Sales data per sales organizationMLAN Sales data per countryMKAL Production versions

1.1.1 Função para dados do mestre de materiais.

MD_READ_MATERIAL_SIMPLE

MATERIAL_READ

MARA_SINGLE_READ

MARC_SINGLE_READ

April, 23 3 de 12

Page 4: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

3.2. Lista de materiais

SAP AG

R

Table Structure - BOMs

STAS

STPO

STPU

STKO STZU

TPSTDOST EQST MAST KDST STST

TABELA

Descrição

MAST Allocation of BOM to materialEQST Allocation of BOM to equipmentDOST Allocation of BOM to documentTPST Allocation of BOM to functional locationKDST Allocation of BOM to sales orderSTST Allocation of BOM to standard BOMSTKO BOM header dataSTZU Permanent BOM dataSTAS BOM item selectionSTPO BOM item dataSTPU BOM sub-item data

Função para alterar lista CSAP_MAT_BOM_MAINTAINFunção para leitura da lista CSAP_MAT_BOM_READ

Leitura para todos os níveis CS_BOM_EXPL_MAT_V2

CAPID = ‘ZALL’ (fixo no programa)DATUV = ‘data atual’EMENG = ‘QTD ordem’MKTLS = ‘X’ (fixo no programa)MTNRV = ‘material (campo 18 da tela)STPST = ‘0’ (fixo no programa)SVWVO = ‘X’ (fixo no programa)WERKS = ‘centro de produção (PLAF-PWWRK ou AFPO-DWERK)VRSVO = ‘X’ (fixo no programa)

April, 23 4 de 12

Page 5: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

3.3. Roteiros

SAP AG

R

Table Structure - Routing Management

MAPL

PLKO

EAPL

PLFL

PLAS

PLPO

MLTX

MLST

PLWP PLFH PLMZ PLMK

PLMW

PLAB PLFT

PLFV

PLPH

PLFV

TABELA

Descrição

MAPL Assignment of task list to materialEAPL Assignment of task list to equipment (Plant Maintenance)PLKO Header dataPLFL SequencePLAS Assignment of operation to sequencePLPO Operations/sub-operationsPLFH Production resources/toolsPLMZ Allocation of bill of material components to operationPLAB Relationships (standard network)PLMK Inspection characteristics (inspection plans)PLMW Inspection characteristic values (inspection plans)MLST Milestones / trigger pointsMLTX Milestone textsPLFT Process instructionsPLFV Process instruction characteristics/sub-calculation characteristicsPLPH Phases/sub-calculationsPLWP Operation packagePLTX Info texts

April, 23 5 de 12

Page 6: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

3.4. Gerenciamento de Demanda

SAP AG

R

Data Structure - Demand Management

PBIM

PBED

PBHI

TABELA

Descrição

PBIM independent requirements index materialPBED independent requirementsPBHI independent requirements historyMDPB Visão das tabelas PBIM e PBEDMDPBDB Visão das tabelas PBIM e PBED com Área MRP

3.5. MRP

SAP AG

R

Data Structure - MRPDatabase

TablesView

MRPtable

MDTB

MRP results

Explosiontable

PLAFPLAF

RESBRESB

EBANEBAN

EKPOEKPO

EKETEKET

VBBEVBBE

VBBSVBBS

AFPOAFPO

STKOSTKOSTPOSTPO

PLKOPLKOPLFLPLFLPLASPLASPLPOPLPO

KBEDKBED

MDR

MDSB

MDFA

Material C

Date: Quantity:

01.03.94 10001.06.94 15001.09.94 30001.12.94 100

Material B

Date: Quantity :

01.03.94 10001.06.94 15001.09.94 30001.12.94 100

Material A

Date Quantity :

01.03.94 10001.06.94 15001.09.94 30001.12.94 100

MDKP

MDPS

MDNB

MDPM

MDSB

TABELA DescriçãoMDTB MRP tableMDKP header data MRP document Dispo-Beleg MDPS items in MRP document MDNB Net requirementsMDPM Material components in the planned order

April, 23 6 de 12

Page 7: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

MDSB dependent requirements for planned order PLAF planned orderRESB ReservationsAFPO header data for production order VBBE sales requirements – individual records VBBS sales requirements – totals recordsEBAN purchase requisitionEKPO purchasing document itemEKET scheduling agreementMDVM planning file entryMDVL planning file entry – long-term planningJEST Objeto para ordemTJ02T TExto do Status do objetoMDSM Tabela para necessidades dependentes simuladaMDUA Visão p/necessidade solicitadas do pedido de tranferênciaMASSEKPO

Visão pedido de compra

TJ30 Status de usuario

3.6. Planejamento de Capacidade Sets in capacity planning must be imported from client 000 to the work

clients. To do this there is a report SETIMP00.

Calssificação Tabela com parametro sobre o tipo de classe TCLA

Ligação do objeto interno para AUSP com o código do objeto tabela INOB

Função para ler classificação

Executar a função CLAF_CLASSIFICATION_OF_OBJECTS passando os parâmetros abaixo. CLASS = ESTACAO (tartar via tabela de constant) CLASSTEXT = ‘X’ CLASSTYPE = ‘003’ (fixo no programa) FEATURES = ‘X’ LANGUAGE = ‘PT’ (fixo no programa) OBJECT = IFLOS-TPLNR (código interno do local de instalação “carro do filtro”) OBJECTTABLE KEY_DATE = ‘data de execução’ INITIAL_CHARACT = ‘X’ NO_VALUE_DESCRIPT = ‘X’ CHANGE_SERVICE_CLF = ‘X’

April, 23 7 de 12

Page 8: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

SAP AG

R

Data - Capacity Planning

ICRHD

IKAKO

IKBED

IAFVG

IAUKO

IPLAF

databasetables

internaltables

internaltable

(distributedrequirements)

evaluations

CRHD

KAKO

KBED

AFVG

AUKO

PLAF

SEL-KBED

VER-KBED

primaryselection

secondaryselection

distributionof rqmts.

evaluations

internalindex table(selected

requirements)

TABELA

Descrição

CRHD work centerKAKO capacityKBED capacity requirementsAFVG order operationAUKO order headerPLAF planned order

3.7. Ordem de Produção

Para obter o status de uma ordem de produção, utilize a função standard "STATUS_TEXT_EDIT" com o campo OBJNR da tabela AUFK, conforme segue:

CALL FUNCTION 'STATUS_TEST_EDIT'EXPORTINGflg_user_stat = 'X'objnr = AUFK-OBJNRonly_active = 'X'spras = sy-languIMPORTING* anw_stat_existing =* e_stsma =line = vp_status* user_line =* stonr =EXCEPTIONSobject_not_found = 1other = 2.

2.7.1 Função para ler ordem CO2H_PROD_ORDER_READ

April, 23 8 de 12

Page 9: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

SAP AG

R

List Types of Order Documents

Reports Forms

Kanban card

PPPROBJUPPPROBJU

PPPRSTEUPPPRSTEU

PSFCZUGLPSFCZUGL

PSFCLOHNPSFCLOHN

PSFCRUECPSFCRUEC

PSFCMBRLPSFCMBRL

PSFCWARSPSFCWARS

PSFCKANBPSFCKANB

PSFC_OBJECT-LIST PSFC_OBJECT-LIST

PSFC_JOB-CTR-TICK PSFC_JOB-CTR-TICK

PSFC_ZUGL-LISTPSFC_ZUGL-LIST

PSFC_TIME-TICKET PSFC_TIME-TICKET

PSFC_CONF-TICKET PSFC_CONF-TICKET

PSFC_PICK-LISTPSFC_PICK-LIST

PSFC_GOOD-ISS-SLPSFC_GOOD-ISS-SL

PSFC_PRT-LISTPSFC_PRT-LIST

PSFC_KANBANPSFC_KANBAN

PSFCFHMLPSFCFHMLProd. resource/tool list

Goods receipt list

Goods issue slip

Pick list

Confirmation slip

Time ticket

Operation control ticket

Object list

April, 23 9 de 12

Page 10: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

SAP AG

R

Data Structure - Order ManagementDatabase

tableview

Documenttable

Dialogtable

DialogIndex table

Dialog(datatable)

AUFKAUFK

AFKOAFKO

AFPOAFPO

AFFLAFFL

AFVCAFVC

AFVVAFVV

AFVUAFVU

AFRUAFRU

AFFHAFFH

RESBRESB

PLAFPLAF CRHDCRHD KAKOKAKO KBEDKBED COBRACOBRACOBRBCOBRB

Order headerOrder header

Operations

Material components

Prod. resources/tools

Costs PlannedTargetActual

2050

100

CAUFV CAUFVDB CAUFVD

(AFPOB)

AFFLB

(AFRUB)

AFFHB

RESBB

AFVGB

(AFPOD)

AFFLD

(AFRUD)

AFFHD

RESBD

AFVGDITA

B

DT

AB

COSPCOSPCOSSCOSSCOSLCOSL

TABELA

Descrição

PLAF Planned orderCRHD Work centersKAKO CapacitiesKBED Capacity requirementsCOSP Primary costsCOSS Secondary costsCOSL ActivitiesCOBRA Billing objectCOBRB Billing objectAUFK Order headerAFKO Order headerAFPO Order itemAFFL SequenceAFVC Operation (general values)AFVV Operation (quantities/values/dates)AFVU Operation (user-defined fields)RESB Material componentsAFFH Production resources/toolsAFRU ConfirmationsITAB Index tableCAUFV View for AUFK, AFKO (usar mais)AUFM Movimento de mercadoria documentado para ordem JEST Objeto para ordemTJ02T TExto do Status do objetoTJ30 Tabela texto Status de usuarioJCDS Data para alteração de statusJSTO Esquema de status

TJ30 Status de usuario

April, 23 10 de 12

Page 11: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

3.8. Produção Repetitiva

SAP AG

R

Data Structure - Setting up Repetitive Mfg

Cost collector (AUFK, AFKO, AFPO)

PLAF

RESB

SAFK (run schedule header)

PZPP

PZPE

PZPS

BLPK

BLPP

TABELA

Descrição

SAFK run schedule headerPLAF planned ordersRESB reservationsPZPE production reporting points - line itemsPZPP production reporting points - period valuesPZPS production reporting points - totals recordsBLPK document log - header dataBLPP document log - item dataAUFK order headerAFKO order headerAFPO order item

3.9. Controle de Alterações

SAP AG

Table Structure in Engineering ChangeManagement

AENR

AEOI

AEDTAENV

April, 23 11 de 12

Page 12: Tabelas Pp Pm Sap

Notas de Parametrização Parte II

TABELA

Descrição

AENR General data for change master recordAENV Object types for change numberAEOI Object management recordsAEDT Alternative dates

April, 23 12 de 12