CONVERSION RULE
hi,
plz suggest me anything(their types,significance etc.) about CONVERSION RULES in ABAP
Conversion Rules for Internal Tables
Internal tables can only be converted into other internal tables. You cannot convert them into structures or elementary fields.
Internal tables are convertible if their line types are convertible. The convertibility of internal tables does not depend on the number of lines.
Conversion rules for internal tables:
Internal tables which have internal tables as their line type are convertible if the internal tables which define the line types are convertible.
Internal tables which have line types that are structures with internal tables as components are convertible according to the conversion rules for structures if the structures are compatible.
Also check these links..
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb34d0358411d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/59/ae3cfe488f11d189490000e829fbbd/frameset.htm
Similar Messages
-
Data records in an IDoc getting erased, when conversion rules are defined
Hello ,
We are sending IDocs of message type GLMAST & COELEM from a system(version 4.7) to another system (version 4.6B).
The segment data in the IDocs are changed using the user exit enhancement KKCD0001. The function exits used are EXIT_SAPFKCIM_001 and EXIT_SAPFKCIM_002.
If there is no conversion rule defined in the receiver system, for the segments, the IDocs are posted correctly in the receiving system. But if we define conversion rules , then the data records for all the segments for which conversion rule is defined are getting erased, and an error occurs during processing of IDocs
Please let me know what can be the the reason behind this issue..And how to solve this..
Thanks in advance,
AfsarIssue solved
-
Error in global conversion rule for InfoObject 0PERSLANGU when activating
Dear Experts
We are working on HR in BI7.0 with Ehp1.
I am trying to Activate the Transfer Rules of 0HR_PA_PA_1 DataSource which has the BID (BW Development) as the Source System to itself in order to load 0PAPA_C02 (Headcount) InfoCube.
When trying to Activate, it gives the following error message:
Error in global conversion rule for InfoObject 0PERSLANGU
Message no. RSAR263
Diagnosis
Errors with the global conversion rule for the field 0PERSLANGU.
System Response
The function module delivers the following error message:
Incorrect statament: Expression missing Operand mi
Procedure
Check the definition of the global conversion rule for an InfoObject.
In fact, we are Re-implementing 3.0b BW System in new BI7.0 Ehp1 System. I have checked the Config of InfoObject 0PERSLANGU to the one available in existing BWP (3.0b Production) system and it's all the same.
Has anyone come across similar error message and how did you resolve. Any help is very much appreciated.
Many Thanks,
ChanduHI Chandu ,
It is a bug in the system , can you take a look at the SAP note
Note 1070702 - RSAR 263: Error in global conversion rule for InfoObject
Hope it helps ,
Regards,'
Sathya -
Error in global conversion rule for InfoObject 0INCOTERMS2
When I activate BI content 2LIS_12_VCITM with transfer rule, The transfer rule was error with the message " Error in global conversion rule for InfoObject 0INCOTERMS2" and Mgs No. 263.
The transfer rule cannot be activated.
I checked the 0INCOTERMS2 infoObject . The global conversion rule is no error.
The global conversion is in below.
============================================================
PROGRAM CONVERSION_ROUTINE.
Type pools used by conversion program
TYPE-POOLS: RSD, RSARC, RSARR.
TYPES: DE_0INCOTERMS2(000028) TYPE C.
Conversion rule for InfoObject 0INCOTERMS2
Data type = CHAR
ABAP type = C
ABAP length = 000028
FORM CONVERT_0INCOTERMS2
USING RECORD_NO LIKE SY-TABIX
SOURCE_SYSTEM TYPE RSA_LOGSYS
IOBJ_NAME TYPE RSIOBJNM
CHANGING RESULT TYPE DE_0INCOTERMS2 " InfoObject value
RETURNCODE LIKE SY-SUBRC.
$$ begin of routine - insert your code only below this line -
TRANSLATE RESULT TO UPPER CASE.
$$ end of routine - insert your code only before this line -
ENDFORM.
=================================================================
If you have any idea or face the similar problem, please suggest solution.
Thank you.Good afternoon,
If you have not done so already can you apply the SAP note 1387854 in your system and it should prevent the problem from happening again. If you also reactivate the infoobject 0INCOTERMS2 in RSD1 then it should be possible to manually activate the transfer rule.
Best Regards,
Des -
Conversion rule executed in sender and receiver system?
Hello experts,
I want to send an Idoc from one SAP system to another.
Both systems are in the same transport line.
In the sender system I want to execute a field conversion. There
Therefore I maintained BD62 (Define Conversion Rule), BD55 (activate Conversion Rule for Sender/Receiver combination) and BD79 (Specifie Conversion).
The mapping works perfectly.
The creation of the IDoc and the field conversion work perfectly.
But I get an error in the receiver system.
It seems that this system also tries to execute the fieldmapping, because it has the same BD55 (sender/receiver) settings.
The conversion rule itself does not exist in the receiver system, as these settings are not contained in a transport request.
What is the correct way? Can I customize BD55 not to generate a transport request and maintain this setting only in the relevant system?
Or do I need to maintain BD79 and BD62 also manually in the receiver system?
any hints
BarbaraHi Barbara,
you have to maintain BD79 and BD62 manually in all receiver Systems.
Kind regards
Werner -
Errors with the global conversion rule for the field 0SOURSYSTEM.
Hello Gurus,
We are implementing CRM Activities. I enhanced the data source and when I add new info objects to 0SAL_DS01 DSO and trying to activate I'm getting there errors. Can some one please help me out in this problem?
Error in global conversion rule for InfoObject 0SOURSYSTEM
Message no. RSAR263
Diagnosis
Errors with the global conversion rule for the field 0SOURSYSTEM.
System Response
The function module delivers the following error message:
Field "" is unknown. It is neither in one of t
Procedure
Check the definition of the global conversion rule for an InfoObject
What does this error mean? We are using BI 7.
Thanks
RKRI have around 9 source systems, do I have to maintain data for all of them for 0SOURCESYSTEM?
I set data for CRM system and then tried to activate.. but still I'm getting same error.
I;m getting this warning too...
InfoObject 0FISCVARNT needs to be in key for DataStore object C_0SAL_D
Message no. RSDODSO123
Diagnosis
Characteristic 0FISCVARNT is included in the data part of ODS object C_0SAL_D.
System Response
The fiscal year variant cannot be used in the update rules for calculating business hour characteristics.
Does this matter???
Thanks
RKR
Message was edited by:
RKR M -
Errors with the global conversion rule
Hi Guys,
When I activate the DSO,I get an error "Errors with the global conversion rule".I applied OSS note 1387854.But the problem still persists.I did not find any replies on SDN for this error,so posting it again.
If anyone knows how to proceed,please help! <REMOVED_BY_MODERATOR>
Thanks,
Sri
Edited by: Pravender on Dec 9, 2010 4:51 PMthe error might show due to which infoobject this error is happening.
that particular infoobject might conatin a transfer routine. Open the transfer routine in the infoobject, do a dummy change, save the routine and activate the infoobject, then try activating the DSO.
this might do the trick . Hope this helps.
rgds, Ghuru -
Using conversion rule to convert quantity fields
Hi!
I am trying to find a way to use a conversion rule to convert a quantity specified in one unit of measure to the corresponding quantity specified in a different unit of measure. I was trying to use 'Copy sender field' along with a custom 'Special conversion rule'. However, the code to convert quantities requires both the quantity and material number to do the UoM conversion. 'Copy sender field' only allows the transfer of one sender field. Is there a way to transfer two sender field into a 'Special conversion rule'. Any help much appreciated and rewarded. Thanks, DuncanHi Duncan,
Try FM UNIT_CONVERSION_SIMPLE.
Regards,
Atish -
Hi to all,
I'm Implementing an Inbound Interface for Cost Centers using idoc message COSMAS and IDOC type COSMAS01.
I want to modify IDOC data changing the cost center code by another one stored locally in a param table (Z*).
I think the best way to do this is by creating a conversion rule in BD72 than maintain and assign to Message type. The problem is that i have to select data from the Z* Table i need two parameters from the IDOC(LogicalSystem and cost center). How can I create a custom conversion routine or something to get this data from the Z table into the IDOC field (KOSTL).
The conversion exits only have one import parameter and one export parameter.
Do anyone had one problem like this?
Thanks in advance to all.Hi,
Please check the documentation in WE60 tcode and see if the fields are required to be passed...
Regards,
Nagaraj -
Hi guys,
i want to upload Material Master QM view data with LSMW into ECC6.0 version server, before that i want to write the conversion rules... plz can any send the conversion code i have writen below...
1. If info record not maintained of vendor material, then maintain info record for material received in last three years for latest revision with release until date 31.12.2099.
regards,
muraliplz send me the code.... urgent...
-
Can we write code using BD79(ALE IDoc Conversion Rule)
Hi -
I had created a conversion rule that specifies for the field account group (KTOKD) on KNA1: I need to include the following logic :
if the customer number (KNA1-KUNNR) is in the range 0010000000-0019999999 or 0140000000 to 0149999999, then change the account group value to u201CSKIPu201D.
So I had created a conversion rule using BD62.
In BD79, I had set the constant to SKIP.
But where to include the following logic :
if the customer number (KNA1-KUNNR) is in the range 0010000000-0019999999 or 0140000000 to 0149999999, then change the account group value to u201CSKIPu201D.
Thanks,
GyanarajHi Shital ,
Thank U very much for replying to my question.
But when I m trying to create the same , by clicking Use general rule & specifying special conversion routine ZBLNK , it is throwing the following error "Conversion exit ZBLNK does not exist".
Please can u help me out.
Thanks,
Gyanaraj -
ALE : conversion rule for field value to become null
Dear experts,
I need to pass a material from one system to another with ALE. The problem is that the field marc-prctr (profit center) of this material is populated in the first system, but it does not exist in the second, so I assume transaction bd79 should be used to convert somehow the value of prctr to initial.
How can I do that??? I have already tried defining a conversion rule and assigning it to message type MATMAS, segment E1MARCM, but it did not work.
Please help.Did you check this?<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/d3/06f6679aaf0e44b67ca6d6b58d91df/content.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/d3/06f6679aaf0e44b67ca6d6b58d91df/content.htm</a>
-
How to implement a conversion rule in KC7R (External Data transfer-Tool)
Hi,
I am familiar with programming conversion rules in ABAP in the LSMW and IS-U Migration workbench.
Unfortunately we have to work with EDT (transaction KCLJ).
I need to implement a simple conversion rule: migration file has the external BP number BPEXT and I must retrieve the internalone (PARTNER) for the migration program.
So I must implement a short ABAP code (select single * from BUT000 ...).
Now I see that in KC7R you can use constants and conversion rules. There are also "General Ruels" and "conversion routines".
Can someone explain how to implement this simple ABAP conversion rule in KC7R giving a short example?
This would be great.
EDT is the workst of all SAP Standard Migration Tools I have seen.....
Kind regards,
ThomasThomas,
Coud you please share your findings as I am now in a similar to your original post.
ie I too would like to know how to code convesions for use within the transfer rules used by KCLJ.
Kind Regards,
Hiten Mistry. -
Copy data from one SAP system to another based on conversion rules
Hi All,
Please provide your input on how can we copy data from one SAP system to another based on conversion rules.
Conversion rule :
vkrog in 110 vkorrg in 120
1234 4567
<<text removed>>
Thanks
Edited by: Matt on Feb 16, 2009 4:35 PMPlease read the Rules of Engagement here: Please read "The Forum Rules of Engagement" before posting! HOT NEWS!!
Please note that offering points is against the rules.
matt -
ALE Conversion rules not processed
Hi all,
I defined some conversion rules for an inbound IDoc with trascation BD79 in my backend system.
If I send an IDoc from XI to the backend system the rules are ignored:
Status 64
No filters , <b>No conversion</b> , No version change .
If I try the <u>SAME</u> Idoc with WE19 using the standard inbound, it works:
Status 64
No filters , <b>Fields converted</b> , No version change.
Any idea? I guess it's a bug.
Thank you.
Stefano<b>FYI</b>
http://help.sap.com/saphelp_erp2005/helpdata/en/80/411a73382b44d0a1667816716f5b37/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/f9/c3075cac7d11d39460005004580996/content.htm
Hope thisll give you idea!!
<b>Pl... award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
IDOC reprocessing with new conversion rules
Hi All,
we've created IDOCs and after the creation the conversion rules are changed. Now we want to reprocess the IDOC's and in the reprocessing we want to use the new conversion rules.
I've tried just reprocessing, I also tried WE19, but with these 2 the conversion rules seem to left untouched.
Has anyone a solution were I can reprocess making use of the new rules?
kind regards,
PieterHi,
I've debugged the reprocessing of the idoc and it seems indeed I had to change the status, however not all statusses result in reprocessing of the rules. Status '29' Error in ALE Service works. So my problem is solved.
Thank you.
kind regards,
Pieter
Maybe you are looking for
-
Hello, I am a new member trying to upgrade my RAM from 4GB to 8GB on my MSI A6200-220US Core i3-350M but I am having issues and I am wondering if a custom BIOS would fix this. When I put in my two new sticks the laptop boots as usual giving me the op
-
APP - Advance already given to be cleared with Invoices (Net amt payable)
Dear all, Pls. help me by giving the solution on how to clear Advance paid (for e.g. Rs. 20000) to Vendor (Sp. GL - A) against the invoices (for e.g. of Rs. 35000) generated after wards. i.e. net amt payable (i.e. Rs. 15000/-) to Vendor ? What additi
-
How to Resolve VM issues if you remove YAP
I installed the voice to text VM service called YAP. It started missing voicemails, so I followed their instructions for deleting it. After several days of VMs still going to YAP and being unable to access them I found out that you need to call AT&T.
-
I have only an I-Mac (Mac OS c (10.5.8), & enjoy all its features. I also have a Mail account; what do I have to do to continue its operation. I'm also concerned if I will lose all my photos in IPhoto. Am I correct to assume ICloud is only necess
-
During erase all data i have unplugged usb. after that i could not open OS-3.2
Hello: I am an apple new user. I am using ipad (Wifi+3G) and last night i intended to upgrade my ios from 3.2 to 4.3.3 version. I have plugged ipad with my laptop and before upgrading i tried to erase all data. I putted command and it started erasing