Interaction with transaction codes with interactive reports

hi..
i want to call a transaction code from the report which i prepared.for example...if im displaying the list of order no.of a customer as output ,then when i want to make some changes in the order details ..instead of going to transcode VA02 ..i want the transcation has to open when i double click the order number.

Hi,
you have to do some thing like this ...
REPORT  ZTETS_CURSOR                            .
DATA: FIELD(20),
      VALUE(10).
DATA: BEGIN OF ITAB OCCURS 0,
        VBELN LIKE VBAK-VBELN,
        POSNR LIKE VBAP-POSNR,
       END OF ITAB.
SELECT VBELN
       POSNR
       FROM VBAP
       UP TO 100 ROWS
       INTO TABLE ITAB.
TOP-OF-PAGE.
  WRITE:(10) 'VBELN',
         (6) 'POSNR'.
END-OF-SELECTION.
  LOOP AT ITAB.
    WRITE: /(10) ITAB-VBELN,
             (6) ITAB-POSNR.
  ENDLOOP.
AT LINE-SELECTION.
  GET CURSOR FIELD FIELD VALUE VALUE.
  IF FIELD = 'ITAB-VBELN'.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT  = VALUE
      IMPORTING
        OUTPUT = VALUE.
    SET PARAMETER ID 'AUN' FIELD VALUE.
    CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
  ENDIF.
Regards
vijay

Similar Messages

  • Transaction code for Depricitation Report

    Hi,
    we have asset accouting with WDV Method & maintaing our books as per F.Y. April to March
    But, due to foreign investor's investment, we have need to closed our books, twicely, i.e.  IFRS - F.Y.-Jan to Dec / ( US gap ) & Indian gap, FY. April to March.
    Currently, We are using, AR03 trasaction to view the Depriciation Report (Asset Register)
    My problem is, when we run the Deprication report for IFRS Books closing, we could't get report, properly, because of our F.Y. maintan April to March.
    in that case we have need to maintain Manually on XLS.
    Please tell me any transaction code for depriciation report for IFRS  Books closing as well as Indian Gap.
    Thanks
    Regards
    Jitendra

    dont you have an option in there to run based on your depreciation area? Select your depreciation area and the report date based on your fiscal year variant. Optionally, you can also try reports like S_ALR_87012006 - Ordinary Depreciation, and S_P99_41000192 - Posted depreciation by asset and posting period with depreciation area selection.

  • Transaction code for Custom report

    Hi,
    How to create transaction code for Custom report ?
    the custom report is a drilldown report of COPA, which can seen in tcode  FDI3.
    then how to add this new transaction to the menu path Easy assess->FI->AR->Information system->Reports->customers:items.
    Thanks,
    Swetha

    Hi Swetha,
    There is a special way to assign tcodes to such reports. Normally you create the report via report painter/writer. These reports are part of library and report group.
    Create the tcode in SE93. Then at the bottom of the screen you would find option to specify report group, report name, variant to lauch with. Don't have system to specify the exact way of specifying, if you need I can provide on monday. You can take some existing COPA standard report and check from SE93.
    --Ram

  • Create a Transaction code for a Report

    Hi
    I have created a report through report painter. How can i create a transaction code for the report.
    Thanks
    J

    Hi,
    T.Code: SE93 - Maintain Transaction
    Transaction Code = Zxxxxxx
    Click on Create.
    Short Text = Name of Report
    Click on the radio button for 'Transaction with Parameters'
    Press Enter.
    Transaction = GR55
    Parameters Window...
    Screen Field : Screen field can be viewed in technical information screen of the report group to which report belongs for which t.code is to created.
    Value: Report Group
    Click on Save.
    Now you have a custom transaction for the report(s) in a report group.
    Hope this helps.
    Please assign points to say thanks.

  • Create transaction code for CJE0  report

    Dear friend:
        Who's know  how to create transaction code for CJE0  report.

    Hi,
    Alternatively, you can try adding anew entry to your menu area in development (SE43N), creating a subnode, selecting the report as your option and provide the information. Do not forget to give your own transaction name. I'm quite sure, that in this case (if you will transport this together with the report), it should work.
    Regards,
    Eli
    P.S. I know that program names changes when it's about a writer/painter report. Is it really the same thing with CJE0 reports?

  • Creating transaction code for CJE0 reports

    Hi,
    Can anyone let me know a step by step precess for creating Transaction Code for CJE0 reports?
    Thanks in Advance.

    Hi,
    There's just one proper solution:
    Via trx SE43N. Steps:
    1. I suggest you choose area menu PS01
    2. Choose extend to create a new Z-folder (or select 'change' to add to an existing (standard SAP) folder)
    3. Create extension , ehancement ID: f.e.: ZPS01
    4. Select the new folder in the tree
    5. Click 5th button: 'add entry as a subnode'
    6. In pop-up 'Add new entries' click button 'Report'
    7. Select radio button at 'Drilldown'
    8. A pop up appears to select the application class
    9. I guess you'll no what to do from here... it speaks for itself.
    enjoy, Kind regards,
    Gerjan

  • How to create 2 transaction codes for same report program with diff title

    Hi All -
      I have created report program and create 2 transaction codes with different short description. I want to display the Tcodes decriptions instead of program attributes title.
    Can anyone pls tell me how to do this?
    Thanks,
    Kannan

    Hi Kannan,
    define 2 titlebars t1 and t2 for the report. In report initialization,
    IF sy-tcode = 't1'
      SET TITLE t1.
    ELSE.
      SET TITLE t2.
    ENDIF.
    Regards,
    Clemens

  • What is the transaction code for this Report

    Is there a report in SAP that shows unrealized foreign exchange cash receipts and payments posted to a G/L. if yes, what is that report. Please provide transaction code.
    If not, do we need to create ABAP query. How do we create that Query in this regard. What information are we required to give the Abap person or do we create an Query ourself. How do we create it. please explain with steps.
    It is little urgent. Please reply soon.
    Thanks
    Lakshmi

    Hi
    hi Refer
    <b>http://sapfans.com/forums/viewtopic.php?t=35498&highlight=logo+report&sid=427c40184627df2072190b9d75d87117</b>
    Use FM 'REUSE_ALV_COMMENTARY_WRITE'
    Regards,
    Sree

  • How to create a Transaction code for a Report Painter Report

    Hi All,
    Can any one let me know the procedure as to how to create a t-code for a user defined PCA report. I have created a PCA report (copied the existing report (8a26-001) and named it as zpca and assigned the same in a new Report Group ZPCA (the group is created by copying 8a26 group) and assigned it under the library 8a2. We have added few fields required by the user to the Z report.
    Now i need to create a transaction code for that zpca report. can anyone suggest how to go about it.
    Useful answers will be appropirately rewarded.
    regards,
    radhika

    Go to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
    Name of screen field:                               Value
    D_SREPOVARI-REPORTTYPE                RW
    D_SREPOVARI-REPORT                        ZPCA
    Save and transport accordingly.

  • 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

  • How to lock a transaction code  in a report  ?

    Dear Abapers ,
         i had a requirement to lock a transaction code in my Module pool programming . the requirement goes in this way ..
    " if a  single user is editing a report then that particular report has to be accesseble to only that concerned user , it cant be accessed to any other user who gonna run the report unless the first user exits the report . <removed>.
    Thanks & Regards,
    Sravani . Y .
    Edited by: Thomas Zloch on Apr 5, 2010 8:39 PM

    Hi,
    You have to verify the processes in execution. Here an exaple code:
      DATA: BEGIN OF WP_TABL OCCURS 10.
              INCLUDE STRUCTURE WPINFO.
      DATA: END OF WP_TABL.
      " This CALL verifyes the processes in execution:
      CALL 'ThWpInfo' ID 'OPCODE' FIELD OPCODE ID 'TAB' FIELD
        WP_TABL-SYS ID 'CPU' FIELD WITH_CPU.
        " Now loop at table WP_TABL
        LOOP AT WP_TABL.
           " Inside this loop you have to check if the report field WP_TABL-WP_REPORT is been executed more than one time. The user field WP_BNAME tells you who is executing the program.
        ENDLOOP.
    I suggest you, ask for an ABAPER help with this code example.
    Hope it helps you...
    Alexis Sánchez N.
    SAP ABAP Developer Consultant
    <please no company names in the posts, folks can view your business card if interested>
    Edited by: Thomas Zloch on Apr 12, 2010 4:50 PM

  • What is Transaction Code to start report RSNAST00 as a backgroud process ?

    I would like to know the Transaction Code or the Access Path to start report RSNAST00 as a backgroud process at a certain time ((Tools > Administration ?).
    Thanks.

    Hi Oscar,
    1.You can go to SE38 give the report RSNAST00 and give the input criteria.
    2. Now save this as a variant in the path  Goto-Variant-Save as Variant
    3. In the new screen give a variant name and save it with a description
    4.Now go to SM36 and give a job name, and job class (Status should be scheduled and target server should be nil
    5.Then click the Step button at the top
    6. In the new screen, click the button ABAP program, and in that screen meant for ABAP program, in the place of name, give the program which you want to execute(In this case RSNAST00) and select the variant of your program which needs to be executed.
    7. If you want the ouputs to be triggered in some specific language, you can mention the language also.Otherwise it will be executed in your logon language.
    8.If you want the background job to be executed with some other user id, that user id can be mentioned in the user id field at the top.
    9. After entering these data, click the check button and then save this.
    10. Now the screen will go off, and the earlier will come. Now click save in this screen once again.
    11.Now click the startcondition button at the top, click the Date/time button in the new screen and give the date and time at which the job should execute.
    12. Save the new screen.
    13. Again save the old screen now.
    Once this is done, the job will be automatically scheduled for the time you have mentioned, Now you can check this job in SM37 at that time.
    Pls reward points if it helps.

  • How to Create Transaction code for a Report

    Hi Gurus,
    I created some reports and I wants those reports
    should be placed in the SAP Menu(initial screen) not
    in the User menu in the form of Transaction codes.
    I would really appreciate if any one can please send the process to create transaction codes for the User reports/Report groups in R/3 and how to add those created Transaction codes to the SAP MENU.
    Thanks in Advance
    Danial

    Try to insert it into the main menu if you must change S000 (there is a function module for everything)? Perhaps SAP protects their menu trees from foreign subnodes in SE43?
    Also note that for report transactions you do not need to give the user transaction code start_report. If you do, then they could enter it directly and potentially start many other reports too. The system will call start_report for submitting the report internally without authorizations for it required (unless start_report is maintained in SE97).
    Regarding DE, this also confuses me sometimes and I noticed that it generally indicates that I am doing something which has an implication for a SAP standard object. Try either hitting the enter button to see what the next screen is, or, choose original language in the previous screen, or, logon in sy-langu = DE and (remember the path if you dont speak German) change it, or, follow JCs advice to create your own menu.

  • Transaction code for SAP reports

    Hello All,
    What is the transaction code which displays SAP reports?
    I saw in SDN forums but unable to track it down.
    Can somebody help me?
    Thanks.
    Best Regards,
    Subhakanth

    Hi Vishnu,
    Thanks for your reply.
    But actually I wanted to see all the report names in a menu for a corresponding area i.e., let say Plant maintenance area or Project system area etc...
    Do you know anything like above?
    Thanks
    Best Regards,
    Subhakanth

  • One Transaction code for many reports

    Dear all,
    I have some new requirement in Profitability Analysis for each new country a new currency and operating concern is to be define. and for each of this it is necessary to create a transaction code respectively  per new operating concernThis will lead to a high number of transaction codes in the Area menu for the Standard reports in CO-PA.To avoid this high no. of transaction codes, two help transaction have to be created, to act as a transaction for calling the correct report or transaction for the respective OC. The result will be, that only this new transactions (one for the EBIT report; one for the MI IIa report) will be in the area menu The function of these transactions is to call the correct transaction or report for the regarding OC. so I am required to create 2 new transactions which will do all the things .
    any body have idea how to go about it . and any help code
    Thanks & Regards
    Vinayak

    .

  • Create transaction code for abap report

    Hello,
    don't know if this is the correct subforum (sorry in advance).
    I have created a ABAP Report in SE38 having a SELECTION-SCREEN.
    Now I would like to have a Transaction code to refer to the report. So that I can call the Transaction and then get the selection screen to use the abap report.
    How can I do this the simplest way? I can't find anything in google, can you give me some hints?

    hi
    goto se93
    give transaction code and click create
    select the second radio button(transaction code for reports)
    give short description and press enter
    after that give your program name
    and select the gui check boxes as required for html ,java,
    and save it
    you can use the transaction code
    REGARDS
    PRASANTH

Maybe you are looking for