Problem with Function Pool
Hi All,
As per some new requirement I've copied one standard function pool into my own function pool.when I'm calling one subroutine defined in this fuction pool through a user exit , it's not behaving the same way as when the same subroutine is called defined in the standard function pool.
While calling the subrouting using the copied function pool, the vaules are not getting passed and it's taking initial values.
Any help would be greatly appreciated.
Thanks.
Alok Varma
Sanjay,
I've copied all the includes in the Function pool into the new Function pool. The subroutine which I'm using is defined in one of those includes which I've already copied. I'm calling one subroutine defined in one include LL03AF9J externally in the user exit include program.I'changed the earlier code for calling this subroutine to
PERFORM LAGERPLATZFINDUNG_1(SAPLZF05) USING L_SAV_NLTYP
I_LTAP-NLBER
I_T331
I_LTAP-VSOLM
E_NLPLA
L_HLP_PLPOS.
earlier this code was
PERFORM LAGERPLATZFINDUNG_1(SAPLL03A) USING L_SAV_NLTYP
I_LTAP-NLBER
I_T331
I_LTAP-VSOLM
E_NLPLA
L_HLP_PLPOS.
Any clue on this ?
Thanks
Alok
Similar Messages
-
I'M HAVING PROBLEM WITH FUNCTION KEY, I'M HAVING PROBLEM WITH FUNCTION KEY
Hello everybody
Recently i'm having problem with function key of iphone4, now its working assistive touch key board , between these days i had restored and update then it work for next 12 hour after that it again stoped..
pls help me from this isssue,
thanking you.There are no function keys on the iPhone.
Please clearly state the issue that is occurring. -
Problem with function module RS_VARIANT_CONTENTS
Hi all,
i´ve a problem by calling the FM RS_VARIANT_CONTENTS. Everytime I try to get the content of a variant the module crashes with the following dump:
Call (PERFORM) to a non-existent routine.
025730 INSERT SCREEN_PROGS INDEX L_TABIX.
025740
025750 read table f3progs_old with key
025760 table_line = p_prog
025770 binary search
025780 transporting no fields.
025790 l_tabix = sy-tabix.
025800 if sy-subrc ne 0.
025810 PERFORM %_INIT-MOVE IN PROGRAM (P_PROG). " ????
025820 endif.
> IF P_NEW_CALL EQ 'S' or flag_query_active eq 'A'.
025840 PERFORM INIT IN PROGRAM (SY-LDBPG) IF FOUND.
025850 ENDIF.
025860
025870 ENDFORM. " INIT_1_PROG
Thats the coding how I create the variant:
i_jvari_desc-report = sy-repid.
i_jvari_desc-variant = 'TESTING4'.
i_jvari_desc-ename = sy-uname.
i_jvari_desc-environmnt = 'A'.
i_jvari_desc-mlangu = 'N'.
ls_jvt-mandt = sy-mandt.
ls_jvt-report = sy-repid.
ls_jvt-variant = 'TESTING4'.
ls_jvt-langu = sy-langu.
ls_jvt-vtext = 'FUNCTION EXAMPLES'.
APPEND ls_jvt TO i_jvt.
ls_selpa-sign = ''.
ls_selpa-option = ''.
ls_selpa-kind = 'P'.
ls_selpa-selname = 'BRAND'.
ls_selpa-low = 'SL'.
APPEND ls_selpa TO i_selpa.
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = i_jvari_desc-report
curr_variant = 'TESTING4'
vari_desc = i_jvari_desc
TABLES
vari_contents = i_selpa
vari_text = i_jvt.
IF sy-subrc EQ 0.
ENDIF.
Could it be a problem that the dynpro is not a generated selection screen instead it is a normal dynrpo created with the screen painter. The parameter BRAND isn´t the only parameter on this screen. Do I´ve to pass all Paramters on the screen while creating a new variant? SY-REPID includes the name of a Function Pool!
Did anybody had the same or similar problem and can give me some hints how to solve it?
Thanks in advance,
AndyHi,
thanks for your reply.
I´ve tried your suggestion, unfortunately without success.
I think the problem is, that the dynpro is not a generated selection screen instead it belongs to a function group.
It seams to me, that the FM unsuccessfully tries to check the dynpro fields....?
Nevertheless I´ve implemented my own variant maintenance environment.
Regards,
Andy -
Problem with function arguments
I am having a problem with arguments to a function not
working. In the attached example, the values passed to the function
are never reflected within the function.
Can any one tell me what I am doing wrong?
Thanks,
Davidhey drzeller,
i just copied and pasted the original code you attached to
this thread into flash and kglad is right. there is no problem with
any of it. i didn't check your values before i altered your code
originally, i just assumed they were outputting the values you
posted. if you will copy and paste your original code back into
flash and check the output window you will see what kglad is
talking about.
just so you know, all the advice i've ever seen in this forum
from kglad has been spot on. definitely use his advice. -
hi,
I have problems with Weblogic 5.1 connection pool. Normally it works
fine, but
under heavy load the connection pool doesn't work at all: it
negotiates a new connection every time.
Has anyone else had problems like this?
regards, EKMitesh Patel wrote:
What is your max capacity of the pool? Generally, max capacity value of
the pool should be no. of concurrent users connecting to database at
peak load.Hi Eino. Actually, I'll disagree temporarily with Mitesh ;-)
If your application is designed so that all JDBC work is done
during a single client-server invoke, such as in stateless session
beans, or servlets etc, you should only need as many connections
in the pool as your server has execute-threads. This is because
each thread will be handling one client at a time, and as long as
the code gets a pool connection, uses it, and closes it during the
one invocation, the closed connection will be there for the next.
one.
Let me see your pool definition. The only issue that may
cause occasional problems like you see, is if pool refresh is
running. Pool refresh will temporarily reserve all the currently-
unused pool conenctions to test them, and during this time, any
incoming application demand will cause the pool to make new connections
(or throw an exception!) to meet demand. If you have testConnsOnReserve
set to true, this is all the pool checking you need IMO. I would set
the refresh minute parameter to 99999999 to effectively turn off
refresh. I'm betting that will solve your issue. Let me know...
Joe
>
>
Mitesh
Eino Komsi wrote:
hi,
I have problems with Weblogic 5.1 connection pool. Normally it works
fine, but
under heavy load the connection pool doesn't work at all: it
negotiates a new connection every time.
Has anyone else had problems like this?
regards, EK -
Problem with function, need to return a very large number
I have a function that is used to derive a number by using a defined algorithm. We have tested it many times in our 'development' region and it works. We moved it to our 'UAT' region and now the function is giving an error. The data is the same in both oracle instances. So.... dba's are telling me it is the function. At this point, I don't know what to do.
Can I declare "RESULT" in a function so that it can return a number this big: 2.00023880306E24?
Oracle returns -6502 error in the deriveNewNum function.
Here is the error:
*** ERROR in deriveNewNum.fnc
SQLCODE: -6502
ORA-06502: PL/SQL: numeric or value error: number precision too large
BEGIN TF1ID; END;
ERROR at line 1:
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at DERIVENEWNUM", line 93
ORA-06512: at line 1Hi,
Did you look up that error in the error messages manual?
http://download.oracle.com/docs/cd/B28359_01/server.111/b28278/e4100.htm#sthref1889
Is there something there that you didn't understand?
<h3>ORA-06502: PL/SQL: numeric or value errorstring </h3>
Cause: An arithmetic, numeric, string, conversion, or constraint error occurred. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).
Action: Change the data, how it is manipulated, or how it is declared so that values do not violate constraints.
If you declare variables like this:
x NUMBER;
y NUMBER (20, 10);there woul be no problem assigning a value like 2E24 to x, but there would be if you tried it with y.
How are your varaibles declared.
Whenever you have a problem with your code, post your code.
Always say what version of Oracle you're using. -
Problem with function 'GUI_DOWNLOAD'
Hi to everybody!!
I've a problem with the function GUI_DOWNLOAD, when I execute the program this make a dump and the problem is in this function.
I've read the log and this said that :
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was
not caught in
procedure "CREAR_FICHERO" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Function module "GUI_DOWNLOAD" was called
with the parameter "ACCESS_DENIED".
This parameter is not defined.
Can anybody tell me what's the meaning of this?
Thanks very much,
Regards,
RebecaHi,
You must have the write access to the file in OS level to which you are trying to download the table content using the function module 'GUI_DOWNLOAD'.The error occurs because the system is trying to write in a file to which, the write permission is not permitted for the user.If you are catching the exceptions properly.It will give the proper message instead of dump.
Regards,
Ajith -
Hello,
I have an pool of physical servers at the company that supports the production environment of virtual servers.
This pool have 4 (0, 1, 2 and 3) domain servers.
I recently had a problem with the OVS-AGENT, and had to restart the whole pool.
After that, all virtual servers I start at the pool, using the VM Manager, always start at the same domain server, the domain number 3.
When I force the start using xm create, I can start the virtual server at domain server 0, 1 and 2 too.
The live migration only works with the shell command (xm migrate -l), using the VM Manager simple do nothing.
I try to force an especific virtual machine to run at an especific node, using Placement Policy at VM Manager, but when I try to start the server, this error occurs:
Start - /OVS/running_pool/441_n_psgl04
PowerOn Failed : Result - failed:errcode=20000, errmsg=No enough memory to run vm(/OVS/running_pool/441_n_psgl04), required memory=16384.
StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteVM.py", line 124, in start_vm
raise e
Any idea what's happening? Is that some problem with the ovs-agent's database? How can I fix that with minimum of outage of the virtual servers?
I'm really concerned about this problem because this weekend we had a stop on the network that caused the restart of the cluster, and when the servers came back, all virtual servers started up on the same physical server, which caused a lack of resources.
Thanks for your help, and sorry about my poor english!843474 wrote:
PowerOn Failed : Result - failed:errcode=20000, errmsg=No enough memory to run vm(/OVS/running_pool/441_n_psgl04), required memory=16384.You don't have enough memory on the target server to start this guest. So, you need to work out why you don't have enough memory or why Oracle VM Manager isn't seeing all your servers. Check to see if all the servers are listed as "Active" on the servers tab of Oracle VM Manager. Also, you can try and restore the ovs-agent database to the entire pool by clicking the "Restore" button on the Server Pools tab. -
Problem with function "DBConnect" in LabWindows/TestStand
Hello, good day.
I'm having some problems with the function DBConnect.
I have made a function called GetSensor which I know it works because I have used it and tested it in the LabWindows enviroment.
His function is return the value of some element in my database according of his input parameter, just that.
My problem is that when I tried to use that same function in TestStand, it seems that the DBConnect cannot work as in the same way of when it is used from LabWindows because always show a warning message, which is display only when the values of iHdbc are iHdbc==-11 or iHdbc==-10.
The softwares that I'm using are:
Thanks in advance. Any help you could give will be welcomed.
The solution to my problem with the function DBConnect was to use NI TestStand 2014 (32-bit) instead of the NI TestStand 2014 (64-bit) version I was using. Just that.
-
Hi
I have a problem with the FM ' <b>HRVE_CONVERT_CURR_NAT_PAY_TABS</b>'
i need convert the currency in the table PS_EVAL , but i have a dump for conflit type with the declarations of my table.
Which type of declarations can i use for my table?
How can i use this FM for convert currency in table PS_EVAL?
Thanks for your help
Regards
GregoryHi
<b>part of my dump</b>
The call to the function module "HRVE_CONVERT_CURR_NAT_PAY_TABS" is incorrect:
The function module interface allows you to specify only fields
of a particular type under "CT_PS_EVAL". The field "WA_PS_EVAL" specified here has a different field type.
<b>My Code :</b>
LOOP AT ps_eval.
linea = sy-tabix.
MOVE-CORRESPONDING ps_eval TO wa_ps_eval.
call function 'HRVE_CONVERT_CURR_NAT_PAY_TABS'
exporting
iv_target_currency = moneda_endda
iv_currency_rate_date = pn-endda
iv_pernr = pernr_aux
iv_seqnr = evpdir-seqnr
changing
ct_ps_eval = wa_ps_eval
exceptions
error = 1
others = 2.
ENDLOOP.
Regards
Gregory -
Problem with function "DBConnect" in TestStand/LabWindows
Hello, good day.
I'm having some problems with the function DBConnect that I'm using in a personal function inside a DLL.
I have made a function called GetSensor which I know it works because I have used it and tested it in the LabWindows enviroment.
His function is return the value of some element in my database according of his input parameter, just that.
My problem comes out when I tried to use that same function in TestStand, it seems that the DBConnect cannot work as in the same way of when it is used from LabWindows because always show a warning message, which is display only when the values of iHdbc are iHdbc==-11 or iHdbc==-10.
The softwares that I'm using are:
I know TestStand is opening the function from my DLL becasuse it always get in, but did not pass the part when try to connect to the database.
I think this could be a compatibility issue between LabWindows and TestStand, but I do not find where can I modify some options to fix this problem.
Thanks in advance. Any help you could give will be welcomed.Hi,
Looking at the code i dont see any issue wrt Teststand interface.
The variable passed from TestStand to CVI code is not used to connect to DB.
When you say it works fine with CVI only - did you try to build a CVI application on the same machine with the same code and try?
If the CVI application also gives the same error then you need to install a CVI addon SQL toolkit for DB to work.
Hope this helps.
Ravi
-
Problem with function XMLIsValid()
Hi,
I have insered an invalid XML document into an XMLType table with constraint XMLIsValid(..)
My question is: Does my XML Schema not work or is there a problem with validation against xsd:key, xsd:keyef definitions?
I have checked my XML Schema and my XML Doxument instance with XMLSpy (V4.x) and with Xerces. Both parsers detect the error.
If you have any clue, please send me a note ([email protected]) or post a reply.
Thank you.
Please have a look on my tests. My setup of the test scenario is like Chapter 3 in 'XML Database Developer's Guide - Oracle XML DB':
1.)
begin
dbms_xmlschema.registerSchema(
'http://www.trivadis.com/xsd/orderlist.xsd',
getDocument('orderlist.xsd'),
TRUE, TRUE, FALSE, FALSE
end;
File 'orderlist.xsd':
<?xml version='1.0'?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<xsd:element name="Product">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ProdName" type="xsd:string" maxOccurs="3"/>
<xsd:element name="USPrice" type="xsd:decimal"/>
<xsd:element name="ReleaseDate" type="xsd:date" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="prodID" type="PartNumType" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="PartNumType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[0-9]{3}-[A-Z]{2}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="OrderList">
<xsd:complexType >
<xsd:sequence>
<xsd:element name="OrderItem" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Customer" type="xsd:nonNegativeInteger"/>
<xsd:element name="Quantity" type="xsd:nonNegativeInteger"/>
<xsd:element name="ProductRef" type="PartNumType"/>
</xsd:sequence>
<xsd:attribute name="orderID" type="xsd:integer" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element ref="Product" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:key name="ProductPK">
<xsd:selector xpath="Product" />
<xsd:field xpath="@prodID" />
</xsd:key>
<xsd:keyref name="ProductFK" refer="ProductPK">
<xsd:selector xpath="OrderItem" />
<xsd:field xpath="ProductRef"/>
</xsd:keyref>
</xsd:element>
</xsd:schema>
2.)
CREATE TABLE XML_ORDERLIST of XMLType
XMLSCHEMA "http://www.trivadis.com/xsd/orderlist.xsd"
ELEMENT "OrderList";
3.)
ALTER TABLE XML_ORDERLIST
add constraint VALID_ORDERLIST
check (XMLIsValid(sys_nc_rowinfo$)=1);
btw: What is 'sys_nc_rowinfo$'?
4.) ERROR:
SQL> INSERT INTO XML_ORDERLIST values (xmltype(getDocument('orderlist2err.xml')));
1 row created.
File:
<?xml version='1.0' ?>
<OrderList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.trivadis.com/xsd/orderlist.xsd">
<OrderItem orderID="2">
<Customer>7934</Customer>
<Quantity>12</Quantity>
<ProductRef>125-AS</ProductRef>
</OrderItem>
<Product prodID="124-AS">
<ProdName>Playstation</ProdName>
<USPrice>56.78</USPrice>
<ReleaseDate>2001-12-24</ReleaseDate>
</Product>
</OrderList>
Comment:
This document is not valid because element <ProductRef> references an PK wich does not exist, but the document has been inserted!
The XML Schema defines an PK-FK restriction on elements: <Product prodID="124-AS"> and <ProductRef>125-AS</ProductRef>I tried something similar. It looks like Oracle does not use the xsd:key* info. If you enter the corersponding information (I used XMLSpy; if you do it by hand you'll want to look at http://www.grandpoohbah.net/Sandeepan/IOUG2001XDB.htm or similar helpful pages) as xdb:columnProps it seems to work as expected.
-
Problem with function utl_smtp.mail
utl_smtp.mail(connection,sender,parameters)
Problem with parameters.
How to define additional parameters.
nullAdditional parameters to the SMTP MAIL command is defined in RFC 1869 (SMTP Service Extension). To use additional parameters in the MAIL command following the extension protocol, make sure that you handshake with the SMTP server with the EHLO command instead of HELO command. The format of the parameters is list of space-delimited name-vlaue pairs, <name>=<value> [<name>=<value> ...]. For example, utl_smtp.mail(conn, sender, 'BODY=8BITMIME').
-
Problem with Function Key in multiple JTextArea's
Hi all,
I have an unusual problem that I'm hoping someone has run into before. I'm working on a chatroom with multiple JTextArea's. I'm filter incoming keystrokes to run the appropriate method. I want to use function keys to perform various functions. I know it will, theoretically work because my test program worked fine in my test apllet with 1 JTextArea. All the other keyevent's work fine but the eventlistener acts like it doesn't detect any (function) event at all. I'm hoping that someone has run into this before.
Thanks.
ChrisHere's a code snipet:
String dummy;
int keyVal = e.getKeyCode();
switch (keyVal) {
case KeyEvent.VK_F1:
But what concerns me is that my debugger doesn't respond to any function key. I can't even debug because the debuger can't see what I'm doing. I've tried listening for function keys in the parent panel but with the same result. This is going to be a bear to solve.
Thanks.
Chris -
Problem with function ENQUEUE_READ
Hi friends,
I've created a report that use BDC to call transaction MM02 for changing some materials.
Before call transaction mm02, I use function module ENQUEUE_READ to check lock status of material.
Problem: I tested this report by a developer user, that's great. But with another user have right to use MM02 and not have permissions on se37, se38....This function module ENQUEUE_READ isn't working.
Anyone can tell me why? or tell me another method to check lock status of material.
Thanks,
GyDear Friend,
I also facing similar problem. As you come acros about this, Hope you know the solution. Please helo me how you resolved this thread.
How could I know if this change pointer is an iinsert,update or delete pointer?? The field CDCHGID of table CHANGE_POINTERS is always comming as U.
Every operation (insert/change/delete) iam getting change indicator as 'U' only for change pointers in BDCP table and also in IDOC.
Maybe you are looking for
-
How do i import my previous website into iWeb?
I had previously designed my website in iWeb and published it, i then had to wipe my hard drive but backed everything up, now i can't seem to open or import my old website back into iweb, any help please?
-
Music doesn't display in Itunes 11 except in playlist
I have some 24-bit music. I used a product to copy the files to 16-bit accidentally forgetting to change the sample rate. So I add the songs to Itunes and they show up as unknown in Itunes for the icloud status. Then I deleted all of the songs and th
-
GOP / UEFI Vbios request R9 290x Gaming 4G - Please
Hi, Could you please provide me an updated BIOS for my graphic card ? S/N: 602 - V308 - 14SB1404007564 Current Bios: 1https://drive.google.com/file/d/0B3gJrRAdyd5WOFdNb0NiU3BlUHc/edit?usp=sharing1 (Remove the 1 on each side) Thank you.
-
Creating customer fields in VA01/Va02 transaction in additonal tab 2
hi, I have to create Customer fields in the item level to va01 / va02 transaction in additional tab 2 subscreen. Include MV45AFZZ is used for validation. help needed for adding customer fields. thanks in advance.
-
General Question re logical workflow (Multiple Products/Sales Teams)
Currently we are upgrading from a highly customized CRM environment developed in CRM 4.0. We are hoping to move to an out of the box solution with 2015. But I have a general question. We are a service company with different sales groups for each of