cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding line item details in SCRIPT

Former Member
0 Kudos

Hi Gurus,

when I am debugging my driver program all the values are coming into the internal table and i am passing that internal table to the Script form ,every thing is ok.But the item details are not printing in my form.

I checked all the sizes of the fields in my item.Every thing is ok.

I have to print the item details.How to do...?

Any help can be appreciated highly.

Regards,

Sidram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Could you check whether you have specified the correct element in your script to print the line item details...

Former Member
0 Kudos

I have specified correct element in the function module Loop also mention..!

Former Member
0 Kudos

hi,

are you passing the correct element in your WRITE_FORm?

regrds,

Lokesh

Answers (6)

Answers (6)

Former Member
0 Kudos

You are taking values into internal table.

in driver prog

loop at internal table and take values into work area

call function write_form

endloop

I script give field of work area .

all line items will print.

Former Member
0 Kudos

The variables you are trying to print must be declared as global variables not local.

Local variables will not be recognized by sapscript.

Former Member
0 Kudos

hi,

are you passing the internal table directly..??

try this way..

Loop at t_data in wa.

call write_form

endloop

in the form

texteditor,

display the item details in this way

/E element

  • &wa-col1&..&wa-col2&.. etc

hope this helps...

thanks

Sharath

Former Member
0 Kudos

Hi,

Once check your window size where you are dispalying the item details, and also ensure that field string name is same in form and program.

Regards,

Rajani

Former Member
0 Kudos

Hi,

check once total driver program and layout,u r getting values in debugging mode means you are getting out put,check all formats and output type assign in through Nace transaction.

Regards,

Madhu

Former Member
0 Kudos

Hi,

Make sure you have used OPEN_FORM and CLOSE_FORM . Also confirm you have used the right internal table fileds.

Hope this helps.

Regards,

Deepthi.

Former Member
0 Kudos

activate your script debugger and check the script main window the internal table values are coming or not...

Former Member
0 Kudos

i checked th internal table I am getting only last item value only rest of the value I am not getting this is rate of the field from konv-kbetr table.