2006 Dec 06 5:35 AM
hi friends,
i hav to use cs01 and cs02 in bdc such that, if the data in my flatfile does not exist, cs01 is to be executed, and if it exists cs02 is to be executed and the new data in my flatfile has to replace the already existing one in the cs02 table control. my problem is that i am not able to check if the data in my flatfile already exists and am not able to think of a way to replace the existing data in the cs02 table control
2006 Dec 06 5:52 AM
2006 Dec 06 5:58 AM
but i donot give the bom number in my flatfile, i only give the material, plant, usge, alternate usage, change number and the components with their quantity
2006 Dec 06 6:01 AM
hi,
check MAST ( Material to BOM Link) Table.
It contains material, plant, usge, alternate usage.
*Pls dont forget to reward points by clicking the radiobutton on the left of your question if it helped you
2006 Dec 06 6:00 AM
Hi Santhosh,
you can check the data in the flat file using the sy-subrc. if sy-subrc returns value 0 then u have a value so you can exectute cs02 otherwise choose cs01 in the if condition.
2006 Dec 06 6:07 AM
and how do i replace the table control line in cs02, i ask this bcoz if the 1st line of the table control is to be replaced by say.. the 5th line in my internal table>?
2006 Dec 06 6:11 AM
hi,
there is a pushbutton called 'position' in the CS02 screen. using this you can navigate to the particular row of table control