04-23-2013 7:48 AM
Dear All We have one smartform for Goods Receipt.
We have desinged in Arabic Language.
( ls_control_param-langu = 'A'.)
All are okay. But When a vendor name contains like Co. or LTd. then the Dot is printed in front of the text.
Example : MyCompany Co. Ltd. --> is printed as .My Company Co Ltd
Can someone help me where I am missing.
Regards,
Venkat
04-23-2013 8:04 AM
Are you printing in Address......
Check Translations if they are correctly maintained.
04-23-2013 8:16 AM
Dear Sai
I am printing the Vendor Name. Directly picking up from LFA1 tbale
The Vendor Name is ABC Company Ltd.
It prints .ABC Company Ltd
The Dot after Ltd is printed at Front.
Regards,
Venkat
04-23-2013 8:16 AM
Hi Venkat,
Check these Notes ..
Note 822634 - RTL SAPScript/Smartforms printing with embedded LTR texts
Note 587150 - Support of Arabic-script languages
Regard's
Smruti
04-23-2013 9:48 AM
Dear Smruti
We have applied the SAP Notes. 822634 (RTL SAPscrip/Smartforms)
Still the problem exits..
Our latest kernel is 720
Regards,
Venkat
04-23-2013 10:09 AM
Dear Venkat ,
What device type used "ARSWIN" or ?? .
Also check with
ls_control_param-langu = 'AR' not only 'A'.
Regard's
Smruti
04-23-2013 10:31 AM
Dear Smruti
I tried with both 'A' and 'AR'. No difference.
The device type is 'ARSWIN'.
Regards,
Venkat
06-03-2013 5:57 AM
Hi Venkat ,
Did you Check this Note 1291845 - Display of mixture of Hebrew/Arabic, Latin, and digits .
Specially Read "Appendix: How to reproduce the behaviour of the BIDI algorithm"
is it your unicode system ? also Check this Note for Fonts required for your required language .
Note 776507 - SAPscript/SmartForms: Which fonts for which languages?
Regard's
Smruti
06-08-2013 6:22 PM
Thank you smruti,
I shall check this note and get back to you
Regards,
Venkat
06-02-2013 10:05 AM
Hi All
Is there any solution for this..
Can someone help me please
Regards,
Venkat
06-09-2013 12:25 AM
Hi,
Are you trying to take the value in a variable of type NAME1_GP check the Bi-directional Options in SE11. What is it set to if its default then for Hebrew and Arabic it will try to do a RTL (Right to left) casting. I would suggest crate a Z-data element tick this option this will help it to always keep the text direction as LTR as required in your code and should help you avoid the dot at the start of the name.
Cheers,
Arindam
06-09-2013 8:28 AM
Hi Arindam
I created a zchar50 data element.
I checked the bi direction option.
I used that data element type in the smartform to print vendor name.
But still it is giving same error...
Regards,
Venkat
06-09-2013 8:55 AM
Hi,
from which table do you select the data when does the format change at selection or after selection?
Cheers,
Arindam
06-09-2013 9:01 AM
I am selecting the data from vendor master tale LFA1.
LFA1-name1, LFA1-name2.
Concatinate and put it in Form Variable WA_VEND_NAME.
in the Global defenition of form, I defined VEND_NAME of type ZCHARXX - what I defined data element with bi direcctional option/
Regards,
Vekat
06-09-2013 9:16 AM
Hi Vakat,
Before printing in Smartform use below code. hope this will solve your problem.
CALL FUNCTION 'CONVERSION_EXIT_STLTR_OUTPUT'
EXPORTING
input = VEND_NAME
IMPORTING
output = VEND_NAME.
Please reply if any problem.
Thanks and Best Regards,
Faisal
06-09-2013 9:19 AM
Hi,
I think the issue here could be you are selecting the data and executing rest of your program in English and even you name i.e the alphabets are English then you are setting the smartform for Arabic Output. Usually the language of the form has to match with the data that gets displayed, any exceptions get displayed by Standard text I think the mix-up is causing the issue.
Have you tried the standard text way?
Cheers,
Arindam
06-09-2013 10:05 AM
Hi
I tried with the function.
Actually, the value in VEND_NAME is correct.
Only at the printing time, it prints as dot at first place.
Actual name = Md. Nova Ltd.
but prints as .Md. Nova Ltd
Regards,
Venkat
06-09-2013 10:57 AM
Hi Venkat,
As setting the parameter in control param changes the setting at the time of the print. Can you change the smartform in that case try to see if the command SET LANGUAGE EN before you print the name then reset it to Arabic.
Cheers,
Arindam
06-09-2013 11:10 AM
Hi,
Check this note 822634 may it will help you to solve this problem.
Best Regards,
Faisal
09-11-2013 7:42 AM
Can someone help me .. I am still in search of solution for this.
Regards,
Venkat
09-11-2013 7:58 AM
Hi,
Can you just do a offset and concatenate a '.' after the text before you print, that's the only workaround I can see. Logic like
IF lv_text(1) EQ '.'.
concatenate lv_text+1 '.' INTO lv_text.
ELSE.
"Do Nothing
ENDIF.
One thing to consider would be the language characters before you proceed with this.
Cheers,
Arindam
09-11-2013 8:11 AM
Thank you Arindam,
But the issue is that ... the value of the filed is correct..ie the Dot is at end only... Only at the time of print it prints at beginning.
So, as per your logic, it will not find the . at 1st position.
Regards,
Venkat
09-11-2013 1:29 PM
Please check note:1258722
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1258722
Best Regards,
Waqas Rashid