Convertion routines for returning 2,069 - 2069

Hello Experts,
I'm extracting flat file into PSA-Table. I have measures for saving quantity which are not correct formated in my data source.
By executing a DTP for loading flat file in PSA I receive the following error: @5C@     Error 'The argument '1.200.000' cannot be interpreted asa number' on assignment field /BIC/SK_FSTKA record 6036 value 1.200.000     @35@
Which convertion routines could I use for converting values such as "1.200.000" or "1,200,000" into " 1200000" ?
Many thanks
Mamadou
Edited by: Mamadou Traore on Nov 15, 2011 8:01 PM

Correct the data in flat file itself.
dont use 1000 seperator in the flat file. Building a logic in transformation will not be the right way as you can not predict the error pattern you may get in the flat file.
Best way is to get the correct data in flat file.
Regards,
Gaurav

Similar Messages

  • What is the procedure for  Return Pricing Procedure

    Dear Experts,
       Pricing Routine for Return Pricing Procedure To create Return sales order w.r.t billing document without copying the Pricing Procedure. To capture the net price from the Billing document to the Return Sales order .To change the net price to 0.01 based on the scrap item category RSCR in return sales  order. please help me out from this issue .Thanks in advance.I'll give you full points.

    Dear Experts,
       Dear Experts,
      I've been working in an implementation project..I never worked on pricing routines...so please give me any inputs which can help full for me...
    To create Return sales order w.r.t billing document without copying the Pricing Procedure.
    To capture the net price from the Billing document to the Return Sales order
    To change the net price to 0.01 based on the scrap item category RSCR in return sales
         order.
    please help me out from this issue
    Thanks in advance..
    I'll give you full points..

  • Converting Year in YYYY format for return in select list

    Using Apex 4.1.1 on Linux (Apex Listener on glassfish)
    I have a table with week ending dates and use this table for as my LOV.
    The select list comes up like 12-SEP-12 when I check the value attribute in Firebug. Problem is that this comes up as year 0012 instead of 2012 when I try to use it in my PL SQL code to save it to a table.
    Is there a way I can get the return value for the year in YYYY format for return value in select list? Have tried to_date(dt, 'DD-MON-YYYY') with no luck.
    Cheers.

    All APEX session state values are held as VARCHAR2s. Explicit conversion to and from DATE values using specified formats is recommended. Convert to VARCHAR2 in the LOV query:
    select to_char(week_ending, 'DD-MON-YYYY') l, to_char(week_ending, 'YYYY-MM-DD') v from ...and to DATE in the PL/SQL process code:
    ...to_date(:p1_week_ending, 'YYYY-MM-DD')...I'm trying to standardise on using ISO 8601 representations for non-displayed date values. These are unambiguous, sort properly using character semantics, and are compatible with other systems and technologies.

  • End routine for Currency conversion

    Hi,
    I have a requirement in which i have to convert sales and cost into three types of currency as GBP, INR and EUR in cube. i made 3 different fields for sales as well as for cost. But i am unable to write end routine for it.
    Can anyone please help me that how can i solve this problem.
    Roma

    Hi,
    In transformation itself you can do your currency conversion.
    http://help.sap.com/saphelp_nw70/helpdata/en/de/6372426f0f9041e10000000a1550b0/content.htm
    If you want to write a routine in to do conversion, you have to go for start routine instead of end routine.
    Thanks
    BVR

  • Credit memo for returns with multiple reference deliveries

    Hi Experts,
    I have few credit memos for returns with multilple return orders and return deliveries in document flow.
    I want to find out where do we configure this setting in which there will be single credit memo for multiple deliveries.
    And how system decides the common factors in deliveries for this credit memo?
    Please guide.
    -Chetan Barokar.

    Hi,
    In copy control settings of delivery document to billing document you can maintained the requirement routine Data VBRK/VBRP as 03 - Single invoice for an item category, as theinvoice spliting will be control from copy control.
    with regards
    Vivek.

  • 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

  • Output Control Routine for Order Confirmation

    Hi,
    I have a problem in sending out order confirmation when the customer have a credit block, no order confirmation is being sent.
    Checked on transaction NACE, the routine for Order Confirmation (Routine 2), returns a sy-subrc =4
    when  the credit block is set. What is the best way to correct this?
    Thanks,
    Catherine

    Create the new routine in VOFM->Requirement->Output Control. Make the required changes in routine source text and assign it to output procedure (NACE).
    Thank You,
    Ganesh

  • ABAP routine for Top 10 material

    Hi All,
    I want to write an ABAP routine to get the Top 10 material as per their sales data.
    I have written a query where I have put condition (for Top 10).
    But I need to create an APD taking this query as base query. But conditions fail to filter data when it comes into a transactional ODS via an APD.
    So, I want to write a routine for transaformation of data (to get top 10 material based on their sales data) from base query to the transactional ODS.
    Please help me in writing this code.
    I am an amatuer in ABAP.
    Thanks,
    SB

    Hi ,
    You Need to read Data from the ODS for Top 10 Materials. I can give you the Logic but you would need to take the Help of an ABAPPER to convert this into the code
    Lets consider an ODS : ZODS which has a KF for Sales Data (ZKF)
    *****Define Internal Table ****************
    TABLES :
    /BIC/AZODS
    DATA:
    BEGIN of ITAB OCCURS 0,
        0material(18)       TYPE c,
        ZKF           like /bic/AZODS-/bic/ZKF,
    END OF ITAB.
    DATA:
    BEGIN of ITAB1 OCCURS 0,
        0material(18)       TYPE c,
        ZKF           like /bic/AZODS-/bic/ZKF,
    END OF ITAB1.
    Select MATERIAL, /BIC/ZKF from /BIC/AZODS into corresponding fields of ITAB1.
    LOOP AT ITAB1
    ITAB-MATERIAL = ITAB1-MATERIAL
    ITAB-ZKF= ITAB1-ZKF
    COLLECT ITAB.
    ENDLOOP.
    SORT ITAB ZKF.
    ************this will have the materials sorted take the first 10 Material Nos*****

  • Start Routine for transfer rules

    Hello experts,
    I want to use the SQL DISTINCT keyword to return non-duplicate results from a table in a DataSource (data base) in a the start routine for the transfer rules.
    How do I address that table in the start routine of the TR?
    I thought about something like that.
    TABLES: mytable
    DATA: itab_mytable type table of mytable
    SELECT DISTINCT CUSTID, etc.
    FROM mytable into table i_tab.
    I am new to ABAP so I would be happy to get some suggestions!
    thanx in advance
    Axel

    Hello Oscar,
    as fa as I understood the entire data package in the transfer structure format is used as parameter (DATAPAK) for the routine.
    so I want to perform a SQL statement on DATAPAK!
    But it sais it can't find DATAPAK in ABAP-Dictionary as a table!
    can I actually perform SQL statements on DATAPAK?
    Thanx
    Axel

  • Conversion Exit/Routines for Project ID

    Hello All,
    I am from the BI forum.
    I would like to have conversion exit for Project ID, The Problem i am facing in BI is, that in my BI report , the project iD displays in internal format , but i need in External format.
    For Ex the Project ID in Master data is P000291 but it displays as 0002189, which is wrong.
    I have found routines like CONVERSION_EXIT_ABPRJ_OUPUT,.
    I have also written a code in my BI system, also, but it still it shows me the internal format.
    The Source field is PSPID coming from PROJ table.
    I need to know the list of conversion routines for Project ID,,(to Convert Internal to External format).
    Thanks and Regards

    use the below FM "CONVERSION_EXIT_ABPSN_OUTPUT"

  • URGENT--Converting the BAPI return structure to XML

    Hi,
    I need to convert the return structure(export parameter) from a BAPI call to XML but not able to make out how to do that.
    Before this I was required to convert the BAPI return table(export table) to XML and I did that by first converting it to the AdoDataTable, added it to a dataset and then used the builtin function to return the dataset in XML format. But here I am not able to make out how can I do the same with the Export structure.
    Any help would be appreciated.
    You may also mail on [email protected]
    regards,
    Ankit Bhansali

    If the XML schema that you find as Xml attributes on the fields of the structure is good for you, you can just use the XML serializer to serialize it out:
    XmlSerializer ser = new XmlSerializer(typeof(BRFCKNA1));
    ser.Serialize(...);

  • Credit for Returns showing different Net values...

    Hi,
    I used VF03 to see a billing document, it was a Credit for Returns and it had one line item. It showed the Net value as say 25000.00. I clicked that line item and then clicked the icon at the bottom "Item Pricing Condtn" and in the next screen under the "Conditions tab" , the net value shown is like 15676.00.
    Why is the Net Value different from what was shown in the first screen ? What may be happening ? Any tips ?
    And also the net value in the first screen then changes when you move back to the first screen !!
    So everytime when you open the document  in VF03 it shows 25000.00 and then when u return to that screen (after above mentioned steps) it shows the new value 15676.00.
    thnks
    Edited by: sdnuser1 sdnsurname on Sep 17, 2010 9:09 PM

    Hi SDNuser,
    Check if any routine is written for calculation of any condition type in pricing unde requirements, Altcalctype or Altcalcbaseval.
    Also check if some logic has been implemented in User exit RV60AFZZ, for billing document pricing under forms:
          USEREXIT_PRICING_PREPARE_TKOMK     
          USEREXIT_PRICING_PREPARE_TKOMP                 
    Regards

  • Convert %rowtype function return into sys_refcursor

    I have an interesting problem. We have created a standard pattern for all of our "get" functions for returning data to always return a sys_refcursor to our JAVA application as it is very easy to deal with cursors and convert them to Java Collection objects (i.e. List). I'm having an issue though with the fact that some of our lower level (DML layer) pl sql code returns [TABLE_NAME]%rowtype types. I haven't found a way for jdbc to handle this type of structure, and have found some people saying that is just can't (which makes sense).
    What I would like to pose is if anyone has a clever way to manually create a cursor and insert the %rowtype object into it. It sounds simple enough, but I've tried a few approaches and nothing works. Maybe I'm just too tired or it's simply not possible.
    Any help would be greatly appreciated.

    You could use pipelined functions, something like that:
    create table testtable
       pk number,
       col2 varchar2(10)
    insert into testtable values(1, 'ABC');
    create or replace package testpack
    as
       type tabtype_testtable is table of testtable%rowtype;
       function f_get_row return testtable%rowtype;
       function f_pipe_row return tabtype_testtable pipelined;
       function f_ret_refcur return sys_refcursor;
    end testpack;
    create or replace package body testpack
    as
       function f_get_row return testtable%rowtype
       is
          r_testtable testtable%rowtype;
       begin
          select pk,
                 col2
          into   r_testtable
          from   testtable
          where  rownum = 1
          return(r_testtable);
       end f_get_row;
       function f_pipe_row return tabtype_testtable pipelined
       is
       begin
          pipe row(f_get_row);
          return;
       end f_pipe_row;
       function f_ret_refcur return sys_refcursor
       is
          r_refcur sys_refcursor;
       begin
          open r_refcur for
             select * from table(f_pipe_row);
          return(r_refcur);
          close r_refcur;
       end f_ret_refcur;
    end;
    /Regards,
    Gerd
    Message was edited by:
    gerd_99
    Forgot to close the cursor in f_ret_refcur.

  • Can we have -ve freight value for return Purchase order

    Hi All,
    we have a scenario for returns PO where we need to reverse the freight.
    Please suggest if SAP supports this in standard,
    We tried to influence it though condition routine, but the value get updated in table KONV without negative sign.
    Please suggest.
    Thanks and regards,
    Vithalprasad

    Dear Umakanth,
    I'm actually struggling to solve this issue that you've discussed here. Because the vendor is agreed to allow us to reclaim the freight charges. Our user is requested to show the "freight charges return" in the "PO return". I've tried couple of ways to work on the condition type. But, it doesn't give me what I wanted. e.g. The amount for the cost of material to be returned is $100 and the freight charges is $20. We are actually expecting to have the PO return's total net value at $120 instead of $80. However, no matter how I tried, the system either give me $80 or if I managed to enter and got the value at $120-, but the system will throw me an error message of "PO item does not accept any negative value for delivery cost".
    What should be the right way or the best practice to handle this issue?
      1. Shall I enhance any specific characteristic in the condition type? or;
      2. Shall I create another PO line item purely for the freight charges (reclaim)? If so,  
          shall I post to item category "K"? or;
      3. Shall I let the FI to handle the credit memo manually (meaning the freight charges do 
          not capture in the PO return at all)
    I'm so sorry to disturb you via your email. However, I'm new to this forum and I finally found your valuable recommendation to one of this question. I do need more info on your suggestions urgently.
    Thank you so much for your time. Appreciated.
    Regards,
    Edwin Fu
    [email protected]

  • Not able to create STO with serial assignment for returning defective goods

    Hi all,
    I am facing problem while creating STO (641 movement) for returning defective engines which are manufactured at client plant.
    The actual problem is:
    My client manufactures engine with serial no. profile attached.The steps which is followed is (all the movements are reflected in Equipment master ie03 )
    1. They create Stock using Assy. Back flush (131 movement)
    2. They do Sloc transfer using 311 movement.
    3. They send the engines to other plant by raising STO (641 movement)
    4. The Receiving Plant is doing GR (101 movement) using Tcode migo and while doing GR they delete the Serial no attached to the particular engine against material manually.
    5. Everything was going fine till some days before some engines were found defective, now they want to raise return STO against the sending plant to send back those defective engines.
    I had simulated the same case in QA client, but after GR when i am trying to raise return STO by attaching serial no. it is throwing error like check Equipment status i had tried all one but nothing worked.
    Your fast and reliable solutions needed.
    Thanks and Regards,
    Amar

    Hi,
    For converting PR to PO in the configuration you need to first set up which PR Document Type can be converted to which PO type.
    You can check if the PR Doc type is assigned to PO doc type here
    SPRO-IMG-Materials Management-Purchasing-Purchase Order(Purchase requisition)-Define Document Types
    And if you need to prevent the referencing of PR for PO creation then you assign parameter EFB to the user role. This is done by BASIS.
    You can whether your role has been assigned to any of the parameters. Ask you basis team to find this out .Tell the basis team your User ID and ask them which Parameter is assigned to your role. Give them the following configuration path if need
    SPRO-IMG-MM-Purchasing-Authorisation Managment-Define Function Authorisation for Buyers
    Regards,
    Niranjan

Maybe you are looking for

  • SL breaks quicktime plug-in

    Simply...I have QT Pro 7.6.3 and QT X. But when I try to view the new commercials on the Apple site (and other online video), it tells me I need to have quicktime and directs me to download it. Ideas on a fix? TIA

  • Install Dataware House on SUSE linux 9.3 with Oracle Rel 2 (9.2.0.4)

    Dear All One of my customer needs dataware house on SUSE linux and i am a core DBA working on Prod and development servers upto now. So i want to know the necessary things i need to keep in mind before going to configure datawarehouse for the custome

  • CHANGING PITCH to already existing mixed track

    I want to import an instrumental background music track into a program and change the pitch. I can't find a way to do it in Garage Band. What's my best bet for doing this without having to buy an expensive program? G4   Mac OS X (10.4.9)  

  • How do I save stock footage as flash file with transparent background?

    Hi I have some stock footage of smoke on a black background (.mov format) that I would like to convert to a flash file with a transparent background, which I will be overlaying over a PNG image on a webpage. I have managed to remove the black backgro

  • Side-by-side pages on full screen mode

    With adobe reader 8.1.x for Linux (Ubuntu 8.04), you can visualize side-by-side pages in full screen mode. With reader 9.1.2, you can't. When you click on "side-by-side page" button, then "full screen" button, the program returns to "single page" vis