cancel
Showing results for 
Search instead for 
Did you mean: 

PM TaskList creation and SP14 - ISDFPS/TASKLIST_CREATE

Former Member
0 Kudos

My Z function module wrapper called the standard FM /ISDFPS/TASKLIST_CREATE in SP10 passing in all required parameters. In Sp14, the standard FM /ISDFPS/TASKLIST_CREATE introduced one extra required parameter called T_CUOB. I am not able to find any information about this new field. Our business requirement does not care about this parameter. Does anybody know what default value to use for T_CUOB?

Naiem

Accepted Solutions (0)

Answers (3)

Answers (3)

peter_atkin
Active Contributor
0 Kudos

Naiem

This looks like its for configurable task lists (via variant configuration).

PeteA

Former Member
0 Kudos

Hi Naiem Zohrri

I am also using  FM /ISDFPS/TASKLIST_CREATE and /ISDFPS/TASKLIST_CHANGE in my program to load and change Equipment Task List, General Task List and Functional Location.

My problem is to check the data before using this FM's. Do you know how to check the data before booking?

Regards

Bertil / Pontus

Former Member
0 Kudos

This is a dependency table. I guess if it not a mandatory field , it will not have any impact on your FM

Former Member
0 Kudos

Thanks Beatle,

The parameter is of type CUOB. Can i declare and pass it to the /ISDFPS/TASKLIST_CREATE FM without setting its values? Is the cuob a standard table? Please see my code below. Is the declaration correct?

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

FORM save_task_list .

DATA: t_plmz TYPE STANDARD TABLE OF plmz WITH HEADER LINE.

DATA: t_mapl TYPE STANDARD TABLE OF mapl WITH HEADER LINE.

DATA: t_stst TYPE STANDARD TABLE OF stst WITH HEADER LINE.

DATA: t_plwp TYPE STANDARD TABLE OF plwp WITH HEADER LINE.

DATA: t_plab TYPE STANDARD TABLE OF plab WITH HEADER LINE.

DATA: t_plfh TYPE STANDARD TABLE OF plfh WITH HEADER LINE.

DATA: t_plmk TYPE STANDARD TABLE OF plmk WITH HEADER LINE.

DATA: return TYPE STANDARD TABLE OF bapiret2.

DATA: l_wa_longtext_tmp TYPE zpm_task_longtext,

l_it_longtext TYPE STANDARD TABLE OF /isdfps/tlups_aplan_txt,

l_wa_longtext TYPE /isdfps/tlups_aplan_txt.

DATA: l_v_tasknr(15) TYPE c.

CONSTANTS: l_c_type TYPE bapi_mtype VALUE 'E',

l_c_msgid TYPE sy-msgid VALUE 'ZTEST'.

DATA: l_wa_msg TYPE g_ty_msg.

DATA: t_cuob TYPE STANDARD TABLE OF cuob.

*Save the task list with prepared data

CALL FUNCTION '/ISDFPS/TASKLIST_CREATE'

TABLES

t_plzu = g_it_plzu_tsk

t_plkz = g_it_plkz_tsk

t_plko = g_it_plko_tsk

t_plfl = g_it_plfl_tsk

t_plas = g_it_plas_tsk

t_plpo = g_it_plpo_tsk

t_tapl = g_it_tapl_tsk

t_eapl = g_it_eapl_tsk

t_plmz = t_plmz

t_mapl = t_mapl

t_stst = t_stst

t_plwp = t_plwp

t_plab = t_plab

t_plfh = t_plfh

t_plmk = t_plmk

t_cuob = t_cuob

t_longtext = g_it_long_text_tsk

return = return.

*Send back the task list number

CONCATENATE g_wa_plko_tsk-plnty

g_wa_plko_tsk-plnnr

g_wa_plko_tsk-plnal

INTO l_v_tasknr SEPARATED BY ' '.

l_wa_msg-mtype = 'S'.

l_wa_msg-msgid = 'ZIVARA'.

l_wa_msg-msgno = '026'.

l_wa_msg-msgvar1 = l_v_tasknr.

APPEND l_wa_msg TO g_it_msg.

CLEAR l_wa_msg.

*Put the task list number in the return table

PERFORM fill_return_tab.

ENDFORM. " save_task_list