‎2007 Feb 09 10:01 AM
I am trying to create a change number.. using the FM , ccap_ecn_create .
I am able to create the change number. How to add the materials and Material BOM's during the creation...
Please help
‎2007 Feb 09 11:04 AM
Hi
In the ccap_ecn_create Function module, you need to pass values to the following
Export paramaters
object_bom
object_mat
object_bom_mat
Values to be passed are
object_bom-active = 'X'.
object_bom-obj_requ = 'X'.
APPEND object_bom.
object_bom_mat-active = 'X'.
object_bom_mat-obj_requ = 'X'.
APPEND object_bom_mat.
object_mat-active = 'X'.
object_mat-obj_requ = 'X'.
APPEND object_mat.
Most importantly
We need to pass values to
objmgrec TABLES parameter of Function module
Value to be passed is
objmgrec-chg_objtyp = '1'.
objmgrec-bom_cat = 'M'.
objmgrec-bom_usage = Pass BOM Usage.
objmgrec-material = Pass Parent Material.
objmgrec-plant = Pass Plant if you have any.
APPEND objmgrec.
CLEAR objmgrec.
If you are create ECO for material revision change, than pass values as fallows
objmgrec-chg_objtyp = '4'.
objmgrec-material =Material to be modified.
APPEND objmgrec.
I Hope the above should work, since it has worked for us.
Please let me know, if you have any clarifications
Regards
Madhan Doraikannan
‎2007 Feb 09 11:04 AM
Hi
In the ccap_ecn_create Function module, you need to pass values to the following
Export paramaters
object_bom
object_mat
object_bom_mat
Values to be passed are
object_bom-active = 'X'.
object_bom-obj_requ = 'X'.
APPEND object_bom.
object_bom_mat-active = 'X'.
object_bom_mat-obj_requ = 'X'.
APPEND object_bom_mat.
object_mat-active = 'X'.
object_mat-obj_requ = 'X'.
APPEND object_mat.
Most importantly
We need to pass values to
objmgrec TABLES parameter of Function module
Value to be passed is
objmgrec-chg_objtyp = '1'.
objmgrec-bom_cat = 'M'.
objmgrec-bom_usage = Pass BOM Usage.
objmgrec-material = Pass Parent Material.
objmgrec-plant = Pass Plant if you have any.
APPEND objmgrec.
CLEAR objmgrec.
If you are create ECO for material revision change, than pass values as fallows
objmgrec-chg_objtyp = '4'.
objmgrec-material =Material to be modified.
APPEND objmgrec.
I Hope the above should work, since it has worked for us.
Please let me know, if you have any clarifications
Regards
Madhan Doraikannan
‎2007 Feb 09 12:35 PM
Awesome Madhan....
This really helped me to solve the issue... and your suggestion is working.....
Thank you
Note :: 10 points for the above solution