Remote enabled conversion routine

Hi,
Is ther any remote enabled conversion routine to use in EP.
For sales order creation we are passing customer number from portal screen,
but BAPI displays an error message saying that customer is not valid as it has no leading zero's.
so befor passing to BAPI we need to conver it , And i cant write a Zfm where BAPI is running as we have no authorizations...
How to handle this situation??

questzxn ansqyvd

Similar Messages

  • Standard Remote-Enabled Function Module to display data.

    Good afternoon,
    Is there any Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data?
    First time, I was trying to use FM link to BW Extractor as MDEX_MATERIAL_MD for Material Attributes, but these kind of FM are not Remote-Enabled and not released.
    My second solution is to find a Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data, but I haven't it yet.
    May someone help me in this?
    Thanks in advance for your answers.
    Best regards,
    Paul d'ORIGNY

    Hi,
    Suppose you want to read data from the vbrk table in ECC through a function module, then you can define the function module as "remote-enabled"(attribute tab in se37-processing type). You can try the following code out:
    FUNCTION Z_EM_INVOICE.
    *""Local Interface:*
    *"  IMPORTING
    *"     VALUE(I_FKDAT) TYPE  FKDAT OPTIONAL
    *"  TABLES
    *"      E_VBRK STRUCTURE  VBRK
    *select * from vbrk into table*
    e_vbrk where fkdat = i_fkdat.
    ENDFUNCTION.
    From BI you can call the function odule as follows:Supposing that you are calling the function module in the start routine of a dso:
    data : v_dest_system TYPE char255.
    data: l_vbrk type table of vbrk.
    v_dest_system = 'DRDCLNT010'
    CALL FUNCTION 'Z_EM_INVOICE''
    destination v_dest_system
    EXPORTING
    i_fkdat = <passing variable>
    e_vbrk = l_vbrk.
    Regards,
    Anjana.

  • 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

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

  • Impact of enabling Conversion in transfer rule

    Hi Experts,
    From last two days I am facing an issue while loading the data in a object which has conversion exit as ALPHA.
    When any numeric value is coming it ig giving an error message, i searched SDN and found out that in tranfer rule if
    I enable conversion(check box) this will get resolved.
    Now I am not sure of the impact of enabling this conversion, this is an attribute of 0WBS_ELEMT.
    Please suggest.

    Hi Vivek,
    You use ALPHA conversion for the fields which have the type "CHAR" but expecting numerical values to be stored in there. If you do the conversion the conversion routine will pad the numerical values with leading zeros.
    If this is not the information that you are seeking, pls tell us what error you are receiving in the transformation and which check box are you mentioning.
    Hope this helps,
    Regards,
    Bijesh

  • 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

  • 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

  • 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

  • How to write conversion routine for key figure?

    Our customer has this requirment:
    we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this:  00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time,  BW system will report a error that say it is not acceptable time.  If we want to define a integer, but we need display it like hhmmss format.  We know we can write conversion routine for char.  but I don't how to write conversion routine for key figure.   Please give me any hint if any other solutions?
    Edited by: SY DONG on Dec 2, 2010 3:36 AM

    If you want to do in Transformation Layer :
    You can use routine ...break up the seconds into minute hour and seconds
    you will have to handle few cases in this:
    let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
    DATA: lv_seconds type i,
               lv_hrs  type  i,
              lv_sec type i,
              lv_min type i.
    lv_hrs = lv_seconds / 3600
    if lv_hrs >= 1.
    lv_min = (lv_hrs - trunc(lv_hrs))*60
    here again handle seconds if min >60.
    else.
    lv_hrs = '00'.
    lv_min = lv_hrs*60
    It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
    Regards,
    RK

  • Remote-Enabled Method (wrt ABAP Objects)

    Hi All,
    Adhering to ABAP Objects, in my project, i am creating instance methods or static methods instead of Function modules.
    now i have a requirement, where some functionality needs to be invoked on another server using an RFC destination.
    if i create a function module,
    1)i can tick the radio button "Remote-Enabled Module" under the Attributes of function module and
    2)i can invoke it as
    CALL FUNCTION 'ZMY_FM' DESTINATION 'RFCDESTNAME'
         EXPORTING
         IMPORTING
    in such cases is it mandatorily required to create an FM like above, or can i avoid it by writing an equivalent instance method or static method
    if we replace the FM with a method, then
    1)how can i make the method rfc enabled, and
    2)what is the syntax of providing the rfc destination name while invoking method.
    Is there any other concept provided in ABAP Objects, that is recommended instead of "Remote-Enabled Function Modules"
    thanks in advance,
    Madhu_1980

    Hello Madhu
    If you look at the properties of any global class you will find that the DropDown list for "Category" contains item:
    30 = Proxy Class for Remote Interface
    For me this sounds like that there might be something in the pipeline of SAP to provide RFC-enabled methods. However, if and when this becomes true is probably unknown.
    Regards
      Uwe

  • 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

  • Info Object conversion routine

    Hello,
    I have a very simple question.
    I have an infoObject which suppose to save texts. I dont care which kind of text is it. It can be anything.  in the infoObject i removed the conversion routine and didnt put an X in the "lowercase letters" checkbox but still when i load data into the ODS the data cant be activated just because this infoObject have wrong charactaristics.
    Please Advice,
    David

    Hi David,
    allow lowercase letters or check out this one: /people/siegfried.szameitat/blog/2005/07/18/text-infoobjects-part-1
    regards
    Siggi

  • Difference between BAPI and remote enabled function module

    Hi!
    what is the difference between remote enabled function module and
    BAPI.
    How do we use remote enabled function module .
    thanks
    Amit

    Please search the forum before asking basic questions.

  • What would be the effect of %_RFC in a custom remote enabled FM.

    Hi,
    I have a requirement where there already exists a customized Remote enabled function module which contains the code for retreiving the production order number range based on the selection criteria(workcenter,plant)  as follows:
    CALL FUNCTION 'ZPRODORD_WORKCENTER' %_RFC
         EXPORTING
           COLLECTIVE_ORDER = COLLECTIVE_ORDER
           I_ARBPL = I_ARBPL
           I_WERKS = I_WERKS
         IMPORTING
           RETURN = RETURN
         TABLES
           ORDER_NUMBER_RANGE = ORDER_NUMBER_RANGE
           ORDER_HEADER = ORDER_HEADER
    This function is used in an INCLUDE program.Here I would like to know the significance of %_RFC.Im not able to locate the actual program where this include is used using the where used list to find  out the value which may be passed during debugging as this may be called from another server.
    Edited by: Vineela S on Oct 1, 2011 7:22 PM

    Hi Naimesh,
    Thanks for your reply.
    But here if I check the function group in which the RFC is defined im able to find the following Includes:
    *   System-defined Include-files.                                 *
      INCLUDE LZPRODORDRFCTOP.                   " Global Data
      INCLUDE LZPRODORDRFCUXX.                   " Function Modules
    *   User-defined Include-files (if necessary).                    *
    *  INCLUDE LZPRODORDRFCF...                   " Subprograms
    * INCLUDE LZPRODORDRFCO...                   " PBO-Modules
    * INCLUDE LZPRODORDRFCI...                   " PAI-Modules
    INCLUDE LZPRODORDRFCF01.
    But in not able locate the include  LZPRODORDRFCV07 which i have mentioned above.
    I would also like to know what would happen if the %_RFC is removed.Would the addition of %_RFC affect the performance of the program in any manner.
    Im not able to execute the program myself as it is linked with another server.
    Regards,
    Vineela.

  • How to make function module remote enabled?

    I am trying to make the RSCRMBW_GET_CELL_DATA_BAPI function remote-enabled by choosing remote-enabled in the attributes tab in the function builder. When I try to activate the function, I get an error telling me that Reference parameters are not allowed with RFC. In order to get around this, I set each of the import parameters to pass value. This time, I get an error for Generic types not allowed in RFC. I change the I_NO_TEXTS type from C to CHAR50. Finally, I get an error for Type RSCRM_BAPI6111CD_LARGE_T is unknown. I am able to see this type in both the RSCRM type pool (to which the 'unknown' type belongs) and CL_RSCRMBW_BAPI>GET_CELL_DATA_V2 method (which calls the function). However the function builder still tells me that the Type RSCRM_BAPI6111CD_LARGE_T is unknown.

    Hi,
    You need do this in a work around way. My suggestion is you need to create wrapper function module (RFC enabled) with same paramters of fm RSCRMBW_GET_CELL_DATA_BAPI and inside this function module pass these parameters and call  fm RSCRMBW_GET_CELL_DATA_BAPI, then there is no need to change fm RSCRMBW_GET_CELL_DATA_BAPI

Maybe you are looking for

  • Control the creation of excise invoice without chapter id

    Hi All If Chapter ID is not maintained for a material in J1ID, can we control the creation of the sales excise invoice (J1IIN) for that particular material. Thanks in advance regards Ram A

  • Purchase price variance line item - not to be posted in Parallel currency

    Hi All, Scenario: Transaction currency - SGD Local Currency - INR Parallel Currency 1 (LC2) - Group currency - USD Parallel Currency 2 (LC3) - Global Company currency - INR Import PO - MIGO - MIRO PO is raised in foreign currency. Material master pri

  • I can't find the "search" menu in the iTunes shop...?

    When I enter the iTunes store, I see all sorts of menus, albums and recommendations, but nowhere the "search" menu... How do I proceed when I want to find my own music??? This used to be very un-Apple, that a user could not find his way around just b

  • Add to a Photo Stream shared with you

    We have set up a photo stream to share among family members. Since I created the photo stream, and then shared it with others, and did not make it public, when I go to add a photo I can see the names of the photo streams which I can choose from. So w

  • Getting an older copy of iMovie back

    Hey hey! Pacifist still works and I restored, and upgraded, iMovie HD (version 6) Here is how I did it if you are interested. http://unofficialimoviefaq.com/tt/GettingYourOldiMovieBack.html -- Dan Keeper of TheUnofficialiMovieFAQ.com