How to handle currency & unit fields in call transaction?

Hi,
Can any one tell me How to handle currency & unit fields in call transaction? & how to dael with error for this fields? whith some sort of coding.
Thanks In Advance.
Pravin

Hi Pravin,
The same topic has been discussed in the following thread:
How to handle currency & unit fields in BDC recording method?
Regards,
Chandra Sekhar

Similar Messages

  • How to handle currency fields in BDC

    Hi All,
        Please tell me how to handle currency fields in BDC.... If possible give me some sample code...
    Thanks in advance,
    points will be given,
    praveena.

    Declared it at the Global definitions.
    in global data tab and currency/quant fields.
    Initialize some value there itself.
    Just before the text node create one program lines node,
    and that,In the import and export parameters of it give total_amount.
    refer to the following link:
    http://sap-img.com/abap/figure-to-words-for-india-but-can-be-modified-to-any-requirement.htm
    Currency Fields
    Reward if useful.

  • How to handle different Unit of measures in ALV reports? Quantity/Price

    Anyone knows how to handle different unit of measures for quantity or price in hierarchy ALV reports?

    hi,
    use the below fields:
    Link to measurement unit
    •qfieldname (measurement unit field name)
    only relevant for quantity columns with unit link.
    Name of the internal output table field containing the measurement unit associated with the quantity field FIELDCAT-FIELDNAME.
    The field in FIELDCAT-QFIELDNAME must have its own field catalog entry.
    •qtabname (internal measurement unit field output table)
    value set: SPACE, output table field name
    Name of the internal output table containing the FIELDCAT-QFIELDNAME field.
    regards,
    madhumitha

  • How to handle lock object in BDC  call transcation method?

    Hi,
    how to handle lock object in BDC  call transcation method?
    Thanks In advances.

    If you are updating Z-fields then you need to create a lock entry, before you use call transaction.
    After creating lock object, please use FM Enqueue_<lockname> before CALL transaction and FM Dequeue_<lockname> after you have commited your data.
    Thanks,
    Kartavya

  • How to handle bdc for more than one transaction?

    how to handle bdc for more than one transaction?

    Hi srk,
    I am providing you with some references below. Hope this prove to be helpful to you.
    Method 1:
    Use one BDC_OPEN_GROUP
    Multiple BDC_INSERT 
    One BDC_CLOSE_GROUP.
    Call function BDC_OPENGROUP.
    Build BDC data and call lBDC_INSERT for transaction 1
    Build BDC data and call lBDC_INSERT for transaction 2
    Build BDC data and call lBDC_INSERT for transaction 3
    paas the tcodes to bdc_insert.
    call function BDC_CLOSE_GROUP.
    Also check this out:
    Here we need to record 2 transactions (shdb).
    Once completion of the recording. Populate the data into input internal table .
    Loop the internal table and process the 2 transactions
    like
    1. BDC_OPEN_GROUP
    2. LOOP AT ITAB
    a. Populate first transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    b. Populate second transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    ENDLOOP.
    3. BDC_CLOSE_GROUP
    the above info can be found at : How to use 2 transactions in BDC?
    Also check this out:
    Suppose u have created recordings for transactions 'MM01' 'XK01' and 'VA01'.
    Then do this:
    bdc_open_group.
    after this we have to fill the bdcdata structure for one transaction.here 'MM01'.
    bdc_insert.
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'xk01'.
    bdc_insert .
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'va01'.
    bdc_insert.
    bdc_close_group.
    Hope these are useful to you.
    Please reward if any of the above are useful.
    Regards,
    Kalyan

  • How to create a background job for call transaction

    hi gurus
    can any one suggest me
    how to create the background job for call transaction.
    thank you
    regards
    kals.

    Hi,
       Refer
    https://forums.sdn.sap.com/click.jspa?searchID=10926107&messageID=889652
    Regards
    Kiran Sure

  • How to Map the Unit field  in case of DSO and INFOCUBE

    Dear Experts,
    I have a issue ,Please help me to solve this
    I have DSO as provider ,
    And, i have to map transformations  btw the Datasource and DSO.
    In generic Data source,  i have unit fields like BASME,MEINS (Quantity units) & STWAE (currency field)
    and normal Quantity fields  like KWMNG,OAUME(quantity related),OAUWE (value related).
    In DSO data fields as Key figure info objects like  0Quantity (which have 0Unit as unit of measure) and some other  key figures which have there respective unit of measure in info object  definition.
    So you Please tell me how to map the Quantity ,Amounts, unit fields to key figures that we have.
    (How it will be for both DSO and Info cube is there any difference?)
    Edited by: AnjunathNaidu on Jan 18, 2012 1:20 PM

    Navasamol ,
    If it is works ,will u please tell me what is the difference ,if the transformations btw data source and DSO and
    what is the difference btw data source and info cube and btw DSO to Infocube or cube to cube .
    And i have  seen the Quantity fields  and there respective unit fields are mapped directly  to key figure info object
    in case of Info cube . Its working fine .
    If only 1:1 mapping allowed in DSO data fields key figures and there respective unit of measure characteristic.
    why this difference btw DSO and Info cube can any one explain me in detail.
    Expecting your valuable suggestions.
    Thanks & Regards,
    Anjunath Naidu
    Edited by: AnjunathNaidu on Jan 18, 2012 4:05 PM

  • How to display Currency Unit beside value in BEx Report?

    Hi,
    I have 2 separate Amounts in the columns area. Their respective currencies exist as Characteristics in Unit dimension. How do I display the amount along with currency unit beside it?
    As of now my Report looks like....
    Amount 1              Amount 2
    2000                     3000
    I would like to display it as......
    Amount1           CUR                Amount2          CUR
    2000                 EUR                 3000               USD
    Thanks,
    SD
    Edited by: Sebastian D'Souza on Jan 16, 2009 11:40 AM

    Hi Sebastian,
    Yes it can be possible to get the currency unit along with currency in ur report.
    To do this, first of all u need to have the currency unit in ur flat file or else in ur data.
    If u have so, here are the steps to do that.
    1.Double click ur amount info object under 'currency/unit of measure tab' , in the unit/currency field just give as 0currency.
    2.And then activate ur info object.
    3.In Transformations u will find another field '0currency', just map it to the amount field.
    and then do the process as usally loading data to target, and the execute the report.
    u will be able to see currency unit filed also.
    hope this helps u.
    Thanks,
    Sai Chand.

  • How to handle empty Dats field received from SAP RFC response

    Hi All,
    I am invoking a SAP RFC which gives me a Dats field in response.
    A valid dats fields is successfully received by my pipelines.
    But when an empty Dats field is received, My pipeline fails and i get error.
    How to handle the empty Dats field from SAP

    Hi Anant,
    This is because the legacy SAP adapter accepted RFC messages with date field empty. In the new version, the same call results in an error. WCF-SAP adapter doesn't allow blank XML nodes.
    You need to use the below custom pipeline component as a workaround.
    Refer:
    Pipeline component for enabling legacy behavior in WCF-SAP adapter.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • How to handle the pop-ups in va02 transaction in Call Transaction Method

    Hi Experts ,
    I am trying to do bdc by call transaction method for  va02 transaction but i am getting popups .
    How can i handle the popups and for different sales orders i am getting different popups.
    is there any way to handle the pop ups dynamically.
    Thanks ain advance.

    hi,
    when you are using BDC then you will have to handle all the popups. this is minus point in using bdc as you need to feed each and every single bit of information so that bdc works fine and if anything misses then your bdc program will get stuck in middle of processing.
    best thing is check for function module or BAPIs available for those transactions. For VA02 there is a BAPI available ''BAPI_SALESORDER_CHANGE''. Try using this BAPI and if this BAPI doesnt handle the change you want to make in sales order then only go for BDC.
    you can also check BAPIs available in 'BAPI' tcode.
    hope this is helpful.
    Regards,
    Saba

  • How to handle varchar(4000) field in reporting?

    Hello,
    I am having a Oracle database, the data in tables of which is being stored from a web application. One of the fields of a table is having varchar(4000) datatype.
    The data in this field is text which may contain carriage returns also.
    I have to create report of this table. How to display this data properly in a report?
    I tried few things:
    Accessed the table using SQL Developer and pasted the query output in Excel.
    As the text contains carriage returns, it is being spread into one or more rows.
    How to handle this? What is the proper way to create report for such data?
    Please help.
    -Sameer

    You the following to remove the carriage returns
    SQL> select 'a'||chr(10)||'line2
    2
    SQL> select 'line 1'||chr(10)||'line 2' from dual ;
    'LINE1'||CHR(
    line 1
    line 2
    SQL> select replace('line 1'||chr(10)||'line 2',chr(10),'') from dual ;
    REPLACE('LIN
    line 1line 2
    If this is not the soln , can you paste some sample data

  • How to add Currency Unit in InfoCube definition?

    Hello Gurus,
    How do I add a newly created Currency Unit (ex: ZCURR) to the Unit Dimension of my InfoCube?
    I created this Unit in NotAssignedNodes InfoArea, but when I open this InfoArea to drag & drop the Unit, I see a blank InfoArea.
    Pls help.
    POINTS WILL DEF BE AWARDED!!
    Thanks,
    SD

    Hi Sebastian,
    I dont think we can expect a unit to be stored in UNIT fixed dimension unless it comes along with a keyfigure.
    UNIT dimension is to store the unit characteristic, which is present in the cube, becasue we have used a keyfigure which has unit along with it, like Amount or quantity data type key figures.
    When we define a key figure with data type as Quantity, it will ask us to mention either Unit object or a fixed unit. Here we need to mention the unit created by you.
    If we have added any unit characteristic in the char tab of cube defintion, then we have ensure to place them in a custom dimension.
    Hope this is clear.
    Naveen.A

  • Display currency  unit  field in FM reuse_alv_grid_display

    Hi friends,
    I am using ALV list, I want to display the currency field as a column in the list , also the '$' sign should get displayed in the amount field .
    I have used the logic given in the SAP help, but i am unable to display the currency unit.
    can anybody help me out .
    Thanks in advance for the suggestions.

    Hi Poonam,
       I think you cannot have the $ sign in the same amount field if you have declared it as a TYPE CURR field.
    YOu can have an extra field, immediately after the Amount Field which has a value '$' in it.
    If you want to have the dollar sign in the field itself, then concatenate the amount field and '$' sign into a common field and build a field catalog for that field.
    But there is an inherent disadvantage with this approach that you will not be able to have utilities like totals, subtotals etc.
    Welcome to SDN..:)
    Regards,
    Ravi
    Message was edited by: Ravi Kanth Talagana

  • IP: How to hide currency/unit from input-ready query headers?

    Hi,
    Is there a way to hide currency/unit from input-ready BEx web query headers? I've used NODIM-concept for read-only reports, but with input-ready it won't work since formulas cannot be input-ready. Is there a setting somewhere or workaround? The web query is published by WAD.
    Thanks!
    Aki

    Hi Aki,
      If you wanna do this in input-ready query, there is only one scenario: you restrict 0UNIT and 0CURRENCY as one certain constant value for the 'Characteristic Restrictions' in the 'Filter', and DON'T set the according 'Can Be Changed at Execution' selected. Then the 0UNIT and 0CURRENCY can be put into 'Free Characteristics', no neccessary moving them to data area.
      If there're multiple value for 0UNIT or 0CURRENCY for your planning, you can't hide them in data area of INPUT-READY query, since they belong the dimension 'U'.
    Hope this will help.
    Gerald

  • How to add a new field in migo transaction (header level)

    hi guru's
    can you please tell me how to add a field in migo transaction?
    i want to add a field in header data and that too under "general" tab. i dont have data regarding that field.
    and when we enter a value for that field in migo, it has to take .
    thank you.

    Hi, My problem is allmost like the one you are discussing here....
    I have appended MKPF for my Z-fields and created a sub-screen (Design the screen). I am calling this screen in PBO_HEADER. Now i can see my newly created tab along with fields.
    Now the problem is:-
    1. How I can transfer that data entered in screen fields back to my BADI.
    2. How to update my z-fields in MKPF table along with standard fields. I have tried using FM - 'J_1IEXGM_BADI_POST_DOCUMENT' in Method - POST_DOCUMENT, but its not updating table record in MKPF for Z-Fields.
    Please advice.....
    Thanks

Maybe you are looking for