Debugging scenarios for practice

hiee folks,,
Please provide any links or documents which demonstrates run time debugging scenarios..
thanks,
darshan panchal.

Hi,
copy and paste this below simple program
*Type pools for alv
TYPE-POOLS : slis.
*structure for t582a tbale
TYPES : BEGIN OF ty_table,
        infty TYPE infty,
        pnnnn TYPE pnnnn_d,
        zrmkz TYPE dzrmkz,
        zeitb TYPE dzeitb,
        dname TYPE dianm,
         davo TYPE davo,
        davoe TYPE davoe,
        END OF ty_table.
*Structure for infotype text
TYPES : BEGIN OF ty_itext,
        infty TYPE infty,
        itext TYPE intxt,
        sprsl TYPE sprsl,
        END OF ty_itext.
*Structure for output display
TYPES : BEGIN OF ty_output,
        infty TYPE infty,
        itext TYPE intxt,
        pnnnn TYPE pnnnn_d,
        zrmkz TYPE dzrmkz,
        zeitb TYPE dzeitb,
        dname TYPE dianm,
        davo TYPE davo,
        davoe TYPE davoe,
       END OF ty_output.
*internal table and work area declarations
DATA : it_table TYPE STANDARD TABLE OF ty_table INITIAL SIZE 0,
       it_output TYPE STANDARD TABLE OF ty_output INITIAL SIZE 0,
       it_pbo TYPE STANDARD TABLE OF ty_output INITIAL SIZE 0,
       it_ittext TYPE STANDARD TABLE OF ty_itext INITIAL SIZE 0,
       wa_table TYPE ty_table,
       wa_output TYPE ty_output,
       wa_ittext TYPE ty_itext.
*Data declarations for dropdown lists for f4
DATA: it_dropdown TYPE lvc_t_drop,
      ty_dropdown TYPE lvc_s_drop,
*data declaration for refreshing of alv
      stable TYPE lvc_s_stbl.
*Global variable declaration
DATA: gstring TYPE c.
*Data declarations for ALV
DATA: c_ccont TYPE REF TO cl_gui_custom_container,         "Custom container object
      c_alvgd         TYPE REF TO cl_gui_alv_grid,         "ALV grid object
      it_fcat            TYPE lvc_t_fcat,                  "Field catalogue
      it_layout          TYPE lvc_s_layo.                  "Layout
*ok code declaration
DATA:
  ok_code       TYPE ui_func.
*initialization event
INITIALIZATION.
*start of selection event
START-OF-SELECTION.
*select the infotypes maintained
  SELECT infty
          pnnnn
          zrmkz
          zeitb
          dname
          davo
          davoe
          FROM t582a UP TO 10 ROWS
          INTO CORRESPONDING FIELDS OF TABLE it_table.
* *Select the infotype texts
  IF it_table[] IS NOT INITIAL.
    SELECT itext
             infty
             sprsl
             FROM t582s
             INTO CORRESPONDING FIELDS OF TABLE it_ittext
             FOR ALL ENTRIES IN it_table
             WHERE infty = it_table-infty
             AND sprsl = 'E'.
  ENDIF.
*Apppending the data to the internal table of ALV output
  LOOP AT it_table INTO wa_table.
    wa_output-infty = wa_table-infty.
    wa_output-pnnnn = wa_table-pnnnn.
    wa_output-zrmkz = wa_table-zrmkz.
    wa_output-zeitb = wa_table-zeitb.
    wa_output-dname = wa_table-dname.
    wa_output-davo = wa_table-davo.
    wa_output-davoe = wa_table-davoe.
* For texts
    READ TABLE it_ittext INTO wa_ittext WITH KEY infty = wa_table-infty.
    wa_output-itext = wa_ittext-itext.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
  ENDLOOP.
* Calling the ALV screen with custom container
  CALL SCREEN 0600.
*On this statement double click  it takes you to the screen painter SE51.
*Enter the attributes
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
* PBO of the actual screen ,
* Here we can give a title and customized menus
*create 2 buttons with function code 'SAVE' and 'EXIT'.
* GIVE A SUITABLE TITLE
*&      Module  STATUS_0600  OUTPUT
*       text
MODULE status_0600 OUTPUT.
  SET PF-STATUS 'DISP'.
  SET TITLEBAR 'ALVF4'.
ENDMODULE.                 " STATUS_0600  OUTPUT
* calling the PBO module ALV_GRID.
*&      Module  PBO  OUTPUT
*       text
MODULE pbo OUTPUT.
*Creating objects of the container
  CREATE OBJECT c_ccont
       EXPORTING
          container_name = 'CCONT'.
*  create object for alv grid
  create object c_alvgd
  exporting
  i_parent = c_ccont.
*  SET field for ALV
  PERFORM alv_build_fieldcat.
* Set ALV attributes FOR LAYOUT
  PERFORM alv_report_layout.
  CHECK NOT c_alvgd IS INITIAL.
* Call ALV GRID
  CALL METHOD c_alvgd->set_table_for_first_display
    EXPORTING
      is_layout                     = it_layout
      i_save                        = 'A'
    CHANGING
      it_outtab                     = it_output
      it_fieldcatalog               = it_fcat
    EXCEPTIONS
      invalid_parameter_combination = 1
      program_error                 = 2
      too_many_lines                = 3
      OTHERS                        = 4.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
ENDMODULE.                 " PBO  OUTPUT
*&      Form  alv_build_fieldcat
*       text
*      <--P_IT_FCAT  text
*subroutine to build fieldcat
FORM alv_build_fieldcat.
  DATA lv_fldcat TYPE lvc_s_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '1'.
  lv_fldcat-fieldname = 'INFTY'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 8.
  lv_fldcat-scrtext_m = 'Infotype'.
  lv_fldcat-icon = 'X'.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '2'.
  lv_fldcat-fieldname = 'PNNNN'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 15.
  lv_fldcat-scrtext_m = 'Structure'.
  lv_fldcat-icon = ''.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '3'.
  lv_fldcat-fieldname = 'ITEXT'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 60.
  lv_fldcat-scrtext_m = 'Description'.
  lv_fldcat-icon = ''.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '5'.
  lv_fldcat-fieldname = 'ZRMKZ'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 1.
  lv_fldcat-scrtext_m = 'PERIOD'.
  lv_fldcat-icon = ''.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '6'.
  lv_fldcat-fieldname = 'ZEITB'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 5.
  lv_fldcat-scrtext_m = 'Time constraint'.
  lv_fldcat-edit = 'X'.
*To avail the existing F4 help these are to
*be given in the field catalogue
  lv_fldcat-f4availabl = 'X'.
  lv_fldcat-ref_table = 'T582A'.
  lv_fldcat-ref_field = 'ZEITB'.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '7'.
  lv_fldcat-fieldname = 'DNAME'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 15.
  lv_fldcat-scrtext_m = 'Dialogmodule'.
  lv_fldcat-icon = ''.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '8'.
  lv_fldcat-fieldname = 'DAVO'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 15.
  lv_fldcat-scrtext_m = 'Start'.
  lv_fldcat-edit = 'X'.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
  lv_fldcat-row_pos   = '1'.
  lv_fldcat-col_pos   = '9'.
  lv_fldcat-fieldname = 'DAVOE'.
  lv_fldcat-tabname   = 'IT_OUTPUT'.
  lv_fldcat-outputlen = 15.
  lv_fldcat-scrtext_m = 'End'.
  lv_fldcat-icon = ''.
  APPEND lv_fldcat TO it_fcat.
  CLEAR lv_fldcat.
*To create drop down for the field 'DAVO'
* with our own f4 help
  ty_dropdown-handle = '1'.
  ty_dropdown-value = ' '.
  APPEND ty_dropdown TO it_dropdown.
  ty_dropdown-handle = '1'.
  ty_dropdown-value = '1'.
  APPEND ty_dropdown TO it_dropdown.
  ty_dropdown-handle = '1'.
  ty_dropdown-value = '2'.
  APPEND ty_dropdown TO it_dropdown.
  ty_dropdown-handle = '1'.
  ty_dropdown-value = '3'.
  APPEND ty_dropdown TO it_dropdown.
  CALL METHOD c_alvgd->set_drop_down_table
    EXPORTING
      it_drop_down = it_dropdown.
  LOOP AT it_fcat INTO lv_fldcat.
    CASE lv_fldcat-fieldname.
** To assign dropdown in the fieldcataogue
      WHEN 'DAVO'.
        lv_fldcat-drdn_hndl = '1'.
        lv_fldcat-outputlen = 15.
        MODIFY it_fcat FROM lv_fldcat.
    ENDCASE.
  ENDLOOP.
ENDFORM.                    " alv_build_fieldcat
*&      Form  alv_report_layout
*       text
*      <--P_IT_LAYOUT  text
*Subroutine for setting alv layout
FORM alv_report_layout.
  it_layout-cwidth_opt = 'X'.
  it_layout-col_opt = 'X'.
  it_layout-zebra = 'X'.
ENDFORM.                    " alv_report_layout
* PAI module of the screen created. In case we use an interactive ALV or
*for additional functionalities we can create OK codes
*and based on the user command we can do the coding.
*&      Module  PAI  INPUT
*       text
MODULE pai INPUT.
*To change the existing values and refresh the grid
*And only values in the dropdown or in the default
*F4 can be given , else no action takes place for the dropdown
*and error is thrown for the default F4 help and font changes to red
*and on still saving, value is not changed
  c_alvgd->check_changed_data( ).
*Based on the user input
*When user clicks 'SAVE;
  CASE ok_code.
    WHEN 'SAVE'.
*A pop up is called to confirm the saving of changed data
      CALL FUNCTION 'POPUP_TO_CONFIRM'
        EXPORTING
          titlebar       = 'SAVING DATA'
          text_question  = 'Continue?'
          icon_button_1  = 'icon_booking_ok'
        IMPORTING
          answer         = gstring
        EXCEPTIONS
          text_not_found = 1
          OTHERS         = 2.
      IF sy-subrc NE 0.
*       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
*When the User clicks 'YES'
      IF ( gstring = '1' ).
        MESSAGE 'Saved' TYPE 'S'.
*Now the changed data is stored in the it_pbo internal table
        it_pbo = it_output.
*Subroutine to display the ALV with changed data.
        PERFORM redisplay.
      ELSE.
*When user clicks NO or Cancel
        MESSAGE 'Not Saved'  TYPE 'S'.
      ENDIF.
**When the user clicks the 'EXIT; he is out
    WHEN 'EXIT'.
      LEAVE PROGRAM.
  ENDCASE.
  CLEAR: ok_code.
ENDMODULE.                 " PAI  INPUT
*&      Form  REDISPLAY
*       text
*  -->  p1        text
*  <--  p2        text
FORM redisplay .
*Cells of the alv are made non editable after entering OK to save
  CALL METHOD c_alvgd->set_ready_for_input
    EXPORTING
      i_ready_for_input = 0.
*Row and column of the alv are refreshed after changing values
  stable-row = 'X'.
  stable-col = 'X'.
*REfreshed ALV display with the changed values
*This ALV is non editable and contains new values
  CALL METHOD c_alvgd->refresh_table_display
    EXPORTING
      is_stable = stable
    EXCEPTIONS
      finished  = 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.                    " REDISPLAY
Execute it and after that, in entry tab, press /h and execute it..
Regards,
Kiran

Similar Messages

  • XI scenarios for practice

    Hi All,
    Guys i am new to XI and know just basics of XI like doing file to file ,file to mail,file to idoc,correlation,etc.But i do not have any real time project experience.I am very keen on learning and trying to get an XI exposure at a deeper level.So can anybody of you guide me,how can i get to know some real time scenarios.If anybody can tell me some of the scenarios they faced in real time or atleast some place where i can search such things,i will b very thankful  :).
    Thanks and Regards,
    Satpreet

    HI
    SAP XI INTRODUCTION
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part I
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part II
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
    http://www.erpgenie.com/sap/netweaver/xi/namingconventions.htm
    http://www.erpgenie.com/sap/netweaver/xi/howto.htm
    http://www.erpgenie.com/sap/netweaver/xi/tips.htm
    http://www.erpgenie.com/sap/netweaver/xi/xiauthorizations.htm
    https://www.sdn.sap.com/irj/sdn/wiki
    Interfacing to XI from Webdynpro
    Understanding message flow in XI
    Ready Reference for XI Developers
    Message Mapping
    Message Mapping Simplified - Part I
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    New functions in the Graphical Mapping Tool XI 3.0 SP13
    File Content Conversion for Multi Hierarchical Structure
    Message Splitting Using the Graphical Mapping Tool
    Number formatting to handle LARGE Numbers
    Optimizing Lookup's in XI
    Minimize memory usage during Message Mapping when replicating an element
    Mapping Context Changes in XI
    /people/jeyakumar.muthu2/blog/2005/12/19/data-mining-using-apriori-algorithm-in-xi-150-part-ii
    /people/jeyakumar.muthu2/blog/2005/11/23/data-mining-using-apriori-algorithm-in-xi-150-part-i
    /people/jeyakumar.muthu2/blog/2005/12/30/data-mining-using-apriori-algorithm-in-xi-150-part-iii
    Java Mapping to handle flat files in SAP XI
    xpath functions in xslt mapping
    "JAVA MAPPING", an alternate way of reading a CSV file
    B2B Mapping Techniques Using the Graphical Mapping Tool
    Duplicating Subtrees and Numbering Them Using the Graphical Mapping Tool
    How to parse "XX/YY/ZZ;AA/BB/CC;11/22/33" in message mapping.
    Introduction to queues in message mapping
    Handling of Mixed Content Element in XI
    The specified item was not found.
    The specified item was not found.
    ValueMapping using the Graphical Mapping Tool
    Accessing Value Mapping defined in Directory using Java functions
    Comparing Performance of Mapping Programs
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Runtime WorkBench Monitoring
    XI CCMS Alert Monitoring : Overview and Features
    The specified item was not found.
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm
    The specified item was not found.
    The specified item was not found.
    The specified item was not found.
    The specified item was not found.
    XI :  How to Re-Process failed XI Messages Automatically
    BPM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&
    Walkthrough with BPM
    Reconciliation of Messages in BPM
    RFC Scenario using BPM --Starter Kit
    The specified item was not found.
    Schedule Your BPM
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Sync/Async scenarios without BPM
    Sync/Async communication in JMS adapter without BPM (SP19)
    IDOCs (Multiple Types) Collection in BPM
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    File to File Scenario
    Step by Step Guide: XML File 2 XML File Scenario: Part I
    Step by Step Guide: XML File 2 XML File Scenario: Part II
    Converting XML to PDF using XI
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    "JAVA MAPPING", an alternate way of reading a CSV file
    Dynamic File Name using XI 3.0 SP12 Part - I
    Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II
    Push Data to MVC Architectured application using XI
    How to send any data (even binary) through XI, without using the Integration Repository
    XI in the role of a FTP
    The specified item was not found.
    The specified item was not found.
    The specified item was not found.
    The specified item was not found.
    IDOC Scenario
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    Troubleshooting  File-to-IDOC Scenario in XI.
    Convert any flat file to any Idoc-Java Mapping
    IDOCs (Multiple Types) Collection in BPM
    Outbound Idoc's - Work around using "Party"?
    Troubleshooting  File-to-IDOC Scenario in XI.
    RFC Scenario
    Exposing BAPI as Web Services through SAP XI
    RFC Scenario using BPM --Starter Kit
    The specified item was not found.
    The specified item was not found.
    HTTP to RFC - A Starter Kit
    Welcome to XI, but before posting queries please refer to the earlier blogs/ forms for materials,
    refer these links and blog in it to gain knowledge of SAP XI.
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part II
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part I
    What is XI?
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    What is IR and ID?
    http://help.sap.com/saphelp_nw04/helpdata/en/61/fec608bc27654daadb20c1e6da7dd1/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/64663c7a6c2545ae292fb26d8c33c4/content.htm
    Runtime
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/278a8363b5ac4483dc1efc382e51df/content.htm
    Good Blog for new to XI:
    New to XI?
    XI u2013Starter
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    SAP XI - Where to Find Information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/sap%20xi%20-%20where%20to%20find%20information.pdf
    All the information you need in XI :
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    Understand the Architecture of XI
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    You can also go through the url for Elearning :
    https://www.sdn.sap.com/sdn/elearning.sdn
    https://www.sdn.sap.com/irj/sdn/sdnpilot/elearning
    Following is the link for 'how to guides', A step by step guide to create scenarios:
    https://websmp201.sap-ag.de/nw-howtoguides
    Configuration of Adapters
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    One of the most powerful feature of XI, Business Process Management:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm
    How the messages are delivered through XI:
    http://help.sap.com/saphelp_nw04/helpdata/en/17/50d440e14f8431e10000000a1550b0/frameset.htm
    Few blogs:
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    Introduction to IDoc-XI-File scenario and complete walk through for starters. - IDoc to File
    ABAP Proxies in XI(Client Proxy) - ABAP Proxy to File
    FILE to JDBC Adapter using SAP XI 3.0 - File to JDBC
    File to R/3 via ABAP Proxy - File to ABAP Proxy
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1) - File to File Part 1
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2) - File to File Part 2
    Convert any flat file to any Idoc-Java Mapping - Any flat file to any Idoc
    RFC Scenario using BPM --Starter Kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
    Dynamic File Name using XI 3.0 SP12 Part - I - Dynamic File Name Part 1
    Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II - Dynamic File Name Part 2
    The specified item was not found. - Dynamic Mail Address
    Understanding message flow in XI - Message Flow in XI
    Walkthrough with BPM - Walk through BPM
    Schedule Your BPM - Schedule BPM
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    The specified item was not found. - Maintain RFC destination centrally
    Triggering e-Mails to Shared folders of SAP IS-U - Triggering Email from folder
    Outbound Idoc's - Work around using "Party"? - Handling different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
    The specified item was not found. - Testing of integration process
    The specified item was not found. - Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
    The specified item was not found. - Alert Configuration
    The specified item was not found. - Trouble shoot alert config
    Executing Unix shell script using Operating System Command in XI - Call UNIX Shell Script
    Overview of Transition from Dev to QA in XI - Transport in XI
    Using ABAP XSLT Extensions for XI Mapping - Using ABAP XSLT Extensions for XI Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
    IDOCs (Multiple Types) Collection in BPM - Collection of IDoc to Single File
    XI : Controlling access to Sensitive Interfaces - Controlling access to Sensitive Interfaces
    The specified item was not found. - The same filename from a sender to a receiver file adapter - SP14
    Payload Based Message Search in XI30 using Trex Engine - Payload Based Message Search in XI30 using Trex Engine
    XI : Configuring CCMS Monitoring for XI- Part I - XI : Configuring CCMS Monitoring for XI- Part I
    The specified item was not found. - XI: HTML e-mails from the receiver mail adapter
    XI : FAQ's Provided by SAP (Updated) - XI : FAQ's Provided by SAP
    XI has following components:
    1) Design and Configuration time components http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    2) Mappings
    3) Adapters
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    4) CCBPM
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    5) Central monitoring
    http://help.sap.com/saphelp_nw04/helpdata/en/7c/14b5765255e345a9e3f044f1e9bbbf/frameset.htm
    Refer all the below links for starter:
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    /thread/143337 [original link is broken]
    XI for starters
    Help in XI
    Hi all, I am learning xi, any body have lifecycle document of xi projec
    Regarding XI installation and Learning
    1. Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part I Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part I
    2. Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part II Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part II
    3. Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
    https://www.sdn.sap.com/irj/sdn/xi-elearning
    cheers

  • Any Scenarios for Reporting

    Hai friends,
       I'm new to this BI... now i want some scenarios for practicing   the tasks..
    so , could you plz send  some scenarios .. that  will  cover  maximam tasks.. that means Reporting and Modeling.
    thanks in advance
    with regards
    @jay

    Hi,
    1) SAP BW A step by step Guide.
    2) Mastering BW
    3) SAP Materials e.g TAB10, TAB20...
    As an ABAPer you might be knowing very well...Ultimate knowledge base is ...
    http://help.sap.com/saphelp_nw04s/helpdata/en/a8/48c0417951d117e10000000a155106/frameset.htm
    So .... go ...on ...happy learning
    Thanks,
    Shankar

  • Test scenario for Physical Standby

    Dear Team,
    Could you please share the Test scenario for Physical Standby.
    1. Read only.
    2. Switch Over
    3. Fail Over.
    Many Thanks in Advance
    Arjun.

    You didnt mention the version.
    Oracle10g Release 2, Data Guard Switchover and Failover best practices
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_SwitchoverFailoverBestPractices.pdfOracle9i, Data Guard Switchover & Failover best practices
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_9iSwitchoveFailoverBestPractices.pdfKhurram

  • Scenarios for routines

    Hi,
        can any one send scenarios for writing routines in TR and in UR amd xplain of hoe to write the routines.
    points will be rewarded for your replies.

    Hi,
    Start Routine
    Start routines are executed prior to applying the other transfer rules. They have access
    to all the records in the data package (not the extracted data set!). The most practical
    use of start routines is to preload tables into memory for efficient nontrivial table
    lookups or to apply complex record filters to the data package. However, you must
    take care not break the memory limits of the application server, especially having in
    mind that multiple data packages executed at the same time will each require the same
    amount of memory.
    InfoObject Transfer Routines
    InfoObject transfer routines are transfer routines directly tied to an InfoObject. In whatever set of transfer rules this InfoObject is used, the specified routine will be executed.
    InfoObject transfer routines are used to warrant consistent systemwide transformations
    for a specific InfoObject. They are maintained in the InfoObject maintenance
    transaction .
    Page 287/288
    Source: Mastering the SAP Business InformationWarehouse
    Update Rules
    Having applied the transformation rules, SAP BW is now ready to apply applicationspecific
    transformations in the update rules that are independent of the source system.
    The logic behind the update rules is more complex than the one behind the transfer
    rules: Data integration transformations are still supported, but the main focus is on
    application logic transformations such as normalization, denormalization, and aggregation.
    Analogous to the transfer rules, we present a highly simplified update rules
    algorithm at the end of this section. To understand the following discussion you just
    need to know that the update rules handle key figures (data fields) and characteristics
    (key fields) differently when updating InfoCubes (ODS objects, master data tables):
    Every characteristic (key field) update rule is executed for each of the key figures (data
    fields) of the InfoCube (ODS object, master data table). Each of the key figure (data
    field) update rules generates an in-memory result record with all characteristics (key
    fields) values and the key figure (data field) value filled.
    Start Routine
    Start routines, in update rules are essentially the same as in transfer rules.
    Page 300
    Source: Mastering the SAP Business InformationWarehouse
    Refer.
    How To… Routines within Transformations
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6090a621-c170-2910-c1ab-d9203321ee19
    Thanks,
    JituK

  • Sample scenarios for proxies

    hi
      can any one provide me with sample scenarios for
    abap proxies ,both inbound and out bound
    regards
    ram

    Hi,
    ABAP client proxy
    ABAP Proxies in XI(Client Proxy)
    ABAP server proxy
    ABAP Server Proxies
    Proxy generation
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/d4c23b95c8466ce10000000a114084/content.htm
    Debug Proxy
    XI: Debug your inbound ABAP Proxy implementation
    Monitor the processed msgs
    Monitoring for Processed XML messages in ABAP Proxy

  • How to use pre-defined scenarios for RosettaNet with XI 3.0

    Hi all.
       I am working in Comgroup Shanghai co. ltd. which is partner of SAP China.
       We have a potential customer who use RosettaNet as their Supply Chain EDI system.
       I would like to make a demo for demostrate the pre-defined scenarios for RosettaNet RNIF 2.0 packages.
       Where can I find such guideline ? I have checked the article: implementing RosettaNet with XI 3.0, but it cannot help me.
       Another question is how I can develop my own scenarios for the RNIF standards which are not included in XI RosettaNet business package ?

    Hi Andy,
    See the instructions below after you installed the RosettaNet STK.
    Below given is the sample config for PIP3B2 Scenario. Part I is using STK and Part II is using 2 XI systems.
    <b>Part I. Test Using STK</b>
    In your XI ID:
    1) Define both the parties 1) Shipper(Your Partner) 2) Receiver(Your company) with identifiers like DUNS Number.
    2) In ID goto>Tools>Transfer Integration Scenarios from IR-->select the scenario "PIP3B2_Receiver" from the drop down list.
    3) Follow the 4 steps in the config wizard.
    4) While creating your CC, create it from the channel template delivered with the RosettaNet BP.
       4.1) Specify the URL for STK which should be in the following format
    http://<STK Server>:<port>/rosettanet/servlet/listenerServlet?userId=<Party Name>
       4.2)In the location fields, enter your location and your partner location.
    In your STK
    1) Start the RosettaNet STK.
    2) enter the UserID<Partner Name in XI>
    3) Select the Test Scenario, 3B2V01.01-AdvanceShipmentNotification-0001-Scenario-Shipper
    4) Enter Global Business ID(DUNS Number) and Location ID for both the partners. These fields should be same as in your R/3 Party configuration.
    5) Enter the URL as follows:
    http://<XI Server:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    If everything is configured correctly as mentioned, you should be able to test your single-action scenario.
    <b>Part II Test using another XI System</b>
    For these follow the steps above for XI Config.
    Configure one XI System as PIP3B2 Shipper using the Scenario "PIP3B2_Shipper" and config wizard as mentioned above.
    Configure the other XI as PIP3B2 Receiver using the scenario "PIP3B2_Receiver" and config wizard.
    In the Url field, specify the URL as follows:
    http://<XI host>:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    Hope this helps.
    Regards,
    Sam Raju

  • Business scenarios for daily, weekly and nightly loads!!

    Can any body tell some Business scenarios for daily, weekly and nightly loads where we monitor the loads in Production support.
    Regards
    srikanth.ch

    Hi,
    It all depends on your business needs. In general on daily basis you will load the SD and MM which will cover all the stock and sales done for day. Generally most of the clients use Lo Cockpit extraction for both the modules. FI chains will run on month end for example the AP(Accounts Payable),AR(Accounts Receivable) chains will be run on the month end.
    Some SD datasources : 2lis_13_vdhdr, 2lis_13_vditm, 2lis_13_vdkon - all these to pull billing related data
    Some MM Datasource : 2lis_03_bx and 2lis_03_bf.
    Regards,
    Harish Raju

  • Typical business case scenarios for SharePoint 2013 Apps

    What are the typical real time business case scenario for 1. SharePoint Hosted apps 2. Auto Hosted apps 3. provider hosted Apps? Why people choose any of this model apps model in comparison to typical On-Premise solution? 
    Another question comes is when should one go for On-Premise solution rather than Apps? What are real time scenarios?

    Let's discuss first whether to develop apps or full trust solution.
    Talking about technical aspect, On-Premise solution is popular choice for organizations who have SharePoint hosted on premise (not SharePoint Online). However, if you are using SharePoint Online, there's no choice except Apps (and possibly sandbox but deprecated).
    So for SharePoint Online only viable solution is developing apps. However for on-premise you can develop full trust or apps. However since apps requires a bit more configuration and not yet full feature set as you can do with full trust, most people are still
    developing full trust solution on premise.
    Talking about business requirement at hand, you can develop apps (even in on-premise), if your requirement is really looks like an app. For example, you would like to develop a SharePoint solution, that will show data from SAP inside SharePoint. The solution
    mostly nothing to do with SharePoint but calling SAP services to perform stuffs. So you can develop an apps and deploy inside SharePoint. Another example is import CSV files in SharePoint list, you can write an apps. But mostly I think you need to decide whether
    to develop apps depends on the Apps API ability. The API is still very limited in features/functionalities. So even if your requirement looks like apps you can't develop apps if the current SharePoint Apps API doesn't support the functionality. 
    Now let's talk about which apps model you would like to use SharePoint Hosted apps means everything hosted inside SharePoint and no other external infrastructure is required. One example is the CSV file upload apps. However, with SharePoint hosted apps,
    you can't use C# rather you just have javascript to develop the apps. There's rumours that auto hosted apps will be deprecated not sure but there's not more conceptual difference apart from where the apps is hosted (both hosted outside SharePoint). Provider/auto-hosted
    apps will be running outside SharePoint (i.e., in IIS web site), and communicate to SharePoint through REST or client object model. One provider hosted apps in the office app market is adlib pdf conversion. The apps allows you to select multiple files and
    covert them to pdf file. Basically the conversion site is hosted somewhere outside (in the provider's infrastructure). When you select all the files and click 'convert' from ribbon user is redirected to the provider site (different url) and the files are merged
    and converted to pdf. Since it's outside of sharepoint, you can use any development language (C#, java, php etc.). The provider hosted app talks to sharepoint through REST or client object model.
    So in summary, sharepoint hosted app has less complexity as it doesn't require another infrastructure and runs inside sharepoint. However you are limited to use only javascript to develop your apps. On the other hand with provider hosted apps, you can use
    any development language but you need to consider extra level of security/complexity to integrate the app with sharepoint.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    Thanks for this nice reply. Plz clarify if only Auto hosted apps will be deprecated or provider hosted apps also may be deprecated by MS?

  • System and landscape estiamte for SCM on Hana for Practice use

    Hi All ,
    We want to know the System and landscape estiamte for SCM on Hana for Practice use.
    Regards,
    Abhishek

    Hi,
    Perhaps this link could help
    http://wiki.sdn.sap.com/wiki/display/SMSETUP/MaintenanceofProductintheSystemLandscape
    Also check out the note :
    For SCM Add-On Products like SAP SNC, SAP EM, SAP F&R the basis component (SAP Netweaver Release) has to be also assigned as relevant Product Instance
    Might be helpful, if you check the product versions being reported for the system in the SLD.
    Regards,
    Srikishan

  • Complicated Free goods scenario for Beverage

    Hi
    These are scenario for F&B business - mostly they have complicated promotion on free gifts which I think SAP standard cannot cover it. If any of you has the similar cases, please share how you handle it, thanks.
    1. Buy soda water size 10 oz regardless of soda taste for 1 pack (1 pack consist of 24 bottles) then get 1 bottle free.
    2. Buy soda water size 10 oz regardless of soda taste for 1 pack, then get 1 bottle free - maximum at 2 sets.
    3. Buy soda water either size 10 oz or 15 oz for 1 pack, get 1 bottle of 10 oz free
    4. Buy soda water regardless of soda taste as set i.e. for every 36 packs of combine size 10 oz, 15 oz and 1 lt - get free items of 10 oz/15 oz for 2 bottles per pack and free item of 1lt for 1 bottle per pack
    5. Similar to 4 with additional condition that 1 soda taste must be more than 50%  - for example, it must be coke at least 50%
    6. Sales quota - Buy 1 pack, get 1 bottle free - maximum 100 bottles for each customer
    Please kindly share your experience or ideas. Thank you
    Chanchana

    HI Chanchana,
    I had a similar problem while configuring Free goods in Ceramic Industry(Sanitaryware division).
    For Eg: In the case of wash-basins, basins of different colors are defined as different materials, an the requirement was to
    2 Black & 2 red = 1 tap free
    or
    1 red, 1 white & 1 black = 2 taps free.
    We did a lot of R&D considering std SAP free goods scenario, out of which I can conclude the following:
    1) Std SAP allows only 1 + 1(Same material, inclusive) or 1 + 1(different material, exclusive) to be configured as free goods.
    In your case if the main material and the free goods are defined as two different materials and there is no 3rd material coming into picture only then free goods config will work.
    For Eg: For 10qty Material A, 1 qty of material A free - possible
                For 10qty of material A, 1qty of material B free - possible
                For 10qty of Material A, 5 qty of Material B, 1qty of Material C free- not possible in std SAP.
    You can convince this to your client, but if they still insist on having the same, you will have to develop a custom 'Z' application which will control the same. However, the same might turn out to be very complex, since pricing, COGS of the free material has to be taken care of along with a lot of other factors. Also the delivery and billing has to go through std SAP, mapping of which will be complex again.
    All the best.
    Regards,
    Amit
    Edited by: Amit Iyer on Sep 20, 2010 10:17 AM

  • Logic to retrieve batch number in batch split scenario for a material

    Hi All!
    LIPS-CHARG gives the batch number for a material in normal scenario.But in batch split scenario for a material what should be the logic to retrieve the field batch number based on POSNR,VBELN and UECHA in LIPS.
    UECHA corresponds to higher level item of a batch.
    I had been given the following logic to do the same but it is not pulling any values inspite of a batch split available for the material.The logic is
    Select lips-charg (batch number) where  lips-posnr = lips-uecha ( higher level item batch)
    Please advise
    Regards
    Praneeth

    Hi Praneeth,
    The way LIPS records are in a batch split scenario is that let us say you have a delivery with one line item 00010. Now if this splits into two batch split items, then you will find in LIPS 3 records, one with line item 00010, one with 90001 and another with 90002. Both 90001 and 90002 will have a UECHA of 00010, whereas for 00010, this field will be blank. So the logic is to create two internal tables one where UECHA is blank and another where it is not blank and use it.
    SELECT * FROM LIPS
             INTO TABLE I_LIPS
            WHERE VBELN = P_VBLEN.
    I_LIPS_TEMP[] = I_LIPS[].
    DELETE I_LIPS_TEMP WHERE UECHA IS INITIAL.
    *-- This table will not have only the batch split items not the main items.
    LOOP AT I_LIPS WHERE UECHA IS INITIAL.
    *-- loop at the main items.
      IF I_LIPS-CHARG IS INITIAL.
    *-- batch is not there on the main item, see if it is there on any batch split items.
        READ TABLE I_LIPS_TEMP WITH KEY UECHA = I_LIPS-POSNR.
         do whatever
      ENDIF.
    ..... do whatever
    ENDLOOP.

  • How to Install Oracle Database for practice on Laptop?

    Hi All,
    I am planning to install the Oracle Database and some oracle developer products for practice on my Laptop.
    # Laptop configuration
    > Lenovo IdeaPad Y450 - 41896AU
    > Intel® Core™ 2 Duo T6600 ( 2.20GHz )
    > 4GB RAM, 320GB Hard disk
    > Windows 7 Home Premium 64-bit
    I seeks some help on the doubts regarding this.
    Which version of oracle database will suite/work fine for this laptop configuration and path to download the same?
    Any additional information regarding this installation.regards,
    Shyam.

    Suryawanshi wrote:
    Hi All,
    I am planning to install the Oracle Database and some oracle developer products for practice on my Laptop.
    # Laptop configuration
    Lenovo IdeaPad Y450 - 41896AU
    Intel® Core™ 2 Duo T6600 ( 2.20GHz )
    4GB RAM, 320GB Hard disk
    Windows 7 Home Premium 64-bitI seeks some help on the doubts regarding this.
    Which version of oracle database will suite/work fine for this laptop configuration and path to download the same?
    Any additional information regarding this installation.regards,
    Shyam.As pointed out, Oracle has not certified anything for Windows 7, and will not certify anything for any "home" edition.
    I'd recommend you get a copy of VMPlayer (free, from VMware) and create a couple of virtual machines running Oracle Enterprise Linux (free, from Oracle), then install your Oracle db on the virtual machines.

  • ABAP HR-test scenario for payslip-urgent

    Hi,
    please send me some test scenarios for payslip by which payslip can be affected.
    I have designed a PAyslip with retro and i want to test it.
    eg. retro. means if retro will run then it will affect payslip.
    Also send me some unit test cases in case of any payslip requirement.
    Points will be rewarded.
    Regards
    Monika

    Hi,
    Just give an entry in infotype 8, 14 or 15 for previous month and run the payroll than retro will run, than compare results using wage type reporter.
    When you run the payroll give the sandard SAP Remuneration and compare the results in the SAP payslip and payslip you have developed.
    If you have developed payslip using PE51 than the retro amounts are picked authomatically.
    Regards,
    Ramu N.

  • Unable to use debug mode for x64 application and debug doesn't work when target cpu set to x86

    I am attempting to familiarize myself with Visual Basic programming in Visual Studio 2008, using the Visual Basic Guided Tour in Microsoft Visual Studio 2008 Documentation, and have run into a bit of a road-block.  When following the lesson "It
    Doesn't Work! Finding and Eliminating Run-Time Errors", the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications
    are not allowed".  I found some forum postings advising to set the project's Target CPU from "Any CPU" to "x86".  However, when I do that, and re-execute the debug process, the debug fails to stop on the overflow/divide by
    zero error.
    How can I debug my programs when Any CPU/x64 target doesn't allow me to edit the code, and x86 target doesn't appear to recognize obvious runtime errors.

    Hi Tim,
    >>the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications are not allowed". 
    I'm afraid that the VS2008 has a limitation for this feature, I mean that Edit and Continue isn't supported on 64-bit.
    Reference:
    http://stackoverflow.com/questions/1498464/changes-to-64-bit-applications-are-not-allowed-when-debugging-in-visual-studio
    http://blogs.msdn.com/b/habibh/archive/2009/10/12/how-to-edit-code-when-debugging-a-64-bit-application.aspx
    But this feature has a improvement in VS2013 now:
    http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/26/debugging-support-for-64-bit-edit-and-continue-in-visual-studio-2013.aspx
    So if possible, you could test it in the latest VS2013 version.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • An Unexpected Error while creating a new user...

    Hello everyone.           Recently a customer of ours received an error while creating a new user. I believe the page bombed out on him while he was creating the user and this is the error he received:           ======================================

  • Email PDF with button

    Hi all, I have a form that wroks perfectly in Acrobat but not in Reader. The form has a button that when clicked it locks all the fields & opens up a new email window with the PDF attached to it, this is how it works when used in Acrobat. The problem

  • Patch Release: Berkeley DB Java Edition 4.0.117

    Berkeley DB Java Edition 4.0.117 http://www.oracle.com/us/products/database/berkeley-db/index.html http://www.oracle.com/technetwork/database/berkeleydb/overview/index.html http://www.oracle.com/technetwork/database/berkeleydb/overview/persistence-16

  • Valuation type need to maintain for Subcontracting material FG

    Hi, i have a scenario like plant A is subcontracting SFG  to Plant B and receiving FG to Plant A from Plant B. i have maintain this as V valuation type. when i am doing billing in Plant A for this product i am getting error like no cost estimate foun

  • Retained earnings calculation

    Hi Friends Im very desesperated with a task in the consolidation monitor , the retained earnings have to be calculated in SEM, and am trying to cuztomizing a method, but I cant use selected items the system dont works because are items posting automa