APO FM's and BAPI

download APO FM's and BAPI

of 6

Transcript of APO FM's and BAPI

  • 8/9/2019 APO FM's and BAPI

    1/6

    /SAPAPO/OO_TS_PAREA To get all FM related to Time series of planning area

    /SAPAPO/PBMLKEY Ta!le "#i$# stores t#e Ke% &g'res in a planning !oo()

    /SAPAPO/PB*+,LK Assigned Ke% Fig'res on t#e - or Y *imension

    .#e$( t#is f'n$tion gro'p /SAPAPO/MS*P_PB t #as all t#e planning !oo( related f'n$tions)

    /SAPAPO/TS_PAREA_VERSIO_GET - To get storage bucket profile or To get time

    series for planning area

    Important SAP APO Function

    Modules!T#ese are some of t#e SAP APO f'n$tional mod'les #a0e"or(ed "it#) f %o' need an% #elp "it# parameters please dropa line)

    Order

    /SAPAPO/DM_ORDER_GET_ORDID

    1et t#e 22 $#ar 13* of plannedorder

    BAPI_MOSRAPS_REATES"PORDER .reate planned order) Ta!leparameter 4mapping_data5 "illret'rn t#e $reated planed ordern'm!er)

    BAPI_POSRAPS_SAEM#$TI% .reate orders/SAPAPO/OM_ORDER_GET_DAT

    1et planned order details

  • 8/9/2019 APO FM's and BAPI

    2/6

    A/SAPAPO/TM_$_FI&PEG_'A"GE

    .reate &6 pegging for p'r$#aseorder and planed order

    ResourceO("_$OGIA$_S)STEM_GET

    1et $'rrent logi$al s%stem

    BAPI_RSSRAPS_GET$IST 1et reso'r$e #eader/SAPAPO/RES_RESO#RE_READ

    Read Reso'r$e

    /SAPAPO/RES_SAE_FROM_BT

    Sa0e reso'r$e set for 'pdate

    /SAPAPO/RES_OB*ET_#PDATE

    Set reso'r$e for edit) Pass 7E*T83A97to 4i0_o!:e$t_t%pe5 to edit ;'antit%)

    Plannin+ O,-ect Related/SAPAPO/TS_PSTR#_SI"G$E_GET

    1et gro'ping $onditions forplanning o!:e$t

    /SAPAPO/TS_PSTR#_TAB_"AMES_GET

    1et str'$t're of .+. $om!inationof planning o!:e$t

    /SAPAPO/TS_P$OB_$IST_GET 1et .+. $om!inationsS$S_MIS_GET_$AST_DA)_OF_MO"T'

    1et last da% of t#e mont#

    FIRST_DA)_I"_PERIOD_GET 1et &rst da% in t#e period$AST_DA)_I"_PERIOD_GET 1et last da% of t#e period

    .uota Mana+ementBAPI_.TASRAPS_SAEM#$TI

    Modif% ;'ota arrangement

    BAPI_.TASRAPS_DE$M#$TI

    *elete 8'ota arrangement

  • 8/9/2019 APO FM's and BAPI

    3/6

    Transport $anesBAPI_TR$SRAPS_SAEM#$TI

    Sa0e transport lanes

    BAPI_TR$SRAPS_GET$IST 1et transport lane detail

    BAPI_POSRVAPS_SAVEMULTI3 Delivery ATP Category BR in APO DRP

    BAPI_PBSRVAPS_GETDETAIL2Planning

    Boo !ata

    In"#t Para$eter%Planning&oo' Data_vie('

    Planning_Ver%ion'

    Perio!_Ty"e Val#e% )a% in t*e!o$ain

    +SAPAPO+CPDS_PERIOD_T,PEe-g- .B. /ee .C. Mont*0'

    Date_1ro$ an! Date_To

    )or$at e-g- ((-yyyy0

    +SAPAPO+E1PL_ORD_ET_GETPegging

    relation%*i"

    1or "egging relation%*i" a4ro%%

    t*e entire %tr#4#t#re

    E5IT_+SAPAPO+SAPMMCP6_77895DMUSERU78

    U%er e:it$a4ro

    A!! 4o!e in 95DMUSERU78

    +SAPAPO+RRP_LC_PEGID_GET_I

    O

    MRP Dataro$ Live

    Ca4*e

    to get t*e !ata ro$ live4a4*e- Pa%% t*e "egi! to t*e

    e:"ort "ara$eter .it_"egarea.-Deter$ine "egi! &y #%ing t*e

    #n4tion $o!#le

    .+SAPAPO+DM_MATERIAL_GET_PEGID.

    +SAPAPO+OM_PEG_CAT_GET_OR

    DERS

    To get !ata

    ro$ LC at$at4*e% t*e

    PEGID );"lant'

    $aterial'

    %toragelo4ation0

    an! ATP