‎2007 Sep 25 3:20 PM
Hi Friends,
I uploaded the data so may Transactions with LSMW and BDC.. In that Transactions any Table control is there with more data..I will go for BDC only..
But as per my Client requirement I have to do the Upload throgh LSMW only...
Table control handling also I have to do with LSMW ...
Right now I am not able to do the table control without knowing maximum number of records...
Please give ur valueable suggestion or solution for this problem..
I know some option is there with with Flag in mapping Fields in 5th step..
please give the Solution for this problem... and
What kind file format precations wehave to take..
Its urgent....
regards,
sampath
‎2007 Sep 25 3:44 PM
Hi Sampath,
go through this and also check in the forum. there are many threads available to this query.
1)while recording u enter the data in the table control in the first row , second row etc.
The thing is ur flat file must be in correct format.
Eg
Consider ur table control is having fields like this
Fields1 fileld2 field3
Mr Suresh Peri
Mrs Peters Marry
Ur flat file must be like this.
ANRED_01 ANRED_02 NAMEV_01 NAMEV_02 NAME1_01 NAME1_02
Mr. Mrs. Suresh Peters Peri Marry .
2)*************
LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
check that single charecter field, it that is X that means the header record is processed, and do the items.
and, this is another way, try this out also
YOu can do this in "Define Source Structures" step,
the HEADER is defined first,
then the DETAIL below the HEADER.
add the fields to the structures.
Both should have some common key field
Please take care that the name of the common field is the same.
Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
Thanks
Message was edited by:
Pattan Naveen