Sap script issuing out put.
Hi,
I have a Z form and I want to issue out put for the from,
Iam unable to find out the output type for that form in TNAPR table.
and I don know the transaction to which it runs. I don know the print program also.
please suggest me a way how can i issue output to the form. I don have any information reg the form.
Hi,
While designing the form you might have used some tables, depending on them you can find out which application they belong to(Say Invoice, Delivery, etc.) So then you can go for the respective Output type. Then proceed with NACE and follow the procedure as foe the normal form.
Hope this resolves your query.
<b>Reward all the helpful answers.</b>
Regards
Similar Messages
-
Hi
Does SAP phasing out SAP Scripts if yes when and where can i get the information regarding this???
i need this information plz helpI think two different products get confused here. Let me try to shed some light on this...
Adobe offers already for a number of years a product called Output Pak for mySAP.com (the product was originally developed by JetForms/Accelio which was acquired by Adobe). The Output Pak for mySAP is an SAP certified add-on solution to create print forms from SAP applications (R/3).
About two years ago Adobe and SAP entered into a strategic partnership to develop a forms solution which supports interactive as well as print forms. This solution is called "Interactive Forms based on Adobe software" and is available with Web AS 6.40 (however not yet in the Sneak Preview). There is a migration path from the Output Pak to the new Interactive Forms embedded in Web AS; it should however be noted that the new solution is a completely new development (new graphical forms design tool and new forms rendering services).
Cheers
Matthias Zeller
Adobe Systems -
PLZ HELP SAP SCRIPT ISSUE (DYNAMIC BOX)
Hi all
I want to include a dynamic text (means number of lines can vary) inside a box .
please guide me how i can create this box whose size would be dynamic according to this text.
plz help i am not able to find ne solution
Thanx in advance
Edited by: SARABPREET CHADHA on Mar 14, 2008 11:33 AMFollowing things to be done in Driver program.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = TEXT_ID
LANGUAGE = PRINT_LANGUAGE
NAME = TEXT_NAME
OBJECT = TEXT_OBJECT
IMPORTING
HEADER = TABLE_HEADER
TABLES
LINES = TABLE_LINES
EXCEPTIONS
ID = 01
LANGUAGE = 02
NAME = 03
NOT_FOUND = 04
OBJECT = 05
REFERENCE_CHECK = 06.
then
CALL FUNCTION 'WRITE_FORM_LINES'
EXPORTING
HEADER = TABLE_HEADER
WINDOW = WINDOW
IMPORTING
FROMPAGE = FROMPAGE " not interested ?
TABLES
LINES = TABLE_LINES
EXCEPTIONS
FUNCTION = 01
TYPE = 02
UNOPENED = 03
UNSTARTED = 04
WINDOW = 05.
and then in sap script.
/: INCLUDE &THEAD-TDNAME& OBJECT &THEAD-TDOBJECT& ID &THEAD-TDID&
/: PARAGRAPH T6 LANGUAGE
Your text will apper in sapscript.
Award points if useful... -
Hi,
I am customizing a standard form (f110_prenum_chck) into a custom form where I need to get the vendor information below the check with date of the document,type,reference,original amount,balance due,discount and the final payment amount. There is another window with the same data for a customer retain copy.I can find the fields in regup,reguh,regud tables except the final payment amount field. I think it needs to be calculated. As I cannot do the coding in SAP script, how can I do this? and if a vendor has 2 documents then one line item is been printed in the main window and the second one is falling under the customer copy window, but I need both the line items in both the windows as one is a vendor copy and the other one is a customer copy.
Please help me with this situation
Regards,
Kiran
Moderator message - Please use a meaningful subject line - post locked
Edited by: Rob Burbank on Sep 10, 2009 12:25 PMHi Ian,
theoretically i read that we can create 99 main windows in a page.
Is it feasible ? will it work properly in realtime?
Hope u might have created more than 1 windows in a page.
I am supposed to start code changes from tommorow, hence want to know the feasibility ahead of time.
Regards.
santosh. -
hi,
i am not able to get the print preview for delivery output, i have checked delivery output has got determined, when i goto vl02n, and issue out put then i am able to get the delivery output type, when i select the output type and click on the print preview i get the error "output could not be issued" errormessage no. vl086.
please suggestHi,
1) Kindly check what output type is assisgned to the Delivery Type at OVLK.
2) Then goto Tcode-> NACE.
Select V2-> 'Shipping' and click on Condition Record.
Then select the approprieate Access sequence and check whether condition record is maintained or not.
3) If condition record does not exit create , if created then select the approprieate method and Select the condition record and click on the communication button. Here Output Device, Print immediately should be checked.
Thank You,
RB -
Find total no of pages in a sap script
Hi,
How do i find the no of pages that is generated in SAP script, with out generating a spool.
thanks.Dear friend
new system symbols (note upper case) were therefore introduced:
&SAPSCRIPT-FORMPAGES&
Total page number based on the current output layout set:
&SAPSCRIPT-JOBPAGES&
Total page number based on all output layout sets created with the function modules OPEN_FORM, START_FORM .. ENDFORM, START_FORM .. END_FORM, ..., CLOSE_FORM
Examples:
Page &PAGE& of &SAPSCRIPT-FORMPAGES(C)&
Specifies the current page number and total page number. The additional specification (C) outputs the symbol in a compressed form, that is the leading blanks are omitted in the 4-character output (default).
Number of all output pages: &SAPSCRIPT-JOBPAGES(C)&
Outputs the total number of output pages. Caution: When using this symbol, all output pages must be held in the main storage so that the total page number can be inserted at the end of the output. Larger outputs can affect performance. -
Defaulting the Out put type in out put
Hi All,
I have an issue in output- I am having two out put types say AA00 & BB00 for say order confirmation and order acknowledgement. When I am issuing out put for print I am getting both the condition option but not able to select? I want to make the one of the condition as default condition, How can I do it?
Your help will be rewarded.
ManojHey,
Check the Tcode V/43 where you can maintain the output Determination procedure and the default output type.
Regards,
Ajai.
Don't forget to reward points if useful. -
Out Put type for sap script or smartforms
hi,
Actually, i want out put type, application, SAP Script or Smartform name and program name of transaction code ( F.64 ). i.e. correspondance Maintain request.
Thank You...Manoj,
In SPRO follow this path.
Form 16A
Financial Accounting
Global settings
withholding tax
Extended Witholdong tax
POstings
India
Withholding tax certificates for vendors
maintain no.groups and script forms.
For cheques and Payment Advisory.
Go to FBZP
click on printmethods in company code
click on position
give Company code and payment method
then in the next screen double click on the payment method
This way you will get to see the forms assigned to it.
For Forms for Correspondence.
Financial Accounting
---Global settings
correspondence
define form names for correspondence print.
K.Kiran. -
Label printing issue with chinese characters (SAP script)
Hi ,
I have a requirement to print chinese characters on label print out.
Here are the steps already tried:
1) Created a new device type which is copy if ASCIIPRI and character set 8400
2) Font ANDALE_S, CNHEI, CNSONG are assigned to device type, same fonts called in SAP script.
3) During the print, it is picking ANDALE_S font(observed in spool RAW data), but preview is good.
4) I put ZPL codes CW1,B:MSUNG.FNTFS in beginning of script and also ^A@N,50,50,B:MSUNG.FNT while prining actual chinese text in SAP script.
5) also tried other device types assigned to printer LZEBU2, LB_ZEB2 etc.,
6) already checked at printer DIMM level, SIMSUN, ANDALE_S fonts are already installed
7) Character set on printer is same as in SAP
So far no option worked, it default to Courier fonts while printing and it results garbage characters.
If anyone has ideas, please advice.
thank you,
AnilHi,,
If the ZPL commands are correct for switching to the printer's internal CHinese font and character set, it may work to add the fonts via SE73 -> Printer Fonts -> ASCIIPRI . In here you need to add the commands in the print control SFxxx for your created font.
Another possibility is to print via windows and device type CNSAPWIN. Here it should not be necessary to add any font.
Regards,
Aidan -
Hi Gurus,
I am working on a SAP script... when I am printing the SAP script the last few lines of my text is missing... I got to know that there might be a problem in the page setting... i.e. the page may be set as a A4 and i am printing on letter... so can you please tell me how can I check what the page setting that my sap script is using.
Thanks,
Rajaeev GuptaHi,
Issue of 'part of the Text missing' is happening during Print Preview or when taking a print out?
I guess, the problem is due to height of the window, the height of the window where u printing this text is not able to accomodate the entire text. just increase the height of the window & try.
To know the page format that ur script is using, just follow the below steps:
Txn SE71--> give the Script form name > click on change/Display button> click on Header button (red hat symbol) in app tool bar or press F5 button --> now click on Basic Settings button. Here u see the Page Format in 'Set up Page' block...
Hope it helps!!
Rgds,
Pavan -
Issue regarding sap script pages
Hi all ,
my issue is regarding the medruck. when i click on the print preview option on me23n, the sap script attached(that is medurck) will be printed. in my case the sap script is zmm_medruck(the zcopy of medruck). now, the print out of the sap script is 2 or 3 or 5 paged depending upon the p.o. number given.
for example for a p.o. number 2100001564, the sap script contains 4 pages. now, my issue is , the print out should contain only last 2 pages or only 3 rd page.(that is without all pages, we want only specific pages of the sap script to be printed). how to do this. plz reply fast. points will awarded.
this is urgent issue.
thanking u in advance,
sreenu.Hi all ,
my issue is regarding the medruck. when i click on the print preview option on me23n, the sap script attached(that is medurck) will be printed. in my case the sap script is zmm_medruck(the zcopy of medruck). now, the print out of the sap script is 2 or 3 or 5 paged depending upon the p.o. number given.
for example for a p.o. number 2100001564, the sap script contains 4 pages. now, my issue is , the print out should contain only last 2 pages or only 3 rd page.(that is without all pages, we want only specific pages of the sap script to be printed). how to do this. plz reply fast. points will awarded.
this is urgent issue.
thanking u in advance,
sreenu. -
How to debugg a script when the Required out put is like Fax or email
Hi this is Durga Prasad i have small doubt in scripts can any one clarify that one plz normally we will do that one with activating debugger but when a special requirement is like fax or e mail how we will do that one
"how to debugg a script when the Required out put is like Fax or email"
Thanks in advance
Durga Prasad.Hi
DEBUG Smartform:
1) One way to debug smartform is to debug the Function Module of that smartforms.
If you want to debug particular smartform node that the solution would be,
insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
2) SFTRACE can be used for debugging SMARTFORMS.
Read More here.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
script
1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
When you debug Print program it is same as you debug any other ABAP program. While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.
As per ur question there is nothing new with script debugging,
it is same as normal report debugging...
SMARTFORMS DEBUGGING
For smartforms debugging you can do this.
1. Execute the smartform (execute button in SMARTFORMS transaction)
2. Take the generated function module and display it in SE80.
3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
Tcode - SFTRACE
Re: How to Debug a Smartform
Debug of smartform and sapscript.
Debugging SmartForms
Debugging of a subroutine pool.
SCRIPT
There are 2 separate kinds of debugging available when you try to debug scripts.
1. Debugging the print program : This is the normal debugging we do for our report programs.
2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:
a .In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
refer to the link below
http://www.howforge.com/how-to-debugging-sapscript-form
Look at the BLOG here, it is well explained
/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
Regards
Anji -
Formatting issue related to SAP Scripts
Hi All,
I have a formatting issue related to SAP Scripts.
Issue is i have a variable declared as:
<b>v_kbetr LIKE BSET-KBETR.</b>
I will fetch some value into this v_kbetr in SE38.
Then in SE71[Layout set] i have put it as &v_kbetr&
Now i have written code in SE71 as below:
IF &v_kbetr& EQ ' 0.00'
0
ELSE
&v_kbetr&
ENDIF
like wise i am displaying 2 fields with same condition.
now if value for v_kbetr is 6.75 then it is getting displayed as right aligned.
Otherwise 0 will be displayed as left aligned
Now what i want is &v_kbetr& to be left aligned if value present. though i have declred as &v_kbetr(L)& it is not working.
Is there any solution for this.
Thanks,
Kumar.Hi.
Symbol values other than numeric values are normally formatted left-justified.so define this variable other than Numeric.
If you write Field(L) this will only for output, -
How to put Page break in SAP Script
Hi Experts,
Please tell me how to put page break in SAP Script. or give some sample code
looking forward for your reply..
Regards,
Kali PramodHi,
NEW-PAGE is used to insert a page break ,
it can be conditional if used between IF..ENDIF
e.g. /:IF &KNA1-NAME1& = 'XYZname'
/:NEW-PAGE
/:ENDIF
If u want to Page break after displaying certain records or after some condition you use NEW-PAGE
reward if useful. -
Reg: Out put could not be issued
Dear All,
when i am excute VL03N to get output of smartform i am getting message like Out put could not be issued message vl086Hi Reshma p,
For that U have to assign output type...
Check out in NACE transaction whether it has been made or not...
In VL03N>Give a document number and enter the tcode then in, Menu>Extras>Choose Delivery Output>Header/Item(choose one), and here you have to give the output type in general.
Have a look on similar issue with VF03
VF03 smartform: Output could not be issued
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
Maybe you are looking for
-
Macbook Air 3.1 (late 2010) black screen after 10.9.4 update
Macbook Air3.1 MBA31.0061.B07 SMC 1.67f10 A few days ago has updated Mavericks to 10.9.4 and started having problems with the screen. During use is - not in sleep mode - the screen suddenly goes black. Sounds (Volume), keyboard (Caps lock indicator)
-
Watermark not saving on PDF - Pro v9.0
We have a user who has to apply a watermark to a larger number of files. But the watermark is not being saved to the PDF's. The issue is when you select to "Keep position and size of watermakr text constant when printing on different page sizes" t
-
Hi! I want to show some of my short films (.mov) direct in the page who is build in html. Can someone please help me how i can do that. What code can i use to do that? Please, please someone who are nice to help me. /Marias1967
-
HT4557 I don't have this on my iPhone 4 = "Settings iPod". Help!
I'm trying to set up Home Sharing on my iPhone 4. The instructions say = "On your iPhone, tap Settings > iPod". Why would a setting for iPod be on my iPhone? If it should be there, I can't find it. I'm totally confused and frustrated with trying
-
Undo a receipt from production
How can I undo a receipt from production. The date is incorrect on the Receipt of production. I want to correct it. Zaigham Khan