LAYOUT.JS error
hi all,
Did you ever face the layout.js "error".while working with OATS,If yes What is it?
Edited by: USoni on Jan 14, 2009 8:16 PM
Sounds like a JavaScript error, what is the full error
Similar Messages
-
So, i'm doing this on my own app. I made an update for an older app that was build using Native Android. But this time, i used Adobe AIR... The catch is Adobe likes to append a "air." to the front of your package name without asking you. So basically I can't upload my update because it has a new package name is now "air.com.mycompany.myapp" rather than the original "com.mycompany.myapp"
Basically I'm going through this guide..
http://helpx.adobe.com/air/kb/opt-out-air-application-analytics.html
I followed all the steps, made all the adjustments to the androidmanifest.xml like it asks.
But after going along with the above guide, with no issues when i get to the step that says
"Run the following command to create the resource file for the updated AndroidManifest.xml:"
I run this..
"/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platform-tools/aapt" package -f -M AndroidManifest.xml -F resources.arsc -I "/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platforms/android-8/android.jar" -S ./res
But I keep getting the same error regarding the xml files in res/layout
./res/layout/expandable_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
./res/layout/expandable_multiple_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
./res/layout/main.xml:1: error: Error parsing XML: not well-formed (invalid token)
./res/layout/multiple_file_selection_panel.xml:1: error: Error parsing XML: not well-formed (invalid token)
./res/layout/ssl_certificate_warning.xml:1: error: Error parsing XML: not well-formed (invalid token)
The guide doesn't say anything about these xml files, and im not sure what to do with these or how to handle them.
If i go into the res/layout folder, and just delete these (i know they're necessary. But i just deleted them as a test, to get through the rest of the guide...)
I was able to get through the rest of the steps in the guide fine, make an apk, and put it on my phone...only to find out the app will crash the moment you try to run it. Probably because i deleted the layout xml files...But i cant get the command i need to run above to accept them!
So, earlier in the guide they have me use thing thing called the "AXMLPrinter2.jar" to make the AndroidManifest.xml readable so i can edit it.
I run something like this:
java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" AndroidManifest.xml > AndroidManifest.xml.bk
This makes a new file "AndroidManifest.xml.bk" and i can edit that.
So, I was thinking with all of these layout xml files, maybe I could run this "AXMLPrinter2.jar" on them and then edit them. Because right now if you open them they're not human readable, and its hard for me to work on them if they're not...
I tried this thinking i could do the same thing...
java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" main.xml > main.xml.bk
Just get a blank file and a console erorr when trying to use the AXMLPrinter2.jar on the layout xml files...
java.lang.ArrayIndexOutOfBoundsException: 67
at android.content.res.StringBlock.getShort(StringBlock.java:231)
at android.content.res.StringBlock.getString(StringBlock.java:91)
at android.content.res.AXmlResourceParser.getName(AXmlResourceParser.java:140)
at test.AXMLPrinter.main(AXMLPrinter.java:56)
So, I think my whole issue is based around these XML files not being converted to human readable before i try and re-package....
EDIT:::
Ok, so I found a site that talks about the error I'm getting but it's in chinese, and even after translating the page...I'm still not well versed with terminal and this stuff to get it.
It reads:
"Error.
Final conclusion:
In minSdkVersion <= 7, AXMLPrinter2.jar can normally decompile xml file
Greater than 7 can not be normal decompile xml file (AndroidManifest.xml except)
Give way to share a batch decompile xml file:
First, create a *. Txt file
Stresses inside the content authoring
for / r layout%% a in (*. xml) do @ java-jar AXMLPrinter2.jar "%% a" >> "%% a". txt
Then this txt file extension into bat form, and this BAT the file and AXMLPrinter2.jar on the same directory will be decompiled xml into the layout directory
Decompilation results can be generated by executing the bat file multiple xml files."
- http://hi.baidu.com/ghcghc/item/ecbaa1ce997cb225a0b50ac2
Maybe someone with more know-how could explain what they're explaining? I get that he's saying the issue im seeing appears when you're using minSdK <=7 but I need to use minSdk 8. Does anyone understand this work around? And how I might go about it on a Mac with terminal?
I wish adobe would make it easy to remove the "air." from the package name. If they want to convert old Native devs to AIR devs...the transition needs to be seamless. But now I'm about to have to go back to Native because I can't update an app I already have out on the market with an air app.Hello~
I also tried to remove "air." package name in air application. And i encounter the same problem.
I do not find any solution to decode the xml inside res folder by AXMLPrinter2.jar. And those xml inside is compressed which is unreadable.
However, what you can do is copying the structure of res folder. And go to your air sdk file path - adobeair-sdk-folder/lib/android/lib/resources/
Replace those file exists in your res folder. And copy "values" folder to your res folder.
Hope this solve your problem~ -
Web Dynpro-layout preview-Error-IE cannot display-service in SICF activated
Hello,
By starting a view in web dynpro framework, i have the error in tab layout "page cannot be displayed" from IE.
Before i make the change in the DNS and system32/../etc, the layout was displayed, but the web dynpro application cannot be started.
Now after those configurations and activation of services in SICF, i can start the web application only with firefox and not internet exploer, and, that internet explorer is preconfigured for the layout preview, i recieve all times the eror "cannot display" when i start a view in the layout tab.
1. How can i change settings so that view can be displayed in layout after i actived the (hope the suitables i.e. view designer) services in SICF - Default_host...
2. Is it possible to change IE to firefox as main browser for layout tab.
Note: For virtual domain i
1. add dns "domain.com" in the DNS
2. add in system32/etc/host file to "127.0.0.1 localhost", "10.10.0.10 sysserv.domain.com"
3. and trough tr. rz10 in the instance profil input the icm/.... ....domain.com
Through this three steps i could get the web dynpro application started,
but from the other side, the layout preview do not display the view again
and just send error the message: "THIS PROGRAM CANNOT DISPLAY THE WEBPAGE"
Many thanks for helping
arnaud
Edited by: Arnaud on Jul 15, 2010 4:36 PM
Edited by: Arnaud on Jul 15, 2010 8:31 PMHi,
The string is not correctly formed ( a quote and a concatenation ) :
Your url :
v_url:=nvl(v_rep_port,'http://'||v_rep_HOST ||':'||v_rep_port||')||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_svr;
The Correction :
v_url:=nvl(v_rep_port,'http://'||v_rep_HOST ||':'||v_rep_port)||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_svr;
Hope it helps
Mohamed Dadi -
Fluid grid layout css error - (adobe support sucks!)
We just bought upgrades for our entire department to dreamweaver cs6 about 2 weeks ago. Today for the first time I've been trying to make use of the new fluid grid layout system. I got some of the page put together and when I then tried to insert a new fluid layout div I got an error message saying "Could not find Dreamweaver Fluid Grid style sheet". I wasn't sure what to make of it so I googled it. I found someone with a similar, not exact, error message and someone suggested they double check their css file to see if it was missing a closing }. I double checked my css files and they were fine. I tried reinstalling dreamweaver in case a file got corrupted. No go. After reopening the file, now my fluid grid pink overlays won't display.
It's as though the stylesheet where the fluid grid styles are defined isn't being recognized, however at the same time, some styles defined in that stylesheet ARE being applied to the page, but not all of them.
I called adobe support, sat on hold forever only to be told that because we purchased a downloaded version of the upgrade, we don't get the 90 days of support but have to pay $39. Are you kidding me adobe? No support without paying after we just paid literally thousands of dollars in upgrades to our cs6 packages?
Another thing that's odd is that if I start a new fluid page and save the files in a new folder, the insert new fluid grid div works fine. I know it sounds like some stylesheet got hosed, but as I said, I have double and triple checked the css file and don't see a problem. Anyone have an idea what might be wrong? thanks.I found the problem and in fact it was a problem with the stylesheet. However, it wasn't due to any invalid styles. Apparently there are comments near the top of the stylesheet that tell dreamweaver that that's the stylesheet where the fluid grid content is stored. It would have been helpful if they included additional comments like "DON'T REMOVE THESE COMMENTS OR YOUR'RE SCREWED AND WE WON'T HELP YOU FIGURE OUT WHY!!!". Specifically the section I removed which caused it to break was this...
Dreamweaver Fluid Grid Properties
dw-num-cols-mobile: 5;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 12;
dw-gutter-percentage: 25;
Inspiration from "Responsive Web Design" by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design
and Golden Grid System by Joni Korpi
http://goldengridsystem.com/ -
TP3 Oracle Three Column Layout Template error
Hi,
if I choose for page template: Oracle Three Column Layout and run this page I get blank page with message: Error trying to include:viewId:/oracle/templates/threeColumnTemplate.jspx uri:/oracle/templates/threeColumnTemplate.jspxjavax.servlet.ServletException: Error in servlet
thanks,
BranislavHi,
if I exctract threeColumnTemplate.jspx from oracle-page-templates.jar and store it in my project as a template file it works and it works also with FF 2.0.0.11
thanks,
Branislav -
New layout, CSS errors and Firefox problems
Hi
Could it be that some of the Firefox problems are caused by:
1) The wrong mime type for the CSS files? Currently it appears to be:
application/x-css
shouldn't it be
text/css
2) Errors in the CSS files and inline CSS of.
http://forums.oracle.com/forums/categoryHome.jspa?categoryID=84
Can recommend using:
http://jigsaw.w3.org/css-validator/
==== New layout ======
The border error on the download button has been fixed, but the alt attribute of the upper right search icon is still "faq", shouldn't it be "Search"
<img src="images/search-16x16.gif" width="16" height="16" border="0" alt="Search">
AxelThere are a number of fixes still to be made, but most of them will wait until our upgrade (still a few months out).
-
Webdynpro Dynamic layout manipulation: error attaching elements to Group
Hi Experts,
I am trying to create dynamic layout during run time. Itu2019s working partially, but as soon as I add new u201CGroup elementu201D or new u201CTransparent elementu201D I am getting a null error. If I just use buttons, input field or text dynamically layout create it works fine. I want to group this fields in a groups or transparent container so that I can manipulate layout place containers where I need. As soon as I add other element (inputfield/button/text) to transparent element it errors. I have attached code below for more detail. Does anyone have similar issue? Lot of demo and example code show how to create elements (inputfield/button/text) none show how attach those element back to u201DGroupu201D or u201CTransparentu201D element.
I am creating dynamic elements in u201CViewu201D method u201CWDDOMODIFYVIEWu201D. Any idea or clue much appreciated. Thanks in advance.
Kind Regards,
Trim
method WDDOMODIFYVIEW .
DATA lr_container TYPE REF TO cl_wd_uielement_container.
DATA lr_trans_cont TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
DATA lr_input TYPE REF TO cl_wd_input_field.
DATA lr_table TYPE REF TO cl_wd_table.
DATA lo_nd_sflight TYPE REF TO if_wd_context_node.
DATA lr_button TYPE REF TO cl_wd_button.
DATA lr_o_group TYPE REF TO cl_wd_group.
data: lr_text TYPE REF TO CL_WD_TEXT_VIEW.
constants : gc_trs_cont type string value 'Trscont',
gc_text1 type string value 'ePDA goals and activity of the team',
gc_text2 type string value 'Complete all box and submit to manager'.
DATA lo_el_context TYPE ref to if_wd_context_element.
navigate from <CONTEXT> to <SFLIGHT> via lead selection
lo_nd_sflight = wd_context->get_child_node( name = wd_this->wdctx_sflight ).
IF first_time = abap_true.
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
DATA lr_grid_data TYPE REF TO cl_wd_grid_data.
DATA lr_flow_data TYPE REF TO cl_wd_flow_data.
DATA lr_matrix TYPE REF TO cl_wd_matrix_head_data.
DATA lr_matrix_l TYPE REF TO cl_wd_matrix_layout.
DATA lr_matrix2 TYPE REF TO cl_wd_matrix_data.
CALL METHOD CL_WD_TRANSPARENT_CONTAINER=>NEW_TRANSPARENT_CONTAINER
EXPORTING
ID = '/0CUST/123'
VIEW = view
WIDTH = '100%'
RECEIVING
CONTROL = lr_trans_cont.
lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_trans_cont ).
lr_container->set_layout_data( lr_matrix ).
data: lr_o_caption type ref to cl_wd_caption.
CALL METHOD CL_WD_GROUP=>NEW_GROUP
EXPORTING
ID = 'GRP1'
design = '03'
RECEIVING
CONTROL = lr_o_group.
lr_o_caption = cl_wd_caption=>new_caption( text = 'Group1' ).
lr_o_group->set_header( the_header = lr_o_caption ).
cl_wd_flow_data=>new_flow_data( element = lr_o_group ).
cl_wd_flow_layout=>new_flow_layout( container = lr_o_group ).
lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_o_group ).
lr_o_group->set_layout_data( lr_matrix ).
CALL METHOD lr_container->add_child
EXPORTING
index = 1
the_child = lr_o_group.
CALL METHOD cl_wd_button=>new_button
EXPORTING
enabled = 'X'
id = 'B1'
on_action = 'GET_FLIGHT'
text = 'Get Flight Data'
RECEIVING
control = lr_button.
lr_matrix2 = cl_wd_matrix_data=>new_matrix_data( lr_button ).
lr_button->set_layout_data( lr_matrix2 ).
CALL METHOD lr_o_group->add_child
EXPORTING
index = 1
the_child = lr_button.
CALL METHOD cl_wd_input_field=>new_input_field
EXPORTING
bind_value = 'SFLIGHT.CARRID'
id = 'INPUT1'
RECEIVING
control = lr_input.
lr_matrix2 = cl_wd_matrix_data=>new_matrix_data( lr_input ).
lr_input->set_layout_data( lr_matrix2 ).
CALL METHOD lr_o_group->add_child
EXPORTING
index = 2
the_child = lr_input.
endmethod.
Edited by: Trim Chakrapani on Nov 15, 2011 5:01 PMHi
I suggest you create a transparent container at design time and then use the below code in wddomodify to get a reference to the transparent container.
DATA: lv_container TYPE string,
lo_container TYPE REF TO cl_wd_transparent_container.
lv_container = 'TransparentContainer'.
lo_container ?= view->get_element( lv_container ).
lo_container->add_child( lo_button ).
Hope this helps. -
Oracle Composer Layout Customizable Error!
I´ve been trying to develop a custom webcenter application using oracle composer, but everytime I have a Layout Customizable in my page, I keep getting the following error message in my server:
<MDSRestrictionPolicy><_updateMDSRef> An error has occurred while finding the page for the component with client ID pt1:layoutCustomizable1.
I have tried everything to avoid this message, but everytime I navigate between pages, it shows in the server log. I have tried using templates, and not using templates at all. I have also tried changing the ID. I´m using a menu model to navigate between pages, showned in the following article:
http://www.oracle.com/technetwork/developer-tools/jdev/ccset43-all-090938.html
The problem with this error is that after a few minutes navigating between the pages, the navigation flow just seems to stop working and I cant go from one page to the other anymore. Anyone has been through this before?
I´m using Jdev 11g 11.1.1.3 and Webcenter 11.1.1.3Yup, I had tried setting the "Clean MDS after each run" before, but still got the same message. I have tried with both integrated and standalone WL.
I just found out that if I set the "ShowIcon" and "ShowLayoutChanger" properties of the Layout Customizable to false, I dont get that message anymore..
Now I only see the message when I navigate between pages with the "edit mode" on. Is there a way to disable a component (like the command navigation item button inside the navigation pane) when the edit mode is triggered? Thanks! -
LAYOUT.T_ITEM_EXCEEDS_MAX error.
Hi All,
After upgrading Apex 4.2 I started to get error LAYOUT.T_ITEM_EXCEEDS_MAX for the page where we have more than 200 fields. Due to some reasons our client required some pages with more than 200 fields and we created a kind of AJAX callback to manage DML action. And it was working perfectly with previous version. But now we are getting the error.
Is there anyway to turn-off this error?
The code it causes the error is "apex_plugin.get_input_name_for_page_item(FALSE);"
If I turn this off then it works ok. But I want to know whether there is an another solution or not for this.
Regards,
Osman.The documented component limit is 200 items per page. Prior to 4.2 this limit was 100 - perhaps they have tightened this in certain areas for reasons that we don't need to be aware of.
http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/limits002.htm#BGGIECDF
I've found sometimes the limit is tolerated, other times it is not.
I'd call this expected behaviour.
Scott
blog: [url grassroots-oracle.com]grassroots-oracle.com
twitter: [url twitter.com/swesley_perth]@swesley_perth -
Layout generation error!!!
Hi ,
I created some Field Groups and have given the Field Structure. But when I try to do the Layout Generation for the field groups I get the error "No field group was selected in the blueprint table"
Can somebody help.
Regards,
ShinyFirst of all, check that you have assigned a structure (screen structure) to a newly created field group: start transaction CRMC_BLUEPRINT_C, then follow Application Element -> Field Group -> Field Group. If structure is provided, make sure that it is a DDIC struture.
If it won't help, define an application layout in CRMC_BLUEPRINT_C with that field group for an applicication you want to use it with.
The really thing could help you with generation process is the CRMC_BLUEPRNTC table (check with se16). It should contain an entry for your field group. If it's not - this is the problem. -
H:PanelGroup layout. Error in documentation ???
Hi,
The render kit docs clearly say:
If the "style" or "styleClass" attributes are present, and the "layout" attribute is present with a value of "block", render a "div" element
... No matter what I do, I get a span element rendered.
Can someone explain what I am missing??
Thanks!
SHi,
I was using RI 1.1_01 but read the 1.2 docs
hence my error
Thanks for indirectly pointing it out
S
Edited by: shandor911 on Nov 9, 2007 4:28 AM -
Creating Wizard Layouts JHS error. taskFlowViewActivities.vm
After configuring Wizard Layout as described in JHS developer Guide (release 11.1.2), 5.9. "Creating Wizard Layout", JHS generator raised following error"
"[/admin/adfConfig/adfc-config-<WizardfName.xml>, default/misc/facesConfig/taskFlowViewActivities.vm] Invalid modelpointer used: pageComponent.tableLayout templateIdentifier: TASK_FLOW_VIEW_ACTIVITIES modelpointer type: oracle.jheadstart.dt.jag. facesconfiggenerator.GroupFacesConfigModel"
This error generated when "Wizard Style Layout" is checked and disappear when it is unchecked.
Does anybody found solution for this.
Environment configuration:
JDeveloper version: 11.1.2.4.0
JHS version: 11.1.2.1.28
Cheers,
SergeiHi Steven,
I look for the root of the issue and came to the point that Wizard group should not have any items. All items MUST be moved to region or removed, otherwise this TEMPLATE error will be generated. May be this rule need to be added to JHS developer guide.
Thanks,
Sergei Zamjitski -
Please find code below. When I run this report with transaction it gives variant error .How can I fix this problem
REPORT yiwm_uom_stock .
*---Data Include
INCLUDE yiwm_uom_stock_data.
*INITIALIZATION.
PERFORM initialize_variant.
*----ON SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
PERFORM f4_for_variant .
*---START-OF-SELECTION
START-OF-SELECTION.
PERFORM get_data.
PERFORM write_data .
*& Form get_data
FORM get_data.
*--Quants of stock with selection screen.
SELECT werks lgort lgnum gesme
verme einme ausme lgpla
lgtyp matnr lqnum
FROM lqua
INTO CORRESPONDING FIELDS OF TABLE gt_itab
WHERE werks IN s_werks
AND lgnum EQ p_lgnum
AND lgort IN s_lgort
AND lgtyp IN s_lgtyp
AND kober IN s_kober
AND matnr IN s_matnr.
LOOP AT gt_itab.
CLEAR lagp .
SELECT SINGLE lgtyp lgber lptyp plauf skzua skzue skzsa skzse
skzsi spgru anzqu maxqu anzle maxle btanr btaps
kzdyn lgewi gewei mgewi bdatu bzeit ivivo sorlp
rdatu rzeit kzinv idatu ivnum ivpos brand uname
laedt kober reihf verif
FROM lagp
INTO CORRESPONDING FIELDS OF gt_itab
WHERE lgnum = gt_itab-lgnum
AND lgpla = gt_itab-lgpla
AND lgtyp = gt_itab-lgtyp.
CLEAR mara.
SELECT SINGLE matnr meins zzshmat matkl
mtart ean11 zzkshrtyp
FROM mara
INTO CORRESPONDING FIELDS OF gt_itab
WHERE matnr EQ gt_itab-matnr.
CLEAR marm.
SELECT SINGLE meinh umrez umren breit hoehe
meabm volum voleh brgew gewei
FROM marm
INTO CORRESPONDING FIELDS OF gt_itab
WHERE matnr EQ gt_itab-matnr
AND meinh EQ p_meinh.
CLEAR mlgn.
SELECT SINGLE ltkza ltkze lgbkz block
bsskz l2skr mkapv
FROM mlgn
INTO CORRESPONDING FIELDS OF gt_itab
WHERE matnr EQ gt_itab-matnr
AND lgnum EQ gt_itab-lgnum.
CLEAR mlgt.
SELECT SINGLE lgpla lpmax lpmin
mamng nsmng kober rdmng
FROM mlgt
INTO CORRESPONDING FIELDS OF gt_itab
WHERE lgnum EQ gt_itab-lgnum
AND lgpla EQ gt_itab-lgpla
AND matnr EQ gt_itab-matnr
AND lgtyp EQ gt_itab-lgtyp.
CLEAR makt.
SELECT SINGLE maktx
FROM makt
INTO gt_itab-maktx
WHERE matnr EQ gt_itab-matnr.
MODIFY gt_itab.
CLEAR gt_itab.
ENDLOOP.
ENDFORM. "get_data
Form write_data *
FORM write_data.
PERFORM find_list_header.
PERFORM fill_field_cat TABLES gt_fldcat
USING 'GT_ITAB'
'YIWM_UOM_STOCK'.
gv_repid = sy-repid.
gs_variant-report = sy-repid.
gs_variant-variant = p_vari.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = ' '
i_callback_program = gv_repid
i_default = 'X'
i_save = 'A'
is_layout = gs_layout
it_fieldcat = gt_fldcat[]
is_variant = gs_variant
TABLES
t_outtab = gt_itab.
ENDFORM. " write_data
Form find_list_header *
FORM find_list_header.
CLEAR : gt_header, gt_header[].
gt_header-typ = 'H'.
sy-title = 'UOM STOCK REPORT'.
MOVE sy-title TO gt_header-info.
APPEND gt_header.
ENDFORM. " find_list_header
Form fill_field_cat *
FORM fill_field_cat TABLES gt_fldcat
USING p_intname
p_inclname.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_inclname = p_inclname
i_internal_tabname = p_intname
CHANGING
ct_fieldcat = gt_fldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " fill_field_cat
*& Form INITIALIZE_VARIANT
text
FORM initialize_variant .
g_save = 'A'.
CLEAR g_variant.
g_variant-report = sy-repid.
gx_variant = g_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = gx_variant-variant.
ENDIF.
ENDFORM. " INITIALIZE_VARIANT
*& Form F4_FOR_VARIANT
text
FORM f4_for_variant.
gs_variant-report = sy-repid.
gs_variant-variant = p_vari.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = gs_variant
i_save = g_save
IMPORTING
e_exit = g_exit
es_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF g_exit = space.
p_vari = gx_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " F4_FOR_VARIANT
*& Form PAI_OF_SELECTION_SCREEN
text
FORM pai_of_selection_screen.
IF NOT p_vari IS INITIAL.
MOVE g_variant TO gx_variant.
MOVE p_vari TO gx_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant.
g_variant = gx_variant.
ELSE.
PERFORM initialize_variant.
ENDIF.
ENDFORM. " PAI_OF_SELECTION_SCREENHi Narendan ..
I changed but it is already leave to the code screen (leave program). I think it will be useful to send complete code again .Please remember , it gives error only call with transaction.
REPORT yiwm_uom_stock .
*---Data Include
INCLUDE yiwm_uom_stock_data.
INITIALIZATION.
PERFORM initialize_variant.
*----ON SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
PERFORM f4_for_variant .
*---START-OF-SELECTION
START-OF-SELECTION.
PERFORM get_data.
PERFORM write_data .
*& Form get_data
FORM get_data.
*--Quants of stock with selection screen.
SELECT werks lgort lgnum gesme
verme einme ausme lgpla
lgtyp matnr lqnum
FROM lqua
INTO CORRESPONDING FIELDS OF TABLE gt_itab
WHERE werks IN s_werks
AND lgnum EQ p_lgnum
AND lgort IN s_lgort
AND lgtyp IN s_lgtyp
AND kober IN s_kober
AND matnr IN s_matnr.
LOOP AT gt_itab.
CLEAR lagp .
SELECT SINGLE lgtyp lgber lptyp plauf skzua skzue skzsa skzse
skzsi spgru anzqu maxqu anzle maxle btanr btaps
kzdyn lgewi gewei mgewi bdatu bzeit ivivo sorlp
rdatu rzeit kzinv idatu ivnum ivpos brand uname
laedt kober reihf verif
FROM lagp
INTO CORRESPONDING FIELDS OF gt_itab
WHERE lgnum = gt_itab-lgnum
AND lgpla = gt_itab-lgpla
AND lgtyp = gt_itab-lgtyp.
CLEAR mara.
SELECT SINGLE matnr meins zzshmat matkl
mtart ean11 zzkshrtyp
FROM mara
INTO CORRESPONDING FIELDS OF gt_itab
WHERE matnr EQ gt_itab-matnr.
CLEAR marm.
SELECT SINGLE meinh umrez umren breit hoehe
meabm volum voleh brgew gewei
FROM marm
INTO CORRESPONDING FIELDS OF gt_itab
WHERE matnr EQ gt_itab-matnr
AND meinh EQ p_meinh.
CLEAR mlgn.
SELECT SINGLE ltkza ltkze lgbkz block
bsskz l2skr mkapv
FROM mlgn
INTO CORRESPONDING FIELDS OF gt_itab
WHERE matnr EQ gt_itab-matnr
AND lgnum EQ gt_itab-lgnum.
CLEAR mlgt.
SELECT SINGLE lgpla lpmax lpmin
mamng nsmng kober rdmng
FROM mlgt
INTO CORRESPONDING FIELDS OF gt_itab
WHERE lgnum EQ gt_itab-lgnum
AND lgpla EQ gt_itab-lgpla
AND matnr EQ gt_itab-matnr
AND lgtyp EQ gt_itab-lgtyp.
CLEAR makt.
SELECT SINGLE maktx
FROM makt
INTO gt_itab-maktx
WHERE matnr EQ gt_itab-matnr.
MODIFY gt_itab.
CLEAR gt_itab.
ENDLOOP.
ENDFORM. "get_data
Form write_data *
FORM write_data.
PERFORM find_list_header.
PERFORM fill_field_cat TABLES gt_fldcat
USING 'GT_ITAB'
'YIWM_UOM_STOCK'.
gv_repid = sy-repid.
gs_variant-report = sy-repid.
gs_variant-variant = p_vari.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = ' '
i_callback_program = gv_repid
i_default = 'X'
i_save = 'A'
is_layout = gs_layout
it_fieldcat = gt_fldcat[]
is_variant = gs_variant
TABLES
t_outtab = gt_itab.
ENDFORM. " write_data
Form find_list_header *
FORM find_list_header.
CLEAR : gt_header, gt_header[].
gt_header-typ = 'H'.
sy-title = 'UOM STOCK REPORT'.
MOVE sy-title TO gt_header-info.
APPEND gt_header.
ENDFORM. " find_list_header
Form fill_field_cat *
FORM fill_field_cat TABLES gt_fldcat
USING p_intname
p_inclname.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_inclname = p_inclname
i_internal_tabname = p_intname
CHANGING
ct_fieldcat = gt_fldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " fill_field_cat
*& Form INITIALIZE_VARIANT
text
FORM initialize_variant .
g_save = 'A'.
CLEAR g_variant.
g_variant-report = sy-repid.
gx_variant = g_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant
EXCEPTIONS
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4 .
IF sy-subrc = 0.
p_vari = gx_variant-variant.
ENDIF.
ENDFORM. " INITIALIZE_VARIANT
*& Form F4_FOR_VARIANT
text
FORM f4_for_variant.
gs_variant-report = sy-repid.
gs_variant-variant = p_vari.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = gs_variant
i_save = g_save
IMPORTING
e_exit = g_exit
es_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF g_exit = space.
p_vari = gx_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " F4_FOR_VARIANT
*& Form PAI_OF_SELECTION_SCREEN
text
FORM pai_of_selection_screen.
IF NOT p_vari IS INITIAL.
MOVE g_variant TO gx_variant.
MOVE p_vari TO gx_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant.
g_variant = gx_variant.
ELSE.
PERFORM initialize_variant.
ENDIF.
ENDFORM. " PAI_OF_SELECTION_SCREEN -
Report Layout Upload - Error 404
OK, this is a new one...
I've been editing this layout for a report using Report Layouts, and been able to upload and delete the same file about a dozen times.
Now, I create a lauout, and select the file to upload, but on create this is what I get -
Not Found
The requested URL /pls/apex/wwv_flow.accept was not found on this server.
Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server Server at serverxxx Port 7777I've tried to save the file in different names, and in different locations, but it won't upload. I tried another layout I have, another RTF, but it failed as well. A .png will upload, but no RTF's will.
I don't think its my rtf file, because it works using the BI publisher preview...
Not about the problem above. I think it may be image related or server related. The same layout uploads to a different server, no troubles.
Message was edited by:
glasntFound the problem
My apexfiles tablespace was full. All 100MB of it, bar a few KB.
Let this be a lesson to all - if you 404 on an upload, check you're not full!
hides away in shame -
Hi,
I want to test the CM - samples.
How can I test the FinanceCorp - Analystreport sample?
i did not find any ImageController in the flex-code.
regards
JohannesJohannes Lehninger,
It looks like the form guide in the Finance sample points to a non-existent SWC library (which would contain the missing ImageController panel layout): "..\..\..\share\res\cm3.swc". You can see this if you look inside the "custom library" drop down list when you edit the properties of the wrapper in Guide Builder.
Unfortunately, there's no fix for this problem in the current CM kit. We will look into fixing this sample in a future release of the CM kit.
Thank you for pointing this out to us. We apologize for the inconvenience.
Stefan
Adobe Systems
Maybe you are looking for
-
I have downloaded a movie onto my iPad but want to watch it on my TV. I have apple TV but the movie is not showing up on my "Rented Movies". How do I do this??
-
Getting NTVDM.EXE errors in itunes - keeps crashing
Every time I start itunes I get a "16 bit MS-DOS Subsystem" error. Message reads... C:\WINDOWS\system32\ntvdm.exe Error while setting up environment for the application. Choose 'close' to terminate the application I then have the option to close or i
-
Order of elements - how to get position of child ?
Hi, I would like to check, if the name of the second element of root is "youngestSon". Is it possible to query this with xpath (I use xquery with xpath-expressions, in fact I already know the name of the element but want to get sure with an exist-sta
-
Encryption and NTFS on Macbook Pro
Hi, I intend to change across to Macbook Pro later this year and I have a couple of questions abot using MBP to run XP Pro SP2 + Apps. Can anyone help please? First, I have some good Windows XP encryption software (CRYPTAINER 6)that runs on NTFS form
-
And it keeps on freezin'...
I thought Safari was causing my computer to freeze--but I've realized that after my computer is on for about 60 min it will freeze regardless of which program that is open. All programs have been running slower recently, and my only way to regain tot