R_ALE_INTERNALORDER_SEND is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program for targeted sending of one or more internal orders (order categories 01 and 02) from the master system to one or more receiver systems using ALE...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter R_ALE_INTERNALORDER_SEND into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
KOA1 - Send Internal Order
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Distribute internal order using ALE
Selection Text: DTARGET = According to ALE Customizing
Selection Text: SELAUART = Order type
Selection Text: SELAUFNR = Order
Selection Text: SELKOKRS = Controlling area
Selection Text: SELVAR = Selection variant
Selection Text: TARGET = Receiver system
Title: Distribute internal order using ALE
Text Symbol: 018 = Errors occurred for the following orders (no processing):
Text Symbol: 017 = Following orders transferred without error to ALE outbound processing:
Text Symbol: 001 = Receiver group determination
Text Symbol: 009 = Order:
Text Symbol: 010 = Receiver system:
Text Symbol: 011 = According to ALE Customizing
Text Symbol: 012 = Number of orders selected:
Text Symbol: 013 = Number of orders triggered for ALE distribution:
Text Symbol: 014 = Number of orders for which ALE distribution is not possible:
Text Symbol: 015 = No orders were selected
Text Symbol: 016 = Log
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_VALUE_REQUEST_AUART CALL FUNCTION 'K_VALUE_REQUEST_AUART' EXPORTING display = ' ' fieldname = 'AUART' tabname = 'T003O' IMPORTING select_value = selauart-low TABLES autyp_tab = t_allowed_autyp.
RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = 'RKOSEL00' IMPORTING sel_variant = selvar.
K_ORDER_SELECT CALL FUNCTION 'K_ORDER_SELECT' EXPORTING i_autyp_erl = '01,02' i_fill_t_aufk = 'X' i_variant = selvar i_send_warning = space IMPORTING e_tabix = counter_orders TABLES t_aufk = t_aufk.
K_ORDER_SELECT CALL FUNCTION 'K_ORDER_SELECT' EXPORTING i_autyp_erl = '01,02' i_fill_t_aufk = 'X' i_send_warning = space IMPORTING e_tabix = counter_orders TABLES t_cosel = t_cosel t_aufk = t_aufk.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
KAUF_ALE_ORDER_DISTRIBUTE CALL FUNCTION 'KAUF_ALE_ORDER_DISTRIBUTE' EXPORTING i_coas = s_coas i_message_handler = 'X' TABLES t_receiver_input = t_receiver_input.
MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS a_message = 4 e_message = 3 i_message = 1 w_message = 2.
MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = t_mesg.
MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = p_arbgb msgnr = p_txtnr IMPORTING message_text_output = pt_mesg_list-text.
MASS_MESSAGE_SHOW_LONGTEXT CALL FUNCTION 'MASS_MESSAGE_SHOW_LONGTEXT' EXPORTING arbgb = pt_mesg_failure-arbgb msgnr = pt_mesg_failure-txtnr msgv1 = pt_mesg_failure-msgv1 msgv2 = pt_mesg_failure-msgv2 msgv3 = pt_mesg_failure-msgv3 msgv4 = pt_mesg_failure-msgv4 EXCEPTIONS not_found = 1.
MASS_MESSAGE_SHOW_LONGTEXT CALL FUNCTION 'MASS_MESSAGE_SHOW_LONGTEXT' EXPORTING arbgb = pt_mesg_success-arbgb msgnr = pt_mesg_success-txtnr msgv1 = pt_mesg_success-msgv1 msgv2 = pt_mesg_success-msgv2 msgv3 = pt_mesg_success-msgv3 msgv4 = pt_mesg_success-msgv4 EXCEPTIONS not_found = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
R_ALE_INTERNALORDER_SEND - Distribute internal order using ALE R_ALE_INTERNALORDER_SEND - Distribute internal order using ALE R_ALE_BUPA_FS_REMREPORTING - Utility Program for BUPA FS AddReporting (Generates IDoc) R_ALE_BUPA_FS_REMREPORTING - Utility Program for BUPA FS AddReporting (Generates IDoc) R_ALE_BUPA_FS_REMOVETREASURY - Utility Program for BUPA FS RemoveTreasury (Generates IDoc) R_ALE_BUPA_FS_REMOVETREASURY - Utility Program for BUPA FS RemoveTreasury (Generates IDoc)