Configuring Message Control and understanding how Message Control works


Understanding How Message Control works:  

Message Control is a three step process:  

  1. Output proposal
  2. Output editing
  3. Output processing  

Output Proposal When an application is created or changed, after saving the application data the communication structure is filled and is passed to the Message control along with the application id and procedure.  

The various outputs defined in the procedure are processed one at a time. The output marked as manual will be processed manually by the user.

The requirement, if specified for an output type is executed to check if the output meets the requirement. If the requirements are met then further checking continues.

If the conditions are not met then the next output type will be processed from the list.  

The short listed output types are checked for the access condition flag. If the flag is not set then the output medium and timing are determined from the customer master data.  

If the access condition flag is set then the processing continues for determining the output medium and timing. For these output types the access sequence associated is access for various business rules and determines which of the business rule is satisfied. The values from the communication structure are checked with the values maintained in the condition tables.  

Output Editing:  

After the output proposal process is completed, the list of proposed outputs displays on the output control screen of an application as shown below.  

To reach he output control screen we can got for Extras ->Output->Edit for sales order or by Goto->Messages for Purchase order.  

The initial status of these outputs will be 0 (Not Processed) which is displayed as yellow light.  

The processed outputs will be displayed as green light.

For EDI, the partner number in the proposed output is validated against the partner profile entry.  

The flow chart below explains the Output proposal procedure.  

Output Processing:  

After the final selection of the output is done and the application document is saved, entries are created in the NAST table with application ID, Application document number, output type, output medium, output timing and Status code.

If the output is not processed the Status code will have values as 0 (Not processed).  

The entries in the NAST table are processed by RSNAST00 program. If the entries whose timing is set to immediately, the program will immediately process those entries. For other entries you will have to schedule the program RSNAST00.

The RSNAST00 program check the TNAPR table for each entries from NAST table and processes the program associated with the output medium in the TNAPR table.

For EDI a Standard routine EDI_PROCESSING exist in RSNASTED program.

The EDI_PROCESSING routine reads the Message control record in the partner profile and determines the process code.

The process code will be having a Function module which will be having the standard interface for its input and output parameters. The function module will read the application document data and will format the data into the idoc format.

The idoc data and the control record from the function modules received through the output parameters will be used by the EDI_PROCESSING program to convert it into physical Idoc.  

The complete Outbound process with Message control is as shown below:


The setting of the Output mode field in the partner profile is read to determine the timing for dispatching the idoc.  

If the mode is set to ‘Transfer Idoc immed.’ then the idoc is immediately passed to the operating system and if the mode is set to ‘Collect Idoc’ then the Idoc is not  immediately passed to the operating system until the RSEOUT00 program is executed explicitly.  

If the flag for ‘Start subsystem’ is set then the subsystem program name is read from port definition and the subsystem program is started.

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image