0CUSTOMER_TEXT : SPRAS
Hi Friends,
I don;t see language key in data source 0CUSTOMER_TEXT . I want to bring in only english language text.
How do i insert language field in data source..
I can see a field SPRAS in KNA1 table
Can somebody give me the steps to add the SPRAS in 0CUSTOMER_TEXT in RSA6
Do I need to write a customer exit code to populate data into this field SPRAS
Can I get the code for this .
Thanks,
Sahasra
Hi Sahasra,
goto RSA6, select 0CUSTOMER_TEXT and click on enhance data source.
Enter the field SPRAS, then activate the DS
Please go through the below doc
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fdbedb90-0201-0010-4483-b64ac397986a?QuickLink=index&overridelayout=true
Hope this helps
Regards,
Venkatesh
Similar Messages
-
Error while activating transfer cules of 0CUSTOMER_TEXT in BI 7
Hi,
I am finding the following error while activating 0CUSTOMER_TEXT in BI 7
1. Transfer structure 0CUSTOMER_TEXT_BA does not exist and
2. Data element for TXTMD could not be created.
Can you please suggest me how to resolve these issues ?did you replicate ur 0CUSTOMER_TEXT as 7.0 datasource, then you need to use transformations and not transfer rules. if you dont want to use 7.0 Ds, then go to RSDS and recover the datasource to 3.x(menu options). then you can use 3.x dataflow.
-
Lookup API - SPRAS value returned is not correct
Hi All
We are using the lookup API of XI to make a lookup in the SAP system and return values such as LAND1, and SPRAS. SPRAS has 2 kindoff value, one is the display value which is a 2 character value, and then the actual value which is a single character value. Internally a conversion routine takes care of converting this 2 character value to single character. For instance the countrykey of Poland is PL and its display SPRAS value is PL and actual value is L.
While unit testing we get the correct value of 'L', but when we do the integration testing we get the display value of 'PL'. This is a problem we face when we use the Lookup API. But when I use a JCO call to make a lookup, I get the correct value being returned.
This is a weird behavior, I am not sure if I overlooked something while using the lookup API. I even tried changing the function module to return a single char value, but still the wrong value is being returned with the lookup API. Could it be an issue with the Lookup API ??
I used the code given in the following weblog,
/people/francesco.bersani/blog/2007/03/05/data-lookup-optimized
Any suggestion friends.
regards
SameerSameer,
Using a single Function Module should not be an issue at all.
Maybe there is some problem with,
A) Either the logic of the Function Module written in R3
B) Logic of your LookUp Code.
It would be very difficult to say why you are facing this issue without looking at the code and the RFC but the way I see look up's if the FM code is valid and the Lookup Code is as per the corresponding Logic there should be no issue at all.
I would suggest that you use the same test data that is causing the issue to test the FM in your R3 system and check what it returns . Is the output as expected. If yes, then time to look into your LookUP code.
Add Trace statements and use this for debugging. Have found that they really help in real time to understand what is going wrong and why.
Regards
Bhavesh
PS : Thanks for those encouraging words . It is also nice to see detailed questions on SDN that make life easy for everyone. -
Smartforms - displaying the include text restricting to spras.?
In Smartforms i have used include text to display Header text of an invoice .
I provided all the relevant details for the include text such as,
1:text name:wa_vbdkr-vbeln
2:text object-vbbk
3: text -id-0001
4:language-nast-spras.
The problem is in the output it always displays english text eventhough nast-spras is Slovakian .Output should be blank if not maintained.(Header can be maintained in any language).
Is there any possibility of displaying the text restricting to spras.
Thanks in advanceHi Anji,
Thanks for your reply .
We use the so10 only when we have fixed data such as address then we go for it.
But that's not my case .Header text can be changed any time for given Invoice.
If maintained it should appear for that language if not it should be blank. -
0CUSTOMER_TEXT - problem with the cyrillic (ukrainian) characters
Hello,
Within the framework of Ukrain deployment, I try to extract customer texts (0CUSTOMER_TEXT) and I meet a problem with the cyrillic (ukrainian) characters. All of them are replaced by a '#' (into the table /BI0/TCUSTOMER & into the PSA too).
From SAP marketplace source, customer text comes from KNA1-NAME1.
The funniest thing is that the cyrillic (ukrainian) characters extracted by 0CUSTOMER_ATTR are accurately uploaded and specially 0NAME attribute filled by the same r/3 field KNA1-NAME1.
FYI: I checked the configuration of RFC connections and for all of ABAP connections have the radiobutton UNICODE selected.
Could someone help me?
Thanks in advance,
SamuelHi
What texts will you get by using T-code: RSA3 in your source system?
Yaniv -
Hi all,
I want to read <b>'SPRAS'</b> (Language Key) field from a table and its <b>2-character value</b> is to be displayed. i.e. EN for English.
However, the select query on the table returns 1-character value, which is the internal storage format for SPRAS. In the code I have defined (char,2) variable to capture the value returned by select statement.
Any suggestions ?
Thanks,
- ShankarHi Shankar ,
u can pass like this
select matnr
maktx
into table i_maktx
from makt
for all entries in i_fg
where makt~matnr = i_fg-matnr
and makt~spras eq 'E'.
or
select matnr
maktx
into table i_maktx
from makt
for all entries in i_fg
where makt~matnr = i_fg-matnr
and makt~spras eq 'EN'.
THEN CHECK TABLE <b>T002</b>
Regards
Prabhu
Message was edited by: Prabhu Peram -
Name of the F4 help structures for field SPRAS
Hi experts,
As 'hrpad00fatxt' is the f4 help structure for 'Famst'..... could you give the names of the f4 help structures for the field 'Spras' ??
plz helpH_T002 is the name of search help//
if u know the table in which it(the field) is used...u can ur self find it...just like I checked in T001 table..
There i cliked on the field type spras. there at the bottom right ...u can find the search help...in the search help tab..
Edited by: Rudra Prasanna Mohapatra on Jul 21, 2008 10:29 AM -
Purchase order print not controlled by nast-spras?
Hi
I have worked with SAPScript for more than 10 years, but not very much with purchase orders.
I have just now discovered a setup where the print of purchase orders are controlled by language code EKKO-SPRAS, so even if I create 2 messages (nast) in different language, they still print in same language.
Is this normal setup in purchasing?
Best regards
ThomasHi Gunasekhar B
Well that was exactly the point of my question. At one of my customers I implemented a change to the PO print, and build the coding on the assumption that the PO print was depending on nast-spras, but that was not the case.
The language-version of the sapscript was depening on ekko-nast.
...and so my question again - is normal setup in PO print, that the language is controlled by ekko-nast?
Best regards
Thomas -
Problem in Spras field for join condition in creating new views
Hi,
I want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
table field table field
t1 mandt = t2 mandt.
t1 vkbur = t2 vkbur.
And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please helpHi,
1.u can specify the first thing i.e. t1 mandt = t2 mandt and t1 vkbur = t2 vkbur in the <b>join conditions</b> even if there is no relation ship b/w t1 and t2 on vkbur.simply u specify the join condition manually.
2.for the second thing....wat u did is rite.......
I think it will work.
Thanks ,
Jyothi.D
want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
table field table field
t1 mandt = t2 mandt.
t1 vkbur = t2 vkbur.
And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please help -
Smartform to display in Vendor Language[LFA1-SPRAS]
Hi,
I have a smartform in EN language , I have selected the radio button for all language on the global settings page
I have also created translations via SE63 to other language , but the user wants the smartform display not in logon language but the vendor language LFA1-SPRAS , Kindly note that SF is triggered from T-code MR91 hence I cannot control the language parameter . Please advice me some solution.
Thanks & Regards
Gaurav Deep@Aidan Black & Raymond Giuseppi Thankyou so much for your replies .
@Raymond I have requested the Functional guy to look into the config. possibilities to attain this .
@Aiden I have debugged the same by putting breakpoint at the starting of the FM Control_parameter was blank
and then I encountered
{ CALL FUNCTION 'SSFRT_SET_LANGUAGES'
EXPORTING I_CONTROL_PARAMETERS = CONTROL_PARAMETERS
I_MASTERLANGUAGE = 'E'
I_THRULANG = ' '
I_INSTALL_LANG = ' '
IMPORTING O_LANGUAGES = %LANGUAGES.
%HEADER-LANGU = %LANGUAGES-LANGU1. }
and here the %LANGUAGES was E ....
since we have config the form to trigger form standard T code MR91 are you suggesting to find some exit etc to cod enad change the CONTROL_PARATEMER and set it to LFA1-SPRAS -
User-exit altering NAST-SPRAS in purchase order
Hello,
During purchase order creation, I need to overwrite the communication language of the output NAST-SPRAS. Can you suggest a suitable user exit?
Regards,
OgnianHi Ognian,
Apologize for the mistake, I had a misunderstood.
You can use enhancements in transaction CMOD:
XEXP0001 Selection of Purchase Order Headers and Purchase Order
XEXP0002 Determine Event Reference Data
XEXP0003 Subitems Field Catalog
XEXP0004 Update Event Data for Expediting
XEXP0005 Determine Event Scenario
XEXP0006 Event Assignment
XEXP0007 Field Catalog for Enhancement of Expediting Data
XEXP0008 Print Status Information for Expediting Object
XEXP0009 Event Reference Dates at PO Creation
Kind regards -
MDMP Idocs enable to use SPRAS
Hi Experts
I have been dealing with MDMP issues in idocs flowing from my 4.5 MDMP system to ECC 6.0.
Basically text in some of the idocs get garbled specifically for Chinese Characters.
Basically based on some investigation we can use XI and the only change should be to add the SPRAS in the needed segments in order to handle it and interpret the data in the specified Language.
For Example I need to enable SPRAS for Segment E1FIPOS, is there any way to change it in ECC? Since the system is not allowing me to change.
Will XI interpret the idocs if we are able to add SPRAS?
Thanks in advance.Hi,
U can change this in ECC . Goto t.code we19.
give the existing IDOC number or idoc type in the selection screen and execute.
then u will get all the segments for the given IDOC type .
then u can give your values in which segment you required and process the IDOC.
Hope this helps ..
Regards,
Sharath -
Spras for header text...
hi all,
in billing header text, default value for spras is "DE". i'm changing it as "EN" for each bill while billing. i want to set this default as "EN".
how can i do this?Hi,
Goto T code VOTXN and select the access sequence which is assigned to the relevant billing text type you are using..... Select the language as English in the access sequence.....
This will work.......
Reward if helpful..
Regards
Bageerath -
Hello friends,
I am trying to upload data for Text Datasource 0customer_text
At the transformation level on the source side i have KUNNR and TXTMD and on the
Target side i have CST_ATTR, 0LANGU, TXTSH, TXTMD, TXTLG
Now do i need to APPEND fields in th 0CUSTOMER_TEXT datasource to map all the fields i he Target.
If i have to Append can you please give me the source fields and the Table.
I tried to get from KNA1 table but could not ..Please help
Thankyou,
SahasraHi,
Check your data source in R/3 whether you have selected required fields in that.
login to R/3
rsa6
find Data Source 0CUSTOMER_TEXT and open it and un check Hide check button for Language , Short Text , Log Text and save it
login to bi go data source find your data source right click and replicate the same.
go to your transformation do necessary change save and activate
execute Info package
execute dtp
activate 0CUSTOMER masterdata
Before doing all of these first you have check in your R/3 system whether all required fields are filled with value or not..
Thanks
BVR
Hi All,
Sorry for the wrong ans. Please go through below ....
Table to check Customer Master Text
Display Title in BEX query for Master Data Field
Edited by: binu v. rajan on Aug 6, 2011 3:05 PM -
Nast table and spras language in it
hi
i want to know how the data in nast table is populated
as i have a bwlow code
LANGUAGE = NAST-SPRAS.
SHIPMENT_NUM = NAST-OBJKY.
CALL FUNCTION 'RV_SHIPMENT_PRINT_VIEW'
now the problme is that the language as cming from n ast spras is 1 but it should be EN i want to know how the data is populated in this nast table and what does the above code signefies......
LANGUAGE = NAST-SPRAS.
SHIPMENT_NUM = NAST-OBJKY.
how the data in nast-spras is poplulated and wht is nast-objky and how data is populated in it
and is it possible to change data for this specific case ie nast-spras to en i want to hard code...
regards
AroraHi,
For language, which is in most tables 1 char instead of 2, there are 2 conversion routines which you can use in your code:
CONVERSION_EXIT_ISOLA_INPUT Convert two-digit ISO language -> one-digit SAP language key
CONVERSION_EXIT_ISOLA_OUTPUT Convert One-digit SAP Lang. Key to Two-digit ISO Lang. Key
You can also check table T002 which contains for SPRAS (1 char) the 2 char code in field LAISO. The 2 char field is used mostly for display purposes. For example, EN is stored as E, but EN is nicer to display.
Please reward points if usefull.
Regards,
Bart
Maybe you are looking for
-
Problems with decimal places and formatting
Hi , we are having problems with an add on running on different localization companies. Decimal places separatd by "," differ from other localizations. We dont know if this is a SQL collation setting or somethng related to code or requirements to run
-
pourquoi un diaporama en lecture automatique ne redémarre pas après un arrêt manuel (transition de diapositive manuelle) ?
-
Hi All Experts, what is the Syntax of copy function in HFM ,please assist me...Thanks in Advanced!!!
-
I"m setting up a 11g RAC cluster and will be using APEX. My question is: can http server run off of all nodes in the cluster or just one?
-
HP Webcam interfering with internet
I'm getting a little frustrated with this problem. I recently purchased an HP Webcam, and it works perfectly fine on my computer, but everytime I plug it in to my USB port it completely kills my internet access. I can record videos on say Windows Mov