Example programs for creating plots
hi
I have two values say x and y.I had to create a plot using these values.Can i be suggested with some examples to do this.
Easy! Google for JFreeChart. I think www.jfree.org .
Similar Messages
-
Example program that creates downloadable spool
may you please provide me with an example program that creates downloadable spool (for reporting purposes) using function 'GET_PRINT_PARAMETERS'
Hi,
Check this,
https://forums.sdn.sap.com/click.jspa?searchID=5413366&messageID=869735
Thanks,
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada Galindo -
Program for creating a model is locked by User
Hi Guys,
We have created a process chain to create the Integration Model and to activate the Integration Model using this prg RIMODGEN. So, This prg we have created variants for different location wise. This process chain contains 13 processes For each location, which is running in parallel. Some time we are getting the error message " Program for creating a model is locked by User
RegardsDear Pullaiah,
Locking happens if there is any overlap of models or duplicate scheduling of jobs with same variant.
See include LCIFIF01
CALL FUNCTION 'ENQUEUE_ECIF_IMOD'
EXPORTING
mode_cif_imod = 'E'
modelname = i_modid
logsys = i_logsys
apoapp = i_appl
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
So this means for you, you get the lockentry if the modelname, logsys and apoapp is the same. So please check again your variants if there is one with the same integrationmodels.
This can be the only reason we you get here this entry in your joblog.
Regards,
Tibor -
Need an example program for function module
Hi ,
I am new to ABAP. Can you please give a simple example program to extract the data from a table using Function module.
Thanks for your help in advace.
Regards,
Vishnuhi vishnu,
See the following Sample Program;
REPORT demo_mod_tech_fb_read_spfli.
PARAMETERS carrier TYPE s_carr_id.
DATA: jtab TYPE spfli_tab,
wa LIKE LINE OF jtab.
CALL FUNCTION 'READ_SPFLI_INTO_TABLE'
EXPORTING
id = carrier
IMPORTING
itab = jtab
EXCEPTIONS
not_found = 1
OTHERS = 2.
CASE sy-subrc.
WHEN 1.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno.
WHEN 2.
MESSAGE e888(sabapdocu) with 'Error in function module'.
ENDCASE.
LOOP AT jtab INTO wa.
WRITE: / wa-carrid, wa-connid, wa-cityfrom, wa-cityto.
ENDLOOP.
Also you can find example programs for all in tcode ABAPDOCU in your SAP system itself, explore ABAPDOCU to find more sample programs....
Regards
Karthik D -
Sample Program for Creating ALV Tree
Hello Guys,
Can some One Send me some sample program for creating ALV Tree.
my Requirement is like below Diagram.
ALV Tree | ALV GrId
|
|
I want to also about event in ALV , As per requirement when user select (Double click or press any push button) a node of ALV Tree That Node (Contain Sales order and as a child billing Doc No) In the ALV Grid All the details about Sales order Will be display.
Please guide me.
Thanks
Swati....Hi..
check the following demo programs:
RSDEMO_DRAG_DROP_EDIT_TREE
RSDEMO_DRAG_DROP_TREE_MULTI
BCALV_GRID_DND_TREE
BCALV_GRID_DND_TREE_SIMPL
BCALV_TEST_COLUMN_TREE
BCALV_TEST_SIMPLE_TREE
BCALV_TREE_01
BCALV_TREE_02
BCALV_TREE_03
BCALV_TREE_04
BCALV_TREE_05
BCALV_TREE_06
BCALV_TREE_DEMO
BCALV_TREE_DND
BCALV_TREE_DND_MULTIPLE
BCALV_TREE_EVENT_RECEIVER
BCALV_TREE_EVENT_RECEIVER
BCALV_TREE_ITEMLAYOUT
BCALV_TREE_MOVE_NODE_TEST
BCALV_TREE_SIMPLE_DEMO
BCALV_TREE_VERIFY
hope this helps..
-kothai -
What is the best Adobe program for creating interactve iPad books?
I'm a graphics/media guy & and my mate is a children's book illustrator
working on a little 20 page interactve kids book for 2-6 years old, I'm looking for feedback
on what is the best Adobe program for creating interactve iPad books? and then extending
the material for other tablets. my findings so far.
- InDesign 6 - Best layout limited intractivity and issues with the folio builder
- Edge - HTML 5 BUT No Audio/Video
- Digital Publishing Suite the cost is just silly for the little guy
I welcome your thoughts and opinionsYou may also be interested in this project that we've launched on Kickstarter to export HTML5 directly from InDesign, so that your content can easily be viewed across devices:
http://www.kickstarter.com/projects/ajarproductions/indesign-to-html5 -
Need a perfect example program for ALV GRID LIST
first hi to all,i am new to this community.i am still in learning process of SAP.one of my friend suggeted this community and i think this is the perfect place to learn and excel my skill in SAP.so my requirement is a perfect example program for ALV GRID LIST DISPLAY.while i am trying another program,the sysntax is ok but i am not getting any output and it is not showing any error also.hope i will get an answer asap.thank you.
Check [OO ALV Guide Simple|http://wiki.sdn.sap.com/wiki/display/ABAP/OBJECTORIENTEDALV+Guide] and [Easy Reference to ALV|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907]
-
Example program for returninng and importing with value addition
HI ,
I want few example programs on how to use the abap oops with returning addition and importing with value addition as Im getting syntax error for the Program when Im declaring them with these additions
Thnaks .Hello,
This statement declares a general instance method meth. Use additions ABSTRACT and FINAL to make the method abstract or final.
The additions IMPORTING, EXPORTING and CHANGING define the parameter interface of the method. After every addition, the corresponding formal parameters are defined by a specification of the list parameters.
The other additions determine which exceptions the method can propagate or trigger and determine whether the method is abstract or final.
Note
Within a method, you can use the logical expression IS SUPPLIED to check whether an actual parameter was assigned to an optional formal parameter at the call.
Addition 1
... IMPORTING parameters PREFERRED PARAMETER p
Effect
IMPORTING defines input parameters. When calling the method, you need not specify an appropriate actual parameter for every non-optional input parameter. During the call, the content of the actual parameter is passed to the input parameter. The content of the input parameter - for which the reference transfer is defined - cannot be changed in the method.
Use PREFERRED PARAMETER to identify an input parameter p1 p2 ... of list parameters after IMPORTING as a preferred parameter. This specification makes sense only if all input parameters are optional. When calling the method with the syntax
CALL METHOD meth( a ).
the actual parameter a is assigned to the preferred parameter if you have appropriate use of a functional method at an operand position.
Addition 2
... EXPORTING parameters
Effect
EXPORTING defines output parameters. When calling the method, you can specify an appropriate actual parameter for every output parameter. The content of the output parameter - which is defined for value transfer - is passed to the actual parameter at the call after the method has been completed successfully.
Note
An output parameter that is defined for the reference transfer is not initialized when the method is called. Therefore, no read access to it should take place before the first write access.
Addition 3
... CHANGING parameters
Effect
CHANGING defines input/output parameters. When calling the method, you must specify an appropriate actual parameter for every non-optional input/output parameter. The content of the actual parameter is passed to the input/output parameter at the call, and after the method has been completed, the content of the input/output parameter is passed to the actual parameter.
Example
The method read_spfli_into_table of this example has an input and an output parameter, which are typed fully by reference to the ABAP Dictionary.
CLASS flights DEFINITION.
PUBLIC SECTION.
METHODS read_spfli_into_table
IMPORTING VALUE(id) TYPE spfli-carrid
EXPORTING flight_tab TYPE spfli_tab.
ENDCLASS.
Addition 4
... RAISING exc1 exc2 ...
Effect
Use addition RAISING to declare the class-based exceptions exc1 exc2 ... that can be propagated from the method to the caller.
For exc1 exc2 ..., you can specify all exception classes that are visible at this position and are subclasses of CX_STATIC_CHECK or CX_DYNAMIC_CHECK. You must specify the exception classes in ascending order corresponding to their inheritance hierarchy.
Exceptions of the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be declared explicitly, otherwise a propagation results in a violation of the interface. An interface violation results in a treatable exception CX_SY_NO_HANDLER. Exceptions of category CX_NO_CHECK are always implicitly declared.
Notes
The declaration of exceptions of category CX_STATIC_CHECK is checked statically at the syntax check. For exceptions of category CX_DYNAMIC_CHECK, the check is executed at runtime.
In a method in which class-based exceptions are declared with the addition RAISING, you cannot use the statement CATCH SYSTEM-EXCEPTIONS. Instead, handle the relevant treatable exceptions in a TRY control structure.
Example
In class math, you can propagate all exceptions represented by class CX_SY_ARITHMETIC_ERROR and its subclasses from within method divide_1_by. If, for example, the input parameter operand is filled at the call with the value 0, then the exception CX_SY_ZERODIVIDE is triggered, propagated, and can, as shown in the example, be handled by the caller in a TRY control structure.
CLASS math DEFINITION.
PUBLIC SECTION.
METHODS divide_1_by
IMPORTING operand TYPE I
EXPORTING result TYPE f
RAISING cx_sy_arithmetic_error.
ENDCLASS.
CLASS math IMPLEMENTATION.
METHOD divide_1_by.
result = 1 / operand.
ENDMETHOD.
ENDCLASS.
START-OF-SELECTION.
DATA oref TYPE REF TO math.
DATA exc TYPE REF TO cx_sy_arithmetic_error.
DATA res TYPE f.
DATA text TYPE string.
CREATE OBJECT oref.
TRY.
oref->divide_1_by( EXPORTING operand = 4
IMPORTING result = res ).
text = res.
CATCH cx_sy_arithmetic_error INTO exc.
text = exc->get_text( ).
ENDTRY.
MESSAGE text TYPE 'I'.
Addition 5
... EXCEPTIONS exc1 exc2 ...
Effect
Use addition EXCEPTIONS to define a list of non-class-based exceptions exc1 exc2..., which can be triggered with the statements RAISE or MESSAGE RAISING in the method. You specify identifiers exc1 exc2 ... for the exceptions to be defined at will and directly. Exceptions defined in this way are bound to the method - similar to formal parameters - and cannot be propagated.
If such an exception is triggered in a method and no return value has been assigned to it in the addition EXCEPTIONS of the CALL METHOD statement in the method call, then a runtime error occurs.
Note
The additions RAISING and EXCEPTIONS cannot be used simultaneously. For new developments starting at release 6.10, we recommend to use class-based exceptions, which are independent of the respective method.
Example
In the class math, for method divide_1_by an exception arith_error is defined, which is triggered in the method with the RAISE statement if an arithmetic error occurs. If, for example, the input parameter operand is filled with value 0 at the call, the exception arith_error is triggered in the method-internal handling of exception CX_SY_ZERODIVIDE and handled after the call of the method by evaluating sy-subrc.
CLASS math DEFINITION.
PUBLIC SECTION.
METHODS divide_1_by
IMPORTING operand TYPE I
EXPORTING result TYPE f
EXCEPTIONS arith_error.
ENDCLASS.
CLASS math IMPLEMENTATION.
METHOD divide_1_by.
TRY.
result = 1 / operand.
CATCH cx_sy_arithmetic_error.
RAISE arith_error.
ENDTRY.
ENDMETHOD.
ENDCLASS.
START-OF-SELECTION.
DATA res TYPE f.
DATA oref TYPE REF TO math.
CREATE OBJECT oref.
oref->divide_1_by( EXPORTING operand = 4
IMPORTING result = res
EXCEPTIONS arith_error = 4 ).
IF sy-subrc = 0.
WRITE res.
ELSE.
WRITE 'Arithmetic error!'.
ENDIF.
Regards. -
Authorization for Z Program for creating entries
I have created a dialog program to maintain employee details with menus Create, Change, Display
My concern is that i want to restrict some user for creating entries in database table through this dialog program those users only authorize to display data.
Please guide me how to do achieve above.
ThanksHi,
You can make use of the system variable sy-uname which holds the user logon name. Based on this u can decide whether to allow the user in edit mode or display mode.
Regards,
Naga Sai -
Programs for creating executable wrappers?
Hi there,
I am searching for good/free java-executable wrappers (programs that create a double-clickable executable which automatically searches for an appropriate JVM).
I already tried 2 opensource ones however both had problems with a non-standard jre setup :-(
It would be great if you could list all programs you know so that I can test all of them and maybe a short description what you think whats good.
This could become a list which would help other too searching for a list with comparison.
Thank you in advance, lg ClemensJSmooth
Launch4j
jstart32
exeJ
Janel
jstart
Roxes Ant Tasks Marner Java Launcher
jelude
the list is taken from this article:
" Convert Java to EXE: Why, When, When Not and How"
http://www.excelsior-usa.com/articles/java-to-exe.html
Denis -
Conversion Program for Creating Loan Contract
Hi,
Has anyone worked on a conversion program to create a Loan Contract?
I am trying to use a BAPI. Its BAPI_LOAN_CONTRACT_CREATE.
But the problem is this BAPI is not released by SAP yet.
Can I use a BAPI which is not released. If YES, then what are the problems I would be facing later. And if NO, then what is the solution to this?
Thanks.There are a lot of SAP notes for this BAPI, and none says "don't use it", so you should be fine. You could send a message to SAP pointing them to the unreleased status.
Thomas -
Please send example programs to create elements in struts dynamically
Please I need some example to understand how to
create dynamic elements(like option box,check,radio) using
<html:options> some thing like that.
If you have example programs please send it to my
id "[email protected]" or otherwise please suggest some
website where i get that knowledge ( or) send some materials
regarding ths.
Thanks in Advance..Your on the wrong forum. please post your questions to right forum
-
Is there an adobe -non coding needed- program for creating iPhone applications?
hi there,
i've been asking around for a program that i can create iphone applications with, and so far landed on xCode from apple,
i haven't tried it yet, but as far as i heard it needs coding, and as a designer i'm not fimiliar with coding languages...
need a simple, user friendly program to deal with, similar to adobe muse when it comes to designing websites.
i would much more prefer deal with an adobe program to create applications than an apple's...
is there one?i know one, a coder/programmer, but thought maybe there is program that will allow me to do the whole thing by myself,
specially when i found out about adobe muse, anyway, thanks a lot for the info.
wafa'a j. -
Standard program for creating outbound IDoc holding wbs+cost plan
Hello,
a)
Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
Kind regards
Viveka SchwartzHi Frank,
Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
Reg
Dsk
Edited by: DSk on Sep 14, 2010 3:44 PM -
Standard program for creating outbound IDoc including wbs + cost planning
Hello,
a)
Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
Kind regards
Viveka SchwartzHi Frank,
Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
Reg
Dsk
Edited by: DSk on Sep 14, 2010 3:44 PM
Maybe you are looking for
-
Hi all, the log of the BI_PROCESS_TRIGGER looks like - Job started - Step 001 started - Status F hal already been reported to instance.... - Job finished In the log of the Processchain in the rspc there is no log for this job. What tells me 'Status F
-
IPhone 2g won't boot up AT ALL ?!
I was going to charge my iphone on the dock, when i put it in the dock, suddenly, the screen goes all black. I hit the sleep button to boot it, but it won't boot. I tried the home button and the sleep button wont work. So went to apple.com for suppor
-
Itunes 6, "File Download-Security Warning" box keeps repeating
I am so frustrated and feel like a terrible mom. I tried to upgrade my son's itunes on his xp machine. I get as far as the windo that asks "Do you want to run or save this file." I click save and it seems to finish the "installation repair". I click
-
Entry In AP , AR , GL
What is the Entry in Oracle Apps AP,AR,GL for following Transations 1.One Pipe purchase at Rs.100 2.One Pipe Sales At Rs.150 Which account Afected , What is the journal entry What is the entry at respective module how many modules are afected through
-
Subcategory prob in PSE8 organizer
I was trying to create tags in my organizer. I'm using it for my digi scrapbook supplies. I created a Scrapbook tag and then under it I have several sub tags like color, paper, etc. It will not let me create any subcatagory tags under those however.