Position of MCU value

Rayxue

Well Known Member
Hi List,
As we know that MCU value in JDE should be right justify in table.
I have table conversion UBE to input text file (format is two columns: MCU and AA)to F03B11Z1, MCU is 4 chars. when I insert to Z file, do I have to move the MCU from text to 12 long string with 8 leading blanks, or simply move this 4 chars to Z file?
Thanks for any comments
Xe
 
It is best to make the MCU field 12 long string with 8 leading blanks.

Matt
 
Why not just use N1000032 business function or better yet, the actual code:

0001 VA evt_szTempBusinessUnit_MCU = rtrim([BF szUnformattedBU],' ')
0002 BF szFormattedBU = lpad([VA evt_szTempBusinessUnit_MCU],' ',12 )

Ben again
 
Strange for me is UBE passed 4 chars to OC MCU and worked properly before, but for some reason it not working now, so I have to work around as you mention.

Any reasons cause that ?
 
I can't imagine any reason for a table conversion to change the way it works, spontaneously. However I have seen MCU values get formatted unexpectedly through applications or business functions, and can imagine even due to service packs.

Ben again,
 
Back
Top