cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

custom windows not getting displayed in copied sapscript LVSTAEINZEL

former_member223165
Participant
0 Likes
370

Hi Experts,

I have copied Transfer order single print form LVSTAEINZEL and added windows in it .

When I generate output by using transaction code 'LT31', custom window are not getting displayed in spool.Even if I add some text in standard windows, the content is not getting displayed.

But in debugging(i.e in generate_form) I could see my form i.e custom form is being called.

Kindly help in adding windows in LVSTAEINZEL.

Do I need to write code in print program.

Regards,

Santhoshi

Accepted Solutions (0)

Answers (3)

Answers (3)

hedvig_rohonyi
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Santhoshi,


could you please check that when you added your custom windows to the form you use Nameless text elements (without having the /E paragraph format) or default text elements (/E).

The system outputs named text elements only if the print program explicitly calls them in the function module WRITE_FORM. But it outputs nameless text element automatically whenever it processes the corresponding window.

You can see in the print program that e.g the named text element /KOPF is called via WRITE_FORM:

CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'KOPF'
WINDOW = 'KOPF'.

So I recommend you use Nameless text elements in your custom window.


Best regards,
Hedvig

former_member223165
Participant
0 Likes

Hi Jurgen,

Thanks for your response.

I have copied the form 'LVSTAEINZEL' into zform and changed the configuration in 'OMLV' .

And I could see the zform in open_form in debugging but the content in zform is not getting displayed.

Regards,

Santhoshi

JL23
Active Contributor
0 Likes

if you copied the print form LVSTAEINZEL then it is probably no longer this name.

Had you changed the print customizing accordingly?