What does CUNIT, ABPSP & ABPSN conversion routines do?

What does CUNIT, ABPSP & ABPSN conversion routines do?
There is no help on SAP documentation on how these  conversion routines work?Can someone  tell me in simple english on how to they the padding logic.
Something like if <b>all numeric</b> then <b>pad  spaces on the left side</b> etc
thanks
Rao

Hi Rao,
I can help you with CUNIT. SAP manages units of measure in an internal and external format. That its, when it is saved in database, it uses a code (for example for units it uses ST), and when it shows you the value, it uses another one (in this case UN). So, what basically does CUNIT conversion routines (A.H.P mentioned the function modules) is to switch between those formats.
Hope to help!
Regards,
Diego

Similar Messages

  • What is meant by matn1 conversion routine in info object

    hi,
    Can i know the exact meaning and usage of matn1 (type of conversion routine) in the infoobject level.
    thanks in advance

    Hi Sankar,
    Conversion takes place when converting the contents of a screen field from display format to SAP-internal format and vice versa and when outputting with the ABAP statement WRITE, depending on the data type of the field.
    Check the info here:
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/e9a20d3347b340946c32331c96a64e/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/07/6de91f463a9b47b1fedb5be18699e7/content.htm
    Hope this helps...

  • What are the commonly used conversion routines apart from alpha conversion?

    hi all,
    Can any one let me know the commonly used conversion routines apart from alpha conversion routines ?
    thanxs ina dvance
    hari

    Hari
    There are lot of conversion routines, like
    BUCAT Conversion Routine. eg. The BUCAT conversion routine converts the internal presentation of the budget type
    (0BUD_CAT) into the external presentation (0BUD_CAT_EX), using the active entries in the
    master data table for the budget type InfoObject (0BUD_CAT).
    see the link below for all the routines.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9119290-0201-0010-69af-96fe3bf00243
    assign points if helpful
    Kalyan

  • How to remove conversion routine "ABPSN"

    Dear gurus,
      In my transfer rules, under the tab "DataSource/Trans. Structure", I have a field PSPID whose "Conversion Routine" has the value "ABPSN". This conversion routine converts the external format to the SAP format which, however, is not what I want. I want to remain the original format so I need to remove this "ABPSN" conversion routine. When I double clicked it, it linked to the InfoObject 0PROJECT maintanace screen. On that screen, I removed the conversion routine "PROJ" for 0PROJECT, but still ABPSN remains and the data loaded into the InfoCube have been converted.
       So how can I remove this ABPSN convertion routine?
      Thanks in advance.
      Jin Ming

    Hi Jin Ming,
    Conversion Exit ABSPN is related to WBS element and not project at R/3 side.
    But at BW side this routine internally calls Project routine .
    The Process is,
    1. Delete all transactional data , from related ODS & Cube wherever 0PRoject is used .
    2. Delete master data from 0Project.
    3. Change object 0Project remove the conversion using Tcode RSD1.
    4. Load master data for 0Project.
    5. Load transaction data.
    Hope that helps.
    Regards
    Mr Kapadia

  • Please explain what are form groups and form routines

    Hello ABAP Experts,
    Could you please explain what are form groups and form routines? I would certainly appreciate some examples.
    Thank you in advance, Aleksandra

    Hi,
    I've found the Form Group in transaction J7LE. It is part of Industry Specific solution for hi tech companies, so I'm not sure if you'll be able to access it. In this tcode you define master data of your partner. The first step is to choose the Form Group - they simply group Form Routines. Depending on which one I choose, different entry fields get activated. However there are routines that will enable input to the same fields, so I suppose there must be some additional functionality behind it. Could you please specify what does it mean?
    >>Form ROUTINES, are subroutines for modularizing your code<<
    I'm afraid I have no ABAP experience at all...
    Cheers, A.

  • 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

  • When attempting launch of photoshopcc,I get a box with "could not load the MMX core routines module because it does not work with this version of PS... what does this mean and how do I correct it?

    when attempting launch of photoshopcc,I get a box with "could not load the MMX core routines module because it does not work with this version of PS... what does this mean and how do I correct it?

    I did a search on my system and found the Photoshop has a fastcore plug-in.  Creative Cloud includes a subscription version of CS6 version 13.1.2.   I do not know if you installed that or not.  The cc un-install may have done something.  You may need to use Adobe Cleaner then Install The Perpetual CS6 version of Photoshop  CS6 version 13.0.6 Mac or Photoshop  CS6 version 13.0.1.3 PC and not the subscription CS6 extended version 13.1.2.  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6   If you need to download the CS6 installer Download CS6 products.
    You may also be able to recover your cs6 using an old system backup
    fastcore.8bx on my system...

  • What does an icon of a pr of binoculars mean inside a conversation bubble for dialogue in a text message?

    I got an answer that was a conversation bubble with a pair of binoculars in it.  What does it mean??

    Thanks, Paul, for the prompt reply.Obviously, your answer isn't what I wanted to hear, but feared. When I get home tonight I'll try finding the install disk and booting from that. Fortunately, I still have a MacBook Pro that is running fine.  Incidentally, I have a Western Digital external Hard Drive that has very little, if anything on it. But since I can't open anything on the iMac, I guess I'll have to see if the install disk works before I try to figure out IF I can use that WD-External drive temporarily rather than replace the HD on the iMac. Any clues on what a replacement drive and labor runs for that sort of iMac repair?
    j

  • Hallo Apple, what does it mean this Message0x7fff7500b300 resumeBackgroundConversion: background conversion started/resumed for lv 82832E6C-B6AC-46A6-8836-715414EBE8F4. Because I have a Problem with my CPU: Kernel_task and corestoraged

    Hallo Apple,
    what does it mean this Message0x7fff7500b300 resumeBackgroundConversion: background conversion started/resumed for lv 82832E6C-B6AC-46A6-8836-715414EBE8F4.
    Because I have a Problem with my CPU: Kernel_task and corestoraged.

    I'm having this same issue. I also have this line in my log, which is curious:
    12/14/14 7:13:07.822 PM netbiosd[16766]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.smbd
    Is this related to the problem? What does it mean?
    My 2010 27" iMac running Yosemite won't wake up from sleep.

  • What does 3 conversations on iphone mean? and "Wombat Service"? mean?

    I downloaded facebook to my iphone and lost all my data.  It then slowly came back except I lost all my phone/contacts.  Then my phone got disconnected.  My provider Optus re-connected my phone and don't know who or why it was disconnected.  I still have lost my contacts.  Now when I use another phone I get the msg that there are 3 on the conversation and also with my mobile number not displayed I get the number showing "Wombat Service"  what does this mean?  Is my phone being used by another person? and have they taken my contacts?  Not sure what is happening but my phone is playing tricks on me.  Sometimes it works, sometimes it does not send or receive msgs?  Could you please explain.  Thank you. Annie

    I'm sorry, but you're not making a whole lot of sense.
    What do you mean by:
    AnnieAp wrote:
    Now when I use another phone I get the msg that there are 3 on the conversation
    and:
    with my mobile number not displayed I get the number showing "Wombat Service"

  • "Choose Conversion Destination" what does this mean?

    On a couple of CD's I've bought recently, I get the message "Choose Conversion Destination" when trying to import them. What does this mean? A web search reveals nothing.

    Some newer CDs have a form of copy protection included that 'hides' the CD audio from a computer, included on the CD are Windows media files. These need to be converted to something iTunes/iPod can handle. This may or may not be what you are getting.

  • What is use of  Conversion Routine in  Abap dictionary

    Hi,
    Can any body please tell me the proper use of <b>Conversion Routine in  Abap dictionary.</b>
    Please give me a practical example where it has been used.
    Thanks
    prabhudutta

    hi,
    here is help for conversion routine
    Conversion takes place when converting the contents of a screen field from display format to SAP-internal format and vice versa and when outputting with the ABAP statement WRITE, depending on the data type of the field.
    If standard conversion is not suitable, it can be overridden by specifying a conversion routine in the underlying domain.
    A conversion routine is identified by its five-place name and is 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 performs the conversion from display format to internal format. The OUTPUT module performs the conversion from internal format to display format.
    If a screen field refers to a domain with a conversion routine, this conversion routine is executed automatically each time an entry is made in this screen field or when values are displayed with this screen field.
    regards,
    Raghavendra

  • 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

  • Infopackage Conversion Routine option is checked

    Hi everyone,
    I'm trying to understand the dynamic of the Dataload process in my new client and there is a infopachage where in "Data Selection" tab i have a "Use Conversion Routine" option checked and i don't know where this exact routine is actually is, i mean i want to see the code and what this routine does??
    Any ideas?

    Hi,
    In the infopackage selection screen you can enter your selections either directly or through the use of routines.
    "Use conversion routine " is selected to enable these routines.
    To write the routines click on the "Type(Variable change...)" column,and in its selection screen u hav two options
    ABAP Routine
    OLAP Variables
    Selcet ABAP Routine.
    Give a description and click on editor,
    it will take u to the routine scree.
    Now u can do the required cahnges.
    Once it is saved the routine is available in the TYPE column in the selection screen

  • What are the right content conversion parameter in this receiver ?

    Hi experts,
    Can someone help me with setting right Content conversion parameter in the Receiver of File adpater(FCC).The output file must be fixed length text file.
    Here is the receiver structure:
    <Recordset>
        <Header>
           <f1>01</f1>
           <f2> </f2>
           <f3> </f3>
        </Header>
         <Body>
            <SubBody1>
                  <field1 />
                  <field2 />
                  <field3 />
                  <field4 />
                  <field5 />
            </SubBody1>
             <SubBody2>
                  <field6 />
                  <field7 />
                  <field8 />
                  <field9 />
                  <field10/>
            </SubBody2>
         </Body>
        <Trailer>
            <f1>03</f1>
            <f2> </f2>
            <f3> </f3>
       </Trailer>
    </Recordset>
    Also Body can occure multiple times in the file but still will have this structure...Header and Trailer can occure only once in file.
    What are the right content conversion perameters in this case?
    Appreciate your help asap!T
    Thanks
    Jon

    <Recordset>
        <Header>
           <f1>01</f1>
           <f2> </f2>
           <f3> </f3>
        </Header>
         <Body>
             <SubBody>
                  <field1 />
                  <field2 />
              </SubBody>
              <SubBody>
                  <field1 />
                  <field2 />
              </SubBody>
              <SubBody>
                  <field1 />
                  <field2 />
              </SubBody>
            </Body>
        <Trailer>
            <f1>03</f1>
            <f2> </f2>
            <f3> </f3>
       </Trailer>
    </Recordset>
    if this is the input structure then FCC goes like this ....
    Recordset:Header,Body,SubBody,Trailer
    Header.fieldFixedLengths – 10,20,30.. (based on you are structure fixed lengths)
    Header.endSeparator - 'nl'
    SubBody.fieldFixedLengths – 10,20,20  (based on you are structure fixed lengths)
    Body.endSeparator - 'nl'
    Trailer.fieldFixedLengths – 10,20,30….(based on you are structure fixed lengths)
    Trailer.endSeparator - 'nl'
    We might have to try out SubBody.endSeparator - 'nl' if Body.endSeparator - 'nl' does not insert a new line after each body record.
    Cheer's

Maybe you are looking for

  • What is the best external hard drive for an older Mac (2007)

    Need to purchase an external drive and wondering if the G-Tech 1TB G-DRIVE mobile USB 3.0 Hard Drive (5400 rpm) - Special Edition   one will work on a 2007 desktop Mac with USB 2 and fully updated to Maverick Version 10.9.2.

  • HELPP!

    okay the lcd screen keeps blinking on and off what should i do? what happened to it? i just unplugged it from the usb but yea i forgot to eject first.. and now its just dead HELPP

  • IPad 1 screen fuzzy

    Hi. My first-generation iPad (16GB, Wi-Fi) has recently developed a problem with the screen. The top 3 or 4 centimeters of the screen displays as a series of 1 pixel-wide lines that jump up and down, back and forth. At first, the problem would go awa

  • Is it possible to return a data grid in sql developer from package?

    Hi, I am in need of some help in returning a datagrid rather than just a list from a package. This is my package: CREATE OR REPLACE PACKAGE BODY C_1 as PROCEDURE COUNTING1 (C_YEARFROM IN NUMBER, C_TABLE_NAME IN VARCHAR2) is yearCount NUMBER; c_sql lo

  • Can I recover my tabs and tab groups if "Restore previous session" fails? Is there a back-up option that I can retrieve them from?

    So I would like to be able to hit a "save now" button and have my current session be saved within my mozilla account. Is this possible? In the past I have closed Mozilla with restore previous session active, but it has not saved my session. I would l