cancel
Showing results for 
Search instead for 
Did you mean: 

Text after each line item in Smartforms.

Former Member
0 Kudos

Hi ,

I am developing a smartform for Packlist.

i want to display a text like this::

Item Prodcode description Qty uom Picked Factor

batchNo batch qty reel size to ship qty

10 19501 material description 200 M 0 3

Ramesh 200 482448

Sagar 200 482448

Special instructions : text**

20 19502 material description 200 M 0 3

Ramesh 200 482448

Sagar 200 482448

Special instructions : text**

Item 10 has 2 batches . after those 2 batches i want to display the Special instructions text.

like this i want to display for all Items.

How to give condition for this.

thankx.

Vikki

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

answered

Former Member
0 Kudos

Hi,

the text u maintained in document are saved using the "save_text" function module

we can maintain the texts for every item in the delivery document in VL01 t-code.

the text are saved with the document number+item number(concatenate doc num and item num).

we can gat back the this text using text node and select the include Include text in text type using that concatenated number

Regards,

Jagadeesh.

Former Member
0 Kudos

Hi,

You can go with the Event on Sort end in the loop node

give the name of the field item number and select the check box event on sort end...

You will get the sort node under the loop.

Under that you can create the text element to display the text

regards.

padma

Former Member
0 Kudos

Hi Padmavathi,

Thank u for the reply.

i am getting short dump saying IT_FINAL ( thats the table passed on from the driver program) doent exist.

i created a Loop at it_final. and specified the POSNR in the EVENT on END.

What shdould be done.

Thankx.

Vikki.

Former Member
0 Kudos

Hi,

Check whether the type of it_final is of table type created in SE11...

If not...

create a structure with the fields of it_final... and then

create a table type with the structure .

Now in your smartform... in form interface... refer the type of it_final as table type and workarea as structure name

regards

padma

Former Member
0 Kudos

ya , IT_FINAL is a internal table of a structure in SE11.

With is internal table i am displaying all other data. So the internal table is not the problem here.

i created a LOOP At it_final. then i used POSNR for EVENT at end. is it correct.

Former Member
0 Kudos

Hi,

Did you declare it_final in the form interface of the smartface? If yes what you have mentioned is right... that should work

if not... declare it in form interface and in the driver program pass the internal table to the function module

regards

padma