Module Program (SAP-ABAP)

Hi Friends,
     In a module pool program , how to add a field ,so that it should display the field name along with its value  in output ? pls guide me with small example .pls treat this as urgent .
Thx and Regds,
bapi

Hi bobby,
1. Goto layout of our program
2. click on GetfromDictionary tab or Get from Program tab depending upon ur requirement. for eg: if u want to retrieve carrid from sflight and display i output then go to GetfromDictionary.
3. choose the fields that u want
4. they will appear in your screen.. then set the properties and use in your program accordingly...
I think this will help you..
Regards,
Prem Raj

Similar Messages

  • What is the difference between SAP HR module and SAP-ABAP-HR?

    what is the difference between SAP HR module and SAP-ABAP-HR?
    Thanks in advance..:)

    Hi,
    SAP-HR is software component like SAP-BASIS is a component.
    Its part of the CORE.
    As far as I know there is nothing like SAP-ABAP-HR.
    But ABAP offers some special syntax for HR though.
    Like INFOTYPES, PROVIDE ENDPROVDIE etc.
    Regards,
    Sesh

  • Module Pool Program(SAP-ABAP)

    Hi,
      I am trying to put CHAIN..ENDCHAIN logic in PAI module
      to validate screen.
      How sd i use CHAIN..ENDCHAIN ?
      Pls guide me with suitable example.
      I m waiting for ur reply........
    Thanx in Adv.
    Prabhas

    HI,
    See the thread:
    Re: Chain - Endchain  - Selection-Screen
    i copied the below data from SAPHELP for your sake,
    To ensure that one or more PAI modules are only called when several screen fields meet a particular condition, you must combine the calls in the flow logic to form a processing chain. You define processing chains as follows:
    CHAIN.
    ENDCHAIN.
    All flow logic statements between CHAIN and ENDCHAIN belong to a processing chain. The fields in the various FIELD statements are combined, and can be used in shared conditions.
    CHAIN.
    FIELD: <f1>, <f 2>,...
    MODULE <mod1> ON CHAIN-INPUT|CHAIN-REQUEST.
    FIELD: <g1>, <g 2>,...
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The additions ON CHAIN-INPUT and ON CHAIN-REQUEST work like the additions ON INPUT and ON REQUEST that you use for individual fields. The exception is that the module is called whenever at least one of the fields listed in a preceding FIELD statement within the chain meets the condition. So <mod1> is called when one of the fields <fi> meets the condition. <mod2> is called when one of the fields <f i> or <g i> meets the condition.
    Within a processing chain, you can combine individual FIELD statements with a MODULE statement to set a condition for a single field within the chain:
    CHAIN.
    FIELD: <f1>, <f 2>,...
    FIELD <f> MODULE <mod1> ON INPUT|REQUEST|*-INPUT
    |CHAIN-INPUT|CHAIN-REQUEST.
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The module <mod1> is called when screen field <f> meets the specified condition for individual fields. <mod2> is called when one of the fields <fi> or <f> meets the condition. If you use the addition ON CHAIN-INPUT or ON CHAIN-REQUEST with FIELD <f>, the condition also applies to the entire chain and module <mod1> and <mod2> are both called.
    <i>
    Check this out
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/801ca2454211d189710000e8322d00/frameset.htm</i>
    Regards
    anver
    Message was edited by: Anversha s

  • Upload Program(sap-abap)

    Hi Friends,
        I am using existing program to upload data(MM01 - BASIC VIEW ).But one of the field(MARA-BISMT) for old material number is neither uploading to transaction nor database.I have to uoload for other views(Purchasing, Accounting and so on) also which are depended on this old material number field.
         Secondly, Functional guy suggest me to add some of the fileds into it which are not available in upload structure.
    Could you guide me how to fix this issue in below code and upload data safely ?
    * Description : Migration Program for Material Master Basic View
    * Using xls-structure in Migration Overview: MM-Basic View
    * NAME           SR    DATE        VER. XLS  DESCRIPTION OF VERSION
    *           8804  04.05.2008  1.0  1.0  Original program
    *           8804  27.05.2004  1.1  1.0  Changed check for pack size
    *                                            multi pack size, EAN no,
    *                                            does not write to initial
    *                                            bdc_fields FORMT and FERTH
    *           8804  09.06.2006  1.2  1.0  added flag for intercompany
    *                      materials on converting table, also changed FM
    *                      ZMM_ADD_OLD_MATNR_TO_CONV_TABL
    REPORT  z_basic.
    * Structure for batch input
    CONSTANTS: c_structure TYPE tabname VALUE 'ZMM_BASIC_VIEW'.
    TABLES: makt, t006a, t024l, t002, zpmg, zsf1, zsf2, zsf3, zsf4, zsf5,
            zdrc, zdkb, zcce, zpsz, zcns, zusz, zatc, zmsz, t006, tntp, t179
    * Internal Tables
    DATA: i_data TYPE STANDARD TABLE OF zmm_basic_view.
    DATA: i_spras TYPE STANDARD TABLE OF makt-spras.
    * selection screen
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
    PARAMETERS: p_file(128) DEFAULT 'U:\My Documents\mm_basic.txt'.
    SELECTION-SCREEN SKIP.
    PARAMETERS: p_mode LIKE ctu_params-dismode DEFAULT 'N'.
    PARAMETERS: p_test NO-DISPLAY DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK block1.
    INCLUDE Z_BASIC_A.
    *INCLUDE zmigration.
    * START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM upload_file.
      PERFORM check_entries.
      PERFORM add_icons.
      IF p_test NE 'X'.
        PERFORM update.
        update_run = 'X'.
      ENDIF.
      PERFORM show_result.
    *&      Form  UPDATE
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM update.
      CALL FUNCTION 'ZMM_BASIC'
           EXPORTING
                mode   = p_mode
           TABLES
                i_data = i_data
                i_mess = i_mess.
    * update conversion table for materials where SAP-number already
    * exists and material description also already exist for language in
    * field SPRAS_2. This will only happen for inter company materials.
      LOOP AT i_data INTO wa_data WHERE zman_update EQ 'X'.
        CALL FUNCTION 'ZMM_ADD_OLD_MATNR_TO_CONV_TABL'
             EXPORTING
                  zzomp         = wa_data-old_matnr
                  werks         = '54'  " dummy plant
                  matnr         = wa_data-matnr
                  bismt         = wa_data-old_matnr
                  inter_company = 'X'.
        wa_data-msgtx = 'Conversion table for material updated'.
        wa_data-msgtyp = 'I'.
        WRITE icon_led_yellow AS ICON TO wa_data-icon.
        MODIFY i_data FROM wa_data TRANSPORTING icon msgtyp msgtx.
      ENDLOOP.
    ENDFORM.                    " UPDATE
    *&      Form  SHOW_RESULT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM show_result.
      PERFORM generate_fieldcatalog.
      PERFORM hide_blank_fields.
      PERFORM unhide_message_columns.
      PERFORM move_message_columns.
    *  PERFORM add_sorting_to_grid. " sort by first column in file
      IF called_screen_100 EQ space.
        called_screen_100 = 'X'.
        CALL SCREEN 100.
      ENDIF.
    ENDFORM.                    " SHOW_RESULT
    *&      Form  check_entries
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM check_entries.
      DATA: wa_find_new_material TYPE zfind_new_material_number.
      LOOP AT i_data INTO wa_data.
    *   if file has been downloaded, it may already contain messages
        CLEAR: wa_data-icon,
               wa_data-msgtyp,
               wa_data-msgtx.
        TRANSLATE wa_data-spras_2 TO UPPER CASE.
        TRANSLATE wa_data-meins TO UPPER CASE.
        TRANSLATE wa_data-gewei TO UPPER CASE.
        TRANSLATE wa_data-voleh TO UPPER CASE.
        TRANSLATE wa_data-zzcce TO UPPER CASE.
    *   If the material already exists, only texts should be maintained
        IF NOT wa_data-matnr IS INITIAL.
    *     Required fields filled?
          CASE space.
            WHEN wa_data-spras_2.
              wa_data-msgtx = 'Field language key (SPRAS_2) is required'.
            WHEN wa_data-maktx_2.
             wa_data-msgtx = 'Field mat. description (MAKTX_2) is required'.
          ENDCASE.
    *     Set old_matnr to SAP number if it is not filled
          IF wa_data-old_matnr IS INITIAL.
            wa_data-old_matnr = wa_data-matnr.
          ENDIF.
          IF wa_data-msgtx EQ space.
    *     Language key allowed
            SELECT SINGLE * FROM  t002
                   WHERE  spras  = wa_data-spras_2.
            IF sy-subrc NE 0.
              wa_data-msgtx = 'Language key does not exist (spras_2)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx IS INITIAL.
            SHIFT wa_data-matnr RIGHT DELETING TRAILING space.
            OVERLAY wa_data-matnr WITH '000000000000000000'.
            SELECT SINGLE * FROM  makt
                   WHERE  matnr  EQ wa_data-matnr
                   AND    spras  EQ wa_data-spras_2.
            IF sy-subrc EQ 0.
              CONCATENATE 'Mat. description already exists for language'
                          wa_data-spras_2
                          INTO wa_data-msgtx SEPARATED BY space.
              MOVE 'X' TO wa_data-zman_update.
            ENDIF.
          ENDIF.
    *     Change material - Find line to insert the new description.
          IF wa_data-msgtx IS INITIAL.
            SELECT spras
                   INTO TABLE i_spras
                   FROM  makt
                   WHERE  matnr  = wa_data-matnr.
            DESCRIBE TABLE i_spras LINES l_lines.
            IF l_lines > 3.
    *       All screen fields for descriptions are filled - Must be updated
    *       manually -
    *      ( or add code to insert into MAKT in an other way... )
              wa_data-msgtx =
    'Description must be added manually - only 4 lines available on screen'.
              wa_data-zman_update = 'X'.
    *       added to converting table after update run
            ENDIF.
          ENDIF.
        ELSE.
    *     Check if required fields are filled
          CASE space.
            WHEN wa_data-spras_2.
              wa_data-msgtx = 'Field language key (SPRAS_2) is required'.
            WHEN wa_data-maktx_1.
             wa_data-msgtx = 'Field mat. description (MAKTX_1) is required'.
            WHEN wa_data-maktx_2.
             wa_data-msgtx = 'Field mat. description (MAKTX_2) is required'.
            WHEN wa_data-mbrsh.
              wa_data-msgtx = 'Field Industry sector (mbrsh) is required'.
            WHEN wa_data-mtart.
              wa_data-msgtx = 'Field Material type (mtart) is required'.
            WHEN wa_data-meins.
           wa_data-msgtx = 'Field Base unit of measure (meins) is required'.
            WHEN wa_data-prdha.
              wa_data-msgtx = 'Field Product hierarchy (prdha) is required'.
            WHEN wa_data-labor.
              wa_data-msgtx = 'Field Laboratory design (labor) is required'.
          ENDCASE.
    *     Values allowed?
          IF wa_data-msgtx EQ space.
    *     Base unit of measure
            SELECT SINGLE * FROM  t006a
                   WHERE  spras  = sy-langu
                   AND    mseh3  = wa_data-meins.
            IF sy-subrc NE 0.
              wa_data-msgtx = 'Base unit of measure does not exist (mseh3)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space.
    *     Lab./Office
            SELECT SINGLE * FROM  t024l
                   WHERE  labor  = wa_data-labor.
            IF sy-subrc NE 0.
              wa_data-msgtx = 'Lab./Office does not exist (labor)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space.
    *     Language key
            SELECT SINGLE * FROM  t002
                   WHERE  spras  = wa_data-spras_2.
            IF sy-subrc NE 0.
              wa_data-msgtx = 'Language key does not exist (spras_2)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space.
    *     Product hierarchy
            SELECT SINGLE * FROM  t179
                   WHERE  prodh  = wa_data-prdha.
            IF sy-subrc NE 0.
              wa_data-msgtx = 'Product hierarchy does not exist (PRDHA)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space AND NOT wa_data-zzpmg IS INITIAL.
    *     ProdMatGrp (ABC ind)
            SELECT SINGLE * FROM  zpmg
                   WHERE  zzpmg  = wa_data-zzpmg.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'ProdMatGrp (ABC ind) does not exist (zzpmg)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space AND NOT wa_data-zzsf1 IS INITIAL.
    *     Sort field 1
            SELECT SINGLE * FROM  zsf1
                   WHERE  zzsf1  = wa_data-zzsf1.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Sort field 1 does not exist (ZZSF1)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space AND NOT wa_data-zzsf2 IS INITIAL.
    *     Sort field 2
            SELECT SINGLE * FROM  zsf2
                   WHERE  zzsf2  = wa_data-zzsf2.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Sort field 2 does not exist (ZZSF2)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space AND NOT wa_data-zzsf3 IS INITIAL.
    *     Sort field 3
            SELECT SINGLE * FROM  zsf3
                   WHERE  zzsf3  = wa_data-zzsf3.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Sort field 3 does not exist (ZZSF3)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space AND NOT wa_data-zzsf4 IS INITIAL.
    *     Sort field 4
            SELECT SINGLE * FROM  zsf4
                   WHERE  zzsf4  = wa_data-zzsf4.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Sort field 4 does not exist (ZZSF4)'.
            ENDIF.
          ENDIF.
          IF wa_data-msgtx EQ space AND NOT wa_data-zzsf5 IS INITIAL.
    *     Sort field 5
            SELECT SINGLE * FROM  zsf5
                   WHERE  zzsf5  = wa_data-zzsf5.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Sort field 5 does not exist (ZZSF5)'.
            ENDIF.
          ENDIF.
    *     Drug Code
          IF wa_data-msgtx EQ space AND NOT wa_data-zzdrc IS INITIAL.
            SELECT SINGLE * FROM  zdrc
                   WHERE  zzdrc  = wa_data-zzdrc.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Drug Code does not exist (zzdrc)'.
            ENDIF.
          ENDIF.
    *     Narco Base
          IF wa_data-msgtx EQ space AND NOT wa_data-zzdkb IS INITIAL.
            SELECT SINGLE * FROM  zdkb
                   WHERE  zzdkb  = wa_data-zzdkb.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Narco Base does not exist (zzdkb)'.
            ENDIF.
          ENDIF.
    *     Country code, Emscope standard
          IF wa_data-msgtx EQ space AND NOT wa_data-zzcce IS INITIAL.
            SELECT SINGLE * FROM  zcce
                   WHERE  zzcce  = wa_data-zzcce.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Country code, Emscope standard does not exist (zzcce)'.
            ENDIF.
          ENDIF.
    *     Package size
          IF wa_data-msgtx EQ space AND NOT wa_data-zzpsz IS INITIAL.
            CONDENSE wa_data-zzpsz.
            SELECT SINGLE * FROM  zpsz
                   WHERE  zzpsz  = wa_data-zzpsz.
            IF sy-subrc NE 0.
              wa_data-msgtx = 'Package size does not exist (zzpsz)'.
            ENDIF.
          ENDIF.
    *     Concentration
          IF wa_data-msgtx EQ space AND NOT wa_data-zzcns IS INITIAL.
            SELECT SINGLE * FROM  zcns
                   WHERE  zzcns  = wa_data-zzcns.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Concentration does not exist (ZZCNS)'.
            ENDIF.
          ENDIF.
    *     Unit Size
          IF wa_data-msgtx EQ space AND NOT wa_data-zzusz IS INITIAL.
            SELECT SINGLE * FROM  zusz
                   WHERE  zzusz  = wa_data-zzusz.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Unit Size does not exist (ZZUSZ)'.
            ENDIF.
          ENDIF.
    *     ATC-no.
          IF wa_data-msgtx EQ space AND NOT wa_data-zzatc IS INITIAL.
            SELECT SINGLE * FROM  zatc
                   WHERE  zzatc  = wa_data-zzatc.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'ATC-no. does not exist (ZZATC)'.
            ENDIF.
          ENDIF.
    *     Multi pack size
          IF wa_data-msgtx EQ space AND NOT wa_data-zzmsz IS INITIAL.
            CONDENSE wa_data-zzmsz.
            SELECT SINGLE * FROM  zmsz
                   WHERE  zzmsz  = wa_data-zzmsz.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Multi pack size does not exist (ZZMSZ)'.
            ENDIF.
          ENDIF.
    *     Weight Unit
          IF wa_data-msgtx EQ space AND NOT wa_data-gewei IS INITIAL.
            SELECT SINGLE * FROM  t006
                   WHERE  msehi  = wa_data-gewei.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Weight Unit does not exist (GEWEI)'.
            ENDIF.
          ENDIF.
    *     Volume Unit
          IF wa_data-msgtx EQ space AND NOT wa_data-voleh IS INITIAL.
            SELECT SINGLE * FROM  t006
                   WHERE  msehi  = wa_data-voleh.
            IF sy-subrc NE 0.
              wa_data-msgtx =
              'Volume Unit does not exist (VOLEH)'.
            ENDIF.
          ENDIF.
    *     EAN for Germany will be entered manually by Cato.
          if wa_data-ean11 ne space and wa_data-msgtx eq space.
            data: l_ean_length type i.
            l_ean_length = strlen( wa_data-ean11 ).
            if l_ean_length ne 13 or wa_data-matnr ne space.
              wa_data-msgtx =
            'Enter EAN numbers manually for Germany and common materials'.
            elseif wa_data-numtp is initial.
              wa_data-msgtx = 'EAN category must be given for EAN number'.
            endif.
          endif.
          if wa_data-ean11 eq space and wa_data-numtp ne space.
    *       Makes no sense to have an EAN category when there is no EAN
            clear: wa_data-numtp.
          endif.
        ENDIF.  "   IF NOT wa_data-matnr IS INITIAL.
    *   Has material already been migrated?
        IF wa_data-msgtx EQ space and wa_data-msgtyp ne 'W'.
          CLEAR: wa_find_new_material.
          MOVE: wa_data-old_matnr TO wa_find_new_material-matnr_old,
                '54' TO wa_find_new_material-werks.
          CALL FUNCTION 'ZFIND_NEW_MATERIAL_NUMBER'
               EXPORTING
                    get_from_marc = space
               CHANGING
                    wa_data       = wa_find_new_material.
          IF NOT wa_find_new_material-matnr IS INITIAL.
            CONCATENATE: 'Material already created:'
                         wa_find_new_material-matnr
              INTO wa_data-msgtx
              SEPARATED BY space.
            wa_data-msgtyp = 'E'.
          ENDIF.
        ENDIF.
    *   Set all messages that are not Warning to Error
        IF wa_data-msgtx NE space AND wa_data-msgtyp EQ space.
          MOVE: 'E' TO wa_data-msgtyp.
        ENDIF.
        MODIFY i_data FROM wa_data.
      ENDLOOP.
    ENDFORM.                    " check_entries
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      DATA: local_commands.
      PERFORM user_commands_local CHANGING local_commands.
      IF local_commands EQ 'X'.
    *   local user command has been executed - clear ok_code
        CLEAR ok_code.
      ELSE.
        PERFORM user_commands.
      ENDIF.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  user_commands_local
    *       text
    *      <--P_LOCAL_COMMANDS  text
    FORM user_commands_local CHANGING p_local_commands.
    * Add your own user commands here and overwrite default handling if
    * necessary
      DATA: local_ok TYPE ok.
      local_commands = 'X'.
      local_ok = ok_code.
      CASE local_ok.
        WHEN OTHERS.
          CLEAR: local_commands.
      ENDCASE.
    ENDFORM.                    " user_commands_local
    Pls treat it as urgent.
    I ll reward for usefull response.
    Thx in Adv.
    Bobby

    Hi,
       I didn't recieve any response from you regarding issues in upload program.
       Could you pls send some solution for this issue ?
       Pls treat it as urgent.
    Thx in Adv.
    Bobby

  • Screen Programming(Module Pool ) using Abap Objects

    Hi gurus.,
    I need to create a module pool program with tabstrips and tablecontrols using Abap objects...plz guide me how i can achieve this... i am very much confused.. i dont know how and where to start .. plz send me documents and sample codes related to this topic..Also hoe i can implement f4 help in screen fields..
    Regards.,
    S.Sivakumar

    Hi Sivakumar,
    Go through the following links:
    [url]http://www.savefile.com/download/156691?PHPSESSID=c49d6bed6630d830f3270f7eab51e547 [url]
    [url]http://www.sapdb.info/category/sap-ebooks[url]
    [url]http://sap.niraj.tripod.com/id25.html[url]
    [url]http://abaplovers.blogspot.com/2008/03/sap-abap-tutorial-module-pool_17.html[url]
    Thank you,
    Prasad G.V.K
    Edited by: Craig Cmehil on Jul 1, 2008 9:48 PM

  • Create a table and upload data in MS ACCESS from SAP ABAP programming?

    Hi All,
    How to create a table in MS ACCESS database and Upload SAP database table data into MS ACCESS table using ABAP programming?
    Explain: My client requirement is " If he/she runs a ABAP Program, that will create a table and upload data into MS ACCESS Database table in background. "
    Could you please give the solution or code? I know the program RIACCESS and I went through the SAP Note 583698.
    Is this only solution for this?  Or Any other possibilities?
    Please give me solution.
    Thanks in advance.

    Hi,
    It is not possible to create tables in a non SAP schema from inside SAP.
    The SAP-Oracle license also does not allow you to create the table (see note 581312):
    the following actions, among other things, are therefore forbidden at database level:
    Creating database users
    Creating database segments
    Querying/changing/creating data in the database
    Using ODBC or other SAP external access methods
    Please refer following link,
    [Ckick Here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    You can also do it by LSMW,
    If you are using Access 97, you can download directly into an access
    database from SAP. See program RIACCESS for details. You have to establish
    an RFC destination PS_ACCESS_1 and 2.
    There are then a couple of function modules. Go to SE37 and put in
    msaccess and hit PF4.
    The following is from the readme file: sapgui/ps/readme.sap
    For the MS-Access interface SAP delivers 4 files:
    WDPSASTR.EXE This is an RFC server program that is called by SAP R/3
    (PS module). This program creates a MS Access database. The structure
    information of the tables is transferred from R/3. In addition to
    these tables a table named DDIC is created. This table contains the
    structure information and should in no case be modified or deleted.
    WDPSATAB.EXE This is an RFC server program that is called by SAP R/3
    after WDPSASTR. This program filles the tables of the database with data.
    There must not be made any changes of the structure of
    the tables between the calls of WDPSASTR and WDPSATAB.
    WDPSAZET.EXE This is an RFC client program that triggers work/time
    confirmations in the PS module of SAP R/3 (like transaction CN27 Collectiv
    confirm).
    WDPSAMAT.EXE This is an RFC client program that triggers material
    confirmations in the PS module of SAP R/3 (like transaction MB1A - Goods
    Please also refer following links,
    [Click here|Upload data from MS Access tables, to SAP tables.;
    Before using the program "RIACCESS", you need to install the PS utilities, which are part of SAPGUI install CD.
    It is available in the "SAPGUIPS directory".
    Then do the followings :
    1. Select transaction code SALE -> Systems in network-> Define RFC Destination.
    2. You will need two RFC destinations (TCP/IP connections for the front-end workstation).
    Setup the two RFC destinations PS_ACCESS_1 and PS_ACCESS_2 and you'll have to get them to point to
    wdpsastr.exe and wdpsatab.exe respectively.
    3. Then execute RIACCESS and choose PS_ACCESS_1 to generate access tables.
    The system must also be able to access the RFC-DLL files (librfc2.dll, librfc3.dll, librfc4.dll, librfc5.dll, librfc6.dll, vrfc.dll).
    Please note that Access only supports tables with up to 255 fields.

  • What type pf programming language is SAP ABAP?

    Hiii
    I would like to know what type of programming language is SAP ABAP .  Is it real-time programming or parallel programming??
    please advise??

    Hi,
    It all depends on how you write your programs. You can make your programs run real time(Online-enhancements/interfaces); or Use Parallel processing(Using Function module tasks concept)
    Hope this helps
    Regards
    Shiva

  • Problem while fetching more records in SAP ABAP report program

    Hello Frinds,
    I have SAP ABAP report program which fetches data from usr02 table
    Now, program is working fine with less number of records, bot in production there are more than 200000 records and either report gets timed out or there is run time error like buffer area not available.
    Below is the fetch statement
    SELECT bname FROM usr02 INTO TABLE lt_user
    So, do I need to take records in small chunks, I do not think it is needed as I have worked on number of othere databases where there are number of records in single fetch statement and database itself take care of this.
    Please provide me some approach to resolve this problem.

    This will be very difficult for you.....
    Since you are getting a time out error....it looks like, you are runnning this report in foreground....................
    Try running it in background it will work...
    ELSE....you have to fetch in small chunks....but the question is how will you do it. Since the USR02 only has BNAME as primary key...
    Either put the BNAME as part of selection screen and fetch the data.....it will solve your problem....
    Only fetch for those BNAME which is entered in the selection screen...
    Hope it helps!

  • Can we rename the existing z-program in SAP-abap

    Can we rename the existing z-program in SAP-abap. If yes, than how it can be done. But actually we don't want to copy the code from the existing z-program to the new one which will be created. We just want to make rename the existing z-program in SAP-abap. Please suggest, how it can be?
    Edited by: akg.amit on Oct 20, 2010 7:40 AM

    Hi Amit,
    In SE38 Open the program with old name. Press the RENAME button. In the Target program field provide the new name of program name. This new name for program should not exist in your system. Click on the Rename button. It will give a pop-up where it ask if you want to rename any includes in that program. I assume you dont have any includes in the program. So press the Rename button again without selecting the "Include" check box. Now it will ask for the Transport request. Provide your Transport request number. The program will be renamed.
    Regards,
    Immanuel.

  • ABAP Objects: Introduction to Programming SAP Applications

    Hi, does anybody knows any tutorial that would explain me how to install and make available in my SAP installation the examples and database that comes with this book ABAP Objects: Introduction to Programming SAP Applications
    The point is that i couldn't install the version of SAP BASIS that came with the book ( it was SAPmini BASIS 4.6D) on my Windows XP. Instead, i've installed Mini WAS 6.20 with Front-End 6.40 and i'd like to use it while studying the same book.
    any ideas?
    sorry, may be it could sound obviuos for some of you, but i'm complete SAP virgin

    Not sure if this data generator is available in 6.20 or now.  SAPBC_TOOLS_GENERATOR_NEW  Run this program to generate the data for the FLIGHT tables.
    Then you should check out the example programs which start with BCALV*   and also check out transaction code DWDM.
    Regards,
    Rich Heilman

  • Links/Docs for Module Pool Programing using abap objects

    Hi all,
    Can anyone send me links/docs related to Module Pool programing using Abap Objects.
    Thanks n Regards
    Maruthi Rao. A

    hi maruthi rao,
    check the below link
    http://abapcode.blogspot.com/2007/06/object-oriented-alv-sample-program-to.html

  • Add Voting buttons in MS Outlook from SAP ABAP program

    I have a requirment where SAP ABAP program will send an email.
    I need to have the voting buttons (yes/no) in the email. It does not have to be in the content of the email but the typically voting buttons that we can add to the MS Outlook email.
    If there is someone who can give me the steps and documentations, greatly appreciate.
    The main critieria is that it has to be MS outlook.

    Hi,
    here is the solution i think.
    INCLUDE ole2incl .
    DATA: ole_outlook  TYPE ole2_object,
          ole_CItem    TYPE ole2_object,
          ole_body      TYPE string.
      CREATE OBJECT ole_outlook 'Outlook.Application'.
      CALL METHOD OF ole_outlook 'CreateItem' = ole_CItem
        EXPORTING #1 = 0.
      SET PROPERTY OF ole_CItem 'To' = 'receiver @ mail.com'.
      SET PROPERTY OF ole_CItem 'Subject' = 'E-mail Title'.
      CALL METHOD OF ole_CItem 'Display'.
      CONCATENATE ole_body
                  'Dear Sir/Madam,'
                  cl_abap_char_utilities=>newline
                  cl_abap_char_utilities=>newline
        INTO ole_body.
    SET PROPERTY OF ole_CItem 'Body' = ole_body.
    CALL METHOD OF ole_CItem 'ATTACHMENTS' = ATTS.
    CALL METHOD OF ATTS 'ADD'
    EXPORTING #1 = 'C:\File_Location\File_name.extension'.
    SET PROPERTY  OF ole_CItem 'VotingOptions' = 'Yes;No'.
    FREE OBJECT ole_outlook.
    *you can replace the voting option to what you want, for example 'Yes;No' or 'Approve;Reject'.

  • Query About the SAP ABAP Module

    Hello My name is Anuj Chaturvedi. I have doing a MCA Course(VITH semester). I want to do a SAP ABAP Module. So Please suggest me that ii is gud for me? Also tell me something more about the ABAP Module. Kindly reply me soon.
    Thanks
    Anuj Chaturvedi

    Hello My name is Anuj Chaturvedi. I have doing a MCA Course(VITH semester). I want to do a SAP ABAP Module. So Please suggest me that ii is gud for me? Also tell me something more about the ABAP Module. Kindly reply me soon.
    Thanks
    Anuj Chaturvedi

  • Wireless using SAP ABAP Report programming

    Hi All Boss,
    I am doing my project Wireless program using SAP ABAP
    I need that project.
    so please send me wireless program for sap abap and screen shot.
    reply me urgent....
    Please donot forgot to all..

    This is not a program writing service.

  • Regarding training and placement program for SAP-ABAP at simens

    Dear all,
    i am an MCA completed  fresher planning to join in simens for SAP-ABAP module. I have quires like
      1 After training whether they will provide placement ?
      2 How much will be the fees for that module?
      and last what is duration for that module.
    i welcome all of you for your valuable suggestions......
    its urgent

    Hi vishnuvardhan,
    Here are answers to ur queries
    After training whether they will provide placement ?
    No, Simens is just a training partner of SAP.
    How much will be the fees for that module?
    Cost for certification is 28,000 rs, but if u go for training and certification both it will cost more. Not sure of the exact amount.
    what is duration for that module
    Duration is 1 month.

Maybe you are looking for