Invoice details display on the modified standard medruck script form

i have copied standard MEDRUCK form to z form and modified.
now i would like to display the tax details on the output of this form.
in me22n transaction, we have invoice tab which has tax code and details. how do i get these details on my script.
help requiredddd,,,
thanks in advance...

Hi Krishna,
Write the code in your script and in  which window u want display.
In script
/:   DEFINE &XEBELN& = &EKKO-EBELN&
/:   DEFINE &XEBELP& = &EKPO-EBELP&
/:   PERFORM yroutine IN PROGRAM  ZSUB
/:   USING &XEBELN&
/:   USING &XEBELP&
/:   CHANGING &XTAX&
/: &XTAX&
Cretae the ZSUB program
FORM yroutine TABLES inpar STRUCTURE itcsy
                             outpar STRUCTURE itcsy.
  DATA : p_ebeln like ekpo-ebeln,
         p_ebelp  like ekpo-ebelp,
         p_tax like ekpo-mwskz.
  CLEAR inpar.
  READ TABLE inpar INDEX 1.
  MOVE inpar-value TO p_ebeln.
  READ TABLE inpar INDEX 2.
  MOVE inpar-value TO p_ebelp.
Select single mwskz from ekpo into p_tax
              where ebeln = p_ebeln
              and ebelp = p_ebelp.
  CLEAR outpar.
  READ TABLE outpar INDEX 1.
  MOVE p_tax TO outpar-value.
  MODIFY outpar INDEX sy-tabix.
ENDFORM.

Similar Messages

  • How many items can be displayed on the same line in APEX form?

    Hello,
    I have 5 items that I want to display on the same line in a form, but the fifth item is displaying on the next line eventhough I defined it as "no" in Begin On New Line and "no" in ...Field. Is there a limmitted number of items that can be display on the same line? Any help is greatly appreciated, thanks so much in advance.
    I want the 5 items to be display like this,
    Appendix1 _____ 2 _____ 3 _____ 4 _____ 5 _____
    But it is displaying,
    Appendix1 _____ 2 _____ 3 _____ 4_____ 5
    Thank you,
    MT

    If you define the 'Begin On New Line' property to 'No', it should work. I just tested it. Do you absolutely need to set the 'Begin On New Field' property to 'No'? That might change the facts.
    Best regards,
    Mathieu

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

  • Error while trying to Upload the modified standard uwl.standard.xml

    Hello Forum,
    I am working on the UWL customization. I have a situation like i have to remove the links that appear in the ViewDetail of any UWL request. When we open any of the request and VIew the details of it we see the links in the right such as:
    You can also:
    Add Memo
    Display Details in SAP Gui
    Attachments Manager
    Create Ad-Hoc Request
    View History
    Now the requirement is to remove the underlined actions. I read from some forum that i have to comment the actions those were defined in the uwl.standard.xml
    I have commented the actions in the uwl.standard.xml and now when i'm trying to upload the file i get the error message saying:
    Wed Sep 10 14:22:10 CDT 2008 : Operation not allowed on standard configuration:uwl.standard
    How do i upload this modified file? Please suggest me.
    Regards,
    Krishna

    Krishna,
    Instead of modifying the UWL configuration file, this is possible by changing some property in the UWL iView itself.
    Open the UWL iView --> Goto property called List of UWL Actions to Be Excluded --> Enter followUp,launchSAPDetails,manageAttachments,uwlTaskWizard,viewHistory and save your changes.
    Regarding your error, what you can do is while upload "use Upload with High priority". If that does not work then backup the standard configuration, delete the changes, clear the UWL cache and then upload your new custom configuration as uwl.standard.
    Chintan

  • How do I get a "Details" display--as the default--when downloading a file, in the "Enter name of file to save to..." dialog box?

    When I receive an attachment to an email, and I click it and select "Download", I get the "Enter name of file to save to..." dialog box (because I already set the option to "Always ask me where to save files." But the file display always defaults to a "List". At least recently. I don't recall it always doing that. In any case, I want it to default to a "Details" display, in ascending order, as I can then find things sooo much faster that way. (I often use the "Date Modified" tab to bring to the top the most recent version of a file.) I know that I can go to the "View Menu" icon and select "Details", but each time I go into a sub folder while in this dialog box, I have to do that all over again and it wastes a lot of time and attention.
    I did some internet searches but didn't find a way to fix this.

    Thanks for reaching out, glennr.
    The dialog box you are describing is controlled by Windows, not Firefox, so unfortunately Firefox cannot change what you see by default.
    I think your best bet would be to ask on the [http://answers.microsoft.com/en-us/windows/forum/windows_xp?auth=1 Windows support site].

  • How to report Invoice details and also the related Purchase order details

    Hello,
    Any suggestions on How to Report both Invoice details and the related Purchase Order details.
    Ex:
    INvoice Line items Amounts /Qty
    PO Line Items Amounts /Qty
    Thanks in advance
    Jagadish

    Hello,
    Any suggestions on How to Report both Invoice details and the related Purchase Order details.
    Ex:
    INvoice Line items Amounts /Qty
    PO Line Items Amounts /Qty
    Thanks in advance
    Jagadish

  • Displaying all the records in a tabular form on a single page

    Hello,
    After setting up a data entry page, I have hit an unexpected problem.
    The logic in my page requires that all the records in my tabular form should be displayed .
    The tabular form is based on a collection, and the user selects rows through a checkbox.
    Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
    based on the previous page.
    I need to display about 25 rows.
    I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
    i.e. 11 rows.
    Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
    as I expected APEX to display all rows if required.
    Some help will be much appreciated.
    Regards
    Leckraj

    leckj wrote:
    Hello,
    After setting up a data entry page, I have hit an unexpected problem.
    The logic in my page requires that all the records in my tabular form should be displayed .
    The tabular form is based on a collection, and the user selects rows through a checkbox.
    Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
    based on the previous page.
    I need to display about 25 rows.
    I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
    i.e. 11 rows.
    Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
    as I expected APEX to display all rows if required.Pagination settings are cached for the duration of the session. For this change to be instantly visible, either log out, restart the brower, and log in again, or manually re-request the page from the browser address bar, adding 'RP' in the ClearCache position in the URL.

  • How to put footer in the Delivery note  sap script form.

    Hi All,
      i am new to SAP SCRIPT , can any one guide us how to Create a footer in the Delivery note sap  script.
      I need to put  some message if the stock of the material is "0"(zero).
           can anyone  tell me the process to do this.
    Thanks
    Channappa Sajjanar

    Hi,
    U create a window in script (Footer), and in the Driver program call this window at last..
    eg:
    create a window in script and call it at the end in the layout..
    /E FOOTER
    P1 'Write Required text what u want to display;.
    now in print program, after printing all the line items in ur internal table call the FM write_form to print the footer...
    LOOP AT itab.
      call function 'WRITE_FORM'
        exporting
         window = 'MAIN'
        exceptions
          others = 1.
    endloop.
    now call, FM write_form to print the footer
    IF stock EQ 0.
    call function 'WRITE_FORM'
        exporting
         window = 'FOOTER'
          element = 'FOOTER'
        exceptions
           others = 1.
    endif.
    Hope it helps!!
    Rgds,
    Pavan

  • Terms and Conditions to display in the last page of Script

    Hi Experts,
    My requirement is to print the Terms and Conditions in the Last Page of a PO. so for that, I have created one LAST page. Previously i have FIRST Page and Next Page in the Script. In the LAST Page it has to windows. One is for Logo and another one is for Terms and Conditions. I am trying to print to Terms and Conditions through a Standard Text ( Created in SO10) in the Terms and Conditions window.
    The page flow are like FIRST-->NEXT, NEXT>LAST, LAST---->LAST
    Please guide me how shall i proceed to get the output. It would be better if we get the output with out doing any change to the driver program.
    Thanks,
    Priyabrata

    Dear Priyabrata
    The page flow should  like FIRST-->NEXT, NEXT>NEXT, LAST---->
    And call your page in main window at last element.
    This will surely solve your problem.
    Regards,
    Vijay

  • Problem using standard spa script form

    hi all,
          can anyone help me on this issue i have a problem with using standard form name,the standard form name is J_1I_57F4 and program name is J_1I57FPN.in
    standard form name when you go to main window you will find element as item_values. under that there are field names . so instead of "&J_1IINDCUS-J_1ISUBRAT(C)&" i have to add field which shows 16.4 percent of "&J_1IEXCDTL-EXBAS(C)& ". so how can we write this please check this out and let me know if there is anything to do and how to do it.how can we define it in form and how to write the subroutines for that and perform it in form.please help me out.

    u need to copy both the program and script in Z.
    after that attach that zprogram and script in ur standard transaction from the SPRO or NACE transaction....
    reward points if useful....

  • SAP Standard Scripts ( how to Modify Standard Scripts)

    hi every one , This is Abdul Rahman , i want to know how i should modify Standard SAP Scripts like RVORDER01 or MEDRUCK SCRIPTS ,i want to know whole process . and how to Run the Script . plz any kindly send some good DOC or web pages which i can acess
    thankyou
    Abdul Rahman

    Hi,
    Modifying SAP Forms
    If you want to modify SAP forms, set up your development environment as follows:
    Make sure that no SAP-standard forms are stored as client-specific copies in your development client.
    Such forms should be held only in client 000, the SAP development and installation client. If you access an SAP-standard form from another client, then the central copy in client 000 is used.
    If you need to remove SAP-standard objects from your development client, see Notes 10388 and 3355 in the SAP Online Service System (OSS). These notes explain the procedure for saving modified forms and then deleting all forms.
    To modify SAP standard forms,
    – Copy the forms you need from client 000 to your development client.
    – Rename the forms using a name from the customer name reserve (names starting with Y or Z).
    – Copy the forms to one of your own Y or Z development classes.
    Renaming the SAP standard object makes it possible to manage and transport your changes with the SAP workbench organizer. The organizer is not activated for SAP-standard objects that are modified in clients other than 000.
    To put your modifications into effect, you must also modify the ABAP print program used to print documents that use this form. You should rename such print programs and store them in your own Y or Z development classes.
    You can use the SAP Customizing System to replace the SAP print program with your modified print program in the affected applications.
    Forms: Concepts
    Forms are used to control the page layout and also the text formatting in your documents. Before formatting a document for output to the screen or to a printer, you must assign a form to it. If you do not specify a form for a document, then the SYSTEM form is assigned to the document by default.
    Application-specific forms are used in SAP applications to specify the page layout for such special documents as invoice or checks. These forms specify the structure of the information on the page(s) of such a document. They define, for example, the address header, item lines, the footer, and so on.
    There are two ways to format texts with forms:
    In the standard SAPscript text processing (Tools ® Word processing ® Standard text), you can select a form for a document. You can then type text into the main window of the form and output the document in the format defined in the form.
    For example, you can select a form for a letter. You can then type the body text of the letter in the main window. When you print the letter, the default text elements in the other windows of the form (heading, footer, and so on) are printed with the body text.
    A document can be generated by a print program in one of the SAP applications. The print program uses a form to generate the document. Most correspondence and document generation in the SAP System are handled by way of print programs.
    A print program selects the text elements that are to be printed in the windows of a form. It may also collect information from the user or ask the user to input text directly, as in some correspondence functions. The print program may also provide data for variables defined in the form.
    Finally, the print program uses the form to format the document for display or printing.
    Check this link...
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/802d7d454211d189710000e8322d00/frameset.htm
    Thanks and Regards,
    Bharat Kumar Reddy.V

  • Purchase order excise invoice details

    hi experts,
    i am creating a simple report for purchase order excise invoice details.
    here are the tables what i am using for the report
    j_1iexchdr
    ekpo
    ekbe
    is tables are correct....
    can any one suggest weather it is better to use for all entries in or innerjoin ......
    was there is any standard report for po excise invoice datails.....
    any one was working on this report please give me the details about the key relations about the report.
    Thanks in advance.
    Regards,
    karunakar
    Edited by: bkarunakar on Jun 30, 2011 9:11 AM
    Moderator message: please search for available information/documentation, e.g. Please Read before Posting in the Performance and Tuning Forum.
    Edited by: Thomas Zloch on Jun 30, 2011 10:22 AM

    Hi Yoga,
    You can use Parner Schema in your Vendor Master for this issue.
    If you want a partner schema for your own document type then define your partner schema and assign to document type using the below mentioned path.
    IMG->MATERIAL MANAGEMENT->PURCHASING->PARTNER ->DETERMINATION - >PARTNER SETTINGS IN PURCHASING DOCUMENTS ->DEFINE PERMISSION  PARTNER SCHEMAS
    And then
    ASSIGN PARTNER SCHEMAS TO DOCUMENT TYPE
    Bye,
    Muralidhara

  • Is it possible to change what is displayed in the GAL in Exchange 2013

    We have always used [email protected] for our primary email addresses, and to facilitate this someone back in the days of Exchange 2003 decided it would be sensible to use the firstname.lastname
    format for our alias. This means our primary email does not match our UPN. Now, we are moving to Exchange 2013 and want to use autodiscover we find we need to change this so primary email and UPN are the same while still retaining the original email
    addresses. Easy enough change, powershell script to modify the alias, new address policy on the 2013 server and migrate your users, changes made for you.
    However, this has caused some concern amongst the senior management because it changes what is displayed in the GAL, so instead of the friendly first.last name listed under alias and the just as friendly
    [email protected] listed under email address it will now show the UPN as alias and
    [email protected] for email.
    I have now been asked to see if it is possible to modify the details displayed in the GAL, I know you could in previous versions of Exchange using things like EMC, but I don't see any way of doing this in 2013.
    Is this possible, and if so how?

    We have always used [email protected] for our primary email addresses, and to facilitate this someone back in the days of Exchange 2003 decided it would be sensible to use the firstname.lastname
    format for our alias. This means our primary email does not match our UPN. Now, we are moving to Exchange 2013 and want to use autodiscover we find we need to change this so primary email and UPN are the same while still retaining the original email
    addresses. Easy enough change, powershell script to modify the alias, new address policy on the 2013 server and migrate your users, changes made for you.
    However, this has caused some concern amongst the senior management because it changes what is displayed in the GAL, so instead of the friendly first.last name listed under alias and the just as friendly
    [email protected] listed under email address it will now show the UPN as alias and
    [email protected] for email.
    I have now been asked to see if it is possible to modify the details displayed in the GAL, I know you could in previous versions of Exchange using things like EMC, but I don't see any way of doing this in 2013.
    Is this possible, and if so how?
    You can use the Details Template to change what the GAL shows.
    http://technet.microsoft.com/en-us/library/jj673049(v=exchg.150).aspx
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • PDF Form to XML. How to handle invoice detail lines

    I am using LC Designer 7.x on a PDF form that has a submit button that loads a ColdFusion MX7 page that will save the XML in a MS SQL 2005 XML field.
    My source of confusion is how to handle the invoice detail lines on the PDF invoice form.
    The XML that I want is
        5 All Season Tires
        400.02
        A car with 5 wheels
        20400.00
    My question is how do I setup the form fields to do this.
    What I did prior to XML was have fields whose name included the line number and store them as FDF.
    eg
        description01 amount01 description02 amount02
    But that will not work, or I dont know how to translate that to the desired  XML.
    Any thoughts you might have would be appreciated.
    Thanks
    Archie Campbell

    Archie,
    You want to create a subform called "invoiceLine" which you've set to repeat for each data item using the Binding tab of the Object palette. This subform must be contained within another (e.g. "invoiceLines") whose content is set to be "Flowed" on the Subform tab of the Object palette. So your object hierarchy looks like:
      invoiceLines = subform with flowed content
        invoiceLine = subform repeated for each data item
          description
          amount
    Rob Gabbard
    Cardinal Solutions Group
    www.cardinalsolutions.com

  • Displaying only the updated contents

    i am working with jsp ,is there any way i can display only the updated contents of a form ie suppose a user updated 2 fields out of possible 10 fields i want to display only those 2 fields not all the 10,i am using mysql data base,can any one give a reply

    Compare the new value with the old value. If it differs, then it is changed. For primitives you can use == to compare and for objects you can use Object#equals() to compare.

Maybe you are looking for

  • Connecting Macbook Pro 15" to Samsung HDTV - Audio Problem

    Hey guys, I'm new to these forums so I hope i'm posting this in the correct section! On to my problem...I have a MacBook Pro 15" 2.8 GHz- Late 2009 (model: MB986LL/A) and I'm currently trying to connect it to my new TV which is a Samsung LCD HDTV (mo

  • IPhoto keeps asking to set up Facebook and Flickr accounts

    iPhoto keeps asking to set up the Flickr and Facebook accounts. This is despite the fact that i have done so many times. I have tried restarting (thought it was a keychain thing) and removing permissions from the flickr website and then setting up ag

  • How do I clear the sites in the favorites

    I want to clear the tiles in  favorites - how do I do this?

  • Lightroom Develop Mode very slow in responding to commands

    When I am trying to get a photo ready to print and am in the Develop window, the response time when I try to make adjustments to the phots are not acceptable. Very, very slow and almost impossible to accomplish what I need to do in order to get the p

  • Adding link to get QuickTime on Homepage movie

    Just bought a .Mac account, and published my first movie on Homepage. For visitors who have QuickTime, it works great. But for those who don't have Quicktime (PC users, pardon the expression) is there any way to add a link right on the published movi