‎2013 Nov 28 11:19 AM
Hi ,
I have a zprogram to create or maintain routing data.
I am getting following errors for maintaining a routing.
--No header alternative for specified object exists
--You cannot edit the task list object with activity type
Any idea what these errors might be for ?
I am unable to find , since i am passing lots of parameters to the FM.
BR.
Giri
‎2013 Nov 28 1:13 PM
Hi,
Can you put the break point and check the code LCPBDFPK ( message C\ 0001)
if sy-subrc is initial and
plkod-loekz is initial.
index_plko_out = index.
else.
subrc_out = hier_err-alt.
if 1 = 2.
message e001(c\).
else.
call function 'CM_F_MESSAGE'
exporting
append_same_msg = 'X'
arbgb = 'C\'
msgnr = '001'
msgty = 'E'
exceptions
others = 1.
endif.
Another thing please debug the below FM and routine. ( message : C\ 045 )
FM CP_BD_DIRECT_INPUT_MAPL
perform mapl_update.
Thanks,
Kiran
‎2013 Nov 28 11:38 AM
Hi Giri,
The cause of this message is a change number (rc271_di_imp-aennr), which has an valid-from date different to the valid-from date of the work plan.
By clearing of the change number into structure rc271_di_imp structure appears this message does not occur.
Regards
Saifur
‎2013 Nov 28 12:02 PM
Hi,
I checked that , its not the problem.I already search the forum.Anyway appreciate your help.
‎2013 Nov 28 12:39 PM
Hi
anybody please..its an urgent to be resolved
Thanks in advance
‎2013 Nov 28 1:13 PM
Hi,
Can you put the break point and check the code LCPBDFPK ( message C\ 0001)
if sy-subrc is initial and
plkod-loekz is initial.
index_plko_out = index.
else.
subrc_out = hier_err-alt.
if 1 = 2.
message e001(c\).
else.
call function 'CM_F_MESSAGE'
exporting
append_same_msg = 'X'
arbgb = 'C\'
msgnr = '001'
msgty = 'E'
exceptions
others = 1.
endif.
Another thing please debug the below FM and routine. ( message : C\ 045 )
FM CP_BD_DIRECT_INPUT_MAPL
perform mapl_update.
Thanks,
Kiran