URL link in data element documentation
Is it possible to create a url link within the documentation of a data element to allow the user to launch the web browser and navigate directly to a specified webpage?
Regards
Mark Briggs
Hello,
I am not sure but you can try this out. Go to se38 and documentation for a test program. Click on Goto and then Change editor. write a text that you want to give a link to. Make its paragraph format as SAPfind Reference. Select the text goto insert link. It will pop you up with a box. give the name of your program but how to link it is another mystery.
Try these function modules.
IWB_HTML_HELP_OBJECT_SHOW
IWB_HTML_HELP_EXTENDED_HELP
and see this program BCALV_GRID_F4_HELP may be of some help.
REgards,
SHekhar Kulkarni
Similar Messages
-
URL in data element documentation (F1 help)
Hi, is it possible to insert a URL within a data element documentation ? I know it is possible to link the F1 help functionality to go to a URL instead of the data element documentation, but what was asked is to display the regular documentation for the data element, but include a URL to a web site for further information. Any idea how to do this ?
Hi,
Check This Link
http://help.sap.com/saphelp_erp2005/helpdata/en/49/e8884118aa1709e10000000a155106/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/b6/ab3a9003ac11d4a73f0000e83dd863/frameset.htm
<b>Also to add link in Documentation</b>
Do this
1) Open Program
2) Click on documention ( open documentation Window for any program )
3) Follow this Menu Option.
Insert--->Link
A dialog Box will Be opened
In Documentation Class
Select <b>WeB Application</b> From F4 Help Option
Save and activate.
<b>Rewards Points & Mark Helpful Answers if it helps.</b>
Message was edited by: Manoj Gupta -
How to translate data element documentation
Hi,
Please help me finding the solution to the above issue.
Here i am trying to translate Documentation for custom Data Element.
ThanksCall transaction SE63: menu Translation, Long texts, ABAP dictionary, Data Element Documentation.
Regards -
SAPScript: includung a domain documentation in a data element documentation
Dear ABAPers,
I have a couple of (self-defined) DDIC data elements referring all to the same domain. How does the SAPScript INCLUDE-command need to look like in order to include the domains text in the data element text? (which object and which ID needs to be provided for domain documentation?).
Thanks in advance
AndreasHi Pushpraj,
for any kind of DDIC-object (table, structure, data element, domain...) you can maintain documentation, which is saved as SAPScript (there is a button "Documentation" or in the case of the domains you have to go via the menu "Goto -> documentation"). In that sort of SAPScript-based texts you can basiscally include any other SAPScript-Text with the INCLUDE-Command.
Example: with SAPScript Command "INCLUDE BELEGART" you can reuse SAPs standard help-text for field BKPF-BLART. But usually the SAPScript INCLUDE command looks like this:
INCLUDE <name_of_text> OBJECT <object> ID <ID>.
Thanks
Andreas
Edited by: Andreas Fluegel on Mar 9, 2009 3:11 PM -
Mechanism for Info Object Data elements inherit source documentation?
Say I am in ECC. I go to SE11, give table name MARA and then doubleclick on the dataelement 'MATNR'. Then I click on documentation. I get a popup with Short text " Material Number" and Definition "Alphanumeric key uniquely identifying the material'.
I am interested in the latter information that is 'Definition' - & in general whatever documentation comes up for data element in ECC/CRM/SCM/SRM.
Now I log into SAP BI. I find that under characteristic 0Material, the data element is /BI0/oimaterial. When I double-click this datamaterial and press the documentation button, the system says 'No documentation'.
My Questions:
1. IS there a switch we could turn on in source [ECC/SRM/CRm/SRM] so that the data element in SAP BI inherits the original source field data element documentation.
{ I am not too convinced of the argument- that in BI we have info objects in ECC we have fields - since I am talking of data element level information- I would tend to think of this as an oversight of the designers [or de-prioritization] !!}.
2. Could we have an ABAP workaround? That is, in BI we identify the tables that house the mapping between the source and destination data elementsa and take out this information. Then we extract the dataelement documentation [by function DOCU_GET] and use the mapping info above to link SAP BI data element with source data element documentation.
WHY do I want to punish myself as above? My use case is, we take out SAP BI Table, field, metadata etc and create a model in a modeling tool and physical implementation in a 3rd party DW database as our own canonical, application-agnostic corporate datawarehouse. I would want the source data element documentation to flow to this last system as well as the modeling tool.
Regards
Sasankago through this links:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d7cc990-0201-0010-27a3-d0f74b75a1ee -
Use of documentation flow in data element!!!!
hi experts,
what is the use of documentation flow in data element.
if that field is selected then where will be changes reflected ?
thanks in advance,Hi,
Changing Data Element documentation (F1 help text)
SAP allows you to modify data element documentation (F1 help text), this could be useful if you want to add/remove information from the F1 help text. E.g. If you are using the field to store info it was not intended for.
Step 1
Using transaction CMOD chose the following menu option
Menu Goto->TExt Enhancements_>data elements->list cust docu.
Enter the data element that you wish to change the documentation text for, then click the change icon(Pencil in 4.6c and tick in 4.6b). You will then be presented with the following screen, which allows you to create new versions of the data element documentation. Simply click on the Change button and enter a name within the customer name range.
Regards -
How to make BI Info obj Data element in-herit source DE documntn?
Say I am in ECC. I go to SE11, give table name MARA and then doubleclick on the dataelement 'MATNR'. Then I click on documentation. I get a popup with Short text " Material Number" and Definition "Alphanumeric key uniquely identifying the material'.
I am interested in the latter information that is 'Definition' - & in general whatever documentation comes up for data element in ECC.CRM.SCM,SRM.
Now I log into SAP BI. I find that under characteristic 0Material, the data element is /BI0/oimaterial. When I double-click this datamaterial and press the documentation button, the system says 'No documentation'.
My Questions:
1. IS there a switch we could turn on in source ECC/SRM/CRM/SRM so that the data element in SAP BI inherits the original source field data element documentation.
{ I am not too convinced of the argument- that in BI we have info objects in ECC we have fields - since I am talking of data element level information- I would tend to think of this as an oversight of the designers or de-prioritization !!}.
2. Could we have an ABAP workaround? That is, in BI we identify the tables that house the mapping between the source and destination data elementsa and take out this information. Then we extract the dataelement documentation by function DOCU_GET (from eCC) and use the mapping info above to link SAP BI data element with source data element documentation.
WHY do I want to punish myself as above? My use case is, we take out SAP BI Table, field, metadata etc and create a model in a modeling tool and physical implementation in a 3rd party DW database as our own canonical, application-agnostic corporate datawarehouse. I would want the source data element documentation to flow to this last system as well as the modeling tool.
Regards
SasankaThat is, in BI we identify the tables that house the mapping between the source and destination data elementsa and take out this information. Then we extract the dataelement documentation by function DOCU_GET (from eCC) and use the mapping info above to link SAP BI data element with source data element documentation.
1) SAP don't supply this, I would imagine, because R/3 isn't the only possible source of data. I'm currently working on an app that extracts from R/3, an Oracle database and APO. From whence should I take the documentation for my MATERIAL info object? While being able to transfer the documentation of data elements might be very useful for your app, I can't see that generally it would be of interest to clients - I've certainly never heard of such a requirement. So, my opinion at least, it isn't a design flaw.
2) As you've pointed out, you can get the tables that do the mapping, so you know the source data elements, so you can get the documentation. I'm not sure of how to store the documentation, but the obvious candidate for a link between infoobject and dataelement would be master data of an own infoobject. You could wrap DOCU_GET in an RFC (if it isn't RFC enabled), and do a direct call between your 3rd party app and r/3 to get the documentation. For information about the mapping tables, I'd suggest asking that question specifically in one of the BI forums.
matt -
How to change the name of an XML data element in link editor?
Hi,
Is it possible to change the name of a data element dynamically while doing the assignment in the link editor?
Something like Transaction.ReceiveXML{/Rowsets/Row/Name1 (name="Name2")}?
Regards,
V M.Hi VM,
in the link editor you can use the Dynamic Link (see [Expression Editor|http://help.sap.com/saphelp_mii121/helpdata/EN/45/b89adfaf1447f7e10000000a114a6b/frameset.htm]).
With the dynamic link, you can enclose the property that contains the value with "#", which makes MII evaluate the value rather than use the property name. In your example, it looks something like this:
ReceiveXML{/Rowsets/Row[name='#MyProperty#']}
Hope this helps.
Michael
Edited by: Michael Otto on Oct 27, 2010 8:09 AM -
Can we open a URL link from an RFC and access the data in the link.?
Can we open a URL link from an RFC and access the data in the link.
I have the following scenario.
I have a URL link and it opens a KM folder in the Portal server and I need to put a PDF file in that KM folder
Can we do that with the help of an RFC, can we deal with Links in RFC, is there any such FM??
Regards>
SAP LEARNER wrote:
> Can we open a URL link from an RFC and access the data in the link.
>
> I have the following scenario.
>
> I have a URL link and it opens a KM folder in the Portal server and I need to put a PDF file in that KM folder
>
> Can we do that with the help of an RFC, can we deal with Links in RFC, is there any such FM??
>
> Regards
I guess you are trying to connect from the R3/ECC to the Portal Server.
Are these two systems in the same network? Do you have usernames (valid and fully authorized) in both systems? What is the OS on which these two systems are housed?
Please provide these details to proceed further.
Regards
Sabu -
URL Link in SE38 Documentation
Can any one explain me how to add URL Link in SE38 -> documentation ?
if you share step by step then it would be great.
Thanks
SeshuHello Venkat,
You did not understand my question ,I want to add URL Link in one of my custom program.
if you see SE38 Transaction -> select documentation -> change -> here i want to add URL Link.
if you execute report program ,output will have i symbol ,when you click on i symbol then you can see pop up window
here when i click on url then it should go there.
Thanks
Seshu -
Design-Time Data with external url linking
I have a data list here:
http://facetmedia.com/new/
In the portfolio section I would like to make links which are clickable for the portfolio items. I now know how to use Flex Builder to make external URL links for regular buttons. What I don't know is how to edit this data list to create external links. Any help would be appreciated.Hi trancepriest,
First, if you haven't already, you probably want to read some of the other posts here about creating a URL link button. Once you've tried doing that and feel comfortable setting up a simple URL link in a test project, then you can move on to integrating this functionality into your list.
Now -- the rest depends on how the data is represented in your list. From some of your other posts here, it actually sounds like you're no longer using a list at all, but rather just a tall layout of hardcoded items set inside a scrolling viewport. If this is the case, you can just repeat the simple button creation you did above, placing all the buttons in the appropriate places in your tall layout (on top of / next to each distinct "item" in the layout).
If you're still using a Data List with a Repeated Item, then the initial setup will be a little bit more tricky, but it will save you time in the long run since you only have to set up one button (which will then be repeated for each item). Here's how:
Find the "dataProvider" tag in the code.
Inside that will be a series of "Object" tags listing your current list data. Add a new "url" attribute to each tag, e.g. url="http://www.adobe.com".
Edit the Repeated Item's definition (in the source code, find the itemRenderer attribute on the List tag and ctrl+click it).
Create your URL link button inside there. But -- instead of typing in the URL as a string in quotes (as seen in other examples in this forum), use data.url to refer to the url attribute you added in step 2.
Hope that helps!
- Peter -
Load Documentation to Data elements
Hi,
I'm looking for a smart standard solution (BAPI?) to load documentation in DDIC to data elements.
The data which should be loaded is provided by an excel-file .
How knows a standard report or a BAPI/function module ?
Thx in advance
PeterI think a BDC can be done on transaction SE61 with appropriate input......Unfortunately, I can't check the feasibility as I don't have authorization for the transaction as of now........
Got a FM for this.......Chcek the code below...
DATA: i_lines TYPE TABLE OF tline,
wa_lines TYPE tline.
* Create Documentation
wa_lines-tdformat = '*'.
wa_lines-tdline = 'TEST'.
DO 50 TIMES.
APPEND wa_lines TO i_lines.
ENDDO.
* Create Document
CALL FUNCTION 'DOCU_UPD'
EXPORTING
id = 'DE' "For Data Element
langu = sy-langu
object = 'YA038539TEST5' "Data Element Name
TABLES
line = i_lines
EXCEPTIONS
ret_code = 1
OTHERS = 2.
IF sy-subrc EQ 0.
WRITE 'Documentation Update Successful'.
ENDIF.
Edited by: Satyajit on Dec 21, 2010 5:07 PM -
How to create hyperlinked text in F1 help of a particular Data Element.
Dear Guru
I have encountered an issuse regarding to create hyperlinked text in F1 help of a particular Data Element.
For Example what i am trying to do is ---
If you open a particular data element say "ATNAM" in se11 you will found the below documentation available for ATNAM -->>
DE ATNAM
Text
Characteristic Name
Definition
Name that uniquely identifies a *characteristic*.
>> The "characteristics" comes in hyperlinked bluecolor and if we press this it linked to below --- >>
Definition: characteristic
Classification (CA-CL)
Property for describing and distinguishing between objects, such as length, color, or weight.
Profitability Analysis (CO-PA)
I am able to make 1st part of the documentation using SE61.
But I am not able to make Hyperlinked part of that documentaion .
please show me some way to develop this
Thanks & regards
Saifur RahamanHI,
you can give the hyperlink in the documentation by going to the path below
MENUBAR ----> INSERT -----> TEXT -----> HYPERTEXT.
this will solve the issue
have a good day
regards
sarves -
Add url link in "lightbox style" js gallery
Hello,
Can someone help me add a url link in the image description? I am using an "overlay" gallery (prettyphoto) and want viewers to be able to visit a site instead of going to the next image when clicked on images that are websites.
CSS Code I am using:
<li><a href="images/work/work-full1.jpg" rel="prettyPhoto[1]" title="Trade Show Panels - 2011"><img src="images/work/work-thumb1.jpg"></a></li>
<li><a href="images/work/work-full2.jpg" rel="prettyPhoto[1]" title="Local Resource Website - Lake Wylie, SC"><img src="images/work/work-thumb2.jpg"></a></li>
and so on...
View gallery in action here:
click on the work tab.
http://doubleulabs.com/
Thanks for any help on this.I no longer use lightbox. I prefer Fancybox because you can do more with it. Copy & paste this code into a new, blank document. SaveAs test.html and preview in browsers.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5, with Fancybox2 and Captions</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--LATEST JQUERY CORE LIBRARY-->
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<!--FANCYBOX plugins-->
<link href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.css" rel="stylesheet" media="screen">
<script src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.pack.js"></script>
<style>
/**LINKS**/
a {text-decoration:none}
a:link {color:#FF0}
a:visited {color:#920000}
a:hover, a:active, a:focus {text-decoration:underline}
/**this styles image container**/
#thumbs p {
float: left;
width: 180px;
margin: 10px;
padding: 10px;
text-align: center;
border: 1px solid silver;
/**rounded borders**/
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
/**recommend using same size images**/
#thumbs img {
width: 160px; /**adjust width to thumbnail**/
height: 120px; /**adjust height to thumbnail**/
opacity: 0.75;
#thumbs img:hover { opacity: 1.0 }
/**float clearing**/
#thumbs:after {
content: ".";
clear: left;
font-size: 0px;
line-height: 0;
display: block;
visibility: hidden;
</style>
</head>
<body>
<h1><a href="http://fancyapps.com/fancybox/">Fancybox2</a> Viewer with images</h1>
<h2>Captions contain text and links</h2>
<div id="thumbs">
<!--insert thumbnails with links to full size images below-->
<p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="<a href="http://example.com">Example.com</a> some plain text here... <a href="http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 1" /></a> </p>
<p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="<a href="http://example.com">Example.com</a> some plain text here... <a href="http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 2" /></a> </p>
<p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="<a href="http://example.com">Example.com</a> some plain text here... <a href="http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 3" /></a> </p>
<p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="<a href="http://example.com">Example.com</a> some plain text here... <a href="http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 4" /></a> </p>
<p><a class="fancybox" data-fancybox-group="gallery" href="http://placehold.it/400x320.jpg" title="optional title" caption="<a href="http://example.com">Example.com</a> some plain text here... <a href="http://example.com">Example.com</a>"><img src="http://placehold.it/160x120.jpg" alt="Thumbnail 5" /></a> </p>
<!--end thumbs--></div>
<!--FancyBox function code-->
<script>
$(document).ready(function() {
$(".fancybox")
.attr('rel', 'gallery')
.fancybox({
beforeLoad: function() {
this.title = $(this.element).attr('caption');
</script>
</body>
</html>
Nancy O. -
How to add external URL link to SAP object (Purchase Order, Invoice, etc)
Hello,
Is there any function module /BAPI that allows me to add an external URL link to a existing Purchase Order
or Invoice document in R3 system?
I tried to debug the system but have not found no suitable function module for it.
I also analyzed the ABAP code of the small GUI window that allows to add a external URL link to
a Purchase Order, and found the function module SO_OBJECT_INSERT. However I could not debug
it (seems to be created with BOR objects) so I've no example for it.
Please help!
Regards,
Manuel DiasCONSTANTS:
c_http(36) TYPE c VALUE '/BpHttpApis/slaphapi?ibmperson/(uid=',
c_listxml(12) TYPE c VALUE ').list/byxml',
c_value(5) TYPE c VALUE 'value',
c_cn(2) TYPE c VALUE 'cn',
c_mail(4) TYPE c VALUE 'mail',
c_em_num(19) TYPE c VALUE 'managerserialnumber',
c_em_cou(18) TYPE c VALUE 'managercountrycode'.
DATA client TYPE REF TO if_http_client.
DATA url TYPE string.
DATA xbuffer TYPE xstring.
DATA l_value TYPE zchar2000.
DATA l_value_string TYPE string.
DATA content TYPE string .
DATA rows TYPE STANDARD TABLE OF string.
DATA wa_rows TYPE string .
DATA conv TYPE REF TO cl_abap_conv_in_ce.
DATA ixml TYPE REF TO if_ixml.
DATA streamfactory TYPE REF TO if_ixml_stream_factory.
DATA parser TYPE REF TO if_ixml_parser.
DATA istream TYPE REF TO if_ixml_istream.
DATA document TYPE REF TO if_ixml_document.
DATA node TYPE REF TO if_ixml_node.
DATA xmldata TYPE string.
DATA iterator TYPE REF TO if_ixml_node_iterator.
DATA nodemap TYPE REF TO if_ixml_named_node_map.
DATA attr TYPE REF TO if_ixml_node.
DATA name TYPE string.
DATA prefix TYPE string.
DATA value TYPE string.
DATA indent TYPE i.
DATA count TYPE i.
DATA index TYPE i.
url = 'http://bluepages.ibm.com'.
CLEAR: l_value_string, l_value.
***Create the HTTP client
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = url
IMPORTING
client = client
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
Create the HTTP client failure, sy-subrc =
MESSAGE i005(zm) WITH text-026 sy-subrc.
EXIT.
ENDIF.
CONCATENATE c_http
p_accnt
p_couty
c_listxml
INTO l_value.
l_value_string = l_value.
***Get employee information
CALL METHOD client->request->set_header_field
EXPORTING
name = '~request_uri'
value = l_value_string.
client->send( ).
client->receive( ).
***Load to xstring
CLEAR xbuffer .
xbuffer = client->response->get_data( ).
conv = cl_abap_conv_in_ce=>create( input = xbuffer ).
conv->read( IMPORTING data = content ).
create the ixml main factory
ixml = cl_ixml=>create( ).
create a stream factory
streamfactory = ixml->create_stream_factory( ).
xmldata = content.
create a input stream
istream = streamfactory->create_istream_string( string = xmldata )
create a ixml document
document = ixml->create_document( ).
create a xml parser
parser = ixml->create_parser( document = document
stream_factory = streamfactory
istream = istream ).
parse the xml document into DOM tree
IF parser->parse( ) <> 0.
parse the xml document into DOM tree failure
MESSAGE i005(zm) WITH text-027.
EXIT.
ELSE.
node ?= document.
IF node IS INITIAL.
To be done
ENDIF.
create a node iterator
iterator = node->create_iterator( ).
get current node
node = iterator->get_next( ).
loop over all nodes
WHILE NOT node IS INITIAL.
indent = node->get_height( ) * 2.
indent = indent + 20.
CASE node->get_type( ).
WHEN if_ixml_node=>co_node_element.
element node
name = node->get_name( ).
nodemap = node->get_attributes( ).
IF NOT nodemap IS INITIAL.
attributes
count = nodemap->get_length( ).
DO count TIMES.
index = sy-index - 1.
attr = nodemap->get_item( index ).
name = attr->get_name( ).
prefix = attr->get_namespace_prefix( ).
value = attr->get_value( ).
ENDDO.
ENDIF.
WHEN if_ixml_node=>co_node_text.
User name
IF name = c_value AND
value = c_cn.
text node
value = node->get_value( ).
p_name = value.
ENDIF.
User email
IF name = c_value AND
value = c_mail.
text node
value = node->get_value( ).
p_email = value.
ENDIF.
Employ serial number
IF name = c_value AND
value = c_em_num.
text node
value = node->get_value( ).
p_em_num = value.
ENDIF.
Employ country code
IF name = c_value AND
value = c_em_cou.
text node
value = node->get_value( ).
p_em_cou = value.
ENDIF.
ENDCASE.
advance to next node
node = iterator->get_next( ).
ENDWHILE.
ENDIF.
Maybe you are looking for
-
Unable to set up base station as wireless client
I have a network with one Airport Extreme (UFO-shape) and three Airport Express base stations. Now I had to do a hard reset of all the base stations, and want to use Airport utility to set up the network again. I have no problems setting up the Airpo
-
Manually trigger PO Creation for a SC
Hi Experts, Due to downtime issue one SC is created but the PO creation did not take place. The SC is stuck in I1111 " Item in Transfer Process" but the PO never got created. Is there anyway I can trigger the PO creation manually. The system is SRM 7
-
Find the missing date from output data
Hi Guys, For Ex, I have the following ouput rows with column like Id Name Mobile Signindate 1 AAA XXX 2012-03-01 2 AAA XXX 2012-03-02 3 AAA XXX 2012-03-05 4 AAA XXX 2012-03-06 5
-
UPDATE a table using COUNT(*)
I was wondering if there's a way to write the following code using a single stmt: FOR update_rec IN ( SELECT CODE, COUNT(APPOINTMENT) TOT FROM TEST GROUP BY CODE ) LOOP UPDATE TEST SET TOT_APPOINTMENT = update_rec.TOT WHERE CODE = update_rec.CODE;
-
How to move between the records of a block quickly
Hi , i am using dev6i and i have a form connected to data block this table has 500,000 record when new_form_Instance it executes the query the number of record dispalyed is 5 The problem is when i go to the 6th Record or higher it takes few sec