cancel
Showing results for 
Search instead for 
Did you mean: 

Change ECN using CCAP_ECN_MAINTAIN

Former Member
0 Kudos

Hi There..

I have a requirment where ECN data needs to changed using BAPI..CCAP_ECN_MAINTAIN.

following are the parameters passing while calling

CALL FUNCTION 'CCAP_ECN_MAINTAIN'

EXPORTING

change_header = I_ change_header( passing Change No only)

object_mat = I_object_mat (Active =X)

FL_COMMIT_AND_WAIT = ' X'

FL_SYNCH = 'X''

TABLES

objmgrec = T_objmgrec (CHG_OBJTYP =4,BOM_STD_OBJECT = Material NO,MATERIAL = Material no)

It is throwing an exception " processing canceled"

Please let me know do i need to pass any other parameters while calling this BAPI.

Thanks in advance,

Regards,

Vji

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ...

Error " processing of  Change Number XXXXX  cancelled " .

solution : pass the  all  the existing materials and BOMS to    objmgrec  under tables in the  CCAP_ECN_MAINTAIN FM that  particular  change Number already existing ... you  may refer table AEOI .

example :  if  you are  trying  to change  already existing change no with new material , then  you  need  to add all the  materials for  that  change no .( you  can  see  in AEOI  table ) in  the FM CCAP_ECN_MAINTAIN  under   tables Tab objmgrec .

Regards,

chiru

Former Member
0 Kudos

If you do not intend to synchronize your data, I suggest you to pass FL_SYNCH = ' ' to this FM.

jitendra_it
Active Contributor
0 Kudos

Hello Siddhartha ,

Could  you please tell me what is the use of flag FL_SYNCH ??

Many Thanks,

Jitendra