on 02-03-2012 6:16 AM
Dear friends,
The issue is i am not able to get data into script while the data is available in print program.
Actually we want to print workpapers from IW32 regarding reservations. Earlier we used to print them by executing a custom program .Now we want to print them from IW32. So we assigned the same custom program and the same script in OIDF. In debugging, i am able to see the data in print program where the WRITE_FORM is called but when i debug the script, the data is not getting available there.
Pls help me on this.
Thanks,
Venkat.
HI friend,
If its coming in the print program write form then it should be passed to Script. If not so means then either the table in the print program and the Script should miss match else the fields specified in the table would have been changed by some mistake.
Either of this should have happened.
Else debug and see whether the table data is getting cleared before display. So that you will work to see where the table data is getting displayed.
I think this will solve your issue. If you have any queries please revert back to me i will help you.
Thanks,
Sri Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply. May be the below one is the cause.
I am getting this in OIDF where i assigned print program and form.
*********************************
ABAP form routine parameter error
Message no. ID608
Diagnosis
The FORM routine has FORMAL parameters when there should be none.
Procedure
FORMAL parameters:
Check whether FORM routine ENTRY_ZRE1 actually exists in ABAP ZMSC_PP_RES without FORMAL parameters.
The ABAPs are called by INCLUDE LIPRTF02. You can see here exactly how your ABAP is called.
*********************************
But i havent passed any parameters in the form routine.
Thanks,
Venkat.
please find the below code.
REPORT XXXXXX.
****data declarations
****form routine
FORM entry_zre1.
****data selection
****calling script
PERFORM print_good_issue.
endform.
form print_good_issue.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
form = t390-form"'ZMSC_MM_SC_RES'
language = sy-langu
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
OTHERS = 6.
LOOP AT rprint.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'I_DETAIL'
window = 'MAIN'.
endloop.
endform.
""""""""""""""""""""""""""
there is data in rprint but it is not getting passed to form.
Thanks,
Venkat.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.