Game keys in custom item
hi i am trying to implement a basic game action key in my keypressed method but it says it cant find the game action key of FIRE
Here is my code below. cant i use the game keys such has LEFT RIGHT UP DOWN FIRE keys?
[code]
private Image button;
private blackjack root;
/** Creates a new instance of validate */
public validate( String label, blackjack midlet)
super( label );
this.root = midlet;
// Returns the minimal height of the content
// area.
protected int getMinContentHeight()
return 40;
// Returns the minimal width of the content
// area.
protected int getMinContentWidth()
return 40;
// Returns the preferred height of the content
// area. A tentative value for the opposite
// dimension -- the width -- is passed to aid
// in the height calculation. The tentative value
// should be ignored if it is -1.
protected int getPrefContentHeight( int width )
return getMinContentHeight();
// Returns the preferred width of the content
// area. A tentative value for the opposite
// dimension -- the height -- is passed to aid
// in the width calculation. The tentative value
// should be ignored if it is -1.
protected int getPrefContentWidth( int height )
return getMinContentWidth();
// Draws the item's content area, whose dimensions
// are given by the width and height parameters.
protected void paint( Graphics g, int width, int height )
try
button = Image.createImage("/validate.png");
} catch (IOException ex)
ex.printStackTrace();
// g.setColor( 255, 255, 255 );
// g.fillRect( 0, 0, width, height );
protected void keyPressed(int k)
int g = getGameAction( k );
if( g == FIRE || k == 10 )
//login to the game
root.login();
}[/code]
FIRE is a static field of Canvas, you need to refer to it in your code as Canvas.FIRE.
From the API for CustomItem:
Key event methods are passed the keyCode indicating the key on which the event occurred. Implementations must provide means for the user to generate events with key codes Canvas.KEY_NUM0 through Canvas.KEY_NUM9, Canvas.KEY_STAR, and Canvas.KEY_POUND. Implementations may also deliver key events for other keys, include device-specific keys. The set of keys available to a CustomItem may differ depending upon whether commands have been added to it.
Support for detection of the FIRE key is not mandated.
db
Similar Messages
-
Clearing customer Items with Special G/L Indicator 'A' (down payment)
Hi All,
I've to clear two items of a customer by t.code F-32:
Both items, that I dysplays by t.code FBL5N (u20AC 20.000,00 and - 20.000,00), are with Special G/L Indicator 'A' (down payment).
Only the first one contains a 'tax amount' equal to 4.000,00.
When I process the open Items of the customer by t.code F-32, I expect to see the two items as follows
20.000,00
- 20.000,00
Instead, SAP displays as follows
24.000,00
- 20.000,00
So, I can't clear them as 24.000,00 is not equal to 20.000,00
Could anyone tell me ho to solve?
ThanksHi Maurizio,
first of all, thanks for your answer.
I've checked the tax category in the G/L account master data of the special G/L
account used for down payments (A). Tax category is equal to '+ '.
According to this setting, I posted a customer credit memo as follow:
Item 01; posting key 11; Customer account XXX; Amount 24.000,00
Item 02; posting key 09; Customer account XXX; Special G/L Indicator A; Amount 20.000,00 (tax code 20%)
Item 03; posting key 40; Debit tax account; Amount 20.000,00 (tax code 20%)
Now I've to clear the item 02 of that credit memo. When I try to do it by t.code F-32, SAP displays the amount 24.000,00 (with tax amount) and not 20.000,00.
Clearing that item, the system create a automatic posting for tax account of 4000,00.
This is my issue: SAP shouldn't create this posting for tax account.
Thank again.
G. -
Custom Item in Syndicator: count of record exported
Hi all,
I'm new in MDM and I have many doubt.
One is about the possibility of add a custom item in syndicator contaning the number of the record exported.
It's possible?
Any suggestion?
thanks in advantage.
EnzoHi Enzo,
Custom Item in MDM Syndicator are used for the follwing reasons:
1.To include Source fields from the current table.
2. To include Source attributes from the connected repository.
3.To include Remote keys from the current table and its subtables.
4. To include Raw text entered directly into the custom item.
5.To include Repository name from which the syndicated data originated.
6.To include Date and time of the syndication.
For more information u can visit the link:
<b>http://help.sap.com/saphelp_mdm550/helpdata/en/ff/37e4c6857449388ddb6c77f160ac4f/frameset.htm</b>
What i understood from ur question is that u want to add a custom field containing the number of records to be syndicated?
U can control the number for record u want to syndicate by applying the appropriate search criteria.
If u have any more queries feel free to revert back.
Hope i've tried to answer ur question.
Regards,
Seema Rane.
PS: Pls give points to helpful answer. -
Report FBL1N with flag Customer items
Hello,
When I set the flag "Customer Items" in the selection screen of the report FBL1N I can display the vendor items and also the related custome items.
The problem is that I can display the list of all the vendors and below the list of the customers with the total balance.
I'd like to display the vendor items with the balance of the vendor invoices then the related customer items with the balance of the customer invoices and then the balance of the vendor and customer invoices.
Is it possible?
Please let me know.
Thanks a lot in advance
Kind Regards,
EmanuelaHello,
Thanks for your answer.
My problem is another one.
I have two vendors:
- Vendor A
- Vendor B
This to Vendors are linked to the following Customers:
- Customer A
- Customer B
If I execute the FBL1N with the falg customeer items, I can display:
1) List of Vendor A invoices and total amount
2) List of Vendor B invoices and total amount
3) List of Customer A invoices and total amount
4) List of Customer B invoice sand total amount
5) Balance of Vendor (A + B) and Customer (A+B) invoices
I'd like to find a way to modify the sequence because I need to have:
1) List of Vendor A invoices and total amount
2) List of Customer A invoices and total amount
3) Balance of Vendor A and Customer A invoices
4) List of Vendor B invoices and total amount
4) List of Customer B invoices and total amount
5) Balance of Vendor B and Customer B invoices
Only in this way I can display properly the result of compensation for each couple of Vendor/Customer.
In the standard display the result has no meaning.
Thanks a lot for your help
Cheers,
Emanuela -
Fbl5n: The printer provides me only one customer items for each page...
Hi all,
launching t.code FBL5N, and printing the repost list, the printer provides me only one customer items for each page...
I'd like obtaining more customer items for each page...
What to do?
ThanksHi Umberto..
Thats how the standard report works..
To meet your requirement, you would probably need to look at another standard report.
In case you need further clarification, please feel free to write to me..
Good Luck!
Lucid-Mind... -
Customer Item Open Interface Validation
Hi Folks,
I have to write package for customer item open interface ,
can anyone let me know what are the validation required or if any one have package written ,please share it with me .[email protected]
Waiting for your kind response.
Thanks in advance....
Regards
RPHi
Please find the code below for Customer Item Interface
HTH
Dinesh
declare
ex_not_ok exception ;
Cursor cur_cust_item is
select b.*,rowid from btl_cust_item b ;
rec_cur_cust_item cur_cust_item%rowtype;
vc_rowid varchar2(50);
vc_error_desc varchar2(2000);
vc_org_code varchar2(20) :='F02';
vc_org_id varchar2(20) ;
vc_inv_item number ;
vc_cust_id varchar2(50) ;
vc_create_by number;
vc_last_updated_by number;
vc_user_name varchar2(100);
vc_login_name varchar2(30) := '&1';
vc_master number;
begin
vc_org_id := &2 ;
vc_master := &3;
begin
select user_id ,last_updated_by ,user_name
into vc_create_by ,vc_last_updated_by , vc_user_name
from fnd_user
where user_name = vc_login_name;
end;
open cur_cust_item; -- open cursor
loop
begin
fetch cur_cust_item
INTO rec_cur_cust_item;
vc_rowid := rec_cur_cust_item.rowid;
exit when cur_cust_item%NOTFOUND;
-- perform the mandatory validations
-- 1. Check the validity of the customer
begin
select count(*)
into vc_cust_id
from ra_customers
where upper(customer_number) = upper(rec_cur_cust_item.customer_number);
if vc_cust_id > 0 then
null;
else
vc_error_desc := rec_cur_cust_item.customer_number||' '|| rec_cur_cust_item.customer_name ||' - Customer Number Does not Exist in Ra_customers';
raise ex_not_ok;
end if;
exception
when no_data_found then
update btl_cust_item
set process_flag = 'E',
error_message = 'XREF- Customer Does not exist '||vc_error_desc
where rowid = vc_rowid;
end ;
-- 2. Check that the Customer Item Is not Null
begin
if rec_cur_cust_item.customer_item_number is not null then
null;
else
vc_error_desc := rec_cur_cust_item.Customer_Number ||' - '|| rec_cur_cust_item.customer_item_number || ' - Customer Item has no value ';
raise ex_not_ok;
end if;
end;
-- 3. Validate the Inventory Item
begin
select count(*)
into vc_inv_item
from mtl_system_items a, org_organization_definitions b
where a.organization_id = b.organization_id
and rec_cur_cust_item.inventory_item = segment1
and a.organization_id = vc_org_id;
if vc_inv_item != 0 then
null;
else
vc_error_desc := 'Inventory Item '|| rec_cur_cust_item.inventory_item ||' is not valid/exist in mtl_system_item ';
raise ex_not_ok;
end if;
end;
rec_cur_cust_item.commodity_code := 'MISC';
insert into mtl_ci_interface (
PROCESS_FLAG ,
PROCESS_MODE ,
TRANSACTION_TYPE ,
CUSTOMER_NUMBER ,
CUSTOMER_NAME ,
CUSTOMER_ITEM_NUMBER ,
ITEM_DEFINITION_LEVEL ,
COMMODITY_CODE ,
INACTIVE_FLAG ,
LOCK_FLAG ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
CREATED_BY ,
--LAST_UPDATE_LOGIN ,
ERROR_CODE ,
ERROR_EXPLANATION
values
'1' , --PROCESS_FLAG
'1' , --PROCESS_MODE
'CREATE' , -- TRNASACTION_TYPE
rec_cur_cust_item.customer_number , --CUSTOMER_NUMBER
rec_cur_cust_item.customer_name , --CUSTOMER_NAME
rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER
'1' , --ITEM_DEFINATION_LEVEL
rec_cur_cust_item.commodity_code , --COMMODITY_CODE
'2' , --INACTIVE_FLAG
'N' , --LOCK_FLAG
sysdate , --LAST_UPDATE_DATE
vc_last_updated_by , --LAST_UPDATED_BY
sysdate , --CREATION_DATE
vc_create_by , --CREATED_BY
--'10' , --LAST_UPDATE_LOGIN
'N' , --ERROR_CODE
' ' --ERROR_EXPLANATION
Insert into mtl_ci_xrefs_interface (
PROCESS_FLAG ,
PROCESS_MODE ,
TRANSACTION_TYPE ,
CUSTOMER_NUMBER ,
CUSTOMER_NAME ,
CUSTOMER_ITEM_NUMBER ,
ITEM_DEFINITION_LEVEL ,
INVENTORY_ITEM ,
MASTER_ORGANIzATION_ID ,
PREFERENCE_NUMBER ,
INACTIVE_FLAG ,
LOCK_FLAG ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
CREATED_BY ,
--LAST_UPDATE_LOGIN ,
ERROR_CODE ,
ERROR_EXPLANATION
Values
'1' , --PROCESS_FLAG
'1' , --PROCESS_MODE
'CREATE' , --TRNSACTION_TYPE
rec_cur_cust_item.customer_number, --CUSTOMER_NUMBER
rec_cur_cust_item.customer_name , --CUSTOMER_NAME
rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER
'1' , --ITEM_DEFINATION_LEVEL
rec_cur_cust_item.inventory_item, --INVENTORY_ITEM
vc_master , --MASTER_ORGANISATION_ID
'1' , --PREFERENCE_NUMBER
'2' , --INACTIVE_FLAG
'N' , --LOCK_FLAG
sysdate , --LAST_UPDATE_DATE
vc_last_updated_by , --LAST_UPDATED_BY
sysdate , --CREATION_DATE
vc_create_by , --CREATED_BY
--'10' , --LAST_UPDATE_LOGIN
'N' , --ERROR_CODE
' ' --ERROR_EXPLANATION
--dbms_output.put_line( ' Inserting into reference table - done');
exception
when ex_not_ok then
update btl_cust_item
set process_flag = 'E',
error_message = 'XREF-'||vc_error_desc
where rowid = vc_rowid;
end ;
end loop;
commit;
begin
dbms_application_info.set_client_info(' ');
end;
dbms_output.put_line ( ' End time ' || to_char( sysdate, 'DD-MON-YYYY HH24:MI:SS'));
exception
when others then
dbms_output.put_line( Sqlcode || ' ' || Sqlerrm );
end ;
/ -
Does anyone know what the Lock_flag is for the customer item open interface and what it should be set to when creating customer items? It is a required field but it is not explained in the 11.5.9 documentation.
Hi
I didn't find this flag in TRM of 11.5.10. In what table did you find it?
Regards,
Ricardo Cabral -
Data provider problem in custom item renderer
I have a complex, custom item renderer for a list. I add
items that I extracted from an xml to the data provider using the
IList interface. But when displaying the list, the items are all
screwed up. Each rendered item has some parts which are initialized
as different components depending on the values from the xml. This
initialization is called in the item renderer for the
creationComplete event.
The weird thing is that when I output the dataProvider to
check its values, some of the items have internal uids sometimes
and sometimes they don't. If I output the dataProvider right after
I add the items to it, none of them get internal uids. But from the
initialize method, some of them do and some don't.
To make things weirder, sometimes, as I scroll up and down
the list, the dynamic components get all switched up. I'm either
having a problem with internal uids or with the creation policies
for lists. Or it's probably some simpler mistake I have yet to see.
Anyone have any idea where the problem could lie? Any help is
greatly appreciated.Any successful render must:
1) override the set data property of the component
Further, best practice is to store any data you need in the
override set data(), and call invalidateProperties(). Then do the
actual work in an override commitProperties() function.
The framework is smart about when to call commitProperties
efficiently. set data() gets called much more often.
Tracy -
Display filename in url for custom items
Hi - I'm rying to find out how to open a word doc in a browser and display the FILENAME (xyz.doc) instead of the NAME (123.doc) - which comes from the wwdoc_document$ tbl .
The word document was added to a portal page via a file attribute within custom text item. It seems that the document is not referenced within the actual page group when using the custom item compared to using standard file item format.
I can open the doc in browser using the NAME format - eg, .../portal/pls/portal/docs/1/1234.doc but I need to open via the PAGEGRP/FILENAME format eg, .../portal/page/portal/PAGEGRP/xyz.doc
BTW - We're using portal 10.1.4
Any ideas appreciated
Cheers,
JustinHi guys,
I finally discover the solution. Just try this:
First, create a Procedure like this:
PROCEDURE ShowSaveDoc (pFile wwdoc_document$.name%TYPE) IS
v_BlobContent wwdoc_document$.blob_content%TYPE;
v_MimeType wwdoc_document$.mime_type%TYPE;
v_Filename wwdoc_document$.filename%TYPE;
BEGIN
SELECT blob_content, mime_type, filename
INTO v_BlobContent, v_MimeType, v_Filename
FROM wwdoc_document$
WHERE name = pFile;
owa_util.mime_header(v_MimeType, FALSE);
htp.p('Content-Length: ' || DBMS_LOB.getlength(v_BlobContent));
htp.p('Content-Disposition: attachment; filename="' || v_Filename || '"');
owa_util.http_header_close;
wpg_docload.download_file( v_BlobContent );
EXCEPTION
WHEN NO_DATA_FOUND THEN
htp.p('Error - No Data Was Found');
WHEN OTHERS THEN
htp.p('Error - ' || || SQLERRM);
END;
On the HTML code where you have the link try this:
htp.p('< a id="someid" title="download" alt="download"
h_ref="/portal/pls/portal/portal.galeria_pkg.showsavedoc?pFile=' ||rec.id_doc || '"> Download '||rec.docDescription||'</a>');
where the rec.id_doc is the wwdoc_document$.name of your document.
Try it and tell me if it worked.
Its Working for me.
Thanks. -
How to use standard function keys as custom keys
how to use standard function keys as custom keys.
i have encountered that problem while developing a screen, there i'm supposed to use standard function key F2 ( which actually meant for choose) for clearing the screen fields where the cursor is present and f1 for saving data that entered in screen fields, etc...
kindly help me out.Hi ,
Solution to use SAP reserve function keys F1 .. F4 (mostly this requirement comes up for RF screens) can be acheived by assigning your new Function code using the Menu path Utilities --> F key Consistency in the Menu Painter (SE41) . Once you assign your cutom function code to the standard Fn keys the only remaining step is to make sure that you set a curson on any of the field on sceen by using the Key Word "SET CURSOR" .
If you dont use the key word SET CURSOR in the PBO of the screen then you might not see any response for F4.
Thanks -
How to force Portal not to display item content for a custom item
Hi,
I've read in several places questions about rendering an Item in a custom way, without letting portal
display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
display the content item.
As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
region, Portal does display it anyway, just after every other Attribute.
- Re: using an item type procedure
- Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
- Metalink Doc ID: Note:290534.1 Subject: Unable to Hide the "Item Content" Attribute for a Text Item
Mine scenario was the usual one:
-oracle portal 9.4.0.1
-a custom item based on custom text (so as to have the RTE to edit HTML).
-A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
-A plsql call associated to the custom item, with the flag "display inline" checked
-The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
-The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
In the stored procedure that displays the item, that I encolose, i just do:
1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
Here I try a little explanation:
An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
AND the item content is displayed.
WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
tells that inplace can be 0 or 1. But this works.
I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
if it is set to 1, it behave the usual way.
The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
I'd like to receive a feedback from Oracle regarding this behaviour.
Bye
Walter
--- This is the procedure ---
CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
styleclass in varchar2) IS
html CLOB;
idx1 number;
idx2 number := 0;
item portal.wwsbr_all_items%rowtype;
BEGIN
--retrieve item content
select * into item from portal.wwsbr_all_items where id=itemid;
html := item.text;
--check if text body contains "dirty" tags as put by Oracle RTE editor
--and strips text from <BODY> to </BODY>
idx1 := instr(html,'<BODY>');
if(idx1 > 0) then
--strip text of broken tags
idx2 := instr(html,'</BODY>');
html := substr(html,idx1+6,idx2-idx1-6);
end if;
--check if this is first time we enter this procedure
--or if text has changed
if(item.description is null or idx2 != 0) then
--update filename so next time we won't enter the IF branch
--update DIPLSAY OPTION to FUllSCREEN
--update text, if this was changed
idx1 := portal.wwsbr_api.modify_item(
p_master_item_id => item.masterid,
p_item_id => itemid,
p_caid => item.caid,
p_folder_id => item.folder_id,
p_display_name => item.display_name,
p_region_id => item.folder_region_id,
p_display_option => portal.WWSBR_API.FULL_SCREEN,
p_category_id => item.category_id,
p_category_caid => item.category_caid,
p_author => item.author,
--p_description => item.description ,
p_keywords => item.keywords ,
p_text => html ,
p_folderlink_id => item.folder_link_id ,
p_folderlink_caid => item.folder_link_caid ,
p_publish_date => item.publish_date ,
p_expire_mode => item.expiremode,
--p_file_filename => 'Changed!',
p_description=> 'changed!',
p_addnewversion => FALSE,
p_access_level => portal.wwsbr_api.FOLDER_ACCESS
-- process cache invalidation messages
portal.wwpro_api_invalidation.execute_cache_invalidation;
end if;
htp.prn('<div ');
if(styleclass is not null) then
htp.prn(' class="' || styleclass || '" ');
end if;
if(styleid is not null) then
htp.prn(' id="' || styleid || '" ');
end if;
htp.prn('>');
htp.p(html);
htp.p('</div>');
END show_item_mod;
/Hi,
I've read in several places questions about rendering an Item in a custom way, without letting portal
display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
display the content item.
As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
region, Portal does display it anyway, just after every other Attribute.
- Re: using an item type procedure
- Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
- Metalink Doc ID: Note:290534.1 Subject: Unable to Hide the "Item Content" Attribute for a Text Item
Mine scenario was the usual one:
-oracle portal 9.4.0.1
-a custom item based on custom text (so as to have the RTE to edit HTML).
-A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
-A plsql call associated to the custom item, with the flag "display inline" checked
-The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
-The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
In the stored procedure that displays the item, that I encolose, i just do:
1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
Here I try a little explanation:
An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
AND the item content is displayed.
WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
tells that inplace can be 0 or 1. But this works.
I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
if it is set to 1, it behave the usual way.
The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
I'd like to receive a feedback from Oracle regarding this behaviour.
Bye
Walter
--- This is the procedure ---
CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
styleclass in varchar2) IS
html CLOB;
idx1 number;
idx2 number := 0;
item portal.wwsbr_all_items%rowtype;
BEGIN
--retrieve item content
select * into item from portal.wwsbr_all_items where id=itemid;
html := item.text;
--check if text body contains "dirty" tags as put by Oracle RTE editor
--and strips text from <BODY> to </BODY>
idx1 := instr(html,'<BODY>');
if(idx1 > 0) then
--strip text of broken tags
idx2 := instr(html,'</BODY>');
html := substr(html,idx1+6,idx2-idx1-6);
end if;
--check if this is first time we enter this procedure
--or if text has changed
if(item.description is null or idx2 != 0) then
--update filename so next time we won't enter the IF branch
--update DIPLSAY OPTION to FUllSCREEN
--update text, if this was changed
idx1 := portal.wwsbr_api.modify_item(
p_master_item_id => item.masterid,
p_item_id => itemid,
p_caid => item.caid,
p_folder_id => item.folder_id,
p_display_name => item.display_name,
p_region_id => item.folder_region_id,
p_display_option => portal.WWSBR_API.FULL_SCREEN,
p_category_id => item.category_id,
p_category_caid => item.category_caid,
p_author => item.author,
--p_description => item.description ,
p_keywords => item.keywords ,
p_text => html ,
p_folderlink_id => item.folder_link_id ,
p_folderlink_caid => item.folder_link_caid ,
p_publish_date => item.publish_date ,
p_expire_mode => item.expiremode,
--p_file_filename => 'Changed!',
p_description=> 'changed!',
p_addnewversion => FALSE,
p_access_level => portal.wwsbr_api.FOLDER_ACCESS
-- process cache invalidation messages
portal.wwpro_api_invalidation.execute_cache_invalidation;
end if;
htp.prn('<div ');
if(styleclass is not null) then
htp.prn(' class="' || styleclass || '" ');
end if;
if(styleid is not null) then
htp.prn(' id="' || styleid || '" ');
end if;
htp.prn('>');
htp.p(html);
htp.p('</div>');
END show_item_mod;
/ -
FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065
Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
"FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"Welcome to OTN
Before posting on this forum please read
FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
you'll get some hint here
Oracle/PLSQL: ORA-06502 Error -
IHC additional key in payment item
Hi,
My requirement is to store transaction currency as 'additional key' in payment items generated when external EBS is uploaded in head office and as a result it updates internal accounts in IHC by creating just the payment items. The payment items created by external EBS doesn't populate 'Additional Key' in account determination.
However when I create payment orders, each of the payment items contained in it by default populates transaction currency as Additional Key. I'm looking for the same in payment items when they are generated by external EBS posting. I think it may be possible by making some changes in BTE but it will be really helpful if somebody has already explored it and can share the information with me.
Thanks in advance.
AbhinavFound BTE so closing this issue.
-
Vendor Line Item Display-Default value for customer items
Is it possible in selection screen of transaction FBL1N (Vendor line item display) the default value of field "customer items" to be checked?
Thanks in advance.hi Tsiami
it's not possible. if u want check customer line items go throw this TC:FBL5N
plz assign points
regards
sivareddy. -
F-32 - clearing customer items in foreign currency
Hello gurus,
please, where in SPRO can I set the possibity of clearing customer items in foreign currency in F-32 ?
Presently all items are converted to local currency and it's not possible to switch into foreign currency.
Vendor open items we can clear in foreign currency in F-44, but customer open items not.
Thank you,
OndrejWhat error you are getting in F-32 while clearing the customer in foreign currency?
Please check whether in FS00 for that customer reconciliation account, you have selected the check box "Balance in local currency". If yes, then that will not allow you to clear in foreign currency.
Regards,
SDNer
Maybe you are looking for
-
Adobe Active X will not work with my Windows 7. Suggestions?
My Adobe Reader 9.xxx was replaced with Active X, which will not work for me. I keep getting a box message that says perhaps the Adobe.com site is too busy at the tine. I would rather have my Adobe reader 9.xxxxx back as it worked very well for me.
-
Need info about Safety lead time in material master
Hi, Safety lead time in material master is used to bring requirements forward. we define this time in terms of days. I tried to use this field, but system is not bringing the requirements forward. System is planning material as other raw materials. T
-
Unable to start WebDynpro Content Administrator.....
Hello All, I am trying access webDynpro Content Administrator from ContentAdmin-> webDynpro but I am getting message <b>Missing Permissiones</b> <b>You do not have the needed permissions to start the Web Dynpro Content Administrator. Please c
-
Cannot start oracle name server
When I try and start my name server service I get the following error in my listener.log file: TNS-12502: TNS:listener received no CONNECT_DATA from client The name server will not start and if I try and execute the Names.exe I get the error: NNL-000
-
Multiple Phase values at one frequency
Hi, I have done the frequency response analysis for a device using the frequency response example from sound and vibration toolkit and i get multiple phase values at one frequency how can i reduce it to one value without any error i am posting the re