Context elements renaming
I had created one Interactive Adobe form earlier.
Now I am going to its interface and renaming some of the parameters.
I want to know whether this parameters' new names would be automatically reflected in:
a. context of the adobe form
b. all the names of the elements drag and dropped on the interactive form
Or i've to do this activity manually for each and every element renamed.
Is there a way to rename all the elements on the adobe forms to reflect the new names ?
Thanks in anticipation.
Hi Mate,
if you change the interface for new fields in a table type, or data element of a field or field name sort of.
Adobe cant recognize and pickup these changes automatically.
so you need to goto sfp tcode, open the form and refresh the context element by element.
if there are new fields to be added you need to drag and drop only then it reflects.
Cheers,
Sai
Similar Messages
-
Hi all
I have got an question. I have an ABAP webdynpro with a context node which is connected to an ABAP structure.
The context node is mapped to a context node of a view and the fields of the view are mapped to the context node of the view. So the data is send through them. That works fine.
Within this ABAP structure i have added 3 extra new fields. After creating them i activated the structure.
Within the webdynpro i have updated the context mapping between the node and the structure and also between the different mappings between the views and the componentcontroller where this node is used,
Within the context tab of all the views i see all the three new fields.
When i try to map those fields to a field in the screen it cannot be done. i get the following message:
Type (..) of the context element (..) in view (..) does not exist
Anf the new fields are gray.
Does anybody know the solution for this?
kind regards,
Anton PierhagenHi all
Thanks for all of the replies. But unfortunately the right answer wasn't there.
I had tried to map the structure and re-create the node on several levels in my web-dynpro, but there was no change after this changes.
When i created an own dataelement and an own domain in my ABAP structure, it worked.
I could select them in the webdynpro. But why????
i still not get it..
But thanks for the replies!
Kind regards,
Anton Pierhagen -
Select Option's Context Element for the REPORT_ATTRIBUTE_ERROR_MESSAGE
Hi,
We're on 7.0 ehp1.
I found a thread on same subject u201Cwdr:select_options and highlight Error Message with a Link to Inputfield u201C, Jul-23-2008, in which Thomas Jung gave an explanation of how to get the context element of the Select Options on a view.
I tried to follow it, but Iu2019m still not getting it. Please show how to get the context element of a Select Option for the u201CREPORT_ATTRIBUTE_ERROR_MESSAGEu201D .
wd_comp_controller->go_message_manager->report_attribute_error_message(
exporting
message_text = ls_messaga_text
element = ?????
attribute_name = ls_option_id
Thomas' explanation:
I gave you the code that gets you to the interface controller. From there you call the GET_API to get the component controller. After you have the component controller it is normal context coding to read the context of the Select-Options context. Run the debugger and use the Web Dynpro view to see what your context looks like at runtime. When I test this with one of my applications, the names of the context nodes that were dynamically generated was really straight forward - as it uses the names of the select-option itself. Nothing special once you reach this point - just normal context coding...."
Kind regards,
HuntrHi ,
Use the below approach to achieve this,
data:
lr_context_node type ref to if_wd_context_node,
lr_element type ref to if_wd_context_element,
message_text type string.
get the node and leadSelection of that field
lr_context_node = get_node_of_sel_field( <field>-m_id ).
lr_element = lr_context_node->get_lead_selection( ).
case <field>-m_type.
For Select option field
when if_wd_select_options=>mc_sscreen_item_type_field.
m_message_manager->report_attribute_error_message(
element = lr_element
attribute_name = 'LOW'
message_text = message_text ).
"For Parameter field
when if_wd_select_options=>mc_sscreen_item_type_parameter.
m_message_manager->report_attribute_error_message(
element = lr_element
attribute_name = 'VALUE'
message_text = message_text ).
when others.
endcase. -
How to get the context element of a F4 help of a column in ALV table?
Hello!
I know to get the context element of the current row normally through
lo_el = WDEVENT->get_context_element( 'CONTEXT_ELEMENT' ).
or: lo_el = lo_nd->get_element( index = r-parm->index ).
But this time, I have a F4 help on the cell of a column. After clicking on the F4 help I need to get the current context element. Do you have any idea, to help me?
Many thanks!
regards
MeerHello,
Kindly close the thread if your query is resolved now.
Thanks
Pradeep -
How to create a context element
Hai,
How can i create a context element for a view dynamically.
regards,Hi,
Context element or context attribute?
For context element use appropriate method in your IWDNode implementation and after creation call add method of node.
For context attribute - see appropriate tutorial : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on dynamic programming of web dynpro applications - 17.htm
Best regards, Maksim Rashchynski. -
Issue in the PDF at the time of Using current context element
Experts,
For retrieving the values in the WebDypro applications, I have used the current context element. Using that current context element I have generated the PDF.
I have faced critical issue, if the two different persons are accessing the same PDF button at a same time in the different system.
Both of them have selected the different values in the table (different id). But in the output it displays the same results (same id) for both the persons.
The PDF displays the correct results (different id) at different time interval for both the persons.
We are facing this issue, only if both the persons are clicking the PDF button at the same time.
Could you please anyone give the solution for this problem?
Application developed using WebDynpro Java NW2004
Kind Regards,
Hariprasath RHi,
First u invalidate() the current context element.
after that u put data in current context element.
Regards,
Sunaina Reddy T -
Is it mandatory to bind each & every CONTEXT element to a text field on the form?
Hello,
I am developing an Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
I have 3 elements (say, 1_Name, 2_Street and 3_City) in the CONTEXT and drawn ONLY 2 input enabled TEXT fields (for items - Name and Street of conetext) and then, BINDED them.
I did not put any associate text field for CITY and no chance of binding!
Pls. let me know that, Now can i utilize this CITY (of context) element containign data in the Java script? is this CITY is VISIBLE in the java script, even though it did not get BINDED with any text field on the form?
THank youThank you.
If it got BINDED, i knew how to point/get/visible the CITY element (of CONTEXT) containming data by using the below java script,
(this.rawValue == "A") or i can also get it with script of VISITOR.Page3.Subform11.CITY.rawvalue = "A"
If i do NOT bind CITY to any TEXT FIELD of FORM, then, how i can retrieve/get/visible/point CITY content? -
OA_MEDIA referencing a value outside the Context Element
I am attempting to use XML Publisher to change a logo image at the top of a template. I have used the following command with great success:
url:{concat('${OA_MEDIA}’,’/',//C_PAYGROUP',.jpg')}
Unfortunately, this works fine when I have C_PAYGROUP in the Context Element of the XML output I am referencing... in reality this is not the case as I need to get to the absolute path and specify my C_PAYGROUP value from the top level down... i.e:
/HBOSRA0830/LIST_G_SEL_CHECKS/G_SEL_CHECKS/C_PAYGROUP
I have tried the following syntax to no avail and hope someone will be able to help me out a little...
url:{concat('${OA_MEDIA}/',/HBOSRA0830/LIST_G_SEL_CHECKS/G_SEL_CHECKS/C_PAYGROUP,'.jpg')}
Many many thanks,
TerenceHi Terence,
Looks like a slight problem with where the slashes etc are.
The following will work - note the slash after OA_MEDIA as a seperate field in the concat.
url:{concat('${OA_MEDIA}','/',/HBOSRA0830/LIST_G_C_PAYGROUP/G_C_PAYGROUP/C_PAYGROUP,'.jpg')}
Robert -
Lead Select Context Element in WD ALV
Hi,
Can anyone tell me how to retrieve the lead select row( Context element) for an ALV Table.
Best Regards
SidHi Sid,
You can use ON_LEAD_SELECT method of ALV to do this.
Go to the Methods tab of the view in which you have embeded your ALV.
give method name lead_Select, method type as Event Handler, in event select from F4
ON_LEAD_SELECT.
Hope this solves your problem.
Regards,
Ismail. -
Tracking the CONTEXT element's holding values?
Hello
I am developing an Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
I have CONTEXT and drwan input text fields in my_interactive_form.
1) I want to debug the form that How the CONTEXT is holding the values and With wht values the HIDDEN input text fields are holding?
2) is it mandatory to BIND each & every CONTEXT element to a text input field on the form IN ORDER TO utilize the context element content in the Java script editor?
Thank youThank you.
I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP) When i opened this VISITOR interactive form in a browser, right clicking and checked form
PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)"
When i opened this VISITOR interactive form in the browser, i did not see MENU options (like EDIT)! i saw small icons of Pring, Save, Page, Zoom, Find.
And a Purple ribbon with text of "Please fill out the following form. You can save data typed into this form"
But, i did not see any other MENU optios, like FILE, EDIT, VIEW, DOCUMENT, TOOLS, WINDOW, HELP! Pls. let me know
But, i downloaded some 'ABC' pdf from internet and opened it, here i can see all these MENU options, like FILE, EDIT!
1) In this case, How can i setup DEBUGGING settings as mentioned above?
2) Why the MENU options got disappearing!
Than you -
Where-used list for view methods, and context elements
I want to know where a context element in the component controller is used (and if I can delete it).
Is there something like a where-used list for a context element?
Similar question:
Is there a where-used list for a method of a view?
Best regards,
DanielHi Daniel,
Its not supported for both of these..
Regards
Anuj Goyal -
Element attributes linked to context elements
Is there a way to find out what interface element attributes are linked to specific context elements (without searching the entire layout)?
Hi Bob,
There is no direct way to identify the field associated to a UI element. SAP has porvided some protected methods to get this details for internal purpouse but not for external use.
the only way is to drill down through the context path of the root container.
Regards
Sravan Varagani -
Bind additional context elements
Hi
İs it necessary to restart AS Java when editing the model
binding and bind additional context elements to an
already existing Model Node in the context?
Regards
erdemHi,
It is only necessary when you are trying to reimport the BAPI ....incase your portal is IN SP14 then no problem.
You can use the ARFC tool to remove the cache
http://blrsapepdev002:50000/webdynpro/dispatcher/sap.com/tcwdtools/WebDynproConsole
Try removing the cache from here , or wht you can do ....open the JCO which is used for the MetaData and recreate it.
all of them works fine
regards
pankaj prasoon -
How to bind Context elements to a HTML template
Hi,
I want to display all the context elements in my webDynpro application in a html page, I have html template my requirement is to bind all the context elements to fields in the html template.please provide me the solution.
thanks,
kishore.Hi Kishor,
I do not think there is some straight forward solution for this scenario.
You need to create two applications 1 webdynpro application and one portal application.
What you can do is Pass the context values from webdynpro application to a flat file and store then in that(every time create a new flat file). Now after successfully creation of flat file call the portal application which reads the flat file and get the context values and set them.
If you require more info, i can help you.
Regards
Narendra -
WSRP Portlets - HTML elements renamed
Moved from Webcenter Spaces.
All,
I have a JSR-168 portlet that I WSRP-ed using the wsrp-predeploy tool. I have this registered in Weblogic as a WSRP producer and added to Webcenter Spaces. What I notice is that when rendered on Spaces, the HTML elements including javascript function names are renamed and prefixed with some string values. For e.g. my input fields have "_adfp_portlet_field___adfpfp_f1723360181_adfpsep_f0_adfpsep_" added at the beginning and my javascript function names (within the script tag) have "adfp1723360181_" added.
The portlet I have (it's the JasperServer portlet fwiw) uses Javascript functions for navigation. As a result of this renaming, none of the button controls work in the portlet.
Is there anything I can do about this?
BijeshYannick,
That was brilliant. It worked.
BTW, I notice that the edit mode of my portlet always opens in the Maximized state. This happens even though the portlet render url is constructed with "normal" window state. Is there anything else I need to do so Webcenter displays the portlet in normal mode?
Edited by: Bijesh Krishnadas on Dec 5, 2010 7:33 PM
Maybe you are looking for
-
Merging of same records in columns while printing
Dear All, Kindly let me know how to merge same records in a column while printing. I used ALV_GRID_DISPLAY and merged using sort in LIST but not able to get the same while printing. Regards, Karthik
-
Is there a seeded HR Hierarchy change event
I am building outbound SOA interface using BES, install is EBS 12.1.1 Is there a seeded event that fire when items are moved in HR Hierarchy? I tested with the following events subscribed: oracle.apps.per.api.organization.create_hr_organization oracl
-
SAP NetWeaver 7.0 (2004s) Trial Version - Full Java Edition includes EP
hi all, i have install SAP NetWeaver 7.0 (2004s) Trial Version - Full Java Edition successed. i can browser http://localhost:50000,it's ok. but i can't enter EP,i try http://localhost:50100/irj/portal or http://localhost:50000/irj/portal how can i en
-
I have created a 2015 calendar in IPhoto but the month is printed in a tiny font. I can't make it larger. The 2014 calendar used a large font for the month. How can I resolve this so can actually read the name of the month without my glasses?
-
Self join webservice bpel -cant able to use the variable again and again
Hi all, I am trying to call a webservice in a loop(while loop) the input variable(same),on assigning next value of the iteration. Giving error Can some one help us in getting the right way to call webservice i a loop with right variable Thanks. siva