Skip to Content
avatar image
Former Member

Forecast value in SPP

Hello,

Iam an ABAP developer in ECC, i have very minimum knowledge in APO / SPP , so please bear with me here.

I need to get the forecast value in SPP(Service parts and planning) and would like to know if there is any BAPI which will retrive it for me.

I know in APO we can use BAPIs like BAPI_PBSRVAPS_GETDETAIL2 to retrive the forecast details from a planningbook keyfigures, but i do not know if we have planning books in SPP.

Please suggest.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 27, 2014 at 09:33 PM

    Hi,

    SPP wont use Planning Books as standard APO DP does.

    Try using this TXN - /n/sapapo/sppfcst, from here you get the technical details you want in a ABAPer way.

    Or

    GOTO TXN /n/scmb/tdl_tools

    Thanks

    Vinoth

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 06, 2015 at 10:03 AM

    Hi ,

    Please use the below Function module with the specific key figure u need.

    U can compare data with TDL Tools:-

    * OLD data

    ****************************** Body **********************************

    ***----------------------------- TSDM call --------------------------*

    TRY.

    * Read data from TSDM buffer first if specified in is_ctrl-nobuffer

    CALL FUNCTION '/SCMB/TDM_TSDM_TS_GET'

    EXPORTING

    is_ctrl = is_ctrl

    it_kprm = lt_sem_keyfcst

    it_matidlocid = lt_matidlocidfcst

    it_chobj = it_chobj

    it_ch = it_ch

    IMPORTING

    et_ts = it_ts_n

    CHANGING

    ct_period = lt_tdl_period

    cv_msgty = cv_msgty

    ct_return = et_messages.

    APPEND LINES OF et_messages TO zit_msg.

    CATCH cx_sy_dyn_call_illegal_func INTO lr_exception.

    CLEAR lv_text.

    * call_illegal_func

    * RAISE EXCEPTION TYPE /scmb/cx_tdl_tsdm_ts_dao

    * EXPORTING

    * textid = /scmb/cx_tdl_tsdm_ts_dao=>illegal_funct_tsdm_get.

    ENDTRY.

    Thanks,

    Salim

    Add comment
    10|10000 characters needed characters exceeded