Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

Re: IDOC number doubt

$
0
0

Yes, we can send those IDOC in same order using EOIO queue configuration.

 

Step1: in SAP Application WE20 (partner profile)-->chose your partner type( I am taking LS)-->select SAP PI Partner profile-->in outbound parameters select your IDOC type and double click-->in "Outbound Options tab"-->select "Queue processing" and give some name(this is nothing but RULE Name)

 

Step2:

Goto WE85-->edit  and add new RULEName(same name which you given in WE20) and Functional module name

These entries will store in EDPO_QUEUE table

 

Step 3: SE37

define FM and mention your own queue name

 

example function module

FUNCTION z_idoc_queue.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(CONTROL) LIKE  EDIDC STRUCTURE  EDIDC
*"  EXPORTING
*"     VALUE(NAME) TYPE  CHAR16
*"  TABLES
*"      DATA STRUCTURE  EDID4
*"----------------------------------------------------------------------
************************************************************************
* Program: Z_IDOC_QUEUE                                            *

* Program Title : Set queue names for message              *
        *
************************************************************************

*                                                                      *
************************************************************************


IF control-mestyp = 'ORDRSP'.//<IDOC-MSG type>
CASE control-mesfct.
WHEN '1'. //this number is nothing but Message function no in partner profile(WE20) for msg type
name
= 'Z_MAN_ORD1'.
WHEN '2'.
name
= 'Z_MAN_ORD2'.
ENDCASE.
ENDIF.

ENDFUNCTION.



SAP Hepl: http://help.sap.com/saphelp_erp2004/helpdata/en/00/9ffe3e432fd861e10000000a114084/content.htm


If I answer your question, please add points


Viewing all articles
Browse latest Browse all 8627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>