Call  an internal SAP report

Hello everyone, I would help you if you can :).
I have an add-ons that adds buttons to the "Sale".
Now I would like to add a button to create a PDF invoice.
I  have  call  an internal SAP report , with code 'INV20001' in table [RDOC]
Who can help me?
Thanks to all for the info that you give me.
PS sorry for my bad English
Edited by: Ste Righetti on Mar 6, 2012 9:52 AM

Hi,
Ask our friends at the [Reports Forum|http://forums.oracle.com/forums/forum.jspa?forumID=84]
You might want to fix your keyboard first, because too much caps, exclamation marks and question marks make the chance some expert will respond much smaller.

Similar Messages

  • Calling SAP REPORT

    Hi,
    I want to call SAP report from external system. How can we do that, do we ave an RFC/BAPI which submits any report and gives back results?
    Regards
    Munish Garg

    >
    MunishGarg wrote:
    > Output will in a table which will have only one field of type string or char256.
    This will limit the FM to the reports that are capable of returning such output (e.g. ABAP lists). If, for example, a report has an ALV output then I seriously doubt this would work.
    You were asking previously for essentially a universal function, which could run any report. It's not difficult to find an FM that would start a report, but data return from the report - that's where I see a challenge.
    If you're willing to limit such FM to certain types of reports then it will probably be easier/faster to create your own FM anyway. Since there is a lot riding on an assumption, I'd want more control over the program and SAP might change their FMs at any time.

  • Call tcode from alv report and passing  group of values

    hi all .
    i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how
    ex. passing group of GL to fbl3n and display the detials of all .
    thank you

    Dear,
    You have done a small mistake
    --> rspar_line-option = 'EQ'.
         rspar_line-HIGH = PDATE-HIGH.
    u r passing "high" value and in "option u r passing "EQ" so how it will work!!!
    So if u r passing only 1 date or more dates like 01.01.2010 , 15.02.2010 , 10.03.2010 then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-LOW = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    or if u r passing low & high date means in range like 01.01.2010 to 30.01.2010, then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'BT''.
    rspar_line-LOW = PDATE-LOW.
    rspar_line-HIGH = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    try above code , hope it helps...
    i think u cannot use "call transaction using bdcdata" in ur case bcoz as u said in ur 1st post u want to display the details of all but still if u want to use then u should pass all parameters in  loop.
    PROGRAM
    DYNPRO
    DYNBEGIN
    FNAM
    FVAL
    ex:-
    LOOP AT GT_TEMP INTO GS_TEMP.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = 'SAPXXXX'.
    bdcdata_DYNPRO = '1000'.
    bdcdata_DYNBEGIN = 'X'.
    bdcdata_wa-fnam = '''.
    bdcdata_wa-fval = ''.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'SD_SAKNR'.
    bdcdata_wa-fval = GS_TEMP-GLACCOUNT.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = 'XXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    ENDLOOP.
    try above code if u r using call transaction...
    Edited by: mihir6666 on Jul 9, 2011 3:10 PM
    Edited by: mihir6666 on Jul 9, 2011 3:11 PM
    Edited by: mihir6666 on Jul 9, 2011 3:13 PM

  • Open an HTML file from a SAP Report

    Hi all!
    I would like to open an HTML file, that`s in a local directory of my PC, from a SAP Report.
    It is an alv list, where I have added a pushbotton. And I would like to code the utility of open a local html file, when someone push it.
    Anybody knows if it is possible?
    Thx

    Here is some sample code.
    report zrich_0002.
    call method cl_gui_frontend_services=>execute
      EXPORTING
        DOCUMENT               = 'C:test.html'
    *    APPLICATION            =
    *    PARAMETER              =
    *    DEFAULT_DIRECTORY      =
    *    MAXIMIZED              =
    *    MINIMIZED              =
    *    SYNCHRONOUS            =
    *  EXCEPTIONS
    *    CNTL_ERROR             = 1
    *    ERROR_NO_GUI           = 2
    *    BAD_PARAMETER          = 3
    *    FILE_NOT_FOUND         = 4
    *    PATH_NOT_FOUND         = 5
    *    FILE_EXTENSION_UNKNOWN = 6
    *    ERROR_EXECUTE_FAILED   = 7
    *    others                 = 8
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Please remember to award points accordingly and mark this post as solved when you problem is solved.  Thanks.
    Also, Welcome to SDN!!
    Regards,
    Rich Heilman

  • Internal order report- KOK5

    Frnds
    i have created one of the variant to run internal order report at transaction K0K5
    and in that variant, i have just filled my interanal order name and order type nothing else.
    But when i tried to run report using that variant, it does not give me any detail on SAP screen but when i tried to export it to the excel it does show up all the information on excel.
    so what could be the reason that i am not able to see the data on SAP screen, it used to work till last month but this time when i tried all the variant, it isnot working,
    so can you please tell me what it the problem?
    thanks
    manish

    Frnds
    Any input in this problem?
    please let me know if someone knows anything abt it.
    thanks

  • Looking for Standard SAP report

    Hello forum,
    Can some one tell me if there is a standard SAP report that would compare or can be used to compare a delivery order with a sales order and show the changes made in terms of quantity? I am looking for the report name
    Thanks in advance,
    K

    Hello,
    Can some one tell me if there is a standard SAP report that would compare or can be
    used to compare a delivery order with a sales order and show the changes made in
    terms of quantity? I am looking for the report name
    I think your requirement can't be met with standard functionality. The best way to for mapping this requirement would be to create a Custom Report involving two below things.
    Use the program which is called when we access Sales Order --> Environment --> Changes.
    Use the table for delivery item level LIPS for Quantity comparision.
    Kindly try out this approach and let us know if any further issues comes into picture.
    Regards,
    Sarthak

  • How to call a Standard SAP Program in Zprogram.

    Hi,
    how to call a SAP Standard program in SAP Program?
    Do we have to use any funtion module and pass paramters?
    I want to call a Standard SAP prg in to my prgram? can anyone explain me or give the piece of code to call standard prg.
    Thanks & Regards

    Again, ABAP related questions should be asked in the ABAP forum.
    To answer you question,  if the standard program is a report program, you can use the SUBMIT statement and pass parameters using the WITH Extention.
    Submit <report>
          with p_fld = 'X'
              and return.
    Please make sure to award points for helpful answers and mark your posts as solved when solved completely.  Thanks.
    Regards,
    RIch Heilman

  • Can we call bapi from SAP or ABAP How? Pls Step by step

    Can we call bapi from SAP How? Pls Step by step
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Hi,
    Do you mean you want to access BAPI in ABAP report?
    If yes, then YES we can call,
    1.Create a report -> In pattern write your BAPI name.
    2. It is like your FM , Read correspoding BAPI documentation
    3. Fill required parametes.
    4. Test run and if successful , final run it.
    And from Outside,
    You have to establish a connection and create a wrapper and access using avaialble APIs.
    Reward if useful!

  • Save a the output of a SAP report into Html

    Hi , I have a SAP report which in MM to determine pro rate factor of oil & water for the  given combination of  plant, storage location, material, period and   year  . When we run the report it produces a report which can be printed and signed by managers, I wnat to save this to N drive automatically for future use just incase something goes wrong .So I want to save this automatically in html in the N drive, how do I do that please.
    Thanks
    Aarav

    Hi ,
    try this
    USE THE FM
              CALL FUNCTION 'WWW_HTML_MERGER'
                   EXPORTING
                        template    = rep_template
                   IMPORTING
                        html_table  = html[]
                   CHANGING
                        merge_table = merge_table[]
                   EXCEPTIONS
                        OTHERS      = 1.
    I think this will convert the output into HTML format.
    So in the HTML[] you will have the data.
    NOW upload this data into the N drive.
    I got this code from
    include FGRWEF98B_F98_BATCH_OUTPUT_CLO.
    Check this include .
    Regards,
    Venkatesh.

  • Displya image through SAP Report ?

    Dear experts,
    I have requirement to Display images witch is store in local PC, and the image output will display as sap report.
    Each time user captures the image of material before entering, the material in our plant and this image is saving into the local image server and we have provided entry screen through which user can enter the local image server path, and this path is saving into the SAP tables.
    Now we want to prepare a report to view these images in SAP from the local path.
    Note: We are not saving these images in SAP server, only path of these images we are saving.
    Please help me to solve this issue.
    Thanks,
    Abhilash

    hi ,
    Full Program
    *& Module Pool       ZUPLOADIMAGE
    *&Author: Tanmaya Gupta
    *&Date: 24-09-09
    *&Description: This Program will upload Image/Logo in the Module Pool Program.
    INCLUDE ZUPLOADIMAGETOP                         .    " global Data
    INCLUDE ZUPLOADIMAGEO01                         .  " PBO-Modules
    INCLUDE ZUPLOADIMAGEF01                         .  " FORM-Routines
    *& Include ZUPLOADIMAGETOP                                   Module Pool      ZUPLOADIMAGE
    PROGRAM  ZUPLOADIMAGE.
    DATA CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    DATA PICTURE TYPE REF TO CL_GUI_PICTURE.
    DATA URL(256).
    *&  Include           ZUPLOADIMAGEO01
    *&      Module  STATUS_0100  OUTPUT
    *       text
    module STATUS_0100 output.
    *  SET PF-STATUS 'xxxxxxxx'.
    *  SET TITLEBAR 'xxx'.
        CREATE OBJECT CONTAINER
           EXPORTING CONTAINER_NAME = 'CONTAINER'.
        CREATE OBJECT PICTURE
           EXPORTING  PARENT = CONTAINER
           EXCEPTIONS ERROR = 1.
    CLEAR url.
        PERFORM load_pic_from_db CHANGING url.
    CALL METHOD picture->load_picture_from_url
    EXPORTING
    url = url.
    endmodule.                 " STATUS_0100  OUTPUT
    *&  Include           ZUPLOADIMAGEF01
    *&      Form  LOAD_PIC_FROM_DB
    *       text
    *      <--P_URL  text
    form LOAD_PIC_FROM_DB  changing p_url.
      DATA query_table LIKE w3query OCCURS 1 WITH HEADER LINE.
      DATA html_table LIKE w3html OCCURS 1.
      DATA return_code LIKE  w3param-ret_code.
      DATA content_type LIKE  w3param-cont_type.
      DATA content_length LIKE  w3param-cont_len.
      DATA pic_data LIKE w3mime OCCURS 0.
      DATA pic_size TYPE i.
      REFRESH query_table.
      query_table-name = '_OBJECT_ID'.
      query_table-value = 'ZLOGO.GIF'."name of logo
      APPEND query_table.
      CALL FUNCTION 'WWW_GET_MIME_OBJECT'
        TABLES
          query_string        = query_table
          html                = html_table
          mime                = pic_data
        CHANGING
          return_code         = return_code
          content_type        = content_type
          content_length      = content_length
        EXCEPTIONS
          object_not_found    = 1
          parameter_not_found = 2
          OTHERS              = 3.
      IF sy-subrc = 0.
        pic_size = content_length.
      ENDIF.
      CALL FUNCTION 'DP_CREATE_URL'
        EXPORTING
          type     = 'image'
          subtype  = cndp_sap_tab_unknown
          size     = pic_size
          lifetime = cndp_lifetime_transaction
        TABLES
          data     = pic_data
        CHANGING
          url      = url
        EXCEPTIONS
          OTHERS   = 1.
    ENDFORM.                    " LOAD_PIC_FROM_DB
    Thanks
    Tanmaya

  • CP6 internal server reporting modifications - Post Results - Continue button

    I have searched the forum for similar issues, and have posed one or two questions, but I am struggling to get a clear direction as to how to post quiz results to an internal server automatically (including user variables), without the name/email dialog screen appearing. In addtion, to CLOSE the browser, on the Quiz Results slide,I have tried multiple options with the continue button, including a javascript command of: 
    top.window.close();
    (courtesy of Colday213)
    But this did not work for me when I tried to enter the script into the quiz preferences area (can't directly edit the continue button on the quiz results slide).
    I have already been posting practice results to my website using the standard INTERNAL SERVER reporting method.
    BUT --- here is my wish list --- to modify the process
    1. Capture user variables (First name, Last name, student ID and student number) and post them with the quiz results. I have a slide setup to to do this.
    2. Post results AUTOMATICALLY to the internal server without showing the Quiz Results slide at all.
    3. Have the quiz exit the browser completely once the quiz has been taken.
    My quiz results slide has TWO renamed buttons: SEND EXAM (Post results) and EXIT (Continue). My preferences on either pass or fail are "Continue". I have even made the "score" tiny font, and invisible (black text on black background), so the reults page shows (and which I wish did not appear).
    Perhaps only a LMS is the method to allow the above, but I may not have an LMS option --- hence, the internal server method..

    I will investigate the google spreadsheet option as that may solve the first two issues.
    Regarding the last item, EXITING the quiz (closing the browser) --- since the user gets to an ending slide that asks them if they are satisfied with their user variables entered at the start, perhaps I can program the javascript "exit" command on that slide, once the use varifies the data is correct?  Currently, a "continue" button appears after user data is verified, and then the button advances to the RESULTS slide, so that the resuls can be posted, which invokes the standard name/email dialog.
    If the widget posts the quz results to the google spreadsheet after the last question has bee answered, then I can either HIDE (skip) the results slide, or choose "don't show" (uncheck) the quiz results box in the preferences, and have the verification slide appear. Then, I just need to make the browser close from there (probably with a button).
    I will experiment with this option.
    I was also wondering if I can edit the PHP file that collects the quiz results to include the user variables?

  • SAP report for movement type and material type

    Hi!
    I would like to use a standard SAP report to give me a list of all the movement types (much like MB51) but instead of material I would like to select on Material type e.g. ROH. The result should for example be a list of the movement types 501 on material type ROH.
    It is urgent, if you could help me I would be very greatful!
    Sincerely
    Anders Öhrling

    Thanks for your answer!
    I have managed to join the two tables and created a report that will work, except that the amounts in local currency that is given by movement type 201 is not negative (as in MB51). I need all movement types that generate a debit must be shown as a negative value. Wo when I summarize all the movement types I end up with the value of 101 minus 201.
    Is that possible without ABAP programming?
    Sincerely Anders Öhrling

  • Is there any Standard SAP Report?for displaying Billing block/Status-Order

    Hi,
    Am a ABAP Developer. I heard that there is SAP Query/ABAP Query/Standard SAP report for the below functionality/requirement. SO, pls. let me know if there is any SAP Query/ABAP Query/Standard SAP report?
    "This report is suppose to display Credit and Debit memo documents which are blocked and yet has a status of APRV; the other display is for Return Documents which are blocked and yet has a status RCVD."
    thanq

    Hi,
    Use t-code
    V23 - Blocked sales document for billing
    VA14L - Sales document blocked for delivery
    VFX3 - For blocked billing documents.
    Kapil
    Edited by: Kapildev Farakte on Jan 8, 2010 4:15 AM

  • Calling A BI Publisher Report From A Link In An Apex Report

    I have a report on my page
    select id, aa, bb
    from table_x
    What I want to do is to have an extra column or use the id column as a link (which says Print Report) to call an BI Publisher report. This call should pass over the id and open the report in a popup window.
    For certain reasons I do not want to use the built in report queries and layouts in apex, just call the report straight for BI.
    I call other BI reports in my application, but always from a button.
    Help appreciated
    Gus

    Hi,
    All that such a button does is submit the page and branch to page zero passing in the request field something like this:
    PRINT_REPORT=my_report
    So, to do the same in a dynamic action, use an "execute javascript code" action with something like this in it:
    location.href = 'f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=my_report';
    Luis

  • SAP report showing sales orders on which pricing conditions have been chang

    Is there a SAP report that shows a list of sales orders on which pricing conditions have been changed.
    My knowledge is:
    Review pricing condition transaction data table (‘KONV’) helps is some way.

    Hi Ashish,
    I don't know any such a report, but I guess you can play arround with table CDPOS.
    Change doc. object = VERKBELEG
    Table Name = KONVC.
    Actually this will take lot of time.
    Thanks,
    Mandar

Maybe you are looking for

  • File://localhost/ Issue Itunes Can't Find My Music.

    I recently upgraded my old hard drive on my computer so after removing the old one and turning it into an external hard drive I have issues with Itunes finding my music files. The files are always in file://localhost/c:/.... is there anyway to get ri

  • Can we use BI 7 featurers for olf 3.5 Datamodel?

    Hi we are planning to use the old functionality using update rules, tranfer rules, infopackages etc for the data modelling, inside a BI 7 System, since BI 7 does not have the latest BI Content in terms of transformations, DTP Etc. Just wanted to know

  • Mac question... .Mac IM using the N95

    Does anyone know of an app that will allow me to use .Mac on my N95 ? I've seen apps for hotmail, google chat and AIM but not for .Mac thanks in advance

  • Administration Issue

    I am trying to administer 3 PMG4's -quicksilver - I can access them via screen share etc...but cannot drag and drop files or folders not even into the public folders . All sharins turned on etc. What am I missing/not doing correctly?

  • Airport Express and FIOS

    Tried to add airport express to an existing network with a FIOS router. This does not seem possible. Does anybody have a solution for this problem? Thanks