Update FI item text from PO item text
Hi all,
i am trying to update FI item text(bseg) from PO item text(ekpo).I know that bseg is a culster table therefore inner join is not allow.So is there a way i can join these two tables together so i can retrieve the line item and then i'll do a modify to update into FI item text.I have tried the various codes that are posted within this forum but can never get anything to write:/ out.
I've manage to retrieve the various info from PO (ekpo) and also manage to update the FI text field with some random words(but both seperately).What i need now is to create a link between bseg and ekpo.
I have attached my coding for better understanding..Thankss
REPORT ZSTKLILINTEST3 LINE-SIZE 1023 LINE-COUNT 1023 NO STANDARD PAGE HEADING.
Table Declaration
TABLES: ekpo, ekko, bseg, zstkll_1.
Types Declaration
TYPES: BEGIN OF t_bseg,
ebeln LIKE bseg-ebeln,
hkont LIKE bseg-hkont,
END OF t_bseg,
BEGIN OF t_ekpo,
ebeln LIKE ekpo-ebeln,
txz01 LIKE ekpo-txz01,
bukrs LIKE ekpo-bukrs,
ebelp LIKE ekpo-ebelp,
hkont LIKE bseg-hkont,
END OF t_ekpo.
Data Declaration
*grab data from t_ekpo then append it to zstkcy008
DATA: ekpo_tab TYPE STANDARD TABLE OF t_ekpo WITH HEADER LINE,
bseg_tab TYPE STANDARD TABLE OF t_bseg WITH HEADER LINE,
zstkll_1_tab TYPE STANDARD TABLE OF zstkll_1,
wa_zstkll_1 LIKE LINE OF zstkll_1_tab.
Selection-Screen
SELECT-OPTIONS: s_bukrs FOR ekpo-bukrs,
s_ebeln FOR ekpo-ebeln,
s_hkont FOR bseg-hkont.
INITIALIZATION EVENT
AT SELECTION-SCREEN EVENT
START-OF-SELECTION
START-OF-SELECTION.
SELECT bukrs
FROM ekpo
INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
WHERE bukrs IN s_bukrs.
IF ekpo_tab[] IS NOT INITIAL.
SELECT ekkoebeln ebelp bedat txz01 ekkobukrs
FROM ekpo INNER JOIN ekko
ON ekpoebeln = ekkoebeln
INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
FOR ALL ENTRIES IN ekpo_tab
WHERE ekko~bukrs = ekpo_tab-bukrs
AND ekko~ebeln IN s_ebeln.
WRITE:/ 'Extracted Data:'.
LOOP AT ekpo_tab.
MOVE-CORRESPONDING ekpo_tab TO wa_zstkll_1.
WRITE:/ ekpo_tab-bukrs, ekpo_tab-ebelp, ekpo_tab-txz01, ekpo_tab-ebeln, ekko-ebeln, ekko-bedat.
AT END OF ebeln.
APPEND wa_zstkll_1 TO zstkll_1_tab.
ENDAT.
CLEAR: wa_zstkll_1, ekpo_tab.
ENDLOOP.
SKIP 2.
TRY.
CLEAR sy-dbcnt.
INSERT zstkll_1 FROM TABLE zstkll_1_tab.
CATCH cx_root.
WRITE:/ 'Record(s) already exist!'.
ENDTRY.
WRITE:/ sy-dbcnt, ' Records are inserted.'.
ELSE.
WRITE:/ 'No data Selected.'.
ENDIF.
END-OF-SELECTION
END-OF-SELECTION.
REPORT ZSTKLILINTEST13.
TABLES:bseg.
DATA:it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
PARAMETERS:p_belnr LIKE bseg-belnr,
p_bukrs LIKE bseg-bukrs,
p_gjahr LIKE bseg-gjahr.
START-OF-SELECTION.
SELECT * FROM bseg INTO TABLE it_bseg WHERE belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
MOVE 'IF THIS APPEAR UPDATE IS SUCCESSFUL' TO it_bseg-sgtxt.
MODIFY it_bseg FROM it_bseg TRANSPORTING sgtxt where belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
LOOP AT it_bseg.
WRITE:/3 it_bseg-belnr, it_bseg-gjahr, it_bseg-sgtxt.
ENDLOOP.
MODIFY bseg FROM TABLE it_bseg.
COMMIT WORK.
IF sy-subrc EQ 0.
WRITE:/3 'BSEG TABLE UPDATED SUCCESSFULLY WITH TEXT'.
ENDIF.
self solved
Similar Messages
-
Since the new year I have been unable to send or receive texts from someone I text daily...he does not have an iPhone
Mail: Troubleshooting sending & receiving email messages
-
User Exit for transferring text from delivery -Item note to Accounting doc.
Hi Experts ,
I need an user exit where I can transfer the delivery item text (item note ) from outbound deliver to accounting document when the post goods issue (PGI ) is done .
Please suggest.
Thanks in advance
Tanveer KhanI have got the function Exit EXIT_SAPMM07M_001. Which resolves the purpose...Thanks for your time..
-
Update the z table from the header text of VF01 on save
Hi All,
I have a Z table 'ZEXIM_LICDETAILS'. Whenever a billing doc. of type 'ZEXP' is created with tcode VF01, the Z table fields should also be updated. I have learned that we cannot include tabs in Billing Doc, so the licence number is put in the header text of the VF01.
Is there any way that I can update my Z table from header text, when we save the VF01.
Waiting for your repy in anticipation.
Thanks a lot in advance,
AnuWrite code in USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
Reddy -
Problem in gettig log text from SRM Items to PO Items
Hi all,
We have a problem in SRM we have extended classic scenario at the time of PO creation in SRM the same is created in R3 also but our requirement is the Long text of Item form SRM PO should also copy to R/3 PO line item long text which is not happing right now.
Can anyone tell me how we can do the same?
Thanks in Advance
Sachin Gautam
PS: Point will be given.Hi
We have done this several times... Please Look for BBP_ECS_PO_OUT_BADI / BBP_CREATE_PO_BACK ..
solution and sample code given in pointers below..
For more details, Please go through the pointers below ->
Re: BBP_SC_CHANGE long text (vendor text internal notes)
To pass the LONGTEXT from OCI as internal note instead of vendor text
Re: "Vendor text" (item data) replicated to R3 ?
Long texts in EBP, messed up ....
Re: Custom Messages Long Text not appearing
Re: Which Badi to Use?
Long Description for Product
Hope this will help.
Regards
- Atul -
How to read the text from the item text of the purchase order
i want to extract the text which is maintained in the purchase order item text. i used the function module read_text but it reads only the header text. can anyone help.
u have to chek the following parameters
ID: this textid
language:language u maintained the text,this also important
name: The no in which text-id is maintained
Usually we make mistake here,the no is combination of purchase order no and item no.
Example:420000210000010(Puchase orderno:4200002100 item no:00010)
Object:it change based on the text-id so u can check it the document no.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = p_var
language = g_f_langu
name = g_f_tdname
object = g_f_obj
TABLES
lines = g_t_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Pass the varibles as i have said and let me know if u face any problem.
Regards -
How to extract Chinese text from font embedded text PDF?
This is actually font embedded text PDF (Used: type 1 fonts & custom encoding) and not scanned PDF, however I am unable to extract the "Chinese language" text properly and found only the garbled text when "Copy & Paste" (or save as RTF). Kindly refer the sample PDF attached for your reference.
Kindly advise how could I solve this problem.
Thanks in advance for your better solution.As I was unable to upload the sample page PDF in my original thread, I have shared now in the following path. Kindly look into this and guide me how to extract the chinese text as UNICODE text.
Downloading: Chinese_Text_Extraction.pdf - Uploadingit -
My friends are telling me there are multiple messages that have been sent to me, the most being from a group message. However, I haven't recieved any. I've already tried restarting my phone, resetting my network, and plugging it into my computer. Anyone know a solution for this?
What is an iPhone 4G? Lol
-
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. -
Dunning Proposal - Accounting Text from vendor Master
Hi,
In F150, if you click on the change button, it will take you to Dunning proposal and on the selection screen, you have a check point Check Account long text and Check Document Long Text..
1. What is the difference between the two?
2. When you execute this Dunning Proposal, again you get a button for Change Texts, from where the texts can be maintained for each Vendor.. The requirement is to have the text displayed in the output report of Dunning Proposal against each vendor.. How is that possible? I changed Variant to bring in the field Text but it shows blank.
Regards,
SAPFICO
Edited by: SAPFICO on Apr 4, 2011 12:18 PMHi All,
Any Pointers???
Regards,
SAPFICO
Edited by: SAPFICO on Apr 8, 2011 7:22 AM -
Nokia 920 not receiving some texts from one person...
I've contacted my carrier Straight Talk and they my account if fully operational. I only seem to have problems with this one specific person. Why is this happening and how do I fix?
I too am having this problem with texts from a frequently texted friend. Her texts will now no longer open and I can't text her either. It looks like I have to delete her whole thread which goes right back to when I bought the phone which I don't really want to do. And no, she's not on an iphone, just cheap Nokia which she's had for years.
Jurassic Park, Sam Neill to Dickie Attenborough " Mr. Hammond, the phones are working !"
N8-00 Tesco UK 059C951, Lumia 920 -
I am only able to text individuals on the AT&T network form my contacts. If I try to text a friend it comes back saying "Error Invalid" and states that I need to use a 10 digit mobile number. I am able to text from the SMS Text App, but cannot reply.
I restored the iPhone. AT&T and Apple have not helped at all. Help!!!FYI! I was on w/ tech support from 2pm-10pm fixing this issue of not being able to text from my contacts. I could text if I manually entered the number, but I could not reply once they replied to me.
We had to back up all of my contacts, pictures, etc and wipe out my phone. We started from a brand new phone. It worked! So if it happens to you, back everyhting up through outlook, windows address book, and right click on your phone icon to back everything up. I cant remember how he backed up my photos, but he did and then we cleaned it out, added everything back in and it works great now! What pain in the ___. -
PROBLEM IN CREATING BOM ITEM TEXT FROM TEXT FILE
Hi All,
I am developing interface program for creating BOM based on data it text file. in my text file contain three column(material, qty and longtext). These text i need to upload to BOM TCODE CS01). Using SAVE_TEXT I have generated text object. it don't says any error. But while viewing text in CS03, text is not visible. Give me suggestion or give me any other method for updating item text from textfile.
Thanks in advance.
Regards.
Peranandam.Hi Carl,
Actually problem is SAVE_TEXT updates text but I cant able to view in CSO3 transaction. because while creating BOM I forget for updating language key for long text. After updating language key I can able to view text in CS03.
Now I am facing another problem. If I am executing program directly without going to debug mode, It is not updates text. Logic everything is correct. Give me some suggestions for solving this issue. I am also tried with commit work, Commit_text and wait up n seconds statement.
Regards,
Peranandam -
Item text/PO text from RFQ to PO
Hi,
While creating RFQ system getting u2018purchase order textu2019 from material master to RFQ, which is fine. While maintaining Quotation, we have observed slight changes from vendor, so we have changed the PO text in Quotation. Now when I am converting RFQ to PO, system still getting the original text from material master only. How can I avoid this, and I need to get the changed text only from RFQ to the PO print out.
Please advice.
Regards,
SattujHi Sattuj,
I presume that you customised the copying rules for the PO in: SPRO > Materials Management > Purchasing > Purchase Order > Texts of Purchase Orders > Define Copying Rules for Item Texts.
There, select the "Material PO text" and make double click on "Text linkages" (that is in the left section).
Afterwards, check if the source text "Purchase order text" has defined the source object "RFQ/quotation" and the fixed indicator field is "blank".
If you have something different, please, let me know how you has customised the entire screen of text linkages for "Material PO text".
Kind regards,
Sandra -
How to copy header/item text from Quotation to sales order?
Dear All,
On ECC 6, I am trying to get text copied from the quotation to the sales order (when the order is created with reference to the quote).
As of now, the order creation is fine with all the right items & partners etc. in it, but the text is missing.
The same text IDs have been assigned to both documents (at header & item levels).
Is the text content supposed to be copied by standard SAP? Is there any customizing needed for this? Please guide me on how I can achieve this.
Please help.
Thanks
Best regards,
Rohit L
Edited by: Rohit Lokray on Nov 26, 2009 10:49 AMHi Rohit,
Pls check this e.g.
Text Determination Procedure
You can define text for
Customer
Sales document
Delivery
Billing
1) Create new text types
(Menu Path: SPRO-IMG-Sales and distribution- Basic function-Text Control-Define text type). You can define new text type in this menu for your requirement for different objects (Customer, Sales document, Delivery and billing document). T-code: VOTXN
2) Assign the new text ID in the text determination procedure
(Menu Path: SPRO-IMG-Sales and distribution-Basic function- Text Control-Define text type). Click on change on application tool bar. Select text procedure created and double click on Text ID' s in text Procedure. Assign new text Id to Text determination procedure
3) Define and Assign an access sequence to the new text ID
(Menu Path: SPRO-IMG-Sales and distribution-Basic function-Text Control-Define access sequence for determining text).Access sequence can be defined only for sales document not for customer master. Select text procedure and double click on text id's in text procedure folder. Select text id and double click on access sequence and create new access sequence here.
4) Assign the Text determination procedure with the sales document type.
(Menu Path: SPRO-IMG-Sales and distribution-Basic function-Text Control-Define and assign text determination procedure) In this menu path you can assign text determination procedure to sales document type.
[http://help.sap.com/saphelp_erp60_sp/helpdata/en/90/758534c960a134e10000009b38f83b/frameset.htm]
Maybe you are looking for
-
Partial Reconciliation on Payment on Account
I am working on SAP Business One 2007 A Patch Level 38: I understand the usefulness of Partial Reconciliation but am having the following problems when it is used in conjunction with a "Payment on Account". Here is the scenario. I have a Customer wh
-
Payment popup (NEOS / Ogone ) does not appear in Safari 4.x
Dear people, We have noticed that the popups with the payment application on our website portal at portal.boip.int do not load anymore. Unfortunately, we can get no further information from Fortis Bank here in the Netherlands. They say it can be solv
-
Web dynpro preview: NoSuchMethodError
Hello, I am trying to deploy certain Web Dynpros contained in a portal business package for ESS (ess, pcui_gp). The System I am using is a Sneak Preview Java WAS 6.40, EP6.0, SP16. The deployment process as such seems to have worked correctly as the
-
Trying to rebuild a win XP system for my wife. Her machine with PS CS has crashed. When I install PS CS upgrade the install routine wants a PS 5.0 disc to verify the license. Then it give an error that "A qualifying version of Photoshop was not detec
-
Hello, I am having a user that is experiencing the above mentioned when launching InDesign in CS3. The computer is running OS X 10.4.11 and is an Intel iMac. I have trashed any of the Adobe preferences in the user's library as well as the Adobe font