cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Florian
Active Contributor
0 Kudos

Hi Suneel,

I hardly can't believe that. There must be an mistake by your own in the smartform itself. Would you please share some screens or better, the smartform-XML itself. You can pass out everything else and just share the table and a dataset to try this.

I'm pretty sure that there is something wrong with the settings or even the loop itself. I never faced a problem like that or even heared about such things.

I would love to have a look inside.

Before you share it, create a new one with just the table inside and try it with the same data. Perhaps it is just of to much folders or something like that, so the generating comes in trouble.

Regards

Florian

former_member206650
Active Participant
0 Kudos

Hi,

instead of the row can you split the table column wise (8 column) and fill it,instead of using two row use a single one.

hope it helps.

ashish_gupta11
Explorer
0 Kudos

Hi Suneel ,

I am getting the same problem .

how to solve it .

any hint any solution .

Ashish