Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cs02 bom bdc

Former Member
0 Likes
1,686

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

1 ACCEPTED SOLUTION
Read only

abdul_hakim
Active Contributor
0 Likes
1,316

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

7 REPLIES 7
Read only

abdul_hakim
Active Contributor
0 Likes
1,317

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

Read only

Former Member
0 Likes
1,316

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

Read only

0 Likes
1,316

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

Read only

0 Likes
1,316

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

Read only

Former Member
0 Likes
1,316

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

Read only

Former Member
0 Likes
1,316

resolved

Read only

0 Likes
1,316

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.