Possible to generate graphics dynamically using ABAP?
Hello friends,
It is possible to generate graphics dynamically using ABAP as programming language? In the same line like SVG (Scalable Vector Graphics) or ChartDirector?
Output of this abap program should be a picture.
Daniel
Hi Daniel,
Have a look at URL
http://help.sap.com/saphelp_nw04/helpdata/en/0c/5c55a8d0a611d2963100a0c9308b1f/content.htm
Also have a look at SGRB Package/deveoplment class.
Thanks
Lakshman
Message was edited by: Lakshman Tandra
Similar Messages
-
Can a transaction be called in background dynamically using ABAP program??
Hi Experts,
Can a transaction be called in background dynamically using ABAP program without BDC???
Regards,
Mansi.u can create job dynamically through programming..Try this sample code..
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
Insert process into job
SUBMIT zreport and return << Here it is a static call but u can make it dynamic
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif.
Regards,
JOy. -
Possible to generate graphics within smart forms dynamically like SVG ?
Hello,
I would like to generate a graphic for a smart form. This graphic will only be needed in the smart form. Therefore my question:
It is <b>possible to generate dynamically graphics using ABAP</b> as programming language? In the same line like SVG (Scalable Vector Graphics) or ChartDirector? I know it works in many other programming languages.
Smart forms can handle *.bmp and *.tif picutres. Therefore the output of this ABAP program should be a picutre within the format *.bmp and *.tif.
DanielWelcome to SDN,
I am not sure whether you can use SVG in smart form, but certainly in ABAP yes. check out the following atricle for more info.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to generate and display svg graphics in abap,%20Part%201.article
Regards
Raja -
Generating a report using ABAP query
Hi All,
I want to generate a anlytical report using ABAP query, There are 3 different transactions/steps have to be executed to get this data in an actionable form.
1. MB52 - Unrestricted Stock
2. ZCustomquery - Custom query in SAP R3
3. Combine above two in a single report.
Please suggest me how can i proceed,
1. Example i have created query name called Finalrepot
2. How can i call above zcustomquery and Transaction (MB52) in the Query.
Thanks for your help
PradeepHi,
Check below link to create ABAP query (SAP Query)
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
Best regards,
Brijesh -
DMEE tree:it's possible to generate more files using one DMEE format tree?
Hello Expert,
I have a question and i need you help.
It's possible to generate two files with one DMEE format tree? If yes, how can i do it?
Thank you in advance.
AmalIn DMEE we define the structure ie the kind of feilds that needs to be populated.As far as my knowledge I think one DMEE tree can be used to create one file FORMAT
Thanks,
K.Kiran. -
How to generate reportdesign dynamically using java with out xml file
hi
how can i generate a reportdesign dynamically using java with out passing xml file to jasperDesign , i want to create my reportdesign with out xml file
how can i ,please help
thanksLiveCycle does provide a Java API to forms; LiveCycle is in fact a suite of programs, mostly enterprise level for running on server (next to which the cost of the master suite is a drop in the ocean). LiveCycle Designer is perhaps the only end user tool, and it is not for server use and doesn't have an API.
Are you looking for a server solution? If so, nothing in the master suite can help, it isn't for server use. -
Generate graphics dynamically in reports
Hi,
does anybody know how to generate dynamically produce graphics in reports 6 or 6i version....if so where can i find the information about it.
please help me out...
thanks,
kk.Hi, Ram,
No, that's a fundamental difference betwwen rows and columns in SQL. What rows appear in the output of a query is goverened by what data is found, but the columns all have to be hard-coded into the query.
One thing you can do is Dynamic SQL , where you run a query, and then use the output in constructing another SQL statement. The output of the preliminary query may be 365 rows, which become 365 lines defining 365 columns in the main query.
See [this thread|http://forums.oracle.com/forums/message.jspa?messageID=3227306] for an example of doing dynamic SQL in SQL*Plus.
If you'd like help, post a little sample data (CREATE TABLE and INSERT statements), and the results you'd like from that data.
Simplify as much as you can. For example, post an example that has 3 columns, but explain that in your real application you'll need 365.
Edited by: Frank Kulash on Feb 10, 2010 3:39 PM
Somehow, the link above isn't displaying properly.
The Dynamic SQL example is at:
Help for a query to add columns -
Generating execl dynamically using HSSF POI API
I am dynamically generating an excel report from a java servlet using the hssf poi api. However, unless I manually close a previoulsy generated excel window, the excel report content is not updated with new data when a new report is run. The previously generated data remains in the excel window. Does any one know how I can either shut down the open excel application window programmatically or ensure that the data is updated with each report run. Thanks.
That's native OS problem. Once excel opened a file(even for reading) you can't write to it using other program like your servlet. So close the file before writing, or simply write to different file name.
-
How to Generate graphical Layout using XML
Hi,
I am developing a small application in java swing component. I want to use xml for layout generation. I have defined some attribute like textbox, label, textarea, image. but when the code is reading from java class. it is giving me some text only on the basis of their attribute. but I want to browse the xml which automatically generates the graphical layout. please let me know if there is any help related to this post.
I am looking for help to do this. If there is any api to do this please let me know.
Thanks in advance
Manveer SinghModerator advice: Don't double post the same question. Your other thread in Java 2D has been removed.
Moderator action: Moved from General XML
db -
Pre fill listbox/dropdown dynamicly using ABAP
Hi,
im working with HCM Processing & Forms, using the methods provided standard by SAP, and im trying to get a certain Binding(the dropdown) filled dynamicly.
Ive tried looking for this on the internet/sdn but i cant seem to find anything usefull.
Can anyone point me to a howto, an example or anything usefull?
Thx in advance.
Edited by: R. v. d. Voorden on Jun 17, 2011 1:42 PMTo prefill a drop down you can use GET_HELP_VALUES method of generic service. Here you
need to fill HELP_DATASETS parameter. Certain SAP classes like CL_HRASR00_GS_MGRS_POSITIONS show
how to fill HELP_DATASETS, here they have used INITIALIZE method. Also in the form scenario you need
maintain INPUT HELP with generic service name.
Thanks,
Aravind -
Is it possible to create a "daemon" using ABAP?
Hellos SAPients!
How can I create a kind of "permanently running program" in ABAP? Is it possible? Any idea will be greatly appreciated.
Thanks!Ricardo Fernández Vázquez wrote:
> Hellos SAPients!
>
> How can I create a kind of "permanently running program" in ABAP? Is it possible? Any idea will be greatly appreciated.
>
> Thanks!
You dont need to create a "permanently running program", but just create a program
and schedule a background job from SM36 which runs according to your requirement. -
I am looking to generate a PWM signal and I have done so using Veristand and a 9474 in a CRio. There is an option in the Veristand System Explorer, when the 9474 is selected, labeled 'Specialty Digital Settings' and gives a PWM option. However I now have a 9474 in an EtherCAT slave and the 'Specialty Digital Settings' no longer appears in the Veristand System Explorer. I am somewhat new to using Veristand and have little to no LabView experience, and I am looking for a way to do this without creating a custom FPGA with LabView.
Thanks!Hi PMC_NIU,
Unfortunately, the Specialty Digital mode is not supported by the EtherCAT chassis. However, creating an FPGA VI to create a PWM signal is relatively easy, and there are a lot of examples that can help you get started. The Developing a PWM Interface using LabVIEW FPGA tutorial is a great place to start.
Jayme W.
Applications Engineer
National Instruments -
Changing physical path in FILE TCODE using ABAP CODE
Hi all ,
I want to change physical path linked to logical path in TCODE FILE dynamically using ABAP program. Is it possible.
If yes then how?
Thanks for your help.
Regards,
Uday.s
-
Hi All,
Is it possible to build a dynamic using clause in execute immediate command.
EXECUTE IMMEDIATE <dynamic query> USING <dynamic clause>;
If not, is there any alteranate approach there?
Regards
Swaminathan"there is no such thing as a dynamically generated USING clause."
Ask Tom &quot;Returning cursor from stored procedure u...&quot;
Tom's referring to the following approach as an alternive: http://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:1288401763279 -
Dynamic USING clause in execute immediate
Hi All,
Is it possible to build a dynamic using clause in execute immediate command.
EXECUTE IMMEDIATE <dynamic query> USING <dynamic clause>;
Rgrds,
Nitin.Hi,
The problem is I have a query in which in some scenarios I want just one column in where clause, in other scenario I need 2 columns in the where clause.
So I would have to write 2 different queries.
execute immediate 'SELECT 1 FROM DUAL WHERE 1 = :bind1' into a using 1;
execute immediate 'SELECT 1 FROM DUAL WHERE 1 = :bind1 AND 2 = :bind2' into a using 1, 2;
Is there any way I can achieve this in a single query like:
dynamic_using_str varchar2(100);
dynamic_using_str := '1';
execute immediate 'SELECT 1 FROM DUAL WHERE 1 = :bind1' into a using dynamic_using_str;
dynamic_using_str := '1, 2';
execute immediate 'SELECT 1 FROM DUAL WHERE 1 = :bind1 AND 2 = :bind2' into a using dynamic_using_str;
~Nitin.
Edited by: user13060845 on Apr 30, 2010 12:29 PM
Maybe you are looking for
-
Select query problem in JDBC sender adapter
Hello Experts, We have a problem with PI sender adapter that PI has started to miss records in database some database records are missing and we are using the below selet query : SELECT * FROM [database name].[dbo].[Material_Movement] WHERE [Process_
-
LMS 2.6 (windows) RME db appear empty.
Hello. I am trying to get a device inventory from RME, but don't appear devices. When launch job appear the following message: Problem with File /WEB-INF/screens/deviceselector/DeviceFilter.jsp!!!URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!"
-
We are currently running P6 (Release 8.1.2.6). It runs in a LINUX environment using IE8 with JRE 24. Ever since our deployment, we have continued to experience user timeouts. The issue has finally reached critical mass with our user base and manageme
-
JAG error: duplicate definition of class
Hi, When I run the JAG it adds duplicate class definitions to my JPR file. For example: Error(21,8): duplicate definition of class ky.gov.pwdwo.model.bc4j.handler.PwdWorkOrderHandlerImpl I can compile and run the application after I remove the duplic
-
Flashback query gives an error
We're on version 10.1.0.4, having upgraded from 10.1.0.3, and Flashback Query stopped working: SQL> create table test_flashback (d date); Table created. SQL> begin 2 for i in 1 .. 10 3 loop 4 insert into test_flashback values (sysdat