Form Interface "YT_VBRK" is not a pre-defined type or a type from a ty
hi.
i am getting an error :Form Interface "YT_VBRK" is not a pre-defined type or a type from a type group.
i declared in types
TYPES : Yt_VBRK TYPE VBRK,
Yt_VBRP type VBRP.
can any one tell me the solution
and pls tell me how to create a table typr.pls......
Please go through the help.sap online and get your basics right to create a table type or you can search in SDN about this.
Search before posting a question.
Similar Messages
-
Not a pre-defined type or a type from a type group
Hi experts,
I create a interface Z_I_ADOBETEST, and add the following parameter for import:
/1BCDWB/DOCPARAMS TYPE SFPDOCPARAMS 1 1
IT_ITEM TYPE ZTVBAP 0 1
IT_HEADER TYPE ZTVBAK 0 1
IMAGE_URL TYPE STRING 0 1
I added 2 data types by SE11, and actived them
ZTVBAP line type VBAP
ZTVBAK line type VBAK
When I checked (ctrl+F2) interface Z_I_ADOBETEST, I got a error:
Interface Z_I_ADOBETEST
"ZTVBAK" is not a pre-defined type or a type from a type group.
THANKSThanks for Otto's help. I'm a newbie at Adobe forms.
For ZTVBAP, it's table type.
The interface type is ABAP Dictionary-Based interface.
Thanks. -
M61X_CM61B" is not a pre-defined type or a type from a type group
Hi,
I'm trying to activate the exit EXIT_SAPMM61R_001 but i have this message:
include LXM61$01.
M61X_CM61B" is not a pre-defined type or a type from a type group
LXM61$01 Is a standard include. Any ideas?
SAP version is ECC6.
Thanks.
Rafael.
Message was edited by:
Rafael RochaAnybody?
-
Hi gurus,
im want to insert fields in custome structure .im unable to locate pre-defined type in the screen so plz help me in this .
.i searched all but coudnt find 1 .im working in 4.6c version. so can u tell me exactly were is it located.
points will be awarded
sirish.Hi,
In SE11 go to the custom Structure.
Then select FIELDS tab.
U can see the Predefined Type buuton.
or
EDIT->Predefined Type
Or Ctrl+F6
enjoy a lot. -
Adobe Offline Form - Parse method is not possible for this type
Hi All,
I have developed an application for the offline scenario of interactive adobe form. I tried to load the adobe form from my desktop. After pressing the button "Display form" it throws an error "Parse method is not possible for this type".
If I include wdContext.getNodeInfo().getAttribute("pdfObject").getModifiableSimpleType() in the doInit() method of the view I receive this error -
com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(UploadView.pdfObject): must not modify the datatype of a mapped attribute
When I comment it out and upload I receive the error enclosed -
Parse method is not possible for this type
Can someone please help me with a step by step solution to this problem?
Any help is highly appreciated.
Many thanks,
DivyaHi Divya,
Please try to do it as stated below:
IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("pdfObject");
ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)type;
Try putting the code in wdInit() or wdDoModifyView().
Let me know if you still face the issue.
Regards,
Arafat -
Guys i am using Entity Framework 5 code first (I am not using edmx) with Oracle and all works good, Now i am trying to get data from stored procedure which is under package but stored procedure have out param which is user define type, Now my question is
how i will call stored procedure from entity framework
Thanks in advance.I agree with you, but issue is we have lots of existing store procedure, which we need to call where damn required. I am sure those will be few but still i need to find out.
If you think you are going to get existing MS Stored Procedures or Oracle Packages that had nothing to do with the ORM previously to work that are not geared to do simple CRUD operations with the ORM and the database tables, you have a rude awakening
coming that's for sure. You had better look into using ADO.NET and Oracle Command objects and call those Oracle Packages by those means and use a datareader.
You could use the EF backdoor, call Oracle Command object and use the Packages, if that's even possible, just like you can use MS SQL Server Stored Procedures or in-line T-SQL via the EF backdoor.
That's about your best shot.
http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx -
Invoice pricing procedure not using alt calc type from the pricing procedur
The sales order has the same pricing procedure as the invoice but when the invoice is created it is not using the alt calc type that is on the pricing procured like it is on the sales order. This is causing one of the condition types to have different values on the sales order vs. invoice.
I am not sure what other areas to check to see why this is happening. Any thoughts?I have checked and in the copy controls for Delv type = LF and target Bill type = F2 the Pricing Type = G (copy pricing elements unchanged and redetermine taxes). Condition types such as ZPR2 where there is condition record copy in correctly to the invoice. It is condition type ZZIF where it is determined from a routine, not a condition record, where I am having this issue.
Is there another place in config that I should be making a setting so that condition types determined by routines are copied to the invoice without being redetermined at invoice create? -
Calling function using user-defined type from query
I am in a bit over my head on this, at least at 2:30 in the morning after several hours of intense development. I am working on a function to return financial aging figures by aging date range. I created a user type Aging with a Currency type member for
each of these.
Public Type Aging
Aging0 As Currency
Aging30 As Currency
Aging60 As Currency
Aging90 As Currency
Aging120 As Currency
End Type
I then created a function that accepts the account ID & the as-of date. I have all the rest of the code written to actually calculate all of it, but I am having a fundamental problem figuring out how to call the function. To eliminate any of the complex
mathematical elements for testing, I have reducted the function to a set of simple explicitly-set values below:
Public Function GetAging(AccountID As Integer, AsOfDate As Date) As Aging
GetAging.Aging0 = 0
GetAging.Aging30 = 0
GetAging.Aging60 = 0
GetAging.Aging90 = 0
GetAging.Aging120 = 0
End Function
This all works fine from the immediate window, where I can type this:
?GetAging(115,#2015-04-05#).Aging0
and get the expected response of 0 (I have tested with other values for each member, so I know this part is working correctly).
But can I and/or how do I call this from a query? I should be able, as a test, to pass in each account # and the current date, just to get the Aging0 element out of my function--something like this:
SELECT
AccountID,
CustomerName,
GetAging([AccountID],Date()).Aging0
FROM
Customer
ORDER BY
CustomerName
I get "The expression you entered has an invalid .(dot) or ! operator or invalid parentheses. But if I remove the ".Aging0", I get this error: Undefined function 'GetAging' in expression.
What am I missing here?To expand on the answer of Hans, you could use a AgePoint parameter in the function like this:
Public Function GetAging(AccountID As Integer, AsOfDate As Date, AgePoint As Integer) As Currency
' do calculation
Select Case AgePoint
Case 0: GetAging = Aging.Aging0
Case 30: GetAging = Aging.Aging30
Case 60: GetAging = Aging.Aging60
Case 90: GetAging = Aging.Aging90
Case 120: GetAging = Aging.Aging120End Select
End Function
then use it in the query like this:
SELECT
AccountID,
CustomerName,
GetAging([AccountID],Date(), 0),
GetAging([AccountID],Date(), 30),
GetAging([AccountID],Date(), 60),
GetAging([AccountID],Date(), 90),
GetAging([AccountID],Date(), 120)
FROM
Customer
ORDER BY
CustomerName
However, this has the big drawback that the function will be called 5 times for each and every AccountID, so you will probably have bad performance.
Since you pass the AccountID to the function, you could consider to calculate the results for all AccountIDs in the code and store the results into a table, then join this table into the query.
Matthias Kläy, Kläy Computing AG -
Hi,
I had an error in form interface.I declared as,
IN_VOICE TYPE VBRK-VBELN for parameter.
error: "VBRK-VBELN" is not a pre-defined type or a type from a type group.Hi dilip,
Declare in the Import tab in the global definitions:
t_vbrk type y_ty_vbrk.
t_vbrp type y_ty_vbrp.
Create the table types for these two parameters (t_ vbrk and t_vbrp) in se11.
In the driver program declare:
fs_vbrk LIKE LINE OF t_vbrk,
fs_vbrp LIKE LINE OF t_vbrp.
Regards,
Sravanthi -
User Defined Types menuitem not appears in Server Explorer at Remote Server
Hi,
I'm working on oracle 10g,odp.net with 2.0. i created two types which are input and output parameters for a function. I installed odp.net (ORACLE DATA PROVIDER FOR .NET 11.1.0.6.20) and generated UDT custom class code. It's working in my system. But when i installed odp.net (ORACLE DATA PROVIDER FOR .NET 11.1.0.6.20) in my remote server, its not showing the UDT Custom Class Code Generation Wizard to create UDT Custom Class Code. I have installed oracle Client 10g,.Net Framework 2.0 and ODP.Net(11.1.0.6.20) in the server.
In my Local system server explorer it's showing
Tables
Views
Procedures
Functions
Packages
Synonyms
Sequences
XML Databases
Java Classes
User-Defined Types
In server explorer it's showing only
Tables
Views
Synonyms
Sequences
Procedures
Functions
Packages
Package Bodies
Why its not showing User-Defined Types.
Pls Help.
Ideas are highly appreciated.
AnilAs you noticed, not all database objects are available in Server Explorer, and because of this they can't have scripts generated for them, nor can they be compared with Schema Compare.
In a pinch, you should be able to use SQL Developer to do this. -
Issue in passing Oracle User Defined Types to PL SQL from Websphere Applica
HI,
I am facing an issue when trying to pass Oracle collection object(User Defined Types) from Java to PL SQL. The issue happens inside J2EE application which is running inside Websphere Application Server 6.x. My database is Oracle 10g and i am using ojdbc1.4.jar as thin driver.
The issue is that when i pass the Oracle Object from java side, the attribute values of the collection objects at the Oracle PL SQL side is coming as empty. I have tried the same java code in a standalone application and it works fine. The issue happens only when the application is running inside WAS.
Anybody has any idea how to pass Oracle User Defined Types from WAS 6.x server to Oracle PL SQL?Andy Bowes wrote:
Hi
I am using WebLogic 8.14 & Oracle 9i with thin JDBC driver.
Our application needs to perform the same DB operation for every item in a Java Collection. I cannot acheive the required performance using the standard Prepare & Execute loop and so I am looking to push the whole collection to Oracle in a single invocation of a Stored Procedure and then loop on the database.
Summary of Approach:
In the Oracle database, we have defined a Object Type :
CREATE OR REPLACE
TYPE MYTYPE AS OBJECT
TxnId VARCHAR2(40),
Target VARCHAR2(20),
Source VARCHAR2(20),
Param1 VARCHAR2(2048),
Param2 VARCHAR2(2048),
Param3 VARCHAR2(2048),
Param4 VARCHAR2(2048),
Param5 VARCHAR2(2048),
and we have defined a collection of these as:
CREATE OR REPLACE
TYPE MYTYPE_COLLECTION AS VARRAY (100) OF MYTYPE
There is a stored procedure which takes one of these collections as an input parameter and I need to invoke these from within my code.
I am having major problems when I attempt to get the ArrayDescriptor etc to allow me to create an Array to pass to the stored procedure. I think this is because the underlying Oracle connection is wrapped by WebLogic.
Has anyone managed to pass an array to an Oracle Stored procedure on a pooled DB connection?
Thanks
AndyHi. Here's what I suggest: First please get the JDBC you want to work in a
small standalone program that uses the Oracle thin driver directly. Once
that works, show me the JDBC code, and I will see what translation if
any is needed to make it work with WLS. Will your code be running in
WebLogic, or in an external client talking to WebLogic?
Also, have you tried the executeBatch() methods to see if you can
get the performance you want via batches?
Joe -
Rating scale does not appear in Pre-defined Performance Mgmt Wizard
Hi Experts,
I am implementing SAP Pre-defined Performance template.
When configuring IMG entry u201CDefine Templates for Performance Managementu201D I run the wizard for Performance, and when I get to the rating the only options that are presented are SAP standard delivered values e.g. Standard Quality Scale 1-5, Standard Quality Scale 0-10, Standard Quality Scale 1-3, Standard Quality Scale 1-3.
Now I have previously configured rating scale Team Performance with rating values
1-below expectations
2-meets expectations
3-exceeds expectations
However, this rating scale does not appear in the dropdown list to select from.
Please can someone explain what could be missing or if they had this issue before and were able to solve this.
Many thanks
OliverHi joker_of_the_deck
thank you for your quick response. Much appreciated.
I checked transaction OOHAP_BASIC and my scale is already valid within the Value List.
There are many other scales in our system within this value list but only the entries I mentioned previously are available in the Pre-defined performance wizard.
Do you have any other suggestions on why the system would not allow my scale rating to be selected from the pre-defined performance template as part of the wizard setup?
Regards
Oliver -
Pre defined set types are not determined in CAtegory
Hi all,
when i try to create a category for a service product for SLA, the pre defined set types are not getting populated for me.
I have created a new hierarchy, assigned to product and product type.....
but still when i create a category the list of predefined some of the predefined set types are not getting displayed.
Can anyone help this issue.
kindly advice in this regard.
Thanks,
Subhashini.Hi,
Thanks for the reply.
I have assigned the product type service in the category.
This is the only custom category available. only one std category has this set types. other than that nothing is there in the system.
is there any services that has to be activated or any authorization that is missing for me...
nut i have sap_all...could not able to trace out the problem.
kindly guide.
thanks,
Subhashini. -
Guest users in WLC are not logged out after pre defined time.
Hi,
My customer wants to create guest users in wireless lan controller. We were successfully able to create that and it worked . But the problem is that to access the internet the users have to change the "proxy server" settings on the internet explorer. As a result the guest users are not logged out automatically after the pre defined amount of time. We enabled " by pass proxy server " settings in internet explorer also, unfortunately it didnt work too.
If we disable the proxy settings in internet explorer customers were logged out, but the problem is that once the customer log in he will change the proxy settings in internet explorer to browse net but wont get disconnect unless and untill he manually change the proxy settings in the internet explorer.
Is there any other way to solve this issue? Can any one provide any alternative solution if possible.
Regards,
BibinCan you explain how your proxy server has anything to do with your wireless access duration?
Does you proxy server have the logic that stops the internet access after a period of time? If so, I assume you turn proxy off in order to web-authenticate? If so, then you just need to tell the browser to not proxy for the virtual IP address of the WLC. You'll never get redirected to the webauth page if you don't send a https request to it (as if, your browser is sending it the IP of your proxy server). -
Diff. btwn Form Interface & Global definations?
Hi Guys,
Wat r the differences between Form Interface and Global definations(if possible with example)? Pls. list out.
Thank you.When you create a SmartForm and activate it creates a function module which has same interface as the Form Interface of the smartform. Smartforms are always called by calling the corresponding function module. There is 1 fm for each smartform. The form interface has the IMPORT, EXPORT, TABLES and EXCEPTION, same like in a fm
Global definitions in smartforms is used to define data variables, type definitions, field symbols, form routines etc which are used globally withing the smartform. Every part of SmartForm can access these objects defined in Global definitions.
<a href="http://img483.imageshack.us/img483/297/globaldefinitionsqa4.jpg">SmartForms Global Definitions</a>
<a href="http://img390.imageshack.us/img390/2193/forminterfacebo2.jpg">Form Interface of a Smartform</a>
Maybe you are looking for
-
Hello... I am new in this forum, so I am sorry if I post my question in wrong place. I have php web page and want to call my java classes i.e connect java to php. My java code will read from file some info. then will organize these info. finally, the
-
Can I reformat the space created by a single tap of the space bar?
Can I reformat the size of the space created by a single tap of the space bar? What I would like to do is have the space bar create a double space [with just one tap of the space bar] between each word in the current document I am creating.
-
Read the fixes. Cannot open Firefox in safe mode. Have tried reinstalling Firefox. Crash occurs each time I try to launch Firefox. Have run scans, checked for malware, spyware, installed all windows updates and still no luck. Have accessed my crash r
-
Is this a viable alternative to Boot Camp???
While seeking a solution to a problem I was having with running Windows from Boot Camp, <http://discussions.apple.com/thread.jspa?threadID=1514709&tstart=0> I was offered this advice. Does this make sense? The advice follows: Say you have a hard driv
-
Java 7 Update 51 is not working with Discoverer
We are unable to get Discoverer Plus to load with Java 7 Update 51, does anybody know of a fix for this? We are on Discoverer Plus Version 11.1.1.6.0 Thanks