Conversion Routine problem

Hi,
In one of the info object there is a conversion routine. So, when the query is executed in BeX Query Analyzer the result is comming correct i.e. if in the database the value of info object is 0001234 then at display it is coming as 1234.
However, in case if its value is "STEP" in database , at output "Not Assigned" is comming. Dont know what is happening. If anybody already encouter this problem please help.

Hi,
It is not in the hierarchy.
I am using alpha routine so as to remove the leading zeros at the time of display.
There are two info objects, both are same, the only difference between them is one info object is having alpha routine and another one is without it.
The one info object without any routine is displaying values correctly but the another one with aplha routine is displaying 00123 as 123 but also displaying STEP as Not Assigned.
Edited by: megamin79 on Feb 9, 2012 7:43 PM

Similar Messages

  • Problem in conversion routine in CGPL_PROJECT and CPGL TEXT Tables

    Hi experts...
         I have a requirement in Project planning module for audit monitor report...
    Based on the External ID (is nothing but a CAPA Number)in CGPL_PROJECT i need to display description(CAPA Description) from CPGL_TEXT Table..
    But there is a One conversion routine in CPGL_TEXT Table i.e   CONVERSION_EXIT_CGPLP_INPUT
    here input is COR-08-0000000291( CAPA number) and i am getting output as 48D9ED5BE8430069E10080000A8C681D.
    In CPGL_TEXT table fields are GUID , TEXT_GUID,TEXT1.....
    If i give the guid as COR-08-0000000291 out put is
            GUID                                                         TEXT_GUID                                                   TEXT
    48D9ED5BE8430069E1008000          48D9ED81E8430069E10080000A8C681D     CAPA - Review of Requests
    1) IF we compare GUID value here and conversion out put last 8 digits are missing.....(coz  in domain of that field len  gth and conversion lenght are difff)
    2) IF we compare TEXT_GUID and conversion out put  both values are entirely diff .....
      In select query how can i get text Value......
    Can any body please solve me out........
    Regards,
    Praveena.

    solved

  • WBS element conversion routines

    Hey guys,
    I recently added PS_PSP_PNR to 2LIS_11_VAHDR in order to extract the WBS element from the sales document header. So far so good and everything works fine. In the extractor checker I get the data as expected e.g. 'S-00017.02.09'.
    The problem occurs as soon as the data is transferred to BW. In the transfer structure I see that PS_PSP_PNR har conversion routine ABPSP that converts the WBS from external format CHAR(24) to internal NUMC(8). And this is what is causing me the trouble! In the PSA the WBS from above is converted to '00029788'.
    I tried several different approaches. If the field is mapped directly to 0WBS_ELEMT the value '00029788' is obviously also written to the DSO and further up the data flow.
    I tried coding an ABAP routine in the transfer rules which does not seem to work:
    call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
    exporting
    input = TRAN_STRUCTURE-ps_psp_pnr
    importing
    output = RESULT.
    RETURNCODE = 0.
    ABORT = 0.
    Since the routine above did not help me at all I tested the FM in SE37 and it does not return any values for '00029788'.
    Any clues on this? How to proceed?
    BR
    Stefan.

    Well... Didn't want to wait any further for an answer, so I appended PS_POSID to the extract structure and filled this field in ZXRSAU01. In the exit I used 'CONVERSION_EXIT_ABPSP_OUTPUT' to convert to the correct format.
    BR
    Stefan

  • Conversion Routine... plz help

    Dear Gurus,
    There is a text field in R3 called as SGTXT related to some finance table... some of the records in this field directly start with '#' character and then the details.. Well here is the problem.. I m loading to ODS 0FIAR_O04 and it ends up in error due to the above mentioned problem.. the infoobject which carry the data from SGTXT field is 0POSTXT...
    I decided to go for a conversion routive in transfer rule for this field.. but i dont know how to write routines.. can you plz help me with the steps as well as the code to remove '#' from SGTXT.... Thanks.
    For more help i m attaching the conversion routine with is automatically generated by system... only i hv to add code to remove '#' character... kindly go thru it and suggest me where to add and what to add...
    here it is
    PROGRAM CONVERSION_ROUTINE.
    Type pools used by conversion program
    TYPE-POOLS: RS, RSARC, RSARR, SBIWA, RSSM.
    Declaration of transfer structure (selected fields only)
    TYPES: BEGIN OF TRANSFER_STRUCTURE ,
    InfoObject 0POSTXT: CHAR - 000050
    SGTXT(000050) TYPE C,
    END OF TRANSFER_STRUCTURE .
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA: ...
    $$ end of global - insert your declaration only before this line -
    FORM COMPUTE_POSTXT
    Compute value of InfoObject 0POSTXT
    in communication structure /BIC/CS0FI_AR_4
    Technical properties:
    field name = POSTXT
    data element = /BI0/OIPOSTXT
    data type = CHAR
    length = 000060
    decimals = 000000
    ABAP type = C
    ABAP length = 000120
    reference field =
    Parameters:
    --> RECORD_NO Record number
    --> TRAN_STRUCTURE Transfer structure
    <-- RESULT Return value of InfoObject
    <-> G_T_ERRORLOG Error log
    <-- RETURNCODE Return code (to skip one record)
    <-- ABORT Abort code (to skip whole data package)
    FORM COMPUTE_POSTXT
    USING RECORD_NO LIKE SY-TABIX
    TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
    G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING RESULT TYPE /BI0/OIPOSTXT
    G_T_ERRORLOG TYPE rssm_t_errorlog_int
    RETURNCODE LIKE SY-SUBRC
    ABORT LIKE SY-SUBRC. "set ABORT 0 to cancel datapackage
    $$ begin of routine - insert your code only below this line -
    DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
    RESULT = .
    returncode 0 means skip this record
    RETURNCODE = 0.
    abort 0 means skip whole data package !!!
    ABORT = 0.
    $$ end of routine - insert your code only before this line -
    ENDFORM.
    FORM INVERT_POSTXT
    Inversion of selection criteria for InfoObject 0POSTXT
    This subroutine needs to be implemented only for SAP RemoteCubes
    (for better performance) and for the Report/Report Interface
    (drill through).
    --> I_RT_CHAVL_CS Ranges table for current InfoObject
    --> I_THX_SELECTION_CS Selection criteria for all other InfoObjects
    <-- C_T_SELECTION Selection criteria for fields of
    transfer structure
    <-- E_EXACT Flag: Inversion was exact
    FORM INVERT_POSTXT
    USING I_RT_CHAVL_CS TYPE RSARC_RT_CHAVL
    I_THX_SELECTION_CS TYPE RSARC_THX_SELCS
    CHANGING C_T_SELECTION TYPE SBIWA_T_SELECT
    E_EXACT TYPE RS_BOOL.
    $$ begin of inverse routine - insert your code only below this line-
    DATA:
    L_S_SELECTION LIKE LINE OF C_T_SELECTION.
    An empty selection means all values
    CLEAR C_T_SELECTION.
    L_S_SELECTION-FIELDNM = 'SGTXT'.
    Selection of all values may be not exact
    E_EXACT = RS_C_FALSE.
    $$ end of inverse routine - insert your code only before this line -
    ENDFORM.

    It has been solved.. thanks everyone for inputs.. points awarded to concerened.. thanks.

  • 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.

  • How to "Custom conversion routine" in BW

    Hi team,
    The R3 table level field has converion routine which stores the value as "A" .
    When you display this in application (or) using ALV, it shows as "AB". There are custom function modules behind this conversion routine.
    In BW, when we extract until PSA, we are getting "A".
    I see the option at Info object level to write" conversion routine" but how and where to start this conversion routine in BW.
    In BW, we want to show "AB"
    Thanks
    Angelo

    Hi,
    this problem is solved in transformation PSA to InfoObject using formula or routine.
    Regards,
    Conrado
    www.forosap.com
    Spanish SAP Forum Administrator
    Edited by: Conrado Linquet on Mar 29, 2010 5:54 PM

  • Substitute of alpha conversion routine

    Hi,
    Is there any routine as a substitute for the alpha conversion routine. I am getting problem in alpha conversion and the info object is filled by routine to infocube.
    I cannot overcome the problem by checking in the transfer rule.
    Please provide some input to resolve the problem.
    Thanks and regards,
    V.Satyanathan

    Write your code in start routine to convert it to upper case.
    Thanks
    Nilesh

  • 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}

  • How can solve this ORA-03120: two-task conversion routine: integer overflow

    Hello everybody,
    I'm writing this query "SELECT rowid from <mytable>" and I get this error: ORA-03120
    Does anybody know how can i solve it?
    Thanks in advice

    Here is the cause and action as suggested in the Oracle Error Guide...please see if it helps you to fix the error
    ORA-03120:two-task conversion routine:integer overflow
    Cause: An integer value in an internal Oracle structure overflowed when being sent or received over a heterogeneous connection. This can happen when an invalid buffer length or too great a row count is specified. It usually indicates a bug in user application.
    Action: Check parameters to Oracle calls. If the problem recurs, reduce all integer parameters, column values not included, to less than 32767
    Regards,
    Murali Mohan

  • 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

  • Conversion Routines - R3 and BW

    I need to create a custom InfoObject in BW to map to an R3 field in an InfoSource.  The R3 field has the ABPSP converions routine applied to it.  As a rule of thumb is it always best to apply the same conversion routine to the matching BW InfoObject?    Is there a time that I wouldn't want to match the conversion routine of the R3 field to the matching BW InfoObject?  Your help is appreciated.

    Hi David,
        Conversion routines in BW will aid in eliminating the technical differences of data format to be acceptable by the BW system.  You cannot directly map R/3 Conversion routine to BW Conversion routine as far as my knowledge goes.  Please map the infoobject in BW with the R/3 field directly and check if the converted data is directly coming into BW from the R/3 system as you said there is a conversion already existing in R/3.  If this doesnot solve your problem, then you can create your own conversion routines using SM37 t.code wherein you will create your conversion rule specifying CONVERSION_EXIT_XXXXX_INPUT and CONVERSION_EXIT_XXXXX_OUTPUT.  Where XXXXX is a 5 letter user-specified name of the Conversion.  INPUT code is written for converting sourcesystem data to be acceptable into BW tables.  OUTPUT is written to converting the BW data into acceptable reporting display.  You need to activate both the function modules created in order to use them during infoobject property settings.  While using them you can directly see the XXXXX (user-specific) conversion during infoobject conversion settings. 
            Hope this might be helpful to you.  Award points if useful.
    Thanks
    Kishore Kumar

  • Use Conversion Routine

    Hi,
    I use SAP netweaver2004s, when I create an infopackage the Use conversion routines is in grey and I can select it.
    Do you have any idea why?
    Thanks,
    Eric

    Hi,
    My problem is that I don't have the choice to check it or not, this option is in grey.
    Thanks,
    Eric

  • Two-task conversion routine: integer overflow

    Hi!
    We're using JBuilder to connect an Oracle database remotely.
    Everything's fine when I do a stmt.executeQuery() with a single
    SQL command (like select field1 from table1). But when I use a
    SQL command using two or more fields (like Select field1, field2
    from table1) I receive the message "ORA-03120: two-task
    conversion routine: integer overflow".
    Can anyone help us with it ? We're needing this information
    fast for our graduation work of the college.
    Thanks!
    null

    I am using 8.1.6 database and 6.0.8.11.3 forms.
    I found that if I change the query stored procedure from passing the result set in a cursor variable, to a table variable the problem seems to go away. We are still testing though...
    When openning a cursor variable in a "open cursor_x for <select statement>" statement do you need to explicitly close the cursor?
    Thanks,
    Darryl

  • Conversion routine PROJ in case master data doesn't exist

    Hi gurus!
    I have a problem with info-object 0PROJECT. It has a conversion routine PROJ, which converts the values nicely from external format to internal only if the master data for such project exists. If I use a interval variable in bex query the query user needs to give the upper value in internal value (for example Y3000 instead of Y-3000) in case he or she doesn't know if the value exists in database or not. That is understandable because of the logic of conversion routine PROJ (uses attribute project_ex).
    But what explains the fact that query variable input value Y3000 doesn't give data of Y-3000, but only one smaller (Y-2999). To get data of project Y-3000 one has to give upper variable value Y3001.
    Has anyone better understanding of this query/conversion behaviour?
    Sari

    Check the example here
    http://help.sap.com/saphelp_nw04s/helpdata/en/dd/f470375fbf307ee10000009b38f8cf/frameset.htm
    In master data updates, you can either load time-dependent and time-constant data individually, or together.
    Hope it Helps
    Chetan
    @CP..

  • Variable over time caracteristic with conversion routine Peri6

    Hello,
    we've created a interval variable over a time characteristic which uses peri6 as a conversion routine (the infoobject used is 0UCMOVEOUTM). We're trying to manually fill the upper interval of the variable with the 12.9999 value, but it throws an format error  (Please enter value in permitted format for variable / BRAIN 627). The value 12.9999 exists in the sid table of the charracteristic...Any other variable value works.
    Do you have any clues why it's not working?
    Thanks,
    Tudor

    A bit difficult to track, isn't it? ^_^
    I searched the web, and found this article by Burleson
    http://www.dba-oracle.com/t_ora_03120_two_task_conversion_routine_integer_overflow.htm
    Only a suggestion: maybe the problem is (still) the endianness, but I can not figure out in witch component.
    It can be in Spring or Hibernate or a number that is not "parsed" correctly.
    On another forum, the problem was resolved by upgrading the client software to deal with UTF-8 (not your case I think.)
    Bye,
    Antonio

Maybe you are looking for

  • My iPhoto application rebuilds each time I open it. How do I avoid?

    Each time I open iPhoto warning appears...need to upgrade library...then inconsistencies appear need to rebuild etc. etc.  But nothing changes permanently.  Why not?  How to fix?

  • Is it a bug in OWB v9.2 or what?? how to solve this

    hi, i try to run a map with a loading type (update/insert),but i have this warning when deploying the map,although i ran this map before successfully before.. deploying the same map a gain having this warning... "ORA-06550: line 139, column 7: PLS-00

  • How to generate sql script of database user

    hello, I would like to generate the SQL script definition of a database user using JDveloper IDE (from ide connection). Best Regards.

  • Pacman doesn't work. It times out

    Hi: I install arch linux on virtualBox, then I tried pacman -Sy, but it timed out at the end. I try to remove most of the URLs in mirrors, but it doesn't work. Is there any idea?

  • Paid app that does what Handbrake does?

    I have home movies on DVDs. I want to import the movies on the DVDs onto my hard drive so I can play with them in imovie. I have always used Handbrake to do this, but latest version is not recognzing my DVDs. (Earlier version did. Not sure why.) Is t