General Leger query to include document remarks(254 char)
Hi,
Customer wants to include AR(Inv & CM), AP(Inv & CM), Incoming payment & Outgoing Payment document remark into General Ledger query beside standard journal remarks.
How to derive the query to link journal entry with original journal document remark?
Regards
Thomas
Hi Gordon,
I am asking for 2 customers.
First customer had volume of transactions being posted. They are in retail industry. Can FMS be made to update all the history journals automatically?
Second customer is still in implementation stage so it is still possible to create UDF and FMS on each transaction but if it can made automatically, the better. I scared user forgot to drill back journal remark from source document to run FMS.
Thanks
Similar Messages
-
How to get general account for a billing document ( BSEG) ?
Hello,
For a billing document to a client , We need to get the general account for each item of the invoice . We based on the field XBLNR of table VBRK to select a document from BKPF with condition : VBRK-XBLNR = BKPF-vbeln . If yes we will get from table BSEG for bseg-vbeln = bkpf-vbeln and bseg-posnr = vbrk-posnr . then get HKONT.
But as you know BSEG is a cluster table, Select directly from this table is extremly long and seems impossible in our case. Could you please show me the way to do this ?
Our main purpose is to get HKONT ( General account ) for a billing document .
Thanks in advance for your helpHi Hoa Binh Xanh,
Why don't you look into tables BSAD and BSID (Transperant Tables) rather directly hitting BSEG ( Cluster Table)
Pass VBELN (Billing Document) in above two tables and get the doucment numbers and then if you need further info hit BSEG with the data you got from BSAD and BSID
OR else Pass KOART = 'D' while selecting data from BSEG it will help in improving performance
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
How to include documents in SAPscript
Has anybody an idea how to include documents (PDF) from the Document Management into Sapscript.
I want to print documents together with a purchasing order.
Thank youHi,
before executing the Script, goto SE71, and give the script name and press display, there in the utilites --> Activate Debugger
or
You can use the program RSTXDBUG, execute this program program for SAPSCRIPT debugging,
If you want to Come out from the Debugger, In the menu we an ooption
<b>Debugger --> Exit</b> or <b>Press Shift+F3</b>
Regards
Sudheer -
1. How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?
When multiple tables are involved , and the actual number of rows returned is more than what the explain plan tells. How can I find out what change is needed in the stat plan ?
2. Does rowsource statistics gives some kind of understanding of Extended stats ?You can get Row Source Statistics only *after* the SQL has been executed. An Explain Plan midway cannot give you row source statistics.
To get row source statistics either set STATISTICS_LEVEL='ALL' in the session that executes theSQL OR use the Hint "gather_plan_statistics" in the SQL being executed.
Then use dbms_xplan.display_cursor
Hemant K Chitale -
Script for Save Options- Save Query Results with document
Hi,
Is there any javascript for Save query results with document in save options? If so where can i find that?
Thanks
Kalaihi guys,
I found the answer.The following example shows you how to save the results with the query
section named “SalesQuery”.
ActiveDocument.Sections["SalesQuery"].SaveResults=true -
Query of Default Documents/Reports
Dear All,
I want to get the Query of Default Documents/Reports , like Purchase Analysis (Purchasing Reports), Open Item List (Sales Reports) etc.
Thanks,
Ghazanfar AhmedHai!
To view System Report Queries (Purcahse Analysis,TB ..)
You can able to see this through SQL Trace.
Open SQL Management Studio.
Open Tools>Sql Server Profiler.
Open File>New Trace.
This will continously trace the changes done in SQL.
Open the Purcahse analysis report now in SAP B1. U will get the query from Trace Window
Regards,
Thanga Raj.K -
Hi all
I activated Reconcilation Ledger in controlling at the time of system showing.yellow message ...................................................................................................................................................................New General Leger Acccountung Active ............................
New General Ledger Accounting is active. See long text
Message no. FAGL_COFI017
Diagnosis
You are attempting to activate the reconciliation ledger in controlling area 2800.
System Response
New General Ledger Accounting is active. For this reason, see Interplay between Reconciliation Ledger and New General Ledger Accounting.
Procedure
Check whether you can use real-time integration instead of the reconciliation ledger.
Pls give sugesstion ./ i want to do any extra activitesHi,
When you activate New General Ledger Accounting you can no longer use Reconciliation Ledger!.
With the New General Ledger Accounting the system makes direct the FI (intercompany) postings from Controlling
Paul -
hi team, is it possible to have a report or a query to include all PC 's office suites (2003 standard, 2010 enterprise,etc) and IE7/8/9/10,OS sp,office SP on sccm 2012? I have 2400 PC. I need a csv to have all this information of mgmt to filter the
information they need. any advice please? I tried one to have them in differnt query report because IE9/10 doesn't show in installed software. but when they do vlookup then some entries' OS and SP became N.A. Though the original report has no such issue. In
my report, I have the first tab to have all inventory of 2400 PC. the other tab has Office or IE, around 800 to 1800 pc for each sheet. any advice please?Thanks
Thanks and best regards, -- KFhttp://easyadminscripts.blogspot.com/2013/09/internet-explorer-version-sccm.html
http://www.windows-noob.com/forums/index.php?/topic/661-how-can-i-create-a-query-to-find-systems-with-office-2007-installed/
Mike Crowley | MVP
My Blog --
Planet Technologies -
Marketing docs including item remarks in the printed form?
On the PO window you will see all items the user has added including text rows. When you print the document it is including the IMD remarks for parts that have that populated. I have not found why this being included. As far as I can see the text rows that are referenced in the PLD are from the Purchase Order:Rows. I see no reference to the IMD remarks. We do not want this on any of our marketing docs. It is happening on all of them currently. Any help you can offer would be greatly appreciated.
Thanks,
MonicaHi
You have to select the specific template based on your business process . Since you have decided to put the text(function) in the purchase order and I believe documents are usually created based on copy from and copy to function , you have to find the appropriate PLD format to handle your situation .
I have given an alternative workaround for this issue because I donot like PO with whole bunch of text which is difficult for to read .
1. Ask your user to use opening and closing remark instead of using text field .
2.Display this opening and closing remarks in PLD - Database -OPOR Field -Header
3.Print the information on PLD .
Limitation -user cannot see in the screen that remarks have been added unless print preview is used
So I have ask user to create a common code and put in remarks that means there are more remarks associated with this documents
Hope this helps you
Bishal -
Hi Experts,
We are using General Ledger Report to print statement of customers.The PLD has information related to JE.How can we add remarks column from ORIN and OINV tables to show remarks in the printout of this report.I tried adding the cooments field from these tables in new columns but all the rows show the same value.
I there a way to get remarks field correctly displayed in this GL printout ?
Regards,
Asap FanHi,
Create one field called Remarks near to the Document Number.
Create the database filed. Click on the database field in content tab you have a field called Table, in this filed please do Alt+ Click there. It will show all the tables in which are available in SAP B1. Select AP invoice in table filed.
In description field select Remarks (Comments). Now u can able to see remarks an ap invoice.
Thanks and Regards,
Senthil Maruthappan.
Team Work Never Fails -
Rewrite draft document batch query for live document
Hello Experts,
I have written a query that returns data from DRAFT A/P Credit Memos. It returns all line items and includes all linked batch numbers if any.
I want to run the same query against A/P Credit memos once the document is 'added'. Here's the current query...
select odrf.docentry, DRF1.itemcode, DRF1.dscription, odrf.cardcode, obtn.distnumber, odrf.Docdate as 'Date Opened'
from odrf
join DRF1 on odrf.docentry = DRF1.docentry
left join DRF16 on DRF1.docentry = DRF16.absentry AND DRF1.linenum = drf16.linenum
left join obtn on DRF16.objabs = obtn.absentry
where DRF1.dscription IS NOT NULL
AND odrf.objtype = 19
I'm having a difficult time translating this logic over to live documents. It seems there is no equivalent table to DRF16 on live documents?Yes I tried that. However my RPC16 table is empty. Which is odd because you would think after adding a draft document into a live document the data from DRF16 would show up in RPC16. This appears to be the case for DRF1 to RPC1 tables at least...
-
Need help in highlighting the query text in document
Hi, I am trying to load the files in the blob column and trying to create the text index on it.
i need to query the blob column in the document table with a string, which needs to return the relevant documents with the query string highlighted with some color.
Can you please help me with an example on the above.
Thanks in advance.SCOTT@orcl_11gR2> -- table:
SCOTT@orcl_11gR2> CREATE TABLE document_tab
2 (document_col BLOB)
3 /
Table created.
SCOTT@orcl_11gR2> -- procedure to load documents:
SCOTT@orcl_11gR2> CREATE OR REPLACE PROCEDURE load_document
2 (p_dir IN VARCHAR2,
3 p_file IN VARCHAR2)
4 AS
5 v_blob BLOB;
6 v_bfile BFILE;
7 BEGIN
8 INSERT INTO document_tab (document_col)
9 VALUES (EMPTY_BLOB())
10 RETURNING document_col INTO v_blob;
11 v_bfile := BFILENAME (UPPER (p_dir), p_file);
12 DBMS_LOB.FILEOPEN (v_bfile, DBMS_LOB.LOB_READONLY);
13 DBMS_LOB.LOADFROMFILE (v_blob, v_bfile, DBMS_LOB.GETLENGTH (v_bfile));
14 DBMS_LOB.FILECLOSE (v_bfile);
15 END load_document;
16 /
Procedure created.
SCOTT@orcl_11gR2> SHOW ERRORS
No errors.
SCOTT@orcl_11gR2> -- load documents (directory and files must be on server, not client):
SCOTT@orcl_11gR2> CREATE OR REPLACE DIRECTORY my_dir AS 'c:\my_oracle_files'
2 /
Directory created.
SCOTT@orcl_11gR2> BEGIN
2 load_document ('my_dir', 'banana.pdf');
3 load_document ('my_dir', 'english.doc');
4 load_document ('my_dir', 'sample.txt');
5 END;
6 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> -- confirm files were loaded:
SCOTT@orcl_11gR2> SELECT DBMS_LOB.GETLENGTH (document_col)
2 FROM document_tab
3 /
DBMS_LOB.GETLENGTH(DOCUMENT_COL)
222824
22016
60
3 rows selected.
SCOTT@orcl_11gR2> -- text index:
SCOTT@orcl_11gR2> CREATE INDEX document_idx
2 ON document_tab (document_col)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 /
Index created.
SCOTT@orcl_11gR2> -- confirm files were indexed:
SCOTT@orcl_11gR2> SELECT COUNT(*) FROM dr$document_idx$i
2 /
COUNT(*)
319
1 row selected.
SCOTT@orcl_11gR2> -- function to return highlighted document:
SCOTT@orcl_11gR2> CREATE OR REPLACE FUNCTION your_markup
2 (p_index_name IN VARCHAR2,
3 p_textkey IN VARCHAR2,
4 p_text_query IN VARCHAR2,
5 p_plaintext IN BOOLEAN DEFAULT TRUE,
6 p_tagset IN VARCHAR2 DEFAULT 'HTML_DEFAULT',
7 p_starttag IN VARCHAR2 DEFAULT '*',
8 p_endtag IN VARCHAR2 DEFAULT '*',
9 p_key_type IN VARCHAR2 DEFAULT 'ROWID')
10 RETURN CLOB
11 AS
12 v_clob CLOB;
13 BEGIN
14 CTX_DOC.SET_KEY_TYPE (p_key_type);
15 CTX_DOC.MARKUP
16 (index_name => p_index_name,
17 textkey => p_textkey,
18 text_query => p_text_query,
19 restab => v_clob,
20 plaintext => p_plaintext,
21 tagset => p_tagset,
22 starttag => p_starttag,
23 endtag => p_endtag);
24 RETURN v_clob;
25 END your_markup;
26 /
Function created.
SCOTT@orcl_11gR2> SHOW ERRORS
No errors.
SCOTT@orcl_11gR2> -- query that returns highlighted document:
SCOTT@orcl_11gR2> VARIABLE string VARCHAR2(100)
SCOTT@orcl_11gR2> EXEC :string := 'test AND demonstration'
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> SELECT your_markup ('document_idx', ROWID, :string)
2 AS highlighted_text
3 FROM document_tab
4 WHERE CONTAINS (document_col, :string) > 0
5 /HIGHLIGHTED_TEXT
This is a test document for demonstration of highlighting.
1 row selected.
SCOTT@orcl_11gR2> -
Combined Purchase Order and Sales Order Query. (Including Stand Alone Docs)
Hi,
I need some help please!
I am looking for a query that will show all the Purchase Orders with all their base document Sales Orders. However I also need to show those stand alone Purchase orders and Sales Orders.
What I have is two queries, one for the PO fields en one for The SO fields. I would like a way to combine these two so I have one query with the relevant PO and SO info next to each other.
The final query will have a top heading structure like this:
Status,Purchase No.,Supplier No.,Supplier Name,Week,Month,Del Method,Country,Method,Rep.|Status,Rep.,Sales No.,Customer No.,Customer Name,Customer Order no.,Cust. Del date,Doc total,Del Method
+(The first part is for the purchase order section, the second part starting at the second 'Status' is the sales order section)
+Purchase Order Query:
SELECT
T0.DocStatus 'Status',
T0.DocNum'Purchase Order No.',
T0.CardCode 'Supplier No.',
T0.CardName'Supplier Name',
DATEPART(ww,T0.DocDuedate)'Week',
DATEPART(mm,T0.DocDuedate) 'Month',
T1.TrnspName 'Delivery Method',
T2.Country 'Country',
T0.JrnlMemo 'Method',
T3.SlpName 'Rep.'
FROM OPOR T0
INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode
INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
Sales Order Query:
SELECT
T0.DocStatus 'Status',
T2.SlpName 'Rep.',
T0.DocNum 'Sales Order No.',
T0.CardCode 'Customer No.',
T0.CardName 'Customer Name',
T0.NumAtCard 'Customer Order no.',
T0.DocDueDate 'Cust. Delivery date',
T0.DocTotal ' Doc total',
T1.TrnspName ' Delivery Method'
FROM ORDR T0
INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
The problem I am having is that if I combine these queries it excludes all those records with blank/empty data fields.
I do not mind having to go to crystal reports to get what I want.
Any suggestions?
Thanks!Hi thanks GordonDu,
I have tried a union before, and yours works great. However my problem is to display the PO en SO columns next to each other and not underneath each other.
Something like this:
Po No Supplier SO No Customer
1234 Sup 1 9876 Cust 1
1235 Sup 2 no SO Cust 2
1236 Sup 3 9877 Cust 3
1237 Sup 4 9878 Cust 4
1238 Sup 5 no SO Cust 4
I have this query, but with this it drops all those Purchase Orders made Stand Alone and without a SO number.
SELECT
T2.DocNum AS 'Purchase Order No.',
T0.DocNum AS 'Sales Order No.',
T2.CardCode AS 'Supplier No.',
T2.CardName AS 'Supplier Name'
FROM ORDR T0
INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OPOR T2 ON T2.DocEntry = T1.PoTrgEntry
Though using your Union gives me all the information I want and the ability to expand on that, my problem is the "Display" part. I am sure I am doing something stupid somwhere
Edited by: Desmond Moll on Mar 7, 2012 8:03 AM -
PDF distribution to include documents that have been linked
Hi, we have some large PDF documents (for medical device regulation), in which we have hyperlinks to documents stored on our server (e.g. test reports).
Is there a way to enable us to distribute this PDF portfolio AND INCLUDES the documents referred to in the hyperlinks?
So it pulls the documents from the links and assembles the PDF for distribution?
Many thanks for any help,I didn't know it before, but I found two things:
1) Pack a PDF portfolio which combines multiple PDFs into (File->Package)
2) Organize the PDFs (File->Organiser->New Collection) -
CMIS Query to get documents in a folder - link to document
Hey
I have created a page that uses Content Presenter to get a list of content in a folder. The CMIS query looks like this:
SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xCollectionID = 73120544374400676
I have a Content Template to display the content titles, and that is all working well.
The next step is to hyperlink the document name to the actual document. If I had done a service call to get tjis information, I would get back DocUrl which would link directly to the web rendition of the document. Does the CMIS query return anything like this, or is it a matter of building up the URL manually?
Cheers,
ALook at this documentation: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_content_presenter.htm#CHDFEBIB
It provides all the properties from the node element in your CP template.
#{node.url} will return the URL of the document.
Maybe you are looking for
-
hi i have following code: switch (type) { default: case 1: objSquare sq = new objSquare(positionX, positionY, positionX1, positionY1); sq.color =
-
Hi , i have the problem that one AP in one location doesnt join the WLC. i checked DHCP scope options , time on WLC and AP etc. I also check all this issues: http://www.cisco.com/en/US/products/ps6366/products_tech_note09186a00808f8599.shtml I only s
-
Cross Dissolve fades to black...I want it to be white.
Can anyone help me on this? I'm using Final Cut Express 3.5.1. I have my cross dissolve where I want it, but it fades to black, and I want it to fade to white. I have made the background white, but it still fades to black. Any help? Thanks.
-
Keyboard keeps repeating letterrrrr
After upgrade to OS 10.6.8 sometimes the keyboard (bluetooth or wired) keeps repeating a letterrrrrrr, no stopping, even backspace doesn t help me, only a complete restart. Happens with different letters, different keyboards. Does anyone recognizes t
-
Need information for federation with lync online
We have an online lync account and one lync on premises account. We are trying to federate the two domains to enable chat and presence sharing between the two. Online Lync client is [email protected] and lync on premises client is [email protected] W