Runtime Tax data fetching while Accounts Save

Hi,
How to get the Role, Tax IDs and Tax Classification details at the runtime of the Accounts create or save from web gui within the event ON_SAVE of the BP_HEAD BSP component.
Thanks for your response.
Aravind
Edited by: Aravindakshan M R on Feb 25, 2009 12:57 PM

Hi,
Consider that your tax category screen has 5 lines to maintain 5 tax categories after which you have to click on page down, so while recording input your 1st tax code in the 5th line item of the screen and press enter -> you would see that it automatically moves to the 1st line.
By doing this all your entries in your screen would go into the last line item & since we have also recorded 'ENTER' in our recording it will automatically move up.
This will surely solve your problem.
Regards,
Amit

Similar Messages

  • OBIEE 11g - Data Fetch Issue.

    Hi,
    I am facing this weird issue regarding data fetching while executing Reports in OBIEE 11.1.1.5. When I login to the BI user interface and execute any report for the first time, everything is working fine. Bt after that I am not able to execute any report later. Even the report executed for the first time, when I rebuilt and execute it I cannot see the data this time. The Results user interface says - The layout of this view combined with the data,selections,drills or prompt values choosen resulted in no data.
    Thanks in advance.
    Regards,
    Dev.

    Hi,
    I also encounter the same issue. When I view combined layout, I get the No Results message. But when I edit the table layout, I see that there are records returned. Does anyone had any luck in resolving this issue?
    Thanks!

  • Clear Withholding tax data while posting customer invoice

    Gurus,
    I am trying to post Customer invoice document using FB01 transaction.
    If the customer has with holding tax information available in Customer Master the corresponding information is getting posted into invoice document.
    Is there any user exit, enhancement or substitution available to clear this with holding tax data.
    Please do share if any code examples on this issue.
    Appreciate your quick response.
    Thanks,
    Suneel

    Dear AMD008
    were you maintain properly in OB40 MWS (out put tax) relevant GL Account
    Note: are you using NEW GL please conform me
    Regards
    shankar

  • Fetch Material Tax data

    How to fetch all the country, tax category of a material tax data in sales org view using select query for filling the classification in LSMW program. Kindly provide me the tables and select queries.

    Hi Senthil,
    Select single * from MLAN where matnr = material and
                                    aland = country.
    If you need everything, remove the single and country from selection. Is this what you are asking for?
    Raj
    Reward points if helpful.

  • How to manual maintain TAX condition value while creating sales order

    Hi
    I am creating one Tax condition suppose JLST without access sequence .
    while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
    then I see It show some value in TAX .
    save that sales order & creating delivery document for that but when I create Invoice its show error.
    " Tax code  in procedure CMTAXP is invalid ".
    I know the configuration only for Tax condition with vk11 condition record .
    BUT now I want to maintain TAX condition at the time of creating sales order.
    so I remove the access sequence of that condition .
    but It shows tax code error while billing.
    My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
    Can it is possible ?
    if yes then How?
    please help me.
    thank you

    Hi,
    The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
    I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
    I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
    There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
    http://www.sapgeek.net/2010/04/sd-determines-tax-code/
    In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
    BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
    But if you are a beginner in these things, better take help.

  • Add Tax IDs to BP on SAVE (new)

    I'm trying with the following code to add a Tax ID to the BP while I'm saving it (New).
    But I don't get the BP ID.
    BUPA_NUMBERS_GET doesn't return BP ID.
    'BBP_BUPA_GET_NUMBER' doesn't return BP ID.
    How can I solve this issue?
    Best regards.
    METHOD if_ex_bupa_tax_update~change_before_update.
      break josechau.
      DATA: lv_partner    TYPE  bu_partner,
            lv_tax_type   TYPE  bus_tax-tax_type,
            lv_tax_number TYPE  bus_tax-tax_number,
            lv_guid       TYPE  bu_partner_guid.
      LOOP AT it_changed_instances INTO lv_guid.
      ENDLOOP.
      CALL FUNCTION 'BUPA_NUMBERS_GET'
       EXPORTING
         iv_partner_guid           = lv_guid
       IMPORTING
         ev_partner                = lv_partner
    *     EV_PARTNER_GUID           =
    *     EV_PARTNER_EXTERNAL       =
    *     ES_BUT000                 =
    *   TABLES
    *     ET_RETURN                 =
    *     ET_PARTNER                =
      CALL FUNCTION 'BBP_BUPA_GET_NUMBER'
       EXPORTING
    *   PARTNER                 =
         partner_guid            = lv_guid
    *   ADDRNUM                 =
       IMPORTING
         ev_partner              = lv_partner
    *   EV_PARTNER_GUID         =
    *   EV_GUID_32              =
       EXCEPTIONS
         partner_not_valid       = 1
         guid_not_valid          = 2
         no_input                = 3
         OTHERS                  = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      MOVE lv_partner TO lv_tax_number.
      MOVE 'CO1' TO lv_tax_type.
      CALL FUNCTION 'BUPA_TAX_ADD'
        EXPORTING
          iv_partner                  = lv_partner
          iv_tax_type                 = lv_tax_type
          iv_tax_number               = lv_tax_number
    * TABLES
    *   CT_RETURN                   =
    EXCEPTIONS
       record_already_exists       = 1
       invalid_data                = 2
       foreign_lock                = 3
       OTHERS                      = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'BUPA_TAX_SAVE_COMMIT'.
    ENDMETHOD.

    Hi,
    Please try using the function module BUPA_GENERAL_CALLBACK - this will surely return data in the structures ET_BUT000_NEW and ET_BUT000_OLD.
    You could get the partner number from etiher of these structures.
    Also, you could use module BUPA_TAX_CALLBACK, which will actually return the tax data that you have changed, and partner number is a field of the tax data structure.
    And one important point - if you want the save of BP to trigger the tax add, you would need to write this particualr code(what you have included in the question) in the implementation of BADI BUPA_GENERAL_UPDATE. Currently, you have written it in the BADI BUPA_TAX_UPDATE, which will get called for changes to TAX number, not for changes to general business partner.
    Regards,
    Rishu.
    Edited by: Rishu Thukral on Apr 16, 2009 8:05 PM

  • Tax Date Based Non Leading Ledger BS, TB and PnL

    Hi Gurus
    In our scenario, we will be using the Leading Ledger for Accrual Accounting, while the Non Leading Ledger will be used for Cash Accounting. It is required, for management effectiveness to capture transactions on accrual basis (leading ledger), but as far as tax reporting is concerned, it will be on cash basis (non leading ledger).
    Scenario is:
    Vendor Invoice comes on Jul 1, 2009 with terms of payment as say 45 days. The due date is mid August. In accrual (Leading Ledger) accounting, we will book the invoice on Jul 1, 2009 (posting date) with 45 days credit period, and due date as Aug 14, 2009. Now, as per cash accounting (Non Leading Ledger) we should only book this invoice on Aug 14, 2009,when the cash outflow will take place. However, since in New GL posting automatically happens for Leading and Non Leading ledgers, the NL document also will have the same posting date as LL document (Jul 1, 2009). The TDS/ Service Tax etc. however will be deducted only on payment, in August, which is a different fiscal period (as well as different tax reporting period).
    My question is, is there a way to use TAX DATE or some other date field for Non Leading Ledger, and have the tax reports generated on that basis? Mind you, the purpose of cash accounting is for statutory and tax purposes. So we need to be able to draw financial statements based on cash accounting.
    Would greately apprecaite if any of you can help me guide to a possible solution. I have the following options:
    1 - Create a report that will use (somehow) a logic to capture the transactions based on tax date
    2 - Find a User Exit to capture the actual cash flow date and use it to generate the tax/ statutory reports
    3 - Use Tax Date field to store the cash flow date and use it to generate the tax/ statutory reports
    Any suggestions welcome!
    Regards
    Mandar

    Hi,
    using different ledgers for parallel accounting ( eg IFRS, US-GAAP, Indian-GAAP...) is not a matter of tax procedure assigned to a country and company code(s) assigned to a country.
    The tax law for a country/tax jurisdiction code does not depend on which reporting standard you use (IFRS, US-GAAP, Indian-GAAP...).
    Best regards, Christian

  • Enhance Account BO to add multiple(1..N) dates against that account

    Hi All,
    As all of us are aware of date management in transnational level , Can I achieve similar functionality in Business Partner Data.
    I want to maintain multiple dates(Configurable) against Account. Any pointer on how would i achieve that? I have created .Xbo for account  but where can i mention that i will be holding multiple lines against my Root entity.
    Regards,
    Dhruvin

    Hi May T,
    Thanks for ur suggestion.
    I have done the same thing as you told. but do i need to make an association with parent BO(Customer)
    .. i think i need it because on save of customer this should also get saved.
    btw below is my Custom BO Datamodel:
    import AP.Common.GDT as apCommonGDT;
    businessobject ZZMilestone {
    //Root
    [AlternativeKey] element AccountID : BusinessPartnerID;
    [AlternativeKey] element REf_UUID : UUID;
    // Table
      node Dates[0,n]{
                                   element milestonecode : MILESTONECode;
                                      element milestonedate : Date;
    I have not created association now as i m linkning my Custom BO To customer with UUID of account and accountID.
    but i dont know while save i have some error like entry with same instance already exists. So i think i m making some mistke in declaring  alternative key or some thing.
    If you want i can explain step by step[ what i have done
    Thanks for helping!

  • India Localization - How to Distribute Tax Amount between 2 Accounts

    Hi Please help me.
    I have a scenario:
    My Client want to take 50% Tax amount to Tax Account and 50% Tax Amount to Expense Account in case of VAT/Excise Duty.
    Example: Transaction Amount is 10000 INR TAX @10% (then tax amount would be 1000) when we calculate the tax 500 should hit Tax Account & 500 should hit Expense Account.
    How to Implement this solutions please help me on this.
    Thanks
    Bharath

    To distinguish between no submission and zero, have 2 keyfigures in your layout. One for Amount, the other for valid value.
    If the user enters zero in amount, they have to put 1 in the keyfigure "valid value" to indicate zero is avalid value. Put this as a check while saving the data. Also, when the data is saved, automatically put a value of 1 in "valid value" keyfigure, for nonzero Amount. In otherwords , all valid amounts 0 and non zero have value 1 in the "valid value" keyfigure.
    this way you can differenciate between 0 and null.
    Hope this helps
    -NS

  • Issue with data Validation while migrating from one application to another

    Hi All,
    I am having a strange issue Kindly please help me .
    I have a data form which have data validation on each cell.The dataform is quite large and contain data for 4 accounts and year (Jan to Dec) combination .The issue is that I when I migrate this data form to other application which is just the replica of the main application. The validation on each cells changes its reference points.
    I have 5 more similar data form and I need to migrate then to other application and also on production sever. Is there any way that while exporting and importing them using formutil.cmd or other way that the validation cells reference does not change its reference point.
    For ex I have validation on Cell A5,A6..........AA6 after migrating it changes to A1,A1.........AA1.
    I am using 11.1.2.1.0 version of Hyperion Planning
    Kindly please help.
    Thanks in advance
    Vikash
    Edited by: user11391767 on Nov 30, 2011 10:47 AM

    Hi Mehmet,
    I tried using the FormDefUtil.cmd .But by using this the reference points of validation changes to first cell when imported.
    Thanks
    Vikash

  • Data fetching from BSEG table

    Hi,
    I have used smartforms for generating suppler payment statement for financial department. more time duration is taken by the program when it is generating.
    I think this problem comes while data fetching from BSEG table. because, it has more records for one vendor ID.
    I want reduce this time duration.
    Please guide me.

    Have you tried this selection in se16? I'm quite sure that It will take
    a long time.
    The problem has been explained in this group before and I think you
    should search for bseg in the answers given.
    As a hint: It has to do with the selection universe. You are restricting
    only bukrs from the primary key (all the other restrictions in your
    where clause are filters that are applied on SAP's side (not on the
    database side)). The problem is that bseg isn't stored as separated
    fields in the RDBMS, but as a table with the primary key and a stream of
    bits in a raw field.
    You should review and change the logic you're using before reading bseg.
    It's the only way you'll improve the performance of this select. (for
    example, you could use one or more secondary index tables - bi or ba
    to retrieve belnr and access bseg with a better where clause).

  • Default values set  for Tax data in material master

    Hi
    Can anyone tell me how to set default values for  TAx dat in sales view  while creating material master.
    so that it automatically take  values while creating material master.
    Regards
    Vijay Shukla

    Mary and Vijay,
    I probably understood your question wrong.
    I was somehow assuming you were referring to classification data.. Sorry abt that.
    The tax data gets populated automatically while creating the material master.
    Th key lies in configuration..  You would have to use Tcodes OVK1, OVK4 to define the material and the tax categories by country
    The tax data is populated by the assignment that you make in OVX6.. I believe.. assigning plants t Sales org. Th country code defined in the plant OX10 is used to determine the tax data and once you customize this part.. You should start seeing the tax data populate when you use that sales org while creating MM
    Hope this answers your query.
    Edited by: Pavan Kumar on May 2, 2008 8:10 AM

  • WHT tax not displaying in accounting document

    Hi
    I am trying to configure Withholding tax for AR process. I have attached the WHT tax type and code in the customer master. I try to create a debit note request, i do not get a popup which shows the WHT from the customer master for us to choose the appropriate WHT after which this reflects in a tab in the Sales order. After this when the billing is done and accounting documents are generated i am not able to see the tax showing up when i click on the icon withholding tax data. I have configured WHT condition type WCOD and assigned the same to the pricing procedure, i am able to see the condition record as statistical in the conditions tab in sales order.
    Thanks
    Govind

    Hi,
    Are you following the Std SAP Import process for the country?
    If its for India.
    Refer the link.
    http://help.sap.com/saphelp_470/helpdata/en/09/ebf138cdd78a4be10000000a114084/frameset.htm
    Harish

  • Cursor tips : refresh data fetched by the cursor within run time,discussion

    Hello there,
    May be what I am asking about is kind of weird, but here is the Q:
    let us assume that I have cursor defined as follows:
    cursor emp_cursor is
            select EMPNO, ENAME, deptno
            from emp
            where deptno = 10 ;
    emp_rec  emp_cursor%rowtype;  then inside the loop through the data fetched by this cursor, I need to update some records, which might match the criteria of the cursor, by trying the following code segment:
    open emp_cursor;
          loop
            fetch emp_cursor into emp_rec;
            exit when emp_cursor%notfound;
            "PROCESS THE RECORD'S DATA "
            DBMS_OUTPUT.Put_Line('count of the records: ' || emp_cursor%rowcount);
            DBMS_OUTPUT.Put_Line('deptno: ' || emp_rec.deptno);
            DBMS_OUTPUT.Put_Line('emp no: ' || emp_rec.empno);
            update emp
            set deptno = 10
            where empno= 7566;
            commit;
            DBMS_OUTPUT.Put_Line('after the update');
          end loop;
          close emp_cursor; but the run never shows the record of employee 7566 as one record of the cursor, may be this is the execution plan of the cursor,
    but for the mentioned case, need to re-enter those updated records to the cursor data, to be processed, ( consider that the update statement is conditioned so that not executed always)
    any hints or suggestion
    Best Regards,

    John Spencer wrote:
    Justin Cave wrote:
    Not possible. You'd have to close and re-open the cursor in order to pick up any changes made to the data after the cursor was opened.Then close and re-open it to get any changes made while processing the second iteration, then close and re-open it to get any changes made while processing the third iteration ad infinitum :-)I'm not claiming there are no downsides to the process :-)
    On a serious note, though, the requirement itself is exceedingly odd. You most likely need to rethink your solution so that you remove this requirement. Otherwise, you're likely going to end up querying the same set of rows many, many, many times.
    Justin

  • Start and stop data saving while running the vi

    Hi everybody!
    Maybe someone can help me on this topic:
    I
    would like to run a vi which displays voltage values on a waveform graph without saving the values automatically. But - while running the vi - I would like to have the option to
    save the data. That's why I created a switch (on: save data, off: don't
    save data). I wanted to wire the switch to a case structure, but I
    don't know where to put the case structure and the "open/create
    file-vi". If I put both into the while loop (where I write the data to
    the spreadsheet file) then - of course - it asks me with every run of
    the loop where to save the data.
    If I put the "open/create file-vi"
    outside the loop it asks me at the beginning of the application where
    to save the data, even though I maybe don't want to save data.
    I don't know if it's understandable what I mean:
    If
    I run then vi I would like to see the data without saving it first
    (on the waveform graph), then I maybe would like to save it, so I
    want to press a button to save the data. The vi should ask me where I
    want to save the data while still running. I would also like to stop
    saving data without stopping the run of the vi. Maybe I would like to
    save data to another file within the same run.
    Do you know what I mean?
    Thank you very much.
    Kind regards,
    Steffi

    Hi Steffi,
    your first solution was ok as long as you don't restart the vi without removing it from memory before.
    When loading the vi into memory the shift register (SR) is reset to zero and is keeping the value from last iteration.
    Now you initialized the SR in each iteration to zero, hence the 0-0.250 range of the time scale. To keep the last value you can use another SR as shown in the attachment or use some math based on the iteration count (start time= i * 0.25).
    You should only learn from this: initializing SRs makes your vi more reliable... A SR is nothing more than a variable in text based languages, so keep them initialized!
    Message Edited by GerdW on 11-07-2007 01:27 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    ekg2_mod.vi ‏394 KB

Maybe you are looking for

  • Problem transfering from iPod to iTunes

    Hi. I'm trying to transfer the music from my iPod to my iTunes. I have done this before on the same computer (Vista), and it has worked perfectly. However, this time for some reason when I tried to copy all of the files from the iPod folder into a Mu

  • Problem to open folders

    I have a Mac OS X intel (10.6.8) and always ran on the desktop a folder with several subfolders. Suddenly this folder, although that appear on the desktop, I can not open it, what could have happened and what I can do to recover the files in those fo

  • Rental movie download problems

    I I trie to download a movie ,it says it has downloaded buy won't let me play it

  • Manipulate data of a SQL SERVER 2000 database

    Problem: I need to manipulate data of a SQL SERVER 2000 database that it’s installed in a Windows from an oracle 8.1.7 database that is installed in a red hat linux server. This access has to be made in a procedure created in this Oracle instance.

  • Custom SRM workflow: task forwarded to last change author when approving.

    Hi experts. We encountered this strange behaviour when approving a Purchase Order, previously rejected. More precisely: the PO is created by user A, user B rejects it, user C approves it, then the same workitem sent to C is forwarded to B instead of