Hii Experts

I am Working as a SAP ISU Billing Consultant.
Rate Type is RT_KWH
Rate is RT_DOM
we had two variant programs QUANTI01 and COMPUT02.
QUANTI01 is for calculating amount based on Consumption and price.
The second variant program is COMPUT02 is for adding the first amount with a fixed amount(Fixed charges) to get the final amount.
Now the problem is, when processing the billing only the first amount is calculating. Its not calculating the second amount..
Please help me regarding this. How can i resolve this

COMPUT02 is one of the simplest variant which add two amounts and return one amount (resultant)
You can use variant control for info line item and check whether it was executed during billing or not. Also, consider, if you checked the Optional billing step (check box).
Regards,
sanjoy

Similar Messages

  • List of Issues in Scheduling agreement ??

    Hii experts
    Cam somebody explain me about the crictical issue in scheduling agreements in MM .
    What kind of issues will occur in SAP SA scenario.
    Can somebody share their exp on this ...
    Thanks

    Please check the SA issues in these links:
    Scheduling Agreement
    Scheduling Agreement
    scheduling agreement
    Scheduling Agreement

  • Regarding Vendor Performance....

    hii experts,
    I am working on Vendor Performance report and finding problem in it.pls tell how can i analyse Vendor Performance report . what is the purpose of it? tables used . if possible give sample coding for this .
    Any pointer will be highly appreciable..
    Thanks in advance,
    Ashok

    Hi Ashok,
       I have worked on Vendor performance and i am sending you
       the code as per your requirement.....
       Hope this will help you!!!!!!!!!!!!!!
    REPORT  ZVENDOR_PERFORMANCE.
    TABLES: lfa1, lfm1, j_1inewjcode.
    *STRUCTURES
    DATA: BEGIN OF wa_lfm1,
    lifnr LIKE lfm1-lifnr,
    ekorg LIKE lfm1-ekorg.
    DATA: END OF wa_lfm1.
    DATA: BEGIN OF wa_lfa1,
    lifnr LIKE lfa1-lifnr,
    txjcd LIKE lfa1-txjcd,
    adrnr LIKE lfa1-adrnr .
    DATA: END OF wa_lfa1.
    DATA: BEGIN OF wa_lfb1,
    lifnr LIKE lfa1-lifnr,
    bukrs LIKE t001-bukrs.
    DATA: END OF wa_lfb1.
    DATA: it_lfa1 LIKE wa_lfa1 OCCURS 10 WITH HEADER LINE,
    it_lfm1 LIKE wa_lfm1 OCCURS 10 WITH HEADER LINE.
    DATA jcode LIKE j_1inewjcode-txjcd.
    DATA count TYPE i.
    DATA: new_lfa1 LIKE wa_lfa1 OCCURS 0 WITH HEADER LINE.
    DATA : it_adrc LIKE adrc OCCURS 10 WITH HEADER LINE.
    DATA : bukrs LIKE t001-bukrs, porg LIKE t024e-ekorg.
    DATA: it_lfb1 LIKE wa_lfb1 OCCURS 10 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
    PARAMETERS:
    p_bukrs LIKE t001-bukrs OBLIGATORY,
    p_ekorg LIKE t024e-ekorg OBLIGATORY MEMORY ID buk.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-002.
    SELECT-OPTIONS: p_lifnr FOR lfm1-lifnr.
    SELECTION-SCREEN END OF BLOCK block2.
    PARAMETERS: test AS CHECKBOX DEFAULT 'X'.
    AT SELECTION-SCREEN ON p_bukrs.
    SELECT SINGLE j_1ibukrs FROM j_1iindcus
    INTO bukrs
    WHERE j_1ibukrs = p_bukrs.
    IF sy-subrc <> 0.
    MESSAGE e128(8i).
    ENDIF.
    AT SELECTION-SCREEN ON p_ekorg.
    SELECT SINGLE ekorg INTO porg FROM t024e
    WHERE ekorg = p_ekorg
    AND bukrs = bukrs.
    IF sy-subrc NE 0 .
    MESSAGE e015(me) WITH p_ekorg space.
    ENDIF .
    *-------header print.
    TOP-OF-PAGE.
    NEW-LINE NO-SCROLLING.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE : / ,
    05 'Vendor', "#EC NOTEXT
    22 'New Jud Code'." 38 'Old Jud code'.
    FORMAT COLOR OFF.
    NEW-LINE SCROLLING.
    START-OF-SELECTION.
    Get the dummy Jur Code
    SELECT SINGLE txjcd FROM j_1inewjcode
    INTO jcode
    WHERE aland = 'IN'.
    IF sy-subrc <> 0.
    MESSAGE e000(8i) WITH 'Jur code not defined in Table J_1INEWJCODE'.
    ENDIF.
    CHECK for lfB1 if the customer exists for company code
    SELECT lifnr bukrs FROM lfb1 INTO TABLE it_lfb1
    WHERE
    lifnr IN p_lifnr
    AND bukrs = p_bukrs.
    IF sy-subrc <> 0.
    MESSAGE e000(8i) WITH 'No vendors defined for company code'.
    ENDIF.
    Check if vendor defined for purchasing
    SELECT lifnr ekorg FROM lfm1 INTO TABLE it_lfm1
    FOR ALL ENTRIES IN it_lfb1[]
    WHERE lifnr = it_lfb1-lifnr
    AND ekorg = p_ekorg.
    Get data from General data of vendor master
    IF sy-subrc <> 0.
    MESSAGE e000(8i) WITH 'No Vendors defined for purchasing organization '.
    ENDIF.
    SELECT lifnr txjcd adrnr FROM lfa1 INTO TABLE it_lfa1
    FOR ALL ENTRIES IN it_lfm1[]
    WHERE lifnr = it_lfm1-lifnr.
    SORT it_lfa1 BY txjcd.
    DELETE it_lfa1[] WHERE txjcd = space.
    SELECT * FROM adrc INTO TABLE it_adrc FOR ALL ENTRIES IN it_lfa1
    WHERE addrnumber = it_lfa1-adrnr.
    CLEAR count.
    LOOP AT it_lfa1.
    IF test <> 'X'.
    UPDATE lfa1 SET txjcd = jcode
    WHERE lifnr = it_lfa1-lifnr.
    ENDIF.
    count = count + 1.
    WRITE : / , 5 it_lfa1-lifnr, 25 jcode.
    ENDLOOP.
    LOOP AT it_adrc.
    IF test <> 'X'.
    UPDATE adrc SET taxjurcode = jcode
    WHERE addrnumber = it_adrc-addrnumber.
    ENDIF.
    ENDLOOP.
    IF test <> 'X'.
    WRITE : / 'The No of Vendor Master updated with new Jur Code is:',
    count.
    ENDIF.
    <u><i><b>"Kindly reward points if answer is useful"</b></i></u>
    Regards,
    mandeep.

  • Query Report:To Retrieve Data from A/R Invoice and A/P Invoice

    Hii Experts,
          I am a new Sap B1 Trainee.I am facing a problem when retrieving data from A/R Invoice and A/P Invoice in order to track
    Expenditure and Revenue according to a Bussiness partner,
    I am using union to retrieve the information,but it is saying a error that  Error Converting Varchar to Numeric and also
    i would like to know how can i show the total final payment by reflecting Downpayments in A/R Invoice and A/P Invoice
    With Regards
    Cherry.

    Hii.
    My Sap B1 version is 8.8.1 and patch level is 20. Actully i need a scenario where i can able to show both Expenditure and Revenue of a particular bussiness partner and profit/loss in a single query report.
    I need some tips regarding this,When i am doing union i am getting conversion error converting varchar to numeric when i take
    Sum(Line Total) from OINV and Sum(line total) OPCH group by docdate and docentry and BP .
    and another scenario is how to deduct A/P downpayment or A/R downpayment from A/P invoices and A/R invoice to get the final Revenue and Expenditure ..
    Thanks & Regards
    Cherry

  • Relationship between FINANCIAL STATEMENT ITEM and GL ACCOUNT NUMBER

    hii experts...
    can anyone tell me the relationship between FINANCIAL STATEMENT ITEM (FIELD NAME: ERGSL) and GL ACCOUNT number corresponding to that FSV..
    and if these fields are present in any table... den please do tell...
    thanks in advance.

    Thanks Raymond for giving me suggestion...
    bt wat actually is my problem na...
    i m creating a balance sheet in BAPI and in this I need FSV and GL account number...
    i got everyting bt i cant find the realtionship between these two fields...
    hope u understand my problem..

  • Schedule Job background

    Hii Experts,
      I got a requirement where in a particular PO when a user enters delivery date say after 10days from now  a popup should *** after 10 days informing the user to follow up with the vendor for that particular PO.
    Can a anyone suggest how to do this..
    Regards,
    Sany

    just write a progarm using the date conditions and schedule it daily.
    if it matches send email
    prog to send email - you can just search in SCN ... lots of examples are available

  • How to print a graph in which internal table has more than 32 entries?

    hiii experts
    i am trying to make a line graph using 'gfw_pres_show' function module.
    but in report internal table has more than 32 entries
    so how can i print a graph having more than 32 entries?

    Hi ricky_lv,
    According to your description, there is main report and subreport in it, when the subreport spans across multiple pages, you want to show column headers on each page. If that is the case, we can set column headers visible while scrolling in main report.
    For detail information, please refer to the following steps:
    In design mode, click the small drop down arrow next to Column Groups and select Advanced Mode.
    Go to your Row Groups pane, click on the first static member.
    In properties grid, set FixData to True.
    Set RepeatOnNextPage to True.
    Here is a relevant thread you can reference:
    https://social.technet.microsoft.com/Forums/en-US/e1f67cec-8fa3-4c5d-86ba-28b57fc4a211/keep-header-rows-visible-while-scrolling?forum=sqlreportingservi
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • How to display pie chart in smart forms

    hii experts,
                      my requirement is to display pi chart in smart forms . i have  googled but could not get any meaning full results. If any one knows this pls share ..
    Thanks and Regards
    Aditya Shrivastava

    Hi
    I really doubt If you did search at all in the first place. Anyhow, check this:
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=piechartin+smartforms&cat=sdn_all
    Vishwa.

  • How to add a new field at a table controll screen change for CIN 2007????

    HII EXPERTS
    I HAVE TO CHANGE THE SCREEN OF J1IA TCODE . I HAVE TO ADD A  NEW FIELD IN THE SCREEN LAYOUT OF TCODE J1IA TABLE CONTROLL.
    THANK YOU IN ADVANCE,
    PLZ HELP ME OUT AS IT IS VERY URGENT.
    SUPRATIK

    Hi Supratik,
                     you can do it by looping at screen structure and append field
    dynamically.
    see help on  'screen' structure.u will get ur requirement.
    Rewards points if helpful.
    Regards,
    Hemant

  • Issue error message in a pop-up window

    Hii experts,
    How do I issue a message in a pop-up window in a normal report programming? For eg if i click on particular box in SAP graphic, a message window should come up with some information about that box.
    Thanx in advance

    Hi ,
    First track the event let say at line selection(in case of reports)
      then use 
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
          EXPORTING
            endpos_col         = 80
            endpos_row         = 25
            startpos_col       = 1
            startpos_row       = 1
            titletext          = text-300
      IMPORTING
        CHOISE             =
          TABLES
            valuetab           = l_return
         EXCEPTIONS
           break_off          = 1
           OTHERS             = 2
    Append the errors in l_return.
    l_return is of type below:
    DATA: l_return LIKE bapireturn OCCURS 0 WITH HEADER LINE.
    Thanks & Regards
    Ruchi Tiwari

  • Error in PR creation in material code?

    hii experts,
    While creating PR i m getting error , the material length is not set ..etc??
    Becas in my case i have created material master and it has given a number also for material .
    The same material while using in PR creartion its not allowing me ??
    How i can rectify this ??
    Thanks.

    Hi,
    Check Manufacturer Part Number activated or not? Also check OMSL t.code for Lexicographical & Leading zeros section.
    http://help.sap.com/saphelp_di471/helpdata/en/08/a1110f4d7611d2b438006094b9c9be/content.htm
    http://www.sapgeek.net/2010/03/material-numbering-configuration/
    As system cretaed a material number, you should not have any issue for creating PR, Just check above links:
    Regards,
    Biju K

  • Problem in opening BI Query in Portal

    Hii Expert,
    i have designed a BI query which is running fine in BEX analyzer and showing right result , but it is showing error when i try it to open on Portal and showing Error like:
    -> Fiscal year variant P3 not expected
    ->Variable 0FYEAR could not be replaced.
    ->Variables for data provider  contain invalid values
    ->     Processing is not possible
    Regards
    Prakash Kumar

    Hello,
    I have seen this problem before where the corrections from the following notes were missing:
    1411933 Incorrect data under special circumstances
    1470258 Incorrect data in query with time-dependent hierarchy
    Please check that these nots have been applied in your system.
    Please note as well that the variable cannot be replaced if query isn't restricted on a fiscal year variant.
    If you would like to use the variable 0FYEAR the fiscal year variant must be in the filter of the query, that is
    valid for the whole query. Otherwise the period can't be found, check note 141842.
    Kind Regards,
    Des

  • Error while creating a function module

    Hii Experts
    I am adding a table name to the tables parameter in a already created function module, But it is giving a error : TABLES parameter is obselete
    the table which I am adding is
    IT_GRAPH  TYPE  ZTY_GRAPH ( zty_graph is a structure which i made in se11 comprising of 2 fields)
    Thanx in advance

    Hi,
    Give table parameters as:
    IT_GRAPH LIKE ZTY_GRAPH,
    It will give a warning, just press enter and proceed.
    Thanks & Regards,
    Navneeth K.

  • Error While opening the BI Report in Production Portal

    Hii Expert,
    I have a Report that is working fine in BI Development Server Portal, but when i am trying to do the same in Production Portal it is showing Errors like:
    ->Fiscal year variant P3 not expected.
    ->variable 0FYEAR could not be replaced.
    if you have an idea please share your idea with me, why it is showing error and what i need to do this.
    Regards
    Prakash

    Hi Prakash,
    I had checked both the settings are fine as you has suggested i.e
    ->make sure that you have transferred fiscal year variant related settings to BI by-->
    RSA1 --> Source Systems --> context menu --> transfer global settings.... and
    ->Also check table T001 in BI, variant for fiscal year is maintained there or not.
    but it still showing the same error. Any more idea ! Please share with me if you have any....
    Regards
    Prakash

  • Automatic posting of purchase order from sales order

    hiii
    experts,
    i m doing automatic purchase order from sales order. i have generated purchase requisition number from sales order now when i m trying to do automatic po the system says no suitable purchase requisition available.I have maintained info record, source code,automatic po tick in material master and in vendor master.what could be the problem .waiting for ur valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    Hello,
    Please check all the things mentioned by our experts e.g Source allocation ,infor record, source list.
    Beside that I would suggest check document flow whether already PO is created or not.
    If every thing is in place then try to create PO with reference to PR by transaction ME21N & see what error you receives.
    Hope this help you ,
    Regards,
    Prashant

Maybe you are looking for

  • Why the ScrollDemo sample can not be debugged in Eclipse?

    Hi, All, I am an newer of the Swing/JFC. When I debugged the ScrollDemo in Eclipse 3.0.2, it always reported an exception at setRowHeaderView(...). But it could run perfectly. So I am confused. Who can tell me whether it is a bug of Eclipse or a bug

  • Hand cursor not showing on Drag and Drop interaction Submit button

    Does anyone know why the hand cursor doesn't show when I hover over the submit button on a drag and drop interaction slide created in CP7 and published as HTML5? Many thanks.

  • Napster-to-Go & ZenVisio

    Please help! When my useless samsung player packed in a couple of weeks ago I decided to treat myself to the Creative Zen Vision M. The main reason that I bought it was that it would 'playforsure' with Napster-to-Go tracks, a service that I now canno

  • Best setting for mpeg streamclip conversion of mpeg2 to mov

    Through this forum I learned about mpeg streamclip. Thanks so much! Now I am able to convert an mpeg to a mov and keep the audio and quality, etc. Now my problem is that I am building a site, refering to the movies externally so they play in quicktim

  • In solution manage4.0

    hello friends . In solution manger4.0.there are two tables DNOD_NOTIF_S and DNOD_NOTIF. Now based upon the notifaction no.(numb) in dnof_notif we get the  installation no. in DNOD_NOTIF_S so i created a program .. DATA : BEGIN OF it_sys OCCURS 0,  (I