Changing pageheader
Hi, I have a subreport I use for pageheader on many reports.
It's made up of a number of detailsections of which some have to be suppressed, I use a boolean for this.
On the actual report I have a group per user. The pageheader(subreport) has to be fully displaid for the first page of the user, any pages after that, the subreport has to suppress some sections.
For the next user in the group it has to be the full header again, any pages after that suppress again.
What I have tried is using 3 formulas.
In the ReportHeader section I placed this formula (@flagInit)
WhilePrintingRecords;
booleanVar showHeader:=true;
In the GroupHeaderSection I placed this formula (@trueFlag)
WhilePrintingRecords;
booleanVar showHeader:=true;
In the groupFootersection I placed this formula (@falseFlag)
WhilePrintingRecords;
booleanVar showHeader;
showHeader:= not showHeader;
depending on the @falseFlag I suppress the sections in the subreport
This just seems to switch the header every other page, and not per user.
Any suggestion of solving this problem?
Any help is welcome.
-edit-
Ok, now I feel really stupid.
I solved it with just 1 formula.
WhilePrintingRecords;
if not InRepeatedGroupHeader then true else false
the formula is passed to the subreport using a parameter field, where it suppresses the necessary sections.
(the 'Repeat Group Header On each Page" is enabled in the Group expert)
Simple
Edited by: Bruno Latte on Apr 9, 2009 11:17 AM
Solved it myself
Similar Messages
-
Change query string in ireport xml file?
greetings all
iam newbie to xml
first i want to add the xml file to a packge named first,how to do that?
second i want to change the query string to be
"select * from report where month= "+textfield.getText()
here's the code:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
name="Untitled_report_2"
columnCount="1"
printOrder="Vertical"
orientation="Portrait"
pageWidth="595"
pageHeight="842"
columnWidth="535"
columnSpacing="0"
leftMargin="30"
rightMargin="30"
topMargin="20"
bottomMargin="20"
whenNoDataType="NoPages"
isTitleNewPage="false"
isSummaryNewPage="false">
<property name="ireport.scriptlethandling" value="0" />
<property name="ireport.encoding" value="UTF-8" />
<import value="java.util.*" />
<import value="net.sf.jasperreports.engine.*" />
<import value="net.sf.jasperreports.engine.data.*" />
<queryString><![CDATA[SELECT * FROM report]]></queryString>
<field name="category" class="java.lang.String"/>
<field name="values" class="java.lang.Integer"/>
<field name="series" class="java.lang.String"/>
<background>
<band height="0" isSplitAllowed="true" >
</band>
</background>
<title>
<band height="0" isSplitAllowed="true" >
</band>
</title>
<pageHeader>
<band height="0" isSplitAllowed="true" >
</band>
</pageHeader>
<columnHeader>
<band height="0" isSplitAllowed="true" >
</band>
</columnHeader>
<detail>
<band height="201" isSplitAllowed="true" >
<stackedBar3DChart>
<chart hyperlinkTarget="Self" >
<reportElement
x="32"
y="21"
width="394"
height="144"
key="element-1"/>
<box></box>
<chartLegend textColor="#000000" backgroundColor="#FFFFFF" >
</chartLegend>
</chart>
<categoryDataset>
<dataset >
</dataset>
<categorySeries>
<seriesExpression><![CDATA[$F{series}]]></seriesExpression>
<categoryExpression><![CDATA[$F{category}]]></categoryExpression>
<valueExpression><![CDATA[$F{values}]]></valueExpression>
<itemHyperlink >
</itemHyperlink>
</categorySeries>
</categoryDataset>
<bar3DPlot >
<plot />
<categoryAxisFormat>
<axisFormat >
</axisFormat>
</categoryAxisFormat>
<valueAxisFormat>
<axisFormat >
</axisFormat>
</valueAxisFormat>
</bar3DPlot>
</stackedBar3DChart>
</band>
</detail>
<columnFooter>
<band height="3" isSplitAllowed="true" >
</band>
</columnFooter>
<pageFooter>
<band height="0" isSplitAllowed="true" >
</band>
</pageFooter>
<summary>
<band height="0" isSplitAllowed="true" >
</band>
</summary>
</jasperReport>the xml file
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
name="test"
columnCount="1"
printOrder="Vertical"
orientation="Portrait"
pageWidth="595"
pageHeight="842"
columnWidth="535"
columnSpacing="0"
leftMargin="30"
rightMargin="30"
topMargin="20"
bottomMargin="20"
whenNoDataType="NoPages"
isTitleNewPage="false"
isSummaryNewPage="false">
<property name="ireport.scriptlethandling" value="0" />
<property name="ireport.encoding" value="UTF-8" />
<import value="java.util.*" />
<import value="net.sf.jasperreports.engine.*" />
<import value="net.sf.jasperreports.engine.data.*" />
<queryString><![CDATA[SELECT * FROM report WHERE category BETWEEN 'week1' AND 'week4']]></queryString>
<field name="category" class="java.lang.String"/>
<field name="values" class="java.lang.Integer"/>
<field name="series" class="java.lang.String"/>
<background>
<band height="0" isSplitAllowed="true" >
</band>
</background>
<title>
<band height="50" isSplitAllowed="true" >
<staticText>
<reportElement
x="158"
y="7"
width="183"
height="37"
key="staticText-1"/>
<box></box>
<textElement>
<font size="14"/>
</textElement>
<text><![CDATA[ Report]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="50" isSplitAllowed="true" >
</band>
</pageHeader>
<columnHeader>
<band height="30" isSplitAllowed="true" >
</band>
</columnHeader>
<detail>
<band height="4" isSplitAllowed="true" >
</band>
</detail>
<columnFooter>
<band height="2" isSplitAllowed="true" >
</band>
</columnFooter>
<pageFooter>
<band height="0" isSplitAllowed="true" >
</band>
</pageFooter>
<summary>
<band height="194" isSplitAllowed="true" >
<stackedBar3DChart>
<chart hyperlinkTarget="Self" >
<reportElement
x="49"
y="-6"
width="369"
height="200"
key="element-1"/>
<box></box>
<chartLegend textColor="#000000" backgroundColor="#FFFFFF" >
</chartLegend>
</chart>
<categoryDataset>
<dataset >
</dataset>
<categorySeries>
<seriesExpression><![CDATA[$F{series}]]></seriesExpression>
<categoryExpression><![CDATA[$F{category}]]></categoryExpression>
<valueExpression><![CDATA[$F{values}]]></valueExpression>
<itemHyperlink >
</itemHyperlink>
</categorySeries>
</categoryDataset>
<bar3DPlot >
<plot />
<categoryAxisFormat>
<axisFormat >
</axisFormat>
</categoryAxisFormat>
<valueAxisFormat>
<axisFormat >
</axisFormat>
</valueAxisFormat>
</bar3DPlot>
</stackedBar3DChart>
</band>
</summary>
</jasperReport>the java code:
import java.sql.*;
import net.sf.jasperreports.view.JasperViewer;
import net.sf.jasperreports.engine.xml.JRXmlLoader;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.design.JasperDesign;
import net.sf.jasperreports.engine.JasperReport;
import java.io.OutputStream;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class ReportDriver {
public static void createAndShowGUI(){
Object[]obj={"1","2"};
JComboBox combo=new JComboBox(obj);
JFrame frame=new JFrame("Test");
JButton button=new JButton("Show Report");
frame.setLayout(new FlowLayout());
frame.setLocationRelativeTo(null);
frame.add(combo);
frame.add(button);
frame.setSize(150,100);
frame.setVisible(true);
button.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
show_report();
public static void show_report(){
try{
Class.forName("com.mysql.jdbc.Driver");
Connection c = DriverManager.getConnection("jdbc:mysql://localhost/library", "root", "");
}catch(Exception ex) {ex.printStackTrace();}
try{
JasperDesign jasperDesign = JRXmlLoader.load("F:\\Program Files\\Xinox Software\\JCreatorV4\\MyProjects\\chart2\\src\\report.xml");
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
Connection c = DriverManager.getConnection("jdbc:mysql://localhost/library", "root", "");
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null, c);
JasperViewer.viewReport(jasperPrint);
}catch(Exception ex) {
String connectMsg = "Could not create the report " + ex.getMessage() + " " + ex.getLocalizedMessage();
System.out.println(connectMsg);
public static void main(String[] args) {
createAndShowGUI();
}the problem is i want when the user selects 2 from the combobox and presses the button
the where clause in the xml file is changed to BETWEEN 'week5' AND 'week8',how to do that? -
How to change the page Header background colour in a Theme
Hello,
I want to know how to change the page header background colour. If you are in the Editor I don't find a property where to change it.
If you are in the Theme Editor in the header bar I want to change stands <b>Theme Editor</b>. This (in my case blue colored bar) I want to change in another color.Hello Radhika,
thanks for your answer. Where do I find the option for the pageheader in System Administration>Portal Display>Theme Editor ->IView Trays exactly?
The pageheader is a picture, which must be uploaded for the web dynpro. Why should any webdynpro element in the ivew tray. There is no relationship between these two parts.
I have not found any option to change the web dynpro pageheader. Could there any extra theme editor for webdynpro?
Thanks.
Olaf -
Background color of Pageheader
Hi all,
I searched on the standard documentation and several threads here, but I didn't find any
reply to this specific problem.
I need to change the background color of the Pageheader of a WDA modifying somehow
a custom theme in the MIME Repository. I already changed the file title_area_bg.jpg in
common/pageheader theme folder with success but I still have 2 lines (on top and bottom) whose
color (now yellow) needs to be changed and it seems that the file subtitle_area_bg.gif
in the same folder is not the answer. I already tried it but nothing changed.
As far I as see, the file title_area_bg.jpg is put over a background area that is a little bit larger.
Thx a lot in advance, best regards.
AngeloHi,
so basically to change the page header element background you have to do the following:
1. Export your portal theme, so that you get a .zip file.
2. Open the .zip file with a ZIP Unpacker and change the appropriate picture inside with the one you want to have.
3. Re-pack the zip as it was
4. Upload it back to the portal.
This action would permanently change the background color of your page header UI element for this theme.
BR,
Todor -
A change in apex 4.1?
Hi,
In my app, I have a process running after submit that prints out some javascript to close a modal popup, which worked pre 4.1 and now it doesnt. It only worked when there was no branches defined on the page.
Now it doesnt work anymore, and it seems that the page defaults to branch to itself when there is no branches??
To make it work I have to change my javascript to run before pagehead and set a condition on it. Also I have to create a branch with a request to make the condition on the javascript work.
Anyone knows if its intentional that the page now defaults to branching to itself when there is no branches defined?Hi,
yes that was an intentional change in 4.0 to automatically branch to the current page if no branch or no branch condition evaluated to true.
In 4.1 this logic was changed to always reset the HTTP buffer before writing the redirect into the HTTP buffer, because the problem was that the redirect was ignored by the browser if somebody wrote data to the HTTP buffer before the redirect was written.
If you want to write something to the HTTP buffer during accept, just add a
apex_application.stop_apex_engine;at the end of your code to instruct APEX to not continue with its default processing.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
PageHeader UI Element in WebDynPro ABAP
Hi,
We are not using SAP Portal and want to make modifications to the e-recruiting webdynpro applications.
We want to change the color and font size/ type of the pageheader UI element in ABAP WebDynpro.
The eclipse theme editor does not show the PageHeader element. Hence there is no possibility of that being changed in the eclipse theme editor.
Is there any other way we can do it? Has anyone found a solution to this issue? I've searched SDN but could not find anything that can point me to the solution.
Need your expert advise as soon as possible.
Regards,
Sanjiv TyagiHI Roman,
Sorry for the late response. Here are the details that you wished to know.
Software Component..........Release..........Level..........Heighest Support Package
SAP_ABA............................700.................0020..........SAPKA70020
SAP_BASIS..........................700................0020..........SAPKB70020
ERECRUIT..............................603...............0005..........SAPK-60305INERECRUIT
Let me know if you could find something.
Thanks,
Sanjiv -
Portal theme pageheader - WD Abap
Hi,
after upgrading our Portal from NW7.0 SP18 to NW7.01 SP6, our Custom Portal Theme shows a difference in the WD Abap Pageheader Control in some integrated WD Abap applications.
The WD Abap Pageheader colour resp. underlying gif changed.
Does anybody know how to influence this control via Portal theme editor.
Thanx,
Andreas Lorinser
SAP Integration Services (Common Services)
AXA Group Solutions
Gärtnerstrasse 2, A1.124
8400 Winterthur, Switzerland
Tel.: +41 52 261 6717Hi,
Within the iView of WD Abap application go to the property Support Portal Stylesheet select 'yes', if it is set to No it will take the theme defined in the ECC System.
You can find the SAP Delivered themes in the Program WD_THEMES using the same you can upload your custom theme.
The theme loaded using WD_THEMES can be found in SE80 under the path defined below:
Mime Repository - SAP/PUBLIC/BC/UR/nw5/ themes/CUSTOM/
And all the object including the headers are stored under the location mentioned above.
And if you want to replace the standard theme with your custom theme please make the changes in the application below:
WD_GLOBAL_SETTING
Change the Application Parameter - Stylesheet URI: /SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM/xxxx
xxxx is the new custom theme you uploaded.
Please ensure the WD Abap iView property Support Portal Stylesheet is set to 'No'.
Hope this helps.
Cheers-
Pramod -
Hi, I need help please with queryString and pageHeader
Hi,
1)How can I set an Icone/Image to a pageHeader?
2)How can I creat dinamic queryString parameters, I'm using JasperReport
I mean something like this:
public class Report {
public Report() {
// TODO Auto-generated constructor stub
try {
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Connection conn = DriverManager.getConnection(
"jdbc:sqlserver://matarotsrv:1111;databaseName=qm6", "aa",
"aa");
// load JasperDesign from XML and compile it into JasperReport
JasperDesign jasperDesign = JRXmlLoader.load("task1.jrxml");
JasperReport jasperReport = JasperCompileManager
.compileReport(jasperDesign);
HashMap parameters = new HashMap();
if(ownerId!= 0){
parameters.put("owner_id", new Integer(ownerId));
if(!(ownerName.equals(null))){
parameters.put("owner_name", new String(ownerName));
JasperPrint jasperPrint = JasperFillManager.fillReport(
jasperReport, parameters, conn);
JasperViewer.viewReport(jasperPrint, true);
} catch (Exception e) {
e.printStackTrace();
Then, in the xml file - How can I connect to the WHERE statment only if this properties is full with data??
<parameter name="owner_id" class="java.lang.Integer" />
<parameter name="owner_name" class="java.lang.String" />
Where tasks.owner_id = $P{owner_id} AND tasks.owner_name = $P{owner_name}Thanks,
Yael.1) You mean that little icon in the title bar of the window? It's done in the page itself.. Insert this inside the <head> tags
<link rel="shortcut icon" href="img/favicon.ico">Change favicon.ico accordingly
Sorry, I can't answer number 2 -
Updating template changes to pages
Error code 3 constantly appears when trying to update pages
after changes have been made to the templates, can anyone help
please?the coding is as follows:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en">
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>Welcome to Quotec</title>
<!-- TemplateEndEditable --><meta name="description"
content="Quotec Limited is a technology consultancy. We undertake
technology related projects for clients in the private and public
sectors in the UK and overseas." />
<meta name="keywords" content="Quotec Limited, Quotec,
Quo-tec Limited, Quo-tec, Strategy consultants, Technology
Exploitation, Technology, Marketing Evaluation, Programme
Management, Technology development, Project evaluation, Healthcare
Technologies, Private sector, Public Sector, Materials Expertise,
Buckinghamshire, Bucks, Hertfordshire, Oxfordshire, Oxon,
Engineering, United Kingdom, UK, due diligence, market research,
programme management, best practice, roadmaps, roadmapping" />
<link href="../quotecstyles.css" rel="stylesheet"
type="text/css" media="screen" />
<link href="../printstyles.css" rel="stylesheet"
type="text/css" media="print" />
<!-- TemplateBeginEditable name="head" --><!--
TemplateEndEditable -->
</head>
<body>
<a class="skiplink" href="#navigation">Skip to
Navigation</a>
<div id="container">
<div class="printonlyheader">
<img src="../images/quotec_headerprint.jpg" alt="Quotec"
width="780" height="103" border="0"/>
</div>
<div id="pageheader">
<h1><span>Quotec</span></h1>
<h2><span>Your technology
partner</span></h2>
</div>
<!-- TemplateBeginEditable name="mainContent" -->
<div id="content"> <img
src="../images/home_office3.jpg" alt=" " width="230" height="200"
class="pic border" />
<h1>Welcome to Quotec</h1>
<p>Quotec Limited is a technology consultancy which
has been supporting the exploitation of technology since 1984. We
undertake technology related projects for clients in the private
and public sectors in the UK and overseas.</p>
<p>The main services we provide are:</p>
<p><strong>Technology
Exploitation</strong> including strategy development,
technology and market evaluation/due diligence and technology
transfer.</p>
<p><strong>Programme Management</strong>
including strategy development and <br />
technology transfer programme management, best practice
advice and programme/project evaluation.</p>
<p>We work in many areas of technology specialising in
materials and healthcare<br />
technologies. We have a strong complementary network of
Associates with <br />
expertise and experience in many sectors and technical
areas. Our work <br />
is ISO 9001 certified.</p>
</div>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="navPanels" -->
<div id="navpanel"> <a name="navigation"
id="navigation"></a>
<div id="navbar">
<ul>
<li><span>01.</span><a
href="../index.htm" title="Back to the Homepage">
Home</a></li>
<li><span>02.</span><a
href="../techstrategy.htm" title="Technology Strategy">
Technology Strategy </a></li>
<li><span>03.</span><a
href="../programme_management.htm" title="Programme Management">
Programme Management</a></li>
<li><span>04.</span><a
href="../expertise.htm" title="Quotec's Expertise">
Expertise</a></li>
<li><span>05.</span><a
href="../clients.htm" title="Quotec's Clients">
Clients</a></li>
<li><span>06.</span><a
href="../aboutus.htm" title="About Quotec Limited"> About
Us</a></li>
<li><span>07.</span><a
href="../contactus.htm" title="Contact Quotec Limited"> Contact
Us</a></li>
<li><span>08.</span><a
href="../vacancies.htm" title="Vacancies at Quotec Limited">
Vacancies</a></li>
</ul>
</div>
<div id="navimage1"> </div>
</div>
<div id="copyright">
<p class="copyright1"><a href="sitemap.htm"
title="go to Quotec
Sitemap">sitemap</a> <a
href="
http://www.w3.org/WAI/WCAG1AA-Conformance"
title="Explanation of Level Double-A Conformance"
target="_blank">aa</a> copyright
© 2006 Quotec Limited</p>
</div>
<!-- TemplateEndEditable --></div>
</body>
</html> -
Dynamically changing page heading
Hi,
I need to change my page heading dynamically how can i do that one.
For example i have a view which contains a view container and four buttons like create, change... When i press a button the appropriate page heading should come.
I am expecting to ur valuable answer.
Regards...
Arun.Hi Arun,
As far as I know, you cannot change the page heading (if you are referring to the heading on the IE window) dynamically, as it is the name of your application.
However, you can use a PageHeader UI Element (at the top in ur RootUIElementContainer) and bind the 'title' property to an attribute in your context. You can change this attribute, depending on any events that occur.
Regards,
Neha
<i><b>PS:Reward of helpful</b></i> -
BADI for changing fields during Creation of BP in CRM
Hello to everyone,
I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.Hi
If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
Cheers
Dom -
How to restrict manual changing of free goods in sales order
Hi ,
Goodmorning ,
We have some requirement : In sales order free goods quantity determination by system should not be allowed to change manually , where can we do this ?
Looking for your inputs
Thanks and regards
VenkatAs per SAP Standard, when the main Item quantity is changed, the Free Goods are redetermined. In this case any manual changes to Free Goods Quantities are lost.
But your requirement is for restricting the Chages of the Quantity of Free Goods Correct?
I believe there is no SAP standard solution for this. You will have to apply a User Exit, which will check the Item category of each LIne item & if it is free goods (TANN) then changes are not permitted.
Hope this helps.
Thanks,
Jignesh Mehta -
Sy-tabix value has changed...
Hi Gurus,
I am using a code like dis...this is not the actual code m using instad m sendin u a sample program so that u can understand the problem
There is a selecvtion for Customer.
sort itab by kunnr.
loop at itab.
on change of itab-kunnr.
wkunnr = itab-kunnr.
read table zitab with key kunnr = itab-kunnr.
endon.
if itab-kunnr = wkunnr.
wdmbtr = wdmbtr + itab-dmbtr.
endif.
at end of kunnr.
ftab-kunnr = wkunnr.
ftab-dmbtr = wdmbtr.
append ftab.
endat.
endloop.
Now my problem is that AT END OF Kunnr is working fine for the first customer or say for single customer but when there are multiple customers AT END OF kunnr is triggring for each entry.......
In debug MOdei can see that as soon as read table syntax is used the tabix value is changed....
So Can anyone suggest what is the solution....
Regards,
RamanThis is the Declaration
DATA: BEGIN OF ITAB OCCURS 0,
KUNNR LIKE BSID-KUNNR,
BELNR LIKE BSID-BELNR,
BUKRS LIKE BSID-BUKRS,
GJAHR LIKE BSID-GJAHR,
BUZEI LIKE BSID-BUZEI,
SHKZG LIKE BSID-SHKZG,
VALUT LIKE BSID-ZFBDT,
SGTXT(70) TYPE C,
ZFBDT LIKE BSID-ZFBDT,
ZBD1T TYPE BSID-ZBD1T,
ZBD2T TYPE BSID-ZBD2T,
ZBD3T TYPE BSID-ZBD3T,
REBZG TYPE BSID-REBZG,
NETDT TYPE BSID-BUDAT,
ZUONR LIKE BSID-ZUONR,
BLART LIKE BSID-BLART,
DMBTR LIKE BSID-DMBTR,
SPART TYPE VBRK-SPART,
DAY TYPE RFPOSX-VERZN,
FLAG TYPE C,
CITY TYPE KNA1-ORT01,
NAME1 TYPE LFA1-NAME1,
CR_DR1(4) TYPE C,
PSWSL LIKE BSID-PSWSL,
ZTERM LIKE BSID-ZTERM,
VBELN LIKE BSID-VBELN,
UMSKZ LIKE BSID-UMSKZ,
KLIMK LIKE KNKK-KLIMK,
VTEXT LIKE TVZBT-VTEXT,
ADV LIKE BSID-DMBTR,
REBZT TYPE BSID-REBZT,
XBLNR LIKE BSID-XBLNR,
VTEXT1(70) TYPE C,
FKLIMK LIKE KNKK-KLIMK,
ABC(4) TYPE C,
AGRO(4) TYPE C,
BIO(4) TYPE C,
SKFOR LIKE KNKK-SKFOR,
SSOBL LIKE KNKK-SSOBL,
CTLPC LIKE KNKK-CTLPC,
OEIKW LIKE S066-OEIKW,
OLIKW LIKE S067-OLIKW,
OFAKW LIKE S067-OFAKW,
NAME1 LIKE LFA1-NAME1,
BUDAT LIKE BKPF-BUDAT,
D_DMBTR LIKE BSID-DMBTR,
S_DMBTR LIKE BSID-DMBTR,
VORGN LIKE BSEG-VORGN,
WERKS LIKE BSEG-WERKS,
NAMESO LIKE KNA1-NAME1,
NAMEAM LIKE KNA1-NAME1,
NAMERM LIKE KNA1-NAME1,
NAMEDR LIKE KNA1-NAME1,
END OF ITAB. -
ANY SY-INDEX REFLECT CHANGES WHEN CONTROL BREAK STATEMENT PROCESS
Dear Guru's,
I have a requirement where i have to move the values to variable when control break (AT END OF) process. So i want to move the values according to the end of Vendor so for that i want to know is there any sy-index available which reflects changes when Control break (AT end of) process.
LIKE Sy-subrc = 0 when select statement fetches record or sy-tabix is like counter for loop.
Hope to get reply soon.
Regards,
Himanshu RangappaHi,
There is no system Fields for it.
But your requirement can be done with 'AT NEW' and 'AT END' statement.
Refer this sample example,
loop at otab.
at new module.
move otab-module to otab2-module.
ENDAT.
at END OF effort.
sum. "Do your calculations here
move otab-count to otab2-count.
append otab2.
endat.
endloop. -
How to change SSO Partner Application Login_url and Logout_url
As part of a deployment in a different data centre, we needed to change the domain name of an application using SSO for authentication. We have gone through the process of re-registering the SSO server but this does not update the domain name
By using diagnostic tools from Oracle we have discovered that the file 'osso.conf' in $ORACLE_HOME/Apache/Apache/conf/osso contains incorrect entries for login_url and logout_url.
These settings are of the form:
login_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_login
logout_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_logout
Please can anyone tell me how these settings can be changed.Hi,
[Solved] SSO fails to show success page you can find some information on re registering mod_osso.
Hope it helps.
Maybe you are looking for
-
Help needed in calculating hash code for a linked list??
I have reffered API documentation for the list interface...There i found the code below for the hashcode() method ...I couldn't get why "31" is used as a multiplicative factor? int hashCode = 1; Iterator<E> i = list.iterator(); w
-
Hello, I have this error on a Oracle database 10.2.0.1 with WIndows 2003 standard edition ORA-07445: [ACCESS_VIOLATION] [_pevm_CMP3N+21] [PC:0x60BA7455] [ADDR:0x6] [UNABLE_TO_READ]. I look into the metalink but the parameter [_pevm_CMP3N+21] does not
-
There is a clash with Windows 7 and Firefox that prevents one opening files and folders.
-
Smart Object And Action Question
I have a smart object layer in one document and I want to drag it over to another document and record this in an action. If I just drag it over, the action records it as select previous document. Copy and paste doesn't transfer the layer as a smart o
-
I get error every time I try to update my iTunes to 11.5.2 on my mac mini w/lion
I get an error message every time I try to update ITunes on my mac mini 10.8.3 while connected to the ap store....help?