How to print a form after vf01
hi
i want to print a zform after vfo1
i have got the user exit RV60AFZZ which gets triggered
while saving
how can i pass the form name in the exit to so that it gets triggered ?
regards
darshan
it is better to create z t.code for that...
or
put ur function module that is generated in exit....
like below
CALL FUNCTION '/1BCDWB/SF00000265'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
DATE_L = s_fkdat-low
DATE_H = s_fkdat-high
PLANT_L = s_werks-low
PLANT_H = s_werks-high
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
IFINAL = ifinal1[]
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
Similar Messages
-
How to print a form with digital signatures
I created a form that was signed digitally and submitted electronically. When I look in my summary table, the signature shows, but when I create a pdf of the form, the signature does not show. How can I print the forms with the digital signature showing?
Yu -
There is no need to post the same question repeatedly - this does not affect how quickly we can respond.
Merging with:
How to print a form in a UIX page and
how to print a form in a UIX page?
Andy -
Hi,
how to print HR form..(not smartform or sapscripts)
i.e how to connect the form to the program and where to write the program.
<b>as we do it in sap scripts ,SE38 for program to connect SE71 layout program..</b>
Cheers,
Raghavesh
Message was edited by:
Raghavesh ReddyHi Raghavesh,
I think you are taking about the HRFORM name that we give in the Report RPCALCU0 in the HRFORM..
If this is the case then you can use the transaction 'HRFORM'..
In this you can find some Examples.
Reward points if it solved your problem.
Regards,
Kiran I -
How do I direct user to print the form after they click submit?
I am creating a permission for for our scout group. I need them to print the form for their parents to sign after hitting submit. Is there a way I can do it in Forms Central?
Hi,
In the "successful submission of a form, execute this PL/SQL block or PL/SQL procedure" section redirect to the url.
Say you want to redirect to a dynamic page on success, you can do this
begin
<portalschema>.wwa_app_module.set_target('<portalschema>.NEW_DYN.SHOW?p_arg_names=dept&p_arg_values=20');
end;
Thanks,
Sharmila -
How to print adobe form immediately without preview?
Hi, Experts.
I made a WD4A using Interactive Form control
and the app is working fine and displays Adobe Form.
But I meet a new client needs on how to print immediately without display the form.
My client says that "I don't wanna see the form and just print form immediately when I click the print button".
I think there are some option parameters for solving those problem...
Plz. Help.
Regards Junha.Hello Junha,
you need to send the pdf to spool. There's a function module for it as far as I know. Can't remember the
name at the moment and having no access to a SAP system. A good way to find it would be searching
for SPOOL and PDF in the name.
Best regards,
Thomas -
How to print Adobe Forms without the black/gray backgrounds in the side columns
How can we print Adobe Forms without the black/gray backgrounds in the side columns? We are wasting a lot of ink printing out these forms and would like to have simply black ilnes to distinguish columns and black lettering, but no background colors. Any help would be appreciated. Thanks.
I am not positive what you are printing from but I am thinking it is from the View Responses tab with a response row selected and then shown in "Detail View" and that the column of field names has a dark grey background...
To change the color of the column headers select the row of headers (do this by clicking on the first dark grey header field and then scroll to the last one and shift+click on the last one), then in the "Text" tools change the text color to Black and the Fill color to white:
(Selected the header cells)
Changed the text/font color to black and the fill color to white
Now you can see the detail view does not have the dark grey.
Thanks,
Josh -
How to Close InfoPath Form After Submission When Two Buttons Exist?
I have an browser-enabled InfoPath 2010 form that has two views and a submit button on each view. The form would correctly submit and close the form using one button on the form until the second button was added. After adding the submit button on a second
view, the second button submitted/closed but the behavior on the first view changed so that the form no longer closes after submission. I’ve researched this and have not yet found a solution to allow closing the form after submission for one of the buttons.
Things I’ve tried:
- I’ve attempted creating multiple submit data connections for the different buttons
- Specifying different Submit Options
- Try closing the form with the code
- Add another button to the non-closing view
- Add duplicate Rule actions to "Close this form: No Prompt"
Settings:
Button rules:
- Submit using data connection: SharePoint Library Submit
- Close this form: No Prompt
Button Properties:
- Action > Rules and Custom Code
The form Submit Options:
- Send form to a single destination (a form library)
- Choose a data connection for submit (SharePoint library submit)
- Advanced > After Submit: Close the form
Advanced form options:
- Filler Features: all items unchecked (not allowing Save, etc.)
- E-Mail Attachments: uncheck Enable InfoPath e-mail form functionality for this form template
Resources:
When considering programmatically submitting and closing the form, I understand from this article that the Rules run before code and I can’t close the InfoPath form programmatically by writing code behind a button that has a rule set on it:
http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
Discussion of creating a custom Save and Submit buttons for InfoPath browser forms:
http://markhaverty.com/sharepoint/custom-save-and-submit-buttons-for-infopath-browser-forms/what if you need to switch views?
I have the same problem in a similar situation. I created a test button to narrow down the cause. the button submits data & closes the form fine. however when I add a rule to switch views before the submit & close rule, it
breaks. Submit still works but it no longer closes the form. If I disable the switch-view rule, then it closes fine.
I tried added another rule to switch back to the main view but that didn't help.
switching views is an integral part of the workflow b/c I want to email the alternate view upon approval & then close the form. So removing that rule is not a good answer unfortunately. -
How to print a form in a UIX page
I want to print a form in a UIX page? I have tried a lot of methods,but they did not work.I only want to print the contents in the form ,not including the contents of the page title ,tab bar,etc. Can someone tell me?Thank you!
Yu -
You'll want to use the "printable" facet when rendering your page. The following sample page contains a button which allows the user to view the "printable" version of the page. It uses the <showFacet> event handler to switch to the printable facet:
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller">
<content>
<pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
<tabs>
<tabBar>
<contents>
<link text="Hello"/>
<link text="World"/>
</contents>
</tabBar>
</tabs>
<pageButtons>
<pageButtonBar>
<contents>
<button text="Show Printable Page" ctrl:event="showPrintable"/>
</contents>
</pageButtonBar>
</pageButtons>
<contents>
<text text="Printable area"/>
</contents>
</pageLayout>
</content>
<handlers>
<!-- Use the showFacet event handler to switch over to
the "printable" facet -->
<event name="showPrintable">
<showFacet name="printable"/>
</event>
</handlers>
</page>Andy -
SAPScript: How to print mutiful forms in one program?
Dears,
I want to print invoice in my program, And one invoice number should print one form.
My question is : if there is a internal table contains 10 different invoice number, and I want to print 10
forms. Is that means, I should use FM 'OPEN_FORM' 10 times?
If do, I would have to fill the popup dialogue window 10 times.
Anybody who have good ideas about this problem? Thank a lot.
Sincerely yours,
JulieI suppose you want to print several sapscripts in one spool
In that case you need to use START_FORM END_FORM
It would be something like this
OPEN_FORM
Loop at invoices.
START_FORM
ENDFORM
endloop.
CLOSE_FORM -
How to print multiple form for tag printing in smartforms
Dear Experts,
I am working on tag printing in smartforms .in tag printing i am showing
1.material no.
2.material descrption.
3.material doc no.
4.Quantity
5.supplier.
my requirement is that for example , if the mat. document no. has a material of 10,000.00 quantity , in tag printing it should come 1,000.00 of each tag and total no of tag should be 10. and it should come one after another .
and the page format size 8 x 6 cm. is it possible .if possible how ! how the system will know how many tag is to be printed . please reply its urgent.Hi Kumar,
Let me know. is the quantity 1000.00 is fixed? if so thn you can achieve the requirement.
For example:
There are A-material with 20000.00 quantity thn u can first divide the quantity with 1000.00
v_ex = 20000.00/1000.00=20.
thn you can repeat the print of the smartform for 20 times by passing the parameter to form fm.
Please reward if useful. -
How to print a form that has scrollable boxes data?
I have developed a form that individuals can fill out a box that is scrollable to fit a certain number of letters. On the screen after the form has been completed I want to print out the form but the scrollable box only prints what is seen on the screen rather than what has been typed in the entire box. How can I get a printout of this form with all the information that is in the scrollable box?
AcroForms do not have dynamic fields. One could use templates to spawn a new page that has a larger form field with the same name. Another approach would be to export the data to an FDF and then have a different copy of the form with much larger fields for those fields that are over flowing and import the FDF into that form.
-
How to print blank page after group change
Hi,
I would like to print my report like this:
(No1)
Page1
Page2
Blank Page
(No2)
Page1
Page2
Blank Page
No3
How can I make this?
Thanks
Gregor
gtInsert an empty frame with a Page Break Before and Page Break After, or use these properties to see if you can get the result you want in your current layout model.
-
How to print Adobe form in different languages.....
HI ,
I made one Adobe print form in EN language. Now the client requirement is that want to print in Chinese language also or in any other langauge . Please tell me how tio do that. I am looking for a valuable solutions.
VishwjeetHi Manoj,
Does the requirement is to translate text in different language without any modification in the layout or do you need to make modification on layout depending on language ?
If you only need to translate text, use SMARTOFRMS and SAPSCRIPT text in your form and add a Language parameter in the interface . then in the layout use the text in the language value given by "Language Parameter" . With this way you don't have to connect in each language to activate the form .
If you need to make modification on layout, you need to conect to SAP in required language and then modify the form .
Hope this help , if you need i can send you a sample form for the first solution.
Regards. -
How to print the form output in news paper format
Hi All,
How we will print the data in the output in newspaper format in SAP script?
Can any body give some idea on this.
Thanks&Regards
MaheshIf what I understand is correct..!!!!!!!!!
design the windows in required format. and make the window belongs to all required pages and just type the matter there itself. then run the form from ABAP editor.
Cheers. -
How to gone the form after login to the application in smp2.3 hwc?
Hi All,
I developed an application in that user has to login the application, based on the login user details are shown in a listview.
The whole thing is working fine, but when the user logged in the application, then the login screen has not visible. for that i wrote a code in custom.js
if (screenKey == 'Start' && destScreenKey == 'Details') {
document.getElementById(screenKey+"Form").style.visibility = "hidden";
Here the controls in that form are not visible, but the screen is visible.
How to handle that?
Regards,
Sravanya.Hi Midhun,
I created an MBO, i.e., UserDetails. In that user's details like username, password, first name, lastname, date of birth ete. If the user logged in the application i am showing these details in a listview.
My first screen is "Start" in that username and password editboxes are there, and when the user clicked on log in button i gave the online request to that MBO.
The query i wrote for login is
SELECT x.* FROM UserDetails x
WHERE x.username = :Uname_P
AND x.pwd = :Pwd_P
Then it is moved to next scree i.e., "Details" , in that screen i am showing the details in listview.
After that the user click on back button, it is going to "Start" screen.
In that screen i have the username and password fileds, even the user logged in the application, when click on back button it is showing the start screen. I want to hide that screen
So i wore the code
if (screenKey == 'Start' && destScreenKey == 'Details') {
document.getElementById(screenKey+"Form").style.visibility = "hidden";
But it is hiding the Controls which is present in the Start screen.
I want to hide the whole "Start" Screen, when the user clicked on back button it should not show the start screen.
Regards,
Sravanya
Maybe you are looking for
-
Unable to import IDoc into NWBPM from NWDS
Dear PO Experts, We are migrating an existing interface (IDoc<-->PI<-->SOAP using BPM (Multiple sync calls)). We are un able to import IDoc into NW BPM project as a service Interface. (For BPM we exported IDoc into local system as an external definit
-
I am trying to attach a jpeg image to an email. I attach the image and select 'View as Icon' and send it. To the recipient, It appears as the image, however it is the size of the icon and it can not be opened. I have attached it from the desktop an
-
APPLE TV 2nd GENERATION WON'T WORK IN BRAZIL
I just bought the new version of AppleTV. I have the old one as well and it works flawless. But this new version is not working as fine as the salesman told me at Apple Store Miami Beach (Lincoln Road). I bought this one so I could watch Apple TV at
-
Should I use "MANAGESECONDARYTRUNCATIONPOINT " option?
Hi all, I have installed OGG (Oracle GoldenGate) on SQL Server 2008 R2 hosted on Windows 2008 R2. I found that log file grows quickly and cannot be released after transaction log backup. The spaces issues almost crash the database, I just execute the
-
Does anyone know the definition of "when it connects to the internet"? I lost my MacBook Pro... I had 2 user accounts, both require passwords to login... if someone started up the computer, and it comes to the login screen, and wifi is available, is