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

Table Control Problem in CS01

Former Member
0 Likes
614

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

3 REPLIES 3
Read only

Former Member
0 Likes
571

use line_count type n

Edited by: Anil Mane on Jul 2, 2008 12:31 PM

Read only

0 Likes
571

Sorry Anil ,

Its Not working .

Read only

Former Member
0 Likes
571

use FM: CSAP_MAT_BOM_CREATE and check its documentation. Its well documented.