A utility program to send the content of a spool OR an internal table in
Hello Guys,help me.
A utility program to send the content of a spool / an internal table in various formats like HTML, PDF, TXT etc.
can u explain wht is this completely
Thank you
Santhosh.
Please check below links for better understanding of sending data from SAP to various formats...
internal table to an XML file
http://www.erpgenie.com/abap/code/abap27.htm
Report Output to a PDF File
http://www.erpgenie.com/abap/code/abap51.htm
HTML EMail from ABAP
http://www.erpgenie.com/abap/code/abap20.htm
Spool from SAP to Acrobat format
http://www.erpgenie.com/abap/pdf_creation.htm
Similar Messages
-
Read spool of a program and sent the content in a email
Hi Guys,
I have a problem while executing a Report program in background.if i run the prg in foreground the content of the report is fully populated in the lotus Email.But when i run the same prg in background.....the email is populated with only last three lines of the report.I am extrating all the content of the report in to an internal table and passing to the function..'SO_NEW_DOCUMENT_SEND_API1'.
please help me out to over come this issue....is there that i need to do specify spool recepients list...while scheduling a background job...or....can i read the spool of the prog and read the spool content into an internal table and pass it to the above function module....in the same prg....
Please help me....
Full points will be awarded...
Thanks,
Radhahi Radha,
try out this way......
1) when u r writing to the spool (r simply writing in background), u try out this way,
loop at itab.
write itab.
endloop.
new-page.
commit work.
new-page print off.
2) then call fm "get_job_runtime_info" to get the jobname, jobcount and stepcount.
3) select listident(Spoolnumber) from table "tbtcp" for the above values with listident ne 0.
4) read the spool into a table using any std sap fm.......
Pls reply if this works.... i assume that u didnt send the contents in mail as any attachments right?
(Note = u can only c the spool contents in SP01, after the prog executed)
(Also u can try this in debugging in background using SM50, creating an infinite loop in the code)....... -
Imm. Help required . To Send the contents of a JFrame to printer
Hi All
I need to send the contents of a JFrame or JPanel to the system printer.
I need the java codings to send the contents of a JFrame to get printed in the default printer.
Pushparaj TI just posted a link to another thread that discusses making a transparent frame.
http://forum.java.sun.com/thread.jsp?forum=57&thread=490146
The basis for this concept can be used for sending the image (screen capture) to the printer.
Should you tackle the project and develop a working screenshot printing program, please post here. -
Mailto link to send the content of the page when clicked.
I want to set up a mailto link that sends the contents of the page to a predefined address when clicked. I want this to work from a webpage viewed on an iPad as well as a desktop computer. If this is possible, how do I do it?
You cannot, but you may be able to send the link to an address, just not the webpage content itself.
-
Send the contents of group to be machine translated.
I know is possible to send the contents of this term set to be machine translated, but a like to send the group to be machine translated. Is it possible?
Hi,
No, we cannot send the group to be machine translated by OOTB.
For more information about Machine Translation,you can have a look at the blog:
http://blogs.technet.com/b/wbaer/archive/2012/11/12/introduction-to-machine-translation-services-in-sharepoint-2013.aspx
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Ability to send the results of a report query to a table in the database
Hi Guys
Is it possible to send the results of a report query to a table in the database ?
ThanksYes.
For this purpose, you can use :
* the delivers advanced option
http://gerardnico.com/wiki/dat/obiee/bi_scheduler/advanced_publication_delivers
* the SOA API
http://gerardnico.com/wiki/dat/obiee/obiee_soap_eclipse
This two solutions need some development skills. -
What is the maximal line length of type any internal table
Dear all,
who can tell me what is the maximal line length of type any internal table.
Thanks!There is no limit to the record length of an internal table.
There is overall memory limit for every program (as setup by your basis). So, depending on the width of the ITAB, the number of records in ITAB is limited by the assigned memory. -
Which system variable is reset at the exit of a loop of an internal table
which system variable is reset at the exit of a loop of an internal table
a)sy-loop b)sy-index c)sy-dbcnt d)sy-tabixYou might want to revist your threads from Friday, and award points and mark as "Answered" or "Solved".
Regards,
Rich Heilman -
Extracting the result of a query into a internal table
Hi,
Does anyone knows or have an idea how to extract the result of a query into a internal table, is there a function module or BAPI?
Thanks in advance,
CKSo then normally I would use a statment like:
IFunctionTemplate ftemplate = repository.getFunctionTemplate("<b>BAPI_SALESORDER_GETLIST</b>");
to call a particluar function, but I tried using
IFunctionTemplate ftemplate = repository.getFunctionTemplate("<b>BAPI_MDDATAPROVIDERBW_GETCATALOGS</b>");
and it did not seem to work. I also tried -
IFunctionTemplate ftemplate = repository.getFunctionTemplate("<b>MDDataProviderBW.GetCatalogs</b>");
How do I format the function?
Thanks
Paul -
To eliminate the duplicate entries while looping into final internal table
Hi friends,
IAam facing the follwoing problem.
Get Shipment for the Delivery number
SELECT tknum
vbeln
INTO TABLE lt_vttp
FROM vttp
FOR ALL ENTRIES IN lt_vbfa
WHERE vbeln = lt_vbfa-vbelv.
IF sy-subrc EQ 0.
SELECT vbeln kunnr
FROM likp
INTO TABLE lt_likp
FOR ALL ENTRIES IN lt_vttp
WHERE vbeln = lt_vttp-vbeln.
endif.
now iam my internal table lt_vttp i have following values
shipment delivery
1000 2000
1000 2001
in my internal table lt_likp i have the follwoing values
delivery shipto
2000 ABC
2001 ABC
now iam looping those values in a final internal table.
LOOP AT lt_likp INTO ls_likp.
CHECK sy-subrc EQ 0.
READ TABLE lt_vttp INTO ls_vttp WITH KEY vbeln = ls_likp-vbeln BINARY SEARCH.
CHECK sy-subrc EQ 0.
SELECT SINGLE * FROM vttk INTO ls_vttk
WHERE tknum = ls_vttp-tknum.
CHECK sy-subrc EQ 0.
APPEND ls_vttk TO lt_vttk.
endloop.
Now my problem is if the shipment is same and the shipto is same then need to eliminate the duplicate records.
in internal table iam getting 2records with same shipment and shipto combination.
but instead if both the shipment and shipto are same then i should elimate the duplicate entries.
and for the same shipment if i have differnt shipto then i neeed those 2 value.
can any body tell me how can i get that.
Regards
Priyanka.Hi Priyanka,
In your code you are using seelct statement inside the loop which will affect the performance.
So, declare a another internal table which contains your both shipment and shipto elements with other required fields, say the name is lt_new.
sort lt_new by shipment shipto.
delete adjacent duplicates from lt_new comparing shipment shipto.
"then use for all entries to choose values from VTTK.
Hope this helps you.
Regards,
Manoj Kumar P -
How to send the content as HTML in email?
Hi,
I need to develop a program which sends email in HTML format.
Can u advice me how to do this????
Thanks,
NeerajHi,
You simply set the doc_type to 'HTM' instead of the default 'RAW'.
Regards,
Darren -
How long does it take for Apple to send the content code for a free upgrade to Mountain Lion?
Has anyone managed to successfully receive the content code in their email for a free ugprade to Mountain Lion?
I bought my MBP on 14 July so I qualified for the free upgrade. Went to the website and filled in the form along with my serial number about 2 nights ago. Still haven't received my content code yet. How long does it take? Should I be speaking to someone already? Who?
Thanks.We are being advised it can take up to 72 hours !
-
I have a custom list called "Suggestions" with a field called 'Notes from Reveiwer'. Folks enter a new suggestion and kicks off a workflow to approvers. Approvers review the suggestions and add notes. When notes are added, I would
like to have the contents of that field show in the email that I created in the workflow that goes back to the user who created the original suggestion.
LDillonWhere are the Approvers adding Notes? Is this part of the Task form?
If yes, you need to get the ID of the task that you created in the workflow for the approvers. Using this ID, you can reference the field in another list and it as lookup in the email body. If you dont have this ID, create a Field in the Custom task and
call it SuggestionID. Populate this with the ID of the current item from the Suggestions list. You should be able to then reference this to get the response of the Approver.
If the Approver is responding in the same list, then just add the response field as a Lookup in your email that is sent back to the person who submitted the suggestion.
Hope it helps.
Regards, Kapil ***Please mark answer as Helpful or Answered after consideration*** -
ADF : how to send the content of a selectInputText to a dialog
Greetings,
I have linked a selectInputText to a dialog.
I need to transmit the content of the text field to the dialog window.
Does ADF provide a simple way to to do this?Thanks.
In my case, the 'row' variable is not linked to my selectInputText.
So, row.textField does not return anything.
I tried assigning it an ID ( e.g. id="theField" ) and using it in the 'from' field ( e.g. #{theField.textField} ), but it did not work either.
What should I do? -
While verifying and repairing permissions using the disk utiliaty program, I get the message: Warning the SUID file "system/library/core has been modified and will not be repaired. What is this and do I need to take some corrective actions? Thanks. WDG
Ignore it, your fine.
http://support.apple.com/kb/TS1448?locale=da_DK
If your tuning up your Mac, you need to read all the tricks.
Step by Step to fix your Mac
Maybe you are looking for
-
Fetches more values into one variable
Hi, inside a cursor loop I'd like to assign, each fetch, a value to a variable, in order, at the end to have a collection of all the values fetched into the same variable. The code is the following: CREATE OR REPLACE procedure APPS.AAA as v_pino varc
-
like 2 weeks ago i called in to att to see how much is the data plan and it would end up costing $30. so i was like screw that. well they figured that i got a new phone replacing the LG shine. so they asked for to call this number so they can recieve
-
Solution Manager 4.0 Install Linux : UME phase 34 of 44 fails
I am trying to install Solution Manager 4.0 on Red Hat Enterprise 4 Linux with Oracle 10.2..... I am hung up at phase 34 of 44 of the installation where the UME is being set up...... I am running Java verion 1.4.2_12.... Any help is greatly appreciat
-
Web Services with Sun App Server
We are load testing a simple web service running in SJSAS 8.0 Standard. With 1 or 2 users concurrent it seems OK, but once we move up to 5 concurrent users calling the WS, the domain in SJSAS crashes. Does anyone have experience or information regard
-
I must not have been listening in class. My flash web page is http://www.countrysidebasketry.com When you select enter I want it to go to my Dreamweaver page (welcome.html) Do I make the enter a button then do my script as on(release) then what? Than