How to make changes in another program?

Hi evrybody,
how  to make changes from one program  to another program ?
Changes should be reflecting in other program.
thanx in advance n wud be surely Rewarded if answer is helpful.

Hi Bharat,
Thanx for the info.
But what my requirement is , I'm scanning & reading another report into an Internal table. I want to change the Hyphen's
'-' used in variable declarations of another program into Underscore '_' .
My sample code is like this..
Report Zmain.
PARAMETERS:
  p_prog LIKE sy-repid,
  p_key LIKE stokex-str.
Internal Table t_itab                                                *
DATA:
  BEGIN OF t_itab OCCURS 0,
    line(256) TYPE c,
  END OF t_itab.
*" Data declarations...................................................
DATA:
  t_statements LIKE sstmnt OCCURS 0 WITH HEADER LINE,
  t_levels LIKE slevel     OCCURS 0 WITH HEADER LINE,
  t_tokens TYPE stokesx    OCCURS 0 WITH HEADER LINE,
  t_keywords LIKE t_itab   OCCURS 0 WITH HEADER LINE,
  w_i TYPE i,
  w_j TYPE i.
                        START-OF-SELECTION                           *
START-OF-SELECTION.
  APPEND p_key TO t_keywords.
  READ REPORT p_prog INTO t_itab.
  SCAN ABAP-SOURCE t_itab
  STATEMENTS INTO t_statements
  LEVELS INTO t_levels
  TOKENS INTO t_tokens
  KEYWORDS FROM t_keywords
  WITH INCLUDES
  WITH ANALYSIS
  WITH COMMENTS.
                        END-OF-SELECTION                             *
END-OF-SELECTION.
  LOOP AT t_statements.
    READ TABLE t_levels INDEX t_statements-level.
    w_i = t_statements-from.
    w_j = t_statements-to.
   IF t_statements-level > 0.
    WHILE w_i < w_j.
      READ TABLE t_tokens INDEX w_i.
      REPLACE '-' WITH '_' INTO t_tokens-str.
      w_i = w_i + 1.
    ENDWHILE.
   ENDIF.
  ENDLOOP.
My called program is like this....
Report Zcalled.
DATA:
  w-var1 TYPE c,
  w-var2 TYPE c.
DATA:
  fs_flight1 TYPE sflight,
  t_flight1 LIKE STANDARD TABLE OF sflight.
START-OF-SELECTION.
  INCLUDE zinclude3.
  SELECT * FROM sflight
    INTO TABLE t_flight1
    WHERE carrid = 'AA'.
  SELECT * FROM sflight
   INTO TABLE t_flight1
   WHERE carrid = 'LH'.
END-OF-SELECTION.
  LOOP AT t_flight1 INTO fs_flight1.
    WRITE: / fs_flight1-carrid,
             fs_flight1-connid,
             fs_flight1-fldate,
             fs_flight1-price.
  ENDLOOP.
Thanx very much.

Similar Messages

  • My Network settings are being changed by another program??

    When i open up system preferences>network an alert window pops up to say "your network settings have been changed by another program"...so naturally i click the 'o.k' button to get rid of it, but it immediately pops up again.
    So its impossible to make changes in my network settings because it'll keep popping up, meaning the only way to close system preferences is to force quit.
    What could this other program be? could it be my ISP (virgin media) messing about with my settings?
    so until i can fix my problem i cant even change any of the settings in the 'network' panel of 'system preferences'.......and you guys ideas to fix this would be appreciated!!

    This recently happened to me. Go to System Prefs, Security. Click on Require Password to Unlock each secure system preference. That should do it. After you fix it, go in to security prefs again to uncheck it, or you will have to enter password each time you want to change any system prefs.

  • How do I change the default program to open Pages docs to the old (4.3) version instead of the new one (5.0)?

    How do I change the default program to open Pages docs to the old (4.3) version instead of the new one (5.0)? When I do what Apple said and go to a Pages file in finder and select "get info" then select "Pages 4.3" and "change all" it just defaults to the new one even though I'd selected the old one. Do I need to completely uninstall the new version of Pages or is there another work around because the new version of Pages comes dreadfully short of the features I need that are included in the old one?

    Eric Kraft wrote:
    HOWEVER, if you modified a document in 5.0, 4.3 can't open it. You'll have to use Time Machine to replace the modified version with an earlier version that was last modified in 4.3.
    Actually there is a workaround.
    If you open the file in Pages 5, it can then be exported on Pages 0.9 format to another folder. I had to do this as the document was only in iCloud and couldn't be recoverd by Time Machine.
    Worked for me!

  • Your network settings were changed by another program

    I changed the settings on my DSL modem-router so that it signs me in and handles PPPoE, not the Mac. When I attempted to change the setting on my PowerBook Ti to DHCP, using the network part of system preferences, I got a dialog box saying "Your network settings were changed by another program". I could dismiss this window only by quitting immediately after trying to dismiss the dialog box. After a couple of tries system preferences would quit. I can however access the internet through AirPort and the same DSL modem-router. Does anyone know how I can change my ethernet setting to DHCP so that I can surf the web using ethernet?

    To stop the pop-up, Go to System Preferences: Security. Check the box next to "Require password to unlock each secure system preference." Then lock Security.
    Try this cure for Security update...
    http://discussions.apple.com/thread.jspa?threadID=1730909&tstart=0
    The locations are actually...
    /Library/Preferences/SystemConfiguration/preferences.plist
    /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
    /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
    /Library/Preferences/SystemConfiguration/com.apple.nat.plist

  • Can any body tell me how to make changes in the print layout of Fb03.

    hi,
    Can any body tell me how to make changes in the print layout of Fb03.
    I want to add comapny address on the layout.
    Regards
    Mave

    If you mean the correspondence, you have to change the configuration in Financial Accounting -> AR and AP -> Business Transactions -> Outgoing Invoices -> Carry Out abd Check Settings for Correspondence. There, you need to assign your custom Program or Layout for the Correspondence Type (like SAP19) and Program.
    If you mean the display layout in transaction FB03, You can change a few settings, mainly with BKPF and BSEG fields. I don't think you can add company address, though.
    Good luck,
    Bhanu

  • How can i change so a program autostart on every user?

    Hey
    I have install a program with ARD on 90 macs, then i want the program to autostart when the user login.
    So how can i change so a program autostart on every user?
    Imac   Mac OS X (10.4.9)  

    Workgroup Manager should make this a fairly simple task.
    First, use it to create a new group containing all of the users you specify. Then, for the group, go to the Login Items preference, and set the program to start up there.
    Workgroup Manager, if you don'rt already have it installed, is part of the Server Admin Tools, a free download from Apple.

  • How to make changes in default toolbar

    hi
    i m using oracle forms 6 and i want to know either it is possible to change in the default toolbar or not if so plz let me know how to make changes in default toolbar and re-adjust according to my need.i know how to create new toolbar and connect with form but i don't know whether this is possible to re-arrenge and change the default toolbar attached with forms.
    thnx in advance

    thnks for ur reply. i worte that i m using forms 6i so that ur reply do not fullfill my query.
    i posted my query because i have seen an application developed in oracle form 6 and he designed exactly the same iconic toolbar as we see normal while running the forms and i tried but could not able designed accordingly as button don't have "bevel" property and button we use .ico extension if we want to use icon buttons.now i m astonised if there is not any way make changes then how he did.

  • How to make changes in standard transaction ME51N.

    Hi,
       Can anyone tell me how to make changes in standard transaction ME51N.
       I want to call transaction AS01 by clicking on standard button create asset. Please do the needful.
    Regards.
    Aniruddha

    Hi anirudda
              As i understood from your question is that you want to add a new field 'CREATE ASSET' on me51n screen.
    If i am correct you can use 'MEREQ001' enhancement for this purpose and you can write you code in the exits available in this enhancement.
    Please check the documentation of this enhancement for more info.
    (Use Smod for this purpose)
    I hope it is helpful.
    Reward points
    Thanks,
    Prasanna

  • How to make changes in strong password policy

    hi,
    how to make changes in strong password policy.
    I m using apex 4.2.
    pls help

    1003090 wrote:
    I created a login page, but when i m putting a password or more then 7 character then in place of Invalid Login Credentials , its saying
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    I need to put a password of min 8 character, since its taking not more then 7 so i cannot use validation for the same.You already have a thread open on that: +{thread:id=2532900}+. Continue with that issue there.
    If the original question above relating to how to configure password policies is answered then close this thread.

  • How to make changes in deduction column in IT 2006

    Hi All,
    Scenario: Employee had a sick leave & casual leave quota 6 days in a financial year.
    Now the employee had used all his sick leaves and casual leaves and the leaves got exhausted pertaining to this quota.
    These days are reflecting in 2001 IT as leaves taken  but the deduction did'nt happen in IT 2006
    Can anyone tell how to make changes in the deduction column for specific employee code's
    Regards,
    Srikanth

    Hi Megha,
    The assignment is properly mapped to counting rule.. Issue is with the validity intervals. SInce the employee already availed the leaves the quotas cannot be deleted in the IT 2006. Issue resolved by making some changes in the deduction column through SQL table entry..
    Really appreciate your response..
    Regards,
    Srikanth

  • How to make Forms6i Application Install Program?????

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

  • HT204053 How to make changes on my payment Account

    How to make changes to my payment account.

    in my Complete Selection window I have the following:
    FACT TTY( * ) FIG( RefDate <= CurrentDate And JDT1_BalDueDeb + JDT1_BalDueCred <> 0 )  Group By TTY.Code ,FIG.Ref1 ,FIG.OJDT_Ref2 ,FIG.LineMemo ,FIG.RefDate
    in the XLS cells I have the following:
    =ixGet("JDT1_BalDueDeb")
    and
    =ixGet("JDT1_BalDueCred")
    If you need additional clarification let me know.
    regards, Sotos Soteriou

  • How to make changes in company code global data

    Hi folks,
    Can some one suggest me how to make changes in company code global data (t code oby6). I want to assign 1 to co code > co Area which is blank.
    Thanks in advance

    Hi,
      actually if you want to change co code > co Area , it is under controlling (maintain controlling area), transaction code  OX06 .You change the assignment control and save it. It is automatic update you COmpany code global data.
    *give me a point if my answer solve your problem.
    Thank You.
    -akma-

  • How to make changes in Format Payment Instructions Program in Payables

    Dear All,
    My requirement is to make changes in the Check Priting Template. When i do payment thru payments screen, then in view requests "Format Payment Instructions" Program was submitted.
    "Format Payment Instuctions" Program is having executable as "Java COncurrent Program".
    In Payment Administrator I have got the " Payment Process Profile". In this Profile Format "Laser Check FOrmat " is attached.
    From this java file how can i get the all xml tags which are used in "Laser Check Format".
    Now i want to get the list of all xml tags , how can i do that.
    Please help me.....
    Thanks in advacne
    SHeetal Mittal

    http://ora12apps.blogspot.com/
    Creating AP Checks in Oracle R12

  • How to read stdio of another program

    Hi,
    I have a program that reads data from PC serial port and prints that into the command prompt (stdio) in text format.
    The idea has been that the output is redirected to a file and then the file is analysed off-line with Excel or Matlab.
    Now I would like to make a front-end program with LabWindows that shows the data graphically in real-time.
    I don't want to change the original program that reads the port and prints the data to command prompt as it is needed as such also in the future.
    The question is how to read the stdio of another program in real-time with LabWindows?
    I have tried LaunchExecutable() to start the other program from LabWindows but cannot get hold of the data printed on the command prompt.
    There are examples of DDE-solutions for two programs to exchange data but this seems an overkill for my problem as there is only one-directional data that I want to read into the Labwindows program.
    I thought that it would be quite common to implement such a graphical front-end to display real-time graphics of some old text-based program. Amazing that there seems not to be good and easy solutions for LabWindows.
    (I did implement a quick solution with Qt but LabWindows would offer much better graphical elements for drawing the measurement data.)
    Thanks!

    Hi,
    Thank you for the link.
    I implemented those short programs in LabWindows and tried them. Yes, works perfectly!
    Write-program's output is redirected to a file with ">" and the Read-program can read the file even if the programs are running simultaneously.
    The bad news is that this does not work with the program that I need to use.
    There is a small difference in the behavior of the programs that write output to the command-promt. I don't understand why.
    1) The small Write-program implemented from the link opens a new command-prompt where the output goes if there is no redirection. And if there is the redirection ">" it still opens the new command-prompt but it stays empty as the ouput goes to the file. (And the Read-program can read the file; everything works okay.)
    2) The program that I need to use does not open a new command-prompt when started; it's output goes to the same command-prompt where it is started from. With redirection the output goes to the file; no new command-prompt this time either. But the problem is that the reading program cannot read the file. The Read-program can read the file if it has been created and written before. But not if it tries to read it at the same time that it is written by the other program.
    Maybe this is a simple problem if you know how to solve it... :-/

Maybe you are looking for

  • Can't Make a Decision on the Yoga 2 Pro

    Am in the market for a new laptop and love the look of the Yoga 2 Pro.  It has the specs that I'm looking for - i5, 256gb SSD, 8gb RAM - but I keep hesitating over the 3200x1800 resolution. I am a middle-aged guy (with middle-aged eyes) who will be u

  • Adobe flash player stopped working 10.5.8.. can not get it to work anymore

    My flash player has not worked for 2 days, i can view some things on Youtube but with no sound so i tried to update my flash player and it doesn't supprt my mac os x version 10.5.8... anyone know what i can do next... Spent over a thousand euro on th

  • Texas map not up to date

    I was very surprised to find found out yesterday how old the map data on my N8 really is. I was driving through the eastern extension of the George Bush Turnpike (SH190) which according to NTTA opened to traffic in December 2011 but still did not sho

  • I am wanting to personalise my iPod and wonder how I do this

    hi hi am wanting to person,it's my iPod and wonder how I do this, I have tried via ITunes, but unable to see how I do this. regards yvonne

  • Themes have disappeared

    After updating to the latest version of Firefox all the themes under addons have simply disappeared, and when I click get addons the page goes into perpetual load, with the little loading circle swirling away. The themes page never loads...