Get no result in customer name
In the modelling process, I insert a function module from R/3.
When testing data service, I input customer name by value " * smec * ", and then get all customers whose name contain "smec".
But after deploying the model , when I input customer name in the web form, nothing can I get.
Can anybody tell me the reason?
Edited by: Yong Sheng Dang on Jul 30, 2008 4:41 AM
Hi Yong,
May be its Flex version issue.
But as per my knowledge it can happen if you have changed the BAPI fields or data after deploying the model. It seems to be a silly answer but while i worked with VC because we were updating the BAPI so sometimes I faced this type of issue. Please check it also.
May be it will be helpful.
Regards,
Nutan
Similar Messages
-
Best way to get UUT result to Custom TestStand UI
Hello,
I am trying to get the results of my UUT to my custom UI. I am already using the EndExecution Callback to tell my UI when the UUT is finished executing. I was hoping ot use that same callback VI to tell my UI the result of the execution.
The EndExecution callback includes a reference to the execution. I figured I could read the "ResultStatus" Property, which seems to report "Passed" or "Failed" correctly, but if I terminate execution, it is still returning "Passed", when I would expect it to return "Terminated".
Does anybody have any thoughts on what I am doing wrong or what might be a better way to do this? I thought of just using a UI Message, but then that requires me to modify the client sequence and post the UI message with the results. I'd rather have this work for all client sequences.
Solved!
Go to Solution.I think you are looking for handling the UIMsg_ModelState_TestingComplete user interface message.
Refer to the help:
UIMsg_ModelState_TestingComplete–(Value: 34) TestStand process models post this message to the user interface after the MainSequence in the client sequence file returns control to the model. If the execution is not a batch controller or a parallel controller, the stringDataParam parameter specifies the UUT result status. If the execution is a batch controller or a parallel controller, the value of the stringDataParam parameter is Done. The numericDataParam parameter specifies the test-socket index. The activeXDataParam parameter contains a reference to the sequence context for the process model sequence file that posts the message.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Hi
While trying to Create Projects using the API, I'm getting two types of errors -
The first is : 'API failed in one stage 1 Customer Name is a mandatory Quick Entry field. Value must be passed'
The second is : '
'API failed in one stage 1 Project: '<Project_Number>'
The class category is invalid.'
Both the messages are produced by our custom program. .. however I am not able to understand why the underlying errors occur.
The first error ( Customer Name is a mandatory quick entry field), is caused by Projects that are to be created from Project templates where it is configured with Quick Entry Customer Name required. We are passing Customer Site number ( Party Bill to site number and Party Ship to side number). The site numbers being passed are also set as 'Primary'. Yet they are failing.
For the second Error ( The Class Category is invalid), I rechecked multiple times, the Class categories for the Projects I am trying to create, with the Config in R12 and they are fine. Can't understand the reason for these two issues. Has anyone encountered such an issue ? If so how was it resolved?
Regards
VivekHI All
I resolved both the issues. In case there are others facing similar issues, following was the cause and resolution of my errors
1. Error 1: Customer Name is a Mandatory Quick Entry field. Value must be passed.
The cause was that the data loaded into our custom staging table was not in the right fields. This was because the data file values and the CTL were not in sync.
Resolution:
Corrected the data file to be in Sync with the structure defined in the CTL and this loaded it successfully
2. Error 2: The class category is invalid.
The cause of this error was that in the Projects Template (used to create the project from), the Quick Entry setup had a Class Category set as required and I was not passing a value ( a class code value) for that Class Category.
Hope this helps somebody else
Cheers
Turnbill -
Custom Search Portlet not getting the results as expected.
Hi All,
I am using CustomSearchPortlet and I am having following problems. I created an itemtype IT with attributes A1,A2.Then I configured my custom search portlet to search based on A1,A2 attributes only. I have created 3 instances of items Item1,Item2,Item3 based on itemtype IT as follows
Item1(A1=value11,A2=value12)
Item2(A1=value21,A2=cat22)
Item3(A1=value11,A2=value32)
and when I search for value11, I get Item1,Item3 as results. Till here it was nice and behaving as expected. Suddenly after some time, it stopped working and i am not getting the results I used to get before. The only thing i remember to have changed in the meanwhile was to change the A2 attribute values of some of these items. my searchtext remained the same as value11. I was confused as to why the custom search portlet is not getting these results that it was getting before...Thanks for any help in solving this.
Thanks,
Prasanth.Hi,
If Oracle Text is enabled in your portal, the updated items need to be synchronised before they can be returned in the Search. Since you updated those items, though not changing values for this particular attribute, it will be in the queue for indexing and hence will not be returned until it is indexed.
Thanks. -
Hi,
I have the following loop, to get the customer name. I have 9 records for the selection and after execution I am able to see only one customer name, because I am not catching it in the loop. How to do it. and where should I clear NAME1.
LOOP AT ITAB_LIKP.
AT NEW KUNNR.
SELECT SINGLE NAME1 FROM KNA1 INTO TNAME1
WHERE KUNNR = ITAB_LIKP-KUNNR.
ENDAT.
ENDLOOP.
ENDIF.
LOOP AT ITAB_LIPS.
Thanks
Veni.Hi,
its not advisible to use SELECT within LOOPS, as its consumes more time.so use FOR ALL ENTRIES before the LOOP statement & use READ TABLE within the LOOP to read the values,as below.
data : begin of IT_KNA1,
KUNNR TYPE KNA1-KUNNR,
NAME1 TYPE KNA1-NAME1,
end of IT_KNA1.
*--fetch names of all the customers exists in the table ITAB_LIKP.
select kunnr
name1
from kna1
into table it_kna1
for all entries in ITAB_LIKP
where KUNNR = ITAB_LIKP-KUNNR.
*--now you will have all customer details,who are in ITAB_LIKP.
then
data : v_tabix type sy-tabix.
LOOP AT ITAB_LIKP.
v_tabix = sy-tabix.
AT NEW KUNNR.
read table ITAB_LIKP Index v_tabix.
*--Instead of SELECT ,use READ TABLE OF IT_KNA1.
<b> CLEAR IT_KNA1.</b>
*--USE clear statement just before populating its header.
read table it_kna1 with key kunnr = ITAB_LIKP-kunnr.
if sy-subrc = 0.
*--for this customer,entry found in IT_KNA1 table.
*--here if you want to store these details, you can use IT_KNA1-NAME1 value to proceed.
endif.
ENDAT.
endloop.
regards
srikanth -
Best query to get customer name
Hi all,
I am writing query to get some from ra_customer_trx_all in oracle receivables. I found here customer_id
Which query can give me customer name against customer id?
ThanksHi.
Link BILL_TO_CUSTOMER_ID in table RA_CUSTOMER_TRX_ALL to column CUSTOMER_ID in view RA_CUSTOMERS and take CUSTOMER_NAME from RA_CUSTOMERS.
Octavio -
Customer exit to get the result in between two fiscal periods
Hi Guys,
I have a requirement to write customer exit, in which i have to get the result for a range of fiscal periods,
that is in Between fiscal period1 and fiscal period3,
and i am getting this Fiscal period from other variable called version in which it consists of combination of fiscalperiod and text
and now i have filtered the fiscal period and stored in Final_val ( this is an interger), but how can i use dynamically this Final_val to get the results in between Final_val1 and Final_val3 ( that means if the Final_val is 2008010 then i have to get the results in between 2008011 and 2009001).
Please provide me the solution, with the possible piece of codeHi Diogo,
Here is the code
WHEN 'ZC_PVR'.
DATA: FIN_YEAR(4) TYPE C,
FIN_DATE(3) TYPE C,
FIN_VAL(7) TYPE C.
IF I_STEP = 2.
READ TABLE I_T_VAR_RANGE INTO LT_VAR_RANGE WITH KEY VNAM = 'ZC_VCS'.
IF SY-SUBRC EQ 0.
CONCATENATE '20' LT_VAR_RANGE-LOW+2(2) INTO FIN_YEAR.
CONCATENATE '0' LT_VAR_RANGE-LOW+4(2) INTO FIN_DATE.
CONCATENATE FIN_YEAR FIN_DATE INTO FIN_VAL.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = FIN_VAL.
L_S_RANGE-HIGH = ''.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
ENDIF.
which i am using for Filter the fiscal period, after this when i tried to restrict on this "ZC_PVR" vairable and set the offset like
zc_pvr 1 to zc-pvr3 under value of ranges, but i am facing an error saying the " variable may be deleted or used incorreclty",
could u plz suggest -
How to get customer name automatically in table maintainance generator
Hi all,
I am having a table maintainance generator in which ship to party is the primary key, i need to add another column customer name
fetched from KNA1, i tried using the event
5.new entries creation, creating a new perform
but the code which i am writing gives an error "Statement in accessible".
Kindly help.Hi Manohar,
Thanks for your help, Its working now.
Issue resolved. -
CAUFVD gets initialized result in dump with error Production ord not found
Hi All,
We want to make change of start date and end date of a production order via CO02 (Production order change). Based on these changes we want to update an existing a Purchasing Planned Order Start Dt and Finsih Dt (MD12)
We are using Enhancement component (PPCO0007) : Exit when saving production order
Within this exit we are using BAPI_PALNNEDORDER_CHANGE to update some other purchasing planned order dates.
The BAPI_PALNNEDORDER_CHANGE is executing succesfully however the production order structure (CAUFVD) gets initialized resulting in dump with error Production order not found
How can we update and save a purchased planned order and also the production order
Barada
Edited by: barada satapathy on Dec 8, 2010 9:14 AMHi Max,
Thanks for the reply...
The error details are as below:
Dump gets generated via program : (SAPLCOBT).
Exception condition ORDER_NOT_FOUND raised.
include = LCOBPU16.
Row No: = 21.
Module Type = (Function)
Module Name = CO_BT_ORDER_DET_TEMP
We also give brief details on what is happening:
My exit calls from Standard (LCOZVU01) :
CALL CUSTOMER-FUNCTION '001'
EXPORTING
header_imp = caufvd
IMPORTING
header_exp = caufvd_tmp
no_update = answer.
* Check if update of header necessary and allowed
IF caufvd-aufnr EQ caufvd_tmp-aufnr AND
caufvd NE caufvd_tmp.
PERFORM caufv_upd(saplcobh) USING caufvd_tmp.
ENDIF
When BAPI for planned order is executed within the exit, the structure (caufvd) values are found refreshed. This structure is further updating the production order. -
How do i fix the "web form must capture customer name and email address" error?
Hi all,
I have a webform that is submitting securely to the bc servers. I get the response:
{"SystemMessage": { "success": False, "message": "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page." }}
I have verified that the "FirstName","LastName","EmailAddress" are actually gettting sent with their corresponding values. I can't seem to figure out why i keep getting this error. Can someone please lend a helping hand?!? Thanks guys... here's my code:
var rAction = 'https://site.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=85886&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&CC={module_urlcountryc ode}&Referrer={module_siteurl,true,true}&JSON=1';
var rData = 'FirstName='+escape(fName.val())+'&LastName='+escape(lName.val())+'&EmailAddress='+escape (email.val())+'&Username='+escape(username.val())+'&Password='+escape(passwd.val())+'&Pass wordConfirm='+escape(passwd2.val())+'&BillingAddress='+escape(baddress.val())+'&BillingCit y='+escape(bcity.val())+'&BillingState='+escape(bstate.val())+'&BillingZip='+escape(bzip.v al())+'&PaymentMethodType='+escape(paymentMethodType)+'&CardName='+escape(cName.val())+'&C ardNumber='+escape(cNum.val())+'&CardExpiryMonth='+escape(expMonth)+'&CardExpiryYear='+esc ape(expYear)+'&CardType='+escape(cType)+'&CardCCV='+escape(ccv.val())
$.ajax({
type: 'POST',
url: rAction,
data: rData,
success: function(msg){
console.log('success');
$('#result').html(msg);
error: function(msg){
console.log('error');
$('#result').html(msg);Ok -- after testing this out a little on my own I think it must have to do with not properly serialzing the data you are passing in the ajax function. In the example I linked to earlier they are just serialzing the form data and it works because it converts the data in the form's input fields to URL encoded notation.
If you aren't using an actual form on your site to mimick the example I linked to then when building your "rData" string instead of using the "escape" function for each of the parameter values, you should be using the "encodeURIComponent" function instead which instead of escaping characters will convert it to URL encoded notation. That's probably your issue. Here's more about encodeURIComponent(): http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp
Try this with the rData variable instead:
var rData = 'FirstName='+encodeURIComponent(fName.val())+'&LastName='+encodeURIComponent(lName.val()) +'&EmailAddress='+encodeURIComponent(email.val())+'&Username='+encodeURIComponent(username .val())+'&Password='+encodeURIComponent(passwd.val())+'&PasswordConfirm='+encodeURICompone nt(passwd2.val())+'&BillingAddress='+encodeURIComponent(baddress.val())+'&BillingCity='+en codeURIComponent(bcity.val())+'&BillingState='+encodeURIComponent(bstate.val())+'&BillingZ ip='+encodeURIComponent(bzip.val())+'&PaymentMethodType='+encodeURIComponent(paymentMethod Type)+'&CardName='+encodeURIComponent(cName.val())+'&CardNumber='+encodeURIComponent(cNum. val())+'&CardExpiryMonth='+encodeURIComponent(expMonth)+'&CardExpiryYear='+encodeURICompon ent(expYear)+'&CardType='+encodeURIComponent(cType)+'&CardCCV='+encodeURIComponent(ccv.val ()) -
How to get the results in one line
Hi
if i use the script below i get the name of path and then : and in next line i get the results.is there a way to get the results from every path after the : and not in the next line?
another question - is there a way that the script will not show the server name on every path?
(Get-Counter -ListSet LogicalDisk).PathsWithInstances | Get-Counter
THCIf you take you script and pipe it to get member, it will give you a list of various script properties.
(Get-Counter -ListSet LogicalDisk).PathsWithInstances | Get-Counter | get-member
You will see that the object type returned by "Get-Counter" is Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSampleSet.
TypeName:
Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSampleSet
Name MemberType Definition
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetType Method type GetType()
ToString Method string ToString()
CounterSamples Property Microsoft.PowerShell.Commands.GetCounter.Perfo...
Timestamp Property datetime Timestamp {get;set;}
Readings ScriptProperty System.Object Readings {get=$strPaths = ""...
You can try grabbing different properties, and they will print out differently, displaying the data on the same line in some cases. For example, pipe your output to a "foreach-object" block, and then for each object print out the CounterSamples property.
(Get-Counter -ListSet LogicalDisk).PathsWithInstances | Get-Counter | foreach-object { ($_).CounterSamples }
This should all print on one line now. However, you also asked if there was a way to not have the server print out on every line. The way to control the format of these outputs is to use the "format-table" cmdlet. So you would pipe your output to format-table
and then give it various options. This is how you would pipe it (without any options).
(Get-Counter -ListSet LogicalDisk).PathsWithInstances |
Get-Counter | object { ($_).CounterSamples | format-table }#OR USE YOUR ORIGINAL CODE(Get-Counter -ListSet LogicalDisk).PathsWithInstances |
Get-Counter | format-table }
Now, it's up to you to give format-table the options you want. With no options, output will look unchanged. To see what options are available to you, use get-help.
get-help format-table
I hope this helps!
Thank for all the info... -
Customer Name on Sales Order not in Data Collections
Hi,
I am looking for some help. My company just did an upgrade from 11i to R12 in the middle of May. As part of the upgrade we installed ASCP. We have noticed that certain customers are not being collected when running Standard Data Collections. We have open sales orders in the system for the customer. The sales order are being collected properly and appear in the plan. When we show the Customer field in the 'Supply/Demand Screen' in ASCP, the field is blank for select customers. Is there anything on the customer master or sales order line that would prevent the customer name from being collected? Any insight would be helpful.
Thanks
RichYou can go to order organizer screen select the OA NO which you are not able to see in the ASCP workbench, go to line items---using show field get the Demand visible
tab on screen-----default value should be 'Y' if blank then then that could be the one of the reason. -
Hi. When I go into my contacts and type a letter in the saerch bar to get to a list of last names that begin with that letter I get a list of random names that don't begin or end with the letter. My Settings appear fine. Any insights would be greatly appreciated. Cheers Bill
The search bar is not designed to take you to names beginning with the letter you put in. If you want to do that, use the letters down the side. In the search bar, the device will return results for all contacts that have that have that letter in them. If you type a couple of letters of the name, you'll find what you want faster. Once you get used to how it works, it's quite efficient.
Best of luck. -
How Automate Dynamically Embedding Customer Names from a List into PDF Footer?
Mavens,
After discovering that a PDF training workbook of mine has been widely copied (without authorization), I'd like to "personalize" future versions of this artifact with the customer/user name dynamically embedded in each PDF's footer.
Based on your experience, what is the easiest, quickest & most economical way to: generate a set of PDFs (from a "Master") where each individual PDF is personalized with a user/customer name in the footer (e.g., "This document is licensed to {FRED BLOTZ} at {BIG COMPANY, Inc.}. Duplication or distribution is not authorized.").
The desired workflow is:
1. Create an MS-Excel Workbook with a list of all trainee (user) names.
2. Open some type of "PDF Personalization" tool.
3. Provide the path to the "Master PDF" to the tool.
4. Provide the name of the customer (company) to the tool.
5. Provide a path to the MS-Excel Workbook with list of individual's names.
6. Provide a path to a folder where the tool should write the generated PDFs.
7. Click a button ("Generate Personalized PDFs").
Then...distribute individualized PDFs to trainees.
Is there a tool out there somewhere which provides the desired solution?
Thank you in advance for your experienced-based suggestions.
Plane Wryter
PS: While I fully appreciate the on-going discussions regarding the merits/lack-of-merits of DRM, etc...if you elect to reply to this request...please be so kind as to focus on the question as presented and avoid clambering onto a soapbox to "rant" about DRM...or suggest increasing the fee to the customer (a big firm that only pays "per-trainee" fees) to cover distribution. Thank you.go to database, show sql query. please paste the query in here it will be easier to help you
if you cant seem to get it from there, go to database, database expert and edit the command file. (if that is the dataset you are using) copy and paste that. -
Hi,
This is atually a follow-up to other post in the same forum: <b>Sending XMl message as text (Mail body) by receiver mail adapter</b>
We are having problem with UDF to get correct output.
We are getting <b>result of UDF</b> as below:
[[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>]
Does any body know what it mean?
Following are the source ans target XSD's:
Here is the <b>source xsd:</b>
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://NameSpace" targetNamespace="NameSpace">
<xsd:complexType name="row">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
5e090470385011db9654000e7f22e9d4
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="DeliveryNumber">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a0377b11db91dbf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="DeliveryLineItem">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a1377b11db98aaf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderNumber">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a2377b11dbc5c4f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderLineItem">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a3377b11db9d84f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BillToID">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a4377b11dbb49bf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="17" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BillToName">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a5377b11dbb38ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ShipToID">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a6377b11db9370f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="17" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ShipToName">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a7377b11dbb66cf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ProductCode">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a8377b11db8f94f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ProductDesc">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a9377b11db929ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ScheduledLoadDate">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0aa377b11db8d1df237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ScheduledLoadTime">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ab377b11dba57ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Carrier">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ac377b11dbcc03f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CustomerPO">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ad377b11dbb5a2f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="35" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OutYard">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ae377b11dbcc51f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="16" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderedQty">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0af377b11dbbe6cf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="15" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderUofM">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b0377b11db9264f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="LabConc">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b1377b11dbb0e7f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GrossMT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b2377b11db99f1f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GrossST">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b3377b11db9b6ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BilledQty">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b4377b11db8a9af237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Status">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b5377b11dba39cf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="resultset">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
5e044980385011dbb2d3000e7f22e9d4
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="row" type="row" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
c1cb8fd0377b11db912af237ac102206
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<b>Target xsd:</b>
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/Mail/30" targetNamespace="http://sap.com/xi/XI/Mail/30">
<xsd:element name="Mail">
<xsd:annotation>
<xsd:documentation>
Mail package for XI - Mail Adapter
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Subject" type="xsd:string" minOccurs="0" />
<xsd:element name="From" type="xsd:string" minOccurs="0" />
<xsd:element name="To" type="xsd:string" minOccurs="0" />
<xsd:element name="Reply_To" type="xsd:string" minOccurs="0" />
<xsd:element name="Content_Type" type="xsd:string" minOccurs="0" />
<xsd:element name="Date" type="xsd:dateTime" minOccurs="0" />
<xsd:element name="Message_ID" type="xsd:string" minOccurs="0" />
<xsd:element name="X_Mailer" type="xsd:string" minOccurs="0" />
<xsd:element name="Content" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
any type
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="encoding" type="xsd:string" />
</xsd:complexType>
</xsd:element>
</xsd:schema>
And <b>following is the UDF we are using</b>:
=========================================
String mailBody = new String();
int inta, intb, intc, intd, inte;
inta = a.length;
intb = b.length;
intc = c.length;
intd = d.length;
inte = e.length;
for(int i = 0; i < a.length; i++)
mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
result.addValue(mailBody);
====================================
<b>Any help to resolve this would be very helpful.</b>
Thanx
SueHi Bhavesh,
We are getting following error if we use the UDF you given below:
Check Result for Object test Source code has syntax error: D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: a is already defined in testUDF$(java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],com.sap.aii.mappingtool.tf3.rt.ResultList,com.sap.aii.mappingtool.tf3.rt.Container) int a = a.length(); ^ D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: int cannot be dereferenced int a = a.length(); ^
We have no knowledge of java at all.
We did some modifications to it as below:
String mailBody = new String();
int a = a.length();
int b = b.length();
int c = c.length();
int d = d.length();
int e = e.length();
for(int i = 0; i < a.length(); i++)
mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
result.addValue(mailBody);
It it didn't work. Think we are missing something. Can please help us to figure it out.
Thanx
Sue
Maybe you are looking for
-
This is what I get when I run repair permissions in disk utility. Thanks for any assistance you can give. Repairing permissions for “Macintosh HD” Repairing permissions for “Macintosh HD” Permissions differ on “System/Library/CoreServices/RemoteManag
-
Need help restoring from a SilverKeeper .sparseimage file
Before upgrading a MacBook from Leopard to Snow Leopard I used SilverKeeper to backup the hard drive, sending the data to a .sparseimage file. I'm now trying to restore - or expand/extract - the .sparseimage file to an external hard drive so I can mo
-
Hi, Do we have a PO with Asset as AAC & Internal Order in Acct Assignment Tab of PO item details? I mean system does allow this in a same PO but I would like to know the significance of having such combination. Request to share some inputs from the b
-
Appraisal Workflow - Item not completed
Hi, After performing Approved or Reject in MSS for Appraisal Workflow, the task are not completed or removed from the UWL of the user. If we do the same from R/3 the workitem gets completed. I checked the workflow task and it always ask for 'Confirm
-
Server authenticationerror after SR3 installation
Hi, We have developed a html page ( page1.htm) in that we are setting some xMII session variable and opening a new page (page2.htm) using window.open. In page2.htm i am getting xMII session variable and calling a transaction as below. window.location