Mapping of source message to IDOC.. What values should be assigned?
Hi guys, again
I have SOAP->XI->IDoc scenario, but my IDocs arrive only with 1 segment... The IDoc is not standard, and has a lot of fields, but I want to fill only a few of them in some segments. Lets say, that I have 4 segments, with occurence 0..999999, each value has occurence 0..1 like following..
seg1-val1
-val2
-val3
seg2-val1
-val2
-val3
seg3-val1
-val2
-val3
seg4-val1
-val2
-val3
and I have source message like
<seg1>
<val1>..</val1
</seg1>
<seg1>
<val1>..</val1>
</seg1>
I think, I have to map seg1 tag to seg1 segment, and val1 tag to val1 field..
But! DO I HAVE TO MAP also seg1 tag to seg2, seg and seg4 segment? (to create logical "table"), or it is not necessary...
Next question: what value should be assignet to @SEGMENT attribute of segments? also (IDOC segment?) Should it be some constant?
Thank you guys!
All you need to map is <b>seg1</b> source to <b>seg1</b> target and <b>val1</b> source to <b>val1</b> target . But remember that, if your source has seg2,seg3,seg4 and you want to use them then map them accordingly otherwise no need to map.
@SEGMENT is counter for the number segments you are passing for each type of record. Use a java function to populate or just populate a constant 1.
regards
Shravan
Similar Messages
-
What value should be for below parameters
Dear all,
Please suggest what value should be for below parameters in Win 2003 ,ecc6 and oracle 10g and 16 gb ram.
Parameters Description Current value
fixcontrol Bug fix control parameter
For information about the recommended settings for parameter FIXCONTROL, version of Oracle release 10.2.0.4 a number of values must be set.
Parameters Description Current value
max_dump_file_size Maximum size of the optimizer trace file UNLIMITED
optimizer_index_caching Adjust the usage of nested loops 0
optimizer_index_cost_adj Percentage of the calculated index costs 100
parallel_max_servers Parallel Query: Maximum number of parallel execution servers 150
PARALLEL_MAX_SERVERS.
Parameters Description Current value
parallel_threads_per_cpu Number of parallel execution processes/threads per CPU 2
shared_pool_reserved_size Part of Shared Pool for large statements 128676003
pushjoin_union_view Enable pushing join predicate inside a union all view
Regards,
KumarHello Kumar,
The following should be the recommended parameters for your case. Always take a backup of initSID.ora and spfileSID.ora file before making the changes.
fixcontrol Bug fix control parameter
*._fix_control='5705630:ON','5765456:3','6221403:ON','6329318:ON','6399597:ON','6430500:ON','6440977:ON','6626018:ON','6670551:ON','6972291:ON','7325597:ON','7692248:ON','7891471:ON'
max_dump_file_size = 20000
optimizer_index_caching Adjust the usage of nested loops 0
optimizer_index_caching (do not set)
optimizer_index_cost_adj Percentage of the calculated index costs 100
optimizer_index_cost_adj = 20
parallel_max_servers=20
parallel_threads_per_cpu = 1
shared_pool_reserved_size
CPUs Shared_Pool_Size
4 500M
6 1G
10 1G
32 2G
64 2G
128 3G
Resize db_cache depending on your needs. For your case, I would recommend at least 2GB of RAM for db_cache
pushjoin_union_view
pushjoin_union_view = false
Set this as true if 6917874 fix is implemented.
In addition Oracle processes should be calculated as follows
Oracle Processes =
{ ABAP WP X 2 +
J2ee Server Processes*MaxConnection + Parallel_Max_Servers + 40 }
Hope I am clear.
Thanks,
Venkatesh Pydi. -
What value should set for wrapper.java.initmemory?
Hi guys,
If this is the wrong forum to ask, I hereby apologize as I am not sure which forum should I deposit this question.
I am using jboss4.0.5 installing in Cent OS with memory of 1024MB and jdk 1.5.0_08. Hence, what value should I set for wrapper.java.initmemory and wrapper.java.maxmemory? What actually is the wrapper.java for compare to JAVA_OPTS? my current configuration is like below:
# Wrapper Properties
# Java Application
set.JAVA_HOME=/usr/java/j2sdk
wrapper.java.command=%JAVA_HOME%/bin/java
set.JBOSS_CONFIG=default
set.JBOSS_HOME=/opt/jboss4
set.JBOSS_LOG=/var/log/jboss4/%JBOSS_CONFIG%
# Use new ticker
wrapper.use_system_time=FALSE
# Java Main class
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
wrapper.java.classpath.1=%JBOSS_HOME%/lib/wrapper.jar
wrapper.java.classpath.2=%JBOSS_HOME%/bin/run.jar
wrapper.java.classpath.3=%JAVA_HOME%/lib/tools.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=%JBOSS_HOME%/lib
# Java Additional Parameters
wrapper.java.additional.1=-Dprogram.name=run.sh
wrapper.java.additional.2=-Djava.endorsed.dirs=%JBOSS_HOME%/lib/endorsed
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=64
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=128
# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=org.jboss.Main
wrapper.app.parameter.2=-c
wrapper.app.parameter.3=%JBOSS_CONFIG%
# Port which the native wrapper code will attempt to connect to
wrapper.port=1777
wrapper.startup.timeout=300
wrapper.ping.timeout=300
wrapper.shutdown.timeout=300
wrapper.disable_shutdown_hook=TRUE
wrapper.request_thread_dump_on_failed_jvm_exit=TRUE
# Wrapper Logging Properties
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM
# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO
# Log file to use for wrapper output logging.
wrapper.logfile=%JBOSS_LOG%/server.log
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=NONE
# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0
# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0
# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=NONE
# Wrapper NT Service Properties
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
[email protected]@
# Display name of the service
[email protected]@
# Description of the service
[email protected]@
# Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=
# Mode in which the service is installed. AUTO_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START
# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false
Thanks & Regards,
MarkHello Kumar,
The following should be the recommended parameters for your case. Always take a backup of initSID.ora and spfileSID.ora file before making the changes.
fixcontrol Bug fix control parameter
*._fix_control='5705630:ON','5765456:3','6221403:ON','6329318:ON','6399597:ON','6430500:ON','6440977:ON','6626018:ON','6670551:ON','6972291:ON','7325597:ON','7692248:ON','7891471:ON'
max_dump_file_size = 20000
optimizer_index_caching Adjust the usage of nested loops 0
optimizer_index_caching (do not set)
optimizer_index_cost_adj Percentage of the calculated index costs 100
optimizer_index_cost_adj = 20
parallel_max_servers=20
parallel_threads_per_cpu = 1
shared_pool_reserved_size
CPUs Shared_Pool_Size
4 500M
6 1G
10 1G
32 2G
64 2G
128 3G
Resize db_cache depending on your needs. For your case, I would recommend at least 2GB of RAM for db_cache
pushjoin_union_view
pushjoin_union_view = false
Set this as true if 6917874 fix is implemented.
In addition Oracle processes should be calculated as follows
Oracle Processes =
{ ABAP WP X 2 +
J2ee Server Processes*MaxConnection + Parallel_Max_Servers + 40 }
Hope I am clear.
Thanks,
Venkatesh Pydi. -
What roles should be assigned to HR and SD peoples.
Hi all,
I have a doubt in security. what roles should be assigned to HR and SD,MM people instead of assigning SAP_ALL and SAP_NEW. I want to restrict all the people giving SAP_ALL and SAP_NEW. How to assign the roles to them and how to authorize them. Plz can anybody tell me clearly the steps for this.
Thanks & Regards
Karunakar ReddyBasically what you're asking is a step by step guide to role design and implementation. This is an often asked and seldom answered question on this forum (and other forums) because it is not a simple question and not a light task.
Best start by asking your functional teams' members which transactions they need and start from there.
You can also have a look at the standard roles delivered by SAP. Maybe some could suit your needs.Try to find out which ones do, copy those and work from there.
If you want more information from us please tell us:
1 What have you done so far to acquire knowledge on the SAP authorization concept?
2 For who do you want to build roles? Developers, functional consultants, key-users, endusers?
3 Is this on a development environment or a complete landscape?
4 What is your job role in the project/company?
Jurjen -
I have a table with a field "f1" which type is nvarchar(1000). Now I want to update a record through binding variable method. Before I bind the parameter, I call SQLDescribeCol to get the length of f1 - 1000.
The data for updating f1 is prepared and is coverted to UTF16, so the buffer length is 2*(character length). When I call SQLBindParameter() to bind the variable for f1, what length value should be passed to ColumnSize parameter? Some said the Columnsize
should be in byte. In MSDN, I can't find any posts or examples for my cases. MSDN also mentioned that the limit for this argument is 4000.
I try 1000 and 2000, both works. Which one is the exactly correct one? I use SQL Server 2008 and native client 10.0.
Thanks in advance.
Liu PengHello,
Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Elvis Long
TechNet Community Support -
What value should I put in dhcputil.exe -webserver
Hi,
I am trying to use the steps in this article to configure my DHCP options for Lync 2013 phones. But I am not sure what value would go for webserver switch of dhcputil.exe.
I have a standard edition front end server and Internal CA.
Thanks,Put the internal web server FQDN of your Lync standard edition front end. You can also typically use the server name if it's standard edition.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications
This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
What value should "NI_USEIPv6" be to make IPv6 work on NetWeaver 7.10?
I was trying to configure IPv6 support on NetWeaver 7.10, and tried several values for 'NI_USEIPv6', like "true", empty, or IPv6 address, none worked. Just wonder what value it should be.
Can anyone help with this? thanks
Edited by: Harry Lu on Mar 12, 2008 4:14 PMHi, i guess it is not really important any longer - but the answer lays in the OSS Note
http://service.sap.com/sap/support/notes/1346768
IPv6 support in other components outside of the application server
As of the following versions of the components, set the environment variable SAP_IPv6_ACTIVE=1:
SAPGUI 7.20, classic RFC Library (librfc) 7.20, SAP NetWeaver RFC Library (sapnwrfc) 7.20, SAP Java Connector (JCo) 3.0, and SAP .NET Connector (NCo) 3.0
For the following versions, set the environment variable NI_USEIPv6 to any value:
SAPGUI 7.11, classic RFC Library (librfc) 7.11, and SAP NetWeaver RFC Library (sapnwrfc) 7.11 -
How to use PF_ASTAT_OPEN & what value should OPENKEY be
I want to use PF_ASTAT_OPEN,but I don't know what value the openkey and typ should be? where can I find document for it?
Hi Gang,
There are some hard coded values that are being passed to this FM when i see them in the standard code:
viz: process_salesorder(10) VALUE 'A020022353',
function_configuration(10) VALUE 'A020020262',
function_assembly(10) VALUE 'A020022749',
Regards,
Ravi -
Hi grus,
I configure the Manufacturing Analytics on BI-Apps7.9.6.4.
And source system is EBS R12.
I cann't set the proper value on the file_bucket_range_master_ebs11i.csv.
The name of parameters are BUCKET_RANGE_NAME, MIN_RANGE and MAX_RANGE.
This configuration steps are described at task#17.2.2.22 on e35272.pdf(Configuration guide)
But these tasks only explained "Configure the value of BUCKET_RANGE_NAME, MIN_RANGE and MAX_RANGE."
Dose anyone knows that how to configure or find the proper value of these parameters?
Best Regards,
Takashi MatsugiThis issue is solved by myself.
We can set 3 values on BUCKET_RANGE_NAME.
ONHAND_AGING_TIME_BUCKET,EXPIRING_TIME_BUCKET and EXPIRED_TIME_BUCKET
And we can set number of days on MIN_RANGE and MAX_RANGE.
These values will be used for "FACT - Inventory Aging""Days in Inventory","Days left Expiry" and "Days Since Expired".
Best Regards,
Takashi -
I have a photo that an author would like to publish in a book. I sent it at a resolution of 300 p/in. She would like it at the highest resolution possible. How do I find or determine that value? The photo was taken with a Nikon 7000.
The ppi setting is only a tag in the file metadata, it does not change the image in any way. It may be used by some printing applications to determine a default print size, but is generally ignored. The ppi box in the LR Export dialog will accept any number from 1 to 65,000, but what really determines resolution is the number of pixels in the image. If you are exporting all the original pixels from the camera less any lost to aesthetic or aspect ratio crops, that is the highest native resolution possible. Resolution can be artificially increased by using the Resize option in Export so that LR will create and add in new pixels - whether or not this causes visible artifacts is largely dependent on the amount of enlargement.
Since your author friend is probably also unaware of the irrelevance of the ppi tag, send her all your native pixels and set an impressively high number for the tag - like 65,000 -
Lookup value mapping table through message mapping.
Hello All,
I am working on a graphical mapping (message mapping). When trying to map the source message to the target message, I need to find out it a particular <b>key</b> exists in the <b>value mapping table</b>. Depending on the result, I need to map different source fields to the target field.
Is there any inbuilt function which will allow me to do a lookup on a value mapping table, or is it possible to lookup a value mapping table from a UDF?
Please help!
Warm Regards,
KeertiHi,
Please see the below links for Value mapping ..
Value mapping /people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
Value mapping in XSLT /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
Value Mapping replication - /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
Also see
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
Regards
Pradeep N -
Mapping between XI message (XSD) and the webservice message
HI Gurus,
I am trying to send a message from XI to webservices. In the mapping my source message (xi message) has multi nodes in it. How can I map this structure to webservices? I cannot map them to the arraylist (defined as parameter in the webservices).
I am trying to write a UDF to read the XSD schema message and map that into the arraylist of the webservice.
Any ideas please?
Thanks
KalyanSuraj,
Source message (XI message)
<?xml version="1.0" encoding="UTF-8"?>
<ns0:CustomerCreateResp xmlns:ns0="pr5:100">
<CUSTOMER>
<item>
<CUSTOMERNO/>
<MDMCUSTOMER/>
<CREATE_DATE/>
<RETURN>
<TYPE/>
<MESSAGE/>
</RETURN>
<PT_CONTPART_RETURN>
<item>
<MDM_CONTACT/>
<CONTACT/>
</item>
</PT_CONTPART_RETURN>
<PARTNERS>
<item>
<CUSTOMERNO/>
<PARTNER_FUNCTION/>
<PARTNER_NUMBER/>
<DEFAULT_PARTNER/>
</item>
</PARTNERS>
</item>
</CUSTOMER>
</ns0:CustomerCreateResp>
Target message (webservices message)
<?xml version="1.0" encoding="UTF-8"?>
<ns1:updateCustomer xmlns:ns1="urn:xiSericeVi"><ns1:customer><ns2:ArrayList xmlns:ns2="java:sap/standard">[]</ns2:ArrayList></ns1:customer><ns1:name></ns1:name></ns1:updateCustomer>
The target message has arraylist type parameter. I am trying to read the XI message and map it to the arraylist.
Thanks
Kalyan -
What values do I enter in the program change field for EXS24 ?
I am using YaMAHA WX5 WIND CONTROLLER to play instrument sin Logic. I can get 'next settings' and 'previuos settings' to work with cc values. However, because of the setup of the WX, it wouls work better for me if I coud use its program change buttons.
What value should go in the program change box ?
OPEn EXS24
click edit
navigate edit>preferences>select previous instrument or next instrument
afer that what value will allow EXS24 to change instruments using my WX5.
I have used MIDI monitor to find what value the WX sends and the only think that shows up is 'program'
I have tried learn assignment in Logic. When I press the program change button, Logic reads it as program change but provides no value.
Thanksany one?
-
Wht values should be given to smart cards
hi,
I am using sle4428 smart card device . what values should be given to it. for cla, ins,p1,p2..
with regards,
cmhi,
I am using sle4428 smart card device . what values should be given to it. for cla, ins,p1,p2..
with regards,
cm -
Error in mapping of request message (IDoc)
Hi!
I am facing with the following mapping error.
I try to map data element MT_Material to IDoc MATMAS.MATMAS02
com/sap/xi/tf/_MM_MT_Material_MATMAS02_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /MATMAS02/IDOC/E1MARAM. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:406)
Can some one help me to solve this problem?
Thank you very much!
regards
ThomHi,
It is cardinality error, You need to verify the cardinality of the source and of the target. For examples
Source Target
1. 0..1 1
2. 1 1
In the first case, you can get an error if the source file is not comnig the field(optional), so you can use "mapwithDefault" Standar function to assign a default value.
For the second case It seems never could raise any error, but remember that the input file can not follow the xsd definition (PI<7.1 does not have a xsd parser). For this case You can use "mapwithDefault" too, but only to test. because is not recommendable to map with a default to all entries, It is only for the optionals.
I hope It helps You.
Ivan
Maybe you are looking for
-
Photostream is syncing old photos from iPhoto
Photostream is syncing 1000 of random old photos throughout my iPhoto library. Because it is grabbing these 1000 photos it does not sync NEW pictures taken. It supposed to sync the last 30 days pictures, but these pictures are from 2006-2008. All
-
Hi all, In our test environment, we need to deploy our application several times to run on several db. If we create several server (ex : weblogic/myserver1 and weblogic/myserver2) do they will use the same jvm? If yes, is there a way to run them in s
-
How to retrieve username and password for Royal Poker 7? I do not receive email instructions for recovery.
-
How to link TCJ_Documents table with BKPF table
Dear all, i am new ABAPer, i need to join TCJ_Documents table with BKPF table. but, i can not find the relationship between this two tables. so, please help ! thanks !
-
Hello, I look around and found nothing on this forum. I would like to use Disk Utility to verify a remote USB Hard drive plugged to my Airport Extreme. When I open Disk Utility this drive does not appear in the choices. Is it possible to see it? I ha