Only the constants are showing up in the target values.
Hi Guys,
Please help me about my problem in message mapping..
Im quite knew in XI version 7.0.
How come Only the constants are showing up in the target values. my constant values are only doc_type and partn_role.
The rest are data from sql. How can I solve this..Please help.
This is the result of my test tab
Left side - sender
<?xml version="1.0" encoding="utf-8"?>
<ns:MT_TRAVEL_SENDER xmlns:ns="HTTP://TRAVEL.COM/TRANSACTIONS">
<row>
<DOC_TYPE>ZTRV</DOC_TYPE>
<SALES_ORG>4000</SALES_ORG>
<DISTR_CHAN>40</DISTR_CHAN>
<DIVISION>41</DIVISION>
<SALES_GRP>411</SALES_GRP>
<SALES_OFF>4101</SALES_OFF>
<PURCH_DATE>2008-10-24</PURCH_DATE>
<PMNTTRMS>Z015</PMNTTRMS>
<PURCH_NO_C>AVADIUDS </PURCH_NO_C>
<PARTN_ROLE>AG</PARTN_ROLE>
<PARTN_NUMB>0001100074</PARTN_NUMB>
<INSERTED>1</INSERTED>
</row>
</ns:MT_TRAVEL_SENDER>
right side -test result under receiver
<?xml version="1.0" encoding="UTF-8"?>
<ns1:BAPI_SALESORDER_CREATEFROMDAT2 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<ORDER_HEADER_IN>
<DOC_TYPE>ZTRV</DOC_TYPE>
</ORDER_HEADER_IN>
<ORDER_HEADER_INX>
<UPDATEFLAG>I</UPDATEFLAG>
<DOC_TYPE>X</DOC_TYPE>
<SALES_ORG>X</SALES_ORG>
<DISTR_CHAN>X</DISTR_CHAN>
<DIVISION>X</DIVISION>
<SALES_GRP>X</SALES_GRP>
<SALES_OFF>X</SALES_OFF>
<PURCH_DATE>X</PURCH_DATE>
<PMNTTRMS>X</PMNTTRMS>
<PURCH_NO_C>X</PURCH_NO_C>
</ORDER_HEADER_INX>
<ORDER_PARTNERS>
<item>
<PARTN_ROLE>AG</PARTN_ROLE>
</item>
</ORDER_PARTNERS>
</ns1:BAPI_SALESORDER_CREATEFROMDAT2>
Hi leelaratnam morampudi ,
How can I check if im getting the data in sql? I think it get the data but dont pass the value in bapi
this is the test result in sender
<DOC_TYPE>ZTRV</DOC_TYPE>
<SALES_ORG>4000</SALES_ORG>
<DISTR_CHAN>40</DISTR_CHAN>
<DIVISION>41</DIVISION>
<SALES_GRP>411</SALES_GRP>
<SALES_OFF>4101</SALES_OFF>
<PURCH_DATE>2008-10-24</PURCH_DATE>
<PMNTTRMS>Z015</PMNTTRMS>
<PURCH_NO_C>AVADIUDS </PURCH_NO_C>
<PARTN_ROLE>AG</PARTN_ROLE>
<PARTN_NUMB>0001100074</PARTN_NUMB>
<INSERTED>1</INSERTED>
Similar Messages
-
I have merged my iPhoto and Photo app. I have over 19,000 pics on my Mac but only 4,000 are showing up in the cloud. I added some pictures yesterday to my Mac that I had taken, but they do not show up on any of my other devices. What is wrong?
Jackgram wrote:
I have merged my iPhoto and Photo app. I have over 19,000 pics on my Mac but only 4,000 are showing up in the cloud.
Were you perhaps using a mix of "managed" photos (copied into your iPhoto library) and "referenced" photos (kept only external to your library)? Only "managed" are eligible to be in iClout Photo Library.
I added some pictures yesterday to my Mac that I had taken, but they do not show up on any of my other devices. What is wrong?
Did you add them to your iPhoto library (using iPhoto) or your Photos library (using the new Photos application)? If with the Photos app, did you have the "Copy items to the Photos library" option checked in Photos > Preferences > General? -
Palm Pre - Only free Apps are showing in my Apps Catalog
I just got my pre the other day. I've already verified my profile, updated my OS to 1.4, and everything seems to be working fine, but for some reason only Free apps are showing in my catalog. It's kind of strange because both my husband and I got Pres, and both are updated, but for some reason, his phone shows all the other apps (including the ones you can pay for). Is there some sort of setting that i need to change on my phone?
Notes: we're in Canada, and our carrier is Bell.
I would appreciate any help with this. Thanks!
Post relates to: Pre p100eww (Bell)Yay! I got it to update my catalog. Just had to update and verify my palm profile (another long story), and then do a triple reset, and now everything is working fine and dandy : )
-
How can I retrieve phone numbers in my contacts? Only email addresses are showing. This is on my Iphone 4S. Thanks!
Phone numbers are on phone only. I haven't been using iCloud to sync with iPad & Mac yet. This morning I started to text & my yahoo acct popped up &'asked for my password. When I entered it, that's when all info disappeared except for email addresses.
-
Customer ledger receivables are showing less as per Invoice value.
Hi
we have checked randomly and found that in few cases Invoice amount which is reflecting in our customer ledger is basic value insted of " net selling value" ( basic price + Tax Price ). Due to which in my customer ledger receivables are showing less as per Invoice value.
If any body not understand this problem, please send email id. i will send you screen shot.
my email id: [email protected]
Attaching Scrren shot of customer ldeger for customer " Tristar
Attaching mannually working file for your referenceHi
Is this RP/RW report or standard report ledger ...you are referring , if it is CO-PA report then it will the problem in the forkula. If you double clik on that field you will get the formula ....
VVr -
Revision: 11359
Author: [email protected]
Date: 2009-11-02 05:20:01 -0800 (Mon, 02 Nov 2009)
Log Message:
Fixing MetadataWatcher not invoking a value change callback when the parent facet of the target value is added or removed.
Modified Paths:
osmf/trunk/framework/MediaFramework/org/osmf/metadata/MetadataWatcher.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/metadata/TestMetadataUtils.asmikeporter wrote:
I'm sorry I'm not aware of any "cumbersome" subpanels - unless of course you don't know what you're doing. There is this wonderful invention called a "subVI" that can be used to organize and simplify your code, or are they too "cumbersome" as well? You should really learn a bit about what you are pontificating over before you start running off at the mouth.
Mike...
I didn't want to step on your toes. No need to get personal.
Subpanels make some additional code necessary that hasn't got to do anything with the actual program. And I AM using subIVs as I wrote in my first post, which is exactly the root of the problem.
Nevertheless I now solved it in a way that comes close to what I wanted. I don't know if some of you meant your suggestions to be understood that way (at least I didn't ). The subVIs will now "insert" themselves (via invoke node) into a subpanel on the main vi, which they are given a reference of at call. This adds minimal aditional code, especially on the main VI which I want to keep as clean as possible. By clustering the panel reference into the parameters the subVIs are already given (not used in the example I attached below), there isn't even a change on the terminals of the subVIs.
I got to check now if this works well with event structures within the subVIs or if it can create the same problems like multiple event structures within a single VI.
So no global variables anymore and no writing values by property node. I don't know if this just wasn't possible in previous Labview versions I had a try at that (I guess it was 8.6 and/or 2009) or I just didn't come up with the idea back then.
And if the text wasn't that helpful, here are two screens:
Parent VI:
SubVI:
Attachments:
main.png 2 KB
subvi.png 5 KB -
PO not allowed beyond the target value of contract.
Hi Forum,
I have a Contract, when I create a PO with ref to the Contract, it should not allow the PO to be created beyond the target value of the Contract. Where should I make the configuration settings for this. Whenever the PO created beyond the target value it should give an error and should not allow to proceed further. Please advise.
Thanks in advance.
AshishHi
Please maintain the message as an error
06-042 Target value of contract & exceeded by & &
in SPRO-> IMG-> Material Management-> Purchasing-> Environment Data-> Define Attributes of System Messages -
Showing only the duplicate values in a webi report.
Hi, I have a unique identifier in my table which is not unique as we are not correctly maitaining the data, I am looking for a way in Webi to list out only the duplicate numbers in the table for that unique object as an audit report so I can make sure it remains clean with no duplicates. Any suggestions on an easy way to do this?
Create a Row Count Measure, as the value being 1, in your Universe for the report. Add that Row Count into the query for the report, re-execute the query, highlight the entire report and then set a filter for that by dragging and dropping the Row Count Measure and filtering where the value > 1.
Edited by: Dennis Scoville on Jul 27, 2009 11:29 AM -
Iphoto only some albums are showing so that I can email?
Hiya
I'm trying to email an album of photos. I've got several albums, but only a few of them are showing with pictures in? I import photos every day so not sure why they are not working now!what version of iPhoto and of the OS? please explain your situation more clearly - I have not idea what you are asking - for example photos are no in albums unless you put them there - when you import photos are in events or photos - albums have to be manually made or created using smart albums - can you email the photos form the events?
LN -
Substring only the numeric values and sum It
Hi All,
I have Department Dim Object and Equivalent Base Detail Object. I have created the department as section. And the values for the Equivalent Base displays as follows
Department 1
16 OUNCE
288 OUNCE
Department 2
UNIT
12 COUNT
Required Output:
Total Equivalent Base
Department 1
304
Department 2
12
now I need to to display only the Total Sum of Equivalent base for each department.
First I tried to substring
=Substr([Equivalent Base];1;3)
And then I tried to sum it
=sum(Substr([Equivalent Base];1;3))
its giving me #Error
Regards,
Rahul AkurathiHi Rahul,
Is the following your source data?
Col1, Col2
Department 1,16 OUNCE
Department 1,288 OUNCE
Department 2,UNIT
Department 2,12 COUNT
And you want to get?
Department1, 304
Department2, 12
If so my code did not allow for the Unit which had no number.
you will need something like
if(pos(([equilvant base]," ")>0;(if (IsNumber(trim(substr([equilvant base];1;pos(([equilvant base]," ")-1));sum(ToNumber(trim(substr([equilvant base];1;pos(([equilvant base]," ")-1)));0);0)
The logic here is if there is no space then it does not contain a number, therefore use 0. If it has a space check the characters up to the space and see if they are a number. If yes convert to a number, otherwise use 0.
Let me know how you get on
Alan -
WAD - display only the last value in the chart
hi...
I designed a chart in WAD wich displayed a range of values in a line. Now im searching for a possibility to display the value for the points in my chart, but not for all values, only for the last value in the line! And every month the line will extended with new value-points, so it is necassary that the function is dynamic, always for the last point in the chart the value should displayed!?
thx for some ideas!
davidhi @ all... once more information:
the chart displayed only one keyfigure of a query. for example it display the revenue per month. in jan. = 10, feb. = 15, mar. = 25, apr. = 13, jun. = 23. these values should be displayed in a line in the chart aaaand additional for the last one in the line the valuecaption direct in the chart (f.e.: jun. = 23). not for all "periods-points"only for the last one.
in jul. = 25 the chart changed and only for july the value-caption should be displayed. Is it possible?
Regards,
David -
Sapscript printing only the last value
Hello,
Im currently coding subroutine for medruck.. My problem is sapscript is only printing the last value of the item for all items.. For example:
Item # 1 10 pcs 10,000.00
Item # 2 5 pcs 10,000.00
Item # 3 5 Pad 10,000.00
where actually the value of item 1 and item 2 is not 10,000.. sapscript prints only the price of item # 3 for the first two items.. here is my code..
TABLES: konv, ekko, ekpo.
DATA: BEGIN OF tab OCCURS 0,
brtwr LIKE ekpo-brtwr,
ebelp LIKE konv-kposn,
ebeln LIKE ekko-ebeln,
knumv LIKE ekko-knumv,
kbetr LIKE konv-kwert,
END OF tab.
DATA: sum TYPE p DECIMALS 2, gross TYPE p DECIMALS 2, val(16) TYPE c, d_knumv LIKE ekko-knumv, tab1 LIKE tab, val1(20) TYPE c,
ext TYPE p DECIMALS 2, val2(20) TYPE c, extend TYPE p DECIMALS 2.
REFRESH: tab.
READ TABLE in_tab INDEX 1.
CHECK sy-subrc = 0.
SELECT brtwr ebelp ebeln FROM ekpo INTO TABLE tab WHERE ebeln = in_tab-value.
LOOP AT tab.
AT NEW ebelp.
tab-kbetr = 0.
ext = 0.
ENDAT.
SELECT SINGLE knumv FROM ekko INTO tab-knumv WHERE ebeln = tab-ebeln.
SELECT SINGLE kbetr FROM konv INTO tab-kbetr WHERE knumv = tab-knumv AND kposn = tab-ebelp AND kschl = 'ZDEL'.
ext = tab-brtwr + tab-kbetr.
AT END OF ebelp.
READ TABLE out_tab INDEX 1.
WRITE ext TO val.
out_tab-value = val.
MODIFY out_tab INDEX 1.
ENDAT.
CLEAR: tab.
ENDLOOP.
i used this code using abap only and it work. there seems to be a problem in sapscript.. Thank u for the help guys..
Thanks,
JPput ur write_form with in loop...
loop at itab.
write_form..
element = 'ddd'
endloop.
in script check ...
check wheather element is specified there r not
/e ddd.
&itab- & &itab- & -
Only blank tiles are showing so i can't view the photo, click and hey its there
I have reloaded the software many times done everything possible. It is only recent photos everything before Jan shows.
What "software"? What system? You need to provide a lot more details.
Mylenium -
How can save only the checked values in a record as a string?
I have a question on form where the user can choose multiple checkboxes. Due to the type of form that it is there will only be one record written. I am using Access as a comprehensive form as opposed to a database in this instance.
Once industry submits this application (form) to us I upload some data to Oracle database which works fine. Now, I need to upload some of the data to a workflow software. I figured out how to do everything except the following:
In this record there are over 20 checkboxes. Each check box has a name/Record source such as SA (Surface Area), SC (Surface Contour), SS (Sleep Slope), ect. The user will select several of these checkboxes. I need to look at each chk box field. If the value
= true, write the fullname of each field to a table as a string with each field seperated with a comma. For instance,
If SA, SC and SS were checked on the form Surface Area,Surface Contour,Sleep Slope would be added to the Procedure_Value field in a table (see function ExportTable). Next I convert the table into a text file
Function ExportTable
dim rst As DAO.Recordset
dim strSQL1 As String
strSQL1 = "SELECT tblExport1.* FROM tblExport1;"
Set db = CurrentDb()
Set rst = db.OpenRecordset(strSQL1, dbOpenDynaset)
With rst
.AddNew
rst!Procedure_Value = "Surface Area,Surface Contour,Sleep Slope"
.Update
End With
rst.Close
Set db = nothing
Set rst = nothing
End Function
jim nealIf I understand you correctly you have one table with a bunch of yes/no values (SA, SC, SS, etc.). Then for each record in that table you want to output a string listing all the fields from the first table which = yes (i.e are checked). Perhaps
the following code would get you started:
Sub JimNeal()
Dim strProcedure_Value As String
Dim rst As DAO.Recordset
Dim rstOut As DAO.Recordset
Set rst = DBEngine(0)(0).OpenRecordset("TableWithCheckboxes")
Set rstOut = DBEngine(0)(0).OpenRecordset("OutputTable")
Do Until rst.EOF
strProcedure_Value = ""
If rst!SA Then strProcedure_Value = strProcedure_Value & "Surface Area,"
If rst!SC Then strProcedure_Value = strProcedure_Value & "Surface Contour,"
'... etc
If rst!SS Then strProcedure_Value = strProcedure_Value & "Steep Slope,"
rst.MoveNext
' Strip off final comma
If Len(strProcedure_Value) > 0 Then strProcedure_Value = Left(strProcedure_Value, Len(strProcedure_Value) - 1)
' Output the string to your output table
rstOut.AddNew
rstOut!Procedure_Value = strProcedure_Value
rstOut.Update
Loop
rst.Close
rstOut.Close
Set rst = Nothing
Set rstOut = Nothing
End Sub
-Bruce -
Mapping Problem: only constants are mapped the rest is missing
Hi Community,
I have a really strange problem. I mapped a message type and an external definition (a modified IDoc) in the repository. If I use the test function of the message mapping everything is fine. All values and constants are mapped correctly from source to target.
So I configured the rest in the repository and the directory and activated it. But it does not work. SXI_MONITOR details show that the source flat file is converted correctly into XML format. But the mapping is incomplete. Only the target fields with a constant as source are mapped. The normal one-to-one mappings (source flat file to external definition) are missing. Somehow they are ignored. Not even an empty tag is mapped.
What I am doing wrong?
Thanks for you help,
UdoHi,
Take the payload from SXMB_MONI and test it in message mapping editor.
check the problem there..
Thanks,
Madhu
Maybe you are looking for
-
How to set log filename dynamically
Hi all! Could anybody give me a hint how I can set file name for log4j dynamically. I have a log4j.properties file: log4j.rootCategory=debug, stdout, R #### First appender writes to console log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j
-
Everything keeps freezing/crashing after Mavericks installation on MacBook Pro
Everything keeps freezing/crashing after Mavericks installation on MacBook Pro. It started with Photoshop, then Safari, and now the Kinect sensor. Mavericks is the worse thing that happened to me I have a thesis project to work on! What can I do? How
-
Hi all, I created a report through Crystal Reports that shows all the items, quantities, prices, and row totals from all A/R Invoices with parameters for a date range. However, if an item has been returned (A/R Credit Memo), that item still shows up
-
I have SSRS reports with each 5 parameters. Parameter datasets includes statements like WHERE @CategoryKey I have 20 tables in SQL Server. We don't have OLAP cube. I have created SQL Server Profiler trace. I have clicked all reports during process. I
-
Contract item text to be transferred in PO --Need help
Hi, Need help. Is there any BADI for the following? Classic Scenario. Sourced shopping cart. Referring to service contract. When PO is created upon approval of sourced SC, then need to have the item text in contract to be copied in PO line item. Exam