Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
We have 2 QVWs - QVW_A and QVW_B.
Reports are designed in QVW_B and can be printed using the action on a button in the same QVW i.e QVW_B.
Requirement-
However, the requirement is to print the report in QVW_B upon the action of the button present in QVW_A. So, there is a button on a different QVW, i.e QVW_A, that has action to print the report present in QVW_B. Thinking of 2 different ways upon click of a button -
1. Open the QVW_B (using document chaining) and print the report
2. Print the report directly without opening the QVW_B.
Please suggest here.
Regards!
I didn't tried this, but i'd try something like this. The qvw b has a list with the name of the reports to print and an on change Selection of that field create an action to print the report with the name on the selection. On qvw a i'd create de same list with report Names and used document chaining tecnique to pass the selection fom qvw a to b.
Hope this is a useful idea.
Dicky,
Never tried this before, but u can try this
i would say, use document Chaining and use on open triggers to print.
so basically QvwA will have a button with open QvwB with Transfer state if needed and on QVWB add onopen trigger to print a report.
Hi phaneendra.kunche,
Thanks.
I had tried this idea in the first instance itself and that worked too.
But the problem here is that - User needs to open the 2nd QVW (QVW_B) from the Access Point too and OnOpenDocument trigger makes the Report print, once the QVW is opened.
That is disturbing. Report printing should not open up while opening the QVW.
Still brainstorming. Was looking into some extension objects or API method.
Regards!
Gotcha...
SEems there is ain't any URL way of printing. Usually u can open app, pass values, update variables through URL but doesn't seems a way to print the report.
May be as you said you might have to build a extension to do the silent operation (behind the scene open QVW, pass values, print and close QVW)
Yes phaneendra.kunche,
Theoretically getting the idea.... but not bale to get into that practically yet. Some of the extension not working!