‎2012 Jan 27 5:05 AM
Hi,
we have an issue where the Text(EDI header text) at the header level which is displayed is wrapped text but we need to make it unwrapped.
current display:
Internal Vendor Number=5690 Reference Qual=JC, Value=CUSTOM CLUB ORDER Routing Note=ROUTING GUIDE EDI Ship To Location = '000' KRISTIAN GUSMER Messages=PO Notes Messages=MENSHAND: RCLUB: 46 IRON LIE: +1 UPRIGHTSHAFT: TRUE TEMPER - Messages=DYNALITE GOLD SLFLEX: S300LENGTH: +0.5GRIP: GOLF PRIDE - NEW Messages=DECADE MULTICOMPOUND WHT/BLK CORD .600 RNDGRIP SIZE:
required display
Internal Vendor Number=5690 Reference Qual=JC, Value=CUSTOM CLUB ORDER Routing Note=ROUTING GUIDE EDI Ship To Location = '000' KRISTIAN GUSMER
Messages=PO Notes
Messages=MENSHAND: RCLUB: 46 IRON LIE: +1 UPRIGHTSHAFT: TRUE TEMPER -
Messages=DYNALITE GOLD SLFLEX: S300LENGTH: +0.5GRIP: GOLF PRIDE - NEW
Messages=DECADE MULTICOMPOUND WHT/BLK CORD .600 RNDGRIP SIZE:
how to handle to make the text as unwrapped.
The text is coming through EDI.
‎2012 Jan 27 5:30 AM
the keyword for wrapping is 'Messages', what i can think of is:
1) Process each word in the Text (use SPLIT with space as delimiter and '=')
2) Keep concatenating each word to the string field (or long char field)
3) Upon encountering the word 'Messages', append the last concatenated string field to the internal table
4) Begin concatenation on new string.
‎2012 Jan 27 5:30 AM
the keyword for wrapping is 'Messages', what i can think of is:
1) Process each word in the Text (use SPLIT with space as delimiter and '=')
2) Keep concatenating each word to the string field (or long char field)
3) Upon encountering the word 'Messages', append the last concatenated string field to the internal table
4) Begin concatenation on new string.
‎2012 Jan 27 5:38 AM
No it is not like that..we do not have any key delimiter..
and also the code is standard and there is no customisation done..
‎2012 Jan 27 6:17 AM
From your given example, what I understand is that the beginning of new line starts from 'Messages'
If this is not the case, you have to let us know what's the criteria(s) to recognise a beginning of a new line?
Also you mention 'code is standard and there is no customisation done', so do you want to achieve text wrapping thru some ABAP customisation or you are enquiring on something else?
‎2012 Jan 30 12:11 PM
E1EDKT1 Z002E EN
E1EDKT2 RETAIL DIV. ORDER TYPE =Z5, Z005AT ONCE CALL OFF
E1EDKT2 REFERENCE QUAL=OT, VALUE=Z005
E1EDKT2 REFERENCE QUAL=CO, VALUE=237381
E1EDKT2 REFERENCE QUAL=NR, VALUE=032
E1EDKT2
E1EDKT2
E1EDKT2 EDI SHIP TO LOCATION = '00952'
The Idoc is having the segments as above, the text once it is saved on the order which is created is concatentaed.
I checked in the SAVE_TEXT fm where the above 7 records(segments of type E1EDKT2) are passed but unable to find where exaclty they are getting concatentaed.
‎2012 Feb 02 4:51 AM
There was a paramter to pass the formatting option through whcih the issue was resolved.