Step by Step Procedure to Block and Debug a CIF Queue Flowing from R/3 to APO System



Similar documents
Middleware Configuration and Monitoring for Master Data Transfer from SRM to ECC

How to Modify, Create and Delete Table Entries from SE16

Step by Step Guide for Language Translation Tool

SAP CRM-BW Adapter an Overview

Reverse Transport Mechanism in SAP BI

Restricting Search Operators in any Search View

Exposing RFC as Web Service and Consuming Web Service in Interactive Forms in ABAP

Data Flow from LBWQ/SMQ1 to RSA7 in ECC and Delta Extraction in BI

Extractor in R/3 and Delta Queue

ABAP Proxy Interfacing

Quick Viewer: SAP Report Generating Tool

How to Assign Transport Request for Language Translation?

BW Performance Monitoring

Creating Content Using SO10 Objects and Text Symbols

ALE Settings, for Communication between a BW System and an SAP System

ABAP Debugging Tips and Tricks

Workflow Troubleshooting and Monitoring in SAP ECC 6.0

Creating New Unit of Measure in SAP BW

Step by Step Guide How to Copy Flat File from Other Application Server to BI and Load through Info Package

SAP FI - Automatic Payment Program (Configuration and Run)

Direct Subcontracting Process (SAP SD & MM)

Deleting the Requests from the PSA and Change Log Tables in Business Intelligence

Display Options in Transaction SE16

Configuration of Enterprise Services using SICF and SOA Manager

SAP CRM 7.0 E2C Setup: CRM via Toolset

Release Strategy Enhancement in Purchase Order

A Step-by-Step guide on SMTP Configuration and File to Mail Scenario Using Process Integration Scenario in PI 7.1

Transfer of GL Master from Source SAP System to a Target SAP System through IDOCS

Table of Content. SAP Query creation and transport Procedure in ECC6

Web Dynpro ABAP: ALV and Table in Popup Window

SAP CRM Campaign Automation

Create Automatic Mail Notification/ Alert for Process Chain Monitoring

How to Create an ecatt?

Data Collector for SAP Customer Relationship Management (CRM) Status: 12/09/08

Creating Transaction and Screen Variants

SPDD & SPAU Adjustments Handbook

Working with SAP BI 7.0 Data Transfer Process (DTP)

SAP NetWeaver Developer Studio 7.30 Installation Guide

SAP CRM System 6.0/7.0. For more information, visit the Customer Relationship Management homepage

Multi Provider Creation Based on Sales and Planning Info Cubes

Process Controlled Workflow SRM 7.0 (Using BRF)

Creating Web Service from Function Modules/BAPIs & Integrating with SAP Interactive Forms

SAP BI/BW LO Extraction

SAP BW - Excel Pivot Chart and Pivot Table report (Excel)

Embedding Crystal Reports inside ECC ALV Reports

SAP MM: Purchase Requisition with Classification and Workflow Approval

SAP CRM Middleware Configurations

Deleting the User Personalization done on Enterprise Portal

Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0

Table of Contents. Passing Data across Components through Component Controller between Two Value Nodes

Order Split Usage in Production Orders

Step by Step guide of Report-to- Report Interface in BW Reporting

Web Dynpro: Multiple ALV Grids and Layouts in ALV

How to Generate Stack Xml for Ehp4 and Above Upgrade

Step by Step Procedure to Create Broadcasters, to Schedule and to Enhance of SAP- BI Queries from Query Designer

Understanding BW Non Cumulative Concept as Applicable in Inventory Management Data Model

SAP CRM 7.0 for Newbies: (Part 1) Simple BOL Object Creation for CRM Webclient UI

Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW

LSMW: Upload Master Data using Batch Input Recording

Disaster Recovery for SAP APO

Multi Level Purchase Order Release Strategy

Splitting the Custom Container & Display more than one ALV

First step to Understand a Payroll Schema

SAP BW - Generic Datasource Function Module (Multiple Delta Fields)

Standard SAP Configuration of SMS through HTTP with Third Party SMS Gateway

Understanding DSO (DataStore Object) Part 1: Standard DSO

Currency Conversion using Variables in SAP BI -Reporting

Deploying Crystal Reports on Top of a SAP BI Query

Organizational Management- Organizational Structure Creation

How to Get Work Items from Workflow in your Outlook Inbox

Salesforce.com Integration Using SAP PI: A Case Study

Query OLAP Cache Optimization in SAP BW

Creation and Configuration of Business Partners in SAP CRM

Inventory Management (0IC_C03) Part - 3

Guidelines for Effective Data Migration

Understanding BEx Query Designer: Part-2 Structures, Selections and Formulas

Step By Step Procedure to Create Logical File Path and Logical File Name

ABAP How To on SQL Trace Analysis

Step by Step Guide to Archiving and Deleting of XML Messages in SAP NetWeaver PI

How to Develop Programs for SAP Mobile RF

SAP Workflow in Plain English

Forgot or Lock "Administrator or J2EE_ADMIN" Password

Data Extraction and Retraction in BPC-BI

Vendor Consignment. Applies to: Summary. Author Bio. SAP ECC 6.0. For more information, visit the Supply Chain Management homepage.

Salesforce Integration Using PI: How to Perform Query and Other DML Operations Using the Enterprise WSDL

Invoice Collaboration: Self Billing Invoice

Introduction to COPA and COPA Realignment

Sales Commission Calculation & Settlement Handling through Order Processing

Business Scenario Using GP/Web Dynpro with Back and Forth 3 Level Process and Dynamic Approvers in a Loop

How to Load Data from Flat Files into BW PSA

How to Integrate CRM 2007 WebClient UI with SAP NetWeaver Portal

Understanding OLAP Processor and RSRT

SAP BW 7.3: Exploring Semantic Partitioning

Message handling in SAP CRM Web UI

Converting and Exporting Data in XML Format

Tutorial - Creating Pop Up Window Using New Features in WebDynpro Java CE 7.1 Ehp1

Overcoming Testing Challenges in SAP Upgrade Projects

Consuming Services in SOA Manager

Inventory Management in SAP BW

Configuration and Utilization of the OLAP Cache to Improve the Query Response Time

Transcription:

Step by Step Procedure to Block and Debug a CIF Queue Flowing from R/3 to APO System Applies to: SAP R/3 and SAP APO. For more information, visit the ABAP homepage. Summary This article gives a detailed step-by-step procedure to block and analyze a CIF queue which is sent from R/3 system and processed in APO system. By using this technique, CIF queue is blocked in APO system which can then be processed or even debugged using transaction SMQ2 (qrfc monitor of Inbound queue). Author: Ramachandran Venkateswara Babu Company: Infosys Technologies Ltd Created on: 12 May 2011 Author Bio Ramachandran Babu has been working with Infosys as a Technology Lead. Ramachandran has worked in many implementation and development projects in areas including APO. 2011 SAP AG 1

Table of Contents Scenario Explained... 3 Prerequisite... 3 Creation of Outbound CIF from R/3 System with Queue Registered at APO System... 4 Creation of Outbound CIF from R/3 system with Queue Deregistered at APO System... 8 Related Content... 13 Disclaimer and Liability Notice... 14 2011 SAP AG 2

Scenario Explained There are many instances in a project where you want to block a CIF queue and analyze, 1) When you are not able to generate desired result in the APO system (there is no error in the queue though), it is preferable to stop the queue and analyze - which otherwise will directly get processed and post a transaction. 2) When you do not have a clue about - what actually happened when the CIF was processed. Some examples of undesirable results are, Change in demand of a PR in R/3 is not reflected in APO system Change in demand of a PR in R/3 system completely deletes demand in APO system. Note: When there is an error in queue it is automatically blocked at the inbound side of the APO. When there is no error in the queue, but still not producing desirable results, the procedures mentioned below are very handy to over ride the system and carry analysis. Prerequisite RFC connection is established between R/3 and APO system Active integration model exist in the R/3 system 2011 SAP AG 3

Creation of Outbound CIF from R/3 System with Queue Registered at APO System Let us take a simple example to send Material master from R/3 to APO system. An integration model is created in R/3 system as follows, Step by step procedure 1) Go to transaction CFM1 Creation of Integration model. 2011 SAP AG 4

2) Create an integration model with a material for plant. Make sure correct logical system name is provided and the Material is checked. 3) Execute the integration model and save it. 2011 SAP AG 5

4) Go to transaction CFM2 Activate or Deactivate integration model and execute for the model just created. Screenshot ECC 5) Screen below shows integration model created is not active. 2011 SAP AG 6

6) Choose the integration module you want to activate and press Active/Inactive button. Integration model status is changed from Inactive to active as shown below. 7) Transaction SMQR is used to register or de-register queues. In the screen shot shown below at the APO side queue name starting with CF are registered which means incoming queues will be processed without stopping it. 8) Transaction SMQ2 is qrfc monitor for inbound queues. It is used to view and re-process any stuck queues. It can also be used to analyze a stuck queue by debugging it. The below screen shows there is no queue that is stuck and the material we sent got processed and posted. 2011 SAP AG 7

Creation of Outbound CIF from R/3 system with Queue Deregistered at APO System 9) Let us try the same procedure by deregistering queue at APO side. Use transaction SMQR to deregister. Screenshot APO 10) Check the queue name CF* and press button Deregistration. You will get a pop-up. Press the tick button to deregister the same. 11) Queue starting with CF is successfully deregistered, 12) Create an integration model for a material as shown below. Screenshot ECC 2011 SAP AG 8

13) On saving the integration model you get a pop-up as shown below. 14) Use transaction CFM2 to activate the integration model as shown below. Choose the integration model just created and execute. Screenshot ECC 2011 SAP AG 9

15) The screen below shows integration model is not active. 16) Choose the integration model and press button Active/Inactive. The integration model gets activated. Screenshot ECC 2011 SAP AG 10

17) Since the queues are blocked (Deregistered) at the APO side you get a pop-up as shown below. Please ignore this pop-up. 18) Go to transaction SMQ2 in APO system. There is a queue displayed waiting to be processed. 19) Double click on the queue which takes you to the next screen. 2011 SAP AG 11

20) Double-click again which displays queue name which can either be processed directly or can be debugged. Choose queue and press execution button if you want to process it directly or press button with a small arrow to process in debugging mode. 21) In debugging mode, analysis can be made on how the CIF data is handled by APO and transaction being posted. 22) On completing the debugging the queue is successfully processed and the inbound queue becomes empty. 2011 SAP AG 12

Related Content Core Interface (CIF) Debugging for Advance Planning and Optimization (APO) Thread: Debugging CIF -BADI -/SAPAPO/CURTO Thread: debugging CIF user exit Thread: Debugging CIF inbound processing User Exit For more information, visit the ABAP homepage 2011 SAP AG 13

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2011 SAP AG 14