How to find out the condition type of the tax code in the PO document

Hi friends,
My questions is how to find out the condition type of the tax code in the PO document.
When you use me23n to display one PO document. In the invoice tab, there is one text field named 'tax code' whose value could be T1, T2, J1, J2 and so on. Beside the text field, there is one button named taxes. When you click the button taxes, it will show you the condition type of the tax code. For example, if the tax code is 'T1', then its condition type 'mwcn'.
I want to use the information on the PO to find out the value 'mwcn' of the tax code 'T1'. Could anybody help to describe the logic?it looks like the value is saved in the table konp. But I don't know the logic. Please describe. Thank you.

Hi,
Hope you have asked for select query..
select single knumh from a003 into wa_knumh
  where mwskz = wa_itpotab-mwskz
  and kappl = 'TX'
  and aland = 'IN'.
select single kbetr from konp into wa_kbetr
  where knumh = wa_knumh.
cheers,
Dep

Similar Messages

  • How to find out portlet instance type without using PortletInstanceInternal

    Does anyone know how to find out the instance type of a portlet using the API? The instance type corresponds to INSTANCE_TYPE column in PF_PORTLET INSTANCE table.

    Does anyone know how to find out the instance type of a portlet using the API? The instance type corresponds to INSTANCE_TYPE column in PF_PORTLET INSTANCE table.

  • How to find out what computers user logged on? (not at the moment but history)

    Domain Controller: Windows 2012 R2 - Unfortunately, I don't manage DC but my own OU (computers and users)
    I have a user working mid-night shift reporting that he received error message "The group policy client service fail the logon, access denied". He is using multiple PC and he did not remember which PC gave him the error message. How do I find out
    which computers he logged on? I have access to my domain OU. I can manage my own Computers and Users objects in my domain (no domain controller in my department)
    I searched internet but most of them are finding out which computer user is currently logging on - not the history, thanks.
    Thang Mo

    To fix this error, please follow the steps given below and check if it helps you to resolve the issue :
    1. Logon to the machine with a machine administrator account (assuming this issue is with a domain account, if not logon to the machine using another account with administrative privilege).
    2. Move the machine to a work-group from domain. (If it was part of one work-group then change it to another one or join a domain.) You could do this through Control Panel\System and Security\System and then Change Settings.
    3. Restart the machine and logon with a machine administrator account.
    4. Delete your user profile data (or move it a different location) completely from c:\users. "C" in my case is system directory but if you have a different one then use that one.
    5. Join the machine back to domain account (or to work-group that the machine was originally joined to), and restart the machine.
    6. Logon with your domain account that you were having trouble with. Keep fingers crossed.
    If all goes well, you should be logged on.
    Coming to the second query, if the user are in DC, you can try our free tool
    Lepide last logon reporter that will help you to get the logon details by specifying Domain Name/IP of the Domain Controller,  User Name, Common Name and Last Logon Time.
    Lepide - Simplifying IT Management

  • How to find out Mapping Loading type using db query

    Is there a way to find out mapping loading type using a database query.
    Is there a table in database which stores loading type information?
    Thanks,
    Niranjan

    hi,
    i found the below
    select
            comp.map_name
           ,comp.map_component_id             comp_map_component_id
           ,comp.operator_type                comp_operator_type
           ,comp.data_entity_id               comp_data_entity
           ,comp.data_entity_name             comp_data_ename
           ,comp.data_entity_type             comp_data_etype
           ,param.map_component_name          param_comp_name
           ,param.parameter_id                param_par_id
           ,param.parameter_name              param_par_name
           ,param.parameter_group_name        param_par_gr_name
           ,param.parameter_type              param_par_type
           ,param.position                    param_position
           ,param.data_type                   param_data_type
           ,param.transformation_expression   param_transform
           ,param.data_item_id                param_data_item_id
           ,param.data_item_name              param_data_item_name
           ,param.source_parameter_name       param_src_parameter
           ,nvl2(param.source_parameter_name,'TARGET','SOURCE') param_INFO
           ,param.map_component_id             param_map_component_id
           ,md.map_component_id                md_map_component_id
           ,md.map_component_name              md_map_component_name
           ,md.parameter_name                  md_parameter_name
           ,md.parameter_id                    md_parameter_id
           ,md.position                        md_position
           ,md.transformation_expression       md_transformation
           ,md.description                     md_description
           ,md.source_expression               md_source_expression
           ,mp.MAP_COMPONENT_ID                    mp_map_component_id
           ,mp.MAP_COMPONENT_NAME                  mp_map_component_name
           ,mp.PROPERTY_ID                        mp_property_id
           ,mp.PROPERTY_NAME                      mp_property_name
           ,mp.PROPERTY_GROUP_NAME                mp_property_group_name
           ,mp.BUSINESS_NAME                      mp_business_name
           ,mp.PROPERTY_VALUE                  mp_property_value
           ,mp.DESCRIPTION                     mp_description
    from all_iv_xform_map_components comp,
         all_iv_xform_map_parameters param,
         ALL_IV_XFORM_MAP_DETAILS md,
         ALL_IV_XFORM_MAP_PROPERTIES mp
    where  mp.business_name                  = 'DATAENTITY.PARMETERS.LOADTYPE'
    and  param.map_component_id           = comp.map_component_id
    and  param.map_component_id           = md.map_component_id(+)
    and  param.parameter_id               = md.parameter_id (+)
    and  md.map_component_id              = mp.map_component_id (+)i think it contains what we require;
    can you check on your side?
    rgds

  • Discount Condition type is picking Tax Code(URGENT)

    Dear All,
    I have a very serious problem on Condition types and Tax codes.
    I have configured the pricing procedure with two taxes (China).
    Sr.No   Condition Type    TAX Code
    1               VAT                  V7
    2.             CONC                V6
    Now, If i will give some Customer discount Condition type then System is picking picking Tax code as V7.For that i have not maintanied any Condition records in VK11.
    What should be the reason for this?
    Since it is very Urgent Issue,Please Guide me on the same
    Thanks
    Vinay

    Have you run the country installation program before you started the customisation. This is supposed to install the entire information required to configure the tax scenarios for the particular country. If you are trying to create the tax codes and the procedureson the vanilla system, then you need to work very closely with FI because the posting for tax is done from the tax procedure in FI. As an SD or MM consultant we are only interested in the Taxes on sales and purchases and their customisation. The procedure and the Tax codes are created in FI.
    This is the first thing that is normally done after you copy client 000 to start your customisation. The coountry installation program does not run if you ahve made changes to the client.
    regards
    Jude

  • How to find out background job type

    how to find background job type.all back ground work processes are in wait stutus.but the background jobs are didn't active.then what we will do

    if your background jobs do not start running while you have still enough background workprocesses (do i read your question right?) check the following:
    start one of the jobs or any report you know and proceed it in background mode. open a new mode and check in sm66 or sm50/51 whether your programm is running. if yes, you had a temporary problem which is no longer there. if no, do further analysis. check in sm21 if there's errors recorded. check the dev_w* files in AL11, depending on what you found out up to that point, a quick peek in other dev_files cannot hurt. anything significant? search SAPNet for clues ...

  • How to find out which Tables have been accessed without looking at the SQL query ?

    Hi,
    I would like to know is there a way to find out what queries have been executed and on which tables without looking at the SQL query.
    I have an old C++ code which calls some library functions to access the Oracle database. The source code for the library is not available to me yet. The functions selects/updates/deletes and inserts based on some input parameters I give. I do not know which tables it affects. How do I find out the actual SQL query and/or the tables it accesses ? I was told about V$SQL table that
    has the most recently executed queries, but
    I did'nt see any queries connected to my process.
    Could anybody help me on this ?
    Thanks
    Jagdeep
    [email protected]
    null

    PRECISE/SQL can help you if you have access to it
    2nd option can be that turn on SQL_TRACE
    Run executable of ur c++ program
    it will create a trace file in user_dump_dest
    and then using TKPROF u can see all quesries and their plan also.
    HTH
    Gagan Deep Singh
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by (jagdeeps):
    Hi,
    I would like to know is there a way to find out what queries have been executed and on which tables without looking at the SQL query.
    I have an old C++ code which calls some library functions to access the Oracle database. The source code for the library is not available to me yet. The functions selects/updates/deletes and inserts based on some input parameters I give. I do not know which tables it affects. How do I find out the actual SQL query and/or the tables it accesses ? I was told about V$SQL table that
    has the most recently executed queries, but
    I did'nt see any queries connected to my process.
    Could anybody help me on this ?
    Thanks
    Jagdeep
    [email protected]<HR></BLOCKQUOTE>
    null

  • How to find out my verizon account number and pass code?

    Recently I tried to port one Verizon prepaid cellphone number to another carrier. During the porting the carrier asked me to provide the Verizon account number and pass code. How can I get this info?
    Thanks.

    Just as SuzyQ stated, Verizon Prepaid account numbers should be your mobile number, and as for the passcode, unless changed should be the last 4 digits of your mobile number. If you need more assistance give customer service a call.

  • Tax value is not picked up correctly for the condition type in SO creation

    Hi All,
    I have a issue in Picking up Tax value correctly for the condition type in SO Creation.
    Actual Issue:
    When creating the sales order manually,
    tax value is picked up correctly for one condition type: ISS3.
    When the Sales Order is created via Idoc using the function module 'idoc_input_orders', tax value is not picked for same condition type: ISS3.
    We need to find out why the value for the condition type 'ISS3' is not picked in this way!
    Can anybody solve this issue!
    What can be the reason which is stopping picking up tax value for condition type: ISS3 when Sales Order is created via F.M 'IDOC_INPUT_ORDERS'! While it picked up the same while creating Sales Order manuallly.
    Thanks in advance.
    Thanks,
    Deep.

    Hi All,
    Can anybody give the solution for above posted issue!
    Working:
    When creating the sales order manually,
    tax value is picked up correctly for the condition type ISS3.
    Actual Issue:
    When the Order is created via Idoc using the function module 'idoc_input_orders',
    tax value is not picked .
    I need to find out why the value for the condition type 'ISS3' is not picked.
    I have debugged the issue from WE19 but upto Conditions tab it is picking up tax value but then it is becoming zero again it remains zero after saving SO.
    But Manually tax value is picked up for condition type ISS3 and remains same after saving order.
    I have debugged it several times fro WE19 but not able to find route cause for the issue.
    What can be the issue over here!
    Can anybody give me solution for the same!
    Thanks in advance.
    Thanks,
    Deep.

  • How to find out back end mapping program for Idoc ?

    HI Experts,
    Iam new to ALE IIDOCS .. i have a issue in existing idoc .
    Some data maping problem is there in the existing idocs
    I need to find out back end program for this perticular idoc  no .
    Exactly where they have written the maping code  .
    How to find out this ?
    is there any preceedure to trace the back end program based on the idoc number .
    Regards
    RameshG

    Hi Ramesh,
    If you are looking at Inbound que then we generally double click on idoc go to control datat info and then take partner data info there
    Goto we20 check teh system and there double click the message type and there in inbound option double clik the porcess code it gives you one FM where you can see logic written to process that IDOC
    Regards,
    Poornima

  • How to find out selected AssignedStory or Link?

    Hello to all,
    can anyone pls. explain how to find out which assigned story or link is selected at the time the script is fired.
    My problem is this: I would like to place an image into selected rectangle which is exported into .icml. So, for example, you have few exported rectangles and you would like to place an image into the one which is selected (through link or assignment panel). Because you can not select a rectangle in InCopy like you can in InDesign I tried to take a look through assigned stories...
                       For aCounter As Integer = 1 To myDocument.Assignments.Count
                            Dim myAssignment As InCopy.Assignment = myDocument.Assignments.Item(aCounter)
                            For sCounter As Integer = 1 To myAssignment.AssignedStories.Count
                                Dim myAssignedStory As InCopy.AssignedStory = myAssignment.AssignedStories.Item(sCounter)
                                Dim myStoryRef As Object = myAssignedStory.StoryReference
                                find out if assigned story or story reference is selected
                                'Rectangle
                                If TypeName(myStoryRef) = "Rectangle" Then
                                    Dim myObjectRectangle As InCopy.Rectangle = myStoryRef
                                    If myObjectRectangle.Graphics.Count = 0 And myObjectRectangle.Images.Count = 0 Then
                                        'CheckOut if needed
                                        'Place Media
                                    End If
                                End If
                            Next
                        Next
    Kind regards,
    Marko

    Well,
    I couldn't solve this without using a placeholder image. I found that you need to check if the selection is an image and than replace that image... So something like this below:
                    'Check if there is a selected image for relink
                    If myDocument.Selection.Count = 1 Then
                        If TypeName(myDocument.Selection.Item(1)) = "Image" Then
                            myImage = myDocument.Selection.Item(1)
                            myImageLink = myImage.ItemLink
                            Dim msgRet As MsgBoxResult = MsgBox("Would you like to relink selected image?", MsgBoxStyle.YesNoCancel, "Relink seleceted image?")
                            If msgRet = MsgBoxResult.Yes Then
                                        ' DO some action
                                        Dim MediaLink As String = something...
                                                'CheckOut action
                                                If myCheckOutMenu.AssociatedMenuAction.Enabled() Then
                                                    myCheckOutMenu.AssociatedMenuAction.Invoke()
                                                End If
                                                myImageLink.Relink(fileLink)
                                                Try
                                                    myImageLink.Update()
                                                Catch
                                                End Try
    Hope this helps.
    Regards,
    Marko

  • How to find out which sequence a certain column used?

    you konw column C in table T is created by a sequence.
    How to find out which sequence column C is using?

    In the meantime I think it ought to becompulsory to
    only assign sequence values in triggers.
    Why? I can see no good reason for this. I think it's a good idea to have stuff like this
    coded in only one placeI don't like your argument for compulsory using triggers for sequences for exactly the same reason as you, ie that I like to keep my code in one place. If I'm reading some pl/sql code which uses a sequence I like to see the fact that the sequence is used in the pl/sql code, rather than to check to see if theres a trigger on the table and then see which sequence that uses.
    "naming conventions can work, provided they're enforced. Alas, like other standards, they can only be enforced by active policing".
    Thats what code reviews are.
    " there is also the special case of one sequence populating more than one table...."
    This is My Pet hate. I don't think there's ever a case where this is absolutely necessary. Again code reviews
    Unfortunately I have to live with a system which does this.
    and I appreciate we can't all have code reviews, etc.

  • How to use outer join condition in my below query.

    Hi All,
    How to use outer join condition in my below query.
    In the table  APPS_JP.GEDIS_OFFER_HEADER goh I have more records
    in the table APPS_JP.GEDIS_ORDER_BUILDS gob I have less number of records.
    I want all the records from APPS_JP.GEDIS_OFFER_HEADER goh
    including other conditions.
    I have tried goh.OFFER_NO=gob.OFFER_NO(+) but same result.
    [code]SELECT   GOH.ORIG_SYSTEM,
               gsp.USER_NAME,
               goh.ORDER_NO,
               goh.OMEGA_ORDER_NUMBER,
               goh.ORDER_TYPE,
               gc.CUSTOMER_ID,
               gc.OMEGA_CUSTOMER_NUMBER,
               CASE WHEN gc.PRIVATE = 'N' THEN gc.CUSTOMER_NAME ELSE '' END
                  AS COMPANY_NAME,
               goh.ORDER_STATUS,
               goh.TOTAL_SELLING_PRICE,
               goh.TOTAL_MARGIN,
                  ga1.ADDRESS1
               || ','
               || ga1.ADDRESS2
               || ','
               || ga1.ADDRESS3
               || ','
               || ga1.POSTAL_CODE
               || ','
               || ga1.CITY
                  AS SHIPPING_ADDRESS,
                  ga2.ADDRESS1
               || ','
               || ga2.ADDRESS2
               || ','
               || ga2.ADDRESS3
               || ','
               || ga2.POSTAL_CODE
               || ','
               || ga2.CITY
                  AS BILLING_ADDRESS,
               ga.ADDRESS_ID,
               gol.DESCRIPTION,
               APPS_JP.TZ.to_local_date (goh.OFFER_DATE, goh.OFFER_DATE_UTC)
                  AS OFFER_DATE,
               gc.LEVEL_8,
               goh.NO_OF_BUILDS,
               gob.SFDC_ID,
               goh.PURCHASE_ORDER_NO AS PO,
               gc1.CUSTOMER_NAME AS END_USAGE,
               gol.LOB,
               goh.TOTAL_MARGIN_PCT,
               goh.TOTAL_DISCOUNT,
               goh.TOTAL_DISCOUNT_PCT
        FROM   APPS_JP.GEDIS_OFFER_HEADER goh,
               APPS_JP.GEDIS_ORDER_BUILDS gob,
               APPS_JP.GEDIS_ORDER_LINES gol,
               APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER gorc,
               APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER ship,
               APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER bill,
               APPS_JP.GEDIS_CUSTOMER gc,
               APPS_JP.GEDIS_CUSTOMER gc1,
               APPS_JP.GEDIS_CONTACT gct,
               APPS_JP.GEDIS_ADDRESS ga,
               APPS_JP.GEDIS_ADDRESS_NORM ga1,
               APPS_JP.GEDIS_ADDRESS_NORM ga2,
               (SELECT   DISTINCT SALESPERSON_ID, USER_NAME
                  FROM   APPS_JP.GEDIS_SALESPERSON
                 WHERE   SALESPERSON_ID IN
                               (SELECT   TO_NUMBER (COLUMN_VALUE) AS SALESPERSON_ID
                                  FROM   TABLE (APPS_GLOBAL.SplitString ('337309'))))
               gsp
       WHERE       goh.ORDER_NO <> 0
               AND goh.OFFER_NO <> 0
               AND goh.OFFER_NO=gol.OFFER_NO
               AND gol.BUILD_NO = 1
               AND gol.LINE_NO = 1
               AND goh.OFFER_NO=gob.OFFER_NO
               AND gob.BUILD_NO = 1
               AND goh.OFFER_NO = gorc.OFFER_NO
               AND gct.CONTACT_ID = gorc.CONTACT_ID
               AND ga.CUSTOMER_ID = gc.CUSTOMER_ID
               AND ga.PRIMARY = 'Y'
               AND goh.LEAD_SALESPERSON=gsp.SALESPERSON_ID
               AND goh.OFFER_NO = ship.OFFER_NO
               AND ship.RELATION_TYPE = 'SHIP'
               AND ga1.ADDRESS_ID = ship.ADDRESS_ID
               AND ga1.CUSTOMER_ID = gc1.CUSTOMER_ID
               AND goh.OFFER_NO = bill.OFFER_NO
               AND bill.RELATION_TYPE = 'BILL'
               AND ga2.ADDRESS_ID = bill.ADDRESS_ID
               AND goh.OFFER_DATE BETWEEN APPS_JP.TZ.LOCAL_TO_DB_DATE (
                                             SYSDATE - 30
                                      AND  APPS_JP.TZ.LOCAL_TO_DB_DATE (SYSDATE)
               AND gorc.RELATION_TYPE = 'BASE'
               AND gorc.CUSTOMER_ID = gc.CUSTOMER_ID
               AND goh.SALES_CHANNEL = gc.SALES_CHANNEL
               AND gc.SALES_CHANNEL = 'SMB'
               AND goh.LEAD_SALESPERSON IN (goh.CREATED_BY, goh.LEAD_SALESPERSON)
    ORDER BY   goh.OFFER_NO;[/code]
    Please help me how to use this outer join condition.
    Thanks in advance.

    Hi,
    If you want all the rows from goh, then you don't want any conditions like  goh.OFFER_NO <> 0.
    Make all the joins to goh outer joins, and make all conditions that apply to any tables joined to goh (or to tables joined to them) part of the join condition, like this:
    FROM             APPS_JP.GEDIS_OFFER_HEADER     goh
    LEFT OUTER JOIN  APPS_JP.GEDIS_ORDER_BUILDS     gob  ON   gob.OFFER_NO = goh.OFFER_NO
                                                         AND  gob.BUILD_NO = 1
    LEFT OUTER JOIN  APPS_JP.GEDIS_ORDER_LINES      gol  ON   gol.OFFER_NO = goh.OFFER_NO
                                                         AND  gol.BUILD_NO = 1
                                                         AND  gol.LINE_NO  = 1
    LEFT OUTER JOIN  APPS_JP.GEDIS_OFFER_RELATED_CUSTOMER
                                                    gorc ...
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Simplify the problem as much as possible.  For example, do you really need all those tables to show what the problem is?  Of course, you need them in tyour real query, but if you understand a solution that only involves 4 or 5 tables, you'll know how to apply it to any number of tables.
    Explain, using specific examples, how you get those results from that data.Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ https://forums.oracle.com/message/9362002#9362002

  • I lost my iPod touch 4th Gen. then how to find out my pod?

    I lost my iPod touch 4th Gen. then how to find out my pod?

    - If you previously turned on the FIndMyiPod feature and location service is on, and wifi is on and connected go to iCloud, sign in, and go to FindMyiPhone. It the iPod has been restored it will never show up.
    - Report to police and change the passwords fro all accounts used on the iPod.
    - Apple will not help
    Reporting a lost or stolen Apple product

  • Change the condition type based on sales document type

    Dear ALL,
    I have created a condition Zxxx which is a fixed calculation type for the documents created by the upload from external tool to SAP.  I created this condition because external tool is using a 15 place decimal which SAP doesn't allow and if the normal condition type Zyyy is used SAP calculates once in SAP and there are rounding issues.  What the Zxxx condition type does is accept whatever value is sent up from external tool to SAP, regardless of the quantity.  The problem is that whenever they create a credit with reference, in SAP and they want to do a partial credit, the Zxxx doesn't take the partial quantity into consideration and doesn't change the value. 
    Is there a way to force SAP to change the condition type from Zxxx to Zyyy based on sales document type without recalculating the whole document because that would again, cause rounding issues.  We would need to have the calculation done only on quantities changed in the credit memo request .
    please advice me. your inputs are highly appreciated.
    TIA
    KOGI

    Dear ALL,
    someone please help me with this issue. your inputs are higly helpful.
    TIA
    KOGI

  • Error at the time of cond. type deactivation in tax code

    Hi,
    I m facing a problem,when I go through tcode FTXP and try to deactive a one condition types from here.
    its showing below error:-
    System error: Error in routine
    CHANGE_CONDITION_MULTIPLE A003TXGST
    anybody have the suggestion regarding this...

    Hi,
    If youu2019re maintaining tax rate in FTXP, then no need to deactivate the related condition type, just remove the tax rate, keep as blank in FTXP OR if you maintain tax rate in FV11 for condition type, you can delete by with tax combination in FV12.
    But check other transaction already done before changing condition record for/ in tax code & not advisable for chnaging condition type with present tax code. If needed do not use the tax code & create a new tax code with your requirement with required condition type.
    Regards,
    Biju K

Maybe you are looking for