Java Bean does not display in Forms 9i
Hi,
I created a Java bean taht would not display in a Forms 9i application. I do not get any error messages, just nothing seem to happen. I did the following:
1. Created a Java Bean with az Init() public function, packed it into a jar file and put it into <9iASHome>\forms90\java
2. Added the jar file to the formsweb.cfg file's archive_jini.
3. Created a Form with a Java Bean item on a canvas.
4. Set the implementation property of the bean item to the full java 'direcotry' path of the class.
5. Created the WHEN-NEW-FORM-INSTANCE trigger and put this code into it:
fbean.register_bean('BLOCK3.BEAN_AREA4',1,'geoifsweb.ifsframe');
After deploying the form to 9iAS and running it nothing seems to happen, only the place of the Java Bean appears on the Form. Teh Java Bean class extend a JFrame class, so I would expect it to appear on the screen.
What am I missing? Thank you for any help or hint in advance.
Regards,
Tamas Szecsy
Tamas
When using fbean.register_bean you don't need to set the implementation class of the bean at design time.
You must however supply the full package and class name in the register_bean call.
Do you get any exceptions in the Java console?
I'd also switch logging on (see FBEAN.Set_Logging_Mode)
Similar Messages
-
PO item text does not display in form at first. Only after saving PO
Hi Guys,
We're facing a peculiar situation. We print line item texts of a PO in the smartform. However what we noticed was that as soon as the PO is created and we choose to print the po, the item texts do not appear. When we checked in tables STXH and STXL theese texts were not even registered in the tables. All this time the PO is saved.
Then we went back into the PO in ME22n, made a slight change somewhere and saved the PO. Now these texts appear in the tables STXH/STXL and also in the print out. What could the reason be?
Regards,Hi
You should check your PO customizing, probably the text is set to be loaded in modification only
Max -
Show CD on CD insert does not display info
When loading a CD, iTunes does not update and show the new album info. Last album continues to display. Advanced preferences are set to "show CD"
Latest available is the simple answer
Console OES2 SP2 Oct 2009
Netware 6.5.8 with most (if not all post SP8 patches)
4.91 SP5 IR1
Seb
"Simon Flood" <[email protected]> wrote in message
news:guHDq.62$[email protected]..
> On 07/12/2011 09:45, Sebastian Cerazy wrote:
>
>> I have it on quite few IPs from DHCP that java console does not display
>> the
>> info, it just hangs there
>>
>> Most are displayed OK
>>
>> Not much of a problem, I use iManager is the console does not work, but
>> would like to know why it does it
>
> Versions please:
>
> * What version of the DNS/DHCP JavaConsole are you using?
> * On which platform?
> * If installed, what version of the Novell Client?
> * What version of OES2 are you running?
> --
> Simon
> Novell Knowledge Partner (NKP)
>
> ------------------------------------------------------------------------
> Do you work with Novell technologies at a university, college or school?
> If so, your campus could benefit from joining the Novell Technology
> Transfer Partner (TTP) program. See novell.com/ttp for more details.
> ------------------------------------------------------------------------ -
Form does not display all records from table
Hi guys
I modified one form that was based on a signle DB table. I removed certain fields from the table and added some extra fields to that table. Then based on the new table I also modified the form and removed the text items related to old fields in the table and added new text items pointing to the new fields now. II have checked all the new items properties and they have don't seem to be wrong or so. But now the problem is the form does not display all the records from the table. before it used to display all records from the table when qureied but not now. It only certain records from the table containing all new data and also old data but the form does not display other records though I don't see any obvious discrepancy. Remember that the before doing the modifications, I have table back for the old, created another table that contained new records for the new fields, and then I inserted the old records and updated the new table data in the new table with these new table values. So this way I have got my new table. Could someone help why the new modified form fails to display all records from the new table updated table though it display some of them successfully.
Any help will be appreciated.
Thankshi
Set the block property of "Query All Records" to "YES"
hope it will work.
Faisal -
Adobe(pdf form) Footer does not display on my form
hi Masters,
i have a adobe form and i want to create the footer to it.
when i create and have some datea on footer the data...the footer does not display.
the footer is not displayedd whether their is data or not no data.
am bit new can i have some info pls.
thank you,
pasala.
Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
Edited by: Thomas Zloch on May 26, 2011 10:07 AMHi;
FormsCentral does not support Digital Signatures. The submission process does not handle a signature field in any way.
There isn't a method in our authoring environment creating a new form in FormsCentral to add a Signature field, and for an Imported PDF Form there is a warning if a signature field is discovered alerting the user that it will not be used.
Thanks,
Josh -
Hi ,
We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
"The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
Please let us know reason behind this error message.
Thanks,
MrudualaYou are kidding? It took me about 3 minutes to scroll down on my tab to get to the triplex button!
Habe you read the error message?
Quote:
java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
Check the trigger and it should work again.
Timo -
DataGrid does not display XML data
Hello, and thanks for reading this...
I am having a problem displaying XMLList data in a DataGrid.
The data is coming from a Tree control, which is receiving it
from a database using HTTPService.
The data is a list of "Job Orders" from a MySQL database,
being formatted as XML by a PHP page.
If it would be helpful to see the actual XML, a sample is
here:
http://www.anaheimwib.com/_login/get_all_orders_test2.php
All is going well until I get to the DataGrid, which doesn't
display the data, although I know it is there as I can see it in
debug mode. I've checked the dataField property of the appropriate
DataGrid column, and it appears correct.
Following is a summary of the relevant code.
...An HTTPService named "get_all_job_orders" retrieves
records from a MySQL database via PHP...
...Results are formatted as E4X:
HTTPService resultFormat="e4x"
...An XMLListCollection's source property is set to the
returned E4X XML results:
...The "order" node is what is being used as the top-level of
the XML data.
<mx:XMLListCollection id="jobOrdersReviewXMLList"
source="{get_all_job_orders.lastResult.order}"/>
...The "jobOrdersReviewXMLList" collection is assigned to be
the dataProvider property of a Tree list, using the @name syntax to
display the nodes correctly, and a change event function is defined
to add the records to a DataGrid on a separate Component for
viewing the XML records:
<mx:Tree dataProvider="{jobOrdersReviewXMLList}"
labelField="@name"
change="jobPosForm.addTreePositionsToDG(event)"/>
...Here is the relevant "jobPosForm" code (the Job Positions
Form, a separate Component based on a Form) :
...A variable is declared:
[Bindable]
public var positionsArray:XMLList;
...The variable is initialized on CreationComplete event of
the Form:
positionsArray = new XMLList;
...The Tree's change event function is defined within the
"jobPosForm" Component.
...Clicking on a Tree node fires the Change event.
...This passes an event object to the function.
...This event object contains the XML from the selected Tree
node.
...The Tree node's XML data is passed into the positionsArray
XMLList.
...This array is the dataProvider for the DataGrid, as you
will see in the following block.
public function addTreePositionsToDG(event:Event):void{
this.positionsArray = selectedNode.positions.position;
...A datagrid has its dataProvider is bound to
positionsArray.
...(I will only show one column defined here for brevity.)
...This column has its dataField property set to "POS_TITLE",
a field in the returned XML record:
<mx:DataGrid width="100%" variableRowHeight="true"
height="75%" id="dgPositions"
dataProvider="{positionsArray}" editable="false">
<mx:columns>
<mx:DataGridColumn width="25" headerText="Position Title"
dataField="POS_TITLE"/>
</mx:columns>
</mx:DataGrid>
In debug mode, I can examine the datagrid's dataProvider
property, and see that the correct XML data from the Tree control
is present. However, The datagrid does not display the data in any
of its 6 columns.
Does anyone have any advice?
Thanks for your time.Hello again,
I came up with a method of populating the DataGrid from the
selected Item of a Tree Control which displays complex XML data and
XML attributes. After the user clicks on a Tree branch, I call this
function:
public function addTreePositionsToDG(event:Event):void{
//Retrieve all "position" nodes from tree.
//Loop thru each Position.
//Add Position data to the positionsArray Array Collection.
//The DataGrid dataprovider is bound to this array, and will
be updated.
positionsArray = new ArrayCollection();
var selectedNode:Object=event.target.selectedItem;//Contains
entire branch.
for each (var position:XML in
selectedNode.positions.position){
var posArray:Array = new Array();
posArray.PK_POSITIONID = position.@PK_POSITIONID;
posArray.FK_ORDERID = position.@FK_ORDERID;
posArray.POS_TITLE = position.@POS_TITLE;
posArray.NUM_YOUTH = position.@NUM_YOUTH;
posArray.AGE_1617 = position.@AGE_1617;
posArray.AGE_1821 = position.@AGE_1821;
posArray.HOURS_WK = position.@HOURS_WK;
posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
posArray.JOB_DESCR = position.@JOB_DESCR;
posArray.DES_SKILLS = position.@DES_SKILLS;
positionsArray.addItem(posArray);
So, I just had to manually go through the selected Tree node,
copy each XML attribute into a simple Array, then ADD this Array to
an ArrayCollection being used as the DataProvider for the DataGrid.
It's not elegant, but it works and I don't have to use a Label
Function, which was getting way too complicated. I still think that
Flex should have an easier way of doing this. There probably is an
easier way, but the Flex documentation doesn't provide an easy path
to it.
I want to thank you, Tracy, for the all the help. I checked
out the examples you have at www.cflex.net and they are very
helpful. I bookmarked the site and will be using it as a resource
from now on. -
I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60, there are not 60 tables referenced in any CM report.
Does this Query builder view work at all on any report?
(bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
Thanks,
Paul LKurt, thanks for your replies.
A couple of notes/clarifications.
1. You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE. I would recommend using Firefox too.
2. You are correct about the way to get to the Query Builder to see a graphical view of data tables. There are basically two issues with this that I mentioned, but will re-iterate:
a. If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder. Query Builder works only to create a NEW query from scratch.
b. Query builder is limited to selecting 60 fields max in your query. If you are creating a large report with many tables, you may find that 60 fields is not enough. For that you will have to work in the SQL edit screen rather than using the query builder.
I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports. You should be able to find the tables and joins documentation in the knowledgebase. -
Field T_STCD1 does not exist in form this erroe msg coming in smartform
hi,
in my smartform, if i give one set of input like, 1st qtr of 2008, vendor and compcode, its displaying the value.
but if i give the input like 1st qtr of 2007, vendor and some other compcode its giving some error like
field T_STCD1 does not exist in form .
this error coming after printpreview and not displaying.
how can i debug it.
can any one help me...........plz
its very urgent.
thanks.report zmm_vat_ex_cert message-id zz .
TABLE DECLARATION *
tables: bseg , tvko.
*Intenal Tables Declarations *
types: begin of it_address_type .
include structure zvat_vendor.
types :end of it_address_type.
types : begin of it_address_info_type.
include structure zadrc_table.
types: end of it_address_info_type.
types : begin of it_desig_type.
include structure zmm_vat_sign.
types: end of it_desig_type.
types: begin of it_bkpf_type,
bukrs type bkpf-bukrs,
belnr type bkpf-belnr,
gjahr type bkpf-gjahr,
blart type bkpf-blart,
bldat type bkpf-bldat,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey ,
end of it_bkpf_type.
types : begin of it_bseg_type,
bukrs like bseg-bukrs,
belnr like bseg-belnr,
gjahr like bseg-gjahr,
bschl like bseg-bschl,
mwskz like bseg-mwskz,
shkzg like bseg-shkzg,
wrbtr like bseg-wrbtr,
sgtxt type bseg-sgtxt,
end of it_bseg_type.
types: begin of it_rseg_type,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
bukrs like bkpf-bukrs,
txz01 type ekpo-txz01,
wrbtr type rseg-wrbtr,
end of it_rseg_type.
data:begda type d, endda type d.
types: begin of it_item_type.
include structure zitem_vat.
types:end of it_item_type.
data: it_rseg type table of it_rseg_type,
wa_it_rseg like line of it_rseg.
data: gt_addr type table of it_address_type.
data gt_addr_info type table of it_address_info_type.
data gt_bkpf type table of it_bkpf_type.
data gt_bseg type table of it_bseg_type.
data:
gt_tvko type standard table of tvko,
gt_item type table of it_item_type,
h_itab type table of it_bseg_type,
it_desig type table of it_desig_type,
temp_item type table of it_item_type .
data:wa_addr like line of gt_addr,
wa_addr_info like line of gt_addr_info,
wa_bkpf like line of gt_bkpf,
wa_bseg like line of gt_bseg,
wa_item like line of gt_item,
wa_h_itab like line of h_itab,
wa_it_desig like line of it_desig,
wa_temp_item like line of temp_item,
wa_tvko LIKE LINE OF gt_tvko.
wa_tvko type tvko.
Data Declaration *
data: sumtotal type bseg-wrbtr, "rbkp-waers ,
sl_no type zmm_vatex_sno-serial_no,
fiscal_year type string,
fm_name type rs38l_fnam ,
w_q_flag(5),
w_quarter type string ,
close_date type sy-datum ,
fiscal type sy-datum, fiscal_nxt type sy-datum,
gv_belnr type bkpf-belnr,
gv_gjahr type bkpf-gjahr.
data: ca_quarter type i.
data: l_adrnr type t001-adrnr.
data wa_vatex_sno type zmm_vatex_sno.
data: q(1).
data: stdtext(25).
S E L E C T I O N S C R E E N *
selection-screen begin of block b1 with frame title text-s01.
select-options: s_date for sy-datum obligatory no-extension.
parameters : vendor type lfa1-lifnr obligatory ,
compcode type bkpf-bukrs obligatory.
select-options taxcode for bseg-mwskz obligatory default 'VI'.
selection-screen end of block b1.
at selection screen
at selection-screen on s_date.
if s_date-low0(4) <> s_date-high0(4).
message e023 with text-e01.
endif.
*get calendar quarter using the month entered in From date.
*calculate the fiscal year and quarter
if s_date-low4(2) > '0' and s_date-low4(2) <= '3' .
ca_quarter = 1.
fiscal0(4) = s_date-high0(4) .
fiscal_nxt0(4) = s_date-high0(4) - 1.
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate 'last quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '4'.
elseif ( s_date-low4(2) > '3' and s_date-low4(2) <= '6' ).
ca_quarter = 2.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '1st quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '1'.
elseif ( s_date-low4(2) > '6' and s_date-low4(2) <= '9' ).
ca_quarter = 3.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '2nd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '2'.
elseif ( s_date-low4(2) > '9' and s_date-low4(2) <= '12' ).
ca_quarter = 4.
w_quarter = '3rd quarter of year'.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '3rd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '3'.
endif.
*get first and last day of quarter by fetching calendar quarter and year in FM
call function 'HR_99S_GET_DATES_QUARTER'
exporting
im_quarter = ca_quarter
im_year = s_date-low+0(4)
importing
ex_begda = begda
ex_endda = endda.
*validate the input dates is start and end of quarter
if s_date-low <> begda or s_date-high <> endda.
message e023 with 'Enter quarter begin and end dates only'.
endif.
*get last day of next month. for close date
endda = endda + 1.
call function 'RP_LAST_DAY_OF_MONTHS'
exporting
day_in = endda
importing
last_day_of_month = close_date
exceptions
day_in_no_date = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Start of Selection
start-of-selection.
*CNO is specific to a Quarter/ Company code/ Vendor.
unpack vendor to vendor.
clear:sl_no, wa_vatex_sno.
select single * from zmm_vatex_sno into wa_vatex_sno where from_date
eq s_date-low and to_date eq s_date-high and vendor eq vendor
and compcode eq compcode.
if sy-subrc eq 0.
sl_no = wa_vatex_sno-serial_no.
else.
select max( serial_no ) from zmm_vatex_sno into wa_vatex_sno-serial_no WHERE
from_date eq s_date-low and to_date eq s_date-high and compcode eQ compcode.
if sy-subrc = 0.
sl_no = wa_vatex_sno-serial_no + 1.
else.
sl_no = 1.
endif.
wa_vatex_sno-from_date = s_date-low.
wa_vatex_sno-to_date = s_date-high.
wa_vatex_sno-vendor = vendor.
wa_vatex_sno-compcode = compcode.
wa_vatex_sno-serial_no = sl_no.
insert zmm_vatex_sno from wa_vatex_sno.
endif.
*data selection from bkpf by date,fiscal and compcode
refresh gt_bkpf.
select bukrs
belnr
gjahr
blart
bldat
xblnr
awkey
into table gt_bkpf from bkpf
where bukrs eq compcode and
budat in s_date and gjahr eq fiscal+0(4).
check not gt_bkpf[] is initial.
refresh gt_bseg.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr
sgtxt from bseg into table gt_bseg
for all entries in gt_bkpf where
bukrs eq compcode and
mwskz in taxcode and
lifnr eq vendor and
belnr = gt_bkpf-belnr and
gjahr = gt_bkpf-gjahr and shkzg = 'H'.
selection without vendor and posting key 40 *
refresh h_itab.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr from bseg into table h_itab
for all entries in gt_bseg
where bukrs = gt_bseg-bukrs and
belnr = gt_bseg-belnr and
mwskz = gt_bseg-mwskz and
gjahr = gt_bseg-gjahr and
( bschl = '40' or bschl = '21' ).
if sy-subrc = 0.
deduct the amount if posting key is 40 for PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '40'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart <> 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr
and bschl = wa_bseg-bschl .
endif.
clear wa_h_itab.
endloop.
deduct the amount if posting key is 21 for non-PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '21'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart = 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr.
endif.
clear wa_h_itab.
endloop.
endif.
final internal table
clear wa_item. refresh gt_item. clear wa_bseg.
loop at gt_bseg into wa_bseg.
read table gt_bkpf into wa_bkpf with key belnr = wa_bseg-belnr .
if sy-subrc = 0.
move :
wa_bkpf-xblnr to wa_item-xblnr,
wa_bkpf-belnr to wa_item-belnr,
wa_bkpf-bldat to wa_item-bldat,
wa_bseg-wrbtr to wa_item-wrbtr.
endif.
*selections for item description
refresh it_rseg.
select ekpoebeln ekpoebelp ekpobukrs txz01 rsegwrbtr
into table it_rseg
from rseg join ekpo
on rsegebeln = ekpoebeln
and rsegebelp = ekpoebelp
and rsegbukrs = ekpobukrs
where rsegbelnr = wa_bkpf-awkey(10) and rseggjahr = wa_bkpf-gjahr AND
ekpo~bukrs = wa_bkpf-bukrs.
if sy-subrc = 0.
loop at it_rseg into wa_it_rseg.
wa_item-txz01 = wa_it_rseg-txz01 .
if sy-tabix <> 1.
wa_item-wrbtr = wa_it_rseg-wrbtr .
wa_item-wrbtr = space .
endif.
append wa_item to gt_item.
endloop.
else.
wa_item-txz01 = wa_bseg-sgtxt.
append wa_item to gt_item.
endif.
clear: wa_bseg, wa_item.
endloop.
*if records not found give message.
if gt_item[] is initial.
message e000(vz) with text-x01.
endif.
calculate the sumtotal
loop at gt_item into wa_item.
sumtotal = sumtotal + wa_item-wrbtr .
endloop.
Selecting supplier address *
select single * from tvko into wa_tvko where vkorg = compcode.
append wa_tvko to gt_tvko.
if wa_tvko-vkorg = '2014'.
stdtext = 'Z_2014_SOFTEX'.
elseif wa_tvko-vkorg = '2006'.
stdtext = 'Z_2006_SOFTEX'.
else.
stdtext = wa_tvko-txnam_adr.
endif.
select lifnr
name1
name2
ort01
ort02
pfach
stras
regio from lfa1 into table gt_addr
where lifnr eq vendor .
Selecting sez address *
SELECT SINGLE adrnr FROM t001 INTO l_adrnr WHERE bukrs EQ compcode.
SELECT name1
name2
city1
city2
post_code1
post_code2
street
house_num1
FROM adrc INTO TABLE gt_addr_info
WHERE addrnumber = l_adrnr.
Information for designation *
select * from zmm_vat_sign into table it_desig where company = compcode
Call Function module SSF_FUNCTION_MODULE_NAME *
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZMM_VAT_EX_CERT'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 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.
Call Function module fm_name *
call function fm_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
doc_num = sl_no
quarter = w_quarter
date = s_date-high
sumtotal = sumtotal
close_date = close_date
fiscal_year = fiscal_year
ca_quarter = q
text_name = stdtext
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
itab = gt_item
it_address = gt_addr
it_infoaddress = gt_addr_info
it_designation = it_desig
it_tvko = gt_tvko
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif. -
JSP error page does not displayed on its own, includes in the original JSP
Problem Description: - Exceptions in a Condition cause pages to fail to render.
The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs.
Problem Cause: As per the JSP specification when jsp content reached the buffer size (default 8KB) the page being flushed (Part of condent displays). The default �autoFlush� value is true.
When the page buffer value is default size (8KB), and if any exception occurs after flushing the part of the content, instead of redirecting into error page, the error page content included in the original page.
If i specify autoFlush="false" and with default buffer size, at the runtime if the buffer size is reached, i am getting stackoverflow error.
To solve the above problem we can make it autoFlush=�false� and buffer=�100KB�. But we can�t predict the actual size of the page.
I found in one of the weblogic forum as no solution for this issue. Ref.
http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_clfydoc&answerpage=solution&page=wls/S-10309.htm
Please provide me any solution to resolve the problem.Error-Page tags work best with an error.html pages. If you have an error.jsp page what I would do, and I have, is wrap my classes and jsp pages in a try catch block where you forward to the error jsp page and display anything you want. YOu can also do this with if else statements. I have used the tomcat error pages before but when I've implemented them I used java.lang.Exception as the error to catch not Throwable. I don't know if this would make a difference or have anything to do with your problem.
-
ISA invoice detail does not display data R/3 E-commerce 5.0
I´m using R/3 Internet Sales B2B.
I´m in area for search transactions and I have selected invoices, credit memos or down payments. When I click one of these documents, the system does not display any data in the detail screen.
Any idea?Full Message Text
An exception has occurred: java.lang.NullPointerException
at com.sap.isa.isacore.action.GenericSearchBaseAction.addRequestedFields(GenericSearchBaseAction.java:525)
at com.sap.isa.isacore.action.GenericSearchBaseAction.buildSelectOptions(GenericSearchBaseAction.java:140)
at com.sap.isa.isacore.action.GenericSearchISAAction.ecomPerform(GenericSearchISAAction.java:65)
at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
[EXCEPTION]
java.lang.NullPointerException
at com.sap.isa.isacore.action.GenericSearchBaseAction.addRequestedFields(GenericSearchBaseAction.java:525)
at com.sap.isa.isacore.action.GenericSearchBaseAction.buildSelectOptions(GenericSearchBaseAction.java:140)
at com.sap.isa.isacore.action.GenericSearchISAAction.ecomPerform(GenericSearchISAAction.java:65)
at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) -
Edited pdf does not display properly
I scanned in doc to a .pdf. It displayed properly on iPad (iBooks). I added some text using preview. It did not display when reading it to iBooks. Thinking it was a layering issue, I "Flattened" the file with Adobe Acrobat Pro, and freaked it to iBooks. Still does not display the added text. Added text is displayed by Adobe Reader for iPad. How do I get the iBooks program to properly read an edited .PDF? Is it really necessary to print and rescan the .PDF each time? Can I add the text in IBooks?
Stick with Adobe Reader. iBooks will not and cannot display form fields or edited text in a PDF as you have learned. You cannot add text in iBooks either. You can't change that. The built in mail app is also incapable of displaying edited PDF files. Adobe Reader is much more robust and feature rich than iBooks, which I'm sure you have already seen for yourself.
iBooks pales in comparison as a useful PDF tool. i think that you will be much better off using Adobe Reader. -
Site does not display in Safari
Trying to view a website that displays fine in FireFox and IE, but appears blank when viewed in Safari. Any suggestions, ideas?
http://www.casasmith.com/Web/Form/Vikings/Default.aspxI would say that it does not display in Safari because it is not standard html document. The errors shown in the W3C Validator, especially the first one, indicate they are using proprietary Microsoft extensions. The fact that the page was created using "Microsoft Visual Studio .NET 7.1" bolsters this view. Safari is the least forgiving of browsers that are not written to the HTML/XHTML standards.
-
IE does not display my flash movie
Hello fellows, I am having a huge problem with MIE. It does
not displays the flash object embed! Firefox works fine, but IE
doesn't!
Here are the codes:
quote:
Code made by me:
<object width="757" height="153">
<param name="movie" value="/script/top.swf"> <param
name="quality" value=high>
<param name="play" value=true> <param name="bgcolor"
value=#0000000>
<param name="wmode" value="transparent">
<embed src="/script/top.swf" width="757" height="153"
wmode="transparent">
</embed>
</object>
The funny thing is that I use almost the same code to display
another flash movie and it WORKS for the second!!! Why is that? The
Firefox displays both of them fine.
I tried a second code:
quote:
Code generated by Flash itself:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" odebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="757" height="153" id="top" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="script/top.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="script/top.swf" quality="high"
bgcolor="#000000" width="757" height="153" name="top"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
When I use the code above it returns to me an error on line
215, but my file has only 196 lines! And if I count the included
javascript, the possible lines are commentaries. The Firefox works
fine.
What is wrong with IE?
See ya!
Augusto> <object width="757" height="153">
All the essential stuff is missing form the <object>
tag .. so it will fail
on IE (firefox doesn't use the object tag)
> odebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v
"odebase"? should be "codebase"
Use the tags generated by Flash when you publish to HTML and
things should
be fine. Don't try to do it yourself unless you are an expert
(and even
experts don't just typ in tags themselves .. they copy and
paste from
previous html they have that works)
Jeckyl -
I customized a WebHelp Pro skin using the Omega skin as the basis. Everything works fine except the Print button, which I added using the same Action as shown in the BeautifulVista skin's Print button.
Local Version (C: drive)
When I generate my help project and view it locally from my C: drive after I accept the warning about viewing locally, I see the Print button.
However, it does NOT work. I've attached a graphic that shows the local version and the skin dialog where I set up the action for the Print button.
RH Server 8 version
When I view the same project after I publish it to the server, the Print button does NOT display.
QUESTIONS ARE:
How do I get the Print button to function properly (active printer dialog)?
If it can't work until it is published that fine but then how do I get it display when I view from server?Hi there
Have you tried editing your Window Definition?
Click View > Pods > Project Setup
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks
Maybe you are looking for
-
Hi We r facing typical problem with file adapter. Lets say there are 30 files to be processed by placing an copy in arichive folder by file adapter based on pooling parameters. All the 30 files are picked up and we can see the copies in archive f
-
ALEAUD Ack handling in pi 7.3
Does ALEAUD ack handling need special setting in PI 7.3 like ALEAUD config in ECC and creation of distributin model. or we have to just checked the check box "ALAUD special handling needed" in sender CC .
-
Sound randomly switches from headphones to speakers
Hi, I have a rather strange problem. This morning I turned on my Macbook, and the sound was doing something weird. It keeps switching between headphones and speakers, as if I'm plugging and unplugging them. Of course I have nothing plugged in, so the
-
Automatic Payment Program - Credit Memos
Hi Experts, I have one client scenario. There are 3 invoices for the vendor and 1 credit memo. 1 st invoice: 10000, 2nd Invoice is 8000 and third invoice is 7000 and credit memo is 4000. Now i have to make individual payment to invoice 1 and 2. I wan
-
Hi, I have imported VNX monitoring MP in our environment. I installed the navisphere host agent on the same server where the event will be sent to, from the Storage array. I added the storage array and switches through network discovery. I created th