Significance of using the parameter "AccA" in AFGJOB rules
Hi!
In the afgjob.jdt, I see rules defined this way
;LoadSegmentedRecord;Acca;;
;BuildFormList;Acca;;
;LoadGlobalFonts;Acca;;
;Reports;accA;;
etc.
Rules are fine, but what is the significance of "ACCA" here.
Thanks
Balaji
Hi Michael,
I'm using an DELL Intel Pentium 4 CPU 3.00 GHz with 1 GB of RAM. We use Microsoft Windows XP Prof version 2002.
As for Discoverer we are using 10G, Desktop Client 10.1.2.48.18 - 1047500 KB available memory , 2099744 KB Free disk space.
I'm not sure I have acess to a computer with more RAM but I'm looking into it.
What I'm frustrated by is the fact that the parameter works fine when run directly from the desktop but when passed from the command line it bombs... but only when dealing with mega records.
Lise.
Similar Messages
-
PLACEHOLDER COLUMN BY USING THE PARAMETER
hi,
i have to keep a place holder column in the report tiitle.what i should do?
for eg:i have category column USED AS A PARAMETER WHEN I RUN THE REPORT
if the CATEGORY=G
i need to print the report title like GENERAL PARTY REPORT
CATEGORY=C THEN CREDIT PARTY REPORT
URKENT PLZ REPLY.As you said you have one parameter called category (which will be having user passed value). Create one more parameter called P_CATEGORY_DESC set the datatype as VARCHAR2 and length accordingly. Than in reports' trigger AFTER-PARAMETER-FORM use the code as below...
IF :P_CATEGORY='VALUE' THEN
:P_CATEGORY_DESC:='Heading to be displayed on report layout.';
ELSIF :P_CATEGORY='VALUE' THEN
ELSE
END IF;
RETURN TRUE;Than use on layout create one text field and use the source of that field as parameter P_CATEGORY_DESC.
-Ammad -
Getting error when using the "/parameter" switch in command line run
Has anyone experienced this problem before?
My report queries over 100,000 records from a view. When the report is run from the command line every thing works fine.
But when I add a condition using a "parameter", although the report still runs fine from the destop, when launched from the command line it errs.
"Oracle Discoverer Desktop has encountered a problem and needs to close. ..."
"The instruction at "0x0044397c" referenced memory at "0x0000004e". The memory cound not be "read"...."
I'm guessing its a memory issue with my PC. I've tested using a parameter with other reports using fewer records and it doesn't err from the command line.
I can work around the issue by not using a parameter but then I have 20 versions of the same report each with a different condition.
Any suggestions would be appreciated.
Lise McGillisHi Michael,
I'm using an DELL Intel Pentium 4 CPU 3.00 GHz with 1 GB of RAM. We use Microsoft Windows XP Prof version 2002.
As for Discoverer we are using 10G, Desktop Client 10.1.2.48.18 - 1047500 KB available memory , 2099744 KB Free disk space.
I'm not sure I have acess to a computer with more RAM but I'm looking into it.
What I'm frustrated by is the fact that the parameter works fine when run directly from the desktop but when passed from the command line it bombs... but only when dealing with mega records.
Lise. -
Using the Parameter twice in a jsp page
I need to use a parameter twice I am really new to this and I know very little
about java I need to use it where I put HERE can anyone help me!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="java.sql.*"%>
<%@page import="java.util.*"%>
<jsp:useBean id="dbset" class="Beans.dbset" />
<html>
<body>
<%String res = request.getParameter("image_id");
String sql = "SELECT DISTINCT episode_id, episode_date, link FROM episode_char_Query where character_id = " + res ;
dbset.setQuery(sql);%>
<table>
<%
Vector outvec = new Vector();
Vector invec = new Vector();
outvec = dbset.getResults();
invec = (Vector)outvec.elementAt(1);
for(int i=0; i<outvec.size(); i++)
%>
<tr>
<%
for(int j=0; j<invec.size(); j++)
if(i!=0 && j==0)
%> <td align="center">
<a href="episode.jsp?episode_id=<%=((Vector)outvec.elementAt(i)).elementAt(0).toString() %>&character_id ="HERE/>Click here to show scenes</a>
</td>
<% }
if(i!=0 && j==2)
%> <td align="center">
<a href='C:\eastenders\<%=((Vector)outvec.elementAt(i)).elementAt(2).toString() %>'/>Click here to play episode</a>
</td>
<% }
else
%> <td align="center">
<%= ((Vector)outvec.elementAt(i)).elementAt(j).toString() %>
</td>
<% }
%>
</tr>
<%
%>
</table>
</body>
</html>um.
yuck.
I would suggest you use some JSTL.
Mixing html and scriptlet code like this is a recipe for disaster:
And whats with all this if j==1, j==2 crap?
Seeing as you only have three items being returned, it would be much simpler just to have one loop, and access vector elements 0,1,2 directly rather than having a double loop.
At LEAST pull some of the stuff into temporary variables.
<c:forEach var="episode" items="${outvec}" varStatus="status">
<c:choose>
// first line is headings?
<c:when test="${status.first}">
<td align="center">${episode[0]}</td>
<td align="center">${episode[1]}</td>
<td align="center">${episode[2]}</td>
</c:when>
// all other lines print the data
<c:otherwise>
<tr>
<td align="center">
<a href="episode.jsp?episode_id=${episode[0]}&character_id=${param.image_id}">Show scene</a>
</td>
<td align="center">${episode[1]}</td>
<td align="center"> <a href='C:\eastenders\${episode[2]}'> play episode </a></td>
</tr>
</c:otherwise>
</c:forEach>You see how much clearer it is without the nested looping and complicated if syntax?
Do yourself a favour - take a step back get JSTL and rewrite it from scratch.
You will be thanking yourself later.
Cheers,
evnafets -
How to use the parameter "data" in the vi of Nonlinear Curve Fit
I used "Nonlinear Curve Fit" to do state estimation. If I make the number of unknows a constant number, it is fine to code the fitting model for f(x,a). But if I want to code the number of unknows as a variable, how can I do this?
Maybe "data" should be used here. But I just could not find any examples talking about how to use "data" here.
Thanks.Hey hilary,
Have you looked at the LabVIEW help for the Nonlinear Curve Fit VI? Which version of LabVIEW are you using? In mine, the VI is polymorphic, and you can declare the formula to be a formula string. Then it provides pins to enter the input parameters programmatically. Perhaps you could post a screenshot of how you are currently using the VI, and we could help more.
Brian B
Field Sales Engineer
Tennessee/Southern Kentucky
National Instruments -
For GRC 5.3 can I use the SAP GRC 5.2 rule set
We are going for an upgrade to GRC 5.3, I have a small concern here....
Can I use the same ruleset what I used in GRC 5.2 to SAP GRC5.3 ...?
because when I checked ruleset at permission level in GRC 5.2 it displays first object of an action from one function conflicting with first object of an action from another function, where as in GRC 5.3 it displays all objects of an action from one function vs all objects of an action from another function....
How will it impact analysis in GRC 5.3 with old rule set...?
appreciate your response & thanks in advance.Hi,
Here you will find the documentation to get Upgrade/Configuration Guides.
[https://websmp103.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000718172&]
SAP BusinessObjects Governance --> Access Control ---> SAP GRC Access Control 5.3
There you will find a Upgrade guideline.
Cheers,
Martin -
Syntax error while using the parameter inside the badi method.
Hello all ,
I'm writing a code in the badi implementation . The badi is /SAPSLL/CTRL_MM0C_R3 . this badi contains a metthod API_CONTROL_MODIFY.This badi triggers while using MIGO transaction .
It is having the following parameter .
IT_MSEG Importing Type SLLR3_MSEG_T .
SLLR3_MSEG_T is declared as follows.
TYPES: sllr3_mkpf_t LIKE mkpf OCCURS 0,
sllr3_mseg_t LIKE mseg OCCURS 0.
here i have to get the werks value that is populated into IT_MSEG whie doing MIGO .
I have declared a local variable and assigned werks value from the IT_MSEG to the local variable as follows
DATA:l_werks type werks.
l_werks = IT_MSEG-WERKS.
But I'm getting the following error.
"IT_MSEG" is a table without a header line and therefore has no
component called "WERKS".
How should i avoid this error. Please give me sample code on how to avoid this error.
thanks in advance
pavanHi,
Move the row from IT_MSEG into a work area and use it. Declare the workarea of required type.
DATA:l_werks type werks.
read table it_mseg into wa_mseg index 1.
l_werks = wa_MSEG-WERKS.
Regards
Vinod -
How to use a parameter field value as a substring in a "like" statement?
Hi all,
I'm trying to use a parameter field in a Record selection formula where the parameter field value would be a substring of the data stored in the field.
My parameter field (SlctResearcher) is constructed as follows:
Type: string
List of Values: static
Value Field: (Reports) RptAuthors
(in Value Options) Allow custom values?: True
{Reports.PubDate} in DateTime (2009, 04, 01, 00, 00, 00) to DateTime (2010, 03, 31, 23, 59, 59) and
{Reports.RptAuthors} like "*{?SlctResearcher}*"
When I hit F5 to generate the data, I get no results (and the parameter prompt field does not even come up...)
If I modify the formula to put a hard-coded string, like
"*Jones*"
after the 'like', I get results (all the reports where "Jones" is a substring in the RptAuthors string.) If I modify the formula to just use the parameter field without the quotes/stars like:
{Reports.PubDate} in DateTime (2009, 04, 01, 00, 00, 00) to DateTime (2010, 03, 31, 23, 59, 59) and
{Reports.RptAuthors} like {?SlctResearcher}
I do get the parameter prompt field, but still no results even if I put in a valid substring value (since it is not searching for a substring anymore...)
How can I do this?
Thanks,
Will1st thing... Make a copy of your report before doing anything!!!
To use a SQL Command, you'll want to open the Database Expert and look at the Current Connections. Expand the data source and the 1st option you see is the Add Command option.
To find the SQL That CR is currently using, choose Database from the menu bar and select Show SQL Query...
You can copy this and paste it directly into the command window. (If you you can write your own SQL you don't need copy CR's, it's just an option.)
You'll also want to take not of any parameters that you have, you'll need to add them the the Parameter List of the command as well... be sure to spell them EXACTLY as they are in the design pane.
Anyway, once the SQL statement is in the Command window you'll be able to alter the WHERE clause to use the wild cards.
For future reference... What type of database are you reporting against???
Jason -
SAP Webdispatcher :Images are not displayed after using the URL filtering
Hello,
I have installed the SAP webdispatcher 7.3 on Linux redhat 5.4 in front of the Portal 7.3.
I wanted to restrict the access just for the IRJ prefix so for this i used the parameter wdisp/permission_table = PermFile
with Permfile as follows:
#Denial of the useradmin URL from the WebDispatcher
P /irj*
P /irj/*
The filtering is working well except that for IRJ the images are not displayed so i was using so i added the following line to disply the images to the logon page
icm/HTTP/auth_
P /logon_ui_resources/*
P /logon_ui_resources*
but i still have the same issue for the irj page where no icons are displayed and i can do nothing.
The same issue also happened when using the icm/HTTP/auth_xx
Do you have an idea how to deal with this issue?
Thanks in advance;
HassanHello,
After checking the HTTP code of the irj page on IE, i foud the needed URL to permit so i modified the permision table and it works fine for the moement
P /irj*
P /irj/*
P /logon_ui_resources/*
P /logon_ui_resources*
P /AFPServlet/*
P /AFPServlet*
P /com.sap*
P /com.sap/*
P /webdynpro/resources*
P /webdynpro/resources/*
Thanks for you help,
Hassan -
Hi, I am running into a problem that I can't fix.
This is the code I have in the after parameter form trigger. I am selecting a character field from the holder table that has characters in like this '010204050709' I then put these numbers into a parameter called :p_condit_comma and I add a comma between each set of two numbers. I then use this parameter in my query in the where clause as can be seen below. This should work unless I am missing something.
Using the parameter in the query produces no output and no error, if I replace the parameter in the query with (01,02,03) the report produces the desired output. I have also checked that the parameter contains what I am expecting eg. 01,02,04
Thank you
Michael
function AfterPForm return boolean is
v_conditions holder.conditions%type;
v_num NUMBER(2) := 1;
begin
SELECT conditions INTO v_conditions
FROM holder
WHERE authority = :authority;
LOOP
EXIT WHEN SUBSTR(v_conditions,v_num,2) IS NULL;
IF v_num = 1 THEN
:p_condit_comma := SUBSTR(v_conditions,v_num,2);
ELSE
:p_condit_comma := :p_condit_comma || ',' || SUBSTR(v_conditions,v_num,2);
END IF;
v_num := v_num + 2; END LOOP;
return (TRUE);
end;
SQL Query
SELECT ALL CONDIT.CONDITION, CONDIT.CONDIT_MEM
FROM CONDIT
WHERE condition IN (:p_condit_comma)Hi M
I have tried what you suggested
:p_condit_comma := :p_condit_comma ||''''|| ',' || SUBSTR(v_conditions,v_num,2);
this gives you something like this 01',02',03',04' and if you add an inverted comma before the number like this
:p_condit_comma := :p_condit_comma ||''''|| ',' ||''''|| SUBSTR(v_conditions,v_num,2);
you get the following error "ORA-06502 PL/SQL Numeric or value error"
I have tried many different combinations of this and I still have problems, maybe I need a new approach.
Thanks
Michael -
How can I use the procedure parameters here?
The problem in the following procedure is that the embedded javascript uses the parameter OBJ_NAME and OBJ_VALUE -> that doens't work.. how to solve this? It would be a pleasure for me if this procedure works! greetings Koen
PROCEDURE KOEN.PROC_SET_FIELD (OBJ_NAME IN VARCHAR2, OBJ_VALUE IN VARCHAR2) as
begin
htp.htmlOpen; htp.headOpen;
htp.p('<SCRIPT language = "JavaScript1.2">');
htp.p('for (i=0; i < document.forms[0].length - 1; i++)');
htp.p('{');
htp.p('var v_name = document.forms[0].elements.name;');
htp.p('if (v_name.indexOf("." + OBJ_NAME + ".") != -1)');
htp.p('document.forms[0].elements[i].value = OBJ_VALUE;');
htp.p('}');
htp.p('</script>');
htp.headClose; htp.htmlClose;
end;Hi,
it looks as if you are creating a new page to hold your javascript.
the javascript must be on the same page as the form for the code to work.
put the PL/SQL to generate the javascript code into the "after generating the form" section in the portal form.
Regards Michael -
Please explain how to use the parameter Id and Search Help in Data Element Creation.
hi,
explain how to use the parameter Id ?
It is used to retain the value across screens/sessions.for creating parameter ID goto sm30 give the table TPARA->set/get parameter id
use with example:mainly used for traversing from report to transactions.
REPORT ZSR_ALV_INTERACTIVE.
TABLES : LFA1,EKKO,EKPO.
SELECT-OPTIONS : VENDOR FOR LFA1-LIFNR.
DATA : BEGIN OF ITAB OCCURS 0,
LIFNR LIKE LFA1-LIFNR,
NAME1 LIKE LFA1-NAME1,
END OF ITAB.
DATA : BEGIN OF JTAB OCCURS 0,
EBELN LIKE EKKO-EBELN,
AEDAT LIKE EKKO-AEDAT,
END OF JTAB.
DATA : BEGIN OF KTAB OCCURS 0,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
END OF KTAB.
TYPE-POOLS : SLIS.
DATA : REPID LIKE SY-REPID.
DATA :LFA1_B TYPE SLIS_T_FIELDCAT_ALV,
LFA1_W TYPE SLIS_FIELDCAT_ALV,
EKKO_B TYPE SLIS_T_FIELDCAT_ALV,
EKKO_W TYPE SLIS_FIELDCAT_ALV,
EKPO_B TYPE SLIS_T_FIELDCAT_ALV,
EKPO_W TYPE SLIS_FIELDCAT_ALV,
EVENTS_B TYPE SLIS_T_EVENT,
EVENTS_W TYPE SLIS_ALV_EVENT.
PERFORM GET_VAL.
REPID = SY-REPID.
SELECT LIFNR NAME1 FROM LFA1 INTO TABLE ITAB WHERE LIFNR IN VENDOR.
*perform val USING USER_COMMAND sel.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = REPID
IT_FIELDCAT = LFA1_B
IT_EVENTS = EVENTS_B
TABLES
T_OUTTAB = ITAB.
FORM GET_VAL.
LFA1_W-FIELDNAME = 'LIFNR'.
LFA1_W-REF_TABNAME = 'LFA1'.
LFA1_W-REF_FIELDNAME = 'LIFNR'.
APPEND LFA1_W TO LFA1_B.
LFA1_W-FIELDNAME = 'NAME1'.
LFA1_W-REF_TABNAME = 'LFA1'.
LFA1_W-REF_FIELDNAME = 'NAME1'.
APPEND LFA1_W TO LFA1_B.
EKKO_W-FIELDNAME = 'EBELN'.
EKKO_W-REF_TABNAME = 'EKKO'.
EKKO_W-REF_FIELDNAME = 'EBELN'.
APPEND EKKO_W TO EKKO_B.
EKKO_W-FIELDNAME = 'AEDAT'.
EKKO_W-REF_TABNAME = 'EKKO'.
EKKO_W-REF_FIELDNAME = 'AEDAT'.
APPEND EKKO_W TO EKKO_B.
EKPO_W-FIELDNAME = 'EBELP'.
EKPO_W-REF_TABNAME = 'EKPO'.
EKPO_W-REF_FIELDNAME = 'EBELP'.
APPEND EKPO_W TO EKPO_B.
EKPO_W-FIELDNAME = 'MATNR'.
EKPO_W-REF_TABNAME = 'EKPO'.
EKPO_W-REF_FIELDNAME = 'MATNR'.
APPEND EKPO_W TO EKPO_B.
EVENTS_W-NAME = 'USER_COMMAND'.
EVENTS_W-FORM = 'VAL'.
APPEND EVENTS_W TO EVENTS_B.
ENDFORM. "GET_VAL
FORM VAL USING USER_COMMAND LIKE SY-UCOMM SEL TYPE SLIS_SELFIELD.
DATA : VEN(10) TYPE N,
PO(10) TYPE N.
DATA : MAT(10) TYPE C.
IF SEL-FIELDNAME = 'LIFNR'.
VEN = SEL-VALUE.
SELECT EBELN AEDAT FROM EKKO INTO TABLE JTAB WHERE LIFNR = VEN.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = REPID
I_STRUCTURE_NAME = EKKO_B
IT_FIELDCAT = EKKO_B
IT_EVENTS = EVENTS_B
TABLES
T_OUTTAB = JTAB.
ENDIF.
IF SEL-FIELDNAME = 'EBELN'.
PO = SEL-VALUE.
SELECT EBELP MATNR FROM EKPO INTO TABLE KTAB WHERE EBELN = PO.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
I_TITLE = 'ITEM DETAILS'
I_TABNAME = 'EKPO'
IT_FIELDCAT = EKPO_B
I_CALLBACK_PROGRAM = REPID
IMPORTING
ES_SELFIELD = SEL
TABLES
T_OUTTAB = KTAB.
ENDIF.
logic to select a record
IF SEL-FIELDNAME = 'MATNR'.
<b>MAT = SEL-VALUE.
SET PARAMETER ID 'MAT' FIELD MAT.</b> CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
ENDIF.
ENDFORM. "VAL
Search Help :
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm -
I need help with IMPDP and the parameter 'EXCLUDE'...
Hi all... Im new at this forum and Im looking for some help =)
I'm working with DataPump (EXPDP and IMPDP), and I'm importing some tables from HR... I'm able to import those tables without any problem, but I have to exclude the TRIGGER and PROCEDURES. I'm using the parameter EXCLUDE=TRIGGER,PROCEDURE and it shows me an error message , because its unable to find the object call "PROCEDURE"... if I remove the EXCLUDE=PROCEDURE then it shows no error message... can someone help me?
this is the script Im using....
IMPDP system/mypassword directory=DATA_PUMP REMAP_SCHEMA=HR:EXAMEN include=table:\"in('DEPARTAMENTS','EMPLOYEES','JOB_HISTORY','JOBS')\" EXCLUDE=TRIGGER,PROCEDURE DUMPFILE=IMP_HR.DMP LOGFILE=IMP_HR_.LOGHi,
Use:
EXCLUDE=TRIGGER
EXCLUDE=PROCEDURE
Always read the docs first:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#i1010670 -
User-exit using the dispatcher
Hi,
I am creating outbound files with file adapter and I need to generate the name of files dinamically. Where can I found documentation and examples about user-exits using the dispatcher?
Tks,
DouglasYou can BADI ME_PROCESS_PO_CUST to make the changes to PO Line items.
Use the method PROCESS_ITEM to get the values of the Line item conditions and populate the Items. In this method, you have an access to the item object using the parameter IM_ITEM. Use method GET_CONDITIONS, to get the conditions. Set the value of your field and use method SET_DATA to set values at line item.
Regards,
Naimesh Patel -
To use the transformation process I hear you have to code using OOP, True?
I've heard that to use the transformation process all update rules, routines must be writtend with OOP and you can't use the older coding method. Is this true
Prefferably Yes Routines hav to be migrated accordingly to OO ABAP.
<b>Look at</b>
Re: Doubt Migration of update rules to Transformations ?
Re: Steps for Copying routine?
Maybe you are looking for
-
Is it possible to connect an external Graphics card to a 13" rMBP and use it within OSX?
Considering buying the new 13" rMBP with 8Gb RAM and wondered if I would be able to use an external GPU with OSX apps just to futureproof the machine for years to come as I will be using it for some light HD video editing at University away from home
-
Following upgrade to 34.05, can no longer access web pages of the SAN management interface, the airco system, the vSphere Web Client, etc. All still work in Chrome. The airco system gives an error: Firefox cannot guarantee the safety of your data on
-
AppleTV and compilations that aren't really compilations
In my iTunes library on the Mac, I have a number of greatest-hits-type albums that used to be marked as compilations. I unmarked them quite some time ago, and cleaned up my library in other ways, and I now have that working just the way I want it. Pr
-
Help Needed -- WDR_TEST_ZCI
Hi Experts, could you please guide me. Can anybody help or point me where and how the first screen is populated in the standard SAP webdynpro for ABAP program WDR_TEST_ZCI. Will reward points for the best answers. Thanks Novice Abap developer.
-
My MacBook Pro won't turn on at all. I knew it was low on battery when I had last used it, so I attempted to charge it but it still wouldn't turn on. Does anyone know what might be the cause of this? Thanks!