Skip to Content
author's profile photo Former Member
Former Member

Recipe Blast (C203)

Hello all,

i want to get recipe blast for all plan numbers just like tcode C203.

My RFC will give plan number, material number and the phases of that plans.

I tried to filter the datas from PLPO, MKAL, PLKO but i couldnt filter as i wanted.

i have some datas from PLPO tables those they dont exist in C203 screen.

I also coulndnt get a result from ST05 properly.

Is there a function for this blast? or is there a table that im not checking?

Thanks for your help

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 14, 2010 at 02:06 PM

    Hi,

    you can use function module CP_EX_PLAN_READ to get the routing details.

    Hope it helps.

    Sujay

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hello

      I am trying to download the routing o ca03 from zprogram.I have also usd PLPO table for gettin operation,suboperations and other detail.But it's not giving the relevant answer for my query.Can you plz help.As you have used this function module CP_EX_PLAN_READ ,Can you brief me?

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 11:18 AM

    I used this function as below. But i think CA03 uses the plans with type "N". so maybe you should change the PLNTY_IMP field with "N".

    Also you whould consider the PVZKN and PHFLG fields in PLPO table.

    CALL FUNCTION 'CP_EX_PLAN_READ'

    EXPORTING

    CMODE_IMP = 'R'

    PLNTY_IMP = '2'

    PLNNR_IMP = gt_itab1-plnnr

    PLNAL_IMP = '03'

    STTAG_IMP = sy-datum

    • CHECK_IMP = 'X'

    • CUOBJ_IMP =

    • PARNT_IMP = ' '

    • FCAPO_IMP = ' '

    • TCA11_IMP = ' '

    • FLG_VAL_REC_IMP = ' '

    • STLNR_IMP =

    • I_PLAS_KEY_TAB =

    • PRODCOST = ' '

    • I_BUSINESS_OBJECT =

    • I_FLG_CHARACTERISTICS_PLANNING = ' '

    • I_EDGNO =

    • VBELN_IMP = ' '

    • POSNR_IMP = 0

    • LOSGR_IMP = 1

    • I_PLANT =

    • IMPORTING

    • RES_APPR_CHK_EXP =

    • ERROR_EXP =

    • E_MAPL =

    • PI_SET_USED =

    TABLES

    • MLST_EXP =

    • PLAB_EXP =

    • PLAS_EXP =

    • PLFH_EXP =

    • PLFL_EXP =

    • PLFT_EXP =

    • PLFV_EXP =

    • PLKO_EXP =

    • PLMZ_EXP =

    PLPO_EXP = GT_COPLPO

    • PLTX_EXP =

    • AENNR_EXP =

    • PLMK_EXP =

    • PLMW_EXP =

    EXCEPTIONS

    NOT_FOUND = 1

    PLNAL_INITIAL = 2

    OTHERS = 3

    .

    IF SY-SUBRC <> 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.