Need Function Module for Printing Rates,Discounts and Taxes in Invoice.

Hi All,
For our Invoice printing I need to get a function module which will provide me the rates,discounts and taxes against each item line of the Invoice No.
Finall it will be printed accordingly.
Can anyone help me regarding this with input parameter example.
Thx in Adv.

Hi,
As far as I know there is no fun module to print all this stuff.
You have to get this data from KONV table by passing the VBRK table KNUMV field.
Then check for all the Rates and amount KBETR and KWERT fields for the respective condition Types.
You have to loop the KONV internal table and write all the condition rates and amounts in the script driver program.
see any Std script for this.
Regards,
Anji

Similar Messages

  • Need Function Module for convertion of  Foreign currency to Indian currency

    hi friends,
    i need function module for converting amount from
    Foreign currency to Indian currency
    thanks

    hi Venkat,
    Please use the function module CONVERT_TO_LOCAL_CURRENCY
    <b><u>Sample code:</u></b>
          call function 'CONVERT_TO_LOCAL_CURRENCY'
            exporting
              date             = p_alv_tab-begda
              foreign_amount   = p_alv_tab-kkost_p_person
              foreign_currency = p_alv_tab-kwaer                 " foreign currency
              local_currency   = l_ev_waer                           " Indian currency
            importing
              local_amount     = p_alv_tab-kkost_p_person
            exceptions
              no_rate_found    = 1
              overflow         = 2
              no_factors_found = 3
              no_spread_found  = 4
              others           = 5.
    Hope this helps,
    Sajan Joseph.

  • Need function modules for the following...

    Hello experts,
    Is there an function module that I can use for:
    1. get the last date for a given year
    2. get the exchange rate for a given document number in a span of 5 years -
    for example, I need to get the exchange rate of doc. number 0000000123
    for the year 2000, 2001, 2002, 2003, 2004 and 2005(maximum of 5 years)   
    Help would be greatly appreciated.
    Again, thank you guys and take care!

    Hi,
    To use CALCULATE_EXCHANGE_RATE_N, you just have to pass the required parameters like foreign amount/currency and local amount/currency, instead you can query the table TCURR for the same data, remember to convert the 'DATE' to internal format before sending it in to the fm/table, you can refer the following code, this might help,
    WRITE  V_date TO  LV_DATUM USING EDIT MASK '__.__.____'.
         CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
           EXPORTING
             INPUT         = LV_DATUM
          IMPORTING
            OUTPUT        = LV_DATUM.
    Retrieve the Exchange rate from Custom table for the Exchange
            select ukurs from tcurr
            into tcurr-ukurs
            up to 1 rows
            where kurst = 'M'
            and   fcurr = komk-waerk
            and   tcurr = komk-HWAER
            and   gdatu >= LV_DATUM.
            endselect.
    Rgds,

  • Need functional module for service order

    hello,
    while creating service notification i want to create service order automatically.for that i need a functional module which is the key funtion to process creation of transaction in the background. i want the name of that functional module to create iw31 service order automatically  and that of functional group so that i can assign in the action box.
    Regards,
    Rajesh Kumar Raju
    9900311069

    Hi,
    unfortunately there is no such "official" BAPI available - not even in ERP2005! There is a BAPI called BAPI_ALM_ORDER_MAINTAIN but this is for changing an already existing service order.
    But, you can use what the "SAP CRM group" developed for their integration to the backend R/3 system. This FM is called CRM_CS_API_ORDER_CREATE and is part of FUGR CRM_CS_API_ORDER. This FM is acting in the same way as a "normal" BAPI although you can not find this FM in transaction BAPI.
    Hope this can help!
    Best regards, Johan

  • Generic function module for input two Infocubes and output one infocube-APO

    Hi All,
    My requirement is we have to pick data from two infocubes(Billing and Backlog) and send to One info cube.
    can you please send me an;y generic function module is available in APO or explain me how to solve my requirement.
    waiting for your response.
    Thanks for Advance.
    Shubhojit.

    Hi,
    I recommend using a multi-cube also but if you insist in JOINing two cubes then you can do that in an ABAP SELECT statement. You need to join the fact table and the dimension tables for all dimensions (for all InfoCubes). Please only retrieve data whose OBJVERS="A".
    Please post again if you need more help.
    Regards,
    Emmanuel

  • Regarding BAPI/Function Module for updating fields FAKSK and LIFEX

    Hi All,
    I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).
    We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.
    To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.
    If anyone have come accross such situation Please advice.
    Thanks ina dva

    hi satya ranjan,
    put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.
    enter faksk and lifex and data field plus an active-flag for every data field.
    e.g.:
    ZZKZTRSPG     ZZKZTRSPG     CHAR     1     0
    ZZTRSPG     TRSPG     CHAR     2     0
    find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:
    if  vbkok_wa-ZZKZTRSPG <> space .
    perform likp_bearbeiten_vorbereiten(sapfv50k).
    if not vbkok_wa-ZZKZTRSPG eq space.
      likp-trspg = vbkok_wa-zztrspg.
    endif.
    perform likp_bearbeiten(sapfv50k).
    endif.
    regards
    marcus

  • Need function module for Sales order overall status

    Dear Team,
    Our requriement is we need to capture sales orders overall status 'compleated' in header and item datat details.
    Could you please let me know what are function modules available for to get the over all status for sales orders, (header and item)
    Thanks & Regards,
    MK.

    Hi MK,
    Use any of this FMs.
    C1CE_VBUK_READ
    SD_VBUP_READ_WITH_VBELN
    WCB_VBUK_READ
    Note that the values are in table VBUK and you can do a select statement from that table to get what you need.
    Regards,
    Peter

  • Function module for open sales order and open PO

    hi all,
    can anyone please tell me that is there any function module to get open sale order  and also for open purchase order?
    regards saurabh.

    Hi ,
    In EKPO Table u select this fields  Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
    In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and  Qty.
    Both Tables having  Purchase Document  no , So  Purchase Doucment no throguh  u will get the Material and qty , Finally u Subract the both Material Qty's .
    u will get the Open Po For particular Material.
    If ur not getting ,Inform me .
    Regards ,
    Shankar GJ

  • Function Modules for System Status update and reservation for service order

    I am sending the service orders data using IDOCS.
    once the IDOC is received successfully i need to do 2 things:
    1. Update the system status of the service order with the status 'SPV2'.
    2.  Create the reservation for the service order.
    Is there any function modules avilable for both of these process.
    If not how i can do these two things in ABAP Code.
    please help me out in it.

    check whether this Fm's helps you
    STATUS_CHANGE_INTERN
    CO_IH_SET_STATUS_EXTERNAL
    CO_IH_STATUS_FM_SET
    BAPI_ORDER_CHANGE_STATUS_GET
    BAPI_APPREQUEST_SETSTATUSVARNT
    BAPI_ALM_ORDER_MAINTAIN
    BAPI_RESERVATION_CREATE
    Edited by: Keshu Thekkillam on Oct 26, 2009 5:10 PM

  • Function Modules for creation of characteristics and Measurement Points

    Hello everybody
    I'm new in ABAP (trainee) and especially the use of characteristics. I'd be very happy if somebody could help me :).
    Can anybody out there with some experience in creating characteristics and measurement points tell me how to create them with function-modules or by changing database tables?
    I'm happy about every hint and ready to give some reward points.
    Best Regards,
    Steffen

    FM and TABLES
    http://72.14.235.104/search?q=cache:71IXBMWcX_8J:reflexcontracts.co.uk/SAP_R3_QUICK_REF.xlsupdatetable+tse05&hl=en&ct=clnk&cd=1&gl=in
    FUNCTION MODULES
    http://www.erpgenie.com/abap/functions.htm
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    http://www.erpgenie.com/abap/index.htm
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Rewards if useful..........................
    Minal

  • Function module for logical file path and name

    Hello all,
    I am wondering is there any function module available to translate a logical file path to a physical file path and a logical file name to a physical file name? Thanks a lot!
    Regards,
    Anyi

    Please check the FM FILE_NAME_GET.
          CALL FUNCTION <b>'FILE_GET_NAME'</b>
             EXPORTING
               logical_filename = 'ZDELCHKREP'
               parameter_1 = it_cntry-cntry
             IMPORTING
               file_name        = l_file
             EXCEPTIONS
               file_not_found   = 08.
        CALL FUNCTION <b>'FILE_GET_NAME_USING_PATH'</b>       EXPORTING
             logical_path = 'ZDELCHKREP'
             file_name = l_file
           IMPORTING
             file_name_with_path = l_file.
    Message was edited by: Anurag Bankley
    Message was edited by: Anurag Bankley

  • Need function modul for role

    Hi All!
    Do you know whether there is "function modul" existing
    wherby I can find out Persons role by giving his name or ID ?
    Thanks
    sas

    Hi,
    You can use the function module CKEXUTIL_USER_TO_ROLE. The function module takes the USER-ID as input and gives out all the roles assigned to the user-id.
    Call Function CKEXUTIL_USER_TO_ROLE..
    Regards,
    Ravi.

  • Standard Function  modules for t-codes FBV3 and FB03

    Dear SDN Community,
      Can you please tell me what are the standard function module that I should use to simulate the following transaction codes from Web.
    FBV3- Display Parked document
    FB03 - Display posted document
    Thanks!
    Surya.

    Hi,
    Please check these BAPI and FM.
    BAPI_ACC_DOCUMENT_DISPLAY
    FI_DOCUMENT_DISPLAY_RFC
    Regards,
    Ferry Lianto

  • Need function modules for date manupulation

    HI,
    Could you please suggest the function module the below reqiurments
    1) adding days to date.
    ex: 20 days to 25.03.2008 = 15.04.2008
    2) To find the given date is working date or not according to factory calender id.
    3) To find the previous or last working date to the given date(Holiday date) according to the factory calender id.
    It is very urgent requirment. please help me.
    Thanks in advance
    sathish kumar swamy

    hi use this...
    RE_ADD_MONTH_TO_DATE
    DATE_CONVERT_TO_FACTORYDATE
    CALL FUNCTION 'OIL_LAST_DAY_OF_PREVIOUS_MONTH'
         EXPORTING
              I_DATE_OLD = date1
        IMPORTING
             E_DATE_NEW = date1
    data date2 like sy-datum.
    date2 = date1 + 1.
    write date2.
    If you put 27.12.2005 as the input date,   date2 you will get as 01.12.2005.
    Or else you can use the following code:
    v_startdate = sy-datum.
    v_startdate+6(2) = '01'.
    v_enddate = v_startdate.
    if v_enddate+4(2) >= '01' AND v_enddate >= '11'.
       v_endate4(2) = v_enddate4(2) + 1.
    elseif v_enddate = '12'.
      v_enddate+4(2) = '01'.
      v_enddate(4) = v_enddate(4) + 1.
    endif.
    v_enddate = v_enddate - 1.
    regards,
    venkat.

  • Function module for Profit Center group and Cost Center group changes

    All,
    The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
    I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
    Help is much appreciated.
    Regards,
    Hari

    All,
    The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
    I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
    Help is much appreciated.
    Regards,
    Hari

Maybe you are looking for

  • How can i build a virtual network on mavericks please?

    I'd like to run mavericks and os x server on my mac mini and be able to connect them to simulate a network. I bought vmware fusion 6 for this and think i got it wrong. I can run both as separate virtual machines but i cant get them to connect to each

  • Reg:implementation Enterprise portal in solution manager

    hi all i am new to the concept of solution manager .In this how can we implement Enterprise portal .Actually what an EP consultant work need to be done in this  solution manager.can any  one provide some real time scenarios info related to it . regar

  • Can't import photos from iphone to iphoto

    I have an iphone 5 and so does my wife. We have an iMac with iphoto version 9.5.1. We have imported photos from our phones to iphoto many times without any problems. After we both updated our phones to iOS 8.1 iphoto will not recognize that our phone

  • Import/export route targets from E-BGP ?

    hi all, a newbie question again, can i import/export rte target in a vrf from/to ebgp session, in all my readings i only see samples from import/export with iBGP peering thanks for answer

  • We wanted to add a search feature in our extranet site.

    The site contains about 2000 page reports for every year and the site contains data for about 50 years... so in all about 100000 pages. Each page report is a gif file. means the report is not a word/ txt document, it is scanned and is available as a