Business Graph customization in webdynpro
Hi,
How to provide description for data series in business graph?
in graph customization, i tried to edit data series. when i pressed enter and checked it again it showing same, as before editing it was.
like before editing it was 'Series1', i made it as 'Comp'. but after enter when i come out and checked it again, it is coming as 'Series'.
Regards
Vishnu Gupta
Hi Vishnu,
Can be more clear.
Do you want to change the label names for the series .
When you check the wdr_test_eevtns->BG_SIMPLE you can see the series as COFFEE and ESPRESSO being used and their lable names.
As per my undersatnding you want to change the header of the series ie(X-Axis Name/title). Is it so.
Please check out this links -
Re: Business Graphics Customizing
Dynamically changing Title in Business Graphs
Regards,
Lekha.
Similar Messages
-
Tooltip for each series of Business Graph in webdynpro
Hi Experts,
Here In the Business Graph of webdynpro, on x-axis am taking sales order&corresponding purchase orders on each day
and in the y-axis am taking Prices...Iam able to display successfully,Here the requirement is whenever the user place on
the peak point of the column(or tooltip of each series or at edge of the column either it is purchase order or sales order).We need to maintain
the sales order amount(if the column is sales order) or purchase order amount(if the column is purchse order)....
anyone could suggest me suitable solution for this...thanks in advance....OK! Its done! The solution does not help exact, but it gives my the way! With the coordinates of the MouseEvent I can get the Value of the current table row and set the ToolTip text new. Teh ToolTipManager automatically repaints the ToolTip whit the new text and position.
-
Hi
All
I have one requirement that i have to plott two curves in one GRAPH in ABAP WEBDYNPRO.
One curve shows standard baby growth in months on X-axis and height on Y-axis.On the same graph
i have to show particular baby growth on the same X-axis and height on Y-axis in another curve.
Please help me regarding this.
Thanks and regards
VenkateswarYou want to show Particular baby growth and standard baby growth on the same graph am i right?
I have a simple question for you.do you know how many babies are there during the design time?
if you dont know how many are there during the design time then you have to create the Serieses dynamically.
This is the code to create dynamic graph.
method wddomodifyview .
data:lr_graph type ref to cl_wd_business_graphics,
lr_cat type ref to cl_wd_category,
lr_series type ref to cl_wd_simple_series,
lr_container type ref to cl_wd_uielement_container,
lr_flow type ref to cl_wd_flow_data.
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_graph = cl_wd_business_graphics=>new_business_graphics(
* BACKGROUND_COLOR = BACKGROUND_COLOR
* BIND_CATEGORY_SOURCE = BIND_CATEGORY_SOURCE
* BIND_ENABLED = BIND_ENABLED
bind_series_source = 'SERIES'
* BIND_TOOLTIP = BIND_TOOLTIP
* BIND_VISIBLE = BIND_VISIBLE
chart_type =
cl_wd_business_graphics=>e_chart_type-columns
customizing = 'chart1.xml'
* DIMENSION = E_DIMENSION-TWO
* ENABLED = ABAP_TRUE
* FONT_FAMILY = FONT_FAMILY
height = 300
id = 'GRAPH2'
* IGS_URL = IGS_URL
* IMAGE_SOURCE = IMAGE_SOURCE
* MAP_SOURCE = MAP_SOURCE
* ON_ACTION = ON_ACTION
* TOOLTIP = TOOLTIP
* TRANSPARENT_COLOR = TRANSPARENT_COLOR
* VIEW = VIEW
* VISIBLE = E_VISIBLE-VISIBLE
* WIDTH = 300
lr_cat = cl_wd_category=>new_category(
bind_description = 'SERIES.COMP1.DESCRIPTION'
* BIND_EVENT_ID = BIND_EVENT_ID
* BIND_TOOLTIP = BIND_TOOLTIP
* EVENT_ID = EVENT_ID
id = 'CAT1'
* TOOLTIP = TOOLTIP
* VIEW = VIEW
lr_graph->set_category( the_category = lr_cat ).
lr_series = cl_wd_simple_series=>new_simple_series(
bind_value = 'SERIES.COMP1.COMPANY1'
* CUSTOMIZING_ID = CUSTOMIZING_ID
* EVENT_ID = EVENT_ID
id = 'SERIES1'
* LABEL = LABEL
* TOOLTIP = TOOLTIP
* VIEW = VIEW
lr_graph->add_series(
* INDEX = INDEX
the_series = lr_series
lr_flow = cl_wd_flow_data=>new_flow_data( element = lr_graph
lr_container->add_child( lr_graph ) .
endmethod.
To customize the chart
1. Create a chart through Chart desiner and save as XML file.
2. Import this XML into your Web Dynpro component through MIME.
also check this link to know how to create gragh
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81
Thanks
Suman -
IGS (Business Graphs) not working
Hi,
I want to create some business graphs in web dynpro java. for this I have configured IGS URL in Visual admin
I went to Server>Services>Configuration Adapter>webdynpro>sap.com>tcwddispwda>PropertySheetdefault.
than i clicked on IGSURL and added the following entry in the custom value field
http://servername.companyname.com:40080/ and I restarted the server, but even now its showing graphic rendering problem, graphs are not coming.
Also when I run this url ( http://server.companyname.com:40080/ ) in webbrowser its showing me SAP IGS is running.
Also, eveything is working fine in Portal Dev server with the above configuration, graphs are coming properly in Dev Portal server , but in Portal QA server graphs are not coming even after the above configuration.
So what could be the problem in Portal Qa server when graphs are coming properly in piortal Dev server with the above configuration.
please reply..Check the following link:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a552a4fb-0701-0010-4191-a55bbb6a9a2d?quicklink=index&overridelayout=true
Regards -
Business Graph Giving Dump.
Hello Experts,
I want to display some data in Business Graph . So i add the UI element in the view also created some node and attributes and bind it with the business graph properties (but not yet do any coding for fetching the data ). But after that while i am trying to run the application its giving me dump. The details of the dump is given below.
The following error text was processed in the system R3D : Exception condition "COMMUNICATION_ERROR" raised.
The error occurred on the application server AUSR3DEVDC02_R3D_00 and in the work process 4 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: EXECUTE of program CL_IGS_CHART_ENGINE===========CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CBUSINESS_GRAPHICS======CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP
Please advice if i missed something.
Thanks In Advance.
SatyaHave you checked the [Note 454042 - IGS: Installing and Configuring the IGS|https://websmp104.sap-ag.de/LOGIN]?
Also check the Thread [Exception Analysis|Re: /sap/bc/webdynpro/sap/ags_workcenter was not called due to an error; having same type of issue. -
Issue in Business graph with 3 dimension
Hi All,
I am facing an issue in displaying the business graph-Three dimensional using WD abap.
I have defined only one series and the series values are defined(2 series with 2 colors) in the XML and this was set to graph property customizing.
I am able to see the graph but each stacked column of the category in the graph is having X series colur even there is no value defined.
And on top of each stacked column category i am getting same X series color.
I dont want to show this color on top of every category and if there is no series defined it should not give X series color.
Please provide your inputs on this.If any one faced this kind of problem.
Regards,
Lavanya.GHi Bilal,
So the Sales_Value rule runs regardless of what rule you attach to the form?
How are you running the rule? Run on Save, or through a right click menu? Just by clicking the rule on the left?
Can you confirm that:
In the Administer Forms and Ad Hoc Grids screen, the "Production_Quantity" rule id definitely attached and that in the Properties tab, you have the correct box ticked for that rule (e.g. Run on Save etc).
Can you also make sure that the "Sales_Value" rule is NOT present in the form in the same screen?
Do you get the same results when you run via Smart View?
Have you deployed the application since you changed the form/Added the rule to the Form? -
ESS Customization in WebDynpro ABAP
Hi Friends,
We are working on ESS Customization in Webdynpro abap. we have an issue.
We have General Data webdynpro screen having some fields, same screen framework is using for Travel Request creation, expense creation, in some other screens. Now I would like to add some more fields in the screen for Travel request creation.
I need some parameter to differ which screen it is.
please help me which parameter will differ, otherwise give me code to fetch the iview name in webdynpro. with this I can differentiate the screens.
Regards,
Lakshmi Prasad.Hi Lakshmi Prasad,
Please cehck this to enhace TM.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07268c2-f61b-2e10-05a5-cd4bddfd1980
Cheers,
Kris. -
Problem in Business Graph - no chart in my graph
Hi ,
I have tried a scenario on Business Graph as per the below link.
http://****************/Tutorials/WebDynproABAP/Graphics/page4.htm
i am getting the values in table ,but there was no any chart inside my graph , whereas i can see the values along x - axis.
following is the code i have used.
METHOD ONACTIONGET_EMP_DETAILS .
WD_THIS->FIRE_TO_ALV_TABLE_PLG( ).
DATA LO_ND_EMPLOYEE TYPE REF TO IF_WD_CONTEXT_NODE.
DATA LO_EL_EMPLOYEE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LT_EMPLOYEE TYPE WD_THIS->ELEMENTS_EMP_DETAILS.
DATA LS_EMPLOYEE TYPE WD_THIS->ELEMENT_EMP_DETAILS.
navigate from <CONTEXT> to <EMPLOYEE> via lead selection
LO_ND_EMPLOYEE = WD_CONTEXT->GET_CHILD_NODE('EMP_DETAILS').
DATA LO_EL_CONTEXT TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LS_CONTEXT TYPE WD_THIS->ELEMENT_CONTEXT.
DATA LV_EMP_NO LIKE LS_CONTEXT-EMP_NO.
DATA LV_NUM TYPE I.
get element via lead selection
LO_EL_CONTEXT = WD_CONTEXT->GET_ELEMENT( ).
get single attribute
LO_EL_CONTEXT->GET_ATTRIBUTE(
EXPORTING
NAME = `EMP_NO`
IMPORTING
VALUE = LV_EMP_NO ).
SELECT ZASSIGNCOMP BEGDA ENDDA INTO CORRESPONDING FIELDS OF TABLE
LT_EMPLOYEE FROM PA9030 WHERE PERNR EQ LV_EMP_NO." AND ENDDA EQ '99991013'.
DESCRIBE TABLE LT_EMPLOYEE LINES LV_NUM.
LO_ND_EMPLOYEE->BIND_TABLE( LT_EMPLOYEE ).
DATA LO_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
LO_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
LO_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
DATA LO_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
LO_INTERFACECONTROLLER = WD_THIS->WD_CPIFC_ALV( ).
DATA LO_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
LO_VALUE = LO_INTERFACECONTROLLER->GET_MODEL( ).
Set Visible Row Count as 5
LO_VALUE->IF_SALV_WD_TABLE_SETTINGS~SET_VISIBLE_ROW_COUNT( LV_NUM ).
The Config Table Setting to Display Table & Business Graphics
DATA: L_REF_CONFIG_TABLE TYPE REF TO IF_SALV_WD_TABLE_SETTINGS,
L_DISPLAY_AS TYPE SALV_WD_CONSTANT VALUE '02'.
L_REF_CONFIG_TABLE ?= LO_VALUE.
L_REF_CONFIG_TABLE->SET_DISPLAY_AS( VALUE = L_DISPLAY_AS ).
ENDMETHOD.Hello Siva ,
Which node you have bind to the business graphics ui element ?
Which attribute you have used to for Series in business graphics ?
Regards
Vivek -
Hi,
I had a requirement that download the business graph to excel.Not as an internal table but as a graph.
Regards,
Vasavi.Having the same problem with Illustrator CS3. All Excel 3D graph/chart are individual shapes. Looks horrible.
Don't have Office 2003 installed. So sure if it only an Excel 2007 issue.
No problem with Excel 2004 on the Mac. -
Accessing Business Graphics using the WebDynpro API
I would like to access Business Graphics created with IGS using the WebDynpro Business Graphics API.
I have no problem displaying the graphic in WebDynpro UI, but i have no idea how to access the binary data of the graphic to work with it outside of WebDynpro UI (in fact i want to embed it into a PDF form).
Is there any possibility to do this using the WebDynpro API?
I would appreciate your help!
Regards,
ChristophThanks, but this al clear to me. I am able to display business graphics on web without problem (I have dynamic Business Graphic in my WebDynpro User Interface).
The Problem is, that i want to make further processing with the graphic. Therefore i need to access the binary data of the graphic.
Do you know if there is any possibility to get the binary data of the bmp - image generated by IGS into a byte array? -
Display SAP's Business Worklplace with Abap WebDynpro
Hi,
is it possible to display SAP's Business Worklplace with Abap WebDynpro ?
There is a customer req. The person would like check his emails etc.
Regards
AlexanderHello,
You cannot put SAP GUI applications/transactions into a web dynpro component.
But you could build your own custom WD component. It isn't that hard to get the work items from your business workplace to be displayed in a custom application. Check the function modules GETINBOX (or there might be possibly something starting with SAP_WAPI* - SAP_WAPI-starting functions are the standard workflow API functions). Basically you just give for the function the user ID and it will return you the list of items the user is having in his business workplace. Then there are useful functions in SAP_WAPI* to for example display the work item description, etc.
I am not sure how you can get the notifications (="emails") from business workplace, but I would imagine that there is some function you can use similarly and it shouldn't be that hard.
Of course, if you have Portal, you should definately take UWL into account. With UWL you will already have a standard web-enabled workplace (it has basically all the same functionalitites as Business Workplace.) From UWL you can even launch the same SAP GUI transactions that you are currently launching from the tasks in workplace. It is purely an configuration issue.
Regards,
Karri -
Hi,
I am new to EP and working on Business Card customization. I have few queries. Could you please help me to get it resolved?
1. Wanted to open Default email client, when user clicks on "Send Email" link on the business card. I understand, it is possible using emailto protocol.
2. How do I open Calendar (one in Default email client), when user clicks on "Create Appointment" link on the business card.
3. How can I bring, Organizational Unit attribute which is present in LDAP into Company tab?
Your help would be appreciated! Thanks!
Cheers,
KabaliHi,
Please see the below link.
[http://www.messagingtalk.org/matching-outlooks-calendar-week-numbers-to-sap]
Regards
Krishna -
Saving or Printing a Business Graph
Hi Experts,
I am very new to Business Graphs. I have an requirement of saving/printing a business graph which is plot from some int. table data.
Is that possible to save/ print a graph from application?
Is it possible to copy a graph and save it on our Desktop?
Please reply asap.
Thanks,
RunalHi Guys
Not sure on this, just went thru the BW_IGS_CHART_TEST report program. Place in the reports source code, where you display the IGS graph in html control, we actually right HTML Source. You can extend that part to include JavaScipt and also create a PRINT button. Onclick action of this HTML Button can invoke the Browser print.
Check how to do in java script
[http://javascript.about.com/library/blprint.htm]
Greetings
Prashant -
How to work in Business Graphies (Internet Graphics Server)
Hi Friends
I have some help
1. How to work in Business Graphies.
2. How to Configuration IGS (Internet Graphics Server)
3. How to Increase and decrease that u201CBarcodesu201D depending on our Customer details.
Like Business Application. Once Business Profit has high that time u201CBarcodesu201D also Increase where as Once Business Profit has low that time u201CBarcodesu201D also decreases.
Can u tell me?
Regards
Vijay KalluriHi Vijay,
Refer the below links, can give you a fair idea about using Business Graphics in Portal (WDJ/WDA).
Using Business Graphics
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3261cd90-0201-0010-268c-d8d72e358af6?quicklink=index&overridelayout=true
How to Create Business Graphics in Web Dynpro for ABAP
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81
Introduction to Web Dynpro Business Graphics in SAP
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/717cae90-0201-0010-a5a4-bbc6713f3779?quicklink=events&overridelayout=true
Web Dynpro - Using the Internet Graphics Server in Web Dynpro Java
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50c7a90f-21a3-2910-87b5-e1f0e39462ae?quicklink=index&overridelayout=true
Business Graphics in WD Java Demo
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/203df40b-6c7a-2a10-418d-99f87d32d3ca&overridelayout=true
Check the below URL if your IGS configured or not:
http://<hostname>:4XX80/
this should result in 'SAP IGS is running' on browser.
Thanks,
MS -
SRM Business Package built on Webdynpro java or webdynpro ABAP
Hi
Any can please clarify. Like ESS/MSS and MDM business packages are built on java webdynpro, But SRM Business packages are built on which technology like java webdynpro or ABAP webdynpro? Please clarify it.
Also clarify following questions?
How to configure the SRM BP in Portal ?(Is it same as ESS/MSS ?)
How to customize the Standard SRM BP?
thanks
vijayJay,
thanks for the quick reqply. since SRM7.0 is built on Webdynpro ABAP. Even SRM50 BP is built on ABAP webdynpro or java webdynpro. Please clarify it.
Can you forward the help link related to SRM.0BP and SRM7.0.
Thanks
Maybe you are looking for
-
I want to download specific music to my IPad so I can access it off line. I have iOS 8 on my Mac mini and my pad. The artists, albums and playlists I have selected to sync on my Mac mini do not show up on my iPad. I am involved in international vo
-
Sound Button Not Working (partially)
I just bought New Ipad, Model MD510ZP wit OS version 6.0.1. The probem is I can increase the sound using side button but it doesn't work other way, means I cannot decrease sound using the same button. Could it be a hardware fault. If yes can I clai
-
DefaultTableCellRenderer + html in cell = wrong selection
Hi All - I may have found a bug, but I want to know if I am missing something. If I extend DefaultTableCellRenderer, override the getTableCellRendererComponent method and use any html in my cell text, then the cell to the right is always selected whe
-
Major JFSL Bug with addNewText
If I make a JSFL file with this in it and run it using Run Command..., it works: fl.getDocumentDOM().addNewText({left:10, top:10, right: 100, bottom:30}); fl.getDocumentDOM().setTextString("Hello World"); If I make a WindowSWF panel with the same thi
-
Hi, I found a problem when using t-code ME2O.Normally, I used the function of u201Cpost goods issueu201D within t-code ME2O, we neednu2019t to input the u201CShipping pointu201D (And there is not the field on the popup screen of Post goods issue), bu