Getting Text for OAMessageChoiceBean
Hi All,
I tried this:
OAMessageChoiceBean Severity = (OAMessageChoiceBean)webBean.findChildRecursive("HIssueIncidentSeverity");
String strSeverity = Severity.getText(pageContext);
strSeverity should give me the text which appears in the drop down field "HIssueIncidentSeverity" ....but it gives me the Value attribute value.
One more thing,
The field "HIssueIncidentSeverity" has the "View Instance" and "View Instance Attribute" properties set. But all the Picklist properties are null.
Then, how am I able to see the text options in the drop down ?
This is a seeded field on the SR Creation Page under the Customer Support Specialist responsibility.
Thanks,
Amit
No, but you did me doubt.
I created and activated a report of four lines
REPORT zrgstst.
TABLES: a137.
a137-land1 = 'US'.
CALL SCREEN 100.
I build a simple dynpro with one field A137-LAND1, i answered yes to refer to ddic, i activated dropdown as listbox, enter, enlarge visible field. activate.
- When the screen pop up, the text is visibile as "US United States of America"
- When i click on the field and change the country the text changes with the code
The dynpro has no instruction at all in PBO and PAI, none at all (i left using /N..)
Regards
Similar Messages
-
How to get Text for nodes in Tree Structure
Hi Friends,
How to get Text for nodes in Tree Structure
REPORT YFIIN_REP_TREE_STRUCTURE no standard page heading.
I N I T I A L I Z A T I O N
INITIALIZATION.
AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
ID 'YFIINICD' FIELD SY-TCODE.
IF SY-SUBRC NE 0.
MESSAGE I000(yFI02) with SY-TCODE .
LEAVE PROGRAM.
ENDIF.
class screen_init definition create private.
Public section
public section.
class-methods init_screen.
methods constructor.
Private section
private section.
data: container1 type ref to cl_gui_custom_container,
container2 type ref to cl_gui_custom_container,
tree type ref to cl_gui_simple_tree.
methods: fill_tree.
endclass.
Class for Handling Events
class screen_handler definition.
Public section
public section.
methods: constructor importing container
type ref to cl_gui_custom_container,
handle_node_double_click
for event node_double_click
of cl_gui_simple_tree
importing node_key .
Private section
private section.
endclass.
*& Classes implementation
class screen_init implementation.
*& Method INIT_SCREEN
method init_screen.
data screen type ref to screen_init.
create object screen.
endmethod.
*& Method CONSTRUCTOR
method constructor.
data: events type cntl_simple_events,
event like line of events,
event_handler type ref to screen_handler.
create object: container1 exporting container_name = 'CUSTOM_1',
tree exporting parent = container1
node_selection_mode =
cl_gui_simple_tree=>node_sel_mode_multiple.
create object: container2 exporting container_name = 'CUSTOM_2',
event_handler exporting container = container2.
event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
event-appl_event = ' '. "system event, does not trigger PAI
append event to events.
call method tree->set_registered_events
exporting events = events.
set handler event_handler->handle_node_double_click for tree.
call method: me->fill_tree.
endmethod.
*& Method FILL_TREE
method fill_tree.
data: node_table type table of abdemonode,
node type abdemonode.
types: begin of tree_node,
folder(50) type c,
tcode(60) type c,
tcode1(60) type c,
tcode2(60) type c,
text(60) type c,
text1(60) type c,
text2(60) type c,
end of tree_node.
data: wa_tree_node type tree_node,
t_tree_node type table of tree_node.
wa_tree_node-folder = text-001.
wa_tree_node-tcode = text-002.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-003.
wa_tree_node-text1 = 'GR/IR aging'.
wa_tree_node-tcode2 = text-004.
wa_tree_node-text2 = 'Bank Balance'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-005.
wa_tree_node-tcode = text-006.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-007.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-008.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-009.
wa_tree_node-tcode = text-010.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-011.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-012.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
node-hidden = ' '. " All nodes are visible,
node-disabled = ' '. " selectable,
node-isfolder = 'X'. " a folder,
node-expander = ' '. " have no '+' sign forexpansion.
loop at t_tree_node into wa_tree_node.
at new folder.
node-isfolder = 'X'. " a folder,
node-node_key = wa_tree_node-folder.
clear node-relatkey.
clear node-relatship.
node-text = wa_tree_node-folder.
node-n_image = ' '.
node-exp_image = ' '.
append node to node_table.
endat.
at new tcode .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode.
node-text = wa_tree_node-text .
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
endat.
append node to node_table.
at new tcode1 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode1.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text1.
endat.
append node to node_table.
at new tcode2 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode2.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text2.
endat.
append node to node_table.
endloop.
call method tree->add_nodes
exporting table_structure_name = 'ABDEMONODE'
node_table = node_table.
endmethod.
endclass.
*& Class implementation
class screen_handler implementation.
*& Method CONSTRUCTOR
method constructor.
create object: HTML_VIEWER exporting PARENT = CONTAINER,
LIST_VIEWER exporting I_PARENT = CONTAINER.
endmethod.
*& Method HANDLE_NODE_DOUBLE_CLICK
method handle_node_double_click.
case node_key(12).
when 'Creditors'.
submit YFIIN_REP_CREADITORS_AGING via selection-screen and return.
when 'Vendor'.
submit YFIIN_REP_VENDOR_OUTSTANDING via selection-screen and return.
when 'Customer'.
submit YFIIN_REP_CUSTOMER_OUTSTANDING via selection-screen and
return.
when 'GR/IR'.
submit YFIIN_REP_GRIR_AGING via selection-screen and return.
when 'Acc_Doc_List'.
submit YFIIN_REP_ACCOUNTINGDOCLIST via selection-screen and return.
when 'Bank Bal'.
submit YFIIN_REP_BANKBALANCE via selection-screen and return.
when 'Ven_Cus_Dtl'.
submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
when 'G/L_Open_Bal'.
submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
when 'Usr_Authn'.
submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
endcase.
endmethod.
endclass.
Program execution ************************************************
load-of-program.
call screen 9001.
at selection-screen.
Dialog Modules PBO
*& Module STATUS_9001 OUTPUT
text
module status_9001 output.
set pf-status 'SCREEN_9001'.
set titlebar 'TIT_9001'.
call method screen_init=>init_screen.
endmodule. " STATUS_9001 OUTPUT
Dialog Modules PAI
*& Module USER_COMMAND_9001 INPUT
text
module user_command_9001 input.
endmodule. " USER_COMMAND_9001 INPUT
*& Module exit_9001 INPUT
text
module exit_9001 input.
case sy-ucomm.
when 'EXIT'.
set screen 0.
endcase.
endmodule.
exit_9001 INPUTyou can read the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
Regards,
Gopi .
Reward points if helpfull. -
Not getting texts for infoobject 0CPR_STAT1 (cProject- System Status)
Hi All,
We are not getting texts for infoobject 0CPR_STAT1 (cProject->System Status), 0CPR_STAT2, 0CPR_STAT3. Even in source system r/3 there are no records and our function team doesn't no how to get the records in that data source.
DATA SOURCE NAME 0DPR_STSYS1_TEXT, 0DPR_STSYS2_TEXT, 0DPR_STSYS3_TEXT
Can anyone suggest.
Thanking you in anticipation.
Regards
VandanaPlease check these links for the table names:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ea/1847ff9624314e9bc7601b890b662a/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/49/c71c047b24014aac52785bf42aee83/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b8/5cec634da16f4da2861aeb9e6f966e/frameset.htm
Hope this helps... -
upgraded my phone and now I'm getting texts for another phone on my account . How do I fix this ?
What does "upgraded my iPhone" mean? Does it mean you purchased a new iPhone? Does it mean upgraded iOS?
If you purchased a new iPhone, was it previously owned? -
I keep getting texts for someone else on my apple acct though unchecked in settings
We just added another phone to our apple account and even though that number is not checked on my phone I keep getting their texts. How do I get that to stop?
Go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with your new credentials. If all you did was modify your existing ID rather than creating and entirely new ID, you can choose Delete from My iPhone when prompted. Your data will still be in iCloud and will download to your phone when you sign back in.
-
Restored iphone is getting texts for another iphone on this same account
We restored my son's iPhone 4 after he locked it due to forgetting his passcode. The restore worked, all of his contacts were there, along w/ all of his Dads contacts. Now my son's iPhone is getting all of his father's texts, b/c they were on the same iCloud and iTunes account. How can I fix it so my son only gets his own contacts and texts?
KMartin47 wrote:
Thanks, that is a one solution, except he is only 12 years old, not 13. Which is the age that Apple requires you to be to create an Apple ID, according to COPPA.
And you are not capable of creating one for his use because ....?
you could also disable any iMessage send and receive addresses on his phone other than the actual phone number: Settings App > Messages > Send and Receive. Or create an email address specifically for him to use. -
How to get the text for the new query
Hi all...
we have created a new query by copy of existing query. iwe have changed only the sales area in the filter.
when we run the original query in japan language, getting japan text for the material where as for the new query it is not getting japan text.
we have extracted text masterdata for sales area but when we run the query it is not displaying material description in japan language.
how to get text for the material in the new query?
thankshi,
What is the output for text filed you are getting as of now?
Check the properties of the material in old query?
Generate the query in tcode RSRT and execute and check.
Check if the Display as properties is selected as "Key and Text".
try to replace it back(sales area) in filters and check in new query - if u are getting the desired output or not.
Regards
KP -
Header Vendor text is not getting displayed for PO in BBP_PD transaction.
Hi Experts,
We are upgrading SRM 3.0 to SRM 7.0 .In the upgraded sys the Header Text 'HTXT' is not getting displayed for the Purchase order created in BBP_PD. For the SCs the Header text field is populated correctly.
Inputs on this will be very helpful.
Regards,
Ravi.KRavi,
Check in IMG if the text schema is used in configuring PO transaction type. Define Transaction Types is the setting.
SG -
My hubby just got me a macbook air for Xmas which is awesome. Set it up to be able to ichat on it as well as on my iphone. Only now i wont get texts on my iphone- ONLY on my laptop. How can i configure so that I can get texts on my computer AND my phone. NOT just one or the other? Please help!
Hi,
The Mac version will use your Apple ID as the first and only choice...
... Until you add the same Apple ID to Messages on the iPhone.
Once this is done it is best to Restart the app on the Mac.
This will then get at least one, possibly two pop up saying the iPhone in using the Apple ID and the iPhone Number.
Accepting these Pop ups will enable the iPhone as an ID to be used in the Receive At List.
It will also appear in the drop down at the bottom for "Start New Conversations from"
If you did not set iyt up like this then remove the apple ID from the iPhone in the Settings > Messages.
Place the iPhone in Airplane mode to break with the server.
Take it out of Airplane Mode and re-add the Apple ID in the Messages settings.
Then Restart the app on the Mac as above.
Having done this you can still turn Off the Apple ID on the iPhone (receive as the iPhone number only) or disable the iPhone Number on the Mac (receive Apple ID stuff only)
The Start New Conversations option on the Mac version means you could use the iPhone number so people don't get your email.
8:26 pm Thursday; December 26, 2013
iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
I have 3 phones on one Icloud account. They have been this way for over a year. After an update last week one of the phones started getting messages for all of the other lines. We fixed this under the send and receive under settings. It was fine for a few days. Suddenly it started happening again. Yesterday after two hours on the phone I changed my apple id and it is still happening. Before that Verizon had told me to turn off my imessage when that happened I could not get any texts at all from other Iphone users.
Make 3 different iCloud accounts and use ONLY for iMessage. That will permanently fix your issue.
-
How to get the texts for each line item for Sales order in a smartform
I'm createing a smart form in which i need to display certain texts for each line item of a sales order. How can i get those??
I'm trying with the table STXH and FM read_text... but i'm not clear how and what i'm getting... can anybody pls help me.....Hi There,
But then i will be getting only the value. i want to link that against the particular material of the Purchase Order.
Like for ex:
PO No. Material Code Line Item Basic Excise Tax Inv Value
0000001 5000251 010 100 16 4.64 120.64
0000001 5000252 020 200 32 9.28 241.28
Can u help me on this?
Regards,
Jitesh -
I have one contact that I've been texting for months, about 5 hours ago, I started receiving an error that the text was not sent. However, if I text a picture and then text with the picture the message goes through. Why am I getting this error?
You can also try out few things >
1) check if the ipod constantly appears in mycomputer section .
- if it does try changing the drive letter of the ipod and try to format the ipod drive(Right click format)
2) if its not comin up in mycomputer then.. there has to be problem with the USB drivers in your computer
you can try
http://docs.info.apple.com/article.html?artnum=304508
The best way to check whether the ipod is faulty or the computer is creating the problem is,
connect the ipod to a different computer which has itunes on it(If possible) -
Getting error while trying to set text for form value field in oaf
Hi ALL,
When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
I tried below way.
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
containlineid.setText(pageContext,"test");
ThanksHI Keerthi,
I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
public class XXDPECONTAINLINESCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
OARawTextBean startDIVTagRawBean =
(OARawTextBean) webBean.findChildRecursive("DivStart");
System.out.println("debhorizontal"+ startDIVTagRawBean);
// addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String preplenish = pageContext.getParameter("item1");
String pworkorder = pageContext.getParameter("item2");
String pdmr = pageContext.getParameter("item4");
String punloading = pageContext.getParameter("item6");
String prrnum=pageContext.getParameter("item16");
String pworknum=pageContext.getParameter("item14");
String pdtr=pageContext.getParameter("item13");
Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
if(pageContext.getParameter("item11")!=null)
if(am !=null)
am.invokeMethod("getSearchData",param);
if (pageContext.getParameter("item30") != null) {
String recout = (String)am.invokeMethod("getSelectedData");
System.out.println("deb multi select test"+recout);
System.out.println("1111test1"+pageContext.getParameter("item32"));
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
System.out.println("1111test2"+pageContext.getParameter("item32"));
//containlineid.setValue(pageContext,recout);
System.out.println("1111"+pageContext.getParameter("item32"));
/// System.out.println("22222"+containlineid.getValue(pageContext));
containlineid.setValue(pageContext,recout);
containlineid.getValue(pageContext);
System.out.println("1111test3"+pageContext.getParameter("item32"));
--------------Error it is giving in the page as----------------
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
Thnaks -
How user can get a Sales Text for the any Line Item in the Billing?
Salute Masters ! !
How user can get a Sales Text for the any Line Item in the Billing?
It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
Where I can configure in system for all.
Rgds
Srivastav
09973504950Hi,
Sales text can be copied from customer to order , order to delivery and delivery to billing .
Check the T-code : VOTXN , do the customization as per your requirement.
check the below link :
http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm -
I want to use my old iphone for my kids as an ipod. How do I keep from getting text messages on it when it is turned on? If it is on, and my droid razar is on, text messages will go to the iphone. It is either a 4 or 4s ...I don't have Siri, so I think it's a 4. Thanks
Another thing to remember is the phone is actually usable for 911 calls and maybe others. Not a real good idea. Especially for a child.
It would depend however on the age of the child.
Good Luck
Maybe you are looking for
-
Flash Gallery - Need Help Please!
Hi, I want to make an image gallery like this (see image) using Flash. The gallery uses an .XML file to dynamically load the images, so all you need to do is size your images and then add them to the appropriate folder, then edit the .XML file. The t
-
Dear, SAP experts, i have one issue related with import PO. After PO, the customs invoice is made then MIGO, And then user do J1IEX transaction for capture excise entry but in this tranasaction the entry is passed in USD, Instead of INR. The PO is in
-
After updating to Mavericks the apps store gives me the message "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled." How do I still update apps such as iphoto??
-
Hi, Am not able to connect to sap. while opening connection i get the error. Gateway is open and sap router is up and running. please find the trace file extract : ERROR file opened at 20110428 111949 India Standard Time, SAP-REL 710,0,155 RFC-VER 3
-
Have old G4 Running OS 10.4.10 but want OS 9.1 back!!!!
I have an old G4 450Mhz PowerPC which used to run 9.1 and I have the disc. When I purchased a new system, I installed OS 10.4.10 on the old G4 as well. Now I have some programs that I need 9.1 in order to run. When I go to install 9.1 from the disc,