FM for get internal text number
hi to all
I have alll the data about wbs element , network activity , ... etc , by passing these how can we get nternal text number(TXTKY) . I want to update text of PS text. is there any functional modules . please let me know its urgernt . thanks in advance
BR
binit
Hi Vinit
Clarify how many project /WBS/ NWA - texts you want to change /update ?
Apart from using function module - you can use SAP standard transaction - CNMASS (mass filed changes) - you can change one or more texts for project / WBS / NWA.
Hope this helps.
Thanks
PP
Similar Messages
-
Hi experts..
I need a FM for get the week number...
for example today 14 april 2010 is the 15 week from the start of the year..
best regards
MarcoHi,
Check this Fm : GET_WEEK_INFO_BASED_ON_DATE .
Just enter the date
the week parameter returns the year and week number. the last 2 digits give the week number.
Thanks. -
Userexits/BADI in ME31K for getting the contract number created.
Dear Experts,
Is there any userexits/BADI available in ME31K , for getting the contract number once it is created.
Thanks&Regards,
AnvershaHi
find the BADI:
1. Goto SE24
2. Open the class "CL_EXITHANDLER"
3. Open the Metnod "GET_INSTANCE"
4. Put a Break point in the " CASE sy-subrc."
CALL METHOD cl_exithandler=>get_class_name_by_interface
EXPORTING
instance = instance
IMPORTING
class_name = class_name
CHANGING
exit_name = exit_name
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
OTHERS = 6.
CASE sy-subrc.
WHEN 1.
RAISE no_reference.
WHEN 2.
RAISE no_interface_reference.
WHEN 3.
RAISE no_exit_interface.
WHEN 4.
RAISE data_incons_in_exit_managem.
WHEN 5.
RAISE class_not_implement_interface.
ENDCASE.
5. Come Back and Execute the Transaction Code
6. In the Debugging screen "exit_name" having the BADI Name for that Tcode. -
UserExit/BADI for getting the contract number in ME31K
Dear Experts,
Is there any userexits/BADI available in ME31K , for getting the contract number once it is created.
Thanks&Regards,
AnvershaHi
find the BADI:
1. Goto SE24
2. Open the class "CL_EXITHANDLER"
3. Open the Metnod "GET_INSTANCE"
4. Put a Break point in the " CASE sy-subrc."
CALL METHOD cl_exithandler=>get_class_name_by_interface
EXPORTING
instance = instance
IMPORTING
class_name = class_name
CHANGING
exit_name = exit_name
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
OTHERS = 6.
CASE sy-subrc.
WHEN 1.
RAISE no_reference.
WHEN 2.
RAISE no_interface_reference.
WHEN 3.
RAISE no_exit_interface.
WHEN 4.
RAISE data_incons_in_exit_managem.
WHEN 5.
RAISE class_not_implement_interface.
ENDCASE.
5. Come Back and Execute the Transaction Code
6. In the Debugging screen "exit_name" having the BADI Name for that Tcode. -
How ias integrate with Snacktory for getting main text from an html page
Hi All,
i am new to endeca and ias, i have an requirement, need to get main text from whole html page before ias save text to Endeca_Document_Text property,
as ias save all text in page to endeca_document_text property, it is not ok for reading when show in web page, i use an third party API to filter out the main text from original page,
now i want to save these text to endeca_document_text property,
an another question,
i get zero page when doing the logic of filtering main text from original html text in ParseFilter( HTMLMetatagFilter implements ParseFilter) using Snacktory.
if only do little things, it will work fine, if do more thing, clawer fail to crawl page. any one know how to fix it.
log for clawler.
Successfully set recordstore configuration.
INFO 2013-09-03 00:56:42,743 0 com.endeca.eidi.web.Main [main] Reading seed URLs from: /home/oracle/oracle/endeca/IAS/3.0.0/sample/myfirstcrawl/conf/endeca.lst
INFO 2013-09-03 00:56:42,744 1 com.endeca.eidi.web.Main [main] Seed URLs: [http://www.liferay.com/community/forums/-/message_boards/category/]
INFO 2013-09-03 00:56:43,497 754 com.endeca.eidi.web.db.CrawlDbFactory [main] Initialized crawldb: com.endeca.eidi.web.db.BufferedDerbyCrawlDb
INFO 2013-09-03 00:56:43,498 755 com.endeca.eidi.web.Crawler [main] Using executor settings: numThreads = 100, maxThreadsPerHost=1
INFO 2013-09-03 00:56:44,163 1420 com.endeca.eidi.web.Crawler [main] Fetching seed URLs.
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:56:52,889 10146 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:52,889 10146 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:52,890 10147 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:56:59,184 16441 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:59,185 16442 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:59,185 16442 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into HTMLMetatagFilter
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:57:07,058 24315 com.endeca.eidi.web.Crawler [main] Seeds complete.
INFO 2013-09-03 00:57:07,090 24347 com.endeca.eidi.web.Crawler [main] Starting crawler shut down
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] Waiting for running threads to complete
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] Progress: Level: Cumulative crawl summary (level)
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] host-summary: www.liferay.com to depth 1
host depth completed total blocks
www.liferay.com 0 0 1 1
www.liferay.com 1 0 0 0
www.liferay.com all 0 1 1
INFO 2013-09-03 00:57:07,096 24353 com.endeca.eidi.web.Crawler [main] host-summary: total crawled: 0 completed. 1 total.
INFO 2013-09-03 00:57:07,096 24353 com.endeca.eidi.web.Crawler [main] Shutting down CrawlDb
INFO 2013-09-03 00:57:07,160 24417 com.endeca.eidi.web.Crawler [main] Progress: Host: Cumulative crawl summary (host)
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Host: www.liferay.com: 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Progress: Perf: All (cumulative) 23.6s. 0.0 Pages/s. 0.0 kB/s. 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Crawl complete.
~/oracle/endeca
-======================================
source code for parsefilter
package com.endeca.eidi.web.parse;
import java.util.Map;
import java.util.Properties;
import org.apache.hadoop.conf.Configuration;
import org.apache.log4j.Logger;
import org.apache.nutch.metadata.Metadata;
import org.apache.nutch.parse.HTMLMetaTags;
import org.apache.nutch.parse.Parse;
import org.apache.nutch.parse.ParseData;
import org.apache.nutch.parse.ParseFilter;
import org.apache.nutch.protocol.Content;
import de.jetwick.snacktory.ArticleTextExtractor;
import de.jetwick.snacktory.JResult;
public class HTMLMetatagFilter implements ParseFilter {
public static String METATAG_PROPERTY_NAME_PREFIX = "Endeca.Document.HTML.MetaTag.";
public static String CONTENT_TYPE = "text/html";
private static final Logger logger = Logger.getLogger(HTMLMetatagFilter.class);
public Parse filter(Content content, Parse parse) throws Exception {
logger.info("come into EndecaHtmlParser getParse");
logger.info("come into HTMLMetatagFilter");
//update the content with the main text in html page
//content.setContent(HtmlExtractor.extractMainContent(content));
parse.getData().getParseMeta().add("FILTER-HTMLMETATAG", "ACTIVE");
ParseData parseData = parse.getData();
if (parseData == null) return parse;
extractText(content, parse);
logger.info("update the content with the main text content");
return parse;
private void extractText(Content content, Parse parse){
try {
ParseData parseData = parse.getData();
if (parseData == null) return;
Metadata md = parseData.getParseMeta();
ArticleTextExtractor extractor = new ArticleTextExtractor();
String sourceHtml = new String(content.getContent());
JResult res = extractor.extractContent(sourceHtml);
String text = res.getText();
md.set("Endeca_Document_Text", text);
} catch (Exception e) {
// TODO: handle exception
public static void log(String msg){
System.out.println(msg);
public Configuration getConf() {
return null;
public void setConf(Configuration conf) {but it only extracts URLs from <A> (anchor) tags. I want to be able to extract URLs from <MAP> tags as wellGee, do you think you could modify the code to check for "Map" attributes as well.
Can someone maybe point a page containing info on the HTML toolkit for me?It's called the API. Since you are using the HTMLEditorKit and an ElementIterator and an AttributeSet, I would start there.
There is no such API that says "get me all the links", so you have to do a little work on your own.
Maybe you could use a ParserCallback and every time you get a new tag you check for the "href" attribute. -
Function module for getting the text.
Hi ,
Is there any funcion module to get the message text if i pass the message no and message class as the exporting parameter.
Useful answers will be rewarded.
Regards,
neslin.hi...
use this one
BAPI_MESSAGE_GETDETAIL
ok and following are for display
LMON_MESSAGE_DISPLAY
LTIF_MESSAGE_DISPLAY
reward..points -
Code for getting any telephone number on the pc
Respected Sir:
My problem is that my telephone is connected with another telephone.That telephone is connected with the PC via a modem.
I want to get such kind of code which will help me to detect any number,dialing that telephone which is connected with the PC via modem.Doesn't seem to be related to Java. :(
wrong forum?
--lichu -
IPhone 4 cannot send international text messages
I have an iPhone 4. Since day one that I bought the phone, I have not been successful to send international text messages. The procedure for sending an international text message is simple: enter 011, followed by the country code, and then the phone number. It has never worked. Each time, I get the following error message -- "Message Send Failure". Any ideas for fixing this problem?
What surprises me most is that I have an HTC Trophy with the same Mobile Service provider. No problem exists with the HTC Trophy for sending international text messages.I never had problems sending international text since my first 3g iPhone and neither with the 4. The only problem is that international txts are too expensive, I recommend you to use Skype or other app that can send texts.
-
Issue regarding Internal Order Number
Hi
When i am creating internal order in KO01 transaction, it is getting reflected in object class ANLA but when i am changing internal order in KO02 transaction ,it is getting reflected in objec class RKAUFTRAG. I am getting object id based on object class from CDHDR tablee. My requirement is to pick the internal order data from COAS table corresponding to internal order number.
In case of object class RKAUFTRAG, we are getting internal order number from last 10 character of object id. But for object class ANLA, object id doesnt have internal order number instead it has company code,asset number and sub number.
Please help me out to find internal order number in case of object class ANLA.
Thanks,
Debdutta Dey,Hi,
I do not think I got your question... ANLA is a table for master data of the assets. Are you looking for internal order link to an asset? It's not in ANLA table, but in ANLZ (field CAUFN).
Regards,
Eli -
Getting valid idoc number from the sales document
hi,
Iam sending the code for getting the idoc number from sales document.
but iam not getting the result.
please see the code and correct the code so that i will get the idoc number from the sales document.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
it is very urgent..............
thanks in advance......See the below code :
report zxyz.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
<b>data sdata like edid4-sdata.</b>
start-of-selection.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
<b>concatenate '%' p_vbeln '%' into sdata.</b>
select single docnum from edid4 into l_docnum
where sdata like <b>sdata.</b>
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
Thanks
Seshu -
Getting Long Text of a Field Label
Hi Friends,
I have requirement in which , based on the filed I need get the Long text of the data element.by default I am able to access the medium text of the data element. is there any function-module for getting Long text?
Regards,
Xavier.PHi Xavier,
check this
Storing long text data
hope it helps you.
Regards! -
Problems with getting default Texts (HRRCF00_GET_DEFAULT_TEXTS)
Hi experts,
we are using EHP4 and I have implemented and activated BADI HRRCF00_GET_DEFAULT_TEXTS for getting default Text during the posting procedure within SAP E-Recruiting based on WebDynpro.
The BADI is called from WD Controller ERC_C_REQ_MGMT_UI.
get default text values from BADI HRRCF00_GET_DEFAULTS_TEXT
wd_assist->read_default_posting_text( EXPORTING iv_language = ls_language-langu
is_post_hrobject = ls_hrobject
IMPORTING ev_company_desc_default = ls_language_tab-company
ev_department_desc_default = ls_language_tab-department
ev_project_desc_default = ls_language_tab-project
ev_task_desc_default = ls_language_tab-tasks
ev_requirement_desc_default = ls_language_tab-requirements ).
Directly after the call of BADI HRRCF00_GET_DEFAULTS_TEXT it seems that the company description is correctly filled.
But unfortunately I am not able to see the default text within the Input Field of the view.
As far that I know there should be a Button to fullfill the company description with the default text. But I can't see any button.
Is there anything else I have to configure?
Many Thanks!Hi Roman,
I have testet it both. With a complete new requisition and with a old one. Same problem.
But know I have recognized a strange system behaviour.
If I toogle the first language I am not able to see my default_text. But if I toggle a second on(English etc) I can see the default text within this second tab.
So the result is that I am able to see the default texts but only if I toggle two languages
I am thinking I am missing something within my BADI implementation.
The only thing I have done is to prorgram follwing section within the method GET_PROJECT_DESC
method IF_EX_HRRCF00_GET_DEFAULT_TEXT~GET_PROJECT_DESC.
*{ INSERT M11K900044 1
break erec1.
project_desc = 'This is a example for the project description'.
*} INSERT
endmethod.
And it seems fine becaus if I switch to debugging mode I can see that the method is called and tht the variable project_desc will be filled correctly.
Would be great if you could give me a helping hand on this.
Many Thanks!
Marco -
Since adding microsoft exchange I sunced my phone and lost all of my old contact, notes. etc. Also, when I do get a text message it appears as a number instead of a name. What did I do wrong and can I get my old info restored. When I tried restoring it only gave me the same thing.
That number is for an apple server in the UK that is used for iMessage activation. A hidden SMS is snet to that number when you turn iMessage on and is used to verify your phone number. I suggest you turn iMessage off. In settings/phone turn on dial assist. Check with your carrier to see if you can send an international SMS as you end that possibility to activate iMessage. Rest your phone (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).) then turn iMessage back on.
-
Error while detrmining Internal Document Number for Excise Invoice.
Hello mate, I am trying to create excise invoice for for factory sale. while saving the document I am getting an error" Error
while detrmining Internal Document Number for Excise Invoice. Message: Maintain Number Range for J_1IINTNUM". I have already maintained number range for mentioned object "J_1INTNUM" in TCODE SNUM , still getting error. Please solve my querry . Is it related to transport or number range activation or something else? I have maintained number range with serial no. "01"Hello ,
Ensure that number ranges are properly maintained in the respective client that should be the year specific.Some times even u maintained the system should not consider that number ranges due to table updation problem ,because i had faced the same in the earlier and received the reply from the sap stating that this error was occured rarely after the years,so please ignore that ,for your problem u first come out of the screen and then re log in and then create the excise invoice ,then check the number ranges .
Please revert for any
Kalyan -
My daughter recently broke her iphone 4. We had a spare so we exchanged SIM card. Now that we are linked in the cloud, I am getting all of her text messages and when I text her i get a text from my number. What should i try next?
stop using the same Apple ID for iMessage on both phones
Maybe you are looking for
-
Ethernet cord has a self assigned IP address, can this be changed?
I am trying to connect my laptop to my Xbox 360 so I can get on Xbox Live using my computers wireless as a gateway... but the ethernet cord has a self assigned IP address and won't work.. I've tried everything to change it and it still won't connect
-
How do I export or save smaller sized images?
I have a design that is A3 size (i.e. 297 × 420mm) and 300dpi. I'd like to save out various versions of the image: one at full size, one at 150 dpi, one at A4 (i.e. 210 × 297mm) 150 dpi, and one at A4 72dpi. At the moment I'm doing this by saving dif
-
IDVD = Cheese. C'mon "your picture in a fishbowl as bubble sounds play??"
I gave IDVD a good try. But c'mon, those themes are cheesy. If you're an artist the last thing you want to do is make someone navigate the seas of cheese to finally get to your movie. Those themes are ridiculous. And nothing is cheesier than the "dro
-
Hi Team, user created a PO on 10.10.08 without checking GR based IV (it is not there in info record). actually this Po is subject to ERS. GR is done on 27.10.08. when he is running MRRL, it is giving an error "GR based IV is not active". now neither
-
How to Display a Calender upon clicking the dropdown list inside a table co
Hi, I have a Listbox inside my table control and I need to Display a Calender upon clicking the dropdown list. Can any body help. Srinivas