Skip to Content
0
Former Member
Mar 04, 2011 at 04:54 AM

In Smartform my internal table line item set back to first.

216 Views

Dear All,

In main window I have a internal table(of 40 line items), in Main Area I have two rowtypes where in ROWTYPE1 I am printing Material no., Description and in ROWTYPE2 I am printing Suply code, UOM, Weight, amount.

if let say my table

row1 values are

Item Material Des

suply code uom weight amount

010 EK89 test1

sup01 PCS 20.00 3000

row38 values are

Item Material Des

suply code uom weight amount

038 EK38 test38

sup38 CRT 4.7 1400

In out put of SF is like this

010 EK89 test1 (Rowtype1)

sup01 PCS 20.00 3000 (Rowtype2)

038 EK38 test38 (Rowtype1)

sup01 PCS 20.00 3000 (Rowtype2)

Actually when I debug the SF, I found that

CALL FUNCTION 'SSFCOMP_TABLE_ROW_END'

EXCEPTIONS NON_MAIN_OVERFLOW = 1

OTHERS = 2.

this FM setting back the line item no. to first(010) at the end of ROWTYPE1 instead item no. should remain 038.

Waiting for valuable suggestions.

Best Regards,

Suneel Kumar G