Data is not displaying using ABAP WebDynPro
Hi,
Thanks in Advance.
I am trying to get the data of field AUFNR and KTEXT from AUFK table into Layout.
These are the attributes of Change Node
Node Name PROD_ORDER
Interface Node : No
Input Element (Ext.) : No
Dictionary structure AUFK
Cardinality : 0..n
Selection : 0..1
Init. Lead Selection : Yes
Singleton : No
Supply Function
Mapping Path
Method :
I have written the following code to fetch the data from AUFK table
method WDDOINIT .
Data: it_AUFK type standard table of AUFK,
context_node type ref to if_wd_context_node.
select AUFNR KTEXT from AUFK INTO table it_AUFK.
if sy-subrc eq 0.
context_node = wd_context->get_child_node( name = 'PROD_ORDER').
context_node->bind_table( it_AUFK ).
endif.
endmethod.
There is no syntax error and getting activated. But while testing no data or even column is displaying into browser. It is blank page.
Am not sure where I am wrong. Please assist me.
Thanks
Hi ,
Check this for testing purpose :
Afer you have binded the internal table to the node , check if node has some vlaues in it or not :
Use this code to get the data of node into an internal table and see if the node is getting populating with data or not :
DATA lo_nd_cn_table TYPE REF TO if_wd_context_node.
DATA lo_el_cn_table TYPE REF TO if_wd_context_element.
DATA ls_cn_table TYPE wd_this->element_cn_table.
DATA it_table TYPE wd_this->elements_cn_table.
* navigate from <CONTEXT> to <CN_TABLE> via lead selection
lo_nd_cn_table = wd_context->get_child_node( name = wd_this->wdctx_cn_table ).
*lo_nd_cn_table->get_static_attributes_table( IMPORTING table = lt_table).*
<CN_table is my node binded to table.>
Similar Messages
-
Header information not displaying in ABAP Webdynpro record working time
1. I am not seeing the header information, personnel number, name, cost center, on the ABAP Webdynpro record working time timesheet. When I run the timesheet profile in CAT2 the header contains the personnel number, name, cost center, but these do not display when the ABAP Webdynpro timesheet is run
2. Is there a version of the ABAP webdynpro timesheet that prompts for the personnel number, date and profile prior to executing the timesheet? I want to define an ESS link for managers to update timesheets of individual teammates. The teammate do not necessarily have to be their direct reportsHi David,
CATS Webdynpro application is a OIF fpm. Please check if you have performed the FPM IDR configuration properly.
In standard, the ESS CATS does not prompt for the personnel number except in CE scenario. In MSS addon, you have an option to launch the ESS CATS application on-behalf of the employee. Please refer to the sap library documentation.
Hope this helps,
Regards,
Roy -
Image UI element is not displayed in Abap webdynpro application
Hi Experts,
I need your advice on below issue.
I have created new ABAP Webdynpro application just to
display employee photo.
When loading the application, I generated a dynamic URL for
a image in webdynpro application path in cache to map to Image UI Element. It
is working well in DEV and QA environment. But it is not displaying when loaded
in PRD system.
Please suggest where to check the cache properties in system
in order to resolve this issue.
The user can access the application path, is there any chance for security issue in the same path?
I suspect the URL is cleared before user access it, can it be controlled via any config?
Looking forward for your valuable inputs.
Thanks,
SwethaHI Swetha,
Maybe the image is not present in MIME repository for the PRD system.
Please check.
Regards,
Hancila -
Numeric data is not displayed in BI Publisher 11g report
Hi,
I'm using Oracle BI 11g (11.1.1.6.0).
I'm experiencing a serious issue with numeric data in reports created with Publisher.
When I define the query in the data model, numeric data gets declared as "integer" (even if it should be "double"). Anyway, when creating the layout all data is correctly shown.
The issue emerges when I run the report in interactive mode: numeric data is not displayed at all.
If I run it in HTML mode or other, I get proper results.
I tried to explicitly CAST numeric data in the query to number(21, 6) but I get no different result.
Any help or suggestion is warmly welcome.
Thanks,
CristinaYes, assuming that you are using the Standalone version, following are some excerpt from user guide.
10g see Oracle® Business Intelligence Publisher
Report Designer's Guide
Release 10.1.3.4
Part No. E12187-01
Chapter 6 Building a Data Template
Supported Column Types
CLOB (conditionally supported)
The CLOB must contain text or XML. Data cannot be escaped inside the CLOB column.
And for 11g see
Oracle® Fusion Middleware
Data Modeling Guide for Oracle Business Intelligence Publisher
Release 11g (11.1.1)
Part No. E18862-01
Chapter 3 Creating Data Sets
Using Data Stored as a Character Large Object (CLOB) in a Data Model
BI Publisher supports using data stored as a character large object (CLOB) data type in
your data models. This feature enables you to use XML data generated by a separate
process and stored in your database as input to a BI Publisher data model.
Use the Query Builder to retrieve the column in your SQL query, then use the data
model editor to specify how you want the data structured. When the data model is
executed, the data engine can structure the data either as:
• a plain character set within an XML tag name that can be displayed in a report (for
example, an Item Description)
• structured XML
Cheers,
ND -
Korean data is not displaying in BI system
Hello BI Experts,
Do you have any idea or some settings in BI system as korean data is not displaying in BI ODS, while source system in correct data. Korean data is displaying # value in PSA and ODS.
Thanks,
Sapnahi,
as mentioned in earlier post ,you need to have your system unicode enabled,
check in menu -> system->status...in your BW system field called unicode system
Also try running program program RSCPINST - which is used to set the language setting to load the data.
if the chain language setting is not maintianed for loading :
click on Add button ->Key :KO and Language :korean->save it
try to load the data again and check it
hope it helps
regards
laksh -
Displaying both ABAP webdynpro and Java Webdynpro tasks in the UWL
Hi,
We have two an issue when trying to get the UWL to process two different types of workflow tasks : ABAP webdynpro and Java webdynpro.
Examples of these tasks are:
TS12300097 u2013 LeaveRequestApprover u2013 Java Webdynpro
TS17900100 - ASR_PROCESS_EXECUTE u2013 ABAP webdynpro
We have two backend systems configured
SAP_ECC_Financials u2013 This has the WAS host pointing to the java stack (xxx:50000)
SAP_ECC_Workflow u2013 This has the WAS host pointing to the ABAP stack (xxx.80xx)
In transaction SWFVISU all the tasks which use Java webdynpro have been configured to use the u2018Javau2019system (SAP_ECC_Financials) using the SYSTEM_ALIAS parameter
In the UWL configuration the system SAP_ECC_Workflow has been registered
In addition to this all u2018Javau2019 tasks have had an extra UWl config XML created to ensure that the SYSTEM_ALIAS is set to SAP_ECC_Financials
The system SAP_ECC_Workflow has been re-registered
The UWL cache has been cleared
However when we try to launch the java webdynpro tasks the system is trying to access the ABAP stack (It is still trying to access the Web AS location for the system SAP_ECC_Workflow even though the system alias was specified as SAP_ECC_Financials )
The ABAP webdynpro tasks (in this case a HCM process and form) are launched correctly
If we try the reverse (i.e register the Java system SAP_ECC_Financials and change the SYSTEM_ALIAS parameter for the ABAP webdynpro tasks to system SAP_ECC_Workflow) then the reverse happens. The java tasks can be launched and the ABAP tasks cannot.
Does anyone have a solution to this problem. Surely other people have implemented both ABAP and Java webdynpro workflows?
Any help much appreciated
AndrewThanks a lot for all your replies..
The workitem type registration has been done already, but still it doesn't work..
But here is the actual problem...
There is a link 'Execute Workitem' in the inbox of the approver, or the second level manager...
In the leave application, when we click on this link it is taking to the portal as the task is the Webdynpro Java application task. Whereas, when using ABAP webdynpro application task, it is taking to R/3 - which means that the user cannot access this link without R/3 access. The users are given only portal access, they don't have access to backend R/3.
The requirement is that the link has to take the user to portal directly instead of R/3 - i.e it should ask only for the portal id and password.
Since it was working fine with leave application, I changed the task to Java webdynpro task, but I think the Java Webdynpro application is not deployed in the server.
Please can anybody suggest.
Best Regards,
Sushmitha -
Navigational Attribute data is not display in Cube level and reporting
Hello ALL
Iam facing a problem like,I created Navigational attribute and I selected that navigational attribute in cube level also but data is not display in cube level.
What will be the problem?Pl help me out.
regards
balajiHi Dinesh
You mean base characteristic means loading data after creating Navigational attribute?Is it this way,(orelse can u tell me about this base characterstic)
Yes after making that particular attribute as a navigational attribute I loaded data in master data tables.
How to run Attribute change run?can u give me steps
regards
balaji -
Phone is using data when not in use. How do I make it stop?
My iPhone 4S is using data when not in use. Any thoughts on how to make it stop?
Hello Oakleymp
You could always turn off cellular data in Settings to get it to stop using data while it is on standby. Another option to troubleshoot the issues is to reset all settings, go to Settings > General >Reset > Reset All Settings.
iOS: About the Cellular Data setting
http://support.apple.com/kb/HT4203
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
The padlock icon shown when entering secure sites using Firefox 3.x is not displayed using Firefox 4.
It has been changed. Please read this article:
https://support.mozilla.com/en-US/kb/Site%20Identity%20Button
You can use this add-on to get the classic icon back:
https://addons.mozilla.org/en-US/firefox/addon/padlock-icon/ -
How to create a view to display Multiple lines of Text using ABAP WebDynpro
Hi,
I need to create a static view page in ABAP WebDynpro that displays Static text data in multiple paragraphs. I tried to use textview, formatted text, text edit controls by binding the textcontrol to a text object that is created in so10, but the output I am getting is only one line and the character count is limited to 60 to 65 characters.
I would like to know which control needs to be used in ABAP Webdynpro to get multiple lines displayed with text formatting like Paragraph, Indenting and Size.....
Thanks for your time!
Madhavi.Find the sample codes:
data sapscript_lines type tlinetab.
data sapscript_lines1 type tlinetab.
data sapscript_tline type tline.
data sapscript_head type thead.
data text type string.
data formatted_text type ref to cl_wd_formatted_text.
call function 'DOCU_GET'
EXPORTING
id = 'TX'
langu = 'D' "Germany language
object = 'WDR_TEST_HELP_EXP1'
IMPORTING
head = sapscript_head
TABLES
line = sapscript_lines
EXCEPTIONS
no_docu_on_screen = 1
no_docu_self_def = 2
no_docu_temp = 3
ret_code = 4
others = 5.
if sy-subrc <> 0.
text = space.
endif.
formatted_text = cl_wd_formatted_text=>create_from_sapscript(
sapscript_head = sapscript_head
sapscript_lines = sapscript_lines
" set it into the context
if Not ( formatted_text is initial ).
wd_context->set_attribute(
name = 'FORMATTED'
value = formatted_text->m_xml_text ).
endif.
clear sapscript_head.
clear sapscript_lines.
*Get the text created by SO10
CALL FUNCTION 'READ_TEXT_INLINE'
EXPORTING
ID = 'ST'
INLINE_COUNT = 1
LANGUAGE = 'E' "English language
NAME = '85XX_FOOTER'
OBJECT = 'TEXT'
LOCAL_CAT = ' '
IMPORTING
HEADER = sapscript_head
TABLES
INLINES = sapscript_lines1
LINES = sapscript_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
OTHERS = 7
formatted_text = cl_wd_formatted_text=>create_from_sapscript(
sapscript_head = sapscript_head
sapscript_lines = sapscript_lines
" set it into the context
if Not ( formatted_text is initial ).
wd_context->set_attribute(
name = 'FORMATTED1'
value = formatted_text->m_xml_text ).
endif. -
How to display HTML files using ABAP Webdynpro?
Hi,
I have a html index file and a bunch of other files accessed by the index file in a specific directory on the SAP server. I'd like to display the index file via ABAP webdynpro and allow the users to click on what they need to see. How can I achieve this using utilizing the ABAP webdynpro technology ?
Thanks!Hi Thomas,
Thanks for taking the time to answer my question.
I have the main html file and all other files needed by the main file in one directory on the application layer of SAP. I'd like to provide the user with a link, by clicking on which they should be able to get to the main html file using the browser. This is just a standalone application.
I can try the approach using BSPs, however, I'm new to that area. Could you point me in the right direction to get started? -
Displaying "N/A" in report fields where Number data is not valid using a formatting formula
Post Author: Horizon57
CA Forum: General
I have many reports which are populated by "Number" data. However, there are certain charts and tables where the number data is not appropriate and the summation of such data does not add value to the report. In these instances I would like to display "N/A", however the formula I am using keeps giving me an error that I need to use a "Number" data type. Please note this is a formatting formula.
Formatting Formula
DO{TREND.EPTP1} = 'N/A' AND{TREND.EPTP2} = 'N/A' AND{@Trend %} = 'N/A' WHILE {TREND.POS2} = 'TOTAL';
Can anyone assist me with displaying "N/A"?Post Author: V361
CA Forum: General
Try this
DOtotext ( {TREND.EPTP1} ) = 'N/A' ANDtotext ( {TREND.EPTP2} ) = 'N/A' ANDtotext ( {@Trend %} ) = 'N/A' WHILE {TREND.POS2} = 'TOTAL'; -
TABLE DATA in PDF FORM Through ABAP WEBDYNPRO
Hi Friends,
I have to Populate SAP TABLE like MARA,VBRK table into PDF form throught ABAP Webdynpro.
Can you send STEP by STEP Example Doc.
Thanks In Advance.
Gautam.Hi,
To display the Table in the Adobe Form you must create a WebDynpro Context.
In WebDynpro Context, in the main node create another node like A1 with cardinality 0..n and in this node create attributes FIELD1 and FIELD2 and so on.
Now goto method and in that method using code wizard read the node A1.
And use the below code snippet sample in your program, i.e. code this under respective method of the webdynpro.
*Declare the TYPES
TYPES : BEGIN OF TY_TABLE,
FIELD1 TYPE SOMETYPE,
FIELD2 TYPE SOMETYPE,
END OF TY_TABLE.
*Define Internal Table and work area.
DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0.
SELECT FIELD1 FIELD2 FROM TABLENAME INTO TABLE IT_TABLE.
lr_node_info->bind_table( IT_TABLE ).
And now goto Layout and give the TemplateSource and after that it asks for the interface name fill on that and select the relevant context. Now the LiveCycle Designer opens. There goto DataView pallette, there you can see the context of the webdynpro, now you simply drag and drop that table, a table is being created in the Layout Designer.
Regards
Pradeep Goli -
Debugger Problem: Full data is not displayed in the fields of the ITAB
Hi Guys,
I am having a problem related to ABAP Debugger. Data is not fully displayed in all the field of the internal table. I am using SAPGUI 640 with ECC6. In the debugger I have increased the width (size) of the column but still data is not fully displayed.
Below is the example:
*Actual Data* *Displayed As*
1141 11...
P42X13 P...
Testing Tes...
When I bring the curson on the displayed incomplete data, the full data is shown in small popup window.
I have increase the size of the column but still it is not showing the complete data.
I have to download the internal table data to an excel spreadsheet to view the complete data.
Please help.
Thanks,
miniI cannot use SAPGUI 710 as my company is not upgrading it to 710. We have to live with 640 for now.
SAPGUI details are as follows:
Name............: saplgpad.exe
Description.....: SAP Logon Pad for Windows
Product version.: 640 Final Release
File version....: 6405.5.21.1020
Build number....: 855417
Please help if you can. This is very frustrating.
Thanks. -
Date can not display correctly in excel from .jsp
Hi,
I create a .jsp report to export the data to excel. the report run OK, except the date field can not display correctly.
for example in database :start date ='01-oct-2003'
in the except it displays to 02/06/02.
It seem all the date field can not be control in the report, and control by somthing else
Doese anyone come accross this problem?
ThanksHi Rong,
Are you using the following demonstration to build your JSP?
http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
(Output to Excel with Oracle9i Report)
I tried to do the same, and inserted a database date field in the JSP using Reports. I found the following:
While making the template inside Excel, if I make sure that the format of the date cells is "Date" - some particular date format, the date field values from Reports does not get exported correctly.
However, if you make sure that inside the template, the format of the date cells is not date, but "General", then the date field values are correctly exported to Excel.
Pl try it and let us know.
Navneet.
Maybe you are looking for
-
Use the value of a field as column-name of a dynamic table
Hi All I have the following situation: a) Internal table TB_ORDER_CONDITION ==> data: tb_order_condition type standard table of bapicond. sample of the internal table TB_ORDER_CONDITION: CONT_TYPE # CONDVALUE# CONDBASEVAL ZR00 #
-
it started happening when i update my firefox to 3.6.6. == Crash ID(s) == bp-8b67e91e-6fb4-4bdf-94aa-fbd932100716, bp-19727416-6ccf-4170-9653-aa9e72100716, bp-3783bdc1-fe92-4be9-a889-c75e52100716, bp-d496cc20-ee87-4665-8aff-e3ccc2100716, bp-94738aae-
-
PP tables for relationships in phases - Process order
Hi, We have a process order and phases 20,40 and 60. So We know process order number and phase numbers. We have linked the phases in a relationship , say, FS(Finish to start ) How can we see the relationships defined between phases from PP tables ? W
-
Can I specify classpath in MANIFEST.MF of a ear file?
Hi, I know that one can specify classpath in MANIFEST.MF of a jar file, I'd like to know whether I can specify classpath in MANIFEST.MF of a ear file? If yes, will the classpath specified affect all j2ee components in this ear file?(e.g. jar files,wa
-
After installing ITunes 64 bit in my Windows 8 laptop, it won't launch
I just upgraded to Itunes 64 bit in my Windows 8 64 bit laptop. I've downloaded and installed it but it's not working. I've uninstalled and installed again and again, still ITunes 64 bit won't launch. Help!