Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

F110 - APP - Chque printing on pre-printed stationary.

$
0
0

Hi ,

 

I am printing the Chques on the pre-printed stationary using the Custom  layoutset via F110 for some vendors. This Vendor has 4 open line items.

My Cheque layout is as follows:

 

Window        Element

Details1       HEADER

Details1       DET

Main            MAIN_DET.

Amounts     no element

 

I am making modifications to the RFFOUS_C by copying it to the Z- Custom program and calling my windows and elements using WRITE_FORM at appropritate places. The program is picking up the layoutset and goes to the indiviadual elements as well. But while printing it is not printing the Element 'HEADER' of the window 'Details1'  and out of the 4 open line items it prints only one line item in Window 'Details1' Element 'DET'. Ideally it should print all the 4 open line items in Details1 as well as Main window. Window 'MAIN'  Element 'Main_det' and the window 'Details1' Element  'DET' have the same details.  But Details1 Window and Elements are getting trigggered but not getting printed as a result I get 3 open items printed in Window MAIN and one open item in 'Details1'. This is a very strange behaviour and I have never come across.

 

While calling the Layoutset I am using only Window name and the Element name and not the Function ( SET APPEND )and the other parameters.

 

Can any one please let me know where have I gone wrong. What needs to be done to print all the 4 open line item details in the windows 'MAIN'in and also in the 'Details1' window. So also the Element 'HEADER' gets called but immidiately comes out of the Window in write_form during debugging and hence it is not printed. I want to print the elemnt 'HEADER' also in the printout.

 

Can any one please let me know what needs to be done to print all the open items in both the windows...?

 

Also can I get away with the Z-custom program and use only the Std SAP program(ZRFFOUS_C) to achieve my goals as the FC says without the Custom program one can still achieve once goals.

 

Regards,

Deepak.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>