Execute a Report transaction in WD ABAP

Hi all,
I want to execute a report transaction in my Web dynpro application. If it is possible in WD ABAP, can anyone suggest me how to do this?
Thanks
Sanket sethi

Have a look at following thread - it points to a good article
[how to call se38 report into webdyne pro ?|how to call se38 report into webdyne pro ?]

Similar Messages

  • How to execute a report using a transaction code?

    Hi team,
    I am new in ABAP and I want to do a very simple report and then call this report using a transaction code.
    Steps:
    1) create the report (SE38)
       the report is: Z_DEMO
    2) generate a transaction code for this report (SE93)
       note: the transaction code is ZDEMO
    3) call the transaction generated on step 2
    When I execute the report using SE38, everythig is ok and the records are inserted in my table zdemo2.
    But when I call my transaction ZDEMO there is no insertion. Why?
    The report ask for parameters and then fowards me to SAP's main menu.
    Thanks,
    Walter.
    The report is:
    REPORT  Z_DEMO.
    tables: zdemo2.
    parameters:
            nombre like zdemo2-nombre,
            edad like zdemo2-edad.
    data:
          begin of tabla occurs 0,
            nombre like zdemo2-nombre,
            edad like zdemo2-edad,
          end of tabla.
    zdemo2-nombre = nombre.
    zdemo2-edad = edad.
    insert zdemo2.

    Hi,
    While creating the transaction for your program
    1>Make sure u give the program name and screen number
    2>Important thing is a option "GUI SUPPORT"
    Check all the checkboxes or atleast SAPGUI for Windows to ensure that the Code runs in SAP GUI.
    Thank you.

  • Execute selection report SDSPESTA first-transaction code v23

    we are into upgradation project  to ecc6
    when  i run the transaction  V23  (SD documents blocked for billing)  i am getting the information (Execute selection report SDSPESTA first)
    i need to get rid of this
    wt i need to do?
    Regards
    Anil

    Just do what it says - run SDSPESTA report in SE38 (or ask an ABAPer to do it for you if you don't have access). This program updates the Overall Block status in VBUP and VBUK tables. Obviously, in your system this status is not filled in currently (possibly due to a configuration change).
    Also see this thread:
    V23 not pulling any data

  • How to lock transaction codes in ABAP report

    Hello all,
    I'm now planning to lock several transaction codes as a batch job to prevent end users from using locked tr-cds while processing batch jobs during online service period.
    I found out tr-cd: SM01 to lock tr-cds, but I don't get what I can do with this tr-cd when you want to execute this as a background job.
    I suppose I can make it by using transaction recorder or call transaction.
    But I want to do this in smarter manner (like executing certain report PGM with a variant containing tr-cds to be locked).
    I rather prefer using FM or BAPI to using transaction recorder etc if possible...
    If you know anything on this issue, please please help me..
    Hozy

    Hi,
    Not quite correct - this is the FM that posts a record about the lock/unlock to the audit log (SM01 calls it), but ir doesn't change the transaction lock itself.
    Here is a sample report that does do the trick. You may want to change it to your needs, e.g. allow changing multiple transactions in one run:
    REPORT  ZTXLOCK.
    parameters:
      p_tcode      type tcode obligatory,
      p_mode       type char1 obligatory.   "L=lock, U=unlock
    tables: tstc.
    at selection-screen on p_tcode.
      select single * from tstc where tcode = p_tcode.
      if sy-subrc <> 0.
        message e002(sy) with 'Transaction code not found'.
      endif.
    at selection-screen on p_mode.
      if p_mode na 'LU'.
        message e002(sy) with 'Invalid mode, use L (lock), U (unlock)'.
      endif.
    start-of-selection.
      case p_mode.
        when 'L'.
          perform bit-set(sapmtstc) using tstc-cinfo 6.
        when 'U'.
          perform bit-reset(sapmtstc) using tstc-cinfo 6.
      endcase.
      update tstc.
      if sy-dbcnt = 0.
        message e002(sy) with 'TSTC update failed'.
      endif.
    Regards,
    Mark

  • Bex query for BW abap report/ transaction

    Hi Experts, Here is a scenario: I developed ABAP program in BW using multiple DSOs for complex logic. Since I cannot use abap program directly in BO reports, I need to develop a query in BW for my abap program. Is it possible to develop a bex query for BW abap report / transaction in BW? I have limited knowledge on BW and BO. Please help me. Thanks in advance Raghu

    First of all thanks for your suggestion Matthew..!
    As you said, I created virtual info cube based on function module.
    In the info cube, I defined (4)dimensions and (1)key figure.
    In the fucntion module, appropriate below parameters defined and code written for the data table (e_t_data)
    CALL ZFM_XXXXXXX 
    EXPORTING   
    i_infoprov =                " Name of InfoProvider   
    i_th_sfc =                  " rsdri_th_sfc: List of Characteristics    
    i_th_sfk =                  " rsdri_th_sfk: List of Key Figures
    *   i_t_range =                 " rsdri_t_range: Range List
    *   i_tx_rangetab =             " rsdri_tx_rangetab: Table from Range List
    *   i_first_call =              " rs_bool       First Call
    *   i_packagesize = 100000      " i             Package Size 
    IMPORTING   
    e_t_data =                  " standard table:  Data Table   
    e_end_of_data =             " rs_bool       :End of Data Reached   
    e_t_msg =                   " rs_t_msg      : BW: Table with Messages
    Test:
    Right click the info cube and choose "displayed data", immediately it triggered above function module.
    when I see the import parameters data,
    no characteristcs data in i_th_sfc. But, key figures has data (1 record) in i_th_sfk.
    Not sure, Did I missed anything? Please help me.
    Thanks in advance

  • Timeout Error in Call Transaction on Asynchronous Abap Proxy

    Hi Gurus!!
    We have a problem with a Call Transaction on Asynchronous Abap Proxy. When the process of Call Transaction (transaction CO02) takes more than 10 minutes, the process is cancelled with sy-subrc 1001 and the Abap Proxy continues with the execution. Strangely, there is a short dump in ST22 on transaction CO02, although on the ABAP Proxy we don't get any dump.
    When this process is called from a Background Job no dumps are get.
    Somebody knows if there is a problem with the Asynchronous ABAP Proxy executing CALL TRANSACTION statementent?
    Thanks and regards,
    Manuel.

    and the message after recording is
    Number               1
    Transaction          F-22
    SY-SUBRC             0
    Messages
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0330WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    S F5 312                   Document 100001677 was posted in company code 3100

  • How to create Transaction code for ABAP and execution by other user

    Hi All,
    Could someone please let me know how to create transaction code in detail for ABAP program. Step by step procedure expected. I would like to know how other user can execute the report using same transaction code which I have created.
    More about authorization.
    Thanks in advance.

    Hello,
    You can create transaction code from se80 as well.In object navigator,right click on your program name and create->transaction code.You can create transaction and select if it is only a report,a report with selection-screen depending on your requirement.You can run your report directly by entering the transaction code in the command field.
    You can authorise the users who can use your transaction:
    <b>Authorisation objects</b> are used to restrict certain transactions to users.Critical data must be protected from unauthorised users.For example,the head has access to certain data.But it cannot be accessed by his subordinate.For this we need to define <b>roles</b>.
    •Create an authorization object with transaction SU21.
    An object usually consists of the ACTVT (activity) field and one other field,which specifies the data type to be protected.By ACTVT, we can decide if the data is accessible for change,display only etc.
    •Add authorization fields to the authorization object created.
    •Assign the authorization object to the transaction using SE93.
    Attach the authorization object to the role using transaction PFCG.
    If you want <b>to assign roles</b>,use transaction PFCG.Create a new role.In the AUTHORIZATIONS tab,you can get a self generated profile name and a profile text by clicking on the icon next to it.Then go to the "Change Authorization data" and choose an authorization template.Then you can choose to display/change/create an activity and after the selection,click on the red and white circle.The profile will now be created.
    In the user tab,you can give the user details who can use this role.
    <b>Also check this link:</b>
    http://www.*********************/r3_security/r3_security_tips.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.htm
    <b>Very helpful guide:</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c
    Regards,
    Beejal
    **Reward if answer is helpful

  • Error while executing a report : Time limit exceeded

    Hello Experts,
    i have executed a report  and it took long time and finally throw an error saying that time limit is exceeded ,
    please suggest how to resolve the problem
    Thanks in Advance
    Nitya

    Hi Nitya H,
    There are many resons behind Time out issue.
    It is better to find where exaclty, our report is taking more time.
    Below are the some of the bottle necks we need to monitor for time out issue:
    1) OLAP query generation time.
    2) F4 Search time.
    3) Read Cache.
    4) Write Cache.
    Above features we can monitor @ RSRT transaction.
    If OLAP query generation time is taking much time means ,pls regenerate the query @ RSRT.
    For F4 search ,keep mater data as data retrival target.
    For Read Cache and Write Cache increase the query memory @ RSRT.
    Plse check the report and let me know if there is other bottle necks for query execution....
    _Note:_ This is just a high level view but we can have many performance drills...like Free char ,complex calculated key fig...etc..
    Hope this may helps you...
    Cheers,
    Maruthi

  • How to restrict users from creation of varients in report transaction

    Hi All,
    I have a requirement where buisness wants to restrict users in creating varients in report transactions.because of create options users will be creating more screen varients which will be disturbing for the other users to select a particular standard varient.Kindly give ur input regarding this
    With regards
    Girish A

    Hi,
    First edit the role assigned to users using PFCG.
    Then go to Authorization tab and click on "Change Authorization Data".
    It will opened up the profile of the role. now find the authorization object "S_PROGRAM".
    In that edit "User action ABAP/4 program" object.
    Remove "VARIANT" check box if it was checked and save. Now press
    Generate button or "Shift+F5".
    That's it.
    You can ask for this to your basis team. They can perform this task  easily.

  • Error when executing a report in Bex analyzer"

    Hi  all  ,
    when I am executing a report in Bex analyzer and selecting a hierrachy and execute the report it is giving an error " in Program CL_RSR_RRKO_HIERARCHY and Form SEL_TO_SELDR_EQSID.Any reason for this.
    thanks
    Rao

    Hi,
    go to RSSM and give your infoprovider name and check the authrization objects which are present in the infoprovider ...it will have option ticked.
    Basically authorizations are based on company code or sales org.
    give that authorization object in the first option in RSSM and check on which infoobject it is based.
    Also you can give your user id in one of the option in this transaction RSSM and then you can check for that authorization object do you have any values present for the included infoobjects or not.
    You will not have those values entry here in the authorization object for those selections which you are giving during the report run.
    Just change the vales here and give the desired value for which you are running the report.
    Save it.
    Hope it helps
    Thanks
    Message was edited by:
            Ajeet

  • TSV_TNEW_PAGE_ALLOC_FAILED  error while executing the report

    Hi all,
    . We are having an info cubeXFIAP_C12 (FIAP: Vendor Line Item Open).In which we have defined 10 Dimensions and 6 Line Item Dimensions. We have created a report  on this with Key date as Input Variable Which gives me From Start to Till Date data. Also have an Variable on company code.
    Then No of Records in my Cube is 45, 70,624.Compressed the Info Cube data .But No aggregates on it.
    Now when I provide the key date as 30.06.2011 and Company code =XYZ.
    I am unable to Execute the Report, It gives me a short Dump. Saying NO ROLL MEMORY.
    Variables:
    1. Key Date:  Is a  Customer Exit variable .If user Enters Data as 30.06.2011 ,It fetches data from     u201C00000000u201D to u201C30.06.2011u201D.
    2.Company code: Is a Manual Entry /Default variable.
    I also have shot dump.Please find the error analysis of dump below:
    The internal table "\FUNCTION-POOL=RRK0\FORM=MEGA_SORT_M\DATA=C_TSX_SORTK[2]-GT
    ABIX[1]-GTABIX" could not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "Session memory"
    Row width: 4
    Number of rows: 1503307
    Allocated rows: 1503307
    Newly requested rows: 2048 (in 1 blocks)
    can any one help me .......
    Regards
    Laxman

    Hi,
    Just check following things
    1http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTMM/BCCSTMM.pdf
    2. See whether any back up process is happening and it has consumed the main memory.
    3. Are you getting this error regularly
    4. See any transport went and compression/aggregation got removed.
    5. Check whether there are many dumps in ST22 same time when you execute report
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4ab89e84-0d01-0010-cda2-82ddc3548c65?QuickLink=index&overridelayout=true
    6. http://www.sap-press.de/download/dateien/1049/sappress_bw_performance_optimization_guide_080.pdf
    7. Check whether Infoprovifder got removed from BIA
    8. Query removed from BIA post transport
    9. Run RSRT and regenerate the report.
    Thanks and regards
    Kiran

  • We are facing error while executing Bex report.

    Hi Gurus:
    We are facing error while executing Bex report.
    Messge :                                                                          
    u201CQuery 0: Runtime error program state check for conversation 05284411 / CP  with parallel processing via RFC
    Message no. DBMAN428u201D
    The query is based upon Multiprovider (based upon 2 basic cubes).
    Both cubes are partitioned by   info object 0CALMONTH, (valid range - 01.2005 - 012.2010).
    Those cubes are not containing any non-cumulative key figures and Service package level for  SAP NetWeaver BI 7.0 is  u2018SAPKW70012u2019.
    I have checked those cubes in RSRV and carry out following steps:
    "All Elementary Tests -> Transaction Data" and execute the repair "Consistency of the Time Dimension for an Info Cube"
    I have found system inconsistency like u201CRecord with the DIMID 2 contains non-fitting time characteristics u201C
    Detail ERROR:
    Record with the DIMID 2 contains non-fitting time characteristics
    Message no. RSCV053Diagnosis
    The data record of the time dimension table with the described DIMID contains values for time characteristics that do not fit together.
    I have found the u2018 Note 1130450 - Query displays error DBMAN 284; RSRV: Time dimension checku2019  for this but still not sure this will work or not .
    I tested this in dev server , didn't feel useful.
    Could you please let us know what to correct this error.
    Anwser will be rewared.
    Regards,

    >
    Surendra Pande wrote:
    > Anwser will be rewared.
    > Regards,
    Go read the RULES of these forums.

  • When i try to execute web report i am getting a error your not authorized t

    Hi all,
    when i try to execute web report i am getting a error your not authorized to view the page can somebody help me regarding this.
    Thanks
    Kiran Kumar

    Hi
    Once you get the error, without leaving that screen, execute transaction /nsu53 or ask your basis guy to check it for you.
    You will get details of missing authorization.
    Regards
    Rahul

  • Can I execute a report and skip the first screen in CJE0

    I'm trying to call transaction CJE0 and skip the first screen. The report name I'm assigning to the PID REI appears in the screen field, but you have to click execute to continue to the report.
    Is there something I'm missing.
    Thanks
    Karen

    I've tried using the following code to run project reports without having to select the report name and exectue, but it is still leaving the user on the screen for CJE0 with the correct report name, but it's not skipping the screen and executing the report. Can you see what I'm doing wrong.
    Thank-you for your help
    Karen
    Code -
      data begin of bdcdata occurs 100.
             include structure bdcdata.
      data end of bdcdata.
      data begin of itab occurs 10.
             include structure bdcmsgcoll.
      data end of itab.
    data program like sy-repid.
    program = '11ERL1A'.
      bdcdata-program  = 'SAPMKCEE'.
      bdcdata-dynpro   = '0500'.
      bdcdata-dynbegin = 'X'.
      append bdcdata.  clear bdcdata.
      bdcdata-fnam     = 'RKB1D-REPID'.
      bdcdata-fval     = program.
      append bdcdata. clear bdcdata.
       call transaction 'CJE0' using bdcdata  mode 'N'
                               messages into itab.

  • Using transactio code to execute a report does not show default value

    Hi all ,
          I have given a default value of a field on my selection-screen by initialization in a hr report .
    I am using PNP database and default selction-screen in hr report category .
    While the report is working fine while executing directly , It is not showing default value when executed through a transaction code .
    Can any body tell why it is so ?
    Thanks & regards
    Sun

    Did you create the transaction as a report transaction?
    Rob

Maybe you are looking for

  • Decent Mac OS 10.9 HP Officejet J6400 scanning software

    Up until Mountain Lion or Mavericks I used to use a nice scanning utility from HP called HP scan that added to the OS X built in capabilities for my OfficeJet device.  That software is not compatible with Mavericks and the scanning interface provided

  • Calculation of due date based on Business Days for FICA documents

    Hi All, I am working on project where SD - FICA integration is in picture. We post some charges through SD and FICA document gets posted on relevant Contract Account. Normally we create Sales Order using transaction VA01 and then we do Billing for th

  • How do I create a keyboard in my app?

    I'm planning to make a app that contains my custom keyboard that I also want to intergrate into one of the users main keyboards. How do I make a keyboard, because I'm not sure what to use? Any suggestion would be helpful.

  • Programatically retrieve data using iterator in oracle ADF Mobile

    I want to read programatically data using iterator in ADF mobile. My code is : try ValueExpression vex = AdfmfJavaUtilities.getValueExpression("#{bindings.WeatherDescriptionIterator}", Object.class); AmxIteratorBinding iter = (AmxIteratorBinding)vex.

  • "Black screen" after "rendering"

    After rendering a 3-tracks of the timeline (without effects), when i play the project into sequence, I see black screen. The files are created correctly, but are not "called" automatically on the timeline. Help me! Thank you. Luca