How to pass the tax details for the PO in me23n to script??

Hi friends,
I have a requirement to display the tax details for every line item of the PO in PO layout through script.  Here I am gettin the tax details value for Purchase Order from the transaction ME23N. In   this transaction, there is tab called invoice, when you click the tab, you will get the tax details. I need to print this details in the my PO layout. I checked in the technical field, the values are getting from the structure KOMVD. I tried to pull the value from the structure itself, but I am getting only Gross price. I am not able to display the taxes details in the layout. I need the condition type value and name and amount field also.
Please help me how to achieve this.<< priority reduced>>
I would appreciate the replies.
Thanks in advance.
Please let me know if you need anything more.
Regards,
Ahamed.
Edited by: Rob Burbank on Oct 11, 2011 3:42 PM

Hi
You can Try with Tables EKPO AND BSET.
Regards
Ajit

Similar Messages

  • Error!! Can not find the delivery details for the delivery Id :

    hi all,
    I have a report which i need to burst in seven different reports wherein my delivery key is column "emp_id". Now when i schedule the report to burst then the report completes with a warning. I see that there are various delivery cycles for the report and for one of the cycles i get the following message
    Error!! Can not find the delivery details for the delivery Id :
    hence, what happens due to this is, even there are successful deliveries for other delivery ids but then i get only two rows of data in each of the seven bursted ouput xls files. wheareas the data runs in thousands of rows for each cycle.
    Hence whats happening is, that due to error /warning in one of the delivery cycles other reports are also not showing data.
    I am not sure whats causing the issue and why i am not getting complete bursted files out.
    Please suggest
    Thanks
    Ronny

    I guess, you are in 10.1.3.3.2 :),
    in the latest release 10.1.3.4.1, there are more enhancement wrto bursting and performance i believe.
    check th release notes
    can you send me the xml and bursting query you have, i can try simulating in my local.

  • Reg: In Which Table Tax Details for the invoice are stored

    Team,
    Can you please help me in which table : tax information for the invoice is stored.
    I need the following tax : QST_PAID_AMOUNT ,GST_PAID_AMOUNT, GST_CONTRA_AMOUNT information for invoice.
    Thanks.

    Hello Vinay,
    Here's the answer -
    select single *
      from SEOMETAREL
    where clsname = 'CL_BBBB'
       and reltype = '2'.
    The class for which you want to find the superslass will be the field CLSNAME, the superclass itself will be REFCLSNAME and this inheritance relationship is specified through the parameter RELTYPE.
    I don't think any further explanation is necessary.
    Regards,
    Anand MAndalika.
    p.s. Please do reward the points if this answer has helped you.

  • How to get the tax data for the material in the Sales:sales org.1 view 1?

    as the title,many thanks!

    Hi,
    the TAX details are stored in table  TSKM  ---> Material Taxes
    You can find field TAKLV  --->  Tax classification of the material in MARA table .
    You need to link MARA-TAKLV  and TSKM-TAXKM field .
    Best regards,
    raam

  • How to find out the User Details for the particular transaction

    Hi,
    Actually AJAB -Asset Year closing was done by One User.How and Where to find out the User details who executed the Transaction.Kindly tell me the T-code for this.
    Thanks
    Sap Guru

    Hi:
    Please contact you basis administrator.Give him the T.code and date when Year closing was done. He may resolve your problem.
    Please let me know if you need more information,
    Assign points if useful.
    Regards
    MSReddy

  • Function module to display the card details for the tcode BCA_CN_card_03

    HI all,
       I need to know the function modules to create the card data  and also to display the card details in accounts management in CRM.
    Points will be awarded.
    Thanks and regards,
    vinoth.

    1 BUPA_ADDRESS_GET_DETAIL
    2 BUPA_IDENTIFICATION_GET_DETAIL
       BUPA_IDENTIFICATIONDETAILS_GET
    3  BUPA_TAX*
    4,5 BUPA_PCARD*

  • Hi experts . how can we know the stock details for a perticular plant?

    hi experts . how can we know the stock details for a perticular plant

    check this code
    REPORT  YSG_MATSTK_REP    LINE-SIZE 220
                              LINE-COUNT 50(5).
    *&                       DATA DECLARATION                              *
    TABLES: MARA,              "GENERAL MASTER DATA
            MARC,              "PLANT DATA FOR MATERIAL
            MARD,              "STORAGE LOCATION DATA FOR MATERIAL
            MBEW,              "MATERIAL VALUATION
            MVKE,              "SALES DATA FOR MATERIAL
            MAKT.              "MATERIAL DESCRIPTION
    DATA: BEGIN OF I_MARA OCCURS 0,
               MATNR LIKE MARA-MATNR,"MATERIAL NUMBER
               MBRSH LIKE MARA-MBRSH,"INDUSTRY SECTOR
               MEINS LIKE MARA-MEINS,"BASE UNIT OF MEASURE
          END OF I_MARA.
    DATA: BEGIN OF I_MARC OCCURS 0,
              MATNR LIKE MARC-MATNR,"MATERIAL NUMBER
              WERKS LIKE MARC-WERKS,"PLANT
              LVORM LIKE MARC-LVORM,"FLAG MATERIAL FOR DELETION AT PLANT
                                    "LEVEL
              PSTAT LIKE MARC-PSTAT,"MAINTENANCE STATUS
              DISPO LIKE MARC-DISPO,"MRP CONTROLLER
          END OF I_MARC.
    DATA: BEGIN OF I_MAKT OCCURS 0,
               MATNR LIKE MAKT-MATNR,"MATERIAL NUMBER
               MAKTX LIKE MAKT-MAKTX,"MATERIAL DESCRIPTION
          END OF I_MAKT.
    DATA: BEGIN OF I_MVKE OCCURS 0,
               MATNR LIKE MVKE-MATNR,"MATERIAL NUMBER
               VKORG LIKE MVKE-VKORG,"SALES ORGANIZATION
               VTWEG LIKE MVKE-VTWEG,"DISTRIBUTION CHANNEL
          END OF I_MVKE.
    DATA: BEGIN OF I_MARD OCCURS 0,
               MATNR LIKE MARD-MATNR,"MATERIAL NUMBER
               LGORT LIKE MARD-LGORT,"STORAGE LOCATION
               LABST LIKE MARD-LABST,"VALUATED STOCK WITH UNRESTRICTED USE
          END OF I_MARD.
    DATA: BEGIN OF I_OUT OCCURS 0,
            MATNR LIKE MARC-MATNR,
            WERKS LIKE MARC-WERKS,
            LVORM LIKE MARC-LVORM,
            PSTAT LIKE MARC-PSTAT,
            DISPO LIKE MARC-DISPO,
            MBRSH LIKE MARA-MBRSH,
            MEINS LIKE MARA-MEINS,
            MAKTX LIKE MAKT-MAKTX,
            VKORG LIKE MVKE-VKORG,
            VTWEG LIKE MVKE-VTWEG,
            LGORT LIKE MARD-LGORT,
            LABST LIKE MARD-LABST,
          END OF I_OUT.
    DATA : TOT TYPE I. " TOT - TOTAL TO PRINT STOCK
    *&                   S E L E C T I O N - S C R E E N                   *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-100.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY.
    PARAMETERS: P_WERKS LIKE MARC-WERKS OBLIGATORY.
    SELECT-OPTIONS: S_LGORT FOR MARD-LGORT,
                    S_DISPO FOR MARC-DISPO.
    SELECTION-SCREEN END OF BLOCK B1.
    *&                  I N I T I A L I Z A T I O N                      *
    INITIALIZATION.
      S_MATNR-SIGN = 'I'.
      S_MATNR-OPTION = 'EQ'.
      S_MATNR-LOW = 'M-14'.
      S_MATNR-HIGH = 'M-18'.
      P_WERKS = '3000'.
      S_LGORT-SIGN = 'I'.
      S_LGORT-OPTION = 'EQ'.
      S_LGORT-LOW = '0001'.
      S_LGORT-HIGH = '0004'.
      S_DISPO-SIGN = 'I'.
      S_DISPO-OPTION = 'EQ'.
      S_DISPO-LOW = '001'.
      S_DISPO-HIGH = '002'.
      APPEND S_DISPO.
      APPEND S_LGORT.
      APPEND S_MATNR.
      CLEAR S_DISPO.
      CLEAR S_LGORT.
      CLEAR S_MATNR.
    *&             S T A R T - O F - S E L E C T I O N                     *
    START-OF-SELECTION.
      SELECT MATNR WERKS LVORM DISPO FROM MARC
      INTO CORRESPONDING FIELDS OF TABLE I_MARC
                          WHERE WERKS EQ P_WERKS
                          AND MATNR IN S_MATNR
                          AND DISPO IN S_DISPO
                          AND WERKS = P_WERKS.
      IF I_MARC[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARC'.
        EXIT.
      ENDIF.
      SELECT MATNR LGORT LABST FROM MARD INTO TABLE  I_MARD
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR
                          AND WERKS EQ P_WERKS
                          AND LGORT IN S_LGORT.
      IF I_MARD[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARD'.
        EXIT.
      ENDIF.
      SELECT MATNR VKORG VTWEG FROM MVKE INTO TABLE I_MVKE
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR.
    IF I_MVKE[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MVKE'.
        EXIT.
      ENDIF.
      LOOP AT I_MARC.
        MOVE-CORRESPONDING I_MARC TO I_OUT.
        CLEAR MARC.
        SELECT SINGLE MATNR MBRSH MEINS FROM MARA
                         INTO CORRESPONDING FIELDS OF MARA
                         WHERE MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MARA-MBRSH TO I_OUT-MBRSH,
                MARA-MEINS TO I_OUT-MEINS.
        ELSE.
          CONTINUE.
        ENDIF.
        SELECT SINGLE MATNR MAKTX FROM MAKT
                        INTO  CORRESPONDING FIELDS OF MAKT
                        WHERE  MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MAKT-MAKTX TO I_OUT-MAKTX.
        ELSE.
          CONTINUE.
        ENDIF.
        LOOP AT I_MARD WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MARD-LABST TO I_OUT-LABST,
                I_MARD-LGORT TO I_OUT-LGORT.
          APPEND I_OUT.
        ENDLOOP.
        LOOP AT I_MVKE WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MVKE-VKORG TO I_OUT-VKORG,
                I_MVKE-VTWEG TO I_OUT-VTWEG.
          APPEND I_OUT.
        ENDLOOP.
        CLEAR I_OUT.
      ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME = 'C:\matstk.TXT'
       FILETYPE                        = 'ASC'
      TABLES
        DATA_TAB                        = I_OUT.
    *&                  T O P - O F - P A G E                              *
    TOP-OF-PAGE.
      WRITE:/ 'DATE:' ,SY-DATUM.
    *&                  E N D - O F - P A G E                              *
    END-OF-PAGE.
      WRITE: / SY-ULINE,
             /100 'PAGNO: ',SY-PAGNO,
             SY-ULINE.
    *&        E N D -- O F --  S E L E C T I O N                           *
    END-OF-SELECTION.
      LOOP AT I_OUT.
        AT FIRST.
          WRITE :/ 'MATERIAL EXTRACTION REPORT',
                   SY-ULINE.
        ENDAT.
        WRITE:/    SY-VLINE,
                   I_OUT-MATNR,SY-VLINE,
                   I_OUT-MEINS,SY-VLINE,
                   I_OUT-WERKS,SY-VLINE,
                   I_OUT-LVORM,SY-VLINE,
                   I_OUT-PSTAT,SY-VLINE,
                   I_OUT-DISPO,SY-VLINE,
                   I_OUT-MBRSH,SY-VLINE,
                   I_OUT-MAKTX,SY-VLINE,
                   I_OUT-VKORG,SY-VLINE,
                   I_OUT-VTWEG,SY-VLINE,
                   I_OUT-LGORT,SY-VLINE,
                   I_OUT-LABST,SY-VLINE.
        TOT = TOT + I_OUT-LABST.
        AT NEW MATNR.
          WRITE : 'NEW RECORD',
                   SY-VLINE.
        ENDAT.
        AT END OF LABST.
          WRITE : 'STOCK = ',
                   TOT,
                   SY-VLINE,
                   SY-ULINE.
        ENDAT.
        AT LAST.
          FORMAT COLOR 7 INTENSIFIED OFF.
          WRITE : /159 'TOTAL STOCK = ',
                     TOT.
        ENDAT.
      ENDLOOP.
        WRITE : /159 'TOTAL STOCK = ',
                     TOT.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How to find component details for the equipment BOM

    Dear All ,
    I have a requirement ..I need to find all the component numbers for the equipment BOM. Can anybody pls help me in finding a table containing this information. I check in tcode IB02,IB03 but I am not able to find the database table containing this information.
    Regards,
    sap_code.

    Hi, Main table for equipment BOM is EQST. You can get the details from STPO (Item) and STKO (Header). You can use the FM CSAI_BOM_READ. Here u need to pass the header details and CSIN-STLTY = E " Equipment BOM.
    Thanks
    Subhankar

  • How to chk the patch details for BEx Analyser

    Hello Friends,
    Could you please tell me how to chk the patch details for BEx Analyser
    Thanks,
    Srini

    Hello again,
    Search for a file in your computer named "BExAnalyzer.xla".
    Right-click on it and choose "Properties".
    Go to the third tab named "Custom".
    You'll see below on that tab a place called "properties" with the version.
    There you go.
    Diogo.

  • How to implement the Tax Data for Material Master IN MDM

    Hello  Experts,
    The MDM 7.1 standard business content does not ship the content required for TAX data implementation. We need to include this however for Material/Vendor/Customer.
    We have alraedy tried the approach of a multivalued lookup table for TAX fileds (Plant,Country,Tax Type, Tax Category, Tax Classfn) and linked it to the Sales DAta Qualified Table.
    but this does not satisfy the interdependencies of SAP ERP  i.e Sales Org-> Distribution Channel-> Plant-> Departure Country-> Tax Type-> Tax classification. We intend to implement this same relation in MDM.
    Kindly guide as to what would be the right approach. Can a qulalified lookup for Tax data be helpful for this scenario?
    Also can anyone secify the correct table or T-Code where we can find this entire dependency in ECC?
    Thanks in advance,
    Elizabeth.

    Hi Elizabeth, hi Shiv,
    as long as you're using MDM for consolidation and harmonization only, you could add the tax information. As for customers (for example), you maintain tax indicators as a child of the sales area. This means for MDM that you need to include the tax indicators in the sales data tuple. As tax indicators are repeatable records, you need to create a nested tuple for that.
    But as Shiv has correctly mentioned, the tax information itself is quite complex in regards to which tax information must be maintained depending on e.g. the country and/or sales area. In MDM it is hardly possible to predefine any mandatory values like it is possible in ERP. So if you plan a central creation of data, you'll most probably have to invest a lot into the correct validations to ensure that you create correct data. Still it needs to be closely investigated if you can do this with the MDM functionality or if you need some external API programming to do the job.
    Best regards
    Michael

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • How to pass arguments from PAPI to the process

    Can any one tell me How to pass arguments from PAPI to the process.

    The link Creating a new work item instance in a process using PAPI shows how to create instances on PAPI and pass in the variable information as they are being created.
    Provide some additional detail if you're interested in seeing how to pass in variable information using PAPI for scenarios other than instance creation.
    Dan

  • BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?

    Hi All.
    I have this request.
    BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?
    We have jobs scheduled on BODS running smoothly and absolutely fine.
    But to check, i am logging into the admin console and check for the jobs status.
    I would like to have an email to be received from BODS after each job is finished.
    It could succuessful. Or it could fail.
    Whatsoever, i wish to receive an email alert as soon as a job is finished.
    Can anyone advise me as to whether this could be made possible.
    And if yes, how this could be done.
    Thanks for your help in advance.
    In BOE CMC / for webi / schedule / we find an option to send email for a job success or a job failure.
    Is there any option similar to that in BODS ?
    Also would like to know :
    how to use the smtp_to or mail_to functions ?
    how to set up the smtp server for this ?
    thanks
    REgards
    indu
    Edited by: Indumathy Narayanan on May 31, 2011 3:47 PM

    Hi.
    Since am new to this BODS. I need some help.
    I already have many jobs which are running absolutely fine.
    And when a job runs, and finishes, am able to see the trace saying
    e.g. :
    Job_abc is completed successfully.
    We got the smtp service activated for our test server.
    and we hae a group email id.
    I have put the details of the smtp server / ip address / and said apply restarted.
    The i created a simple test script as below :
    print (' Before email ' );
    smtp_to('abc@company_name.com', 'Job ' || job_name() ||' on ' || host_name() || ' has FAILED',
    ' the job has failed', 0, 0);
    print('After Email ');
    It does send a email to as per smtp_to whatever email is specified.
    But how to differentiate between a job success
    And a job which has failed.
    I wish to have a mail which says on the subject :
    'Job ' || job_name() ||' on ' || host_name() || ' has completed successfully'
    ==> IF it is a success
    OR
    'Job ' || job_name() ||' on ' || host_name() || ' has failed'
    ==> if it has failed
    How to make the system identify, whether
    to send a success message or a error message whatever
    Could anyone advise.
    thanks
    indu

  • How to create the Access sequence for the Vendor+material+plant combination

    Hi all
    Please let me know How to create the Access sequence for the Vendormaterialplant combination..
    Whats the use? What its effect in purhcase and taxe..
    brief me please

    Hi,
    you are asked to maintain the access sequence for the tax condition for which you are putting 7.5%.
    goto OBQ1 or img..financial accounting new...global settings.... taxes on sales and purchases ......basic settings.....
    find the tax condition type. see in it which access sequence is attached.
    if there is none then use JTAX used for taxes in India.
    or you can create the similar one for your.
    to create the same goto OBQ2.
    new entry or copy JTAX.
    and assign the access sequence to condition type.
    this will resolve your problem if you just need to assign the access sequence.
    regards,
    Adwait Bachuwar

  • How to add a new tab for the project?

    Dear All Experts,
        Could you tell me how to add a new tab for the project?
        Pls refer to the screenshot as below:
    Thanks!
    Xinling Zhang

    Hi,
        The new tab in cj20n , and the new tab can only be displayed in the highed level.Pls refer to below
        And in cj02, there is no this tab also in the wbs detailed screen,
    Thanks!
    Xinling

Maybe you are looking for

  • Bluetooth in new Sequoia - does it work or not?

    I was just wondering if anyone out there has a new Toyota Sequoia with built-in bluetooth AND a first generation iPhone with 2.0. I need to know if anyone can tell me with certainty if this vehicle will still connect with the iPhone's bluetooth after

  • ITunes 9 grid view background color?

    It seems iTunes 9 has changed the background color of grid view from black to white. How can I change it back? I can't find anything in preferences or the iTunes help manual. Thank you for the help

  • How to print with inverse printing on HP8150

    Hi,  we have an HP 8150 lazerjet and require the ability to print a white number within a black square.  The printer is connected to an HP9000 running HP-UX. The final image would have to be approximately 3/4" square. Control of the printer has been

  • Can I make an older iMac go wireless?

    I recently was given an older iMac for my 6 yr. old daughter. It does have OSX. However, I am not very apple savy & and I was told that they do not sell the airport for the older models @ the apple store. Our house is wireless. Does anyone have any s

  • Adobe AIR not playing sound from swf, but Flex-app in browser does. Why?

    Hi Why won't Adobe AIR play the sound in an swf animation I've got? It plays perfectly as an Flex Application in a browser. This works good (Animation is shown and sound is played): <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="htt