SAP-Forum.ORG
   

Go Back   SAP-Forum.ORG > SAP Forums > SAP ABAP

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mass Display of status changes in production order. Lala SAP PP - Product Planning 1 05-16-2010 12:38 PM
Create work centers sapen SAP CRM 0 12-28-2009 01:50 PM
Looking for a SAP Change Management Consultant in Mexico City koko SAP Job Offered 0 12-18-2009 03:54 PM
SAP Canada has immediate needs for Inside Sales Executives in Toronto and Vancouver koko SAP Job Offered 0 11-30-2009 06:15 PM
SAP After Sales Experte (m/w) in D4 koko SAP Job Offered 0 07-14-2009 04:53 PM

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2010, 01:55 PM
Hanna Hanna is offline
Junior Member
 
Join Date: May 2010
Location: Colombia
Posts: 5
Default How to trigger a sales order Idoc ORDERS05 when ever we create it or change it

Hello Experts,

How to trigger a sales order Idoc when ever we create or change a sales order?

Please help me with the steps invloved.
Reply With Quote
Sponsors
  #2  
Old 05-22-2010, 02:54 PM
Rival Rival is offline
Junior Member
 
Join Date: May 2010
Location: Italy
Posts: 6
Default

Configure the NACE transaction for the application V1 and required output type.
Use the medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.

Also create the Condition records for the required output type through NACE. So that whenever the condition is met, output type record automatically appears in the Messges tab of the Sales order.

Follow the below steps:
1. Go to NACE transaction
2. Select V1 application and select OUTPUT TYPES
3. Select the required output type and double click on Processing routines.
4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
5. Save it.

Follow the below steps to configure the condition records:
1. Go to NACE
2. Select V1 application and select CONDITION RECORDS
3. Select the requred output type and click on Condition records
4. Selection screen will be displayed.
5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
Sales doc type = OR
Funt = SP
Partner ----leave it blank. It means there is no restriction on partner numbers.
Medium = A
date/time = 4
Lan = EN.
Note: partner is left blank means, the sales order of type OR can be send to all partners.
6. Save it.
Reply With Quote
  #3  
Old 05-22-2010, 03:00 PM
Hanna Hanna is offline
Junior Member
 
Join Date: May 2010
Location: Colombia
Posts: 5
Default

Hello,

Thanks for the elaborated reply, after doing all the configurations also. The Idoc is not getting triggerd when ever I create a sales order.

This is what I have done:

NACE-Output Types-General data
Slected BA00 for order conformation Here I have changed:
Access Sequence : 002 Order Type
Slected check boxes : Access to condition, Multiple using

In Change out Put: Program- RSNASTED,Form Routine-ALE_PROCESSING

In default values: Dispatch Time - Send Immidiately, Transmission Medium- ALE, patner function - SP

NACE- Condtion Records
Order type : OR, Patnerfuntion: SP,Meduim: A, Date/Time: 4

I don't know about partner profiles. I am using Message Type as ORDERS and basic type as ORDERS05. In message control I'm using Application: V1, Message Type BA00 and Process Code ABI_AIDN_OUT also selected change message check box.

Please help me a bit more

Thanks in advance,
Reply With Quote
  #4  
Old 05-22-2010, 03:04 PM
Rival Rival is offline
Junior Member
 
Join Date: May 2010
Location: Italy
Posts: 6
Default

I think Message type is ORDRSP for Sales Order Confirmation and basic type is ORDERS05. Please let me know what error you are getting. Go to Extras->output->Header->Edit of sales order(VA02) and select the BA00 output record and go for the processing log. It will display the error.
Have you maintained the Distribution model for the message type? If not use BD64 and maintain the Distribution model.

The T-CODE to see the error is:

1. Go to VA02 or VA03 transaction
2. Enter Sales order number and press enter
3. In menu bar go to EXTRAS->OUTPUT->Header->EDIT
4. On the obtained screen you will have a table with all the triggered output types. In case if you dont have the triggered output types for ALE then check the NACE configuration and Condition records.
5. If you have, select the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error.
Reply With Quote
  #5  
Old 05-22-2010, 03:09 PM
Hanna Hanna is offline
Junior Member
 
Join Date: May 2010
Location: Colombia
Posts: 5
Default

This was the message displayed

No recipient found for message type ORDRSP in the ALE model
Message no. B1129

Diagnosis
According to the ALE distribution customer model, no messages of type ORDRSP are distributed from this system. This means that no recipient systems have been modeled for this message type.
Procedure
If this system is the leading system from the viewpoint of ALE, then you should model the connections required and where necessary upload them from the PC to the SAP system.

If this system is not the leading system then you should make sure that a copy of the ALE distribution customer model is distributed from the leading system to this system.


Thanks,
Reply With Quote
  #6  
Old 05-22-2010, 03:12 PM
Rival Rival is offline
Junior Member
 
Join Date: May 2010
Location: Italy
Posts: 6
Default

Looks like you have not included the message type ORDERSP in the distribution model (BD64).

For sales orders it is ORDERS for confirmation/response it is ORDRSP.

From your post I think you need to use ORDERS not ORDRSP.
Reply With Quote
  #7  
Old 05-22-2010, 03:15 PM
Hanna Hanna is offline
Junior Member
 
Join Date: May 2010
Location: Colombia
Posts: 5
Default

Many thanks for your help!
Reply With Quote
Entre a los Links relacionados
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:59 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Forum Design By inferno