Creating Special Conversion Routine

Hi!
what are the steps for creating Special Conversion Routine?
I have created FM CONVERSION_EXIT_VAKEY_INPUT via se37, is it a mandatory thing to create FM CONVERSION_EXIT_VAKEY_OUTPU?
Why my Special Conversion Routine VAKEY is not visible in the list among other routines? How to create it?
Will reward,
Mindaugas.

in my case it is ok to modify standart one and I have an access to SAP Market Place, but I am not asked for the key, when I press "Change" button, why?
And the source code becomes light grey with no possibility to change it....
Of course it is better to create z Conversion Routine, but how to do it?
I have created 2 FMs: CONVERSION_EXIT_VAKEY_INPUT and CONVERSION_EXIT_VAKEY_OUTPUT but this is not enough, because VAKEY is not in the list of among Conversion Routines.
M.

Similar Messages

  • Special conversion routine ALE

    Hi everyone
    I am working on cost centers ALEs and my requirement is to do some additional coding in the conversion rule definition BD79.
    When you go to BD79 and in the tab convert sender field, there is an option of 'special conversion routine'. Can anyone suggest how that we can create a routine of our own .. so that I can do my coding there..
    Also, pls. let me know if any is any other way to give additional coding in BD79.
    Thanks in advance for your answers.
    Regards,
    Mridula

    Hi Mridula..
    There may not be an Option to write code:
    But these are the steps to implement Conversion rules in ALE.
    To Create Conversion Routines in ALE:
    Goto Tcode SALE:
    Menu Path
    MODELLING AND IMPLEMENTING BUSINESS PROCESSES -> CONVERTING DATA BETWEEN SENDER AND RECEIVER ->
    1. Create Rule : Here you create a New Conversion Rule and Enter the Segment Name for which the conversion has to apply.
    2. Maintain Rule (Tcode BD79) - here you specify the Sender field Value or Constant etc.
    3. Assign the Rule to Message type
    Now it will work for this Message type
    <b>Reward if Helpful.</b>

  • Changes is special conversion routine not taking effect

    I changed a special conversion routine specified in a conversion rule(BD79) with a rule type copy sender field.
    I made the required changes to the function module CONVERSION_EXIT_&_OUTPUT and activated it but still the outbound Idoc suggests that the changes are not taking effect.
    Can someone suggest what may be the reason for this?

    The issue got resolved

  • USE OF CONVERSION ROUTINES WHILE CREATING DOMAIN

    Hi,
    Could anyone tell me the use of conversion routines under output characteristics tab while creating a domain ??
    Thanks & Regards,
    Mounica J

    Coversion Routines are used to convert field values into internal or external format.
    Once you specify the Conversion routines at domain level,it ensures that data conversion into external and internal format is handled automatically .
    Please close the post if the question is answered.
    Thanks,
    Faiz

  • Create user defined CONVERSION ROUTINE

    Hi,
    Is it possible to create our own CONVERSION ROUTINE ?
    If yes, HOW?
    Please give me steps or documentation...

    Hi,
    hope the given link helps ...
    Link:[https://forums.sdn.sap.com/click.jspa?searchID=24920401&messageID=7177743]
    Link:[https://forums.sdn.sap.com/click.jspa?searchID=24920603&messageID=7177439]
    thanks
    Ravi

  • Create Conversion Routine

    Hello,
    I would like to ask for the steps to create a new conversion routine, including the transaction codes and steps involved.
    Point will be rewarded for helpful answers
    Thanks.

    Hi
    U need to create two functions for input/output convertions, the fm has to have a name like these:
    - CONVERSION_EXIT_xxxxx_INPUT
    - CONVERSION_EXIT_xxxxx_OUTPUT
    xxxxx is the name of conversion routine
    So use trx SE80 to create a function group and SE37 (or SE80) to create the functions.
    U can see the fms CONVERSION_EXIT_ALPHA_INPUT
    CONVERSION_EXIT_ALPHA_OUTPUT to understand how to create the interface.
    Max

  • PRODU Conversion Routines in APO ABAP

    Hi Folks,
      I am new to APO..
    I wanted to change PRODU conversion routines for Product , Could you please let me know is there any user-exits or Badis avaialble..
    I wanted to change both Input, output routines..
    my req is :
    Material number is .1234
    when ever we create any material starting with (.) it should change to(0) 01234..
    and internal format also should be only 01234 not all  other leading zeros( as 40 is length).. and display format is as 01234
    Thanks,
    Smriti..

    Hi Smriti,
    Can you use the Replace command for the above issue.
    Command
    REPLACE ALL OCCURRENCES OF '.' IN matnr WITH `0`.
    Regards
    Rajkumar Narasimman

  • How to use conversion routine?

    hi,
    in my z-table i have a field called matnr for the material number say.
    its domain defines it as 18 char.
    say i have created an entry say 200.
    so it will be saved may be as 000000000000000200.
    i want it should be displayed with as 200.
    and if i search for say 200.
    so it should not look for the proceeding zero's.
    it should not give me an error that record doesn't exists.
    please tell me how to use exaclty conversion routine.
    thanks
    ekta

    hi all,
    the problem has been solved.
    CONVERSION_EXIT_MATN1_OUTPUT   this FM module can only be used where the z-table has matnr of the type MATNR the standard matnr of the table mara.
    so in my program it was not working.
    my data element was not matnr.
    i had used a popup for position finder.
    so it could not read the material number which had zeros as prefixes.
    thanks for all the help
    thanks
    ekta
    below the code is mentioned...................
    *******************************C O D E*******************************************
        WHEN '&POS'.
          popup_title       = 'Choose The Material Number'.
          CLEAR it_fields.
          it_fields-tabname    = 'Z10ET_TAB_MAT01'.
          it_fields-fieldname  = 'MATNR'.
          it_fields-field_attr = ' '.
          it_fields-field_obl  = 'X'.
          APPEND it_fields.
          CALL FUNCTION 'POPUP_GET_VALUES'
            EXPORTING
              no_value_check  = 'X'
              popup_title     = popup_title
              start_column    = '5'
              start_row       = '5'
            IMPORTING
              returncode      = returncode
            TABLES
              fields          = it_fields
            EXCEPTIONS
              error_in_fields = 1
              OTHERS          = 2.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          IF returncode = ' '.
            MESSAGE i036 WITH it_fields-value.
            SORT it_material_data BY matnr.
            READ TABLE it_material_data INTO wa_material_data
                            WITH KEY matnr = it_fields-value.
            IF sy-subrc = 0.
              tab_ctrl1-top_line = sy-tabix.
              REFRESH it_fields.
              CLEAR returncode.
              CLEAR ok_code_0101.
            ELSE.
              CONCATENATE concat it_fields-value INTO v_matnr.
              READ TABLE it_material_data INTO wa_material_data
                              WITH KEY matnr = v_matnr.
              IF sy-subrc = 0.
                tab_ctrl1-top_line = sy-tabix.
                REFRESH it_fields.
                CLEAR returncode.
                CLEAR ok_code_0101.
              ELSE.
                MESSAGE i037 WITH it_fields-value.
                REFRESH it_fields.
                CLEAR returncode.
                CLEAR ok_code_0101.
              ENDIF.
            ENDIF.
          ENDIF.

  • Conversion routines do not run for ALV after upgrade

    Hi,
       We just upgraded from 4.6 to 6.0 and the custom created ALV reports which had fields like MATNR , VBELN , AUFNR now show leading Zeros. It seems the conversion routines are run before the list is displayed.
      If we add the REF_FIELD and the table in the Field Catalog, it seems to work, but that would a big change as we would have to manually change all the reports. Any suggestions.
    Regards,
    SG

    Thanks - our ticket should be getting closed out on it (our dba will be updating it), the scheduler has been running reliably since we took the steps in the doc mentioned.

  • What is conversion routine which is found in data element

    Hi all,
    I was just trying to creating a data element assigned to a particular domain in se11. While i am creating i can see a conversion routine
    Can anyone tell me what is the use of that conversion routine with an example.
    thanxs in advance
    hari

    Hi,
    Depending on the data type of the field, there is a conversion when the contents of a screen field are converted from display format to SAP-internal format and vice versa. If this standard conversion is not suitable, it can be overridden by defining a conversion routine in the underlying domain.
    Conversion routines are identified by a five-place name and are stored as a group of two function modules. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:
    CONVERSION_EXIT_xxxxx_INPUT
    CONVERSION_EXIT_xxxxx_OUTPUT
    The INPUT module converts from display format to internal format, and the OUTPUT module converts from internal format to display format.
    When is a Conversion Routine Executed?
    If a screen field refers to a domain with a conversion routine, this conversion routine is executed automatically when entries are saved in this screen field or when values are displayed in this screen field. The conversion routine of the domain is also triggered when the field contents are output with the WRITE statement.
    Table SPFLI in the  flight model contains information about the flights offered by the carriers. The time for each flight is recorded in field FLTIME. Enter and display the time of the flight in input templates in the form HHH:MM (hours:minutes). Store the flight time entered in the database as an integer number (number of minutes of the flight). An entry 3:27 is therefore stored in the database as 207 (3 hours, 27 minutes = 207 minutes).
    Field FLTIME refers to domain S_DURA, to which conversion routine SDURA is assigned. The value is thus converted by the two function modules <b>CONVERSION_EXIT_SDURA_INPUT</b> and <b>CONVERSION_EXIT_SDURA_OUTPUT</b>.
    A conversion routine can also be triggered by specifying its five-place name in the attributes of a field in the Screen Painter or with the addition <b>USING EDIT MASK <Name of conversion routine></b> in the WRITE command in the program. With the USING NO EDIT MASK addition in the WRITE statement, you can skip a conversion routine defined for a domain when outputting.
    Parameters
    The two function modules of a conversion routine must have precisely two parameters with the names INPUT and OUTPUT for the value to be converted and the converted value.
    The INPUT parameter in the INPUT conversion and the OUTPUT parameter in the OUTPUT conversion should not have any reference fields because the value passed in the call could have a different length than that expected.
    Programming Conversion Routines
    ABAP statements that result in an interruption of processing (such as CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, COMMIT WORK, ROLLBACK WORK, MESSAGE I, MESSAGE W) are not allowed in conversion routines.
    Only A messages are meaningful in output conversion, but A, E and S messages can be triggered in input conversion (although S messages are not very meaningful here). E messages result in an error dialog. Exceptions are not intercepted in the call.
    The output conversion is also triggered with WRITE and WRITE TO. The conversion routine may therefore occur very frequently with lists. The output conversion should therefore be programmed as efficiently as possible.
    No external performs should be used in conversion routines. Programs that are called externally use the table work areas of the first calling main program. In conversion routines this can result in errors that cannot be easily analyzed since they are sometimes called at unpredictable times in the program flow.
    <b>Pls refer link which contains code as an example to conversion routine used in abap</b>.
    <a href="http://www.bwexpertonline.com/downloads/source_code.doc">http://www.bwexpertonline.com/downloads/source_code.doc</a>
    Pls reward points.
    Regards,
    Ameet

  • ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120

    Hi,
    I got below mentioned error message, while i run the procedure in sql developer
    ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120

    What version of the database are you on? 9.2.0.8 for a guess?
    >
    ORA-03120 is associated with bug 5671074 on Oracle Enterprise Edition; Version 9.2.0.8, occurring on any platform:
    After applying the 9.2.0.8 patchset, compilation of functions and/or materialized view refreshes that reference remote databases via database links start failing with:
    ORA-04052: error occurred when looking up remote object OMS.PREMISE@JEAUSER_OMPR_L.WORLD
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03120: two-task conversion routine: integer overflow
    ORA-02063: preceding line from JEAUSER_OMPR_L
    Bug 5671074 "ORA-4052/ORA-3106 on Create / Refresh of Materialized View", can cause this problem. Contrary to the bug abstract and description, this bug does not just apply to materialized view creation and refresh. It can occur for any PL/SQL that references a remote object via database link where the 'Endianness' of the two platforms differs. If one platform is 'Big-Endian', and another platform is 'Little-Endian', then this bug can be triggered between them. A list of the endianness of different platforms can be obtained from the following query (note that the v$transportable_platform view is only available in 10.1 and above):
    To resolve ORA-03120, this solution is given:
    To implement the solution, it will be necessary to apply the one-off patch for Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC. Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC.
    >
    If not, post more information: {message:id=9360002}

  • Conversion Routines

    How to use Conversion Routines in Production Support?What is Conversion Routine?How it is Working in real time?

    hi..
    i'm not too sure abt it.. check out if the below helps ya.
    you can create customer routines. According to OSS Note 41474 it is safe to create a function module that has the conversion exit naming standard (Begins with CONVERSION_EXIT*). You will get a warning that you can ignore. The important part is to have the first letter of your rountine name begin with Z or Y. That way you won't have a conflict with SAP. An example would be:
    CONVERSION_EXIT_Z0001_INPUT .
    i browsed n found these details as none had answered ur question.

  • How to reset Conversion Routine NUMCV in InfoObject

    Dear all,
    In order to test, I deleted the Conversion Routine NUMCV in tab General of an InfoObject. And now I'd like to reset it as NUMCV. A message says: Conversion Routine NUMCV was deleted.
    How can I resolve it?
    Thanks a lot in advance

    Thanks for your answer.
    I've tried to create a new InfoObject, but everytime when I choose "Data type" as NUMC and then choose "Convers. Rout" as "NUMCV", it's said : Conversion Routine NUMCV was deleted.
    Do you have any idea?

  • Infoobject Conversion Routine Alpha

    Hi All,
    At the time of creating infoobjects under General Tab we have option Conversion Routine : Alpha (by default), can anybody put light on that what is that exactly.
    Thanks and Regards
    Asim.

    Hi,
    See the following program, and the same logic you can apply in Transfer Rules/Transformations. Take ABAPer help.
    REPORT  ZALPHA_INPUT.
    DATA: ZI(18) TYPE C,
          ZO(12) TYPE C.
    DATA: ZS(12) TYPE C,
          ZR(18) TYPE C.
          ZI = '000000099999889925'.
          ZS = '099999889925'.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT         = ZI
       IMPORTING
         OUTPUT        = ZO.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
        EXPORTING
          INPUT         = ZS
       IMPORTING
         OUTPUT        =  ZR  .
    Write:/   ZI.
    Write:/   ZO.
    Write:/   ZS.
    Write:/   ZR.
    Thanks
    Reddy

  • Conversion routines on SAP 4.0B

    Hi All!
    I have a piece of software running on SAP 4.5 and I have to port it to SAP 4.0B (The horror !!!). I managed to solve all the problems but one. In version 4.5, author created many domains with conversion exits and some of these conversion exits are missing (especially - timestamp conversions) on 4.0B (e.g. TSTPS). This may sound like noob question but is there any way to add missing conversion exits to 4.0B or write new, custom ones? I haven't done it before and I don't even know how to start.
    I will appreciate all the help you can give me.
    Thanks in advance
    Tomasz

    Hello Tomasz,
    Poor guy! Working with 4.0B on April 1st is an appropriate day for sure. A year ago I was working on 4.0B -fortunately for a very short time. This was not so much a problem because I am working with SAP since the lowest version. Nevertheless it was a pain! First: I don't know a 100% solution and I am not able to login into this guy anyway.
    To solve your task you have to create your own conversion. TSTPS is linked to a simple ABAP program. Under 4.0B you have to create this program. As far as I remember those conversions are screen/ta related. Go to the field where the conversion has to accour, click F1 and then go to technical settings. There should appear a box which is responsible for the conversion routine. From there try to proceed.
    Sorry, I can not provide you with more (because I don't know).
    May be it helps when you login to SAP Help Portal (on the web).
    I wish you the best,
    Heinz

Maybe you are looking for

  • Blank screen after plugging in HDMI

    Hi, I connected my laptop to my TV with a HDMI cable (which I've used many times before) but nothing came up on the TV, so I clicked on the display settings using F4 and chose the duplicate option. At this point my laptop screen went completely blank

  • In Billing doc Base price should not change where as in SO system allow

    Hi I have one requirenment the Base price (ZPR0) should pick automatically from condition records and system should allow to change ZPR0 in Sales Order item level , where as it should be Grey mode in billing document item level. 1. In the condition t

  • PDF is the wrong size from framemaker 8

    I am trying to create a PDF from Framemaker 8. The page size of the doc is US letter (216mm x 279mm) I am tring to change this to A4 (210mm x 297mm). Margins or extra white space is not an issue. Not matter what setting I change in Framemaker 8, eith

  • How to copy youtube movie

    Is it possible to make a copy of a youtube movie on a DVD? My wife is doing a presentation and would like to end with this movie from youtube either embeded in the powerpoint slide or on a separate DVD. Is this possible? imac G5 1.8   Mac OS X (10.4.

  • Archiving Mac Mail emails per year

    hello is there an easy way ( read: automatic, by script ;-) to archive my Mac Mail emails per year ? thx in advance Henny