‎2008 Dec 21 2:14 AM
Hi All ,
I want to do bdc for cs02 material bom .
Even though my recording processed rightly starting with screen 0100 , in to the program it opens screen 180 first .
Can I get some help with some part of the code to start with .
Regards ,
SA
‎2008 Dec 21 5:18 AM
Hi
what is the exact problem that you are facing while recording? If you are clear with your doubts then you will get a right solution.
Regards,
Hakim
‎2008 Dec 21 5:18 AM
Hi
what is the exact problem that you are facing while recording? If you are clear with your doubts then you will get a right solution.
Regards,
Hakim
‎2008 Dec 21 5:26 AM
BDC for CS02 might be create some problems some time with couple of screens.I think you have to implement OSS to keep the right screen sequence.Here i found one for you,see if OSS 46136 works for you.
But why not you are doing this By BAPI/FM.Try with CSAP_MAT_BOM_MAINTAIN or CSAP_BOM_ITEM_MAINTAIN
‎2008 Dec 21 3:09 PM
Hi ,
Thankyou for the answer . at the same time I can try with BAPI also and see . Whichever works .
I will come back with result .
Regards ,
SA
‎2008 Dec 22 5:43 PM
Hi .
I applied these also .CSAP_MAT_BOM_MAINTAIN or CSAP_BOM_ITEM_MAINTAIN . I have to add new line items in existing BOM . With the help of CSAP_BOM_ITEM_MAINTAIN I am able to change
particular line items
But I am not able to add new items .
Using CSAP_MAT_BOM_MAINTAIN results in no change though new item creation parameter has been supplied as 'X' .
Please help .
Regards ,
SA
‎2008 Dec 21 3:07 PM
Hi ,
I did recording in shdb for cs02 and processed it from the same tcode . It worked fine . But when I generated the program and executed , it first opens screen SAPLCSDI 180 instead of 0100 and hence program fails .
Regards ,
SA
‎2009 May 06 7:54 AM
‎2010 May 07 10:14 AM
well, I write a report using function 'CSAP_BOM_ITEM_MAINTAIN' to add items to BOM.
before calling function 'CSAP_BOM_ITEM_MAINTAIN' , in function CSAP_MAT_BOM_OPEN , I clear CLEAR t_stpo-item_node and CLEAR t_stpo-item_count, because the fields for item node and item counter must be initial when you create a new item.
then in a loop of t_stpo, I called function 'CSAP_BOM_ITEM_MAINTAIN' to maintain the changes. in fact, t_stpo is a work area.
after closed the bom, I added new items to the bom, or update the initial bom.
Cheers, Jim.