Change in the program

the following program modification has to be done such that  it takes input  from the  application server  and not from the   presentation server.
*& Report  ZFI_OPENITEM5                                               *
REPORT  ZFI_OPENITEM5  no standard page heading                       .
DATA : BEGIN OF t_bdcdata OCCURS 0.
        INCLUDE STRUCTURE bdcdata.
DATA : END OF t_bdcdata.
DATA: BEGIN OF t_msgtab OCCURS 0.
        INCLUDE STRUCTURE bdcmsgcoll.
DATA:        END OF t_msgtab.
DATA: BEGIN OF ITAB OCCURS 0,
           BLDAT LIKE BKPF-BLDAT,
           BLART LIKE BKPF-BLART,
           BUKRS LIKE BKPF-BUKRS,
           BUDAT LIKE BKPF-BUDAT,
           MONAT LIKE BKPF-MONAT,
           WAERS LIKE BKPF-WAERS,
           NEWBS LIKE RF05A-NEWBS,
           NEWKO LIKE RF05A-NEWKO,
           WRBTR LIKE BSEG-WRBTR,
           ZTERM LIKE BSEG-ZTERM,
           ZFBDT LIKE BSEG-ZFBDT,
           VALUT LIKE BSEG-VALUT,
           PRCTR LIKE COBL-PRCTR,
       END OF ITAB.
End generated data section ***
uploading the file
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
filename = 'C:\BDC1.txt'
   filetype                      = 'ASC'
   has_field_separator           = 'X'
  HEADER_LENGTH                 = 0
  READ_BY_LINE                  = 'X'
  DAT_MODE                      = ' '
  CODEPAGE                      = ' '
  IGNORE_CERR                   = ABAP_TRUE
  REPLACEMENT                   = '#'
  CHECK_BOM                     = ' '
IMPORTING
  FILELENGTH                    =
  HEADER                        =
  TABLES
    data_tab                      = ITAB
EXCEPTIONS
   file_open_error               = 1
   file_read_error               = 2
   no_batch                      = 3
   gui_refuse_filetransfer       = 4
   invalid_type                  = 5
   no_authority                  = 6
   unknown_error                 = 7
   bad_data_format               = 8
   header_not_allowed            = 9
   separator_not_allowed         = 10
   header_too_long               = 11
   unknown_dp_error              = 12
   access_denied                 = 13
   dp_out_of_memory              = 14
   disk_full                     = 15
   dp_timeout                    = 16
   OTHERS                        = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ITAB.
    PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
    PERFORM bdc_field       USING 'BDC_CURSOR' '09/65'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=PICK'.
    PERFORM bdc_dynpro      USING 'SAPMF05A' '100'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'RF05A-NEWKO'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    PERFORM bdc_field       USING 'BKPF-BLDAT' ITAB-BLDAT.
    PERFORM bdc_field       USING 'BKPF-BLART' ITAB-BLART.
    PERFORM bdc_field       USING 'BKPF-BUKRS' ITAB-BUKRS.
    PERFORM bdc_field       USING 'BKPF-BUDAT' ITAB-BUDAT.
    PERFORM bdc_field       USING 'BKPF-MONAT' ITAB-MONAT.
    PERFORM bdc_field       USING 'BKPF-WAERS' ITAB-WAERS.
    PERFORM bdc_field       USING 'RF05A-NEWBS' ITAB-NEWBS.
    PERFORM bdc_field       USING 'RF05A-NEWKO' ITAB-NEWKO.
    PERFORM bdc_dynpro      USING 'SAPMF05A' '302'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'BSEG-ZFBDT'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=ZK'.
    PERFORM bdc_field       USING 'BSEG-WRBTR' ITAB-WRBTR.
    PERFORM bdc_field       USING 'BSEG-ZTERM' ITAB-ZTERM.
    PERFORM bdc_field       USING 'BSEG-ZFBDT' ITAB-ZFBDT.
    PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
    PERFORM bdc_field       USING 'BDC_CURSOR' '04/05'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=PICK'.
    PERFORM bdc_dynpro      USING 'SAPMF05A' '0332'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'RF05A-NEWKO'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    PERFORM bdc_field       USING 'RF05A-NEWBS' ITAB-NEWBS.
    PERFORM bdc_field       USING 'RF05A-NEWKO' ITAB-NEWKO.
    PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'BSEG-WRBTR'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    PERFORM bdc_field       USING 'BSEG-WRBTR' ITAB-WRBTR.
    PERFORM bdc_field       USING 'BSEG-VALUT' ITAB-VALUT.
    PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'COBL-PRCTR'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTE'.
    PERFORM bdc_field       USING 'COBL-PRCTR' ITAB-PRCTR.
    PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'BSEG-WRBTR'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=BU'.
    PERFORM bdc_field       USING 'BSEG-WRBTR' ITAB-WRBTR.
    PERFORM bdc_field       USING 'BSEG-VALUT' ITAB-VALUT.
    PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'COBL-PRCTR'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTE'.
    PERFORM bdc_field       USING 'COBL-PRCTR' ITAB-PRCTR.
    PERFORM bdc_transaction USING 'F-02'.
ENDLOOP.
PERFORM display_msg.
      bdc_dynpro                                              *
FORM bdc_dynpro USING program dynpro.
  t_bdcdata-program  = program.
  t_bdcdata-dynpro   = dynpro.
  t_bdcdata-dynbegin = 'X'.
  APPEND t_bdcdata.
  CLEAR t_bdcdata.
ENDFORM.                    "BDC_DYNPRO
       bdc_field                                                  *
FORM bdc_field USING fnam fval.
  t_bdcdata-fnam = fnam.
  t_bdcdata-fval = fval.
  APPEND t_bdcdata.
  CLEAR t_bdcdata.
ENDFORM.                    "BDC_FIELD
*&      Form  bdc_transaction
FORM bdc_transaction  USING    trans.
  CALL TRANSACTION trans
          USING t_bdcdata
          MODE  'E'
          MESSAGES INTO t_msgtab.
ENDFORM.                    " bdc_transaction
*&      Form  display_msg
form display_msg .
LOOP AT t_msgtab.
  WRITE: / t_msgtab-msgtyp,
           t_msgtab-msgv1.
ENDLOOP.
ENDFORM.                    " display_msg

Hi ,
To read data from the application server you need to use the
OPEN DATASET statement .
Please check the help on it and try to implemnet in your program in place of GUI_UPLOAD function.
Regards
Arun

Similar Messages

  • My pc user is nt changing at the program files though i've changed it at user account control

    my pc user is nt changing at the program files though i've changed it at user account control

    Hi @pastorhumphrey,
    Welcome to the HP Forums!
    It is a terrific place to find answers and tips!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are having a difficulty with your Windows accounts.  Here are two links that I think may help.
    Create a user account
    User accounts: FAQ
    If you are still having an issue with the accounts, I suggest contacting Microsoft support for assistance.
    1 800 642 7676  Microsoft Corporation Customer service
    or Microsoft Contact Us
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Since 2012 I have Photoshop Elements always worked without any problem, however now the language is suddenly German how can this be changed, removed the program and re-installed, not working. Program is downloaded and updated via the apple app store?

    Since 2012 I have Photoshop Elements always worked without any problem, however now the language is suddenly German how can this be changed, removed the program and re-installed, not working. Program is downloaded and updated via the apple app store?

    I've done some research on the SQLite database. Whenever Aperture hangs up (like during auto-stack or opening the filter hud) there are thousands of SQLite queries happening. These SQLite queries cause massive file I/O because the database is stored on the disk as 1kb pages. However, the OS is caching the database file; mine's only 12MB. I'm trying to track down some performance numbers for SQLite on osx but having trouble.
    It's starting to look like most of the speed problems are in the libraries that Aperture uses instead of the actual Aperture code. Of course, that doesn't completely let the developers off the hook since they choose to use them in the first place.
    Oh, and if anyone is curious, the database is completely open to queries using the command line sqlite3 tool. Here's the language reference http://www.sqlite.org/lang.html
    Hmm, just found this. Looks like someone else has been playing around in the db http://www.majid.info/mylos/stories/2005/12/01/apertureInternals.html
    Dual 1.8 G5   Mac OS X (10.4.3)   1GB RAM, Sony Artisan Monitor, Sony HC-1 HD Camera

  • How do we use SPAU to make changes to the programs

    Could anyone please let me know the process of making the changes to the standard programs using SPAU transaction in detail.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Aug 9, 2011 3:29 PM

    Thanks Gary,
    I know that. What I meant was that in the older version of Keynote I could pinch and zoom on photos but now that function is limited only to slide size.
    Even with pressing "command" or "alt" or "shift" I am unable to resize the photo any more thru gestures on my trackpad. Pain in the butt to click and resize, especially after being so used to be able to pinch and zoom and rotate with two fingers using the trackpad.
    Thanks for trying to help
    Ronnie

  • Changes of the program

    Dear all,
    can you provide the solution for the below.
    i have a module pool program, i need to know all the users who have changed the program from so and so date to so and so date.
    Regards
    Venkat

    Hi,
    ABAP/4 workbench and the organizer provide a version management for all the objects in the system. With version management user can compare current version object and object with the previous version.
    To display the version for a object,
    Locate your object through the change request number of workbench organizer. Click on the object and from menu.
    Or
    Utilities &#61664; display version.
    It displays what has been modified and who did it.
    Version management is important for developers also as it allows user to compare previous programs with the current one.
    I hope this will help you out.........do reward
    regards,
    preet

  • My icons all changed from the program icon to one Microsoft Office icon

    I was reviewing emails and was reading one....I have no idea what I did, but all the desktop icons for my various programs were all changed to one icon....which is an icon for Microsoft Office 2010.  I have tried to figure out what I need to do to reset them to what they were originally.  Does anyone know how to do this?  Can the explaination be in user friendly terminology, please.

    1. Open Windows Explorer (any folder/drive).
    2. As the IconCache is a hidden file, you need to enable “Show hidden files” option to see the same. To do this, head over to Tools > Folder Options, switch to View tab, and finally enable Show Hidden files, folders, and drives option.
    3. Now navigate to C:\Users\<username>\AppData\Local folder and then delete IconCache.db file. Here username is your user profile name.
    4. Reboot your computer to rebuild the icon cache.
    5. All icons should be displayed correct now.
    Alternately, you can download a tool from the following weblink that will do this for you:
    http://fc02.deviantart.net/fs70/f/2010/141/0/e/Rebuild_Icon_Cache_v0_7b_by_screeny05.rar
    The tool has three options, one to rebuild the icon cache, another one to restore the original icon cache file and third option to delete the back up file of icon cache. When you rebuild the cache, it takes a back up of existing IconCache.db.
    I am an HP employee.
    Regards,
    Vidya
    Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
    ***Click on "Thumbs up" button to the bottom right side of my post to say thanks!***

  • The latest changes to the function to "Upload to FTP host" has rendered this useless - no point using a program like Muse if I can not easily and automatically upload the work to the webserver!

    The latest changes to the function to "Upload to FTP Host" has rendered this useless - no point using a program like Muse if I can not easily and automatically upload the work to the webserver!  I use BlueHost webhosting that has a primary domain and I have several domains with that account (as sub-domains or folders on this server) - with past versions of Muse when uploading pages it simply opened an alert window to tell me (what I already know) that the website I was uploading does not point to the primary domain BUT NOW Muse tries to create a new separate folder in the root directory of the primary domain - completely ignoring the directory path I am giving it - useless!  Why make these senseless changes to the program - and so often - very frustrating it is like amateur ware!.

    Hi Stephen,
    There are some issues with the upload to ftp via Muse, which the engineering team is aware of and those will be fixed in a future build of Muse. At this point the work around would be to export the html from Muse and then upload via some third party ftp client like filezilla.
    I will recommend that you keep an eye on our release notes page to get more updates on it - Release notes | Adobe Muse CC
    - Abhishek Maurya

  • Documenting the program changes -Standard procedure

    Hi Gurus1
    I have a very general question which I am aware of but apart from documenting teh changes within the program in the start of the program , is there any other procedure  that is used to document the change ina  report or program that is more standard and which si available to all so that even apart from the programmers ppll accross know what are the changes that have been made to a report or a program or a transaction right from the begining so that a history is maintained and the time is available when the changes have been made to a program .
    Similary is there a procedure to document the changes a querry goes through in its life cycle which can be documented in a correct way and a history maintained so that all can see what were thenchnages and when was it done and who did it and who requested it .
    Actually iw as trying to find out if someone is currently using some systematic procedure to document all changes and in order and how they were doing so that I can apply that for my purpose too.
    Thanks
    Aarav

    Hi,
    We maintain changes in following way.
    When a new program is created, the programmer writes his name, date, object id and description.
    and does coding now if some else wants to edit program he will add his change description on top of program right below original mod-log.
    and all the changes made by him or under the comment structure.
    like this
    *begin of change <change id> by programmer id
    changes
    *end of change <change id> by programmer id
    or for single line change
    changes  " change <change id> by programmer id.
    This way all the changes are documented in a quite clean manner.
    кu03B1ятu03B9к
    Edited by: kartik tarla on Feb 6, 2009 10:30 PM

  • Close the Programs that are opened by OSS Note

    Hi,
      We had opened some of the standard programs (With access key) and made the modifications as per the OSS note some time back, the programs that were modified are still open for editing even now and the client is concerned about the sanctity of the standard programs as they are open for everyone any one can make changes to the programs, how one can make sure that the object once opened should be closed immediately afer applying modifications, does SAP has any kind of mechanism using which we can track this,
    Any help would be highly appreciated,
    Rgds,

    Hi Sailatha,
    Once you have modified an SAP Object using an access key it becomes a custom Object. It can be modified at any time by any developer in the development system. If you have used the Modification Assistant or SNOTE while making the changes the first time, you will be prompted to retain your changes or reset to original in SPAU during upgrades / support packs.
    Regards
    Suresh Datti

  • ECC 6.0 Upgrade & changes required in programs

    In case of a version upgrade to ECC 6.0, the programs would need to be changed. Some changes in the programs would be required to meet unicode compliance, while some changes would be required due to version upgrade (constructs becoming obsolete, etc). I guess the unicode related issues could be found by using the UCCHECK transaction and then resolved by making changes and again checking using this transaction, but is there some way to find out what issues would arise due to version upgrade? (The programs work fine in the lower version which is 4.6c). One way would be to actually check the programs in runtime and then handling the issues faced. But if we don't want to test all the programs, then is there some tool, or any best practice which would minimize the chance of having issues in the programs (and might be in help in solving the issues)?

    SAMT is a transaction that will allow you to create sets for syntax check. We generally do it for Z* and Y* objects if the count does not exceed 3000.
    Batch objects are the BDCs and Conversions as explained by Hema. Earlier upgrades had more than 80% of these objects failing becuase the screens may have changed or the screen fields may be missing, screen flow changed ... But now it has reduced especially from 46c to Ecc6 upgrade. However it still warrants testing them thoroughly.
    Clones are copies of standard SAP objects in Z space and modified. These objects generally tend to have standard includes within them or the program definition may still have the original SAP name. It is tricky to find all of them but simple rules like matching name strings (eg SAPMV45A -> ZAPMV45A or Z_SAPMV45A) would help. It may vary from customer to customer depending on their naming standards.
    Standard function modules used in the program can be easily found out using SCAN command in ABAP (see my example for SCAN in code snippets). Use the list of function modules identified and pass to the program below to see if their interfaces have changed. Test all objects affected by changed interfaces.
    *& Report  YACN_FUNC_ANALYSIS
    REPORT  YACN_FUNC_ANALYSIS.
    Tables: tfdir.
    DATA: v_found TYPE c.
    DATA: v_func LIKE enlfdir-funcname.
    DATA: BEGIN OF i_import OCCURS 0.
            INCLUDE STRUCTURE rsimp.
    DATA: END OF i_import.
    DATA: BEGIN OF i_changing OCCURS 0.
            INCLUDE STRUCTURE rscha.
    DATA: END OF i_changing.
    DATA: BEGIN OF i_export OCCURS 0.
            INCLUDE STRUCTURE rsexp.
    DATA: END OF i_export.
    DATA: BEGIN OF i_table OCCURS 0.
            INCLUDE STRUCTURE rstbl.
    DATA: END OF i_table.
    DATA: BEGIN OF i_exceptions OCCURS 0.
            INCLUDE STRUCTURE rsexc.
    DATA: END OF i_exceptions.
    DATA: BEGIN OF i_doc OCCURS 0.
            INCLUDE STRUCTURE rsfdo.
    DATA: END OF i_doc.
    DATA: BEGIN OF i_source OCCURS 0,
             INCLUDE STRUCTURE RSSOURCE.
              line(256)  TYPE c,
          END OF i_source.
    DATA: BEGIN OF e_import OCCURS 0.
            INCLUDE STRUCTURE rsimp.
    DATA: END OF e_import.
    DATA: BEGIN OF e_changing OCCURS 0.
            INCLUDE STRUCTURE rscha.
    DATA: END OF e_changing.
    DATA: BEGIN OF e_export OCCURS 0.
            INCLUDE STRUCTURE rsexp.
    DATA: END OF e_export.
    DATA: BEGIN OF e_table OCCURS 0.
            INCLUDE STRUCTURE rstbl.
    DATA: END OF e_table.
    DATA: BEGIN OF e_exceptions OCCURS 0.
            INCLUDE STRUCTURE rsexc.
    DATA: END OF e_exceptions.
    DATA: BEGIN OF e_doc OCCURS 0.
            INCLUDE STRUCTURE rsfdo.
    DATA: END OF e_doc.
    DATA: BEGIN OF e_source OCCURS 0,
             INCLuDE STRUCTURE RSSOURCE.
              line(256)  TYPE c,
          END OF e_source.
    DATA: BEGIN OF i_tab OCCURS 0,
              line(71)  TYPE c,
          END OF i_tab.
    PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'D:\Documents and Settings\prakash.bhatia\Desktop\funcmods.txt'.
    START-OF-SELECTION.
      CALL FUNCTION 'UPLOAD'
       EXPORTING
      CODEPAGE                      = ' '
          filename                      = p_file
          filetype                      = 'DAT'
      ITEM                          = ' '
      FILEMASK_MASK                 = ' '
      FILEMASK_TEXT                 = ' '
      FILETYPE_NO_CHANGE            = ' '
      FILEMASK_ALL                  = ' '
      FILETYPE_NO_SHOW              = ' '
      LINE_EXIT                     = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      SILENT                        = 'S'
    IMPORTING
      FILESIZE                      =
      CANCEL                        =
      ACT_FILENAME                  =
      ACT_FILETYPE                  =
        TABLES
          data_tab                      = i_tab
    EXCEPTIONS
      CONVERSION_ERROR              = 1
      INVALID_TABLE_WIDTH           = 2
      INVALID_TYPE                  = 3
      NO_BATCH                      = 4
      UNKNOWN_ERROR                 = 5
      GUI_REFUSE_FILETRANSFER       = 6
      OTHERS                        = 7
      LOOP AT i_tab.
        v_func = i_tab-line.
        select single * from tfdir where funcname = v_func.
        if sy-subrc <> 0.
          continue.
        endif.
        PERFORM get_func_details TABLES i_import
                                        i_changing
                                        i_export
                                        i_table
                                        i_exceptions
                                        i_doc
                                        i_source
                                  USING ' ' v_func.
        PERFORM get_func_details TABLES e_import
                                        e_changing
                                        e_export
                                        e_table
                                        e_exceptions
                                        e_doc
                                        e_source
                                  USING 'D02' v_func.
        WRITE:/ v_func.
        CLEAR v_found.
        IF i_import[] = e_import[].
          WRITE: 'N'.
        ELSE.
          LOOP AT i_import.
            READ TABLE e_import WITH KEY parameter = i_import-parameter.
            IF sy-subrc <> 0.
              IF i_import-optional <> 'X'.
                WRITE: 'Y'.
                v_found = 'X'.
                EXIT.
              ENDIF.
            ELSE.
              IF i_import-typ <> ' '.
                IF i_import-typ <> e_import-dbfield.
                  WRITE: 'Y'.
                  v_found = 'X'.
                  EXIT.
                ENDIF.
              ELSE.
                IF i_import-dbfield <> ' '.
                  IF i_import-dbfield <> e_import-dbfield.
                    WRITE: 'Y'.
                    v_found = 'X'.
                    EXIT.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF v_found = ' '.
            WRITE: 'N'.
          ENDIF.
        ENDIF.
        CLEAR v_found.
        IF i_changing[] = e_changing[].
          WRITE: 'N'.
        ELSE.
          LOOP AT i_changing.
            READ TABLE e_changing WITH KEY parameter = i_changing-parameter.
            IF sy-subrc <> 0.
              IF i_changing-optional <> 'X'.
                WRITE: 'Y'.
                v_found = 'X'.
                EXIT.
              ENDIF.
            ELSE.
              IF i_changing-typ <> ' '.
                IF i_changing-typ <> e_changing-dbfield.
                  WRITE: 'Y'.
                  v_found = 'X'.
                  EXIT.
                ENDIF.
              ELSE.
                IF i_changing-dbfield <> ' '.
                  IF i_changing-dbfield <> e_changing-dbfield.
                    WRITE: 'Y'.
                    EXIT.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF v_found = ' '.
            WRITE: 'N'.
          ENDIF.
        ENDIF.
        CLEAR v_found.
        IF i_export[] = e_export[].
          WRITE: 'N'.
        ELSE.
          LOOP AT i_export.
            READ TABLE e_export WITH KEY parameter = i_export-parameter.
            IF sy-subrc = 0.
              IF i_export-typ <> ' '.
                IF i_export-typ <> e_export-dbfield.
                  WRITE: 'Y'.
                  v_found = 'X'.
                  EXIT.
                ENDIF.
              ELSE.
                IF i_export-dbfield <> ' '.
                  IF i_export-dbfield <> e_export-dbfield.
                    WRITE: 'Y'.
                    v_found = 'X'.
                    EXIT.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF v_found = ' '.
            WRITE: 'N'.
          ENDIF.
        ENDIF.
        CLEAR v_found.
        IF i_table[] = e_table[].
          WRITE: 'N'.
        ELSE.
          LOOP AT i_table.
            READ TABLE e_table WITH KEY parameter = i_table-parameter.
            IF sy-subrc <> 0.
              IF i_table-optional <> 'X'.
                WRITE: 'Y'.
                v_found = 'X'.
                EXIT.
              ENDIF.
            ELSE.
              IF i_table-typ <> ' '.
                IF i_table-typ <> e_table-dbstruct.
                  WRITE: 'Y'.
                  v_found = 'X'.
                  EXIT.
                ENDIF.
              ELSE.
                IF i_table-dbstruct <> ' '.
                  IF i_table-dbstruct <> e_table-dbstruct.
                    WRITE: 'Y'.
                    v_found = 'X'.
                    EXIT.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF v_found = ' '.
            WRITE: 'N'.
          ENDIF.
        ENDIF.
       IF i_exceptions[] = e_exceptions[].
         WRITE: 'N'.
       ELSE.
         WRITE: 'Y'.
       ENDIF.
    *if I_doc[] = e_doc[].
    write: 'N'.
    *else.
    write: 'Y'.
    *endif.
       IF i_source[] = e_source[].
         WRITE: 'N'.
       ELSE.
         WRITE: 'Y'.
       ENDIF.
      ENDLOOP.
    *&      Form  get_func_details
          text
         -->P_TRG  text
    FORM get_func_details  TABLES t_import
                                  t_changing
                                  t_export
                                  t_table
                                  t_exceptions
                                  t_doc
                                  t_source
                           USING  p_trg
                                  p_func.
      CALL FUNCTION 'RPY_FUNCTIONMODULE_READ'
        DESTINATION p_trg
        EXPORTING
          functionname             = p_func
    IMPORTING
      GLOBAL_FLAG              =
      REMOTE_CALL              =
      UPDATE_TASK              =
      SHORT_TEXT               =
      FUNCTION_POOL            =
        TABLES
          import_parameter         = t_import
          changing_parameter       = t_changing
          export_parameter         = t_export
          tables_parameter         = t_table
          exception_list           = t_exceptions
          documentation            = t_doc
          SOURCE                   = t_source
    EXCEPTIONS
      ERROR_MESSAGE            = 1
      FUNCTION_NOT_FOUND       = 2
      INVALID_NAME             = 3
      OTHERS                   = 4
    ENDFORM.                    " get func details
    -Cheers

  • Unable to copy properties of the program

    Hi All,
    Actually, i am working on a code that copies reports or programs or lets say any obects.All this in CMC.
    For suppose if we have some reports and Programs in the public folders. Then what my code does is it copies reports and programs into the other folder(Lets say Destiantion)
    The thing is if any properties are changed for the reports that will be also copied into destination for that specific report. But where as if any properties are changed for the program..that is not being copied into destination. I could'nt find any thing related to properties in add program method in tha SDK...for report it is there regarding properties.
    So anyone can help me out in solving this issue.
    Thanks.

    My sample code
    IInfoObjects programObj1s = this.getChildrenForParentFolder(infoStore, modFolderId, "Program");
                   if(programObj1s.size() > 0){
                   for (int i = 0; i < programObj1s.size(); i++) {
                           IProgram progObject = (IProgram)programObj1s.get(i);
                           System.out.println("Program name to be modified : " + progObject.getTitle());
                            IInfoObjects iChildProgObjects = infoStore.query("SELECT * FROM "
                                       + "CI_INFOOBJECTS "
                                       + "Where SI_KIND='Program'"
                                       + " AND SI_NAME='"+ progObject.getTitle() + "'"
                                       + " AND SI_PARENTID=" + destProgFolderId);                      
                            if(iChildProgObjects.size() > 0){
                                 IProgram modProg = (IProgram)iChildProgObjects.get(0);
                                 iChildProgObjects.delete(modProg);
                                 infoStore.commit (iChildProgObjects);
                                 int progId = this.addProgram(infoStore, modProg.getTitle(), modProg.getProgramType(), destProgFolderId);
                                 //cmcMain.addToDeletedReportList(delReport.getTitle());
                                 //System.out.println("Deleted report is " + delReport.getTitle());
                            } else{
                                 System.out.println(progObject.getTitle() + " cannot be located");

  • I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding"

    I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding", so I have to force it to close. By the way, the SAVE botton stays the same even I change erverything in my document. Please, a have a work to finish, **** me. What I can do abou it?

    I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding", so I have to force it to close. By the way, the SAVE botton stays the same even I change erverything in my document. Please, a have a work to finish, **** me. What I can do abou it?

  • I have Lightroom 5 installed on my MacBook Air but when I try to open the program I receive the message "An error occurred when attempting to change modules".  I uninstalled, emptied trash and re-installed but I continue to get the same message.

    I have Lightroom 5 installed on my iMac which I downloaded (uploaded?) to my MacBook Air (via wi-fi) but unlike the iMac, I'm unable to use the program on the MacBook Air.  When I open the program on the iMac and click 'file', (as people using the program would know) there are 21 options - import pics, export, etc, etc - however, in the version on the MacBook Air, opening 'file' gives me four options - New Catalogue, Open Catalogue, Page Setup and Printer - and with that comes the pop-up message "An error occurred when attempting to change modules".  Any ideas please?

    A forum thread from 3 years ago talking about LR 1.x which had this problem seems to need permissions fixed or new folders created with the corrected permissions.  You might try doing a repair permissions for your user and/or run LR as an administrator user.  I am a PC person so cannot tell you exactly how to do that.
    https://forums.adobe.com/message/1457020

  • I have made with iweb a website on my macbook, now i want to change it, through my imac, how can I get in the program , which is on the mac book. On both computer I have Lion

    i have made with iweb a website on my macbook, now i want to change it, through my imac, how can I get in the program , which is on the mac book. On both computer I have Lion

    You need to transfer your domain.sites file from your MacBook to your iMac.  This is the file where iWeb stores all info and can be found under User/Library/Application Support/iWeb/domain.sites.
    Transfer this file from your MacBook to the same place on your iMac and double click the domain.sites file and iWeb will open it on your iMac and you can update your site from there too.

  • When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Websites remembering you and automatically log you in is stored in a cookie.
    *Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    *Tools > Options > Privacy > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes":
    *do not clear Cookies
    *do not clear Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins.

Maybe you are looking for