Internal Table - Summary

Hi Experts,
I have an internal table with the following fields.
rollno(10)  type c,
name(20)    type c,
subject(10) type c,
mark(3)     type c.
the values stored in the above IT will be something like:
rollno     name     subject     mark
100     Sam     Maths     80
100     Sam     Science     90
100     Sam     Social     100
200     Wam     Maths     90
200     Wam     Science     90
200     Wam     Social     80
I want the o/p in an internal table like this:
rollno     name     Tot-mark
100     Sam     270
200     Wam     260
Please advice as to how i can acheive this
Thanks,
Manju

Hi,
for the summing of marks you can use COLLECT stmt. But the field you want to add up need not be in char or string. e.g: MARKS type INT.  As others are CHAR so they will act like Key for the MARKS field. take ROLLNO or NAME as key.
after addition MOVE source table to Target table(another internal table) for display.
or follow dis below mentioned code
data: begin of itab occurs 10,
          roll(10),
          name(5),
          sub(10),
          mark type i,
      end of itab.
itab-roll = '100'.
itab-name = 'sam'.
itab-sub = 'math'.
itab-mark = 40.
append itab.
itab-roll = '100'.
itab-name = 'sam'.
itab-sub = 'math1'.
itab-mark = 10.
append itab.
itab-roll = '100'.
itab-name = 'sam'.
itab-sub = 'math2'.
itab-mark = 30.
append itab.
itab-roll = '200'.
itab-name = 'sam1'.
itab-sub = 'math'.
itab-mark = 50.
append itab.
itab-roll = '200'.
itab-name = 'sam1'.
itab-sub = 'math1'.
itab-mark = 20.
append itab.
itab-roll = '200'.
itab-name = 'sam1'.
itab-sub = 'math2'.
itab-mark = 60.
append itab.
itab-roll = '300'.
itab-name = 'sam2'.
itab-sub = 'math'.
itab-mark = 80.
append itab.
itab-roll = '300'.
itab-name = 'sam2'.
itab-sub = 'math1'.
itab-mark = 70.
append itab.
sort itab by roll.
loop at itab.
   at new name.
    sum.
    Write: / itab-roll, itab-name, itab-mark.
    endat.
endloop.
Reward if helpful.
Thanks.
Edited by: Sagar@MM on May 22, 2008 10:00 AM
Edited by: Sagar@MM on May 22, 2008 11:33 AM
Edited by: Sagar@MM on May 22, 2008 11:34 AM

Similar Messages

  • SMARTFORM:  How to print on document per row in an internal table

    Hi.
    I have created a SmatForm that is a one-page document to be printed once for every row in an itab I'm sending it via the Table Interface.
    I hope I didn't waste my time designing this form but I created several Windows for each section (header, recipient address, summary of coverage, detail coverage information, disclaimer, etc.).  I arbitrarily chose the header window as the "main" window (mainly because I couldn't find out what the difference between  the different choices was).  I've got the form laid out exactly how I want it.
    If I test the SmartForm and pass in 2+ records via the test screen only the first one prints. 
    I thought about trying a LOOP but since you have to place the text within the loop that means all the Windows I have defined won't "get" any of the data.
    I thought about looping in the driver ABAP program and just calling the SmartForm once per row but that seems horribly inefficient.
    PLEASE HELP!  Can I salvage what I've done already?

    Valter:
    OK.  I'm trying this and running into a snag.
    In the Form Interface section I have a table interface parameter defined as this: 
    P_CERTIFICATES_IN TYPE ZBNTT_LIFECERTIFICATE
    next I declared a variable named "IT_CERTIFICATES LIKE LINE OF P_CERTIFICATES_IN" in the "Global Definitions" section and on my LOOP element (under my new MAIN window) I have "[X] Internal Table" checked and
    "P_CERTIFICATES_IN" "INTO" "IT_CERTIFICATES"
    but the compiler says "Global Definitions     Field "P_CERTIFICATES_IN" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . .".
    Why can't the Smartform "see" P_CERTIFICATES_IN?

  • Simple Transformation - XML to Internal Table Error

    I have a webservice call that returns XML.  I need to transform a portion of the response to an internal table, but my simple transformation is not working with loop processing.  I have read through most posts regarding the topic but they're either too old or related to serialization.  There aren't any exceptions thrown, but I don't get any data in the internal table (PAPERWORK root).  Below are some code snippets.  Any ideas on the problem with the XSLT template?  Thanks.
    Sample XML:
    <?xml version="1.0" encoding="utf-8" ?>
    <PrintVersionDataSet>
    <Result>
    <ReturnCode>W</ReturnCode>
    <ReturnMessage>There are reports with later version(s)</ReturnMessage>
    </Result>
    <Paperwork>
    <ReportCode>CVR</ReportCode>
    <ReportName>Cover Sheet</ReportName>
    <Version>2</Version>
    <PrintedDateTime>2009-05-01T09:54:04.1-05:00</PrintedDateTime>
    </Paperwork>
    <Paperwork>
    <ReportCode>SPS</ReportCode>
    <ReportName>Sponsor Summary</ReportName>
    <Version>2</Version>
    <PrintedDateTime>2009-05-01T09:54:04.99-05:00</PrintedDateTime>
    </Paperwork>
    </PrintVersionDataSet>
    XSLT Code:
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="RESULT"/>
      <tt:root name="PAPERWORK"/>
      <tt:template>
        <PrintVersionDataSet>
          <Result tt:ref="RESULT">
            <ReturnCode>
              <tt:value ref="RETURNCODE"/>
            </ReturnCode>
            <ReturnMessage>
              <tt:value ref="RETURNMESSAGE"/>
            </ReturnMessage>
          </Result>
          <tt:deserialize>
            <tt:loop ref=".PAPERWORK">
              <Paperwork>
                <ReportCode>
                  <tt:value ref="REPORTCODE"/>
                </ReportCode>
                <ReportName>
                  <tt:value ref="REPORTNAME"/>
                </ReportName>
                <Version>
                  <tt:value ref="VERSION"/>
                </Version>
                <PrintedDateTime>
                  <tt:value ref="PRINTEDDATETIME"/>
                </PrintedDateTime>
              </Paperwork>
            </tt:loop>
          </tt:deserialize>
        </PrintVersionDataSet>
      </tt:template>
    </tt:transform>
    ABAP Call to Transform Data:
    TRY.
    CALL TRANSFORMATION Z_GA_PAPERWORK_VERS_WEBSVC
          SOURCE XML LS_RESPONSE-VERIFY_PRINT_VERSION_RESULT
          RESULT RESULT     = LS_RESULT
                 PAPERWORK  = LT_PAPERWORK.
        CATCH CX_ROOT INTO ROOT_EXCEPTION.
          CALL METHOD ROOT_EXCEPTION->IF_MESSAGE~GET_TEXT
            RECEIVING
              RESULT = LV_MESSAGE.
      ENDTRY.

    Upon further inspection and testing with a simple file and program, I can see that the XML structure isn't quite correct for the loop process.  There needs to be a single <PAPERWORK> node, instead of one for each table line in the file.  This should allow the loop to execute properly after a slight adjustment to the XSLT template.

  • Create Spool from Internal table & converrt the spool to PDF

    Hi All,
    My requirement is take data from a table and find amount specific to each Vendors . So I took all the data into ITAB and do all the calculation. Later after calculation I have to create a spool from this ITAB and this spool have to convert to PDF. Later this PDF have to seend via email.
    To convert the internal table to Spool , I used
    LOOP AT t_summ INTO wa_summ.
        w-amount = wa_summ-remittanceamount.
        CONCATENATE wa_summ-vendorcode
                    wa_summ-controlnum
                    w-amount INTO wa_textdata SEPARATED BY space.
        APPEND wa_textdata TO t_textdata.
      ENDLOOP.
      DESCRIBE TABLE t_textdata .
      w-file_length = syst-tfill * 1022.
      l_doctype = 'LIST'.
      l_layout = 'X_POSTSCRIPT'.
      CONCATENATE ' Listbill Summary Report for' syst-datum INTO
                          l_title SEPARATED BY space.
      l_receiver = syst-uname.
    * Create Spool
      CALL FUNCTION 'RSPO_SR_OPEN'
       EXPORTING
          dest                   = 'LOCL'
    *   LDEST                  =
          layout                 = l_layout
          name                   = 'SUMREP'
    *   SUFFIX1                =
    *   SUFFIX2                =
       copies                 = '1'
    *   PRIO                   =
    *      immediate_print        = ' '
    *   AUTO_DELETE            =
          titleline              = l_title
          receiver               = syst-uname           "
    *      division               = l_pri_params-prabt " abteilung
    *      authority              = l_pri_params-prber           "
    *   POSNAME                =
    *   ACTTIME                =
    *   LIFETIME               = '8'
    *   APPEND                 =
    *   COVERPAGE              =
    *   CODEPAGE               =
          doctype                = l_doctype
    *   ARCHMODE               =
    *   ARCHPARAMS             =
    *   TELELAND               =
    *   TELENUM                =
    *   TELENUME               =
         IMPORTING
          handle                 = l_spool_handle
          spoolid                = w-spoolid
    EXCEPTIONS
       device_missing         = 1
       name_twice             = 2
       no_such_device         = 3
       operation_failed       = 4
       OTHERS                 = 5
                .                                            "#EC DOM_EQUAL
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'SLVC_C1022_TO_C255'
        EXPORTING
          i_file_length = w-file_length
        TABLES
          it_c1022      = t_textdata
          et_c255       = lt_spool.
      l_length = w-file_length.
      LOOP AT lt_spool INTO ls_spool.
        l_length = l_length - 255.
        IF ( l_length > 0 ).
          l_line_length = 255.
        ELSE.
          l_line_length = l_length + 255.
        ENDIF.
    *   Write contents to spool
        CALL FUNCTION 'RSPO_SR_WRITE'
          EXPORTING
            handle = l_spool_handle
            text   = ls_spool
            length = l_line_length.
      ENDLOOP.
    * Close Spool
      CALL FUNCTION 'RSPO_SR_CLOSE'
        EXPORTING
          handle                 = l_spool_handle
         pages                  = 1
      FINAL                  = 'X'
       EXCEPTIONS
         handle_not_valid       = 1
         operation_failed       = 2
         OTHERS                 = 3
    By this I can see the spool with data in SP02.
    Then to conver to PDF, I used
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid                    = w-spoolid
          no_dialog                      = 'X'
          DST_DEVICE                     = 'LOCL'
    *      PDF_DESTINATION                =
        IMPORTING
    *      PDF_BYTECOUNT                  =
    *      PDF_SPOOLID                    =
          list_pagecount                 = list_pagecount
    *      BTC_JOBNAME                    =
    *      BTC_JOBCOUNT                   =
       TABLES
         pdf                            = t_pdf
       EXCEPTIONS
         err_no_abap_spooljob           = 1
         err_no_spooljob                = 2
         err_no_permission              = 3
         err_conv_not_possible          = 4
         err_bad_destdevice             = 5
         user_cancelled                 = 6
         err_spoolerror                 = 7
         err_temseerror                 = 8
         err_btcjob_open_failed         = 9
         err_btcjob_submit_failed       = 10
         err_btcjob_close_failed        = 11
         OTHERS                         = 12
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
        CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *   BIN_FILESIZE                    =
          filename                        = 'D:\t\t.pdf'
         filetype                        = 'BIN'
        TABLES
          data_tab                        = t_pdf
    *   FIELDNAMES                      =
       EXCEPTIONS
         file_write_error                = 1
         no_batch                        = 2
         gui_refuse_filetransfer         = 3
         invalid_type                    = 4
         no_authority                    = 5
         unknown_error                   = 6
         header_not_allowed              = 7
         separator_not_allowed           = 8
         filesize_not_allowed            = 9
         header_too_long                 = 10
         dp_error_create                 = 11
         dp_error_send                   = 12
         dp_error_write                  = 13
         unknown_dp_error                = 14
         access_denied                   = 15
         dp_out_of_memory                = 16
         disk_full                       = 17
         dp_timeout                      = 18
         file_not_found                  = 19
         dataprovider_exception          = 20
         control_flush_error             = 21
         OTHERS                          = 22
    But later when I go and open the PDF, I am getting an error saying'Page cannot be open because it dont have any pages'
    Please help me
    Regards,
    Nikhil

    Hi Nikhil,
    <li>If you are still not able to find out the problem. You can an alternative way , which is used for the same purpose.
    <li>Try this way. It creates spool and and same CONVERT_ABAPSPOOLJOB_2_PDF fm is used to convert spool to PDF. It works. Test this test program.
       REPORT ztest_notepad.
       DATA:g_val         TYPE c,
            w_pripar      TYPE pri_params,
            w_arcpar      TYPE arc_params,
            i_pdf         TYPE TABLE OF tline,
            spoolid       LIKE tsp01-rqident,
            l_no_of_bytes TYPE i,
            l_pdf_spoolid LIKE tsp01-rqident,
            l_jobname     LIKE tbtcjob-jobname,
            l_jobcount    LIKE tbtcjob-jobcount.
       DATA:it_t001 TYPE TABLE OF t001 WITH HEADER LINE.
       START-OF-SELECTION.
         SELECT * FROM t001 INTO TABLE it_t001.
         "Read, determine, change spool print parameters and archive parameters
         CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             in_archive_parameters  = w_arcpar
             in_parameters          = w_pripar
             layout                 = 'X_65_132'
             line_count             = 65
             line_size              = 132
             no_dialog              = 'X'
           IMPORTING
             out_archive_parameters = w_arcpar
             out_parameters         = w_pripar
             valid                  = g_val.
         IF g_val  NE space AND sy-subrc = 0.
           w_pripar-prrel = space.
           w_pripar-primm = space.
           NEW-PAGE PRINT ON  NEW-SECTION PARAMETERS w_pripar ARCHIVE PARAMETERS w_arcpar NO DIALOG.
         ENDIF.
         LOOP AT it_t001.
           WRITE:/ it_t001.
         ENDLOOP.
         NEW-PAGE PRINT OFF.
         CALL FUNCTION 'ABAP4_COMMIT_WORK'.
         spoolid = sy-spono.
         CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
             src_spoolid   = spoolid
             no_dialog     = ' '
           IMPORTING
             pdf_bytecount = l_no_of_bytes
             pdf_spoolid   = l_pdf_spoolid
             btc_jobname   = l_jobname
             btc_jobcount  = l_jobcount
           TABLES
             pdf           = i_pdf.
         CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
             filename = 'C:\temp\test.pdf'
             filetype = 'BIN'
           TABLES
             data_tab = i_pdf.
    Thanks
    Venkat.

  • Issue In internal table data population in the o/p

    Dear Guru , I have encountered an issue for which i am not able to findout the logic  . I have an internal table through which i am populating the below data for detail report format :->
    Plant     Material Number          Storage Loc     Movement Type          Avg Days
    019     0820B0073          MOD3          101               space
    019     0820B0073          MOD3          101               space
    019     0820B0073          MOD3          101               space
    019     0820B0073          MOD3          101               space
    019     0820B0073          MOD3          101               space
    020     0820B0074          MOD4          101               space
    020     0820B0074          MOD4          101               2
    020     0820B0074          MOD4          101               3
    The requirment is like this the summary report should show o/p like below addition of all the rows with respect to plant , material, storage location and movement type :-
    Plant     Material Number          Storage Loc     Movement Type          Avg Days
    019     0820B0073          MOD3          101               space
    020     0820B0074          MOD4          101               5
    but when i am adding it with respect to plant, material, storage location and movement type the o/p i am getting is like below
    Plant     Material Number          Storage Loc     Movement Type          Avg Days
    019     0820B0073          MOD3          101               0
    020     0820B0074          MOD4          101               5
    becasue addition of 5 spaces ( Avg Days )of plant 019 is coming as ZERO --> 0
    so Guru what logic i should use to get the proper o/p,..I have Used Following logic to perform summation with respect to plant, material , storage loc and movement type.
    CLEAR: wa_mkpf_mseg, w_werks, w_matnr, w_lgort, w_bwart.
    LOOP AT t_mkpf_mseg INTO wa_mkpf_mseg.   
    IF wa_mkpf_mseg-werks EQ w_werks AND wa_mkpf_mseg-matnr EQ w_matnr AND wa_mkpf_mseg-lgort EQ w_lgort AND wa_mkpf_mseg-bwart EQ w_bwart.
          CLEAR: wa_p_coi.
          READ TABLE t_p_coi INTO wa_p_coi WITH KEY werks = wa_mkpf_mseg-werks matnr = wa_mkpf_mseg-matnr lgort = wa_mkpf_mseg-lgort bwart = wa_mkpf_mseg-bwart.
         IF sy-subrc = 0.
         wa_p_coi-Avg Days    = wa_p_coi-Avg Days   + wa_mkpf_mseg-Avg Days.
         MODIFY t_p_coi FROM wa_p_coi TRANSPORTING Avg Days   .
         CLEAR: wa_p_coi, wa_p_coi.
         endif.
    ELSE.
          wa_p_coi-werks                     = wa_mkpf_mseg-werks.
          wa_p_coi-matnr                     = wa_mkpf_mseg-matnr.
          wa_p_coi-bwart                   = wa_mkpf_mseg-bwart.
          wa_p_coi-lgort                     = wa_mkpf_mseg-lgort.
          wa_p_coi-Avg Days                  = wa_mkpf_mseg-Avg Days   .
         APPEND wa_p_coi TO t_p_coi.
               CLEAR: wa_p_coi.
    ENDIF.
        w_werks = wa_mkpf_mseg-werks.
        w_matnr = wa_mkpf_mseg-matnr.
        w_lgort = wa_mkpf_mseg-lgort.
        w_bwart = wa_mkpf_mseg-bwart.
       CLEAR: wa_mkpf_mseg.
      ENDLOOP.

    The soln what i found after working out
    CLEAR: wa_mkpf_mseg, w_werks, w_matnr, w_lgort, w_bwart.
    LOOP AT t_mkpf_mseg INTO wa_mkpf_mseg.
    IF wa_mkpf_mseg-werks EQ w_werks AND wa_mkpf_mseg-matnr EQ w_matnr AND wa_mkpf_mseg-lgort EQ w_lgort AND wa_mkpf_mseg-bwart EQ w_bwart.
    CLEAR: wa_p_coi.
    READ TABLE t_p_coi INTO wa_p_coi WITH KEY werks = wa_mkpf_mseg-werks matnr = wa_mkpf_mseg-matnr lgort = wa_mkpf_mseg-lgort bwart = wa_mkpf_mseg-bwart.
    IF sy-subrc = 0.
    if wa_p_coi-Avg Days  = ' ' and wa_mkpf_mseg-Avg Days = ' '.
    wa_p_coi-Avg Days = ' '.
    ELSE
    wa_p_coi-Avg Days = wa_p_coi-Avg Days + wa_mkpf_mseg-Avg Days.
    Endif.
    MODIFY t_p_coi FROM wa_p_coi TRANSPORTING Avg Days .
    CLEAR: wa_p_coi, wa_p_coi.
    endif.
    ELSE.
    wa_p_coi-werks = wa_mkpf_mseg-werks.
    wa_p_coi-matnr = wa_mkpf_mseg-matnr.
    wa_p_coi-bwart = wa_mkpf_mseg-bwart.
    wa_p_coi-lgort = wa_mkpf_mseg-lgort.
    wa_p_coi-Avg Days = wa_mkpf_mseg-Avg Days .
    APPEND wa_p_coi TO t_p_coi.
    CLEAR: wa_p_coi.
    ENDIF.
    w_werks = wa_mkpf_mseg-werks.
    w_matnr = wa_mkpf_mseg-matnr.
    w_lgort = wa_mkpf_mseg-lgort.
    w_bwart = wa_mkpf_mseg-bwart.
    CLEAR: wa_mkpf_mseg.
    ENDLOOP.

  • Payroll Internal Tables

    Can anyone guide me any material  to have an idea on Payroll Internal Tables in ABAP-HR.

    SAP HR Tables
    CATSCO Cross-Application Time Sheet (CATS)- Transfer to CO
    CATSDB CATS- Database Table for Time Sheet
    CATSHR Cross-Application Time Sheet (CATS)- Transfer to HR
    CATSMM Cross-Application Time Sheet (CATS)- Transfer to MM
    CATSPM Cross-Application Time Sheet (CATS)- Transfer to PM/CS
    CATSPS Cross-Application Time Sheet (CATS)- Transfer to PS
    CSKS Cost Center Master Data
    CSKT Cost Center Texts
    PCL1 HR Cluster 1
    PCL2 HR Cluster 2
    T001P Personnel Area/Subarea
    T001T Company code-dependent texts
    T500L Personnel Country Grouping
    T500P Personnel Areas
    T502T Marital Status Designators
    T503 Employee Group/Subgroup
    T503T Employee Subgroup Names
    T508A Work Schedule Rules
    T510 Pay Scale Groups
    T510A Pay Scale Types
    T510F Assign Pay Scale --- Currency
    T510W Pay Scale - Period Parameter Assignment
    T511 Wage Types
    T512T Wage Type Texts
    T512W Wage Type Valuation
    T512Z Permissibility of Wage Types per Infotype
    T527X Organizational Units
    T528T Position Texts
    T7XSSPERSUBTYP Specify Use Case and Active Subtypes (timeconstraints)
    T582A Infotype attributes
    T529T Personnel Action Texts
    T529U Status Values
    T530 Reasons for Actions
    T530T Reason for Action Texts
    T549A Payroll Accounting Areas
    T549Q Payroll Periods
    T550A Daily Work Schedule
    T550S Daily Work Schedule Texts
    T551S Period Work Schedule Texts
    T552A Monthly Work Schedule
    T554C Absence Valuation
    T554S Attendance and Absence Types
    T554T Attendance and Absence Texts
    T77PR Creating authorization profile
    T558B Payroll Account Transfer- Payroll Periods
    T569V Control Records
    T77UA Setting user in a authorization profile
    T77S0 System table
    T5K8C Transfer ext. payroll results into Canadian specific tables
    T74FA Benefit insurance plan
    T74FC Benefits Insurance Coverage Rule
    HRP1000 Infotype 1000 DB Table (Objects)
    HRP1001 Infotype 1001 DB Table (Relationships)
    HRP1002 Infotype 1002 DB Table
    HRP1003 Infotype 1003 DB Table
    HRP1004 Infotype 1004 DB table
    HRP1005 DB Table for Infotype 1005 (Planned Compensation)
    HRP1006 Infotype 1006 DB table
    HRP1007 Infotype 1007 DB Table
    HRP1008 Infotype 1008 DB Table
    HRP1009 Infotype 1009 DB table
    HRP1010 Infotype 1010 DB table
    HRP1011 Infotype 1011 DB Table
    HRP1013 Infotype 1013 DB Table
    HRP1014 Infotype 1014 DB Table
    HRP1015 Infotype 1015 DB table
    HRP1016 Infotype 1016 DB Table
    HRP1017 Infotype 1016 DB Table
    HRP1018 DB Table for Infotype 1018 Cost Distribution
    HRP1019 DB Table for Infotype 1019 Required Positions
    HRP1020 Infotype 1020 DB table
    HRP1021 INFOTYPE 1021 DB TABLE
    HRP1023 Infotype 1023 DB table
    HRP1024 INFOTYPE 1024 DB TABLE
    HRP1025 INFOTYPE 1025 DB TABLE
    HRP1026 Infotype 1026 DB table
    HRP1027 Infotype 1027 DB table
    HRP1028 Infotype 1028 DB Table
    HRP1029 Infotype 1029 DB table
    HRP1030 Infotype 1030 DB table
    HRP1031 Infotype 1031 DB table
    HRP1032 Infotype 1032 DB Table
    HRP1033 DB table for infotype 1033
    HRP1034 Infotype 1034 DB table
    HRP1035 Infotype 1035 DB Table
    HRP1036 Infotype 1036 DB table
    HRP1037 Infotype 1037 DB Table
    HRP1038 Infotype 1038 DB table
    HRP1039 Database Table for Infotype 1039
    HRP1040 Database Table for Infotype 1040
    HRP1041 DB Table for Infotype 1041
    HRP1042 Infotype 1042 DB Table
    HRP1043 DB Table for Infotype 1043
    HRP1044 DB Table for Infotype 1044
    HRP1045 DB Table for Infotype 1045
    HRP1046 Database Table for Infotype 1046
    HRP1047 DB Table for Infotype 1047
    HRP1048 DB Table for Infotype 1048
    HRP1049 Database Tables for Infotype 1049
    HRP1050 DB Table for Infotype 1050 (Job Evaluation Results)
    HRP1051 DB Table for Infotype 1051 (Survey Results)
    HRP1060 DB Table for Infotype 1060
    HRP1061 DB Table for Infotype 1061
    HRP1062 DB Table for Infotype 1062
    HRP1063 DB Table for Infotype 1063
    HRP1201 Infotype 1201 DB Table
    HRP1205 Infotype 1205 DB Table
    HRP1206 Infotype 1206 DB Table
    HRP1208 Infotype 1208 DB Table
    HRP1209 Infotype 1209 DB Table
    HRP1210 Infotype 1210 DB Table
    HRP1211 Infotype 1211 DB Table
    HRP1212 Infotype 1212 DB Table
    HRP1213 Infotype 1213 DB Table
    HRP1214 Infotype 1214 DB Table
    HRP1215 Infotype 1215 DB Table
    HRP1216 Infotype 1216 DB Table
    HRP1217 Infotype 1217 DB Table
    HRP1218 DB Table for Infotype 1218
    HRP1220 DB Table for Infotype 1220 Activity Profile
    HRP1221 DB Table for Infotype 1221 Excluded Activities
    HRP1222 Infotype 1222- General attribute maintenance
    HRP1230 DB Table for Infotype 1230
    HRP1240 DB Table for Infotype 1240
    HRP1250 DB table for infotype 1250
    HRP1251 DB table for infotype 1251
    HRP1252 DB table for infotype 1252
    HRP1253 DB table for infotype 1253
    HRP1254 DB Table for Infotype 1254
    HRP1260 DB Table for Infotype 1260
    HRP1270 DB Table for Info Type 1270
    HRP1403 DB table for infotype 1403
    HRP1404 DB table for infotype 1404
    HRP1500 DB Table for Infotype 1500
    HRP1501 DB Table for Infotype 1501
    HRP1502 DB Table for Infotype 1502
    HRP1503 DB Table for Infotype 1503
    HRP1504 DB Table for Infotype 1504
    HRP1505 DB Table for Infotype 1505
    HRP1506 DB Table for Infotype 1506
    HRP1507 DB Table for Infotype 1507
    HRP1518 DB Table for Infotype 1518
    HRP1519 DB Table for Infotype 1519
    HRP1520 DB Table for Infotype 1520
    HRP1600 Database Table for Infotype 1600
    HRP1601 Database Table for Infotype 1601
    HRPAD21 Additional data PAD21
    HRPAD22 Additional data PAD22
    HRPAD23 Additional data PAD23
    HRPAD25 Additional data PAD25
    HRPAD27 Additional data PAD27
    HRPAD31 Additional data PAD31
    HRPAD34 Additional Data for Relationship 'has attended'
    HRPAD44 PAD44 Additional Data
    HRPAD47 PAD47 Additional Data
    HRPAD48 Additional Data PAD48
    HRPAD50 Additional Data PAD50
    HRPAD51 Additional data PAD51
    HRPAD53 Additional Data PAD53
    HRPAD63 PAD63 Additional Data
    HRPAD77 Additional data for PAD77
    HRPADBLIST Additional Data Databases
    HRPADD2 Additional Data PADD2
    HRPADD3 Additional Data PADD3
    HRPADIC Additional Data PADD2
    HRPADNLIST Additional Data Number List
    HRPADNN General Additional Data Table
    HRPADP1 Additional Data PADP1
    HRPADP2 Additional Data PADP2
    HRPADPM Additional Data PADPM
    HRPADTI PADTI Additional Data
    HRPADUZ PADUZ Additional Data- Requirements Assignment of Persons
    HRPADXN Additional Data PADXN
    HRPS_T012K For Decoupled Access to T012K (House Bank and Account)
    HRPVAC List of vacant positions
    HRPXXXX DB Table for Infotype XXXX
    HRPYYYY DB Table for Infotype YYYY
    PA2001 HR Time Record- Infotype 2001 (Absences)
    PA2001_UGR Generated Table for View PA2001_UGR
    PA2002 HR Time Record- Infotype 2002 (Attendances)
    PA2002_UGR Generated Table for View PA2002_UGR
    PA2003 HR Time Record- Infotype 2003 (Substitutions)
    PA2004 HR Time Record- Infotype 2004 (Availability)
    PA2005 HR Time Record- Infotype 2005 (Overtime)
    PA2006 HR Time Record- Infotype 2006 (Absence Quotas)
    PA2006_UGR Generated Table for View PA2006_UGR
    PA2007 HR Time Record- Infotype 2007 (Attendance Quotas)
    PA2007_UGR Generated Table for View PA2007_UGR
    PA2010 HR Time Record- Infotype 2010 (Employee Remuneration Info.)
    PA2012 HR Time Record- Infotype 2012 (Time Transfer Specifications)
    PA2013 HR Time Record- Infotype 2013 (Quota Corrections)
    PA2500 HR Master Record for Infotype 2500
    PA2501 HR Master Record for Infotype 2501
    PA2502 HR Master Record for Infotype 2502
    PA0000 HR Master Record- Infotype 0000 (Actions)
    PA0001 HR Master Record- Infotype 0001 (Org. Assignment)
    PA0002 HR Master Record- Infotype 0002 (Personal Data)
    PA0003 HR Master Record- Infotype 0003 (Payroll Status)
    PA0004 HR Master Record- Infotype 0004 (Challenge)
    PA0005 HR Master Record- Infotype 0005 (Leave Entitlement)
    PA0006 HR Master Record- Infotype 0006 (Addresses)
    PA0007 HR Master Record- Infotype 0007 (Planned Working Time)
    PA0008 HR Master Record- Infotype 0008 (Basic Pay)
    PA0009 HR Master Record- Infotype 0009 (Bank Details)
    PA0010 HR Master Record- Infotype 0010 (Capital Formation)
    PA0011 HR Master Record- Infotype 0011 (Ext.Bank Transfers)
    PA0012 HR Master Record- Infotype 0012 (Fiscal Data - Germany)
    PA0013 Infotype Social Insurance - Germany
    PA0014 HR Master Record- Infotype 0014 (Recur. Payments/Deds.)
    PA0015 HR Master Record- Infotype 0015 (Additional Payments)
    PA0016 HR Master Record- Infotype 0016 (Contract Elements)
    PA0017 HR master record- Infotype 0017 (Travel Privileges)
    PA0019 HR Master Record- Infotype 0019 (Monitoring of Dates)
    PA0020 HR Master Record- Infotype 0020 (DUEVO)
    PA0021 HR Master Record- Infotype 0021 (Family)
    PA0022 HR Master Record- Infotype 0022 (Education)
    PA0023 HR Master Record- Infotype 0023 (Other/Previous Employers)
    PA0024 HR Master Record- Infotype 0024 (Qualifications)
    PA0025 HR Master Record- Infotype 0025 (Appraisals)
    PA0026 HR Master Record- Infotype 0026 (Company Insurance)
    PA0027 HR Master Record- Infotype 0027 (Cost Distribution)
    PA0028 HR Master Record- Infotype 0028 (Int. Medical Service)
    PA0029 HR Master Record- Infotype 0029 (Workers' Compensation)
    PA0030 HR Master Record- Infotype 0030 (Powers of Attorney)
    PA0031 HR Master Record- Infotype 0031 (Reference Pers.Nos.)
    PA0032 HR Master Record- Infotype 0032 (Internal Data)
    PA0033 International Infotype 0033- Statistics Exceptions
    PA0034 HR Master Record- Infotype 0034 (Corporate Functions)
    PA0035 HR Master Record- Infotype 0035 (Comp.Instr.)
    PA0036 HR Master Record- Infotype 0036 (Social Insurance CH)
    PA0037 HR Master Record- Infotype 0037 (Insurance)
    PA0038 HR Master Record- Infotype 0038 (Fiscal Data CH)
    PA0039 HR Master Record- Infotype 0039 (Add. Org. Assignment CH)
    PA0040 HR Master Record- Infotype 0040 (Objects on Loan)
    PA0041 HR Master Record- Infotype 0041 (Date Specifications)
    PA0042 HR Master Record- Infotype 0042 (Fiscal Data - Austria)
    PA0043 HR Master Record- Infotype 0043 (Family Allowance - A)
    PA0044 HR Master Record- Infotype 0044 (Social Insurance - A)
    PA0045 HR Master Record- Infotype 0045 (Company Loans)
    PA0046 HR Master Record- Infotype 0046 (Company Pension Fund CH)
    PA0048 HR Master Record- Infotype 0048 (Residence Status - CH)
    PA0049 HR Master Record- Infotype 0049 (Red.Hrs./Bad Weather)
    PA0050 HR Master Record- Infotype 0050 (Time Recording)
    PA0051 HR Master Record- Infotype 0051 (ASB/SPI Data)
    PA0052 HR Master Record- Infotype 0052 (Wage Maintenance)
    PA0053 HR Master Record- Infotype 0053 (Company Pension)
    PA0054 HR Master Record- Infotype 0054 (Works Council Pay)
    PA0055 HR Master Record- Infotype 0055 (Previous Employer - A)
    PA0056 HR Master Record- Infotype 0056 (Sick Certificates-A)
    PA0057 HR Master Record- Infotype 0057 (Membership Fees)
    PA0058 HR Master Record- Infotype 0058 (Commuter Rate - Austria)
    PA0059 HR Master Record- Infotype 0059 (Social Insurances - NL)
    PA0060 HR Master Record- Infotype 0060 (Fiscal Data - NL)
    PA0061 HR Master Record- Infotype 0061 (Social Insurance - ES)
    PA0062 HR master record- Infotype 0062 Fiscal data (ES)
    PA0063 HR Master Record- Infotype 0063 (Social Fund - NL)
    PA0064 HR Master Record- Infotype 0064 (Social Insurance - F)
    PA0065 HR Master Record- Infotype 0065 (Tax - GB)
    PA0066 HR Master data infotype 0066 - Canadian garnishment- order
    PA0067 HR master data infotype 0067 - Canadian garnishment- debt
    PA0068 HR master data infotype 0068 - Canadian garnishment- adjust
    PA0069 HR Master Record- Infotype 0069 (Nat. Insurance - GB)
    PA0070 HR Master Record- Infotype 0070 (Court Orders - GB)
    PA0071 HR Master Record- Infotype 0071 (Pension Funds - GB)
    PA0072 HR Master Record- Infotype 0072 (Fiscal Data - DK)
    PA0073 HR Master Record- Infotype 0073 (Private Pensions - DK)
    PA0074 HR Master Record- Infotype 0074 (Leave Processing - DK)
    PA0075 HR Master Record- Infotype 0075 (ATP Pension - DK)
    PA0076 HR Master Record- Infotype 0076 (Workers Compensation NA)
    PA0077 HR Master Record- Infotype 0077 (Additional Personal Data)
    PA0078 HR Master Record- Infotype 0078 (Loan Payments)
    PA0079 Infotype SI Additional Insurance - D
    PA0080 HR Master Record- Infotype 0080 (Maternity Protection)
    PA0081 HR Master Record- Infotype 0081 (Military Service)
    PA0082 HR Master Record- Infotype 0082 (Additional Absence Data)
    PA0083 HR Master Record- Infotype 0083 (Leave Compensation)
    PA0084 HR Master Record- Infotype 0084 (Sickness Pay Control - GB)
    PA0085 HR Master Record- Infotype 0085 (Work Incapacity Periods GB)
    PA0086 HR Master Record- Infotype 0086 (SSP/SMP Exclusions GB)
    PA0087 HR Master Record- Infotype 0087 (WFTC/DPTC GB)
    PA0088 HR Master Record- Infotype 0088 (SMP Record - GB)
    PA0090 HR Master Record- Infotype 0090 (Additional Income)
    PA0092 HR master record- Infotype 0092 Seniority (ES)
    PA0093 HR Master Record- Infotype 0093 (Previous Employers - D)
    PA0094 HR Master Record- Infotype 0094 (Residence Status - NA)
    PA0095 HR Master Record- Infotype 0095 (Tax Canada)
    PA0096 HR Master Record- Infotype 0096 (Tax - USA)
    PA0098 HR Master Record- Infotype 0098 (Profit Sharing - F)
    PA0100 HR Master Record- Infotype 0100 (SI B)
    PA0101 HR Master Record- Infotype 0101 (Tax B)
    PA0102 HR Master Record- Infotype 0102 (Grievances NA)
    PA0103 HR Master Record- Infotype 0103 (Bond Purchases NA)
    PA0104 HR Master Record- Infotype 0104 (Bond Denominations NA)
    PA0105 HR Master Record- Infotype 0105 (Communications)
    PA0106 HR Master Record- Infotype 0106 (Related Persons NA)
    PA0107 HR Master Record- Infotype 0107 (Work Schedule B)
    PA0108 HR Master Record- Infotype 0108 (Personal Data B)
    PA0109 HR Master Record- Infotype 0109 (Contract Elements B)
    PA0110 HR Master Record- Infotype 0110 (Pensions NL)
    PA0111 HR Master Record- Infotype 0111 (Garnishment/Cession - D)
    PA0112 HR Master Record- Infotype 0112 (Garnishment Claim - D)
    PA0113 HR Master Record- Infotype 0113 (Garnish. Interest - D)
    PA0114 HR Master Record- Infotype 0114 (Garnishment Amount D)
    PA0115 HR Master Record- Infotype 0115 (Garnishment Wages D )
    PA0116 HR Master Record- Infotype 0116 (Garn. Transfer D)
    PA0117 HR Master Record- Infotype 0117 (Garn. Compensation D)
    PA0118 HR Master Record- Infotype 0118 (Child Allowance D)
    PA0119 HR Master Record- Infotype 0119 (Annual Income CA D)
    PA0120 HR Master Record- Infotype 0120 (Pension Fund Trans. CH)
    PA0121 HR Master Record- Infotype 0121 (RefPerNo Priority)
    PA0122 HR Master Record- Infotype 0122 (Child Allowance Bonus D)
    PA0125 HR Master Record- Infotype 0125 (Garnishment B)
    PA0126 Infotype- Supplementary Pension Germany
    PA0127 HR Master Record- Infotype 0127 (Commuter Traffic NL)
    PA0128 HR Master Record- Infotype 0128 (Notifications)
    PA0129 HR Master Record- Infotype 0129 (Text Number Assign.)
    PA0130 HR Master Record- Infotpye 0130 (Checking Procedures)
    PA0131 HR Master Record- Infotype 0131 (Garnishment/Cession A)
    PA0132 HR Master Record- Infotype 0132 (Garnishment Claim A)
    PA0133 HR Master Record- Infotype 0133 (Garn. Interest A)
    PA0134 HR Master Record- Infotype 0134 (Garnishment Amount A)
    PA0135 HR Master Record- Infotype 0135 (Spec. Garn. Cond. A)
    PA0136 HR Master Record- Infotype 0136 (Garn. Transfer A)
    PA0137 HR Master Record- Infotype 0137 (Garn. Compensation A)
    PA0138 HR Master Record- Infotype 0138 (Family/Ref.Pers B)
    PA0139 HR Master Record- Infotype 0139 (Employees Appl.No)
    PA0140 HR Master Record- Infotype 0140 (SI Basic Data JP)
    PA0141 HR Master Record- Infotype 0141 (SI Premium Data JP)
    PA0142 HR Master Record- Infotype 0142 (Residence Tax JP)
    PA0143 HR Master Record- Infotype 0143 (Life Insurance JP)
    PA0144 HR Master Record- Infotype 0144 (Property Accum. JP)
    PA0145 HR Master Record- Infotype 0145 (Personnel Tax Status JP)
    PA0146 HR Master Record- Infotype 0146 (Y.E.A. Data JP)
    PA0147 HR Master Record- Infotype 0147
    PA0148 HR Master Record- Infotype 0148 (Family JP)
    PA0149 HR Master Record Infotype 0149 (Tax Data South Africa)
    PA0150 HR Master Record Infotype 0150 (Social Insurance SA)
    PA0151 HR Master Record Infotype 0151 (Ext.Insurance South Africa)
    PA0154 HR master record, infotype 0154 (social security data)
    PA0155 HR master record, infotype 0155 (Suppl.admin.data)
    PA0156 HR master data, infotype 0156 (Tax deduction)
    PA0157 HR master record, infotype 0157 (User admin.data)
    PA0158 HR mater record, infotype 0158 (Amounts paid by 3rd party)
    PA0159 HR master record, infotype 0159 (Seniority)
    PA0160 HR master record, infotype 0160 (Family allowance)
    PA0161 HR Master Record- Infotype 0161 (Limits IRS)
    PA0162 HR Master Record- Infotype 0162 (Ins. Y.E.T.A Data JP)
    PA0165 HR Master Record- Infotype 0165 (Limits Deductions)
    PA0167 HR Master Record- Infotype 0167 (Health Plans)
    PA0168 HR Master Record- Infotype 0168 (Insurance Plans)
    PA0169 HR Master Record- Infotype 0169 (Savings Plan)
    PA0170 HR Master Record- Infotype 0170 (Flexible Spending Accounts)
    PA0171 HR Master Record- Infotype 0171 (Gen. Benefits Information)
    PA0172 HR Master Record- Infotype 0172 (FSA Claims)
    PA0173 Tax card information
    PA0177 HR Master Record- Infotype 0177 (Reg. Country of Birth NL)
    PA0179 HR Master Record- Infotype 0179 (Tax SG)
    PA0180 Alternative Address Data (Thailand)
    PA0181 HR Master Record- Infotype 0181 http://Add. Funds (SG)
    PA0182 HR Master Record- Infotype 0182 Alternative Names (SG)
    PA0183 HR Master Record- Infotype 0183 Awards (SG)
    PA0184 HR Master Record- Infotype 0184 Resume text (SG)
    PA0185 HR Master Record- Infotype 0185 Identification (SG)
    PA0186 HR Master Record- Infotype 0186 Social Insurance (SG)
    PA0187 Additional family data
    PA0188 Tax (Australia)
    PA0189 HR Master Record- Infotype 0189 (Construction Pay- Funds)
    PA0190 HR Master Data Record Infotype 0190 (BuildingTradePrevERDat)
    PA0191 HR Master Record Infotype 0191 (BuildingTradeReimbursExpens)
    PA0192 Personnel Master Record Infotype 0192 (BuildingTrade Attrib)
    PA0194 HR Master Record Infotype 0194 (Garnishment Document)
    PA0195 HR Master Record Infotype 0195 (Garnishment Order)
    PA0196 HR Master Record-Infotype 0196 (Employee Provident Fund MY)
    PA0197 HR Master Record-Infotype 0197 (SOCSO Contributions MY)
    PA0198 Sheduled Tax Deductuion Malaysia
    PA0199 Tax deduction CP38 / Additional amt / Bonus - Malaysia
    PA0200 HR Master Record, Infotype 0200 (Garnishments DK)
    PA0201 Personnel master record infotype 0201 (basic pension amnts)
    PA0202 HR master data infotype 0202 (Entitlements)
    PA0203 HR master record infotype 0203 (Pension/Reserve Status)
    PA0204 HR Master Record, Infotype 0204 (DA/DS Statistics DK)
    PA0205 HR Master Record- Infotype 0205
    PA0206 HR Master Record- Infotype 0206, SI Finland
    PA0207 HR Master Record- Infotype 0207 (Residence Tax Area)
    PA0208 HR Master Record- Infotype 0208 (Work Tax Area - USA)
    PA0209 HR Master Record- Infotype 0209 (Unemployment Insurance USA)
    PA0210 HR Master Record- Infotype 0210 (W4 USA)
    PA0211 HR Master Record- Infotype 0211 (COBRA Beneficiaries)
    PA0212 HR Master Record- Infotpye 0212 (COBRA Health Plan)
    PA0213 Additional family information - Malaysia
    PA0214 HR Master Record Infotype 0214
    PA0215 Building Trade Transaction Data
    PA0216 Garnishment Adjustment
    PA0217 HR Master Record Infotype 0217 (INSEE code)
    PA0218 HR Master Record- Infotype 0218 (Pensioner Fund No. - F)
    PA0219 HR Master Record- Infotype 0219 (External Organizations)
    PA0220 Superannuation (Australia)
    PA0221 HR Master Record- Infotype 0221 (Manual Checks)
    PA0222 HR Master Record for Infotype 0222 (Company Cars GB)
    PA0224 Tax information - infotype 0224 - Canada
    PA0225 HR Master Record for Infotype 0225 (Company Cars GB 2)
    PA0227 Tax file number (Australia)
    PA0228 HR Master Record- Infotype 0228
    PA0230 HR Master Record- Infotype 0230 / View 0008 (PSG)
    PA0231 HR Master Record- Infotype 0231 / View 0001 (PSG)
    PA0232 Personal-master record infotype 0232 (Child Allowance) (D)
    PA0233 HR Master Record Infotype 0233 ('Bilan Social' FR)
    PA0234 HR Master Record Infotype 0234 (Add. Withh. Inform. - USA)
    PA0235 HR Master Record- Infotype 0235 (Other Taxes - USA)
    PA0236 HR Master Record- Infotype 0236 (Credit Plans)
    PA0237 HR Master Record- Infotype 0237 / View for 0052 (PSG)
    PA0241 Indonesian Tax Data
    PA0242 JAMSOSTEK Details, Indonesia
    PA0261 Leave Accrual Australia
    PA0263 HR Master Record for Infotype 0263
    PA0264 HR Master Record- Infotype 0264/view for Infotype 0021
    PA0265 HR Master Record- Infotype 0265 / Special Regulations (PSG)
    PA0266 HR Master Record- Infotype 0266 / View 0027 (PSG)
    PA0267 HR Master Record- Infotype 0267 (One time Payment off-cycle)
    PA0268 HR Master Record Infortype view 0045 and 0268 (Loan JPN)
    PA0269 HR Master Record- Infotype 0269 (ADP Information USA)
    PA0270 HR Master Data Record- Infotype 0270 (COBRA Payments)
    PA0271 HR master data infotype 0271 (Public Sector statistics)
    PA0272 HR Master Record Infotype 0272 (Garnishment FR)
    PA0273 HR Master Record- Infotype 0273 (Tax - SE)
    PA0274 HR Master Record- Infotype 0274 (Insurance - SE)
    PA0275 HR Master Record- Infotype 0275 (Garnishment - SE)
    PA0276 HR Master Record- Infotype 0276 (OPIS - SE)
    PA0277 HR Master Record- Infotype 0277 (Exceptions - SE)
    PA0278 HR Master Record- Infotype 0278 (Basic Data PF CH)
    PA0279 HR Master Record- Infotype 0279 (Individual Values PF CH)
    PA0280 HR Master Record Infotype 0280/View for 0016
    PA0281 HR Master Record Infotype 0281/View for 0045
    PA0283 HR Master Record for Infotype 0283 (Archiving)
    PA0288 HR CH- HR Master Record Infotype 0021 (Suppl. Switzerland)
    PA0302 HR Master Record- Infotype 0302 (Additional Actions)
    PA0303 HR Master Record- Infotype 303 (reductn tax/soc.ins.contrNL)
    PA0304 Basic pay - additional information
    PA0305 HR master record, infotype 0305 (previous employer)
    PA0306 HR master record, infotype 0306 (Family data)
    PA0309 IRD Number Infotype NZ
    PA0310 Superannuation NZ
    PA0311 Leave Adjustments - NZ
    PA0312 Leave History Adjustments NZ
    PA0313 Employee Taxation Detail Infotype NZ
    PA0314 I0314- Days for Vacation Bonus and Sal. Deducs (DK/N)
    PA0315 CATS- Sender Information
    PA0317 HR Master Record- Infotype 0317 (special arrangements)
    PA0318 HR Master Record- Infotype Family data for Indonesia (0318)
    PA0319 Indonesia Private Insurances
    PA0320 Official housing
    PA0321 Employee accommodations
    PA0322 HR Master Data Record Infotype 0322 (Pensions and Rel. Ben.)
    PA0323 HR Master Record Infotype 0323 (Pension Plan)
    PA0326 HR Master Record IT 0326 (Imputation to Pension Payments)
    PA0329 HR master record infotype 0329 ( Sideline Job)
    PA0330 Infotype 0330 (Non-monetary remuneration)
    PA0331 HR Master Record- Infotype 0331 (Tax - PT)
    PA0332 HR Master Record- Infotype 0332 (Social Security - PT)
    PA0333 HR Master Record- Infotype 0333 (Disability - P)
    PA0334 HR Master Record- Infotype 0334
    PA0335 HR Master Data- Infotype 0335 (view of infotype 21 - PT)
    PA0336 HR Master Data- Infotype 0336 (view of infotype 2 - PT)
    PA0337 HR Master Record- Infotype 0337 (Prof. Classifications - PT)
    PA0338 HR Master record- Infotype 0338 (Absence pay. clearing - PT)
    PA0341 HR - master record infotype 341 (DUEVO start)
    PA0342 HR Master Record- Infotype 0342 (HK Extension to I0002)
    PA0344 HR Master Record- Infotype 0344 (Familiy members HK)
    PA0345 HR Master Record- Infotype 0345 (Hong Kong Tax)
    PA0346 HR Master Record- Infotype 0346 (Contribution plan)
    PA0347 HR Master Record- Infotype 0347 (Entitlement plan)
    PA0348 HR Master Record- Infotype 0348 (HK Appraisal and bonus)
    PA0349 HR Master Record- Infotype 0349 (Eligibility grouping)
    PA0351 HR Master Record- Infotype 0351 (Country Information)
    PA0352 NHI for Family member (TW)
    PA0353 Income Tax Taiwan
    PA0354 Labor Insurance Taiwan
    PA0355 National Health Insurance Taiwan
    PA0356 Employment Stabilization Fund (TW)
    PA0357 Saving Plan (TW)
    PA0358 Employee Welfare Fund (TW)
    PA0359 HR Master Record - Infotype 0359 (PRSI Ireland)
    PA0360 HR Master Record - Infotype 0360 (PRSI Ireland)
    PA0361 HR Master Record - Infotype 0361 (Pensions Admin. - IE)
    PA0362 HR Master Record- Infotype Membership for Indonesia (0362)
    PA0363 Previous employment period
    PA0364 Infotype Tax TH
    PA0365 Social Security TH
    PA0366 Provident Fund THAILAND
    PA0367 HR Master Record- Infotype 0367 (SI Notification Suppl. A)
    PA0368 Rehabilitants
    PA0369 Master data- Infotype 0369 (IMSS data)
    PA0370 Master data- Infotype 0370 (INFONAVIT credit data)
    PA0371 Master Data- Infotype 0371 (Tax on previous employment)
    PA0372 Master data- Infotype 0372 (Integrated daily wage)
    PA0373 HR loan repayment plan JP (for P0268)
    PA0374 Infortype 0374- General Eligibility
    PA0375 HR Master Data Record- Infotype 0375 (Add. Benefits Inform.)
    PA0376 HR Master Data Record- Infotype 0376 (Medical Benefits Info)
    PA0377 HR Master Record- Infotype 0377 (Miscellaneous Plans)
    PA0378 HR Master Data Record- Infotype 0378 (Benefit Adj. Reason)
    PA0379 HR Master Record- Infotype 0379 (Stock Purchase Plans)
    PA0380 HR Master Data Record Infotype 0380 (Comp. Adjustment)
    PA0381 HR Master Record Infotype 0381 (Comp. Plan Eligibility)
    PA0382 HR Master Data Record Infotype 0382 (Stock)
    PA0383 HR Master Data Record Infotype 0383 (Compensation Package)
    PA0384 HR Master Data Record Infotype 0384
    PA0386 HR Master Record- Infotype 0386 (VHI Scheme)
    PA0387 HR Master Record - Infotype 0387 (Starter's Details)
    PA0388 HR Master Record- Infotype 0388 (Union JP)
    PA0389 Income Tax- General indicators
    PA0390 Income Tax- Deductions
    PA0391 Income Tax- Information on other employers
    PA0392 Social Security- General data
    PA0393 Family data- Calendar year schooling assistance
    PA0394 Family data- Additional information
    PA0395 HR Master Record- Infotype 0395 (External Org.Assignment)
    PA0396 HR Master Record- Infotype 0396 (Expatriate Attributes)
    PA0397 Infotype 0021 Family
    PA0398 Infotype 0016 - Corporation and contract agreements
    PA0399 HRMS-VE- Table for Income Tax Infotype (IT0399)
    PA0400 HRMS-VE- Table for SSO Infotype (IT0400)
    PA0401 HRMS-VE- Table for Benefits Infotype (IT401)
    PA0402 HR Master Data Infotype 0402
    PA0403 HR Master Record for Infotype 0403
    PA0404 HR Master Record- Infotype 0404 (Military Service Taiwan)
    PA0405 HR Master Record- Infotype 0405 (Absence Event)
    PA0406 HR-PSG- Infotype 0406 (Pension information)
    PA0407 HR master record, infotype 0407 (Abs.addit.inf.)
    PA0408 HR Master Record- Infotype 0408 (CBS NL)
    PA0409 HR Master Record- Infotype 0409 (External Agencies NL)
    PA0410 Infotype 0410 - Transportation ticket
    PA0411 Taxation Philippines - infotype
    PA0412 HR Master Record- Infotype 0412 View to I0021 (SG)
    PA0415 HR Master Record- Infotype 0415
    PA0416 Time Quota Compensation Infotype- Database Table
    PA0419 HR Master record- Manual tax reporting information - Norway
    PA0421 HR master record, infotype 0421 (spec.remuner.)
    PA0422 SSS Philippines infotype
    PA0423 HR Master Record- Infotype 0423
    PA0424 Industrial Accident / Maternity / Sickness Statement (FR)
    PA0425 Data Entry of Per Diem Sick Pay Summary
    PA0426 Garnishment
    PA0427 Debts by garnishment
    PA0428 Beneficiary data (Additional information)
    PA0433 HR Master Record Infotype 0433/View for 0009
    PA0434 HR Master Record Infotype 0434/View for 0011 (GB Version)
    PA0435 HR Master Record for Infotype 0435
    PA0436 HR Master Record for Infotype 0436
    PA0437 Multiple employment (BR)
    PA0438 HR Master Record- Infotype 0438
    PA0439 HR Master Record for Infotype 0439 (Data Transfer)
    PA0440 HR Master Record- Infotype 0440 (Receipts)
    PA0442 HR Master Record- Infotype 0442
    PA0447 US Federal Tax MTD
    PA0448 US Federal Tax QTD
    PA0449 HR Master Record- Infotype 0449
    PA0450 HR Master Record- Infotype 0450
    PA0451 HR Master Record- Infotype 0451
    PA0452 HR Master Record- Infotype 0452
    PA0453 HR Master Record- Infotype 0453
    PA0454 HR Master Record- Infotype 0454
    PA0455 HR Master Record- Infotype 0455
    PA0456 HR Master Record- Infotype 0456
    PA0457 HR Master Record- Infotype 0457
    PA0458 HR Master Record for Infotype 0458
    PA0459 HR Master Record for Infotype 0459
    PA0460 HR Master Record for Infotype 0460
    PA0467 Personnel master data Infotype 0467 (SI addit.notif. pl.c.A)
    PA0468 HR master record for infotype 0468
    PA0469 HR master record for infotype 0469
    PA0470 HR master record infotype 0470 (travel profiles)
    PA0471 HR master record infotype 0471 (flight preferences)
    PA0472 HR master record infotype 0472 (hotel preferences)
    PA0473 HR master record infotype 0473 (rental car preferences)
    PA0474 HR master record infotype 0474 (train preferences)
    PA0475 HR master record infotype 0475 (customer programs)
    PA0476 Personnel Master Record for Infotype 0476 (Garnishments)
    PA0477 Personnel Master Record Infotype 0477- Debt (Garnishments)
    PA0478 Personnel Master Record Infotype 0478- Adjustment (Garnish)
    PA0480 HR master record for infotype 0480
    PA0482 HRMS-VE- Additional Data from Family/N. of Kin Inftp(IT0021)
    PA0483 Infotype 0483 - Data entry by CAAF - Italy only
    PA0486 HR-SG-PS- Master Data (National Service)
    PA0487 HR-SG-PS- Security / medical Clearance
    PA0488 HR-SG-PS- Leave scheme
    PA0489 HR-SG-PS- Voluntary Service / ECA
    PA0490 HR-PS-SG- Employee Suggestion Scheme
    PA0491 HR Master Record- Infotype 491
    PA0493 HR-SG-PS- Extension of infotype 0022
    PA0494 HR-PS-SG- Employee Suggestion Scheme - Evaluation Results
    PA0495 HR-PS-SG- Pensions Scheme
    PA0502 Letter of appointment
    PA0503 Pensioner's Definition
    PA0504 Pensioner's Advantage B
    PA0505 HR Master Record- Infotype 0505
    PA0506 Tip Indicators
    PA0510 HR Master Record- Infotype 0510 (Tax-sheltered annuity)
    PA0511 Infotype Cost-of-Living Allowance/Office (0511)
    PA0512 Personnel Master Record Infotype 0512
    PA0521 HR Master Record- Infotype 0521 (Semiretirement D)
    PA0525 Child Care
    PA0526 HR Master Data Record Infotype 0526
    PA0527 HR Master Data Record Infotype 0527
    PA0546 HR-SG- Master Record- Infotype 0546 [Termination Data)
    PA0547 BIK Infotype for Malaysia
    PA0548 Infotype 0548 - Suppl.social security funds - Italy only
    PA0551 Termination of contract- General data
    PA0552 HR Master Data Record for Infotype 0552
    PA0553 HR Master Data Record for Infotype 0553
    PA0554 HR Master Record- Infotype 0554
    PA0559 HR Master Record- Infotype 0559 (Commuting allowance Info.)
    PA0560 HR Master Record- Infotype 0560
    PA0561 Data for tax
    PA0565 HR Master Record- Infotype 0565 (Retirement Plan Val. Res.)
    PA0566 HR Master Record- Infotype 0566
    PA0569 HR Master Record- Infotype 0569
    PA0570 HR Master Record- Infotype 0570
    PA0571 HR Master Record- Infotype 0571
    PA0572 HR Master Record- Infotype 0572
    PA0578 HR Master Record- Infotype 0578
    PA0579 HR Master Record Infotype 0579 (Ext. Salary Elements)
    PA0592 HR Master Data Record Infotype 0592 (Foreign Public Sector)
    PA0593 Rehabilitants
    PA0595 HR Master Data Record for Infotype 0595
    PA0596 PhilHealth Philippines Infotype
    PA0602 HR Master Record- Infotype 0602 (Retirement Plan Cumulation)
    PA0611 HR Master Record- Infotype 0611
    PA0612 HR Master Record- Infotype 0612
    PA0625 Infotype 0002 - Race/complexion
    PA0628 HR Master Record for Infotype 0628
    PA0629 HR Master Record for Infotype 0629
    PA0630 HR Master Record for Infotype 0630
    PA0631 HR Master Record for Infotype 0631
    PA0634 Philippines Previous Employer Information Info-type
    PA0645 Contract termination- General data
    PA0900 HR Master Record- Infotype 0900 (Sales Data)
    PA0901 HR Master Record- Infotype 0901 (Purchasing Data)
    HRHAP Appraisal Document
    HRHAP_ACT_LOG Appraisal Document: Action Log - Additional Date
    HRHAP_ANON Appraisal Document: Anonymous Appraiser Assignments
    HRHAP_APPEE Appraisal Document: Appraisee Assignment
    HRHAP_APPER Appraisal Document: Appraiser Assignment
    HRHAP_BASIC Appraisal Document: Basic Element Data
    HRHAP_FINAL Appraisal Document: Cell Values of Final Appraisal Column
    HRHAP_FURTHER App. Document: Cell Values of Additional Participants' Column
    HRHAP_OBJECT Appraisal Document: Cell Values of Objective Columns
    HRHAP_OTHERS Appraisal Document: Additional Participant Assignment
    HRHAP_P Appraisal Document: Reference Appraisal
    HRHAP_PART Appraisal Document: Cell Values of Part Appraisal Columns
    HRHAP_PROCESS Appraisal Document: Processed Appraisal Functions
    HRHAP_P_APPER Appraisal Document: Part Appraiser Assignment
    HRHAP_P_D Appraisal Document: Reference Appraisal (Structure)
    HRHAP_P_E Appraisal Document: Reference Appraisal (Data)
    HRHAP_P_T Reference Appraisal Names
    HRHAP_SEM_OBJ Strategic Objectives from SEM System
    HRHAP_T Appraisal Document Name
    https://forums.sdn.sap.com/click.jspa?searchID=9468701&messageID=4955985
    Reward points..

  • How to display internal table or DDIC data into Form

    Hi
         can anybody help me that how can i show the field data from internal table or DDIC into SAPscript form.
    Pls let me know the example of both se38 code and text element screen.

    Why cant u refer a standard sapscript program.
    refer form RVORDER01
    in SE38 refer program RVADOR01
    Thi sis simple example.
    DATA: IT_INVOICEDETAIL LIKE TABLE OF ZINVOICEDETAIL WITH HEADER LINE.
    DATA: TOTAL LIKE ZINVOICEDETAIL-AMOUNT,
          CARRY LIKE ZINVOICEDETAIL-AMOUNT.
    SELECT * FROM ZINVOICEDETAIL INTO TABLE IT_INVOICEDETAIL.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       FORM                              = 'ZDEMO1'.
       CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'HEAD'
      FUNCTION                       = 'SET'
       TYPE                           = 'TOP'
       WINDOW                         = 'MAIN'.
    LOOP AT IT_INVOICEDETAIL.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'BOX'
       WINDOW                         = 'MAIN'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'ITEM'
       WINDOW                         = 'MAIN'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'SUMMARY'
      FUNCTION                       = 'SET'
       TYPE                           = 'BOTTOM'
       WINDOW                         = 'MAIN'.
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'.
    In SE71 form u have to create the text element.
    BOX, ITEM,SUMMARY.
    /E  ITEM.
    P1 &IT_INVOICEDETAIL-TOTAL&

  • Sy-tabix for internal table in smartform

    Hi friends,
    How to capture the sy-tabix value for the entries in an internal table which has been looped into the loop of table node of a smartform?? I need to print something immedaitely after the end of the table
    For every record the value of sy-tabix is showing 1 !!
    Advance Thanks
    Aadarsh

    Hi Aadarsh,
    Give ur sy-tabix at the end of the loop.
    loop at itab.
    //table node populations.
    endloop.
    give a seperate loop for this.
    loop at itab.
    sy-tabix.
    endloop
    get the total no and print it after the table.
    If u r using do loop then give sy-index.
    Hope tihs helps u,
    Regards,
    Nagarajan.
    Message was edited by: Nagarajan Kumarappan

  • Regarding Exporting and Importing internal table

    Hello Experts,
    I have two programs:
    1) Main program: It create batch jobs through open_job,submit and close job.Giving sub program as SUBMIT.
    I am using Export IT to memory id 'MID' to export internal table data to sap memory in the subprogram.
    The data will be processed in the subprogram and exporting data to sap memory.I need this data in the main program(And using import to get the data,but it is not working).
    Importing IT1 from memory id 'MID' to import the table data in the main program after completing the job(SUBMIT SUBPROGRAM AND RETURN).
    Importing is not getting data to internal table.
    Can you please suggest something to solve this issue.
    Thank you.
    Regards,
    Anand.

    Hi,
    This is the code i am using.
    DO g_f_packets TIMES.
    * Start Immediately
           IF NOT p_imm IS INITIAL .
             g_flg_start = 'X'.
           ENDIF.
           g_f_jobname = 'KZDO_INHERIT'.
           g_f_jobno = g_f_jobno + '001'.
           CONCATENATE g_f_jobname g_f_strtdate g_f_jobno INTO g_f_jobname
                                                  SEPARATED BY '_'.
           CONDENSE g_f_jobname NO-GAPS.
           p_psize1 = p_psize1 + p_psize.
           p_psize2 = p_psize1 - p_psize + 1.
           IF p_psize2 IS INITIAL.
             p_psize2  = 1.
           ENDIF.
           g_f_spname = 'MID'.
           g_f_spid = g_f_spid + '001'.
           CONDENSE g_f_spid NO-GAPS.
           CONCATENATE g_f_spname  g_f_spid INTO g_f_spname.
           CONDENSE g_f_spname NO-GAPS.
    * ... (1) Job creating...
           CALL FUNCTION 'JOB_OPEN'
             EXPORTING
               jobname          = g_f_jobname
             IMPORTING
               jobcount         = g_f_jobcount
             EXCEPTIONS
               cant_create_job  = 1
               invalid_job_data = 2
               jobname_missing  = 3
               OTHERS           = 4.
           IF sy-subrc <> 0.
             MESSAGE e469(9j) WITH g_f_jobname.
           ENDIF.
    * (2)Report start under job name
           SUBMIT (g_c_prog_kzdo)
                  WITH p_lgreg EQ p_lgreg
                  WITH s_grvsy IN s_grvsy
                  WITH s_prvsy IN s_prvsy
                  WITH s_prdat IN s_prdat
                  WITH s_datab IN s_datab
                  WITH p1      EQ p1
                  WITH p3      EQ p3
                  WITH p4      EQ p4
                  WITH p_mailid EQ g_f_mailid
                  WITH p_psize EQ p_psize
                  WITH p_psize1 EQ p_psize1
                  WITH p_psize2 EQ p_psize2
                  WITH spid     EQ g_f_spid
                  TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                  VIA JOB g_f_jobname NUMBER g_f_jobcount AND RETURN.
    *(3)Job closed when starts Immediately
           IF NOT p_imm IS INITIAL.
             IF sy-index LE g_f_nojob.
               CALL FUNCTION 'JOB_CLOSE'
                 EXPORTING
                   jobcount             = g_f_jobcount
                   jobname              = g_f_jobname
                   strtimmed            = g_flg_start
                 EXCEPTIONS
                   cant_start_immediate = 1
                   invalid_startdate    = 2
                   jobname_missing      = 3
                   job_close_failed     = 4
                   job_nosteps          = 5
                   job_notex            = 6
                   lock_failed          = 7
                   OTHERS               = 8.
               gs_jobsts-jobcount = g_f_jobcount.
               gs_jobsts-jobname  = g_f_jobname.
               gs_jobsts-spname   = g_f_spname.
               APPEND gs_jobsts to gt_jobsts.
             ELSEIF sy-index GT g_f_nojob.
               CLEAR g_f_flg.
               DO.                         " Wiating untill any job completion
                 LOOP AT gt_jobsts into gs_jobsts.
                   CLEAR g_f_status.
                   CALL FUNCTION 'BP_JOB_STATUS_GET'
                     EXPORTING
                       JOBCOUNT                         = gs_jobsts-jobcount
                       JOBNAME                          = gs_jobsts-jobname
                    IMPORTING
                       STATUS                           = g_f_status
    *            HAS_CHILD                        =
    *          EXCEPTIONS
    *            JOB_DOESNT_EXIST                 = 1
    *            UNKNOWN_ERROR                    = 2
    *            PARENT_CHILD_INCONSISTENCY       = 3
    *            OTHERS                           = 4
                   g_f_mid = gs_jobsts-spname.
                   IF g_f_status = 'F'.
                     IMPORT gt_final FROM MEMORY ID g_f_mid .
                     FREE MEMORY ID gs_jobsts-spname.
                     APPEND LINES OF gt_final to gt_final1.
                     REFRESH gt_prlist.
                     CALL FUNCTION 'JOB_CLOSE'
                       EXPORTING
                         jobcount             = g_f_jobcount
                         jobname              = g_f_jobname
                         strtimmed            = g_flg_start
                       EXCEPTIONS
                         cant_start_immediate = 1
                         invalid_startdate    = 2
                         jobname_missing      = 3
                         job_close_failed     = 4
                         job_nosteps          = 5
                         job_notex            = 6
                         lock_failed          = 7
                         OTHERS               = 8.
                     IF sy-subrc = 0.
                       g_f_flg = 'X'.
                       gs_jobsts1-jobcount = g_f_jobcount.
                       gs_jobsts1-jobname  = g_f_jobname.
                       gs_jobsts1-spname   = g_f_spname.
                       APPEND gs_jobsts1 TO gt_jobsts.
                       DELETE TABLE gt_jobsts FROM gs_jobsts.
                       EXIT.
                     ENDIF.
                   ENDIF.
                 ENDLOOP.
                 IF g_f_flg = 'X'.
                   CLEAR g_f_flg.
                   EXIT.
                 ENDIF.
               ENDDO.
             ENDIF.
           ENDIF.
           IF sy-subrc <> 0.
             MESSAGE e539(scpr) WITH g_f_jobname.
           ENDIF.
           COMMIT WORK .
         ENDDO.

  • How to select the data from a Maintainance View into an internal table

    Hi All,
    Can anybody tell me how to select the data from a Maintainance View into an internal table.
    Thanks,
    srinivas.

    HI,
    You can not retrieve data from A mentenance view.
    For detail check this link,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    Regards,
    Anirban

  • Creating XML file from ABAP internal table data....

    Hello,
    I am fethcing data froma  custom table and I have to write data in XMl format. Following is the XML format in which I want data. Is there any function module iN SAP which will help me in writing data from internal table to XML file ?
    <batch>
      <invoice>
        <StatusCode>10</StatusCode>
        <paymentamount>122.00</paymentamount>
         <ReferenceNumber>70980934</ReferenceNumber>
      </invoice>
      <invoice>
         <StatusCode>90</StatusCode>
        <paymentamount>122.00</paymentamount>
         <ReferenceNumber>70980934</ReferenceNumber>
      </invoice>
      <control>
        <InvoiceCount>2</InvoiceCount>
      </control>
    </batch>
    Please help.
    Regards,
    Jainam.

    I suggest you look into "simple transformations". That's SAP's most recent technology for such purposes, as far as I know.
    http://help.sap.com/abapdocu_70/en/ABENABAP_ST.htm
    Thomas

  • Need suggestion in uploading dynamic excel file to corresponding columns of internal table

    Hi Friends,
    I have an excel file which doesn't have standard template. Just the users will key in their header (in row1 ) and followed by item details in excel and upload to internal table. Now by doing some internal developments in program I need to place the values in corresponding fields.
    Let me explain with some examples.
    1. I have an internal table
    data : begin of itab occurs 0,
                       f1,
                       f2,
                       f3,
                       f4,
                       f5,
              end of itab.
    2. I have excel file as below
    3 . Now i need to fill my internal table itab as below
    Need to be placed in corresponding fields.
    4. When I used GUI_UPLOAD FM it updates internal table as
    Please give me suggestion on how to achieve it.
    Thanks in advance.

    Hi Kumar,
    use a temporary table to get excel values and then parse them to a second table with the format you want.
    This is pretty basic.
    regards,
    Edgar

  • How to populate data in dynamic internal table

    Hi Expert,
    fyi. My dynamic internal table field is created base on data selected. Eg. select table qpcd has 5 records.  These 5 recods will become fieldname to my dynamic internal table. My dynamic internal table will be
    ...itab
          01
          02
          03
          04
          05
    The 5 records from qpcd is populated in another table call viqmel.  I need to find the occurance of each code in viqmel and populate the number of occurance in itab in each of column.  The final dynamic itab will be like this
    table itab
    01       02     03    04     05   -
    > field name
    2         0        1     0       1    -
    > data
    my source code like below
    Report ZPLYGRND2.
    TABLES: mara, makt.
    TYPE-POOLS: slis, sydes.
    DATA:it_fcat TYPE slis_t_fieldcat_alv,
         is_fcat LIKE LINE OF it_fcat,
         ls_layout TYPE slis_layout_alv.
    DATA: it_fieldcat TYPE lvc_t_fcat,
          is_fieldcat LIKE LINE OF it_fieldcat.
    DATA: new_table TYPE REF TO data,
          new_line TYPE REF TO data,
          ob_cont_alv TYPE REF TO cl_gui_custom_container,
          ob_alv TYPE REF TO cl_gui_alv_grid,
          vg_campos(255) TYPE c,
          i_campos LIKE TABLE OF vg_campos,
          vg_campo(30) TYPE c,
          vg_tables(60) TYPE c.
    types : begin of t_qpcd,
             codegruppe like qpcd-codegruppe,
             code like qpcd-code,
            end of t_qpcd.
    data:wa_qpcd type t_qpcd,
         i_qpcd type standard table of t_qpcd initial size 0.
    FIELD-SYMBOLS: <l_table> TYPE table,
                   <l_line> TYPE ANY,
                   <l_field> TYPE ANY.
    select * into corresponding fields of wa_qpcd from qpcd
    where katalogart = 'D'
    and   codegruppe = 'OOT01'.
    append wa_qpcd to i_qpcd.
    endselect.
    loop at i_qpcd into wa_qpcd.
      is_fcat-fieldname = wa_qpcd-code.
      APPEND is_fcat TO it_fcat.
    endloop.
    LOOP AT it_fcat INTO is_fcat.
        is_fieldcat-fieldname = is_fcat-fieldname.
        is_fieldcat-ref_field = is_fcat-ref_fieldname.
        is_fieldcat-ref_table = is_fcat-ref_tabname.
        APPEND is_fieldcat TO it_fieldcat.
    ENDLOOP.
    *... Create the dynamic internal table
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
            it_fieldcatalog = it_fieldcat
        IMPORTING
            ep_table = new_table.
    if sy-subrc = 0.
    endif.
    *... Create a new line
    ASSIGN new_table->* TO <l_table>.
    CREATE DATA new_line LIKE LINE OF <l_table>.
    ASSIGN new_line->* TO <l_line>.
    LOOP AT <l_table> INTO <l_line>.
    ENDLOOP.

    hello dear i m giving u a code in this a dynamic table is made on the basis of table in database , and u can download this data correct it , see it, or even change it....and upload in tht table help full if u dont know the table name...in advance.
    also the code to populate data in dynamic table is in this code like:
    SELECT * FROM (MTABLE_N)
    INTO CORRESPONDING FIELDS OF TABLE <FS_ITAB> .
    look at the whole program .hope this solve ur problem thanks.
    REPORT ZTESTA  MESSAGE-ID ZIMM    .
    TYPES : DATA_OBJECT TYPE REF TO DATA.
    DATA : MITAB TYPE REF TO DATA .
    TYPE-POOLS : SLIS .
    DATA : IT_FIELDCAT TYPE STANDARD TABLE OF SLIS_FIELDCAT_ALV
    WITH HEADER LINE .
    DATA : IT_FIELDCATALOG TYPE LVC_T_FCAT .
    DATA : WA_FIELDCATALOG TYPE LVC_S_FCAT .
    DATA : I_STRUCTURE_NAME LIKE DD02L-TABNAME .
    DATA : I_CALLBACK_PROGRAM LIKE SY-REPID .
    DATA : DYN_LINE TYPE DATA_OBJECT .
    FIELD-SYMBOLS : <FS_ITAB> TYPE STANDARD TABLE .
    DATA : TABLE_NAME_IS_VALID TYPE C .
    DATA : DYNAMIC_IT_INSTANTIATED TYPE C .
    CONSTANTS BUTTONSELECTED TYPE C VALUE 'X' .
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_TABL.
    PARAMETERS : MTABLE_N LIKE RSRD1-TBMA_VAL
    MATCHCODE OBJECT DD_DBTB_16 OBLIGATORY .
    DATA CHECKTABLED.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_FILE.
    PARAMETERS : MFILENAM LIKE RLGRAP-FILENAME .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_DOWN.
    PARAMETERS : P_DOWNLD RADIOBUTTON GROUP GRP1
    USER-COMMAND M_UCOMM .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_CHKF.
    PARAMETERS : P_CHKFIL RADIOBUTTON GROUP GRP1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_UPLD.
    PARAMETERS : P_UPLOAD RADIOBUTTON GROUP GRP1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) T_SHOW.
    PARAMETERS : P_SHOW_T RADIOBUTTON GROUP GRP1 .
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT .
      PERFORM CHECK_FILENAME .
    AT SELECTION-SCREEN.
      IF SY-UCOMM = 'ONLI'.
        CHECKTABLED = MTABLE_N+0(1).
        IF CHECKTABLED NE 'Z'.
          MESSAGE I017.
          LEAVE TO SCREEN 1000.
        ENDIF.
        IF SY-UNAME NE 'KAMESH.K'.
          MESSAGE I023 WITH SY-UNAME.
          LEAVE TO SCREEN 1000.
        ENDIF.
      ENDIF.
      IF SY-UCOMM = 'PRIN'.
        CHECKTABLED = MTABLE_N+0(1).
        IF CHECKTABLED NE 'Z'.
          MESSAGE I017.
          LEAVE TO SCREEN 1000.
        ENDIF.
        IF SY-UNAME NE 'KAMESH.K'.
          MESSAGE I023 WITH SY-UNAME.
          LEAVE TO SCREEN 1000.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MFILENAM .
      PERFORM F4_FOR_FILENAME .
    INITIALIZATION .
      T_TABL = 'Table Name' .
      T_FILE = 'File Name' .
      T_DOWN = 'Download Table' .
      T_CHKF = 'Check File to Upload' .
      T_UPLD = 'Upload File' .
      T_SHOW = 'Show Table Contents' .
    START-OF-SELECTION .
      PERFORM CHECK_TABLE_NAME_IS_VALID .
    END-OF-SELECTION .
      IF TABLE_NAME_IS_VALID EQ ' ' .
        MESSAGE I398(00) WITH 'INVALID TABLE NAME' .
      ELSE .
        PERFORM INSTANTIATE_DYNAMIC_INTERNAL_T .
        CHECK DYNAMIC_IT_INSTANTIATED = 'X' .
        CASE BUTTONSELECTED .
          WHEN P_DOWNLD .
            PERFORM SELECT_AND_DOWNLOAD .
          WHEN P_CHKFIL .
            PERFORM CHECK_FILE_TO_UPLOAD .
          WHEN P_UPLOAD .
            PERFORM UPLOAD_FROM_FILE .
          WHEN P_SHOW_T .
            PERFORM SHOW_CONTENTS .
        ENDCASE .
      ENDIF .
    FORM CHECK_TABLE_NAME_IS_VALID.
      DATA MCOUNT TYPE I .
      TABLES DD02L .
      CLEAR TABLE_NAME_IS_VALID .
      SELECT COUNT(*) INTO MCOUNT FROM TADIR
      WHERE PGMID = 'R3TR'
      AND OBJECT = 'TABL'
      AND OBJ_NAME = MTABLE_N .
      IF MCOUNT EQ 1 .
        CLEAR DD02L .
        SELECT SINGLE * FROM DD02L WHERE TABNAME = MTABLE_N .
        IF SY-SUBRC EQ 0.
          IF DD02L-TABCLASS = 'TRANSP' .
            TABLE_NAME_IS_VALID = 'X' .
          ENDIF .
        ENDIF.
      ENDIF .
    ENDFORM. " CHECK_TABLE_NAME_IS_VALID
    FORM SELECT_AND_DOWNLOAD.
      CLEAR : <FS_ITAB> .
      SELECT * FROM (MTABLE_N)
      INTO CORRESPONDING FIELDS OF TABLE <FS_ITAB> .
      PERFORM CHECK_FILENAME.
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
                FILENAME                = MFILENAM
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = <FS_ITAB>
           EXCEPTIONS
                FILE_OPEN_ERROR         = 1
                FILE_WRITE_ERROR        = 2
                INVALID_FILESIZE        = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC EQ 0.
        MESSAGE I398(00) WITH 'Table' MTABLE_N
        'successfully downloaded to '
        MFILENAM .
      ENDIF.
    ENDFORM. " SELECT_AND_DOWNLOAD
    FORM UPLOAD_FROM_FILE.
      DATA : ANS TYPE C .
      DATA : LINES_OF_ITAB TYPE I .
      DATA : MSY_SUBRC TYPE I .
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
           EXPORTING
                TEXTLINE1 = 'Are you sure you wish to upload'
                TEXTLINE2 = 'data from ASCII File to DB table '
                TITEL     = 'Confirmation of Data Upload'
           IMPORTING
                ANSWER    = ANS.
      IF ANS = 'J' .
        PERFORM CHECK_FILENAME.
        CLEAR MSY_SUBRC .
        CALL FUNCTION 'WS_UPLOAD'
             EXPORTING
                  FILENAME                = MFILENAM
                  FILETYPE                = 'DAT'
             TABLES
                  DATA_TAB                = <FS_ITAB>
             EXCEPTIONS
                  CONVERSION_ERROR        = 1
                  FILE_OPEN_ERROR         = 2
                  FILE_READ_ERROR         = 3
                  INVALID_TYPE            = 4
                  NO_BATCH                = 5
                  UNKNOWN_ERROR           = 6
                  INVALID_TABLE_WIDTH     = 7
                  GUI_REFUSE_FILETRANSFER = 8
                  CUSTOMER_ERROR          = 9
                  OTHERS                  = 10.
        MSY_SUBRC = MSY_SUBRC + SY-SUBRC .
        IF SY-SUBRC EQ 0.
          DESCRIBE TABLE <FS_ITAB> LINES LINES_OF_ITAB .
          IF LINES_OF_ITAB GT 0 .
            MODIFY (MTABLE_N) FROM TABLE <FS_ITAB> .
            MSY_SUBRC = MSY_SUBRC + SY-SUBRC .
          ENDIF .
        ENDIF.
        IF MSY_SUBRC EQ 0 .
          MESSAGE I398(00) WITH LINES_OF_ITAB
          'Record(s) inserted in table'
          MTABLE_N .
        ELSE .
          MESSAGE I398(00) WITH
          'Errors occurred No Records inserted in table'
          MTABLE_N .
        ENDIF .
      ENDIF .
    ENDFORM. " UPLOAD_FROM_FILE
    FORM F4_FOR_FILENAME.
      CALL FUNCTION 'WS_FILENAME_GET'
           EXPORTING
                DEF_PATH         = 'C:\'
                MASK             = ',.,..'
                MODE             = '0'
           IMPORTING
                FILENAME         = MFILENAM
           EXCEPTIONS
                INV_WINSYS       = 1
                NO_BATCH         = 2
                SELECTION_CANCEL = 3
                SELECTION_ERROR  = 4
                OTHERS           = 5.
    ENDFORM. " F4_FOR_FILENAME
    FORM CHECK_FILENAME.
      IF MFILENAM IS INITIAL
      AND NOT ( MTABLE_N IS INITIAL )
      AND P_SHOW_T NE BUTTONSELECTED.
        CONCATENATE 'C:\'
        MTABLE_N '.TXT' INTO MFILENAM.
      ENDIF .
    ENDFORM. " CHECK_FILENAME
    FORM INSTANTIATE_DYNAMIC_INTERNAL_T.
      CLEAR DYNAMIC_IT_INSTANTIATED .
      I_STRUCTURE_NAME = MTABLE_N .
      CLEAR IT_FIELDCAT[] .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_STRUCTURE_NAME       = I_STRUCTURE_NAME
           CHANGING
                CT_FIELDCAT            = IT_FIELDCAT[]
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
      IF SY-SUBRC EQ 0.
        LOOP AT IT_FIELDCAT .
          CLEAR WA_FIELDCATALOG .
          MOVE-CORRESPONDING IT_FIELDCAT TO WA_FIELDCATALOG .
          WA_FIELDCATALOG-REF_FIELD = IT_FIELDCAT-FIELDNAME .
          WA_FIELDCATALOG-REF_TABLE = MTABLE_N .
          APPEND WA_FIELDCATALOG TO IT_FIELDCATALOG .
        ENDLOOP .
        CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
        IT_FIELDCATALOG = IT_FIELDCATALOG
        IMPORTING
        EP_TABLE = MITAB .
        ASSIGN MITAB->* TO <FS_ITAB> .
        DYNAMIC_IT_INSTANTIATED = 'X' .
      ENDIF.
    ENDFORM. " INSTANTIATE_DYNAMIC_INTERNAL_T
    FORM SHOW_CONTENTS.
      CLEAR : <FS_ITAB> .
      SELECT * FROM (MTABLE_N)
      INTO CORRESPONDING FIELDS OF TABLE <FS_ITAB> .
      I_CALLBACK_PROGRAM = SY-REPID .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = I_CALLBACK_PROGRAM
                IT_FIELDCAT        = IT_FIELDCAT[]
           TABLES
                T_OUTTAB           = <FS_ITAB>
           EXCEPTIONS
                PROGRAM_ERROR      = 1
                OTHERS             = 2.
    ENDFORM. " SHOW_CONTENTS
    FORM CHECK_FILE_TO_UPLOAD.
      PERFORM CHECK_FILENAME.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = MFILENAM
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = <FS_ITAB>
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC EQ 0.
        I_CALLBACK_PROGRAM = SY-REPID .
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
             EXPORTING
                  I_CALLBACK_PROGRAM = I_CALLBACK_PROGRAM
                  IT_FIELDCAT        = IT_FIELDCAT[]
             TABLES
                  T_OUTTAB           = <FS_ITAB>
             EXCEPTIONS
                  PROGRAM_ERROR      = 1
                  OTHERS             = 2.
      ENDIF .
    ENDFORM. " CHECK_FILE_TO_UPLOAD
    Message was edited by:
            SAURABH SINGH
            SENIOR EXECUTIVE
            SAMSUNG INDIA ELECTRONICS LTD.,NOIDA

  • How to upload a file in application server to an internal table

    Hi,
          I am asked to upload a file from application server to internal table. Can you please suggest me the ways to do it or the function module which helps to browse the application server file names.
      I have done a program. But its giving problem in searching the files from application server. I am pasting my code for ur review. Please tell me which part i have to correct or suggest me some other ways to do it.
    *& Report  ZUPLOAD1
    REPORT  ZUPLOAD1.
    type-pools: truxs.
    parameters: p_upl_ps radiobutton group g1 default 'X', "upload from pres. server
                 p_path type rlgrap-filename, 
                 p_upl_as radiobutton group g1,   "upload from appln server
                 <b>p_dir LIKE filepath-pathintern DEFAULT 'Y_ABAP', 
                 p_file LIKE filepath-pathintern lower case,</b>      
                 p_test as checkbox.
    constants: c_x value 'X',
               c_tab type c value cl_abap_char_utilities=>horizontal_tab.
    types: ty_data(1000) type c.    "structure to hold legacy data
    data: i_data type standard table of ty_data. "internal table of ty_data
    types: begin of stritab,
          land1 type v_t604-land1,  "structure of legacy file.
          stawn type v_t604-stawn,
          bemeh type v_t604-bemeh,
          impma type v_t604-impma,
          minol type v_t604-minol,
          end of stritab.
    data: gi_itab type standard table of stritab, "internal table of legacy file
          gw_itab type stritab.  "work area
    data: i_raw type truxs_t_text_data,
          v_fullpath type string.
    at selection-screen on value-request for p_path.
    if p_upl_ps = c_x. "if presentation server is selected
    perform get_file.
    else.            "if application server is selected
    perform set_file_path.      
    perform upload_from_server.
    perform split_data.
    endif.
    form get_file.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = p_path.     "getting the file name of pres server
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
        I_LINE_HEADER              = 'X'              "converting excel to sap and filling in
        I_TAB_RAW_DATA             = i_raw      "internal table
        I_FILENAME                 = p_path
      TABLES
        I_TAB_CONVERTED_DATA       = gi_itab
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.
    form set_file_path.                 "Getting the file path of application server
    data: lv_file type p_file.
          lv_file = p_file.
          CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
            EXPORTING
            CLIENT                           = SY-MANDT
              LOGICAL_PATH                     = p_dir
            OPERATING_SYSTEM                 = SY-OPSYS
            PARAMETER_1                      = ' '
            PARAMETER_2                      = ' '
            PARAMETER_3                      = ' '
            USE_BUFFER                       = ' '
              FILE_NAME                        = lv_file
            USE_PRESENTATION_SERVER          = ' '
            ELEMINATE_BLANKS                 = 'X'
           IMPORTING
             FILE_NAME_WITH_PATH              = v_fullpath
           EXCEPTIONS
             PATH_NOT_FOUND                   = 1
             MISSING_PARAMETER                = 2
             OPERATING_SYSTEM_NOT_FOUND       = 3
             FILE_SYSTEM_NOT_FOUND            = 4
             OTHERS                           = 5
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    endform.
    form upload_from_server.
    data: lv_msg type string,
          lw_data type ty_data.
    open dataset v_fullpath for input message lv_msg in text mode encoding default.
    if sy-subrc <> 0.
    message lv_msg type 'i'.
    stop.
    endif.
    do.
    read dataset v_fullpath into lw_data.
    if sy-subrc <> 0.
    write:/5 'Error in processign data set'.
    exit.
    endif.
    append lw_data to i_data.
    enddo.
    close dataset v_fullpath.
    if sy-subrc <> 0.
    write: /5 'Error closing dataset'.
    endif.
    endform.
    form split_data.
    data: lw_data type ty_data.
    data: lw_itab type stritab.
    data: begin of ty_itab,
          land1 type v_t604-land1,
          stawn type v_t604-stawn,
          bemeh type v_t604-bemeh,
          impma type v_t604-impma,
          minol type v_t604-minol,
          end of ty_itab.
    loop at i_data into lw_data.
    split lw_data at c_tab into
          ty_itab-land1
          ty_itab-stawn
          ty_itab-bemeh
          ty_itab-impma
          ty_itab-minol.
    lw_itab-land1 = ty_itab-land1.
    lw_itab-stawn = ty_itab-stawn.
    lw_itab-bemeh = ty_itab-bemeh.
    lw_itab-impma = ty_itab-impma.
    lw_itab-minol = ty_itab-minol.
    append lw_itab to gi_itab.
    endloop.
    endform.
    start-of-selection.
    loop at gi_itab into gw_itab.
    write: /5 'COUNTRY', 'IMPORT CODE', 'SUP UNIT', 'FIRST UOM', 'SECOND UOM',
           /5 gw_itab-land1, gw_itab-stawn,gw_itab-bemeh,gw_itab-impma,gw_itab-minol.
    endloop.
    end-of-selection.
    I hope problem must be in p_dir and p_file which are in bold.. Kindly help me out. Thanks in advance.

    see the following ex:
    *&      Form  SUB_GET_FILEPATH
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_GET_FILEPATH .
        GFILE = 'D:\SAP_INT\INBOUND\INBOX'.  "Path
    ENDFORM.                    " SUB_GET_FILEPATH
    *&      Form  SUB_GET_FILE
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_GET_FILE .
      DATA: P_FDIR(200) TYPE C.
      DATA: IT_FILEDIR1 TYPE STANDARD TABLE OF TY_FILEDIR WITH HEADER LINE.
      P_FDIR = GFILE.
      CALL FUNCTION 'RZL_READ_DIR_LOCAL'
        EXPORTING
          NAME     = P_FDIR
        TABLES
          FILE_TBL = IT_FILEDIR.
      REFRESH : IT_FILEDIR1.
      LOOP AT IT_FILEDIR.
        IF IT_FILEDIR-NAME(4) = 'ZINC' OR IT_FILEDIR-NAME(4) = 'zinc'.
          MOVE IT_FILEDIR-NAME TO IT_FILEDIR1-NAME.
          APPEND IT_FILEDIR1.
        ENDIF.
      ENDLOOP.
      IF IT_FILEDIR1[] IS INITIAL.
        STOP.
      ENDIF.
      LOOP AT IT_FILEDIR1.
        REFRESH: I_TAB.
        CLEAR: I_TAB.
        NAME = IT_FILEDIR1-NAME.
        CONCATENATE: GFILE '\' NAME INTO G_FILE.
        OPEN DATASET G_FILE FOR INPUT IN TEXT MODE
                                         ENCODING DEFAULT
                                         IGNORING CONVERSION ERRORS.
        IF SY-SUBRC EQ 0.
          CONCATENATE 'FILENAME  : ' G_FILE INTO I_MSG1.
          APPEND I_MSG1.
          DO.
            READ DATASET G_FILE INTO RECORD.
            IF SY-SUBRC = 0.
              SPLIT RECORD AT ',' INTO I_TAB-BUKRS  I_TAB-EBELN
                  I_TAB-BLDAT  I_TAB-XBLNR I_TAB-LIFNR I_TAB-AMOUNT
                  I_TAB-CURR  I_TAB-BUSAREA
                  I_TAB-BKTXT I_TAB-DMBTR I_TAB-MENGE I_TAB-SRNO.
              MOVE-CORRESPONDING I_TAB TO I_TAB1.
            ELSE.
              EXIT.
            ENDIF.
            APPEND I_TAB1.
            CLEAR: I_TAB, I_TAB1.
          ENDDO.
        ENDIF.
        CLOSE DATASET G_FILE.

  • Use 3 internal table in GUI_Download

    Hello expert,
    i have 3 internal table: gt_header, gt_body and gt_footer. how can i used all 3 in gui_download fm. here is my sample code:
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename              = gv_file_name
          filetype              = 'ASC'
        TABLES
          data_tab              = gt_header.
    here i can only pass one internal table.
    Help please?

    Hi Hassim,
    Maybe you can declare another internal table, with all fields is type C and length as you wanted.
    Loop those three itabs, append to this new itab. then call this FM download.
    regards,
    Archer

Maybe you are looking for

  • Problem with Adobe Bridge in CS6

    This just started recently...less than a week.  When I have Bridge open and choose a file to look at or to work on, it opens BEHIND the Bridge window.  Before, they would open in front.  What have I done wrong?

  • ERROR – SQL Server Login Failed, Error 11001

    We have an application that uses MSDE as its ‘Back-end’.  It has been working fine for years.  We have however had to recently re-build the Operating System on our own Server that it was running on.  Original O/S Environment We used Windows Server 20

  • Unable to join two fact tables via one common dimension in RPD(Repository)

    I have created two fact tables F1 & F2 and one dimension D. F1 is joined to D and F2 is also joined to D in Physical layer as well as in BMM layer. I created one report in OBI Answers using these three tables.It Showed me the following error. **Error

  • Set Paper Source by Page Size for multi files

    I have over 500 pdf files. How can I batch set "Paper Source by Page Size" in Print Dialog Preset for these files. Thanks!

  • Order has Missing Parts

    Hi SAP Gurus, I am facing one problem. the scenario is as follows. client is having 4 plants. i am doing Production Order for Semi finish material in Plant 2. but Raw material stock material is in Plant 4. i suggested to transfer stock fom plant 4 to