‎2008 Jul 02 11:24 AM
Hi All,
I am facing one problem while executing BDC for CS01.
When I upload the data in the table control , till 7th row , it inserts the data correctly but in 8th row , it automatically changes the row no. i.e item number (RC29P-POSNR) to 014 .
I dont know why this is happening .
If anybody can put some light on this??
I am putting the code which I am using for preparing the string for column number .
DATA : X1(015),
X2(015),
X3(015),
X4(015),
X5(015).
FORM CONCAT.
IF LIN_COUNT < 20.
Concatenate '0' lin_count into lin_count.
CONCATENATE 'RC29P-IDNRK(' lin_count ')' INTO X1.
CONCATENATE 'RC29P-MENGE(' lin_count ')' INTO X2.
CONCATENATE 'RC29P-POSTP(' lin_count ')' INTO X3.
CONCATENATE 'RC29P-MEINS(' lin_count ')' INTO X4.
CONCATENATE 'RC29P-POSNR(' lin_count ')' INTO X5.
endform.
Thanks n Regards
Manik L Dhakate
‎2008 Jul 02 11:31 AM
use line_count type n
Edited by: Anil Mane on Jul 2, 2008 12:31 PM
‎2008 Jul 02 11:41 AM
‎2008 Jul 02 11:48 AM
use FM: CSAP_MAT_BOM_CREATE and check its documentation. Its well documented.