IBIP code in PM module

Hi ,
Can anyone explain how to use IBIP code to do direct data transfer in PM Module .
Best Regards

thanks for all ur patience. Vijay find below my work, it is still not working !! PAI does not seem to be triggered..thanks
1. I have created a screen program named SAPMZXXXXX with screen number 100 and 3 subscreens 101, 102 and 103.
2. The radio buttons have the function code RADIO and function type is blank !!
3. a subscreen area named SUBSCREEN1 is created in screen 100.
4. the code in screen 100 is as follows:
PROCESS BEFORE OUTPUT.
  MODULE STATUS_0100.
  call subscreen SUBSCREEN1 including 'SAPMZXXXXX' v_dynnr.
PROCESS AFTER INPUT.
  MODULE USER_COMMAND_0100.
5.created one include MZXXXXX_TOP that holds the data declarations and included in module pool PROGRAM  SAPMXXXXX.
DATA: AA TYPE C VALUE 'X',
      BB TYPE C,
      CC TYPE C.
DATA: OK_CODE TYPE SY-UCOMM,
      SAVE_OK TYPE SY-UCOMM.
DATA: V_DYNNR TYPE SY-DYNNR VALUE  '0101'.
6. MODULE USER_COMMAND_0100 INPUT.
  SAVE_OK = OK_CODE.
  CLEAR OK_CODE.
  CASE SAVE_OK.
    WHEN 'RADIO'.
      IF AA = 'X'.
          V_DYNNR = '0101'.
      ELSEIF BB = 'X'.
          V_DYNNR = '0102'.
      ELSEIF CC = 'X'.
          V_DYNNR = '0103'.
      ENDIF.
    WHEN 'EXIT'.
      LEAVE PROGRAM.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_0100  INPUT

Similar Messages

  • Fi validation -exclude tr code from other modules

    I am setting up a validation at the Fi line item level. Now it is restricting some documents comming from MM which we don't want to. Is it possible to exclude some of the transaction codes from other modules to not to consider this validation.
    I tried SYST-TCODE <> (T-Code from other modules like MM for eg: MIRO etc)
    But that does not seem to work.
    Does anyone know why and are there any options to get this done.
    Any help will be appreciated

    Hello,
    Please validate BKPF-AWTYP (reference procedure)
    For postings done in FI its, BKPF and so for others it would change.
    This would be simple.
    But for this check whether this field can be used for validation.
    This can be done by checking table GB01, if not change the settings to make this field available for validation.
    Best Regards
    Anantha

  • Assigning of process code to function module

    hi all,
    please let me know where to go for assigning teh process code to function module. i am unable to get the function module from the process code(we42).  please let me know
    thank you
    chan

    In WE42 itself we can assign the process code to a FM.
    select new entries.
    Enter a process code name & description.
    Enter Ur FM in Identification Field.
    Now select Processing by Function module in Processing type.
    Save it.
    For outbound do the same thing in WE41 tcode

  • Error code "The specified module could not be found"

    I am getting the error code "The specified module could not be found" whenever I try to open the editor

    Hi owenskier,
    Please try the steps mentioned in the given link:- Error message (The Specified module could not be found) how do I fix the problem?
    Let me know if this helps.
    Sarika

  • TRANSACTIONS CODES FOR FI MODULE

    hi
    where to get a list of all transactions codes for FI module.

    Hi ,
    Do check below mentioned link for the lict of all transaction codes in SAP.
    http://www.saptransactioncodes.com/a.html.
    Regards
    honey

  • Code in the module not triggered..

    hi,
    i have designed a screen with 2 radio buttons, aa and bb. its associated program is of Type M and named as
    SAPMZXXXXX and screen number is 100.
    i created 2 subscreens in the same program SAPMZXXXXX , number 101 and 102.
    now by default the first subscreen 101 shud be displayed as the first radio button will be selected. this I achieve in
    PBO of screen 100. I write a call subscreen. it is working fine.
    Now to capture the user's click on second radio button and to call the second subscreen, i double clicked on the MODULE USER_COMMAND_0100 under PAI and created that module and included the code as follows:
    SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      CASE SAVE_OK.
        WHEN 'RADIO'.
          IF AA = 'X'.
             CALL SUBSCREEN OPTIONS_SUBSCREEN INCLUDING 'SAPMZXXX' '0101'.
          ELSEIF BB = 'X'.
             CALL SUBSCREEN OPTIONS_SUBSCREEN INCLUDING 'SAPMZXXX' '0102'.
          ENDIF.
      ENDCASE.
    also i created a top include in SE38 named MZXXXXX_TOP of type Include program and included the data declarations like
    DATA: AA TYPE C,
          BB TYPE C.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    and finally in the main screen program SAPMZXXXXX i included this top include. under that i cud see the module included as
    INCLUDE MZXXXXX_USER_COMMANI02.
    whats wrong ?? its not working !! am i missing any step ??
    thks

    thanks for all ur patience. Vijay find below my work, it is still not working !! PAI does not seem to be triggered..thanks
    1. I have created a screen program named SAPMZXXXXX with screen number 100 and 3 subscreens 101, 102 and 103.
    2. The radio buttons have the function code RADIO and function type is blank !!
    3. a subscreen area named SUBSCREEN1 is created in screen 100.
    4. the code in screen 100 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      call subscreen SUBSCREEN1 including 'SAPMZXXXXX' v_dynnr.
    PROCESS AFTER INPUT.
      MODULE USER_COMMAND_0100.
    5.created one include MZXXXXX_TOP that holds the data declarations and included in module pool PROGRAM  SAPMXXXXX.
    DATA: AA TYPE C VALUE 'X',
          BB TYPE C,
          CC TYPE C.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    DATA: V_DYNNR TYPE SY-DYNNR VALUE  '0101'.
    6. MODULE USER_COMMAND_0100 INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      CASE SAVE_OK.
        WHEN 'RADIO'.
          IF AA = 'X'.
              V_DYNNR = '0101'.
          ELSEIF BB = 'X'.
              V_DYNNR = '0102'.
          ELSEIF CC = 'X'.
              V_DYNNR = '0103'.
          ENDIF.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT

  • What happens to FPGA code when a module it expects is missing?

    Hi Folks,
    I want to know what happens if you have FPGA code that expects a module to be present running on a system where the module is missing.
    We have a RT control system that runs on a cRIO 9014 with a 9111 backplane. There are only two modules in the slots and one of these is the Prosoft Profibus module. The biggest chunk of the FPGA code is taken up with configuring and sending and receiving using this module. Specifically the communications with the module are done by the Read (Memory) and Write (Memory) structures.
    We are developing code to use the Ethernet/IP libraries instead of Profibus in some cases. This means the communications moves from the FPGA to the RT. We are considering have the ability to switch be an option.
    My concern is that if the FPGA has code in that references the Profibus module, then it might behave badly if the module is not present.
    And so my question is if FPGA code tries to reference a module that is not present, what happens? Is it just an error? Will there be no error? What?
    Thanks!

    I am not familiar with profibus, but why not just remove the module and run it and see what happens? I'm guessing you will get an error, althougth which error I am not sure. 
    CLA, LabVIEW Versions 2010-2013

  • XI-- IDOC scenario, how to link process code with function module

    Hi Forum,
    I have a XI--->IDOC (R/3) scenario,
    where i m creating a IDOC in XI and sending it to R/3,
    i have done all settings to send the IDOC from XI to the R/3,
    i also have the function module to process that IDOC in R/3,
    the problem is:
    I want to know in details (step by step) how to make a Idoc Inbound process code, link it with the function module and use the process code in the Partner Profile in R/3,
    pls help

    HI,
    FOr this u need to go to transaction WE41 for inbound and WE40 for outbound there u assign the function module.
    Now u go to WE20 transaction for partner profile and u can assign the proces code to the inbound message.
    Go to the below help for more information:
    http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
    Inbound process code:
    http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
    Thnx
    Chirag

  • Itunes.exe disappears in Win7, Exception code: 0xc0000005, Faulting module name: es.dl

    On a Windows 7 Pro SP1 Toshiba Satellite A505 64bit laptop, when I run Itunes, no windows ever appears. If I watch Task Manager, "itunes.exe *32" appears briefly then disappears.
    I ended ipodservice.exe, no diff. Started Itunes in Itunes safemode, no diff (in Windows normal mode OR windows safe mode).  I tried creating another user - same issue. I tried disabling the antivirus. I scanned for viruses.  I uninstalled ALL the apple software and removed ALL the apple related folders (incl bonjour, apple blah, quicktimes, itunes, etc), as per
    http://support.apple.com/kb/HT1923
    The problem persisted. After the most recent removal / reinstall,I went to event viewer > applications and found the following items. I didn't find anything online relating to es.dll and itunes.
    Log Name:      Application
    Source:        MsiInstaller
    Date:          7/31/2014 6:07:11 PM
    Event ID:      1039
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          Owner-PC\Owner
    Computer:      Owner-PC
    Description:
    Product: iTunes. The application tried to modify a protected Windows registry key \CLSID\{44EC053A-400F-11D0-9DCD-00A0C90391D3}\ProgID.
    Log Name:      Application
    Source:        Application Error
    Date:          7/31/2014 6:09:29 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Owner-PC
    Description:
    Faulting application name: iTunes.exe, version: 11.3.0.54, time stamp: 0x53bc1265
    Faulting module name: es.dll, version: 2001.12.8530.16385, time stamp: 0x4a5bda4e
    Exception code: 0xc0000005
    Fault offset: 0x00006ef9
    Faulting process id: 0x1aac
    Faulting application start time: 0x01cfad253d3a5a2a
    Faulting application path: C:\Program Files (x86)\iTunes\iTunes.exe
    Faulting module path: C:\windows\system32\es.dll
    Log Name:      Application
    Source:        Windows Error Reporting
    Date:          7/31/2014 6:09:33 PM
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      Owner-PC
    Description:
    Fault bucket 378197881, type 17
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: iTunes.exe
    P2: 11.3.0.54
    P3: 53bc1265
    P4: es.dll
    P5: 2001.12.8530.16385
    P6: 4a5bda4e
    P7: c0000005
    P8: 00006ef9
    P9:
    P10:
    Do these indicate any fix that i have not already tried above?

    On a Windows 7 Pro SP1 Toshiba Satellite A505 64bit laptop, when I run Itunes, no windows ever appears. If I watch Task Manager, "itunes.exe *32" appears briefly then disappears.
    I ended ipodservice.exe, no diff. Started Itunes in Itunes safemode, no diff (in Windows normal mode OR windows safe mode).  I tried creating another user - same issue. I tried disabling the antivirus. I scanned for viruses.  I uninstalled ALL the apple software and removed ALL the apple related folders (incl bonjour, apple blah, quicktimes, itunes, etc), as per
    http://support.apple.com/kb/HT1923
    The problem persisted. After the most recent removal / reinstall,I went to event viewer > applications and found the following items. I didn't find anything online relating to es.dll and itunes.
    Log Name:      Application
    Source:        MsiInstaller
    Date:          7/31/2014 6:07:11 PM
    Event ID:      1039
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          Owner-PC\Owner
    Computer:      Owner-PC
    Description:
    Product: iTunes. The application tried to modify a protected Windows registry key \CLSID\{44EC053A-400F-11D0-9DCD-00A0C90391D3}\ProgID.
    Log Name:      Application
    Source:        Application Error
    Date:          7/31/2014 6:09:29 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Owner-PC
    Description:
    Faulting application name: iTunes.exe, version: 11.3.0.54, time stamp: 0x53bc1265
    Faulting module name: es.dll, version: 2001.12.8530.16385, time stamp: 0x4a5bda4e
    Exception code: 0xc0000005
    Fault offset: 0x00006ef9
    Faulting process id: 0x1aac
    Faulting application start time: 0x01cfad253d3a5a2a
    Faulting application path: C:\Program Files (x86)\iTunes\iTunes.exe
    Faulting module path: C:\windows\system32\es.dll
    Log Name:      Application
    Source:        Windows Error Reporting
    Date:          7/31/2014 6:09:33 PM
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      Owner-PC
    Description:
    Fault bucket 378197881, type 17
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: iTunes.exe
    P2: 11.3.0.54
    P3: 53bc1265
    P4: es.dll
    P5: 2001.12.8530.16385
    P6: 4a5bda4e
    P7: c0000005
    P8: 00006ef9
    P9:
    P10:
    Do these indicate any fix that i have not already tried above?

  • Transaction code to find modules in ECC 6.0

    Hi gurus
    I installed ECC 6.0 with windows and oracle. I want to know the transaction code that tells me what are the modules ( SD, FICO..etc) which are present in my ECC 6.0.
    Pllzzz help me

    Hi,
    Goto --> SE93 
    Suppose u want all the Tcodes for Material Mangement then type MM* in the box.It will show u the all the Tcodes for MM.
    In this way u can go ahead with other modules.
    Thanks,
    Spandan

  • Help code for function module

    Hi Gurus,
    I have to connect two table through function module in ECC side.
    Both table contains some field.
    I am not much familiar with ABAP.
    So PLease  give some demo coding for this.
    Coding  to connect two tables by function module.
    Thanks.
    Saurabh Jain

    Hi,
    Please find the sample code.Here I am extracting data from three tables.
    SELECT         
                   a~vbeln
                 a~MATNR
                 a~CHARG                 
                 a~POSNR              
                 a~SPART                
                 a~ERDAT              
                 a~AEDAT              
                 a~KWMENG
                 a~PSTYV
                 c~KUNNR
                 c~VKGRP
                 c~VKBUR
                 c~VTWEG
                 c~VKORG
                 c~BUKRS
                 c~VKGRP  
                 FROM((VBAP AS a INNER JOIN VBPA AS b
                            ON avbeln  = bvbeln
                           AND aposnr  = bposnr)INNER JOIN VBAK AS c ON cvbeln = bvbeln
                                                                       AND cposnr = bposnr).
    Modify in the way you want and Just include these codes into the Funtion module you create.
    I Hope it my help you.
    Regards,
    Prem

  • ALV code in function module

    Hi
    I have created a report and it gets displayed in ALV. My requirement was to put the whole code in a function module, including the ALV functionality...I have put the same..the problem is that I am not able to see the TOP-OF-PAGE..
    I am putting a sample code of what exactly I did in the function module..let me know what needs to be done..
    FUNCTION ZAZTEST.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(GV_REPID) TYPE  SY-REPID
    *"  TABLES
    *"      S_KUNNR STRUCTURE  JITO_KUNNR_RANGE
    perform sub_get_customers tables s_kunnr
                              changing gt_kna1.
    perform sub_prepare_fieldcatalog using :
    'KUNNR'       'Customer No'       '10'          'GT_KNA1'    space         space changing   gt_fieldcat,
        'NAME1'         'Name'       '35'           'GT_KNA1'    space         space changing   gt_fieldcat,
        'LAND1'         'Country'       '4'           'GT_KNA1'    space         space changing  gt_fieldcat,
        'ORT01'         'City'       '35'           'GT_KNA1'    space         space changing  gt_fieldcat.
    perform sub_build_alv_events changing gt_events.
    perform sub_comment_build tables s_kunnr changing gt_list_top_of_page.
    PERFORM sub_display using gv_repid gt_fieldcat   gt_events    gt_kna1.
    ENDFUNCTION.
    form sub_get_customers tables p_kunnr structure JITO_KUNNR_RANGE
    changing p_it_kna1 type tt_kna1.
    select kunnr name1 land1 ort01
    from kna1
    into table p_it_kna1
    where kunnr in p_kunnr.
    if sy-subrc eq 0.
      sort p_it_kna1 by kunnr.
    endif.
    endform.
          Prepare Field Catalog
         -->lv_F  fieldname
         -->lv_D  column Description
         -->lv_L  Output length
         -->lv_T  Tablename
         --lv_A  Reference table name
         --lv_B  Reference Field Name
    FORM sub_prepare_fieldcatalog using value(lv_f)
                                        value(lv_d)
                                      value(lv_t)
                                        value(lv_l)
                                        value(lv_a)
                                         value(lv_b)
                                         changing pt_fieldcat TYPE  slis_t_fieldcat_alv.
    DATA:  gs_fieldcat TYPE slis_fieldcat_alv.
      gs_fieldcat-fieldname = lv_f.
      gs_fieldcat-seltext_m = lv_d.
       gs_fieldcat-tabname   = lv_t.
      gs_fieldcat-outputlen = lv_l.
      gs_fieldcat-ref_tabname    = lv_a.
      gs_fieldcat-ref_fieldname = lv_b.
      APPEND gs_fieldcat TO Pt_fieldcat.
      CLEAR gs_fieldcat.
    ENDFORM.                    "sub_prepare_fieldcatalog
    *&      Form  sub_build_alv_events
    FORM sub_build_alv_events CHANGING PT_EVENTS TYPE slis_t_event.
      DATA: ls_index TYPE sy-tabix,
      GS_EVENTS TYPE  slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = Pt_events[]
        EXCEPTIONS
          list_type_wrong = 0
          OTHERS          = 0.
      READ TABLE Pt_events
            INTO gs_events
            WITH KEY name = slis_ev_top_of_page
      IF sy-subrc = 0.
        ls_index = sy-tabix.
        gs_events-form    = c_ev_top_of_page.
        MODIFY Pt_events FROM gs_events INDEX ls_index.
      ENDIF.
      CLEAR gs_events.
    ENDFORM.                    " sub_build_alv_events
    *&      Form  sub_comment_build
          text: print select options in the output
    FORM sub_comment_build tables p_kunnr structure JITO_KUNNR_RANGE
    changing gt_top_of_page type slis_t_listheader.
      DATA: ls_line TYPE slis_listheader,
            lv_Low(10) type c,
            lv_high(10) type c.
      lv_low = p_kunnr-low.
      lv_high = p_kunnr-high.
      CLEAR: ls_line.
      ls_line-typ  = 'H'.
      ls_line-info = 'Customer Details'.
      APPEND ls_line TO gt_top_of_page.
      IF NOT lv_low IS INITIAL AND NOT lv_high IS INITIAL.
        CLEAR: ls_line.
        ls_line-typ  = 'S'.
        ls_line-key  = 'Customer No'.   "TEXT DESCRIPTION
        CONCATENATE lv_low 'to' lv_high INTO ls_line-info
        SEPARATED BY space.
        APPEND ls_line TO gt_top_of_page.
    elseif  lv_low is initial and lv_high is initial.
        CLEAR: ls_line.
        ls_line-typ  = 'S'.
        ls_line-key  = 'Customer No'.
        ls_line-info = 'ALL Values'.
        APPEND ls_line TO gt_top_of_page.
      ELSEIF lv_high IS INITIAL.
        CLEAR: ls_line.
        ls_line-typ  = 'S'.
        ls_line-key  = 'Customer No'.
        ls_line-info = lv_low.
        APPEND ls_line TO gt_top_of_page.
      ENDIF.
    endform.
    form SUB_EVENT_TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = gt_list_top_of_page.
    ENDFORM.                    "sub_comment_build
    **&      Form  sub_display
        ALV Grid Display
    Form sub_display using pv_repid type sy-repid
            pt_fieldcat TYPE slis_t_fieldcat_alv
              pt_events type slis_t_event
             pt_kna1 type TT_kna1.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = pv_repid
          it_fieldcat        = Pt_fieldcat
          it_events          = Pt_events[]
        TABLES
          t_outtab           = Pt_kna1
        EXCEPTIONS
          program_error      = 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.                                      "sub_display

    Hello shakir,
    You can refer to the code below:
    TYPE-POOLS : slis.
    * internal table declaration
    Data:i_fieldcat TYPE STANDARD TABLE OF slis_fieldcat_alv,
          top_header TYPE slis_t_listheader.  "Table to store The Values of Top-Of-Page Parameter for ALV  
    * work area declaration
    Data: wa_top_header TYPE slis_listheader,
            wa_fieldcat   TYPE slis_fieldcat_alv.
    * CONSTANTS
    CONSTANTS: c_h    TYPE slis_listheader VALUE 'H',
                         c_s    TYPE slis_listheader VALUE 'S'.
    ********* calling a subroutine to display the fields ********************
        PERFORM zalv_display.
    ********* function module to display the report in Grid format ***********
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program     = sy-repid
            i_callback_top_of_page = 'TOP_OF_PAGE'
            it_fieldcat            = i_fieldcat
          TABLES
            t_outtab               = i_final
          EXCEPTIONS
            program_error          = 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.
    *&      Form  zalv_display
    *       Subroutine To display the fields in grid format
    FORM zalv_display .
      PERFORM zalv_grid_disp USING '1'  'CHARG'      'I_FINAL'    'Shotton coil id'.
      PERFORM zalv_grid_disp USING '2'  'MATNR'      'I_FINAL'    'Material number'.
      PERFORM zalv_grid_disp USING '3'  'BESTQ'      'I_FINAL'    'Stock Status'.
      PERFORM zalv_grid_disp USING '4'  'AUFNR'      'I_FINAL'    'PROCESS ORDER NUMBER'.
      PERFORM zalv_grid_disp USING '5'  'KDAUF'      'I_FINAL'    'SALES ORDER NUM'.
      PERFORM zalv_grid_disp USING '6'  'GESME'      'I_FINAL'    'Coil Weight'.
      PERFORM zalv_grid_disp USING '7'  'WDATU'      'I_FINAL'    'Date of coil receipt'.
      PERFORM zalv_grid_disp USING '8'  'LGTYP'      'I_FINAL'    'Storage Type'.
      PERFORM zalv_grid_disp USING '9'  'LGPLA'      'I_FINAL'    'Storage Bin'.
      PERFORM zalv_grid_disp USING '10' 'COIL_STAT'  'I_FINAL'    'COIL STATUS'.
      PERFORM zalv_grid_disp USING '11' 'MAKTX'      'I_FINAL'    'MATERIAL DESP'.
    ENDFORM.                    " zalv_display
    *&      Form  zalv_grid_disp
    *       text
    *      -->P_0691   column position
    *      -->P_0692   field name
    *      -->P_0693   table name
    *      -->P_0694   field text
    FORM zalv_grid_disp  USING    value(col_pos)     TYPE n
                                  value(field_name)  TYPE c
                                  value(tab_name)    TYPE c
                                  value(sel_text)    TYPE c.
      wa_fieldcat-col_pos = col_pos.
      wa_fieldcat-fieldname = field_name.
      wa_fieldcat-tabname = tab_name.
      wa_fieldcat-seltext_l = sel_text.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " zalv_grid_disp
    *&      Form  top_of_page
    *       module to display Header Information
    FORM top_of_page.
    ************************     HEADER     ********************************
      wa_top_header-typ = c_h.
      CONCATENATE 'CONCESSION'
                  'COIL'
                  'REPORT'
                  INTO wa_top_header-info
                  SEPARATED BY space.
      APPEND wa_top_header TO top_header.
      CLEAR wa_top_header.
      wa_top_header-typ  = c_s.
      wa_top_header-key  = 'Date:'.
      WRITE sy-datum TO wa_top_header-info.
      APPEND wa_top_header TO top_header.
      CLEAR wa_top_header.
      wa_top_header-typ  = c_s.
      wa_top_header-key  = 'User Name:'.
      WRITE sy-uname TO wa_top_header-info.
      APPEND wa_top_header TO top_header.
      CLEAR wa_top_header.
    *  wa_top_header-typ  = c_s.
    *  wa_top_header-key  = 'No.Of Records :'.
    *  WRITE sy-dbcnt TO wa_top_header-info.
    *  APPEND wa_top_header TO top_header.
    *  CLEAR wa_top_header.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = top_header.
    ENDFORM.                    "top_of_page

  • Processing code and Function Module  for IDOC

    hi forum,
    i m trying to make a file to IDOC scenario,
    the IDOC is being sent to a R/3 system,
    for the purpose, in R/3 i need to make a inbound processing code, can u tell me how to make a processing code and link it with a Function Module.......
    can u guide me....

    sudheer,
    If you are using standard idoc then you do not need to create new processing code.
    There would be standard processing code available. You need to set input partner profile with processing code.
    Let us know which idoc type you are using for inbound posting.
    Anyway..TC for Creating  processing code is : WE41(Outbound)  and WE42 (Inbound)
    Nilesh

  • Process code's function module required for the IDOC Message type PROACT

    Hi,
    I am trying to trigger an IDOC from ME32K transaction which will carry my Contract agreement details to XI. The IDOC I am using for this purpose is PROACT.PROACT01. But I couldn't find the outbound process code / Function module for the process code associated to this IDOC message type.
    Pls help me out....
    Thanks,
    Ram Kalyan

    I checked table EDIFCT for the message type and found this:
    Function module            Function type    Basic type                                      Message Type
    IDOC_INPUT_PROACT          F               PROACT01                                       PROACT
    Oops...I think you are looking for outbound..Ignore

  • Process code for Function Module IDOC_INPUT_MBGMCR

    hello!!
    here i m tryin to create n inbound idoc
    idoc type - MBGMCR02
    Function Module - IDOC_INPUT_MBGMCR
    but i dont knw the process code for dat can ny 1 help me to find it?
    1st of all how to find da process code if u hav the FM ?
    it wld b more helpful if ny1 cld give me the process code
    thank u
    ashwinee

    hai
    if u dont have process code r cant able to find process code,
    u create process code its very easy. 
      for inbound, go to
       TX-WE42.
      click create give ur process code and give that function module.
      in processing type,
               u check the radiobutton as processing by function module and save it.
    then, u can use this process code in our partner profile .
    any doubt regarding this u can ask me.
    Message was edited by:
            tamilarasan kandasamy

Maybe you are looking for

  • Refreshing the Content on a JSP page

    Hi, I am developing an application where a JSP page (index.jsp) is displaying some data from the database. There is an HTML form on the JSP page too. When the user fills in the data and clicks submit, he is redirected to a servlet (via form's action)

  • Multiple applications not showing up in "Application Support" folder. Help?

    In my "Library" folder there is an "Application Support" folder. And I had alot of applications in there. All of the information and things of ALL my applications was saved in there. After I updated to OSX Lion there are only a FEW applications liste

  • Oracle Database Standard Edition One

    I have several Microsoft Access databases (ugh) that thankfully will be shelved to be replaced with Oracle products. I plan on getting Oracle Database SE One because that best fits my #users/#processors. In shopping for the best products to fit my ne

  • Version in LTP

    Dear Expert, While creating LTP scenario what is the exact use of version and version to be replaced. Regards, Sunil

  • Oh NO!! CRACKED SCREEN-WHAT TO DO????

    Ok, so I have had my Ipod nano for about two months, and last night it was in my pocket and I pulled it out and I saw my screen appeared to be cracked. I hadn't done anything unusual or harsh to it; what can I do?