Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPscript Issue with Text Element /E 545

Former Member
0 Likes
2,486

Hello Experts,

I'm working on Cheque printing.

The line 'U.S.Funds' / 'CAD Funds' is not getting displayed for Multiple Page Cheques, but displays for Single Page Cheques.

Here's the screenshot of the Window Editor:

Can someone help me why is it doesn't appear for Multiple Pages?

And I didn't understand why 545 is being used here. 545 is not used in the Driver Program.

Please provide your inputs.


Thanks & Regards,
Sowmya

9 REPLIES 9
Read only

Former Member
0 Likes
1,823

I tried to print without this Text Element 545, but it's not working.

Awaiting your inputs.

-Sowmya

Read only

venkateswaran_k
Active Contributor
0 Likes
1,823

Hi Sowmya

Can you explain what do you mean by multiple page cheque? I am not able to get your requirement.

Regards

Venkat

Read only

Former Member
0 Likes
1,823

The element must be getting written using FM WRITE_FORM like this:

CALL FUNCTION 'WRITE_FORM'

  EXPORTING

    element  = '545'

    function = 'APPEND'

  EXCEPTIONS

    window   = 1

    element  = 2.

Put a breakpoint on this FM and confirm whether/which driver program is calling it.

It is likely that your driver program is copy of standard, and the call is hidden under an include.

Read only

Former Member
0 Likes
1,823

Hi,

please provide some more information

You are printing from tcodes F-58, FBZ5 or f110.

also your are using RFFO*_C program or Z copy of this program

regards

Tejas

Read only

Former Member
0 Likes
1,823

Hi everyone,

Thanks for the replies.

I'm printing the Cheques using RFFOUS_C.

There's no WRITE_FORM in the driver form. As Manish said, it is hidden in some include.

My question is why is it not working when there are multiple pages.

Multiple page Cheque : If there are more than 18 line items (Invoices), then it prints in 2 Pages. This is what I meant.

Here's the code for '545' :

Please do provide your suggestions.

Thanks & Regards,
Sowmya

Read only

0 Likes
1,823

Hi Sowmya,

May not be the correct solution.  Can you please remove the /:  PROTECT and /: END PROTECT..

and check it again?

Regards,

Venkat

Read only

0 Likes
1,823

Had already tried. No luck

-Sowmya

Read only

0 Likes
1,823

The Google Translate version of code comment in your screenshot is:

* Check window, Real element check (on last page)
* Window check, element genuine check (last page only)

Text element 545 is part of CHECK window, and that window may be getting shown only on last page.

Read only

0 Likes
1,823

Thanks Manish.

I created new Window and wrote the same code by removing the Text Element 545.

I didn't remove CHECK Window as it affects the print (inter-related to RFFOUS_C Text-Element 545).

Now, it is working fine.

Thanks & Regards,
Sowmya