Display format code instead of AcctCode
hi all,
i have the ff. Stored Procedure
USE [Production]
GO
/****** Object: StoredProcedure [dbo].[Cuztom_AcctBalance] Script Date: 02/04/2013 08:48:42 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[Cuztom_AcctBalance]
AS
BEGIN
SET NOCOUNT ON;
SELECT
JDT1.RefDate,
JDT1.TransId,
JDT1.TransType,
JDT1.BaseRef,
JDT1.ContraAct,
JDT1.LineMemo,
JDT1.Debit,
JDT1.Credit,
OACT.AcctName,
OJDT.Number,
OJDT.BaseRef AS [OJDT-BaseRef],
VPM1.CheckNum,
OACT.AccntntCod,
OACT.FormatCode
FROM OJDT INNER JOIN
JDT1 ON OJDT.TransId = JDT1.TransId LEFT OUTER JOIN
VPM1 ON OJDT.BaseRef = VPM1.DocNum LEFT OUTER JOIN
OACT ON JDT1.Account = OACT.AcctCode
END
my purpose of this StoredProc is to generate a customized G/L Account Balance(when we click the orange arrow in the Chart of accounts) that is similar with the default in SBO, but in the column Offset Account it display the AccoutCode which is something like _SYS0000000xxxx, the user cannot understand this _SYS0000000xxxx, what the user can understand is the FormatCode...
please help and thanks in advance.
Fidel
Hi Fidel,
Try:
SELECT
T1.RefDate,
T1.TransId,
T1.TransType,
T1.BaseRef,
T4.FormatCode 'Offset Account',
T1.LineMemo,
T1.Debit,
T1.Credit,
T3.AcctName,
T0.Number,
T0.BaseRef AS [OJDT-BaseRef],
T2.CheckNum,
T3.AccntntCod,
T3.FormatCode
FROM OJDT T0 INNER JOIN
JDT1 T1 ON T0.TransId = T1.TransId LEFT JOIN
VPM1 T2 ON T0.BaseRef = T2.DocNum LEFT JOIN
OACT T3 ON T1.Account = T3.AcctCode LEFT JOIN
OACT T4 ON T1.ContraAct = T4.AcctCode
Thanks,
Gordon
Similar Messages
-
XML report output displays xml code instead of pdf
Hi,
My Release is R12.1.1, An xml report whose output is set as pdf. when running this report output is coming as xml code instead of pdf
another xml report ouput is coming in word instead of pdf
is there any additional settings required to display in pdf format
eventhough i configured pasta.csg & ixlib.cfg files
Thanks,
Alig
Edited by: user12257829 on Jun 2, 2010 11:41 PM
Edited by: user12257829 on Jun 2, 2010 11:41 PMHi,
Helios
Even i tried both MOS documents u have referenced, as both reports compeleting normally without any error
one thing i want to know can application use the same pasta.cfg file for pdf and text format
as i have a single pasta.cfg configured
Thanks
Alig
Edited by: user12257829 on Jun 3, 2010 1:18 AM
Edited by: user12257829 on Jun 3, 2010 1:18 AM -
How to display plant code instead plant description?
Hi,
In tx ME21N, ME22N and ME23N, how can I display the plant code instead the plant description?
Thanks in advance.Hi,
Click the personal setting push button. There click the display key check box. Then try.
Regards, -
Display formatted code in html output
Howdy,
I'm looking for preferably a JSTL tag (library) that is capable of transforming a code fragment into neatly formatted code, with syntax highlighting, tab preservation, line numbers, stuff like that. I'm sure they should be out there somewhere, it's just that I can't find them anywhere using Google, or I'm just using the wrong terms :/.
So, if anyone happens to know about a code formatting tool for JSP / JSTL pages, I'd be much obliged.Here are some new keywords to Google on: 'java highlighter', 'java source highlighter', 'java2html', 'java2xml', etcetera.
-
Has anyone seen an email display formatting code embedded in the email?
Can this be removed or is there a setting to change this. It appears normally in Outlook and Mail.
SIRacer09, I think I have the same issue as you are describing. Some users at my company, when they go into the outlook calendar to open up the meeting invite, the webex meeting info would be missing. It would look something like this:
XXXXX invites you to attend this online meeting.
Topic: LS Q1 Town Hall
Date: Tuesday, April 7, 2015
Time: 9:00 am, Pacific Daylight Time (San Francisco, GMT-07:00)
Meeting Number: 000 000 0000
Meeting Password: WeRock
To join the online meeting (Now from mobile devices!)
Normally there are the links and other info of the meeting there. But now its just ------------------------------ this.
To fix this, I had to tell the meeting organizer to resend the invite and it would be fixed.
Any ideas? -
How to fix iframe issue that displays XML values instead of formatted XML in IE11
The following sub.jsp file shows the formatted XML properly as expected when is opened directly:
<% response.setContentType("text/xml"); %>
<book>
<chapter1>chapter 1</chapter1>
<chapter2>chapter 2</chapter2>
</book>
IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
<book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<iframe src="sub.jsp"></iframe>
</body>
</html>
The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
I appreciate to your if you know how to address this issue.
Regards, AmirThe following sub.jsp file shows the formatted XML properly as expected when is opened directly:
<% response.setContentType("text/xml"); %>
<book>
<chapter1>chapter 1</chapter1>
<chapter2>chapter 2</chapter2>
</book>
IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
<book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<iframe src="sub.jsp"></iframe>
</body>
</html>
The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
I appreciate to your if you know how to address this issue.
This issue is also posted at below link:
https://social.msdn.microsoft.com/Forums/en-US/5b0692b4-d312-4797-9089-42c1029ac059/how-to-fix-iframe-issue-that-displays-xml-values-instead-of-formatted-xml-in-ie11?forum=iewebdevelopment
Regards, Amir -
Firefox displaying little boxes of hex code instead of letters
all of a sudden firefox started displaying little boxes of numbers and letters which i suppose are hex code instead of letters for all web pages visited.
Missing icons are usually supplied by a font that is downloaded from the server (@font-face) as you can probably see by little boxes that show the hex code of the characters.
Make sure that you allow pages to choose their own fonts.
*Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
You can check the <b>gfx.downloadable_fonts.enabled</b> pref on the <b>about:config</b> page and make sure that it is set to true (if necessary double-click the line to toggle its value). -
String Display Format Specifiers?
I am aware that numerics have display format specifiers (as shown in picture), but I'm wondering if there's a similar function for getting the display formats of strings?
I have shown what I want the output to be (although that output was clearly not generated by the code!). So, can I replace the ???'s with some valid format specifiers?
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}Thanks for the reply! Well, yes, I'm aware of one "bad" way this can be accomplished, by using the "Text.Text" property of some dummy string indicators:
Instead, I'm wanting some cleaner syntax. Needing to introduce a dummy indicator just to hijack a property of that object is a bit messy.
Looking at my example, one might argue "Well you only need one dummy string in a For Loop of 4 iterations, setting the Display Style from 0-3. That way you don't need four dummies." Right, but the principle remains... I'm interested in a Format Specifier (or potentially a VI hidden in vi.lib?) that eliminates the need for a dummy indicator.
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;} -
My webpage created with php prints code instead of the created webpage
My webpage is created using dynamic field therefore it had to be save as .php.
The problem now is when i want to print the page it prints code instead of the actual page. Is the a solution for this problem?
Here is the site
http://www.pianoandkeyboardshoponline.co.uk/Test/
Any help welcomeI think you're confused by what you're seeing.
When I print > preview your on-line page in Firefox, I see the page content and links -- which may look like code to you, but they're not revealing anything abnormal. These are just links to other pages.
detailed_page.php?product_id=307-Yamaha-P105-Digital-Piano-in-White
You have these external style sheets but they are designated for screen & projection media only.
<link rel="stylesheet" type="text/css" media="screen, projection" href="style.css" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="jcart/css/jcart.css" />
Your print styles are actually driven by boilerplate.css towards the bottom of the page.
/* ==|== print styles =======================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== */
@media print {
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
a, a:visited { text-decoration: underline; }
a[href]:after { content: " (" attr(href) ")"; }
abbr[title]:after { content: " (" attr(title) ")"; }
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
thead { display: table-header-group; } /* h5bp.com/t */
tr, img { page-break-inside: avoid; }
img { max-width: 100% !important; }
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
Perhaps that's why what you see in print doesn't match what you see on screen.
If you want a print out of the screen display, do a screengrab with your print screen key. Paste content it into your favorite graphics editor.
Hope this helps,
Nancy O. -
Problem in reading the row values in table display format.
Hi All
I created UI asTable display format using three columns( name, email and resume ).
In this Resume column type is Link to Action. This entire column contains text as Resume - this element type is Link to action.
When click on Resume that respective row values I have to capture.
I have used following code, but It is capturing based on lead selection. ( On the UI, lead selection row is different and clicking on Resume row is different ).
DATA lo_nd_email TYPE REF TO if_wd_context_node.
DATA lo_el_email TYPE REF TO if_wd_context_element.
DATA ls_email TYPE wd_this->element_email.
DATA lv_email_ref LIKE ls_email-email_ref.
navigate from <CONTEXT> to <EMAIL> via lead selection
lo_nd_email = wd_context->get_child_node( name = wd_this->wdctx_email ).
get element via lead selection
lo_el_email = lo_nd_email->get_element( ).
lo_el_dashboard_1->get_attribute(
EXPORTING
name = `NAEM`
IMPORTING
value = lv_name ).
Please help me on this ..thanks in advance....Hi,
Just declare a variable in the parameters of the method,which u declare for the cell action.
CONTEXT_ELEMENT type ref to CONTEXT_ELEMENT as importing paramter
code:
context_element->get_static_attributes(
IMPORTING
static_attributes = stru_sflight ).
this will surely solve ur problem
regards,
Madhu -
this is a new problem after having upgraded to mountain lion.
when I attach a hyperlink to my pdf-document that I like to display on the web - the pdf-document will not show up in Firefox or Chrome - it generates a lot of code instead.
I have only uploaded the files to my computer (not released on the web yet) - as I can see all files are neatly displayed in the appropriate pagefolder.
One of the themes (modern) provided as a standard feature in iWeb has been used. In Chrome the menu does not show up either (although safari and firefox displays the menu correctly)I should have given you some info about testing the local version of your site. As you probably realise, its almost useless testing your site in Safari since hardly anybody uses it.
In OS X up to Snow Leopard, we could set up Web Sharing from System Prefs but Apple made this difficult in Mountain Lion.
See the bottom of this page for info about testing the local version of your website...
http://www.iwebformusicians.com/iWeb/mountain-lion.html -
Incorrect display format in report column
Hi.
A report have two columns, the first display a value based in a case expression:
NVL (DE.IMPORTE, 0) IMP_CHEQ
the second colum, displays the value formatted:
CASE WHEN DE.IMPORTE IS NULL THEN '-'
WHEN DE.IMPORTE > 0 THEN TO_CHAR (DE.IMPORTE, 'FM99G999G990D00')
ELSE '<FONT COLOR="#FF0000">' ||
TO_CHAR (DE.IMPORTE, 'FM99G999G990D00') ||
'</FONT>' END IMP_CHEQUES
As I want to sum the values of the formatted column, I choice the "sum" option in the first column, but use #IMP_CHEQUES# in the HTML Expression Column Formatting of the first (unformatted) column.
The formatting part of the column is "ignored", because the values are displayed in black, instead the indicated red color. What am I doing wrong?Denes, thanks for your reply.
I was looking your example, and learning a little more about html formatting.
In my problem, I saw more similar your example in http://htmldb.oracle.com/pls/otn/f?p=31517:111
I redo my answer:
A column value (DE.IMPORTE as IMP_CHEQ), is an important monetary indicator,
But the report reader wants to look the negative values in red, and for that I am using CASE to format the value color (according to the values been positives, null or negatives):
CASE WHEN DE.IMPORTE IS NULL THEN '-'
WHEN DE.IMPORTE > 0 THEN TO_CHAR (DE.IMPORTE, 'FM99G999G990D00')
ELSE '<FONT COLOR="#FF0000">' ||
TO_CHAR (DE.IMPORTE, 'FM99G999G990D00') ||
'</FONT>' END IMP_CHEQUES
in other column (IMP_CHEQUES) non visible.
Then, the column doesn't summarize IMP_CHEQUES, because these values aren't numbers.
The solution is show (and SUM) IMP_CHEQ, but set the HTML Expression column attribute as #IMP_CHEQUES#
That I don't understand is why any negative values are displayed en red color. Some is re-formatting the red colored values to the original
black color, and can't let function the "FONT COLOR /FONT" couple.
Thanks again, Marcelo. -
Two ALV Grid Display format on the Single page
Hi guru's
I have two plant details. I want to be display these two plant details in the single page with ALV Grid display format.. like
plant no 1(Details):
xxxx xxxx xxxx xxxx with ALV Grid Display format
plant no 2 (Details):
xxx xxxx xxxx xxxx ALV Grid Display format
Can any body help on the .. if you have sample code pls paste.
Thanks in Advance
Surendrahi,
Grid display is not possible but u can display two list on same page by Block ALV....
TYPE-POOLS : slis.
TABLES : mara,
makt.
SELECT-OPTIONS : mat FOR mara-matnr.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr,
maktx LIKE makt-maktx,
matkl LIKE mara-matkl,
mtart LIKE mara-mtart,
END OF itab.
DATA : BEGIN OF itab1 OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1.
DATA : BEGIN OF itab1_col OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1_col.
DATA : t_fcat1 TYPE slis_t_fieldcat_alv,
t_fcat2 TYPE slis_t_fieldcat_alv,
wa_fcat TYPE slis_fieldcat_alv,
t_eve TYPE slis_t_event,
wa_eve TYPE slis_alv_event,
t_layout TYPE slis_layout_alv.
DATA : v_repid LIKE sy-repid,
t_mat LIKE mara-matnr.
DEFINE create_fcat.
clear wa_fcat.
wa_fcat-fieldname = &1.
wa_fcat-seltext_l = &2.
wa_fcat-outputlen = &3.
append wa_fcat to t_fcat1.
END-OF-DEFINITION.
START-OF-SELECTION.
PERFORM get_data.
PERFORM dis_data.
*& Form get_data
text
FORM get_data.
SELECT amatnr bmaktx amtart amatkl INTO CORRESPONDING FIELDS OF TABLE itab
FROM mara AS a INNER JOIN makt AS b ON
amatnr = bmatnr
WHERE a~matnr IN mat.
LOOP AT itab.
itab1-mtart = itab-mtart.
itab1-count = 1.
APPEND itab1.
ENDLOOP.
SORT itab1 BY mtart.
LOOP AT itab1.
MOVE-CORRESPONDING itab1 TO itab1_col.
COLLECT itab1_col.
ENDLOOP.
ENDFORM. "get_data
*& Form dis_data
text
FORM dis_data.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = v_repid.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE1'.
APPEND wa_eve TO t_eve.
create_fcat:
'MATNR' 'Material' '10',
'MAKTX' 'Material Description' '40',
'MTART' 'Type' '10',
'MATKL' 'Group' '10'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB'
it_events = t_eve
TABLES
t_outtab = itab.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE2'.
APPEND wa_eve TO t_eve.
create_fcat:
'MTART' 'Type' '10',
'COUNT' 'Total' '5'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB1_COL'
it_events = t_eve
TABLES
t_outtab = itab1_col.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
ENDFORM. "dis_data
*& Form top_of_page1
text
FORM top_of_page1.
FORMAT COLOR COL_POSITIVE.
WRITE:/ 'First Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2.
FORMAT COLOR COL_NEGATIVE.
WRITE /5 'Second Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
reward if usefull.... -
Display Format (Video) Frames problem
The timecode display when set to frames is not working correctly in CS4.
When you specify Frames instead of timecode it does not change.
Project Settings>General
Video | Display Format | Frames
Can others reproduce this? Seems like a bug to us.
Link to reference in help:
http://help.adobe.com/en_US/PremierePro/4.0/WS3E67AF4C-B2A2-4f04-90B4-F8CCFB74B144.html>Is there an official problem area that I can report this
FAQ:How/Where do I report a bug?
Cheers
Eddie
PremiereProPedia (
RSS feed)
- Over 300 frequently answered questions
- Over 250 free tutorials
- Maintained by editors like
you
Forum FAQ -
Can I display formated text on a TextArea
I am developing a chat applet. I want to display texts from chatters in a TextArea with specific colour and font. But TextArea only contain a method AppendText(String) where displaying plain text is only possible. Please anyone help me to display formatted text in a TextArea(or any relavent component).
Thank you very much.You will probably want to look at JEditorPane instead.
Maybe you are looking for
-
Odd/Limited Mouse Behavior
I have an intermittent problem with my mouse behavior in 10.6. Actually, I'm pretty sure I had the same problem in 10.5, it's just a fiendishly intermittent problem that has an as yet undetermined cause & solution. All I know is that it occasionally
-
Role SAP_J2EE_ADMIN is not assigned to user J2EE_ADMIN
Dear All, I am new to sap... I tried installing SAP NETWEAVER 7.X SR3 While installing i got a error at phase 33 0f 50. The error message is CJS-30196 Role SAP_J2EE_ADMIN is not assigned to user J2EE_ADMIN. I am here copying the error log below.. Ca
-
Hi, I didn't see a thread for N900 preorderers, I'm guessing this is in the right section as I *think* it's classed as an NSeries. If it's not, can someone please move it to the relevant section? Anyway, this thread is for people who have preordered
-
Probleme mit Hinweismeldung nach generiertem PDF / Adobe Reader XI
Hallo zusammen, aus einer Webanwendung wird bei mir aus einer FDF Datei ein PDF generiert. Dieses wird unter dem Benutzerprofil\Lokale Einstellungen\Temp abgelegt. Jedes mal aber wenn das PDF dann geöffnet wird wird kommt die nachfolgende Hinweismeld
-
Hi when I am trying to create a vendor centrally i am getting an error ""Communication error with external tax system (vertex_MS0018)"" Any help is appreciated