on 10-10-2014 2:18 PM
Hi.
i have a doubt about the Idoc ID that SAP asing automaticaly.
I have a concept that ID is correlative, isnt it?
sometimes i check we05 or we02 an i can see that the sistem, does not use a correlative number for IDocs of same type.
I saw it in Z IDocs particulary.
Is there any configuration that i can do so the system will generate IDocs ID correlative?
Thanks
Hi,
Hope you are asking about INBOUND IDOCs which are posted into SAP ECC from SAP PI. If that is the question here is the answer
Example scenario:
Sender(some format)---->PI-----> converting and sending in IDOC format to SAP ECC
in SAP ECC we05(or)we02-->select inbound IDOC which you received from SAP PI
step1: select any IDOC number and double click on it
setp 2: click on "control record"
step 3: in "Details" tab-->identification --> EE <SAP PI Message ID>
Take this message id and search in PI, you will find corresponding message in moni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry the doubt is not clear, lets try again
i have an application in SAP which send Idocs to an external app using SAP PI as middleware
when the app send the IDoc, this IDoc has an ID (IDoc number)
Those ID should be correlatives E.X:
000000000000100001
000000000000100002
000000000000100003
000000000000100004
but in particular for Z Idocs, the ID are not correlatives when the IDocs are generated in ECC.
000000000000100001
000000000000100004
000000000000100002
000000000000100003
So, what i need is to know if it is possible to check any configuration in ECC side to gaurantee that the Z IDocs will be generated in order.
000000000000100001
000000000000100002
000000000000100003
000000000000100004
hope it is more clear now.
Rgds
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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.