Finding out the sales tax type using the Fun. Module-ME_PO_PRICE_SIMULATION

HI,
   I have used the function module ME_PO_PRICE_SIMULATION to give the pricing details in one report.  In the same function module it is also giving the tax applicable for the vendor-material-site combination. ie., tax code and the tax. procedure. Is it possible to find out the Tax type using
this data ie,, if it is LST or CST

Hi ,
I think from the taxcode you can findout LST(or) CST
try
G.Ganesh Kumar

Similar Messages

  • Table to find out the function modules used in a particular program

    Hi,
    Is there any standard table to find out the function modules used in a particular program?
    Such as there is a table D010TAB to find out the tables used in a program .

    Hello
    There is no exist such table.
    But try this snippet:
    REPORT ZSEARCH.
    PARAMETERS: P_NAME LIKE D010SINF-PROG.
    DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA: TMP(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA: FUNCT TYPE RS38L_FNAM OCCURS 0 WITH HEADER LINE.
    DATA: INCL TYPE RSEUINC OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'RS_GET_ALL_INCLUDES'
         EXPORTING PROGRAM    = P_NAME
         TABLES    INCLUDETAB = INCL.
    LOOP AT INCL.
      READ REPORT INCL-MASTER INTO TMP.
      APPEND LINES OF TMP TO PROGTXT.
      REFRESH TMP.
    ENDLOOP.
    READ REPORT P_NAME INTO TMP.
    APPEND LINES OF TMP TO PROGTXT.
    LOOP AT PROGTXT.
      IF PROGTXT CS 'CALL FUNCTION'.
        SEARCH PROGTXT FOR ''''.
        IF SY-SUBRC = 0.
          DO.
            SHIFT PROGTXT LEFT BY 1 PLACES.
            IF PROGTXT(1) = ''''.
              SHIFT PROGTXT LEFT BY 1 PLACES.
              DO.
                SHIFT PROGTXT RIGHT BY 1 PLACES.
                IF PROGTXT+71(1) = ''''.
                  SHIFT PROGTXT RIGHT BY 1 PLACES.
                  CONDENSE PROGTXT.
                  FUNCT = PROGTXT. COLLECT FUNCT. EXIT.
                ENDIF.
              ENDDO.
              EXIT.
            ENDIF.
          ENDDO.
        ENDIF.
      ENDIF.
    ENDLOOP.
    SORT FUNCT.
    LOOP AT FUNCT.
      WRITE: FUNCT. NEW-LINE.
    ENDLOOP.

  • How to find out the Functional module related to a T-code

    Hi All ,
    Please tell how to find out the Functional module related to a T-code.
    i want it for the T-code RSZDELETE.

    Hi
    There is no direct way to see this.
    You need to Pick the Program(Se37/38) and tables (SE16/11)and to see where its been used
    The FM for RSZDELETE is RSZ_DB_COMP_REORG_AS_POPUP.
    Hope it helps

  • Reg:finding out the function module to manager of organization unit

    Hi Experts,
    Is there any function module for finding out the Manager to organization unit.

    RH_GET_LEADING_POSITION gives you the position of the manager

  • 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

  • Which table i can use to find out the condition type in PO item ?

    Hello, erveryone. Which table i can use to find out the condition type in PO item ? Thank you.
    Xinzhou.

    hi
    The Table name used to find the Tax Values are
    KOMV: Pricing Communications-Condition Record
    KONV: Conditions (Transaction Data)
    From the above tables you can refer the fields below.
    KAWRT
    KBETR
    for excise check table J_1IEXCHDR for header
    J_1IEXCDTL for item excise
    Fetch the corresponding records based on the field
    KNTYP
    regards
    kunal

  • How to find out the Transactions used per month & the USER who used that

    Hi,
    1)How to find out the Transactions used per month & the USER who used that?
    2)and can i get the above same for minimum 20 month?
    System : SAP- Enterprise Core Component.

    You can use my program...
    *& Report  Z_ABAP_TCODE_MONITOR
    *****&  Program Type          : Report                                 *
    *****&  Title                 : Z_ABAP_TCODE_MONITOR                   *
    *****&  Transaction code      : ZTCODE_USAGE                           *
    *****&  Developer name        : Shailendra Kolakaluri                  *
    *****&  Deveopment start date : 26 th Dec 2011                         *
    *****&  Development Package   : ZDEV                                   *
    *****&  Transport No          : DEVK906086                                       *
    *****&  Program Description   : This program is to display
    *List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    *& Modification history
    REPORT  Z_ABAP_TCODE_MONITOR.
    *& List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    TYPE-POOLS : slis.
    DATA: ind TYPE i,
          fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          layout TYPE slis_layout_alv,
          variant TYPE disvariant,
          events  TYPE slis_t_event WITH HEADER LINE,
          heading TYPE slis_t_listheader WITH HEADER LINE.
    *REPORT  z_report_usage.
    TYPES: BEGIN OF zusertcode,
      date   TYPE swncdatum,
      user   TYPE swncuname,
      mandt     TYPE swncmandt,
      tcode     TYPE swnctcode,
      report TYPE swncreportname,
      count     TYPE swncshcnt,
    END OF zusertcode.
    *data   : date type n.
    DATA: t_usertcode  TYPE swnc_t_aggusertcode,
          wa_usertcode TYPE swncaggusertcode,
          wa           TYPE zusertcode,
          t_ut         TYPE STANDARD TABLE OF zusertcode,
          wa_result    TYPE zusertcode,
          t_result     TYPE STANDARD TABLE OF zusertcode.
    PARAMETER: month TYPE dats DEFAULT sy-datum.
    *PARAMETER: date TYPE dats.
    *select-options : username for wa_usertcode-account.
    START-OF-SELECTION.
    PERFORM get_data.
    PERFORM get_fieldcatalog.
      PERFORM set_layout.
    PERFORM get_event.
    PERFORM get_comment.
      PERFORM display_data.
    FORM get_data .
    *date = sy-datum - 2 .
    After start-of-selection add this line (parameter Month required 01 as day).
      concatenate month+0(6) '01' into month.
      CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
        EXPORTING
          component     = 'TOTAL'
          ASSIGNDSYS    = 'DEV'
          periodtype    = 'M'
          periodstrt    = month
        TABLES
          usertcode     = t_usertcode
        EXCEPTIONS
          no_data_found = 1
          OTHERS        = 2.
      wa-date  = month.
    *wa-date  = date.
      wa-mandt = sy-mandt.
    wa_usertcode-account = username.
      LOOP AT t_usertcode INTO wa_usertcode.
        wa-user = wa_usertcode-account.
        IF wa_usertcode-entry_id+72 = 'T'.
          wa-tcode  = wa_usertcode-entry_id.
          wa-report = space.
        ELSE.
          wa-tcode  = space.
          wa-report = wa_usertcode-entry_id.
        ENDIF.
        COLLECT wa INTO t_ut.
      ENDLOOP.
      SORT t_ut BY report ASCENDING.
      CLEAR: wa, wa_result.
    endform.
    FORM get_fieldcatalog .
    fcat-tabname     = 't_ut'.
    fcat-fieldname   = 'DATE'.
    fcat-seltext_l   = 'Date'.
    fcat-key         = 'X'.
    APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'MANDT'.
      fcat-seltext_l   = 'Client'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'USER'.
      fcat-seltext_l   = 'User Name'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'TCODE'.
      fcat-seltext_l   = 'Transaction Code'.
      fcat-key         = 'X'.
      APPEND fcat.
    ENDFORM.
    *&      Form  SET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM set_layout .
      layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_event .
    events-name = slis_ev_top_of_page.
    events-form = 'TOP_OF_PAGE'.
    APPEND events.
    *ENDFORM.                    " GET_EVENT
    **&      Form  GET_COMMENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_comment .
    DATA: text(30).
    text = 'Billing Report'.
    heading-typ = 'H'.
    heading-info = text.
    APPEND heading.
    *ENDFORM.                    " GET_COMMENT
    **&      Form  top_of_page
          text
    -->  p1        text
    <--  p2        text
    *FORM top_of_page .
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         it_list_commentary       = heading[]
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    *ENDFORM.                    " top_of_page
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      sort t_ut[].
    DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          is_layout          = layout
          it_fieldcat        = fcat[]
          i_save             = 'A'
          is_variant         = variant
          it_events          = events[]
        TABLES
          t_outtab           = t_ut
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " DISPLAY_DATA

  • How can I find out the current platform type?

    Hello,
    I want to find out the platform type (in the format of v$transportable_platform.platform_type) of a running Oracle instance (on 10g2 and 11g1). The v$transportable_platform shows a list of all supported platforms, and I want only the type that is encoded in the datafiles - v$datafile does not provide me such information.
    Thank you,
    Adrian

    AdrianM wrote:
    Hello,
    I want to find out the platform type (in the format of v$transportable_platform.platform_type) of a running Oracle instance (on 10g2 and 11g1). The v$transportable_platform shows a list of all supported platforms, and I want only the type that is encoded in the datafiles - v$datafile does not provide me such information.
    Thank you,
    AdrianDear Adrian, use the following query:
    select PLATFORM_NAME from v$database;

  • How to find out the used space and free space in the DB for attachments

    Hi,
    In CRM 5.2 web UI, we can save a transaction by saving attachments like work documents or text files.
    Could someone help me find out the used space, free space, maximum capacity on the CRM DB for these attachments.
    Thanks & Best Regards,
    Ramesh.

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • How to find out the idoc type required for our requirement

    Hi,
         How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
    Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
    Points will be given for the useful answers
    Thanks,
    Prasanna

    Hi prasanna,
                    we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
    For example we want idoc type for account invoice receipt.
    First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
    Get this message type and search in we82  where we can find message type and idoc type linkage.
    try this way.
    Reward if it is usful.
    Thanks,
    Srikanth.A

  • How to find out the parameter type of a parameterized object?

    Hi,
    I've got a list containing instances of a parameterized class. The parameters of the instances can be different. When using the instances, I need to know the types of the parameters. How can I find them out?
    Regards,
    Frank

    Look at the first item in the List and see what it is?
    I'm not trying to be funny. Generic information is compile time only, the types of the parameters are not generally available at run time.
    You can find out the bounds on the types, if any, but not the actual types.
    AndyT

  • How to find out the font type?

    Is it possible to find out the type of the used fonts(like Open type (or) true type) in illustrator cs3 file through programmatically. Kindly share with me the possibilities and solution.
    Thanks...

    You can't consistently, but a lot of files have identifying characteristics in the first few bytes that make it easier.
    There are utilities to do this, but I could have sworn that someone wrote a Java library to do it as well. As always, I suggest that you poke around http://jakarta.apache.org/commons/
    Or do a Google if Jakarta doesn't pan out.
    Message was edited by:
    paulcw

  • Please let me know a good query to find out the memory being used in DB

    Hi All,
    We are using Automotic memory management by using parameter memory_target option. I want to find out the total memory being used and which is free.
    ie;(SGA+PGA). Please let me know.
    Thanks & Regards,
    Vikas Krishna

    Since we are using memry_target we will not get an accurate value there I guess.
    SQL> show parameter memory
    NAME TYPE VALUE
    hi_shared_memory_address integer 0
    memory_max_target big integer 12G
    memory_target big integer 12G
    shared_memory_address integer 0
    SQL> select round(used.bytes /1024/1024 ,2) used_mb
    2 , round(free.bytes /1024/1024 ,2) free_mb
    3 , round(tot.bytes /1024/1024 ,2) total_mb
    4 from (select sum(bytes) bytes
    5 from v$sgastat
    6 where name != 'free memory') used
    7 , (select sum(bytes) bytes
    8 from v$sgastat
    9 where name = 'free memory') free
    10 , (select sum(bytes) bytes
    11 from v$sgastat) tot;
    USED_MB FREE_MB TOTAL_MB
    1660.92 378.71 2039.62
    Thanks & Regards,
    Vikas Krishna

  • How to find out the updates using query which has done in Discoverer Admin

    Hi All,
    I have done some updates in Discoverer Admin like add field in some folders and rename...I want to know the updates which has been done in the front end using sql query.
    Could any one please tell me is there any query to find out the updates in Discoverer admin.
    Thanks,
    Kamal

    Hi Siddarth,
    Solution :
            1) Go to SE16 - Table Name : EKBE (PO History)
            2) Field - BUDAT (Posting Date)
            3) Transaction event Type:
                             - 1 (Only GR's )
                             - 2 (Both GR and IR)
            4) We can fetch both GR Numbers and also PO Numbers for which IR has not been done if transaction event - 1.
    In addition to MB5S, you can try this also...

  • Issue with find out the pageItem type

    Hi all,
    i am trying to find out the all pageitem's type and its data on a document .i just use the following code to find out the pageitem's type .
    InterfacePtr<ISpreadList> spreadList(document, UseDefaultIID());
            ASSERT(spreadList);
            if(!spreadList) {
                break;
            UIDList frameList(database);
            int32 spreadCount = spreadList->GetSpreadCount();
            for (int32 spreadIndex = 0; spreadIndex < spreadCount; spreadIndex++ )
                UIDRef spreadUIDRef(database, spreadList->GetNthSpreadUID(spreadIndex));
                InterfacePtr<ISpread> spread(spreadUIDRef, UseDefaultIID());
                ASSERT(spread);
                if(!spread) {
                    break;
                int32 numberOfPages = spread->GetNumPages();
                for (int32 nPage = 0; nPage < numberOfPages; nPage++ )
                    UIDList pageItemList(database);
                    spread->GetItemsOnPage
                     nPage,
                     &pageItemList,
                     kFalse,
                     kFalse 
                    bool16 hasContent;
                    int32 pageItemListLength = pageItemList.Length();
                    for (int32 j = 0; j < pageItemListLength; j++ )
                        UIDRef pageItemRef = pageItemList.GetRef(j);
                        InterfacePtr<IGraphicFrameData> graphicFrameData(pageItemRef, UseDefaultIID());
                        hasContent =graphicFrameData->HasContent();
                        InterfacePtr<IPathGeometry> pathGeometry(pageItemRef,UseDefaultIID());
                        if (pathGeometry != nil)
                           PMPageItemType pathType = Utils<IPathUtils>()->WhichKindOfPageItem(pathGeometry); //issue is this statement simply break up the execution
                            switch (pathType)
    please can any one help me? 

    Hi Pickory
    i have tried the following code ,but it doesnt works
    UIDList pageItemList(database);
                                            spread->GetItemsOnPage
                                             nPage,
                                             &pageItemList,
                                             kFalse,
                                             kFalse
                      bool16 hasContent;
                                            int32 pageItemListLength = pageItemList.Length();
                                            for (int32 j = 0; j < pageItemListLength; j++ )
                                                      UIDRef content = pageItemList.GetRef(j);
                           InterfacePtr<IGraphicFrameData> graphicFrameData(content, UseDefaultIID());
                                            InterfacePtr<IGeometry> frameGeom(graphicFrameData, UseDefaultIID());
                                            PMMatrix inner2parent = ::InnerToPasteboardMatrix(frameGeom);
                        PMRect   r = frameGeom->GetStrokeBoundingBox(inner2parent);
    any thing need to be included?

Maybe you are looking for