How can we know the format of report

Developed a web application using java SDK.
How can we know the format of report that is is it a crystal report , PDF or excel or hyperling.
If it is crystal report then i use openDoc and the report is opened but if its a hyperlink or PDf i am not able to open the report .
Please help.
Thanks

Check the si_kind or so_progid property of object. You can use oInfoObject.getKind() to retrieve that.
a crystal report would return crystalreport a pdf would return pdf etc.

Similar Messages

  • How can we know the affected reports when i remove object from universe

    Hi All,
    If i remove any objects from the universe.
    How can i know the list of affected reports.

    Thanks for your update.
    It shows what are all the reports has been created  by using that particular universe.
    But my question was, if i remove any object from the universe, Then what are all the reports affected(We may not use that deleted object in all the reports)

  • How can i know the home directory of my runtime report on registry

    Dear sirs,
    please how can i know the home directory of my runtime report on registry?
    i have a lot of homes and when i make file to modify the home directory it not done and that is mean that i make effect of another home, and i want to know which home is activated in registory.
    Thanks in Advance and waiting the help

    If you have a backup on computer iTunes see below:
    iTunes > Preferences... (Windows: Edit > Preferences...) > Devices > hover over your backup with the mouse, the serial number will popup.

  • Hi experts . how can we know the stock details for a perticular plant?

    hi experts . how can we know the stock details for a perticular plant

    check this code
    REPORT  YSG_MATSTK_REP    LINE-SIZE 220
                              LINE-COUNT 50(5).
    *&                       DATA DECLARATION                              *
    TABLES: MARA,              "GENERAL MASTER DATA
            MARC,              "PLANT DATA FOR MATERIAL
            MARD,              "STORAGE LOCATION DATA FOR MATERIAL
            MBEW,              "MATERIAL VALUATION
            MVKE,              "SALES DATA FOR MATERIAL
            MAKT.              "MATERIAL DESCRIPTION
    DATA: BEGIN OF I_MARA OCCURS 0,
               MATNR LIKE MARA-MATNR,"MATERIAL NUMBER
               MBRSH LIKE MARA-MBRSH,"INDUSTRY SECTOR
               MEINS LIKE MARA-MEINS,"BASE UNIT OF MEASURE
          END OF I_MARA.
    DATA: BEGIN OF I_MARC OCCURS 0,
              MATNR LIKE MARC-MATNR,"MATERIAL NUMBER
              WERKS LIKE MARC-WERKS,"PLANT
              LVORM LIKE MARC-LVORM,"FLAG MATERIAL FOR DELETION AT PLANT
                                    "LEVEL
              PSTAT LIKE MARC-PSTAT,"MAINTENANCE STATUS
              DISPO LIKE MARC-DISPO,"MRP CONTROLLER
          END OF I_MARC.
    DATA: BEGIN OF I_MAKT OCCURS 0,
               MATNR LIKE MAKT-MATNR,"MATERIAL NUMBER
               MAKTX LIKE MAKT-MAKTX,"MATERIAL DESCRIPTION
          END OF I_MAKT.
    DATA: BEGIN OF I_MVKE OCCURS 0,
               MATNR LIKE MVKE-MATNR,"MATERIAL NUMBER
               VKORG LIKE MVKE-VKORG,"SALES ORGANIZATION
               VTWEG LIKE MVKE-VTWEG,"DISTRIBUTION CHANNEL
          END OF I_MVKE.
    DATA: BEGIN OF I_MARD OCCURS 0,
               MATNR LIKE MARD-MATNR,"MATERIAL NUMBER
               LGORT LIKE MARD-LGORT,"STORAGE LOCATION
               LABST LIKE MARD-LABST,"VALUATED STOCK WITH UNRESTRICTED USE
          END OF I_MARD.
    DATA: BEGIN OF I_OUT OCCURS 0,
            MATNR LIKE MARC-MATNR,
            WERKS LIKE MARC-WERKS,
            LVORM LIKE MARC-LVORM,
            PSTAT LIKE MARC-PSTAT,
            DISPO LIKE MARC-DISPO,
            MBRSH LIKE MARA-MBRSH,
            MEINS LIKE MARA-MEINS,
            MAKTX LIKE MAKT-MAKTX,
            VKORG LIKE MVKE-VKORG,
            VTWEG LIKE MVKE-VTWEG,
            LGORT LIKE MARD-LGORT,
            LABST LIKE MARD-LABST,
          END OF I_OUT.
    DATA : TOT TYPE I. " TOT - TOTAL TO PRINT STOCK
    *&                   S E L E C T I O N - S C R E E N                   *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-100.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY.
    PARAMETERS: P_WERKS LIKE MARC-WERKS OBLIGATORY.
    SELECT-OPTIONS: S_LGORT FOR MARD-LGORT,
                    S_DISPO FOR MARC-DISPO.
    SELECTION-SCREEN END OF BLOCK B1.
    *&                  I N I T I A L I Z A T I O N                      *
    INITIALIZATION.
      S_MATNR-SIGN = 'I'.
      S_MATNR-OPTION = 'EQ'.
      S_MATNR-LOW = 'M-14'.
      S_MATNR-HIGH = 'M-18'.
      P_WERKS = '3000'.
      S_LGORT-SIGN = 'I'.
      S_LGORT-OPTION = 'EQ'.
      S_LGORT-LOW = '0001'.
      S_LGORT-HIGH = '0004'.
      S_DISPO-SIGN = 'I'.
      S_DISPO-OPTION = 'EQ'.
      S_DISPO-LOW = '001'.
      S_DISPO-HIGH = '002'.
      APPEND S_DISPO.
      APPEND S_LGORT.
      APPEND S_MATNR.
      CLEAR S_DISPO.
      CLEAR S_LGORT.
      CLEAR S_MATNR.
    *&             S T A R T - O F - S E L E C T I O N                     *
    START-OF-SELECTION.
      SELECT MATNR WERKS LVORM DISPO FROM MARC
      INTO CORRESPONDING FIELDS OF TABLE I_MARC
                          WHERE WERKS EQ P_WERKS
                          AND MATNR IN S_MATNR
                          AND DISPO IN S_DISPO
                          AND WERKS = P_WERKS.
      IF I_MARC[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARC'.
        EXIT.
      ENDIF.
      SELECT MATNR LGORT LABST FROM MARD INTO TABLE  I_MARD
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR
                          AND WERKS EQ P_WERKS
                          AND LGORT IN S_LGORT.
      IF I_MARD[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARD'.
        EXIT.
      ENDIF.
      SELECT MATNR VKORG VTWEG FROM MVKE INTO TABLE I_MVKE
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR.
    IF I_MVKE[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MVKE'.
        EXIT.
      ENDIF.
      LOOP AT I_MARC.
        MOVE-CORRESPONDING I_MARC TO I_OUT.
        CLEAR MARC.
        SELECT SINGLE MATNR MBRSH MEINS FROM MARA
                         INTO CORRESPONDING FIELDS OF MARA
                         WHERE MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MARA-MBRSH TO I_OUT-MBRSH,
                MARA-MEINS TO I_OUT-MEINS.
        ELSE.
          CONTINUE.
        ENDIF.
        SELECT SINGLE MATNR MAKTX FROM MAKT
                        INTO  CORRESPONDING FIELDS OF MAKT
                        WHERE  MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MAKT-MAKTX TO I_OUT-MAKTX.
        ELSE.
          CONTINUE.
        ENDIF.
        LOOP AT I_MARD WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MARD-LABST TO I_OUT-LABST,
                I_MARD-LGORT TO I_OUT-LGORT.
          APPEND I_OUT.
        ENDLOOP.
        LOOP AT I_MVKE WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MVKE-VKORG TO I_OUT-VKORG,
                I_MVKE-VTWEG TO I_OUT-VTWEG.
          APPEND I_OUT.
        ENDLOOP.
        CLEAR I_OUT.
      ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME = 'C:\matstk.TXT'
       FILETYPE                        = 'ASC'
      TABLES
        DATA_TAB                        = I_OUT.
    *&                  T O P - O F - P A G E                              *
    TOP-OF-PAGE.
      WRITE:/ 'DATE:' ,SY-DATUM.
    *&                  E N D - O F - P A G E                              *
    END-OF-PAGE.
      WRITE: / SY-ULINE,
             /100 'PAGNO: ',SY-PAGNO,
             SY-ULINE.
    *&        E N D -- O F --  S E L E C T I O N                           *
    END-OF-SELECTION.
      LOOP AT I_OUT.
        AT FIRST.
          WRITE :/ 'MATERIAL EXTRACTION REPORT',
                   SY-ULINE.
        ENDAT.
        WRITE:/    SY-VLINE,
                   I_OUT-MATNR,SY-VLINE,
                   I_OUT-MEINS,SY-VLINE,
                   I_OUT-WERKS,SY-VLINE,
                   I_OUT-LVORM,SY-VLINE,
                   I_OUT-PSTAT,SY-VLINE,
                   I_OUT-DISPO,SY-VLINE,
                   I_OUT-MBRSH,SY-VLINE,
                   I_OUT-MAKTX,SY-VLINE,
                   I_OUT-VKORG,SY-VLINE,
                   I_OUT-VTWEG,SY-VLINE,
                   I_OUT-LGORT,SY-VLINE,
                   I_OUT-LABST,SY-VLINE.
        TOT = TOT + I_OUT-LABST.
        AT NEW MATNR.
          WRITE : 'NEW RECORD',
                   SY-VLINE.
        ENDAT.
        AT END OF LABST.
          WRITE : 'STOCK = ',
                   TOT,
                   SY-VLINE,
                   SY-ULINE.
        ENDAT.
        AT LAST.
          FORMAT COLOR 7 INTENSIFIED OFF.
          WRITE : /159 'TOTAL STOCK = ',
                     TOT.
        ENDAT.
      ENDLOOP.
        WRITE : /159 'TOTAL STOCK = ',
                     TOT.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How can i know the version of autoconfig ?

    hi
    I am on 12.1.1
    to determine my autopatch version i used Note 390666.1
    i ran
    SET head off Lines 120 pages 100
    col n_patch format A10
    col bug_number format A10
    col patch_name format A10
    spool LACF_ptch_level.txt
    select ' LACF ' FROM dual;
    select bug_number, decode(bug_number,
    '4494373' ,'R12.TXK.A'
    ,'5872965' ,'R12.OAM.A'
    ,'5909746' ,'R12.TXK.A.1'
    ,'5917601' ,'R12.TXK.A.2'
    ,'6077487' ,'R12.TXK.A.DELTA.3'
    ,'6145693' ,'R12.Rapidclone Cons Jan2008'
    ,'6776948' ,'R12.Rapidclone CONSOLIDATED'
    ) n_patch, last_update_date
    FROM ad_bugs
    WHERE bug_number IN ( '4494373', '5872965', '5909746', '5917601', '6077487', '6145693', '6776948' );
    the output was
    4494373 R12.TXK.A 04-JAN-07
    4494373 R12.TXK.A 22-JAN-08
    5872965 R12.OAM.A 22-OCT-07
    5872965 R12.OAM.A 22-OCT-07
    5909746 R12.TXK.A. 22-OCT-07
    1
    5909746 R12.TXK.A. 21-JAN-08
    1
    5917601 R12.TXK.A. 22-OCT-07
    2
    5917601 R12.TXK.A. 21-JAN-08
    2
    6077487 R12.TXK.A. 22-OCT-07
    DELTA.3
    6077487 R12.TXK.A. 21-JAN-08
    DELTA.3
    6145693 R12.Rapidc 06-NOV-08
    lone Cons
    Jan2008
    how can i know the version of autoconfig from that?
    Thanks

    Hi,
    4494373 R12.TXK.A 04-JAN-07
    4494373 R12.TXK.A 22-JAN-08
    5872965 R12.OAM.A 22-OCT-07
    5872965 R12.OAM.A 22-OCT-07
    5909746 R12.TXK.A. 22-OCT-07
    5909746 R12.TXK.A. 21-JAN-08
    5917601 R12.TXK.A. 22-OCT-07
    5917601 R12.TXK.A. 21-JAN-08
    6077487 R12.TXK.A. 22-OCT-07
    6077487 R12.TXK.A. 21-JAN-08
    6145693 R12.Rapidc 06-NOV-08
    how can i know the version of autoconfig from that?The above indicates that the latest patches applied are 6077487 and 6145693.
    To find the latest AutoConfig and Rapid Clone patches on R12, please refer to:
    Note: 387859.1 - Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12
    Note: 406982.1 - Cloning Oracle Applications Release 12 with Rapid Clone
    Thanks,
    Hussein

  • How can I change the formate of @today from (MM/dd/yyy) to (dd-MM-yyyy)?

    I am in openscript, using a settext commend - .setText("{{@today(MM/dd/yyyy), 10-02-2011}}}}"); is anyone know how can I change the formate of @today from (MM/dd/yyy) to (dd-MM-yyyy)?
    I went to Java Code tab and tried to use - new SimpleDataFormat("dd-MM-yyyy").format(new Date()); but not successful. Any help will be appreciated.
    Katherine

    Hi,
    you can display the date format in dd-mm-yy by using the below Java code.
    First import the bellow java classes.
    import java.util.Date;
    import java.text.SimpleDateFormat;
    //and add bellow code in run() function
         //************ Display Date and Time *************
         Date date_format=new Date();
         SimpleDateFormat dateFormat = new SimpleDateFormat("dd-mm-yyyy");// HH:mm:ss");
         String Exec_Time = dateFormat.format(date_format);
    //output statement
    info("Today's Date: "+Exec_Time);
    I can able to add the screenshot of this output here, so if you need any other information please write to me.
    Regards,
    MRSN

  • How can i know the table fragments

    Hi
    How can i know the table is fragmented.
    Thank you

    If you're in 10g you could try use the Segment Advisor to identify various issues etc with your table. This will also provide recommendations on how to improve things.
    (below script shamelessly stolen from the brilliant Oracle Base website)
    -- segment_adv_table.sql
    -- Use Segment Advisor to analyse a table.
    -- Original Version
    -- http://www.oracle-base.com/articles/10g/SpaceObjectTransactionManagement10g.php
    -- owner is SCOTT
    -- table is EMP
    -- do a search/replace to change these 2 values and re-run it ;)
    DECLARE
    l_object_id NUMBER;
    BEGIN
    -- Create a segment advisor task for the SCOTT.EMP table.
    DBMS_ADVISOR.create_task (
    advisor_name => 'Segment Advisor',
    task_name => 'EMP_SEGMENT_ADVISOR',
    task_desc => 'Segment Advisor For EMP');
    DBMS_ADVISOR.create_object (
    task_name => 'EMP_SEGMENT_ADVISOR',
    object_type => 'TABLE',
    attr1 => 'SCOTT',
    attr2 => 'EMP',
    attr3 => NULL,
    attr4 => 'null',
    attr5 => NULL,
    object_id => l_object_id);
    DBMS_ADVISOR.set_task_parameter (
    task_name => 'EMP_SEGMENT_ADVISOR',
    parameter => 'RECOMMEND_ALL',
    value => 'TRUE');
    DBMS_ADVISOR.execute_task(task_name => 'EMP_SEGMENT_ADVISOR');
    END;
    -- Display the findings.
    SET LINESIZE 250
    COLUMN task_name FORMAT A20
    COLUMN object_type FORMAT A20
    COLUMN schema FORMAT A20
    COLUMN object_name FORMAT A30
    COLUMN object_name FORMAT A30
    COLUMN message FORMAT A40
    COLUMN more_info FORMAT A40
    SELECT f.task_name,
    f.impact,
    o.type AS object_type,
    o.attr1 AS schema,
    o.attr2 AS object_name,
    f.message,
    f.more_info
    FROM dba_advisor_findings f
    JOIN dba_advisor_objects o ON f.object_id = o.object_id AND f.task_name = o.task_name
    WHERE f.task_name IN ('EMP_SEGMENT_ADVISOR', 'USERS_SEGMENT_ADVISOR')
    ORDER BY f.task_name, f.impact DESC;

  • How can i know the RPM of my HD?

    I guys...
    Simple question...
    How can i know the RPM of my HD?
    I have a Mac mini and i would like to know that.
    Any ideas?.
    Thanks so much!!!

    Hi!!
    It doesn't show...
    Vendor:          NVidia
      Product:          MCP79 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          1.5 Gigabit
      Description:          AHCI Version 1.20 Supported
    FUJITSU MHZ2120BH G1:
      Capacity:          120.03 GB (120,034,123,776 bytes)
      Model:          FUJITSU MHZ2120BH G1                   
      Revision:          00810009
      Serial Number:                  K64PT9427599
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      Medium Type:          Rotational
      Bay Name:          Lower
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
      Capacity:          209.7 MB (209,715,200 bytes)
      Writable:          Yes
      BSD Name:          disk0s1
    Macintosh HD:
      Capacity:          119.69 GB (119,690,149,888 bytes)
      Available:          21.38 GB (21,376,569,344 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /
    FUJITSU MHZ2120BH G1:
      Capacity:          120.03 GB (120,034,123,776 bytes)
      Model:          FUJITSU MHZ2120BH G1                   
      Revision:          00810009
      Serial Number:                  K64PT9427599
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      Medium Type:          Rotational
      Bay Name:          Lower
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
      Capacity:          209.7 MB (209,715,200 bytes)
      Writable:          Yes
      BSD Name:          disk0s1
    Macintosh HD:
      Capacity:          119.69 GB (119,690,149,888 bytes)
      Available:          21.38 GB (21,376,569,344 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /
    Those are the 2 texts...
    Any idea?
    Thanks!!

  • How can i Know the email linked to icloud

    Please can anyone help me how to know teh email linked to my phone ??
    it shows me h********@hotmail.com i tried to logged in with my account that belong to h********@hotmail.com and it says inocrrect password or email i tried to reset my id but no reset mail was sent to my email ..
    so i tried to creat a new with the existing email addreess and it works and verified and finally i tried to activate it with h********@hotmail.com with the new passs and it says account cannot be activate with h********@hotmail.com it is linked to another account ..
    so please how can i know the linked email to my phone
    Thank you

    Welcome to the Apple community jorjh.
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • How can we know the return code of BDC Program ?

    Hi All,
    Please tell me : How can we know the return code of BDC Program when being exceuted in Session or in Transaction mode.
    In my program, we are uploading data from Excel sheet to SAP via BDC
    The records that are not updated we want to create a log file.
    Now to know whether a record is updated ot not, wat syst field shloud be used?
    Its urgent....
    <b>Reward Point will be there ....</b>
    Thanks,
    Harish

    Hi harish,
    try the logic in this code ...
    i had attached input file in the end.
    TYPES: begin of errmess,
            msgnr type t100-msgnr,
            text type t100-text,
           end of errmess.
    TABLES : t100.
    DATA: BEGIN OF DD_VA01,
           AUART TYPE VBAK-AUART,
           KUNNR TYPE RV45A-KUNNR,
           BSTKD TYPE VBKD-BSTKD,
           MABNR TYPE RV45A-MABNR,
           KWMENG(2) type C,
           KBETR(2) type C,
          END OF DD_VA01.
    DATA:IT_VA01     Like TABLE OF DD_VA01,
         WA_VA01     Like LINE  OF IT_VA01,
         WA_VA01_F   Like LINE  OF IT_VA01,
         IT_BDCDATA  TYPE TABLE OF BDCDATA,
         WA_BDCDATA  Like Line  OF IT_BDCDATA,
         W_FNAME     TYPE STRING,
         messtab like bdcmsgcoll occurs 0 with header line,
         it_errmess type table of errmess,
         wa_errmess like line of it_errmess,
         err_message type string.
    data: zf1 type i,
          zc1 type c value '2',
          fn(20) type c.
    Main Code ************************************************************
    PERFORM get_input using 'C:\Documents and Settings\ic881592\Desktop\Daran_bdc_VA01-e.txt'.
    SORT IT_VA01 BY AUART KUNNR BSTKD.
    LOOP AT IT_VA01 INTO WA_VA01.
      if WA_VA01_F-AUART <> WA_VA01-AUART OR
         WA_VA01_F-KUNNR <> WA_VA01-KUNNR OR
         WA_VA01_F-BSTKD <> WA_VA01-BSTKD.
           PERFORM set_header_flag.
           PERFORM create_bdc_header_data.
      endif.
      PERFORM create_bdc_item_data.
    ENDLOOP.
    PERFORM call_transaction.
    PERFORM errorlog.
    Procedures ***********************************************************
    form get_input using w_fname.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = W_FNAME
          HAS_FIELD_SEPARATOR = '#'
        TABLES
          DATA_TAB            = IT_VA01.
    endform.
    form call_transaction.
        PERFORM bdc_field       using 'BDC_OKCODE' '/11'.
        CALL TRANSACTION 'VA01' USING IT_BDCDATA MODE 'A' messages into messtab.
        refresh it_bdcdata.
    endform.
    FORM set_header_flag.
           WA_VA01_F-AUART = WA_VA01-AUART.
           WA_VA01_F-KUNNR = WA_VA01-KUNNR.
           WA_VA01_F-BSTKD = WA_VA01-BSTKD.
           if zf1 = 1.
               PERFORM call_transaction.
           endif.
           zf1 = 1.
    endform.   "set_header_flag.
    form create_bdc_header_data.
         perform bdc_dynpro      using 'SAPMV45A' '0101'.
         perform bdc_field       using 'VBAK-AUART' WA_VA01-AUART.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         perform bdc_field       using 'KUAGV-KUNNR' WA_VA01-KUNNR.
         perform bdc_field       using 'VBKD-BSTKD' WA_VA01-BSTKD.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMSSY0' '0120'.
         perform bdc_field       using 'BDC_CURSOR' '04/06'.
         perform bdc_field       using 'BDC_OKCODE' '=CHOO'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    endform. "create_bdcdata
    FORM create_bdc_item_data.
         CONCATENATE 'RV45A-KWMENG(' zc1 ')' INTO FN.
         perform bdc_field       using 'BDC_CURSOR' FN.
         perform bdc_field       using FN WA_VA01-KWMENG.
         CONCATENATE 'KOMV-KBETR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-KBETR.
         CONCATENATE 'RV45A-MABNR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-MABNR.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    ENDFORM.
    form errorlog.
      LOOP AT MESSTAB .
        if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.
            SELECT SINGLE msgnr text FROM T100
                            into wa_errmess
                            WHERE SPRSL = MESSTAB-MSGSPRA
                              AND ARBGB = MESSTAB-MSGID
                              AND MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              err_message = wa_errmess-TEXT.
              IF err_message CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO err_message.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO err_message.
              ENDIF.
              CONDENSE err_message.
              WRITE: / MESSTAB-MSGTYP, err_message .
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
        endif.
      ENDLOOP.
    endform. "errorlog
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      WA_BDCDATA-PROGRAM  = PROGRAM.
      WA_BDCDATA-DYNPRO   = DYNPRO.
      WA_BDCDATA-DYNBEGIN = 'X'.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      WA_BDCDATA-FNAM = FNAM.
      WA_BDCDATA-FVAL = FVAL.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    input file :
    OR     2148     0001235     R-1162     8     17
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     6     25
    OR     2148     0001235     R-1162     4     12
    OR     2148     0001236     R-1162     3     12
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     1     25
    OR     2148     0001236     R-1162     7     12
    OR     2148     0001236     R-1161     8     30
    OR     2148     0001236     100-400     10     25
    OR     2148     0001235     R-1161     5     30
    OR     2148     0001235     100-400     2     25
    OR     2148     0001235     R-11621     3     12
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     1     25
    OR     2148     0001235     R-1162     7     12
    OR     2148     0001235     R-1161     8     30
    OR     2148     0001235     100-400     10     25
    OR     2148     0001236     R-1162     8     17
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     6     25
    OR     2148     0001236     R-1162     4     12
    OR     2148     0001236     R-1161     5     30
    OR     2148     0001236     100-400     2     25

  • How can we display the list of Report Names in Dashboard Prompt?

    How can we display the list of Report Names in Dashboard Prompt?

    Hi,
    No its not possible to display list of reports in dashboard prompts.
    Can do this using SQl results in prompt(we write query checking out report names manualy),but its not easy thing if you are having many report names to be displayed.
    Assign points and close your threads if answered.
    Refer : http://forums.oracle.com/forums/ann.jspa?annID=939
    Regards,
    Srikanth

  • How can I change the format of some of the pages of a PDF-document?

    I use Adobe Acrobat and have a PDF-document with A4 pages and some pages of another format (half of an A4).
    How can I change the format of these pages to A4 (with a lower blanc part)?

    You can increase the page size with the Crop Tool of Acrobat Pro.

  • How can i know the number of lines in field-symbol internal table

    how can i know the number of lines in field-symbol internal table

    Hi,
    If your field symbol has been defined as an internal table :
    Use std describe as
    Data: l type i.
    describe <fs> lines l.
    'l' will contain the number of lines as needed.
    FYI
    The size of this storage area in a field symbols depends on the number of table lines which is not fixed, but determined dynamically at runtime.
    Regards,
    Amit

  • How can I find the source of report in the executable method= "Spawned" ?

    Dear all:
    how can I find the source of report in the executable method=>"Spawned" ?
    Regards,

    Hi,
    Please see this thread.
    To View Spawned Concurrent Program Source Code
    To View Spawned Concurrent Program Source Code
    Regards,
    Hussein

  • How can I know the name of instance (SID)?

    Dear all,
    After I install the Oracle client in my computer, I would like to change the tnsname.ora. However, I don't know the name of instance (SID) because I am not the one install the database and the DBA is gone. So, how can I know the SID name and the port number as well.
    Best Regards,
    amy

    Hey,
    The sid defaults to the database name.
    http://www.adp-gmbh.ch/ora/misc/identifiers.html
    you can find it by
    select name from v$database;
    or by
    show parameter db_name (run this in sql prompt)
    Run the above on the database server.

Maybe you are looking for

  • External table filenames

    I am loading hundreds/thousands of files of delimited data via external tables. The record counts for verifying the data is being provided on a file by file level from the mainframe system sending the data, example file prn00532.dat has 78,322 record

  • 10.5.7 _downgraded_ PHP

    Installing the 10.5.7 update downgraded my PHP install (from 5.2.9 to 5.2.8) ... which took no end of trouble to get PDO working in the first place. (Of course it is now borked.) @Apple: It'd be nice if the update would compare version numbers before

  • Use INDEXCOL only for localization (without LOOKUP)

    Hi, I've to setup data localization in OBIEE 11. The manuals say to use LOOKUP and INDEXCOL. Anyhow LOOKUP seems not a mandatory step to me. Lets say I have to translate a dimension PRODUCTS which at first only have 2 columns: CODE and DESCRIPTION. I

  • Buying music from other countries

    Hi there, I've a problem with an album from India Arie I first found in the EEUU music store, but when I try to buy it, it says my account is only allowed to buy at the Spanish store (where I live), the problem is that this album is not available in

  • How to I delete acrobat software than converts .pdf files to .docx files?

    Hello. How do I delete the Acrobat software that converts .pdf files to .docx files? Thank you. DL