cancel
Showing results for 
Search instead for 
Did you mean: 

Max string length for MDO

shaji_chandran
Participant
0 Kudos
405

Hello MII Folks,

MII Version 15.3 SP0

I would like to know what is the maximum length of string type attribute in MDO. When I try to set a length which is more than 4000 I am getting an error. I have attached the screenshot. I am planning to store payload (XML message) within a MDO and 4000 seems to be pretty small. MDO doesn't have XML type attribute as well.

I am creating a MII solution which must be easily portable. So I prefer to use MDO rather database tables to avoid dependencies.

Thanks in advance

Shaji

mdo-error.png

agentry_src
Active Contributor
0 Kudos

I would suggest that if you still desire to have fields larger than 4000, search the MDO help documents.

View Entire Topic
agentry_src
Active Contributor
0 Kudos

Hi Shaji,

Not sure why you are asking about the maximum length. It is obvious that it is 4000 as stated in the MDO error. What is the xml message that you are trying to save? If this is an IDoc, then categorize the message, then process the segments as required for your application into MDO or a database as necessary. If it is a BAPI, then process the segments upon execution of the BAPI, If you are reading an xml file from some other source, the process the segments upon reading.

I suggest that provide two things to help the community assist with your problem. First is provide substantially more detail on what the application is meant to do. Second is why you think MDO is preferred over database tables "to avoid dependencies"? What kind of dependencies are you trying to avoid.

Regards, Mike

shaji_chandran
Participant
0 Kudos

Thanks Mike for your comments.

Here is more details about the scenario. MII is collecting data from many sources (third party systems, shop-floor systems) via different channels (File Transfer, Pco, Manual entry via UI's). MII consolidates this data and form an xml message which needs to be send to a different system via web service. MII need to keep a track of all messages which are being sent to other systems. So am trying to create a MDO which keep the info about messages such as, sent time, external system, web service URL, payload (xml message), status of message etc... The average string length of xml message is 5000. The one option I am planning to store this message in a queue and persist the queue id in MDO. I am developing something like a message manager (message monitor) which keeps the track of messages. Since this solution needs to be deployed across various sites I prefer to use MDO for portability purpose. If I go for a database I need to maintain this database at all sites which increase deployment and maintenance effort. I am trying to create a packaged MII solution which saves my deployment\maintenance time and thus can focus more on business challenges.

Hope this clarifies

Thanks

Shaji