ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB 7 IDocs with short segement names?

Post new topic  Reply to topic
 WMB 7 IDocs with short segement names? « View previous topic :: View next topic » 
Author Message
marko.pitkanen
PostPosted: Mon Sep 10, 2012 4:10 am    Post subject: WMB 7 IDocs with short segement names? Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

I'm sorry I did only a quick search with Google and found no confirmation if I can set properties at the Toolkit's Wizard so that also segment names would use SAP's short way (like SapOrders05Zeorders05E2edl37005 would be E2EDL37005 ). Can anyone point me to the documentation I can study this?

Metadata seems to contain the required information:

Quote:
<xsd:element maxOccurs="unbounded" minOccurs="0" name="SapOrders05Zeorders05E2edl37005" nillable="true" type="saporders05zeorders05e2edl37005:SapOrders05Zeorders05E2edl37005">

<xsd:annotation xml:space="preserve">

<xsd:appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/sap/metadata">

<sapasi:sapALEPropertyTypeMetadata>

<sapasi:FieldName>E2EDL37005</sapasi:FieldName>

--
Marko
Back to top
View user's profile Send private message Visit poster's website
mapa
PostPosted: Mon Sep 10, 2012 5:28 am    Post subject: Reply with quote

Master

Joined: 09 Aug 2001
Posts: 257
Location: Malmö, Sweden

I am pretty sure this is only possible for the actual field names, not the segments themselves.

I normally check both "Use SAP field names to generate attribute names for ..." and "Use SAP-original casing for ..."

I guess this is the most relevant link as you've surely found already:
Naming conventions for ALE business objects
Back to top
View user's profile Send private message Visit poster's website
marko.pitkanen
PostPosted: Mon Sep 10, 2012 10:57 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Thanks mapa,

I tried to find this functionality from the InfoCenter and by trying several setting with Wizard with no luck. It seems that tool doesn't support this.

Luckily I can make a script that walks through all mxsd -files in exported message set and sets segment names from metadata to shorter version. (I tested this and edited message set seems to be valid for the Toolkit and can be compiled into bar and deployed to runtime and it produces a message tree with short names.)

I don't recommend this unofficial approach to anyone else.

Hopefully some one can show a official way to do this or I can convince SAP and third party people that long --broker's generated- segment names are good enough.

--
Marko
Back to top
View user's profile Send private message Visit poster's website
mapa
PostPosted: Mon Sep 10, 2012 11:11 am    Post subject: Reply with quote

Master

Joined: 09 Aug 2001
Posts: 257
Location: Malmö, Sweden

A classic

Might get you into trouble though if you will do iterative discovery later on.
Unless you keep the orginal, update it and then do your procedure again, or?
Back to top
View user's profile Send private message Visit poster's website
marko.pitkanen
PostPosted: Mon Sep 10, 2012 11:36 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Good point mapa!

A lot of troubles can arrise and I have to handle them with my own support only if I choose to go on with this script approach. I think it would be wise to export message definition with Wizard and then copy message set project to another name, do modifications and experiments only to this copied project. Then I can use official supported functions to original message set.

--
Marko
Back to top
View user's profile Send private message Visit poster's website
marko.pitkanen
PostPosted: Mon Sep 10, 2012 9:26 pm    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

We decided to use message definitions in the form they are produced by the tool.


--
Marko
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB 7 IDocs with short segement names?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.